Questions tagged [ubuntu]
Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.
16,821 questions
0 votes
0 answers
58 views
HAProxy service fails when TCP proxy settings are enable - source 0.0.0.0 usesrc clientip
I’ve been unable to determine why the following option “source 0.0.0.0 usesrc clientip” won’t allow the haproxy.service to start. Error messages: × haproxy.service - HAProxy Load Balancer Loaded: ...
0 votes
1 answer
165 views
Ubuntu 20.04 resolvectl dns Shows Wrong DNS Servers
My configuration: Netplan YAML file specifies this machine's local IPv4 address under nameservers. It also has dhcp4 and dhcp6 both set to false. bind9 is running on the local machine. nmcli reports ...
-1 votes
0 answers
54 views
DCO was not enabled despite of kernel module ovpn was loaded
On my server, I am using the kernel $ uname -a Linux 6.17.0-1003-oracle-64k #3-Ubuntu SMP Fri Oct 10 09:27:08 UTC 2025 aarch64 GNU/Linux and the ovpn module was loaded $ lsmod | grep ovpn ovpn ...
2 votes
2 answers
555 views
System under memory pressure with high MemAvail
I am struggling with an issue which occurs about once a month. Basically we see low free memory, high avail memory and logs about memory pressure in syslog. System then becomes unresponsive and reboot ...
0 votes
1 answer
55 views
Authentication failure when trying to login with AD account (Ubuntu 20.04.6 LTS)
Successfully joined an Ubuntu machine to our domain using realmd. Kerberos auth works, kinit [email protected] gives TGT. getent passwd [email protected] and id [email protected] also successfully return user ...
0 votes
1 answer
68 views
Getting invalid url error on aws ec2 squid proxy
I'm trying to deploy a squid server onto my EC2 Instnace that will act as a forward proxy for traffic. The service runs fine, but I get the following error consistently. </head><body id=...
1 vote
0 answers
136 views
What is being allowed and denied by ufw?
What is being allowed/denied for port 6443?: $ sudo ufw status | grep 6443 6443/tcp ALLOW Anywhere 6443/tcp ALLOW 101.241.10.21 6443 ...
0 votes
2 answers
82 views
Installing PHP replacing version folder with another label
Every time I install php it creates a folder structure as: /etc/php/8.3/apache2/php.ini Instead of "8.3" I want to use a label as "installed" and have a folder structure as /etc/...
1 vote
0 answers
34 views
Database connections prematurely dropped/stale after upgrading AWS EC2 instance
I encountered a strange problem with DB connections being prematurely dropped/stale after upgrading an EC2 instance for my web application. I have a service VM hosting Spring Boot microservices, and ...
2 votes
1 answer
73 views
Failing using autoFS with windows server 2019
From Ubuntu Server 24.04LTS I am able to mount a Windows 2019 shared folder named: //myserver.edu/wshared which has "Encrypt data access" enabled at the windows server 2019 while using in ...
0 votes
1 answer
142 views
Ubuntu 25.04 as host and Windows 10 as guest on VirtualBox
I run Ubuntu 25.04. On it I gave Oracle VirtualBox 7.2.0. I have a Windows 10 installation that used to work. (I think last time I tried it was when I was still using Ubuntu 24.10 and it was an older ...
2 votes
1 answer
393 views
Can't install a trusted certificate on Ubuntu 24.04 WSL
I exported a certificate ldap.cer from my Windows domain controller and followed this manual and on my Ubuntu 24.04 WSL: sudo cp ldap.cer /usr/local/share/ca-certificates sudo update-ca-certificates ...
1 vote
0 answers
92 views
Minikube on Docker driver enters unrecoverable state after power loss, all pods in Error/CrashLoopBackOff
I'm running Minikube v1.32.0 with the Docker driver on Ubuntu 22.04. My setup includes Kubeflow with multiple namespaces (kubeflow, istio-system, auth, etc.). Problem Description After unexpected ...
0 votes
0 answers
204 views
AWstats on Nginx with multiple virtual hosts
I got awstats set up on Ubuntu with Nginx, and it is now reading the log files and generating statistics. However it is combining multiple sites into one set of stats, even when using the ?domain.com ...
2 votes
1 answer
99 views
Which Linux distros need reboots the least frequent? [closed]
Which Linux distros need reboots the least frequent, are commonly available, and considered secure? I like Ubuntu, but it requires reboot every two weeks.
1 vote
0 answers
38 views
Why polkit and pcscd drain memory in 24.04 Ubuntu server?
I have a VM with tomcat that uses a physical smartcard that is linked with PCSCD library. This application works since few years without issue, but when I update Ubuntu server from 22.04.5 to 24.04.1 ...
2 votes
1 answer
75 views
Entra ID Users Not Mapping to Local Ubuntu Accounts via authd
I’m trying to integrate Ubuntu with Microsoft Entra ID using authd, but I can’t get cloud users to map to local Ubuntu 25.04 accounts. Setup: Ubuntu 25.04 with authd installed (latest version). PAM ...
3 votes
0 answers
79 views
Nginx responds on private IP but not on public IP in AWS EC2
I have an Nginx server in EC2. It's in a VPC on a public subnet that's attached to an internet gateway. The security group is configured to allow traffic on port 80 and 443. The instance is running on ...
2 votes
0 answers
67 views
Kubernetes readiness probe failed [closed]
What can cause this error? 7m47s Normal Created pod/awx-operator-controller-manager-58b7c97f4b-w6flh Created container: awx-manager 13m Warning Unhealthy ...
-2 votes
1 answer
134 views
update-desktop-database: not found
I downloaded Debian package and tried to install it with the following command on Ubuntu 24.04 on WSL2: sudo dpkg -i /mnt/c/Users/dmitr/Downloads/v2rayN-linux-64.deb But got the following error: ...
1 vote
1 answer
45 views
Server shutting down unexpectedly [closed]
I have a media server that I recently converted from Windows 10 to Ubuntu Server (also tried Mint). While it was running windows, I had no issues and it ran continuously for the last several years. ...
1 vote
1 answer
276 views
Samba server on Ubuntu not recognized for TimeMachine on MacOS X
I am trying to use an Ubuntu Samba SMB share as a MacOS X Time Machine backup volume. The SMB mount shows up on the desktop but the Time Machine configuration does not show the volume as a possible ...
1 vote
1 answer
93 views
why does sudo docker ps -a return a different result than docker ps -a
I see this regardless of what I user I login as on the console (root or tuser): tuser@server $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
0 votes
1 answer
137 views
Things to do after DHCP offer and DHCP ack in Ubuntu [closed]
I have sent DHCP Discovery and Request and get response of DHCP Offer and ACK in Python scapy. What do I need to do after getting DHCP offer? I have change my Ethernet adapter IPv4 as per DHCP offer. ...
4 votes
2 answers
342 views
confused by appamor's execute options
I am attempting to use rsyslog's omprog output driver to process logging data and apparmor is preventing the program starting. Aug 14 07:55:29 secmgrprd09 kernel: audit: type=1400 audit(1755114929.929:...
0 votes
0 answers
75 views
Postgresql keeps binding on port different than 5432
I have a problem similar to https://dba.stackexchange.com/questions/185622/how-do-i-change-postgresql-to-be-listening-on-port-5432 , though not necessarily exactly the same. If port is defined as 5432 ...
0 votes
1 answer
211 views
Cannot create files under /tmp - No space left on device
The Problem I cannot write files to my /tmp directory. Pressing tab to autocomplete directory or file names returns: -bash: cannot create temp file for here-document: No space left on device Similarly,...
1 vote
0 answers
110 views
SFTP using WinSCP - can list dir and delete files, but not upload/download
I am running an SFTP server on Windows Server 2022, and want to grant full read and write access for SFTP users to a directory on an Ubuntu machine on the LAN. I have created a Windows user which ...
1 vote
1 answer
168 views
How to avoid JupyterHub server (multi user) to be oom-killed by some kernel/specific user?
This question can be viewed as a specific instantiation of this general question on avoiding out of memory issues on other users' jobs in multiuser servers. In my case, I have a JupyterHub server on a ...
5 votes
2 answers
346 views
How to replace a MBR disk with GPT disk and switch the Mount
I have a Ubuntu VM in Azure with a large MBR disk. I plan to create and format a new GPT disk. Both are managed disks. For the new GPT I would create a temporary mount called datadrive2. How do I ...
1 vote
1 answer
116 views
Docker userns-remap leads to HTTP 502
I run a small home server with several Docker containers, which I make accessible via an Nginx reverse proxy. The setup works well until I try to use user namespace remapping. I then only get an HTTP ...
0 votes
0 answers
76 views
ESP packets sent from my Ubuntu server, but no response from VPN server
I'm trying to set up an IPsec VPN from my Ubuntu server to a remote VPN endpoint. The connection seems to initiate correctly, but I only see outgoing ESP packets and no incoming responses. From ...
1 vote
0 answers
52 views
Kubernetes HA Cluster - ETCD Fails After Reboot
I’m currently setting up a Kubernetes HA cluster : After the initial kubeadm init on master1 with: kubeadm init --control-plane-endpoint "LOAD_BALANCER_IP:6443" --upload-certs --pod-network-...
0 votes
0 answers
45 views
Ufw loses ipv4 rules and leave ipv6 rules intact
I have a ubuntu 22.04 Server. I am facing a strange issue, ufw seems to lose ipv4 rules and leave ipv6 rules intact. The time when this happens is not clear or why it does this but all other rules are ...
0 votes
0 answers
31 views
mise yarn install directory permissions in a podman volume
I'm running an Ubuntu container inside of podman (rootless) on Fedora (using compose) and I've set up a volume mapped to /home/<username>/.local to hold all the mise install data so that it will ...
0 votes
0 answers
80 views
How to troubleshoot "Too many open files error" in web server?
I had a server which was based on apache; it was used to serve multiple image tiles of a map. I thought of improving it by shifting it to HTTP3, for this I had to shift to nginx and quick protocol. ...
0 votes
0 answers
31 views
UNIX Cron run at every 2 min successfully but not running on specific time [duplicate]
When I use, */2 * * * * /path-to-script it is running, but with 15 9 * * 1-5 /path-to-script it is not. I have tried this: 35 12 * * 1-5 cd /home/trade/trade-filter && \ PYTHONPATH=/home/...
0 votes
0 answers
42 views
If using a wordpress cache purge plugin, what should permissions and ownership of the Nginx FastCGI Cache folder be when caching files on a ramdisk?
I am runnning an Ubuntu 24.04 LEMP server with Nginx, and Nginx FastCGI Caching. I have 3 wordpress websites, and am using the Nginx Cache Purge Preload plugin for Wordpress. I am caching to a ramdisk ...
2 votes
0 answers
83 views
Intel Optane PMem NUMA Affinity Issue Leading to Performance Problems
TL;DR: On my dual-socket server, Optane PMem (in App Direct mode) is assigned to separate, non-CPU proximity domains in the ACPI SRAT table (e.g., CPUs are domains 0/1, PMem is 2/3). This may cause ...
0 votes
0 answers
37 views
Manage multiple users, where each can deploy web apps under one domain
I am searching for tools, concepts and tips abot this situation, where one user (root / organisation) manages the whole server, but also manages users (sub-organisation). Sub-organisation should have ...
0 votes
0 answers
134 views
How to disable CBC Ciphers in nginx on Ubuntu Azure VM
We're running an Ubuntu VM on Azure and a pen test has said that the CBC ciphers are now obsolete and should not be used. I've updated my nginx config but the SSL labs test is claiming that they are ...
2 votes
0 answers
715 views
canonical-livepatch 10.11.2 brings an error message on every run: "Failed to remove stale fixed CVEs information"
Since version 10.11.2, canonical-livepatch always brings the following error message: Failed to remove stale fixed CVEs information: remove /var/snap/canonical-livepatch/common/fixed-cves: no such ...
0 votes
0 answers
22 views
GlusterFS having different brick size occupied
So I have created a replicated GlusterFS Replicated cluster volume among my Ubuntu servers. Works like a charm. However, I just noticed something rather strange and I don't know how to explain. Please ...
0 votes
0 answers
71 views
Postfix stops creating log when syslog reload
I am facing an issue in my server. Sometime syslog auto restart. But after auto restart postfix is not create any logs. When restart postfix manually then it will work. How to solve this issue. root@...
0 votes
0 answers
255 views
NFS failure: Client says the Server refused a mount, but the Server says it accepted it
I have spent the week struggling to get an NFS mount to work between two machines, Server and Client, on a local network. On Server (Ubuntu 24.04), I added the export command /srv/data {Client IP}(rw,...
0 votes
1 answer
162 views
Devices randomly dropping from mdadm RAID5 array
I could use your help with this, I've got an issue with the RAID5 array in my server, where I'm getting seemingly random DeviceDisappeared and NewArray events (always in the same second) from mdadm (...
0 votes
0 answers
49 views
High Private Bandwidth & CPU Load in 3-5 hours interval
I'm running a Laravel application with the following architecture: Backend server: Handles queues, jobs, emails, Horizon, cron jobs, and admin panel. Specs: 2 vCPU / 4 GB RAM. Frontend server: ...
0 votes
1 answer
51 views
Ubuntu Live-server extend partition size
How can I extend the sdb2 partition? Here is the current partition layout of my /dev/sdb disk: /dev/sdb ├─sdb1 ntfs Windows10 6672012C72010313 ├─sdb2 ext4 1.0 dd841b67-660f-42dc-...
0 votes
0 answers
79 views
Docker is killing my server after having switched from snap to apt
I've got a hetzner root server which I was running docker on. This machine is running ubuntu 22.04 and docker which was previously installed as snap. I wanted to run a taiga docker install but this ...
1 vote
0 answers
89 views
How to keep Ubuntu snap applications in systemd user service cgroup?
I have a server also running some systemd user services. Now one service runs a headless chromium browser, which is provided by Ubuntu snap on this system. It now runs under its own scope a la snap....