All Questions
Tagged with configuration systemd
24
questions
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 ...
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:...
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]: ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...