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

Is it possible to see all IPs currently in use in a GCP subnetwork?

30 December 2025 @ 6:16 pm

Under subnet details I see this: enter image description here Does GCP show you what all the individual private IPs are and are allocated to? Not just ones I've reserved but ALL the IP addresses currently in use. This would include serverless stuff launched inside the subnetwork, etc. Network intelligence also only shows me percentage used of IP range used not list of individual addresses. Is there not a source of truth API call that returns all IP addresses currently in use in a subnetwork?

Do IIS Application Pool Advanced Settings Changes Require an IISRESET?

30 December 2025 @ 6:19 am

I’m planning to change some Advanced Settings (tuning parameters) of an IIS Application Pool. Do these changes require a full iisreset, or is it sufficient to recycle / restart the related Application Pool for the settings to take effect?

Why is `sshfs` unable to resolve hostname when using short host name from ~/.ssh/config?

29 December 2025 @ 11:54 pm

When using the short hostname from ~/.ssh/config sshfs says it can't resolve the hostname sudo sshfs -o debug,sshfs_debug,loglevel=debug,allow_other,default_permissions,compression=yes,cache=yes,auto_cache,reconnect,ServerAliveInterval=15,ServerAliveCountMax=3 remote-admin:/home/remote/DocumentsShare /home/local/DocumentsShare SSHFS version 3.7.3 executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-ologlevel=debug> <-ocompression=yes> <-oServerAliveInterval=15> <-oServerAliveCountMax=3> <-2> <remote-admin> <-s> <sftp> debug1: OpenSSH_10.0p2 Debian-7, OpenSSL 3.5.4 30 Sep 2025 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Reading configuration data /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf debug1: /etc/ssh/ssh_config line 21: Applying options for * ssh: Could not resolve hostname remote-admin: Name or service not known read: Connection reset by peer

ceph-volume lvm prepare ends up with error -11

29 December 2025 @ 5:42 pm

I'm trying to add OSDs to my Ceph installation. There is a clean (no partitions, no LVM, no GPT) M.2 SSD /dev/nvme0n1 attached to each node. After having solved numerous issues with ceph-volume lvm prepare (missing keyfile, ceph-osd in wrong directory etc.), I ended up with a message saying, Was unable to complete a new OSD, will rollback changes (without any details), and error -11 at the very end of the procedure. Here is the whole output: mixtile@blade3n1:~$ sudo ceph-volume lvm prepare --data /dev/nvme0n1 Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 7823b3e8-040f-469f-a190-25e7ae58f56d Running command: vgcreate --force --yes ceph-35f55425-c7a8-4fa1-bda8-8b2358f2eba5 /dev/nv

Kerberos Keytable missing/not writable

29 December 2025 @ 4:01 pm

I am recently trying to set up a Kerberos-5 service on my latest Debian Trixie server. I have done so years ago, using this Howto and used it this time, too. I used APT package manager to install packages krb5-admin-server and krb5-kdc sudo apt-get install krb5-admin-server krb5-kdc Following the above mentioned script, everything went smooth, until I tried to export a host principal from the (local) server to the (local) machine, as described in Section "Installing kerberized services" Connecting the Kerberos server was no problem, neither creating the principal. But exporting the principal gave an error message, that kadmin

Create new TLD or partition in ApacheDS

29 December 2025 @ 12:23 pm

I have installed ApacheDS 2.0.0 on an Oracle 9 system and am trying to configure it for my setup. It configures a default TLD of example.com with multiple OUs and other items below it. I want to create a fresh TLD: mydivision.mycompany.myorg The help and blogs point to older versions that used XML configuration files. Can someone kindly point me to a how-to for this version? The Linux server is remote and does not have GNome. I am using Apache Directory studio on my Windows PC. I also have SSH connectivity with sudo privilege. BTW, if I select Root DSE and create a new entry from scratch using domain class and specify dc=myorg as the dn, I get an error: LDAP result code 32 - noSuchObject NO_SUCH_OBJECTL failed for MessageType: ADD_REQUEST Today: I added a new partition ads-partitionId: mydivision and ads-partitionSuffix: dc=mydivision,dc=mycompany,dc=myorg, based on ads-partitionId: example. Then, I add a context entry named dn

