Questions tagged [start-stop-daemon]
Use this tag for questions about start-stop-daemon, a command to start/stop/status jobs on Debian and derivatives, with sysvinit. Use the systemd tag instead for systemctl based job management.
52 questions
2 votes
1 answer
211 views
start-stop-daemon does not start because: "process already running"
I have an init script to start qbittorrent-nox on my server. It works fine when I first start the server, but if I shut down the qbittorrent-nox process (service qbittorrent stop) it will not start ...
1 vote
0 answers
1k views
MongoDB 6 fails to start on CentOS 8
MongoDb run fine with the default settings. The issue occurs when I change the default log path in cat /etc/mongod.conf to the below: systemLog: destination: file logAppend: true path: /var/www/...
0 votes
1 answer
872 views
start-stop-daemon can't stop the daemon "No $daemon found running; none killed."
Trying to stop the transmission daemon on debian 11 gives me: start-stop-daemon --stop --chuid debian-transmission --exec /usr/bin/transmission-daemon -- --config-dir /var/lib/transmission-daemon/info ...
2 votes
1 answer
3k views
How can I cancel (abort) a shutdown when I see "A stop job is running..."?
I entered sudo shutdown -h now to shutdown my computer. Then, the "A stop job is running..." message appeared. I wanted to abort my shutdown and go back to appropriately closing the running ...
0 votes
1 answer
716 views
Service takes more than a minute to close
I have a Linux based device which is running certain services on boot-up, however one of them seems to be taking over a minute to close as I run adb shell shutdown -h now command. Is there a way to ...
2 votes
0 answers
4k views
dockerd failed to start daemon: list bridge addresses failed
Exacactly the same issue as Failed to start Docker Container Engine, as I'm getting dockerd failed to start daemon: Error initializing network controller: list bridge addresses failed: ...
2 votes
1 answer
8k views
systemctl stop service doesn't work
I wrote this service in/etc/systemd/system called nexusiq.service: [Unit] Description=Nexus IQ Service After=network.target [Service] Type=simple ExecStart=/etc/init.d/nexus-iq-server start ExecStop=/...
2 votes
1 answer
394 views
Start and stop systemd units in the same order
How am I supposed to do this in systemd? start unit.A started unit.A start unit.B started unit.B stop unit.A stopped unit.A stop unit.B stopped unit.B I know After=/Before= will order units in ...
0 votes
0 answers
357 views
Systemctl daemon only works when verbose is enabled
I have a daemon in init.d which except for the name and description has exactly the same structure as the standard ubuntu skeleton file. When I try to run said daemon using sudo /etc/init.d/mydaemon ...
1 vote
1 answer
4k views
AIX and daemon service
I see that the daemon service is started and stopped via the commands: startsrc and stopsrc on group/subsystem. I have init.d script and I want to make it daemon service in AIX. From these commands ...
2 votes
0 answers
2k views
Unable to kill / terminate programs if another terminal window opened
I’m running a program on raspberry pi which opens few other python programs for a certain amount of time and then closes them. What is happening: if I’m running the main program from e.g. Python 3 ...
6 votes
1 answer
5k views
Stop sshd and kill ongoing connections
Under certain conditions, I want the sshd daemon to be stopped. When I do this, I want the currently open connections to be stopped too. By default, the sshd service does not kill existing connections ...
0 votes
1 answer
158 views
start-stop-daemon - strange behaviour
My setup There is a box containing an NSLU2 (aka a "slug") controlling a church heating system and running Slugos (which is essentially Linux 2.6.27.8 - the IOT tends to be running somewhat ancient ...
16 votes
3 answers
92k views
How to fix ".service: Start request repeated too quickly." on custom service?
I'm learning how to create services with systemd. I get this error: .service: Start request repeated too quickly. I can't start the service any more; it was working yesterday. What am I doing wrong? ...
0 votes
1 answer
813 views
How to make my sysvinit service work on as many distros as possible?
I am attempting to write a cross-platform sysvinit service that works on as many sysvinit systems as possible. Things I need: The process needs to daemonize (it does not automatically daemonize ...