Questions tagged [start-stop-daemon]

start-stop-daemon is a command to start/stop/status jobs on debian, ubuntu, sysV systems. Use the systemd tag instead for systemctl based job management.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
748 views

How can I start nfs-common service in chroot environment?

I'm trying to start NFS client daemon on my Debian 9.3 machine, but it doesn't start with the following message. $ sudo service nfs-common start [FAIL] Starting NFS common utilities: statd failed! I ...
4
votes
0answers
2k views

start-stop-daemon, services, environment variables, and ansible

So, I have a Java program that runs Ansible. I'd like to run this program as a service. I've written a service script in /etc/init.d that uses start-stop-daemon to run/stop the Java program. I've run ...
3
votes
0answers
1k views

Failed to get properties: No such interface '' in Ubuntu 16.04.3 LTS

I Created this Unit file tdk-api.service in the /etc/systemd/system folder with this permissions: -rwxr-xr-x with this content: [Unit] Description = tdk API daemon [Service] Type = simple ExecStart ...
2
votes
0answers
70 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 ...
2
votes
1answer
3k views

How to deal with “A stop job is running” in Debian 9 for 90s, once every 2 or 3 shutdowns?

When I'm turning my Debian Stretch (9) off, chances are that I see something like: So a have a few questions: 1) It seems like a bug that's not been solved yet (it's been around for a few years). By ...
1
vote
1answer
1k views

start-stop-daemon no pid file was written

Have already --make-pidfile in start-stop-daemon, but still couldn't see pid file being created. Anybody can help why? #!/bin/bash ### BEGIN INIT INFO # FIXME: set Provides and Short-Description # ...
1
vote
2answers
3k views

I cannot kill crond - trying to stop cron service

This is frustrating, I try: service crond status And get this: Redirecting to /bin/systemctl status crond.service crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond....
0
votes
0answers
88 views

busybox / init.d daemon to monitor result of script

I'm looking to run a script upon a GPIO pin being set (button press) on ARM. I do not want to use sysfs. I found a tool (libgpiod) that can read this event. I can run gpiomon and it writes to the ...
0
votes
1answer
282 views

no process in pidfile; found running, none killed

I'm working on an emailnotifier script on RaspberryPi which was written in Python. I've found a tutorial page, I've exactly copied the default code (which works fine with a simple "python ...
0
votes
1answer
1k views

pgadmin4 service won't start

I am not a sysadmin but since I can't afford paying one, I need to do the job myself ;-) I have a lxc container running on a proxmox4 box. proxmox4$ uname -a Linux dbd 4.4.98-2-pve #1 SMP PVE 4.4.98-...
0
votes
1answer
492 views

postgres processes running while not using it

as in the object of the discussion thread I have the following situation: all time I start my linux OS, I check processes running with the top command in bash and I always find 7-8 postgres processes ...
0
votes
0answers
676 views

service doesn't work

Background I am using this script in order to make my script running as service. I am using Linux Mint 17.3 Rosa. The problem Sometimes the start/stop works sometimes not. Sometimes, I have to ...
0
votes
0answers
642 views

linux + start script under /etc/init.d dependencies with other services

from some reason the script UPMnT.sh not start at boot I cheeked everything: chkconfig is ok links are ok but I worry about maybe there are dependencies between other script to this script can ...
0
votes
1answer
675 views

init.d script : how to stop all process tree with start-stop-daemon

I made an init.d script that don't stop properly the service i run: start() { echo "Starting Server" rm -f $LOGFILE start-stop-daemon --start --background --chuid $USER:$GROUP --pidfile $...