serverfault.com

VN:F [1.9.22_1171]
Rating: 6.0/10 (1 vote cast)

Common Server issues – FAQs and answers from those in the know

How can I configure Azure so that I get an email alert when someone accesses/views keys in my Azure subscription?

18 January 2026 @ 11:33 pm

A few people can access my Azure subscription via https://portal.azure.com. How can I configure Azure so that I get an email alert when someone accesses/views keys in my Azure subscription? My Azure subscription mostly contain Azure Cognitive Resources if that matters, and each Azure Cognitive Resource has 2 keys.

Systemd enforcing different permission checks on timer & service invoked rsync command vs login

18 January 2026 @ 10:59 pm

Am looking to copy a postgres backup folder structure to a cifs mount. Using cp works, but using rsync gives permission denied on change dir and and stat of destination: rsync: [sender] change_dir "/var/lib/pgsql" failed: Permission denied (13) rsync: [Receiver] ERROR: cannot stat destination "/var/lib/pgsql/mnt/Drive/Backups/TradingDB": Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at main.c(772) [Receiver=3.4.1] The rsync command works from the command line but fails when invoked by a systemd timer & service invoking a bash script. Running the script compleets with no errors. The rsync command that fails in the service/script but works on the command line and login invoked script is: `if sudo rsync -av --no-perms --no-owner --verbose $FILENAME /var/lib/pgsql/mnt/Drive/Backups/TradingDB;` which at runtime is: `root : PWD=/ ; USER=

How come with systemd-timesyncd installed on Debian 12, "timedatectl status" says "synchronized: no"? & hwclock command not found?

18 January 2026 @ 8:37 pm

Why is this? "Set time and date automatically" is applied, so shouldn't timedatectl status say "System clock synchronized: yes"? How can I test it? I already set the clock manually. I enabled, started the service, and set "timedatectl set-ntp true". Also util-linux and util-linux-extra are installed, but hwclock command is not found. /etc/default/hwclock is present, whatever that is.

Apache web server returns error 500 when trying to load a page using a web browser from another PC

18 January 2026 @ 7:44 pm

I am trying to configure a LAMP server on my raspberry pi 4 8gb that is currently running Raspbian. I installed PHP, mysql, PHPmyadmin and I recently set up VSFTPD to allow me to access the files located in the /var/www/html folder so I can upload PHP scripts and other media related to the website. The problem is that when I try to access a web page from another PC connected to the same LAN it returns error 500. The strange thing is that PHPmyadmin is still working: when I type the following URL into the browser: 192.168.100.11/phpmyadmin the entire PHPmyadmin GUI shows up correctly. I created a new user called "ftpuser" for the FTP server and I changed the /var/www/html owner with chown ftpuser html

How to ensure Disk replication uses 10 Gb network instead of 1 Gb management network in XCP-ng XOSTOR cluster?

18 January 2026 @ 4:50 pm

I am creating a 3-node XCP-ng cluster using XOSTOR for shared storage replication. The replication factor is 3. Each node has two network interfaces: 1 Gb management network (host management, pool communication, XOA access only) Node1: 192.168.200.161 Node2: 192.168.200.162 Node3: 192.168.200.163 10 Gb storage network (intended exclusively for storage replication) Node1: 192.168.212.11 Node2: 192.168.212.12 Node3: 192.168.212.13 The 1 Gb network is strictly for management traffic, and the requirement is that all disk replication traffic must use only the 10 Gb network. How to check/ensure that all replication traffic goes to the 10G network. Output of linstor n list is given below enter image description here

Login ubuntu on VMware

18 January 2026 @ 4:07 pm

After running the command sudo passwd -e user1, the system returned the message “passwd: password changed.” Immediately after that, I logged out of the session. However, when I tried to log in again, the system displayed the error message: “Sorry, password authentication is not working.” I suspected that forcing password expiration might be the cause, so I booted into recovery mode, gained root access, and attempted to reset or change the password for user1. Unfortunately, even after doing this, the problem still persists and I am unable to log in using password authentication. At this point, I am not sure whether the issue is related to PAM configuration, account status, or something else triggered by the password expiration command. Any guidance or suggestions on how to recover password-based login for this user would be greatly appreciated.

Combining home directory from two Linux distributions and using the combined directory from both?

18 January 2026 @ 3:41 pm

I'm going to have the same home directory mounted on both a SLES 15 SP6 machine and an Oracle Linux 9.4 machine - which do not even have the same hardware (both are x86_64 but may have a different number of sockets, CPU vendor, disk combination etc.). I currently have a home directory on each of them, and they're going to get merged, so the same home directory is going to be mounted for me on both these machines. This might seem like a strange thing to do, because files generated by the different distros will clash; but - it's going to happen (and without the system administrators devising a scheme for how this will work, assuming that users only 'really' care about one of the machines or the other but never both). My question is how to effectively perform this merging so that one gets a home directory that is actually usable from both machines, without clashes causing any disruptions, and with possible simultaneous use. I think I have already figured out a de

Citrix ADC/Netscaler remove content from logs

18 January 2026 @ 6:16 am

Is there a way to manipulate logs sent through syslog from Citrix Netscaler/adc? I'm trying to remove content from the logs before it is sent to a 3rd party receiver for privacy reasons. Also, does using the command as mentioned in (using RFC5424) enable octet framing? (each log message includes a Octet Count in the beginning that states how long the message is) - add audit syslogAction <name> <serverIP> [-serverPort <port>] -logLevel <logLevel> [-dateFormat ( MMDDYYYY | DDMMYYYY )] [-transport ( TCP | UDP )] [-syslogcompliance <RFC5424>] Appreciate any guidance

Apache2 as reverse proxy not forwarding subdomain requests

18 January 2026 @ 2:58 am

So I'm trying to set up my fresh apache installation on a Raspberry Pi running up-to-date Trixie so that I can access my blog as the main subdomain (www), and serve other apps that I have subdomains set up for (pacs, pihole, etc) as a reverse-proxy. I've been playing around with multiple ways to get it working, and everything just goes straight to the default VHOST with no errors in the logs. I am behind Cloudflare's proxy, so maybe that's not passing the host header in requests? I do have mod_proxy and mod_proxy_http enabled. Both applications are otherwise reachable via IP with valid SSL certificates that cover the main and sub domains. I've been searching for answers and it appears my setup should work, but it's simply not. I put the VHOSTs to be proxied above the main VHOST as one post said. And the main/default site works just fine. Here's my 000-default.conf site file. <VirtualHost *:*> #PACS server on separate system ProxyPreserve

How can I determine, from within a guest, whether the host is using vhost-net?

18 January 2026 @ 2:07 am

Upon receipt of a packet on the host node's NIC, without vhost-net on the host: The host kernel receives the packet on the TAP device QEMU is woken up to read from the TAP QEMU copies the packet into the guest's virtqueue QEMU issues an ioctl to KVM to inject an interrupt into the guest This involves a lot of unnecessary context switches, but when the host does have vhost-net: The host kernel receives the packet on the TAP device Still in kernel context, vhost-net copies the packet directly into the guest's virtqueue KVM is signaled by vhost-net, still within the kernel, to inject an interrupt into the guest How can I determine if the host is using vhost-net? As far as I am aware, this fact is not exposed directly to the guest, but are there any fairly-reliable side-channels or clever techniques that can be used to guess whether the host uses vhost-net without needing t