Re: [solved] C program launched by start-stop-daemon fails to catch signals

2016-05-07 Thread CN
On Sat, May 7, 2016, at 02:43 PM, Christian Seiler wrote: > > No, it does catch the signal without a problem. But start-stop-daemon > closes the standard filedescriptors and replaces them with /dev/null. > > Try it: > > /tmp/t.sh start > ps ax | grep a.out > lsof -p

Re: C program launched by start-stop-daemon fails to catch signals

2016-05-06 Thread Christian Seiler
On 05/07/2016 06:39 AM, CN wrote: > The following compilable C++ program catches signals as expected if it > runs directly from shell /tmp/a.out. > > However, this program fails to catch any signal and silently terminates > if it is fired by Debian's start-stop-daemon. N

C program launched by start-stop-daemon fails to catch signals

2016-05-06 Thread CN
The following compilable C++ program catches signals as expected if it runs directly from shell /tmp/a.out. However, this program fails to catch any signal and silently terminates if it is fired by Debian's start-stop-daemon. (My real life multiple threaded program does not silently termi

Re: start-stop-daemon on an inotify script

2013-04-09 Thread Andreas Leha
permission to search directories, or to execute files if > anyone could execute them before. > That I did not know, indeed. Thanks for that. >> echo "At ${time} on ${date}, file $FILECHANGE was chmodded" >> "$1" >> done >> #+end_src >

Re: start-stop-daemon on an inotify script

2013-04-08 Thread Bob Proulx
d execute permission. For example, this mode: a+X gives all users permission to search directories, or to execute files if anyone could execute them before. > echo "At ${time} on ${date}, file $FILECHANGE was chmodded" >> "$1" > done > #+en

Re: start-stop-daemon on an inotify script

