Latest Server related questions

Score: 0
Priyanka avatar
script file is not getting executed on target machine using ansible script module
na flag

script file is not getting executed on target machine using ansible script module.

I have written a script file on control-node wants that to copy it on target machine and then from there i wants to run the script file using ansible script module.

playbook:
---
- name: execute script file on target
  hosts: all
  tasks:
    - name: copy script file
      copy:
        src: /home/ansibleuser/practice-a ...
Score: 0
Ivan Diniz avatar
How to integrate .Net application to ADCS using API
mt flag

We have to integrate own app to MS ADCS environment for autoenrollment digital certificates. Is there any guide to integrate our app to MS Certificate Authority using API?

Score: 0
Adelia Nurlina avatar
Upgrade OS Bionic to Focal which includes Openstack and Ceph cluster
ky flag

So i have openstack and ceph cluster with 3 controllers and 3 computes. This is the information about my cluster :

OS : ubuntu bionic Openstack kolla-ansible : Ussuri 10.4.0 Ceph ceph-ansible : Octopus 15.2.17

My goal is i want to upgrade my openstack cluster to yoga so i have to upgrade os ubuntu to focal, which include upgrading ceph cluster. I have a plan looks like this :

  1. Upgrade openstack us ...
Score: 0
NJN avatar
trying to see if how many times service Accounts was logged in
pf flag
NJN

Hi I am new to shell scripting ,I am trying to see how many times an accounts were logged in the log file. If an account was logged in more than 20 time I need the name of those accounts to be printed.

I was trying something on the below line

#!/bin/bash
a = 20
cat mongod.log* | grep sa_mg | wc -l
if [sa_mg <= a]
then
Score: 4
JustJoe avatar
How to configure a LSI MegaRAID controller to host non-RAID backup disks which allow hot swap
ky flag

I'm running a server with a LSI MegaRAID controller that has 4 slots in the backplane for 4 SATA HDDs. Two of those slots are used for HDDs which are configured as RAID1 which is used as the "main storage" for the server.

Now I'm planning to make my backup procedure more robust. Currently I use 3 portable USB SSD drives where I connect one at a time to the server and let the backup software store ...

Score: 1
兴华颖挚 avatar
If a heat stack goes into FAILED status, any solution to resume?
cw flag

If a heat stack goes into FAILED status(it may be caused by "heat stack create" or "heat stack update"), is there any way to resume(continue from the failure step)? The only solution I know is to delete the whole heat stack, and recreate again. Thanks in advance!

Score: 0
simonalexander2005 avatar
WebSphere schedulers with lease owner out of scope
eg flag

I have a WebSphere ND 9.0.5.13 install, running across two nodes.

Each node has two servers (JVMs), running two different java applications; both of which use @Schedule annotations. The JVM on Node 1 and Node 2 for each application are in a cluster for that applciation.

In WebSphere, therefore, I have configured schedulers under Resources -> Schedulers, at cluster scope, connected to an Oracle ...

Score: 0
mbestipa avatar
Hosting private conda channel
za flag

I recently joined a start up and have been tasked with setting up package management for our internal python libraries. We work in the biotech and ml space, and a lot of the packages we use are index on conda channels.

The current setup we have right now is to install our local repositories from GitHub, which are built with setup.py. Initially I thought that we should just use poetry for all of o ...

Score: 0
Daniël van den Berg avatar
VLAN - cable between two different vlans
cn flag

I've got two "Aruba instant on" switches, and am practicing working with VLANS. I'm only configuring switch A, and pinging switch B to make sure I have a connection.

My PC is hooked up to port 1 of A. Port 1 of B is hooked up to port 2 of A.

All ports except for port 47 and 48 are left as default, port 47 and 48 of A are configured to be in VLAN 2, as untagged. I've disabled ingress filtering on all ...

Score: 0
How to create trap with Firewalld
cn flag

I'd like to set up the following logic using firewalld

  1. When a host attempts to access the server from the internet on port 22:
    1. DROP and
    2. add their IP to an ipset called "trap" (with 24 hour timeout)
  2. When a host whose IP is on the "trap" list attempts to connect to any port: DROP.

I've read many doc pages but can't see how to implement 1.2 above.

Score: 0
SessionBuddy avatar
Run GeoServer behind HTTPS using IIS
it flag

