On 0, Mark Delany <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 25, 2001 at 08:32:12PM +0000, Subba Rao wrote:
> >
> > I have followed the instructions on DJB's site to install and start svscan.
> >
> > On Linux and other SVR4-based systems with /etc/inittab, add SV:123456:respawn
> > :env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service </dev/null
> > >/dev/console 2>/dev/console to the end of /etc/inittab, and type kill -HUP 1.
> >
> > I am not seeing the svscan process running. Am I missing any step here?
>
> 1. Is the inittab entry all on one line? Show us.
> 2. What was printed on the console after the kill?
> 3. Does /service exist? Show us with ls.
> 4. Is svscan installed ok and executable? Show us with ls.
>
The / directory has:
drwxr-xr-x 2 root root 4096 Apr 25 18:20 service/
The svscan binary is installed and executable:
-rwxr-xr-x 1 root bin 13532 Aug 15 2000 /usr/local/bin/svscan*
In inittab, I tried various combinations after 'svscan /service' and the run
level too:
SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service
</dev/null 2>/dev/console
SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service
</dev/null 2>/dev/console
Each time I made changes to inittab, I did run:
# kill -HUP 1
or
# init q
or
# telinit q
The run level on this system is 4.
The 'ps waux | grep svscan' will not list svscan.
The only command that seems to work is:
# csh -cf 'svscan /service &'
I would definitely prefer to start svscan from /etc/inittab rather than via
the startup scripts. I did reboot the system after making changes to inittab
and that did not start svscan.
--
Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/
GPG public key ID 27FC9217