From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b7f98f2394555e00,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-12 08:16:01 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!pipex!bt!uknet!cf-cm!compu010.cf.ac.uk!scoanc From: scoanc@compu010.cf.ac.uk (Cormack Andrew) Subject: Problem starting programs from rc.local Message-ID: <1994Sep12.141637.19191@cm.cf.ac.uk> Sender: scoanc@compu010.cf.ac.uk (Cormack Andrew) Nntp-Posting-Host: compu010.athro.cf.ac.uk Organization: University of Wales College of Cardiff, Cardiff, Wales, UK X-Newsreader: TIN [version 1.2 PL2] Date: Mon, 12 Sep 1994 14:16:35 +0000 I'm trying to start a home-made daemon program as part of the boot sequence. I've added the necessary command to run the program in the background to the /sbin/init.d/rc.local script as: /usr/local/bin/registerd >> /var/adm/registerd.log 2>&1 & Testing this by running rc.local at a shell prompt works fine: the daemon buries itself in the background and waits to be called. When the script is run on reboot, however, there is no sign of the daemon, nor any error messages to indicate what went wrong. Worse, if I replace the daemon program by a program which does nothing but sleep for two hours and run this as /usr/local/bin/sleepy & this also vanishes. Can anyone suggest what I am doing wrong ? Thanks, Andrew +-----------------------------------------------------------------+ | Andrew Cormack | email: cormack@cardiff.ac.uk | | Systems Programmer | snail: 40/41 Park Place, Cardiff | | University of Wales, Cardiff | | +-----------------------------------------------------------------+