2013-04-08 Thread Andreas Leha
Andreas Leha writes: > Hi all, > > > (cross-post from here: > http://superuser.com/questions/571416/start-stop-daemon-on-an-inotify-scripti) > > > > I am on debian squeeze. > > Consider this stripped down script (placed at > /usr/local/bin/testinotify) ar

start-stop-daemon on an inotify script

2013-03-26 Thread Andreas Leha
Hi all, (cross-post from here: http://superuser.com/questions/571416/start-stop-daemon-on-an-inotify-scripti) I am on debian squeeze. Consider this stripped down script (placed at /usr/local/bin/testinotify) around inotifywait: #+begin_src sh #!/bin/bash WATCHDIR="/tmp/testin

Re: start-stop-daemon : questions about retry

2013-01-15 Thread - -
data 32698 18092  0 05:36 ?    00:01:05 php-cgi -b 127.0.0.1:47990 - Stadtpirat Von: Bob Proulx An: debian-user@lists.debian.org Gesendet: 21:33 Freitag, 11.Januar 2013 Betreff: Re: start-stop-daemon : questions about retry - - wrote: > unfortu

Re: start-stop-daemon : questions about retry

2013-01-11 Thread Tom H
On Fri, Jan 11, 2013 at 3:33 PM, Bob Proulx wrote: > - - wrote: >> >> # ps aux >> USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND >> www-data 1294 0.1 0.7 193960 44688 ?SJan09 1:07 php-cgi -b >> 127.0.0.1:47990 >> root 1374 0.0 0.0 24712 764 ?

Re: start-stop-daemon : questions about retry

2013-01-11 Thread Bob Proulx
the process parent is 1 or not. 'ps -ef' or 'ps -efH' shows this. I don't know the BSD ps option to show the PPID. > # cat /usr/local/var/run/cherokee.pid > 1374 That matches fine. > # start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile > /

Re: start-stop-daemon : questions about retry

2013-01-10 Thread - -
r/bin/rrdtool - […] # cat /usr/local/var/run/cherokee.pid 1374 # start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile /usr/local/var/run/cherokee.pid --name cherokee #ps aux USER   PID %CPU %MEM    VSZ   RSS TTY  STAT START   TIME COMMAND www-data  1294  0.1  0.7 193960

Re: start-stop-daemon : questions about retry

2013-01-07 Thread Darac Marjal
On Sun, Jan 06, 2013 at 02:10:43AM -0800, - - wrote: > Hello, > > I am trying to write an init script for cherokee webserver. Not, there is > already one, but I wanted to have one derived from skeleton. > > > > In function "do_stop()" the script executes this

start-stop-daemon : questions about retry

2013-01-06 Thread - -
Hello, I am trying to write an init script for cherokee webserver. Not, there is already one, but I wanted to have one derived from skeleton. In function "do_stop()" the script executes this line: "start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --n

start-stop-daemon qemu-nbd

2012-10-18 Thread shawn wilson
start-stop-daemon works as root, but not when sudo with qemu-nbd my definition of works vs doesn't - i can connect to both (assuming a qcow2 vm): start-stop-daemon --start -b --exec /usr/bin/qemu-nbd -- nocache template.qcow2 nbd-client localhost 1024 /dev/nbd0 fdisk -l /dev/nbd0 #WORKS

Re: start-stop-daemon: stop several processes

2012-01-11 Thread Cam Hutchison
hvw59601 writes: >This process is started at boot by 'do_chk_ip' in /etc/init.d which has: > stop) > start-stop-daemon --stop --verbose --exec $DAEMON > ;; >where $DAEMON=/usr/bin/do_tail_chk which has: >tail -s 1 -n 60 -f /var/log/syslog | /usr/bin/d

Re: start-stop-daemon: stop several processes

2012-01-10 Thread Camaleón
On Tue, 10 Jan 2012 13:52:21 -0600, hvw59601 wrote: > hvw59601 wrote: >> Camaleón wrote: >>> On Tue, 10 Jan 2012 11:02:13 -0600, hvw59601 wrote: >>> There are 2 systems behind a Thomson TG585V8 router connected to the internet. Currently about once every halfhour the 'internet'

Re: start-stop-daemon: stop several processes

2012-01-10 Thread hvw59601
hvw59601 wrote: Camaleón wrote: On Tue, 10 Jan 2012 11:02:13 -0600, hvw59601 wrote: There are 2 systems behind a Thomson TG585V8 router connected to the internet. Currently about once every halfhour the 'internet' LED on the router goes out (no internet connection) then goes red (internet con

Re: start-stop-daemon: stop several processes

2012-01-10 Thread hvw59601
Camaleón wrote: On Tue, 10 Jan 2012 11:02:13 -0600, hvw59601 wrote: There are 2 systems behind a Thomson TG585V8 router connected to the internet. Currently about once every halfhour the 'internet' LED on the router goes out (no internet connection) then goes red (internet connection failed) a

Re: start-stop-daemon: stop several processes

2012-01-10 Thread Camaleón
On Tue, 10 Jan 2012 11:02:13 -0600, hvw59601 wrote: > There are 2 systems behind a Thomson TG585V8 router connected to the > internet. > > Currently about once every halfhour the 'internet' LED on the router > goes out (no internet connection) then goes red (internet connection > failed) and goes

start-stop-daemon: stop several processes

2012-01-10 Thread hvw59601
Tue Jan 10 10:14:57 2012 187.136.116.91 (226) I wrote a program 'do_chk_ip' which is piped the tail of syslog and looks for the appropriate ddclient message and then records the date and time to a database. This process is started at boot by 'do_chk_ip' in /etc/init.d whic

Re: start-stop-daemon with chroot ?

2008-07-11 Thread supermega
On 11 Lip, 09:30, Sven Joachim <[EMAIL PROTECTED]> wrote: > Hello supermega, > > do you also have a real name? > > On 2008-07-11 03:59 +0200, supermega wrote: > > > I'd like to use start-stop-daemon with chroot option, but I get a > > strange error. A test:

Re: start-stop-daemon with chroot ?

2008-07-11 Thread Sven Joachim
Hello supermega, do you also have a real name? On 2008-07-11 03:59 +0200, supermega wrote: > I'd like to use start-stop-daemon with chroot option, but I get a > strange error. A test: > # start-stop-daemon --start --chroot /bin --exec ls > start-stop-daemon: Unable to start ls

start-stop-daemon with chroot ?

2008-07-10 Thread supermega
Hi, I'd like to use start-stop-daemon with chroot option, but I get a strange error. A test: # start-stop-daemon --start --chroot /bin --exec ls start-stop-daemon: Unable to start ls: No such file or directory (No such file or directory) I should work, shouldn't it? When I run this: #

start-stop-daemon with LD_PRELOAD

2008-05-10 Thread Ross Boylan
I want to use LD_PRELOAD so that a program can use some code that substitutes for the usual system calls. The program, bacula-fd, is started by an init script that uses start-stop-daemon. Is there a way to get this to work? I've seen some prior discussion of this issue on this list, bu

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-16 Thread Yuwen Dai
man start-stop-daemon: "Any arguments given after -- on the command line are passed unmodified to the program being started." I mean the environment variables that will be recognized by the invoked daemon. I have solved this by adding NAME=xxx pairs preceding start-stop-daemon:

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-13 Thread Simon Brandmair
Hi, On Fri, 13 Jul 2007 06:20:09 +0200 Dallas Clement wrote: > On Fri, 2007-07-13 at 11:13 +0800, Yuwen Dai wrote: >> >> A daemon invoked by start-stop-daemon needs some extra enviroment >> variables. How to pass them to the daemon? Thanks in advance. > >

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Bob Proulx
Yuwen Dai wrote: > A daemon invoked by start-stop-daemon needs some extra enviroment > variables. How to pass them to the daemon? Thanks in advance. Typically in Debian start-stop-daemon is called from within the boot time /etc/init.d/* scripts. Typically those scripts will

Re: start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Dallas Clement
On Fri, 2007-07-13 at 11:13 +0800, Yuwen Dai wrote: > Dear all, > > A daemon invoked by start-stop-daemon needs some extra enviroment > variables. How to pass them to the daemon? Thanks in advance. > > Best regards, > Yuwen I'm not sure if you meant environment

start-stop-daemon: how to pass environment variables to the daemon

2007-07-12 Thread Yuwen Dai
Dear all, A daemon invoked by start-stop-daemon needs some extra enviroment variables. How to pass them to the daemon? Thanks in advance. Best regards, Yuwen

Re: Is there any chance to find out in which package the start-stop-daemon

2007-06-22 Thread Tod Detre
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is there any chance to find out in which package the start-stop-daemon > is w/o reinstalling the whole debian distribution and hopeing that it > will be installed automatically? I really like the program apt-file. It allows you to search a

Re: Is there any chance to find out in which package the start-stop-daemon

2007-06-22 Thread Mike Bird
On Friday 22 June 2007 13:41, Dirk wrote: > Is there any chance to find out in which package the start-stop-daemon > is w/o reinstalling the whole debian distribution and hopeing that it > will be installed automatically? In my Etch system, start-stop-daemon comes from the dpkg package

Is there any chance to find out in which package the start-stop-daemon

2007-06-22 Thread Dirk
any chance to find out in which package the start-stop-daemon is w/o reinstalling the whole debian distribution and hopeing that it will be installed automatically? Dirk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: how to use start-stop-daemon (installing daemon)

2007-02-19 Thread Andrew Sackville-West
On Mon, Feb 19, 2007 at 09:07:36AM -0800, Brad Brock wrote: > I want to set my program as daemon that started when > system start. I have read the manual of > start-stop-daemon but I think an example would be > great for me. Does anyone has the example? Thank you. /etc/init.d/ is full

Re: how to use start-stop-daemon (installing daemon)

2007-02-19 Thread Sergio Cuéllar Valdés
2007/2/19, Brad Brock <[EMAIL PROTECTED]>: I want to set my program as daemon that started when system start. I have read the manual of start-stop-daemon but I think an example would be great for me. Does anyone has the example? Thank you. Hi, which program ? Have you made it yo

how to use start-stop-daemon (installing daemon)

2007-02-19 Thread Brad Brock
I want to set my program as daemon that started when system start. I have read the manual of start-stop-daemon but I think an example would be great for me. Does anyone has the example? Thank you. No need to

zombies when running swatch via start-stop-daemon --chuid

2007-01-20 Thread Matt Miller
Under etch I'm using start-stop-daemon to start the swatch log monitoring utility in an /etc/init.d script. This is working, but each instance of swatch (I'm starting multiple -- one instance per monitored log) creates a zombie process the first time it logs something. I'm usi

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Andrew Cady
On Mon, Dec 12, 2005 at 05:22:27PM +0200, Maxim Vexler wrote: > On 12/12/05, Andrew Cady <[EMAIL PROTECTED]> wrote: > [snip] > > > You could try putting a sulogin immediately before the mythbackend > > script in your runlevel then running mythbackend manually. If it > > works you've ruled out orde

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Almut Behrens
On Mon, Dec 12, 2005 at 03:32:57PM -0700, Mike wrote: > > normally you just have a set of source functions library like > /etc/init.d/functions or some other path that you use for your init > scripts. Debian has decided to daomonize it with this start-stop-daemon > thing they mad

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Mike
ions? Huh? normally you just have a set of source functions library like /etc/init.d/functions or some other path that you use for your init scripts. Debian has decided to daomonize it with this start-stop-daemon thing they made up. I guess I could create my own functions file and go through all of th

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Maxim Vexler
On 12/12/05, Andrew Cady <[EMAIL PROTECTED]> wrote: [snip] > > You could try putting a sulogin immediately before the mythbackend > script in your runlevel then running mythbackend manually. If it works > you've ruled out ordering and should check for environment problems by > stopping mythbackend

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Andrew Cady
On Mon, Dec 12, 2005 at 01:11:44AM -0700, Mike wrote: > I'm baffled I can start this by running > "/etc/init.d/mythbackend start" after the computer starts but when > its starting up it just says its starting but never does. > > How on earth would I trouble shoot something like this if it is

Re: start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread schnitzel meister
r/log/mythtv/mythbackend.log --pidfile > $RUNDIR/$NAME.pid" > EXTRA_ARGS="" > NICE=0 > > if [ -f /etc/default/mythbackend ]; then > . /etc/default/mythbackend > fi > > ARGS="$ARGS $EXTRA_ARGS" > > mkdir -p $RUNDIR > chown -R $USER $R

start-stop-daemon.... for the love of GOD! Why?

2005-12-12 Thread Mike
run/mythtv ARGS="--daemon --logfile /var/log/mythtv/mythbackend.log --pidfile $RUNDIR/$NAME.pid" EXTRA_ARGS="" NICE=0 if [ -f /etc/default/mythbackend ]; then . /etc/default/mythbackend fi ARGS="$ARGS $EXTRA_ARGS" mkdir -p $RUNDIR chown -R $USER $RUNDIR cas

RE: start-stop-daemon and java

2005-12-10 Thread Scott Muir
From: Almut Behrens [mailto:[EMAIL PROTECTED] Sent: Saturday, December 10, 2005 10:01 AM To: debian-user@lists.debian.org Subject: Re: start-stop-daemon and java On Fri, Dec 09, 2005 at 10:26:46PM -0800, Scott Muir wrote: > Have a question which i think relates to s-s-d more than java but

Re: start-stop-daemon and java

2005-12-10 Thread Almut Behrens
PPUSER="jsync" > ARGS="-Xmx256M -jar jsyncmanager.jar --server" > PIDFILE="/var/run/jsyncmanager.pid" > > # Carry out specific functions when asked to by the system > case "$1" in > start) > echo "Starting jsyncmanager" > start-st

start-stop-daemon and java

2005-12-09 Thread Scott Muir
/jsyncmanager.pid" # Carry out specific functions when asked to by the system case "$1" in start) echo "Starting jsyncmanager" start-stop-daemon -Sbm -p $PIDFILE -c $APPUSER -d $APPDIR -x "/usr/bin/java" -- $ARGS this was derived from a comman

start-stop-daemon with redirection? (boinc / seti@home)

2004-11-15 Thread Michael Vert
I use an init script which starts and stops the boinc client using the start-stop-daemon. [...] start) echo -n "Starting $DESC: $NAME" start-stop-daemon --start --exec $DAEMON --chuid mike --chdir /home/mike/boinc --pidfile $PIDFILE --make-pidfile --background echo "."

RE: start-stop-daemon: command not found error when running cron job

2004-10-06 Thread Marion Hall
>From S. Keeling > (0) keeling /home/keeling_ which start-stop-daemon > /sbin/start-stop-daemon >cron runs with a minimal environment and likely doesn't have /sbin in >its PATH. That fixed it thanks, Marion -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Re: start-stop-daemon: command not found error when running cron job

2004-10-06 Thread s. keeling
Incoming from Marion Hall: > I'm trying to stop a wget process after a set amount of time with the > following command from a crontab. > > start-stop-daemon --stop -n wget > > When this command runs, I get the following error and it doesn't stop wget: > /bin/sh:

start-stop-daemon: command not found error when running cron job

2004-10-06 Thread Marion Hall
I'm trying to stop a wget process after a set amount of time with the following command from a crontab. start-stop-daemon --stop -n wget When this command runs, I get the following error and it doesn't stop wget: /bin/sh: start-stop-daemon: command not found The wget command that is

Re: jabberd start-stop-daemon

2003-03-20 Thread Derrick 'dman' Hudson
might have been a permission problem. | | At this point I still don't have jabber starting and I'm not sure where to | look now. Any help appreciated. I had this problem for quite a while. The first cause is that jabber doesn't daemonize on its own. So an option to start-st

Re: jabberd start-stop-daemon

2003-03-18 Thread Peter Lavender
and I'm not sure > > where to look now. Any help appreciated. > > Change the first line of the init script from: Thanks... however during my mucking about got it working again by taking out the -c opiton for start-stop-daemon. It was -c daemon. So I think it might be a permission p

Re: jabberd start-stop-daemon

2003-03-18 Thread Jamin W. Collins
On Wed, Mar 19, 2003 at 01:04:09PM +1100, Peter Lavender wrote: > I installed jabberd from .deb. However jabber won't start from the > start stop script /etc/init.d/jabber Which version of the package? > I can however start jabber from the commandline as root. Since I > could do this I though

Re: jabberd start-stop-daemon

2003-03-18 Thread nate
Peter Lavender said: > Hi Everyone, > > I installed jabberd from .deb. However jabber won't start from the start > stop script /etc/init.d/jabber > > I can however start jabber from the commandline as root. Since I could do > this I thought it might have been a permission problem. > > > At this p

jabberd start-stop-daemon

2003-03-18 Thread Peter Lavender
Hi Everyone, I installed jabberd from .deb. However jabber won't start from the start stop script /etc/init.d/jabber I can however start jabber from the commandline as root. Since I could do this I thought it might have been a permission problem. At this point I still don't have jabber starti

Strange start-stop-daemon behavior breaking cipe-common's init.dscript

2003-03-09 Thread Sulley
I've installed cipe-common_1.5.4free-1. The init.d script is supposed to loop through the peer option files and invoke start-stop-daemon for each one: start_all () { for peer in $PEERS do echo -n "$peer " start-stop

Re: Fake start-stop-daemon called, doing nothing--Wha???

2002-12-11 Thread Joey Hess
Rob Weir wrote: > On Thu, Dec 05, 2002 at 08:58:27PM -0600, ZephyrQ wrote: > > Thank you, the moving the .REAL command fixed it. I was able to > > configure my printer > > Do take up Joey's kind offer of help though, since it sounds like your > installation screwed up pretty severly... H

Re: Fake start-stop-daemon called, doing nothing--Wha???

2002-12-10 Thread Rob Weir
On Thu, Dec 05, 2002 at 08:58:27PM -0600, ZephyrQ wrote: > Thank you, the moving the .REAL command fixed it. I was able to > configure my printer Do take up Joey's kind offer of help though, since it sounds like your installation screwed up pretty severly... > Now I have to start

Re: Fake start-stop-daemon called, doing nothing--Wha???

2002-12-05 Thread ZephyrQ
: > ZephyrQ wrote: > > >I try to run that command, but get an error: > > > > > > Warning: Fake start-stop-daemon called, doing nothing > > It sounds to me like you got a debian system installed that has the fake > start-stop-daemon command used by debootstra

Re: Fake start-stop-daemon called, doing nothing--Wha???

2002-12-05 Thread Joey Hess
ZephyrQ wrote: > >I try to run that command, but get an error: > > > > Warning: Fake start-stop-daemon called, doing nothing It sounds to me like you got a debian system installed that has the fake start-stop-daemon command used by debootstrap when bootstrapping the system. T

Re: Fake start-stop-daemon called, doing nothing--Wha???

2002-12-04 Thread Shawn Lamson
rror: > > > > Warning: Fake start-stop-daemon called, doing nothing > > I cannot get my printer set up...I keep getting this error. > > Every time I shutdown (init 0 *or* shutdown -h now) I get a screen > full--and I have to shut off the system which, o

Fake start-stop-daemon called, doing nothing--Wha???

2002-12-04 Thread ZephyrQ
I've just installed Debian this past weekend, but I seem to have quite a few problems getting things to run right. The common thread seems to be the following: >I try to run that command, but get an error: > > Warning: Fake start-stop-daemon called, doing nothing

Running multiple instances with start-stop-daemon

2002-06-30 Thread Mike Mimic
Hi! I would like to run few instances of same program but with different parameters with start-stop-daemon tool. I have tryed: start-stop-daemon --start --chuid nobody:nogroup --pidfile /var/run/someprogram.pid --startas /bin/someprogram ... (other lines have other pidfile and some parameters

Re: start-stop-daemon chroot option.

2002-03-09 Thread Chris Hilts
On Sat, Mar 09, 2002 at 07:27:09PM +0100, Ralf G. R. Bergs wrote: > You might need some shared libraries (that the daemon binary itself depends > upon) that are missing in the chroot jail. Since spamd is a perl script, it's most likely missing a perl interpreter in the chroot jail. Chris Hilts

Re: start-stop-daemon chroot option.

2002-03-09 Thread Ralf G. R. Bergs
On Sat, 09 Mar 2002 12:08:54 -0600, Corey Halpin wrote: [...] >Yes, there is a spamd in /usr/sbin, and there is also one in >/var/lib/spamd/usr/sbin. You might need some shared libraries (that the daemon binary itself depends upon) that are missing in the chroot jail. "ldd -v " should show you

start-stop-daemon chroot option.

2002-03-09 Thread Corey Halpin
I'm attempting to chroot my spamd process to run from /var/lib/spamd. I have copied all the relevant files from /etc, and from /usr/sbin to /var/lib/spamd. I then edit /etc/init.d/spamassassin and add --chroot /var/lib/spamd after every start-stop-daemon invocation. when I ru

Re: start-stop-daemon and quoting in arguments

2002-02-11 Thread Eric G . Miller
On Tue, 12 Feb 2002 02:54:53 +0100, Karsten Heymann <[EMAIL PROTECTED]> wrote: > Hi list, > > somehow I'm lost with start-stop-daemon and quoting. I'm trying to let > a self-recompiled slapd server both ldap and ldaps. When invoked from > the command line wi

start-stop-daemon and quoting in arguments

2002-02-11 Thread Karsten Heymann
Hi list, somehow I'm lost with start-stop-daemon and quoting. I'm trying to let a self-recompiled slapd server both ldap and ldaps. When invoked from the command line with slapd -d 255 -h "ldap:/// ldaps:///" the debug output shows that both options are accepted. B

Re: start-stop-daemon

2001-04-30 Thread Osamu Aoki
p you start, stop, restart, and reload daemons (some of these > scripts use start-stop-daemon :) Yes. If X started with startx, kill it by menu or CTRL-ALT-BS. Restart X with "exec startx". If X is started by {x,g,k}gm type daemon, run corresponding /etc/init.d script with "restart&

Re: start-stop-daemon

2001-04-30 Thread Nathan E Norman
On Mon, Apr 30, 2001 at 04:58:02PM -0500, DvB wrote: > Just how effective is the start-stop-daemon anyway? For instance, can I > upgrade my kernel (assuming I use a prepackaged version or package my > own with make-kpkg) or X server and not reboot? > > This service only works for

Re: start-stop-daemon

2001-04-30 Thread Ilya Martynov
D> Just how effective is the start-stop-daemon anyway? For instance, can D> I upgrade my kernel (assuming I use a prepackaged version or package D> my own with make-kpkg) or X server and not reboot? D> This service only works for daemons, right? (i.e. lpd, httpd, etc). On Linux sy

Re: start-stop-daemon

2001-04-30 Thread ktb
On Mon, Apr 30, 2001 at 04:58:02PM -0500, DvB wrote: > Just how effective is the start-stop-daemon anyway? For instance, can I > upgrade my kernel (assuming I use a prepackaged version or package my > own with make-kpkg) or X server and not reboot? > > This service only works for

start-stop-daemon

2001-04-30 Thread DvB
Just how effective is the start-stop-daemon anyway? For instance, can I upgrade my kernel (assuming I use a prepackaged version or package my own with make-kpkg) or X server and not reboot? This service only works for daemons, right? (i.e. lpd, httpd, etc).

Re: start-stop-daemon, postgresql, and options

2001-03-19 Thread Oliver Elphick
Aaron Brashears wrote: >My /etc/init.d/posgresql uses start-stop-daemon to launch >/usr/lib/postgresql/bin/postgresql-startup which handles a lot of the >details of running postgresql. postgresql-startup was specially written for the Debian package of PostgreSQL -- Olive

Re: start-stop-daemon, postgresql, and options

2001-03-19 Thread Aaron Brashears
; > I've got it mostly working, using start-stop-daemon; the command is: > > start-stop-daemon --start --exec --chuid postgres My /etc/init.d/posgresql uses start-stop-daemon to launch /usr/lib/postgresql/bin/postgresql-startup which handles a lot of the details of running po

start-stop-daemon, postgresql, and options

2001-03-19 Thread Andrew Perrin
Greetings. Running a locally-compiled postgresql 7.0.3, I'm still trying to get it to start up automatically at boot time. The trick is, of course, to get it to start as user postgres instead of root. I've got it mostly working, using start-stop-daemon; the command is: start-stop-daem

problem with rblsmtpd and start-stop-daemon

2000-11-27 Thread iain-list
[207.8.152.167] Nov 27 17:18:04 spoke qmail: 975305884.684175 tcpserver: warning: dropping connection, unable to run /usr/sbin/rblsmptd: file does not exist If I run the startup command without start-stop-daemon it works fine. It is only with the wrapper that I have this porblem. The startup command is as

Re: (1) /etc/init.d/inn: start-stop-daemon: command not found? (2) actsync difficulties.

1999-12-30 Thread Nathan E Norman
On Thu, 30 Dec 1999, Shaul Karl wrote: : 1) I just installed inn and I am getting : : start-stop-daemon: command not found : : whenever I am starting or stopping it. : : Did I missed something or is it a bug? Make sure you're starting or stopping as the root user (use su or

(1) /etc/init.d/inn: start-stop-daemon: command not found? (2) actsync difficulties.

1999-12-30 Thread Shaul Karl
1) I just installed inn and I am getting start-stop-daemon: command not found whenever I am starting or stopping it. Did I missed something or is it a bug? 2) Although getlist(1) manages to get about 45000 groups, actsync(8) is hanging up and I have to kill it. It seems to put in the

start-stop-daemon on Debian

1999-04-14 Thread Brock Rozen
changes to let it happen w/o a password. I'm going to get an error here that it can't find "start-stop-daemon". Alternatively, if I change the "daemon" script to point to /sbin/start-stop-daemon then it works fine. I tried this with /etc/init.d/bind Is there any way t

Re: start-stop-daemon and multiple exim daemons

1999-02-02 Thread Carey Evans
[EMAIL PROTECTED] (Marc Haber) writes: > I am running exim as two daemons. One is listening on port 25, the > other does periodic queue runs only when I am online. The queue runner > exim is killed off when I go offline. [snip] > How can I make start-stop-daemon check for a proces

start-stop-daemon and multiple exim daemons

1999-01-31 Thread Marc Haber
-f $DAEMON || exit 0 | |set -e | |case "$1" in | start) |echo -n "Starting $DESC: " |start-stop-daemon --start --quiet \ |--pidfile /var/run/$NAME.$PORT.pid-$PARM \ |--exec $DAEMON -- -$PARM -oX $PORT |echo "$DESC." |

NEVER MIND: Re: bug?: /etc/init.d/kerneld can't find start-stop-daemon and grep

1997-08-10 Thread Daniel S. Barclay
I wrote: > I just upgraded my Debian 1.2 to Debian 1.3, and am having a problem > with the scripts that are supposed to start kerneld. > > The script /etc/init.d/kerneld doesn't start kerneld (when it is run > automatically boot time). > ... > So, have I misinstalled 1.3, or ...

Re: different "start-stop-daemon: no such file" problem

1997-08-10 Thread Daniel S. Barclay
I wrote: > > From: Frank Barknecht <[EMAIL PROTECTED]> > > > After upgrading to Debian 1.3.1 I encountered a serious start-up-problem. > > Some of the /etc/init.d/-scripts fail with messages like > > >- > > /etc/init.d/kerneld: /u

different "start-stop-daemon: no such file" problem

1997-08-10 Thread Daniel S. Barclay
> From: Frank Barknecht <[EMAIL PROTECTED]> > After upgrading to Debian 1.3.1 I encountered a serious start-up-problem. > Some of the /etc/init.d/-scripts fail with messages like > >- > /etc/init.d/kerneld: /usr/sbin/start-stop-daemon: N

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread jdassen
a bug report or is this problem obsolete anyway > with the new start-stop-daemon in C? Well, it's a problem other people might encounter when upgrading. I'm not sure if we have a document on upgrading from previous releases; if we do, this should go in there. On Aug 6, Frank Barknecht

Re: HELP! start-stop-daemon: no such file (Solved!)

1997-08-06 Thread Frank Barknecht
> Yes, that's it. I linked perl500... with /usr/bin/perl > right now and I am about to reboot to see if it works. IT WORKS. -- Yours, Frank Barknecht

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread Frank Barknecht
r the quick help. That's really great about Debian, wow. P.S.: Is this all worth a bug report or is this problem obsolete anyway with the new start-stop-daemon in C? -- Yours, Frank Barknecht <<<&

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread Frank Barknecht
Frank Barknecht hat gesagt: // Frank Barknecht wrote: ([EMAIL PROTECTED]): > My start-stop-daemon is a perl-script, I can read its content. Now I have found another strange thing: I don't have an executable named perl on my system anymore. Although there is a perl5.00307 under

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread jdassen
[Frank, please keep your lines shorter than 80 characters.] On Aug 6, Frank Barknecht wrote > [EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: > ([EMAIL PROTECTED]): > > Very strange. Please provide the output of > > ls -l /sbin/start-stop-daemon /usr/sbi

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread Dale Martin
Frank Barknecht <[EMAIL PROTECTED]> writes: > Conclusion: > I don't have start-stop-daemon under /sbin but one in /usr/sbin/ that is not > a.out or ELF. > My start-stop-daemon is a perl-script, I can read its content. That's how it was under older versions of Debia

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread Frank Barknecht
[EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: ([EMAIL PROTECTED]): > Very strange. Please provide the output of > ls -l /sbin/start-stop-daemon /usr/sbin/start-stopdaemon Here we go: fliwatut# ls -l /sbin/start-stop-daemon /usr/sbin/start-stopdaemon ls: /sbin

Re: HELP! start-stop-daemon: no such file

1997-08-06 Thread jdassen
On Aug 6, Frank Barknecht wrote > After upgrading to Debian 1.3.1 I encountered a serious start-up-problem. > Some of the /etc/init.d/-scripts fail with messages like > >- > /etc/init.d/kerneld: /usr/sbin/start-stop-daemon: No such file or directory > >---

HELP! start-stop-daemon: no such file

1997-08-06 Thread Frank Barknecht
After upgrading to Debian 1.3.1 I encountered a serious start-up-problem. Some of the /etc/init.d/-scripts fail with messages like >- /etc/init.d/kerneld: /usr/sbin/start-stop-daemon: No such file or directory >- Same with sendmail, xdm etc. If I try the command

start-stop-daemon unwell?

1997-04-16 Thread mike horansky
Running a machine with the frozen version of debian: etc/init.d/xdm: Command not found. host:/etc/init.d# /etc/init.d/xdm stop no /usr/bin/X11/xdm found; none killed. host:/etc/init.d# start-stop-daemon --stop --exec /usr/bin/X11/xdm no /usr/bin/X11/xdm found; none killed. host:/etc/init.d# ps

start-stop-daemon blues. Perl is to big for my boot disk.

1997-04-08 Thread Dave Cinege
I would like to be able to use the standard Debian start-up scripts for my custom router bootdisk. (And it appears so would alot of other people) Unfortunately start-stop-daemon requires perl. All together perl and libs are about 500K (about 200K compressed)..a HUGH waste on a floppy. Is

Re: Perl/io/dpkg-ftp and start-stop-daemon (again(again)).

1997-03-09 Thread John Doggett
erl. > > > bash: /usr/sbin/start-stop-daemon: No such file or directory. > > > > This is odd since it's finding the correct program and the path for it but > > is saying it can't find it. Spook! I've looksed in /usr/sbin and > > start-stop-daemon

Re: Perl/io/dpkg-ftp and start-stop-daemon (again(again)).

1997-03-07 Thread Guy Maor
[EMAIL PROTECTED] (Brian Skreeg) writes: > Due to the ridiuclous dependancies involving Perl,io,libnet and > dpkg-ftp I now find dpkg-ftp broken. io was merged into perl and is now obsolete. Remove io and reinstall perl. > bash: /usr/sbin/start-stop-daemon: No such file or

Re: Perl/io/dpkg-ftp and start-stop-daemon (again(again)).

1997-03-07 Thread Bernt T. Hansen
rough, Ontario fax: (416)431-2617 Canada M1J-2L7 On Fri, 7 Mar 1997, Brian Skreeg wrote: > Date: Fri, 7 Mar 97 15:44:17 GMT > From: Brian Skreeg <[EMAIL PROTECTED]> > To: debian-user@lists.debian.org > Subject: Perl/io/dpkg-ftp and start-stop-dae

Re: Perl/io/dpkg-ftp and start-stop-daemon (again(again)).

1997-03-07 Thread Brian Skreeg
>When I do 'dpkg --status perl' and 'dpkg --status perl-base' it prints out the >corresponding lines: >Package: perl >Status: install ok installed >[cut] >Package: perl-base >Status: purge ok not-installed >[cut] Yep that's what I get. It's "perl" I have installed and not "perl-base" . I can't

  1   2   >