Thread View: news.software.nntp
5 messages
5 total messages
Started by David T. Ashley
Fri, 06 Sep 2002 00:10
RH7.1 System V Shutdown Difficulty
Author: David T. Ashley
Date: Fri, 06 Sep 2002 00:10
Date: Fri, 06 Sep 2002 00:10
24 lines
1766 bytes
1766 bytes
Hi, I have a RedHat 7.1 system to which I've added INN 2.3.3. I decided to use the System V startup/shutdown mechanism. All of the details about what I've done are here: http://kalman.eng.wayne.edu/server_notes/server_setup/inn_2_3_3_inst/index2. htm I named the startup and shutdown links S86 and K16. On startup, things go as expected. On shutdown, it seems that INND is not being shut down by the System V mechanism. Instead, it is catching the SIGTERM signal. This is not harmful (it is still an orderly shutdown), but how do I debug this problem further and figure out why the shutdown link doesn't seem to be working? Thanks, Dave.
Re: RH7.1 System V Shutdown Difficulty
Author: ynotssor
Date: Fri, 06 Sep 2002 01:20
Date: Fri, 06 Sep 2002 01:20
29 lines
2554 bytes
2554 bytes
"David T. Ashley" <dtashley@esrg.org> wrote in message
news:al8rqs$2ec$1@kalman.eng.wayne.edu...
[...]
> On startup, things go as expected.
>
> On shutdown, it seems that INND is not being shut down by the System V
> mechanism. Instead, it is catching the SIGTERM signal. This is not
harmful
> (it is still an orderly shutdown), but how do I debug this problem further
> and figure out why the shutdown link doesn't seem to be working?
Why are you using single quotes in the "stop" argument?
start)
su news -c /usr/local/news/bin/rc.news
stop)
su news -c '/usr/local/news/bin/rc.news stop'
tony
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: RH7.1 System V Shutdown Difficulty
Author: ynotssor
Date: Fri, 06 Sep 2002 01:28
Date: Fri, 06 Sep 2002 01:28
28 lines
2520 bytes
2520 bytes
I wrote in message news:3d77ff08_3@corp.newsgroups.com...
[...]
> Why are you using single quotes in the "stop" argument?
>
> start)
> su news -c /usr/local/news/bin/rc.news
>
> stop)
> su news -c '/usr/local/news/bin/rc.news stop'
Sorry, I should have seen the space inclusion.
Does the command invocation (after "su [-] news") work from the command
line?
Is /usr/local/news/bin/rc.news a binary or a script in which you can place
some debugging echos?
tony
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: RH7.1 System V Shutdown Difficulty
Author: Russ Allbery
Date: Fri, 06 Sep 2002 02:33
Date: Fri, 06 Sep 2002 02:33
13 lines
1551 bytes
1551 bytes
In news.software.nntp, ynotssor <ynotssorAT hotmaildot `\rm -rf /` com> writes:
> Is /usr/local/news/bin/rc.news a binary or a script in which you can
> place some debugging echos?
It's a script.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: RH7.1 System V Shutdown Difficulty
Author: Russ Allbery
Date: Fri, 06 Sep 2002 02:36
Date: Fri, 06 Sep 2002 02:36
22 lines
2072 bytes
2072 bytes
In news.software.nntp, David T Ashley <dtashley@esrg.org> writes:
> On shutdown, it seems that INND is not being shut down by the System V
> mechanism. Instead, it is catching the SIGTERM signal. This is not
> harmful (it is still an orderly shutdown), but how do I debug this
> problem further and figure out why the shutdown link doesn't seem to be
> working?
rc.news stop runs ctlinnd shutdown; it doesn't send any sort of signal.
So what you're saying is that it doesn't seem to do anything and instead
innd is still running when the system starts sending signals to processes?
How do you know that? And how long does the system wait for the rc.news
stop to finish? It should take about 60 seconds or until innd exits,
since rc.news stop will wait for innd to die.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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