🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Brian McEntire Thu, 21 May 1998 00:00
INN, startup on HP-UX 10.20 boot
#28292
Author: Brian McEntire
Date: Thu, 21 May 1998 00:00
32 lines
1728 bytes
I've been running INN for about 6 months now. The news server takes care
of itself pretty well...

I'm having trouble getting it to start on system startup/reboot.
I'm familiar with the HP-UX 10.20 startup mechanism:
  /sbin/init.d/...
  links to these files from /sbin/rc<x>.d/S<nnn><startup script>
etc, etc, etc...

Anyway, executing /usr/news/bin/rc.news as news fires up innd and
innwatch and overchan without any problems.

*BUT:
if I give the line 
su - news -c "/usr/news/bin/rc.news " >/dev/null 2>&1
from the /sbin/init.d/innd startup script,

only innd gets started (which starts overchan)
innwatch does not start. Does this have something to do with the
mechanism used to start innwatch from within rc.news?? I see a sleep 60
there and then the call to put innwatch into the background. This
doesn't seem to work during system startup (BTW, its the last script
called so everything is mounted and started up by then.)

Is there a good solution to this? Should I not use rc.news and fire off
innd and innwatch from the startup script instead?

Thanks!
  Brian

Re: INN, startup on HP-UX 10.20 boot
#28310
Author: Matt Stein
Date: Fri, 22 May 1998 00:00
21 lines
1122 bytes
Brian McEntire <brianm@fsg1.nws.noaa.gov> wrote:

> Anyway, executing /usr/news/bin/rc.news as news fires up innd and
> innwatch and overchan without any problems.

> *BUT:
> if I give the line 
> su - news -c "/usr/news/bin/rc.news " >/dev/null 2>&1
> from the /sbin/init.d/innd startup script,

Adding a 'nohup' like following will fix this.  This should be added to 
the faq as it seems to catch everyone on HPUX.  

su news -c "/opt/gnu/bin/nohup $INN_BINDIR/rc.news > $INN_PREFIX/run/launch.out

This works on several HPUX servers I've handled.
-- 
mat.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads