Skip to main content

All Questions

Tagged with
1 vote
1 answer
22 views

Unix socket in /tmp turns into directory on reboot

I run an Ubuntu based server on raspi (6.5.0-1015-raspi #18-Ubuntu). On this system, I have knxd running, exposing a KNX bus to my server, and then Home Asssitant in a docker container. knxd and ...
Martin Probst's user avatar
0 votes
2 answers
1k views

systemd / service user has not the same rights / permission as same user in a shell

I'm trying to set up the Hashicorp Vault Agent as a systemd service. I can manually run that agent with the user vault. Note, perhaps that's important: here's the /etc/passwd for that user : vault:x:...
IlliciteS's user avatar
1 vote
1 answer
156 views

Apache2 won't start even with unit file update post reboot

Issue : after server reboot apache2 won't automatically start (have to manually ssh and start via systemctl which starts without any issue) Error message: Feb 08 05:53:46 domain1_test.com systemd[1]: ...
ardv's user avatar
  • 11
1 vote
1 answer
771 views

Where does "journalctl" read configurations from?

I have installed kubelet 1.26.0 on my Ubuntu 22.04 machine. Previously I had 1.25.2 version that I removed by apt remove kubelet command and reinstalled it with apt install kubelet command. Wherever I ...
best_of_man's user avatar
2 votes
2 answers
646 views

Trying to write a systemd service file that can start commands as different users

I am looking for a way to have a generic systemd service file that can start its command as a user defined in an external file. This would allow me to start different server instances as different ...
olddirewolf's user avatar
0 votes
1 answer
3k views

Does the override.conf file change the actual service file conf?

I have created an override.conf file for systemd-journal-catalog-update.service and placed it in systemd-journal-catalog-update.service.d/ directory. The purpose it to remove systemd-tmpfiles-setup....
Rick Easley's user avatar
2 votes
1 answer
2k views

What can I configure or enable to determine why systemd took a "stop" action on a service?

We have a systemd service unit that starts a third-party agent; call it "service c". The service unit functions correctly -- at least, as far as I can tell! After a patching cycle, systemd ...
Jeff Schaller's user avatar
  • 67.7k
0 votes
1 answer
227 views

Set systemd service to execute after fstab mount - where and how?

I am trying to correctly identify which systemd configuration file must be updated to ensure the full user environment is mounted/accessible before the GUI/session is initiated. This reference did not ...
Eric Marceau's user avatar
0 votes
1 answer
588 views

How to set systemd runlevel without systemctl?

How to set systemd runlevel without systemctl? I have access to Raspbery Pi image content, so I can edit any file there, but I can't run neither systemctl, nor raspi-config. How to change runlevel by ...
Dims's user avatar
  • 3,285
0 votes
1 answer
6k views

vsftpd service does not start saying vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

I am configuring with Ansible a VM running Ubuntu to run this FTP server: vsftpd, however after the installation when I inspect the logs with journalctl -u vsftpd.service I see: Nov 20 17:49:58 my-vm ...
TPPZ's user avatar
  • 567
6 votes
2 answers
21k views

Modern way to configure dummy0 in /etc/network/interfaces or similar?

I am looking for a clean, "modern" way to configure, start, and stop the dummy0 network interface (from the dummy kernel module). My /etc/network/interfaces used to work on an older system but now ...
Oleg Pryadko's user avatar
  • 2,430
14 votes
3 answers
45k views

systemctl + what is the meaning of Restart=always

I configured the service - calc_mem.service as the following Restart=on-failure RestartSec=5 StartLimitInterval=400 StartLimitBurst=3 the configuration above should do the following from my ...
yael's user avatar
  • 13.4k
10 votes
2 answers
12k views

How do I identify all of the configured memory limits for a service started using systemd?

I am chasing an error trying to apply a new tune to postgres. The exact error is: 2018-11-07 22:14:49 EST [7099]: [1-1] FATAL: could not map anonymous shared memory: Cannot allocate memory 2018-11-...
Freiheit's user avatar
  • 9,689
3 votes
2 answers
3k views

OpenVPN riddling syslog with errors, but otherwise seems to work flawlessly

Yesterday I configured OpenVPN on a Ubuntu 18.04 server which seems to work. I can connect no problem and systemctl status openvpn gives me green. However, my syslog is being riddled with errors which ...
AlpayY's user avatar
  • 51
3 votes
1 answer
5k views

Ubuntu server 16.04 tty not working

I have upgraded my office server to Ubuntu server 16.04, but I have a problem with virtual terminals: they don't open. The system boot correctly, also ssh works, but if I want to use the console by ...
djdedo's user avatar
  • 31

15 30 50 per page