I have GeoServer 2.23.2 running under Tomcat 9.0.78 on Windows Server 2022. http://localhost:8080/geoserver/ and https://localhost:8443/geoserver/ URL's are working properly. But I couldn't find the right settings for https://subdomain.mydomain.com/geoserver/. When I try to access this site, it says "ERR_CONNECTION_TIMED_OUT"

IIS Settings: In IIS 10, a Wildcard certificate like

*.mydomain.com

is ad ...

Score: 0
lepe avatar
Postfix warning: not enough free space in mail queue
ug flag

I have already checked the solutions at this post, but I can't find the reason.

This is my situation:

  • Running postfix inside a docker container (docker swarm).
  • Docker container has no quota.
  • /var/mail volume mounted from /mnt/shared/postfix/var/mail/ in host.
  • /mnt/shared/ is a network logical device using glusterfs (xfs formatted) with 3 nodes.
# df -h

Filesystem       Size  Used Avail Use% Mount ...
Score: -2
Costing out Azure App service options?
us flag

Playing with Azure as a noob. Trying to work out how to cost the App Service correctly.

I notice when I add an app service, I have an option of "Web App + Database"

Does this cost the same as a Web App? or is it simply a wizard populating out a database as well as the Web App?

My goal is to work out the most cost-effective way to host a small laravel API in Azure.

Score: -4
Grg avatar
Can i buy a domain and create a custom email for another email serivice?
zw flag
Grg

Can I buy a domain from example Namecheap, then use mx record and use a free email hosting like google Gmail? or am I obligated to buy email hosting and pay more? Namecheap offer email hosting that cost more, but is this necessary?

Score: 0
Martin Moore avatar
ZooKeeper error ; unrecognized host name for local configuration
bg flag

I am using Kylin 4+ and want to use Windows and run it locally (without Hadoop). I follow this tut in their website which states that zookeeper config must be set to local like so:

kylin.env.zookeeper-is-local=true

Which supposes that Kylin won't read any other parameter (as connection string) to connect. But when I run Kylin I get the following error:

Caused by: java.net.UnknownHostException: sa ...
Score: 0
How can I get all folders associated with an Active Directory group using powershell or something similar?
za flag

At my job we have hundreds of AD groups that we add users to to give them access to folders. For each folder/group of folders we give access to there is supposed to be a read, write, and modify group. A lot of those are missing (some just have one or two out of three).

I want to write a script (or to even know if it is possible) that will get the folders associated with a group so that I can add  ...

Score: 3
WCoInc avatar
How to create Origin (@) DNS record in Windows DNS Server
se flag

I am running Active Directory, and have a Domain Controller with a DNS server for my internal (acmecorp.acme.com) and external (acme.com) domains.

So, my machine names are things like workstation1.acmecorp.acme.com, and my website (hosted externally) is www.acme.com.

For public access, I have replicated the DNS entries as needed (like www.acme.com, ftp.acme.com, acme.com, etc) to a public DNS ser ...

Score: 0
Ate Somebits avatar
If I change my router's IP address, why do all client devices assume it's at 192.168.1.1?
us flag

I've decided to set my router at some non "1.1" IP address.

I have even created a QR code for connecting to the Wi-Fi.

The problem is, it looks most devices assume that if the DNS address is not specified, it should be 192.168.1.1.

The router (gateway) acting as a DNS relay is supposed to speed up DNS lookup.

But I have yet to find a device that does not assume the "DNS" is not set-up at "192.168.1.1".

Score: 1
Drudge avatar
Emulate USB drive in Linux for plugged-in USB devices
pl flag

I have a document management system and want to use my multi-function printer to directly scan into a directory in the Linux file system where my DMS can read from and processes the files automatically.

However, my multi-function printer is a bit older and only allows USB connections and I don't like it to always scan on a USB drive and re-plug it into my Linux machine afterwards.

Is there a possibl ...

Score: 0
Luana avatar
Save the atjobs command time records for Backup
mr flag

I wonder if there is a simple way to save the time records that has been applied by Atjobs, because I need to save the times already defined by Atjobs when making a system switch for example.

As far as I understand Atjobs will save its records in the folder /var/spool/cron/atjobs.

Knowing these records, can I copy the generated files inside this folder without problems or won't the Atjobs recogni ...

Score: 0
user1039217 avatar
kolla-ansible openstack bootstrap-servers failed on enabling ceph apt repository (ubuntu 22.04)
gh flag

This is to deploy the recent kolla-ansible openstack. The problem happens since last week. I retested it on a good environment successfully deployed on 7/14/2023 and got bootstrap-servers failed this time.