Linux policy routing VLAN -> OpenVPN tun0 not working

27 December 2025 @ 5:55 pm

OS: Ubuntu 20.04 OpenVPN client (tun0): 10.8.0.0/24 LAN: eth0 -> ISP local (must stay default) VLAN20: vlan20 -> 192.168.80.0/24 (gateway 192.168.80.1) Goal: Only traffic from 192.168.80.0/24 must go through OpenVPN (tun0). eth0 must continue using local ISP. my local network Current state: VLAN20 is reachable locally tun0 is up and reachable net.ipv4.ip_forward = 1 policy routing breaks connectivity from VLAN20 Routing policy database: # ip rule 0: from all lookup local 100: from 192.168.80.0/24 lookup vlan20vpn 32766: from all lookup main 32767: from all lookup default Routing tables: #ip route default via 192.168.0.1 dev eth0 proto dhcp src 192.168.0.50 metric 100 10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.10 1

Reverse Proxy supporting UDP with Proxy Protocol headers

24 December 2025 @ 11:21 pm

I want to host a Minecraft server on my home PC for both Java Edition (TCP) and Bedrock Edition (UDP). Because my home connection is behind CGNAT, I cannot expose the server directly, so I’m using a very low-resource VPS as a public entry point and forwarding traffic to my PC over Tailscale. The basic setup works using a simple reverse proxy (NGINX with the stream module), but there is a major limitation: on the backend server, all player connections appear to come from the VPS IP, not from the players’ real IP addresses. I learned that this can be solved for TCP by enabling PROXY protocol, which prepends the original client IP to the connection. With NGINX acting as the proxy and the backend configured to accept PROXY protocol, this works perfectly for Minecraft Java Edition (TCP). However, Minecraft Bedrock Edition uses UDP, and this is where I’m stuck: NGINX only supports PROXY protocol over TCP, not UDP. I tested HAProxy Community Edition

What’s the best NGINX “redirect” solution from the following options?

22 December 2025 @ 4:36 pm

NGINX doesn’t do Apache-style redirects. We want to replace these three URL queries "/grid/grid.html" and "grid.html" "grid/grid.html" (two local internal links) with just "/grid/". We have separate domain-specific config files inside "/etc/nginx/sites-available", and use CertBot for SSL. The RegEx in the examples below captures all the URL variations listed above. But which of these two is best practice: a location block inside the existing server block: server { ... location ~ ^(((/?)grid/)?grid.html) { return 301 $scheme://grid/; # OR https://grid/; } ... } add a rewrite block inside the existing server block, using the site root: server { ... rewrite ^(((/?)grid/)?grid.html) /grid/ last; return 403; ... } When updating the cert, Cer

Mysql / Mariadb Federated Table Creation Statement Truncating Host Name

18 December 2025 @ 9:23 pm

I am attempting to create a federated table on a mariadb host at 192.168.254.118 with a mysql server on 192.168.254.185. I can connect to 192.168.254.185 from 192.168.254.118 with no problem using the same credentials, but whenever I try to create a federated table with this src: CONNECTION='mysql://user:[email protected]/database/table' No matter what I do, either a connection string like above or using a "CREATE SERVER" statement I keep getting the same error: ERROR 1434 (HY000): Can't create federated table. Foreign data src error: database: 'database' username: 'user' hostname: '192.168 Note that the error itself doesn't have a closing single quote on it. I've tried using an IP address and a hostname.local and no matter what I do it always lists the same error with the hostname cut off after about 6-8 characters. Versions: 192.168.254.118: mariadb from 12.1.2-MariaDB,