On 0, Subba Rao <[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?
> >
>
> 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.
>
This finally worked,
# init u
The "ps" command lists the svscan process.
After rebooting, I have to run "init u" manually as root user.
Now, the extension question is, how can you set init to start with the "u"
option? Or should I make it the last call in the init scripts?
--
Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/
GPG public key ID 27FC9217