Latest Server related questions

Score: 0
Zumo de Vidrio avatar
Postfix double relay configuration
it flag

I have 2 servers with postfix.

ServerA with this main.cf:

relayhost = smtp.public.com:587
smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smarthost_passwd
smtp_sasl_security_options =

Sending emails locally from server A works fine, it does properly the relay over the public smtp and the message arrives to the destination

Now I want to configure ServerB so  ...

Score: 1
Active Directory: pinpoint cause for access denied when modifying objects
us flag

I need a general way to determine the cause of access denied errors when modifying/moving/etc. objects in AD. I know that I can view "effective permissions" but not sure which permission corresponds to which real world action.

For example, the computer objects in a certain OU have the Delete effective permission, but I can't move it to a new OU that was created.

Score: 1
Gaurav Kansal avatar
How to log DNS query response in BIND
by flag

In Bind, when we enable query logging , it logs the query's details like "query asked", "timestamp" and other stuff. Do we have any options by which i can store the "ANSWER" provided by my recursive node to the client.

i.e.,

For query "dig www.google.com AAAA" , is there a way by which i can log the ANSWER with respect to the corresponding query, using logging utility of BIND ?

Score: 0
How to setup Azure traffic manger to switch between a website and a down (maintenance) page, without disruption?
pk flag
eos

Once can easily setup Azure traffic manager with two endpoints:

  1. the e-commerce site you operate normally
  2. the site with a static maintenance page (we user Azure static web)

The requirement is to be able to put up the maintenance page any time, regardless of if the e-commerce site is up or down.

There are several routing methods in TM, but nothing which is "just use the enabled one".

We tried the "perform ...

Score: 1
nginx does not find phpMyAdmin
cn flag

nginx is searching for phpMyAdmin in the wrong location

my nginx config:


server {
        listen 80;
        listen [::]:80;

        access_log /var/log/nginx/reverse-access.log;
        error_log /var/log/nginx/reverse-error.log;

        root /var/www/MY_DOMAIN/html;
        index index.html index.html index.php;
        server_name MY_DOMAIN www.MY_DOMAIN.com;

        location / {
        try_fi ...
Score: 1
Massimo Pasquini avatar
Why Linux "dd" is erroring with "no space left on device" while copying a single partition to a smaller device?
cn flag

I'm trying to copy the single partition /dev/sda1 to /dev/sdc1, but I'm getting the error "no space left on device" and I honestly don't get why.

I'm working on an Oracle Cloud Infrastructure (OCI) VM where /dev/sda is a 768 GB volume whose sda1 partition has been shrinked o just 32 GB (the process was ok, no data loss! I can guarantee because that volume is an Oracle Database ASM disk group, and ...

Score: 0
ansible.windows.win_package pass inventory machine details to msi arguments
uz flag

I'm trying to install MSI file with the help of ansible.windows.win_package module
One of the arguments needs to hold the appserver machine name
Trying the following syntax - didn't work (I shrink the arguments list in the following task file example):

- name: Install Server.msi center_primary_dbserver
  ansible.windows.win_package:
    path: c:\r10_files\Server.msi
    arguments:
      ...
      AUTH ...
Score: 1
Why K8S statefulsets volumeClaimTemplates status is pending , but the pod, pvc, pv are all fine?
ng flag

I use nfs-subdir-external-provisioner as automatic pv provisioner for my promethues (by promethues-operator ) I have created our sts,pod,pvc,pv successfully and everything looks fine. But if I use kubectl get sts -o yaml , the status is still "phase: Pending".... Anyone have idea about it ?

  volumeClaimTemplates:
  - apiVersion: v1
    kind: PersistentVolumeClaim
    metadata:
      creationTimes ...
Score: 0
Force-unload or reset a crashed linux driver
cn flag

What options do I have to hard-reset a linux driver?

I have a problem with my USB-connected dvb tuners. They crash from time to time with a stack trace in the kernel log and disappear from the device manager. The application (tvheadend, which runs in a docker container) freezes and is not killable anymore, and the docker container can't shutdown, not even being killed.

As all this is connected to an ...

Score: 0
Mapping LDAP eduPerson to posixAccount
id flag

I have a central LDAP server which provides me with a DIT containing eduPerson entries. I want to import these entities into a second LDAP server as posixAccount entries, so that users can log into a Linux machine by authenticating against this second LDAP server. Passwords are handled by a separate RADIUS server.

Currently a script calculates differences between the two LDAP server generates an LD ...

Score: 2
alixander avatar
Why does kube-proxy authenticate to the kube-api-server using service account instead of tls certificate
tn flag

I am digging down into the Kubernetes PKI. I noticed that mostly all the control-plane components, including kubelet authenticate to the api-server using TLS certificates.
Only kube-proxy & flannel running as Daemonsets authenticate using a service account. The documentation states:

DaemonSet: Since the kubelet itself is loaded on each node, and is sufficient to start base services, you can r ...

Score: 1
Shahid Amin avatar
Disable ping in Windows Server 2008 R2
in flag

my seniors and professionals, I know this issue is already listed on serverfault but I am again asking this question as none of the provided solutions worked for me. I have tried the following options.

  1. Go to Start → Administrative Tools → Windows Firewall with Advanced Security → Inbound Rules → File and Printer Sharing (Echo Request – ICMPv4-IN) → right-click and select Enable Rule.
  2.  ...
Score: 0
How to set wildcard DNS record for Azure Virtual Machine w Linux?
jp flag

I'm trying to deploy WorkAdventure for test in an Azure Linux Virtual Machine with Linux, and access it from the internet.

For this I found here #794 (comment) a reference to a good documentation from insensitiveclod from technic.
I followed that guide, and did most of the steps in an Azure VM with Ubuntu 20.04.2 LTS, dynamic IP address and with a DNS name like mytestwa.northeurope.cloudapp.azure ...

Score: 0
Unexpected remote arg when using link-dest in rsync
cn flag

I have a backup script on my WSL Ubuntu that I use manually to backup my linux systems to a USB drive (NTFS volume mounted on WSL).

I'm running into an issue with --link-dest that I haven't had before in other backup scripts; but it's been a while since I've written anything in bash.

rsync --progress -rlDvuRH --modify-window=1 link-dest=$LAST/ -e "ssh -i /home/username/.ssh/id_rsa" --exclude='*home/.e ...
Score: 1
ranji avatar
Executing one task from a playbook using tags
cn flag

I have a playbook with multiple tasks for turning on/off machines. I tried using tags for running only one task " to start VM" using the command ansible run.yaml --tags on but it throws ERROR! tags must be specified as a list. Please tell me where I have done the mistake. Thanks

---
- hosts: list
  gather_facts: no
  tasks:
  - name: start
    command: >
            virsh start {{ inventory_hostnam ...

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.