The environments use Ubuntu 22.04 and external ceph for cinder and glance backend storage. The error could be due to some recent changes on kolla-ansible openstack, ubuntu, or ceph. It affec ...

Score: 0
NaniK avatar
Is there any working Apache module to implement NTLM on Ubuntu Server
mp flag

I am trying to configure NTLM authentication for an internal site running on Apache/Ubuntu Jammy. I was able to implement LDAP authentication. Still, I want to make the login/auth process smooth as the user is already logged into his work computer using their domain credentials.

I tried installing the Apache module via apt based on some older documentation I found via Google, but the packages are ...

Score: 0
João Silva avatar
How to apply a ratelimit in rspamd using a selector that matches the sender with domains from a list?
lb flag

I have created a map


UNPOLITE_SENDERS_MAP {
    type="selector";
    symbol="UNPOLITE_SENDER"
    selector = 'from("smtp","orig"):domain.get_tld';
    score = 3.5;
    map="/etc/rspamd/local.d/maps.d/unpolite_senders_expr";
    message="Detected un unusal ammount of email, please take a break"; 
    }

and the senders are correctly matched against that map. (Can be seen in the logs)

I have tried to appl ...

Score: 0
George Townsend avatar
Ubuntu 16.04 router VPN and rdp
gw flag

I have been running my own home-brew router for a number of years. My ISP provided equipment running in bridge mode so my own router just connects to their gateway using a public static IP. I also use a VPN service. Everything works fine, but I'm trying to add something new where I have a windows machine on the LAN through another router. The LAN is the typical 192.168.0.0/24 network address. I can easi ...

Score: 0
Imran Yaseen avatar
How can i connect on-premises LDAP over Internet?
by flag

I am developing a .net core API that will host on Azure. The main aim of this API is to connect with LDAP (On-premises). If the application hosts on-premises then there is no problem connecting with LDAP. But what are the options to connect with on-premises AD over the Internet?

Thanks.

Sorry, I forgot to mention the client is not interested in using VPN.

Score: 0
M. Loe avatar
Apache2 with Virtualhosts and Cloudflare are not working
sm flag

I have a Debian 11 Server with one public IPv4 Address and One Domain. The subdomain mail is defined in a virtual host with a reverse proxy for mailcow. The subdomain mail is also the reverse DNS for the server. The root Domain and www subdomain are configured in a virtual host for my Wordpress Site. All is working fine. If I enable a proxy like Cloudflare for the root domain and www subdomain, it rewri ...

Score: 0
Taxel avatar
SSSD Active Directory login on Ubuntu server closes connection on first login
in flag

We have configured some new Ubuntu VMs to use our Active Directory via sssd, but I am experiencing problems:

When logging in via ssh with password-based authentication, it asks for my password, then immediately closes the connection. If I repeat the same command again, the login is successful (I have reproduced this a couple of times by now and the password is correct when logging in the first ti ...

Score: 0
Federico Nafria avatar
Is it possible to use both VPC peering and Transit Gateway?
es flag

I currently have 2 VPCs with an InternetGateway each VPC1 and VPC2.

  • I need VPC2 to use VPC1's public IP.
  • I'd rather modify VPC1 as little as possible.
  • There is a lot of traffic between these 2 VPCs.

I know I can setup a TransitGateway between these 2 VPCs and have VPC2 use the VPC1's IGW.

Would it be possible to have the "non-internet" traffic still going through VPC peering to reduce cost?

Wha ...

Score: -1
user2178964 avatar
OpenVPN headless on Debian 11.7 IP does not change
cn flag

I have a ProtonVPN paid account. I want to use it on my VPS server (so in headless), to change my ip.

Their client does not work in headless mode, so I use OpenVPN.

I download the Linux config file on ProtonVPN. I installed ProtonVPN and resolvconf.

When I launch :

sudo openvpn conf_vpn.ovpn

It seems to work :

2023-07-31 11:21:54 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in -- ...
Score: 1
rk3dnp avatar
Ansible export to csv
la flag

I want to get a csv with a list of new updates in this form:

testvm-001.localdomain,ImageMagick-6.9.11.27-4.el7

testvm-001.localdomain,ImageMagick-libs-6.9.11.27-4.el7

I have a code that will display a list of updates, but I don’t know how to save it in csv in the right form.

- hosts: test
  vars:
    my_packages: "{{ dict(packages.results|groupby('name')) }}"
  tasks:
    - name: Count new upda ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.