Latest Server related questions

Score: 0
Enabling an overlay on an OpenLDAP spare
cn flag

I have two OpenLDAP server, one master and one slave synchronized with syncprov. I would like to enable the memberof overlay on both. I successfully enabled the overlay on the master server, but I cannot manage to do the same on the replica.

$ sudo ldapmodify -Y EXTERNAL -H ldapi:/// << EOF
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleLoad
olcModuleLoad: memberof
-
EOF
SASL/EXT ...
Score: -1
Georgi Koemdzhiev avatar
systemd script do not set correct file permissions at boot time
cn flag

I have written a simple service that calls a bash script that should change file permissions at boot time. The issue is that it seems that the service is not working as the permissions are not changed by the time the user logs in.

However, when I run the service manually - sudo systemctl start setpermissions.service it works and the file permissions are set correctly.

This are the file permission ...

Score: 0
uday kiran avatar
Custom CRDs not getting deleted in aks cluster, how to delete that?
uz flag

I have installed consul helm repository to default namespace. Now, want to change it to a custom namespace.

So, deleted the help chart using helm uninstall command. Now, when I try to install again, getting error as CRDs are already configured earlier, need to cleanup them.

So, ran the below command to check the CRDs.

kubectl get CustomResourceDefinition --all-namespaces
NAME                              ...
Score: 0
onee avatar
PowerDNS Recursor cache
tm flag

I have a question. Is it possible to disable the cache completely for powerdns recursor? I have a problem with the domains cache. Recently a client was changing NS records from CloudFlare to other and my DNS kept pointing to old records. TTL was also very high. Where other DNS was pointing to new records correctly.

Only clearing the cache helped

 rec_control wipe-cache

My config:

/etc/powerdns/recur ...
Score: 0
Mitchel Abrahams avatar
Helm 3 error:INSTALLATION FAILED: failed to install CRD
cn flag

I'm trying to setup a kubernetes cluster, but i'm running into something that i just cant seem to fix.

I'm trying to install the datawire/ambassador chart. but whatever i try i keep getting an error that CRD files cant be installed.

Error: INSTALLATION FAILED: failed to install CRD crds/getambassador.io_consulresolvers.yaml: Post "https://2bd9a7b0-b14b-4432-a719-1ff4dd146ec8.k8s.ondigitalocean.com/api ...
Score: 0
Tenders McChiken avatar
How does nginx behave when fail_timeout and proxy_connect_timeout are inconsistent?
eg flag

This question is about proxy_connect_timeout and fail_timeout and how nginx determines failed upstream servers.

Nginx documentation states that fail_timeout:

sets the time during which the specified number of unsuccessful attempts to communicate with the server should happen to consider the server unavailable

The documentation states the following about proxy_connect_timeout:

Defines a timeout for ...

Score: 0
Dovecot does not send the CA file unless ssl_verify_client_cert is set to yes
us flag

I have a Postfix / Dovecot / MySQL email server with user password login configured. Everything works fine except for the fact that Dovecot does not send the chain CA file to the client. I have

ssl_cert = </etc/apache2/ssl/apache.crt
ssl_key = </etc/apache2/ssl/apache.key
ssl_ca = </etc/apache2/ssl/apache.pem

in my /etc/dovecot/conf.d/10-ssl.conf. However, the CA file is not sent.

openss ...
Score: 0
Mark avatar
Why windows search index differently on each Windows server?
za flag

I need to check the patching status on 20 Windows Server 2016 with similar configuration. So I remote control (mstsc) into each server, click the Window icon at left bottom, type in "installed" to look for View installed updates.

enter image description here

All the servers were established since 2019, with similar configuration. However the search results are not the same. In some servers I cannot find View installed updates ...

Score: 0
Apache Header set missing in server response when php-fpm is active, shown when php-fpm is inactive
us flag

Problem: When php-fpm is enabled, cors headers set in .htaccess are not shown in response. When php-fpm is disabled, cors headers are shown in the response.

Current setup:

Server:

  • Ubuntu 20.04 on Aliyun cloud (Shanghai region)
  • Apache 2.4, headers module enabled
  • php 7.4 with php7.4-fpm enabled.

In .htaccess I've set:

Header always set Access-Control-Allow-Origin "*"
Header always set Access-Contr ...
Score: 0
HeadzzZ avatar
Why brctl stp cannot prevent the loop?
cn flag

Even the STP is enabled through brctl stp switch on on a looped network, the packets cannot be forwarded successfully. Please note that if there is no loop in the network, then everything is ok. The problem is described as followed.

I have three Linux boards (i.e., SW1, SW2, SW3) with the ring topology as shown:

               SW1  
             /     \
           SW2 ———— SW3  

The IP configu ...

Score: 0
Jugo Lugara avatar
PFsense High-Availability - issues with sync of VLAN interface
cn flag

So I am trying to build a firewall with a primary and secondary, High-Availability structure. I have configured each of these 2 VirtualBox VMs in GNS3 to connect to each other (for a SYNC) interface, as well as connection to other switches in their topology. These PFsense VMs have about 6 network interfaces in use. I took the configuration file of a single node firewall and am testing with a secondary V ...

Score: 0
HAProxy - Cannot chroot /var/lib/haproxy
in flag

I am trying to run haproxy in docker by following this article from the haproxy blog. https://www.haproxy.com/blog/haproxy-on-docker-swarm-load-balancing-and-dns-service-discovery/ I am getting the following error Cannot chroot /var/lib/haproxy

hap_haproxy.3.j24pbth7qsup@prox1    | [NOTICE]   (1) : New worker #1 (9) forked
hap_haproxy.3.j24pbth7qsup@prox1    | [NOTICE]   (9) : haproxy version is 2.4.7-b5 ...
Score: 0
How to run Python venv script with screen in crontab
jp flag

I have a sh script with the following content:

screen -mdS myscript /home/myscript/myscript_env/bin/python3 /home/myscript/bot.py

This script executes a python script and opens it in a new screen.

It works fine when executing the sh file in the terminal, however when using a crontab to execute this sh script at reboot, it does not work:

@reboot ./home/myscript/start.sh
Score: 2
ESXi Host backup including extra vibs
cn flag

I have a licensed ESXI Host with a couple of extra vibs (Chelsio, NVidia, dell) installed. I also have vcenter standard. More that I like to I discover that I have to reinstall the host, e.g. VMware now deprecating SDcards. I'm installing the vibs via ssh on the host. Maybe I should do it through vcenter?

Is there a best practice to create a backup host or of the host config including the vibs? Is t ...

Score: 0
mnemotronic avatar
How can I hide the "Actions" panel / tab / pane in Windows "Event Viewer"?
cn flag

I want to get rid of the "Actions" panel in the Event Viewer. It doesn't help me. I've made it as small as possible but I just want to hide it.

enter image description here

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.