🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by hehanson Thu, 10 Jun 1999 00:00
server dead?
#37945
Author: hehanson
Date: Thu, 10 Jun 1999 00:00
17 lines
1171 bytes
news server is not responding and I can't seem to find what is causing
it. any command I send gets the same response. Example:

# /usr/lib/news/bin/ctlinnd shutdown ""
No innd.pid file; did server die?
Can't send "shutdown" command (sendto failure) Connection refused.

rebooting the server has no effect. any help on this would be greatly
appreciated. thanks!

Harry Hanson


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37954
Author: paul vannoni
Date: Fri, 11 Jun 1999 00:00
16 lines
1209 bytes
In article <7jou4a$og3$1@nnrp1.deja.com>,  <hehanson@my-deja.com> wrote:
>news server is not responding and I can't seem to find what is causing
>it. any command I send gets the same response. Example:
>
># /usr/lib/news/bin/ctlinnd shutdown ""
>No innd.pid file; did server die?
>Can't send "shutdown" command (sendto failure) Connection refused.
>
>rebooting the server has no effect. any help on this would be greatly
>appreciated. thanks!
>
for that, I know : innd is not started ! and is not running.
P.V.


Re: server dead?
#37962
Author: hehanson
Date: Fri, 11 Jun 1999 00:00
43 lines
2026 bytes
Ok, any reason why innd won't start then?

When starting manually here is what happens:

# su news -c /etc/rc.d/rc.news
actived innd

in the /var/run/news dir only these files are there (no innd.pid):

-rw-rw-r--   1 news     news            6 Jun 11 09:45 actived.pid
-rw-rw-r--   1 news     news            6 Jun 11 09:49 innwatch.pid

so even though innd appears to have responded above, it obviously isn't
running. Any suggestions on how to troubleshoot the problem?

Thanks.


In article <7jpcj5$40u$1@vannoni.dedal.fr.net>,
  paul@vannoni.dedal.fr.net (paul vannoni) wrote:
> In article <7jou4a$og3$1@nnrp1.deja.com>,  <hehanson@my-deja.com>
wrote:
> >news server is not responding and I can't seem to find what is
causing
> >it. any command I send gets the same response. Example:
> >
> ># /usr/lib/news/bin/ctlinnd shutdown ""
> >No innd.pid file; did server die?
> >Can't send "shutdown" command (sendto failure) Connection refused.
> >
> >rebooting the server has no effect. any help on this would be greatly
> >appreciated. thanks!
> >
> for that, I know : innd is not started ! and is not running.
> P.V.
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37965
Author: Russ Allbery
Date: Fri, 11 Jun 1999 00:00
22 lines
1267 bytes
hehanson <hehanson@my-deja.com> writes:

> Ok, any reason why innd won't start then?
> When starting manually here is what happens:

> # su news -c /etc/rc.d/rc.news
> actived innd

> in the /var/run/news dir only these files are there (no innd.pid):

> -rw-rw-r--   1 news     news            6 Jun 11 09:45 actived.pid
> -rw-rw-r--   1 news     news            6 Jun 11 09:49 innwatch.pid

> so even though innd appears to have responded above, it obviously isn't
> running. Any suggestions on how to troubleshoot the problem?

Is there anything in errlog in the news log directory?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: server dead?
#37969
Author: hehanson
Date: Fri, 11 Jun 1999 00:00
41 lines
2141 bytes
Not really.. I was doing tail -f /var/log/messages & tail -
f /var/log/news/news.err and nothing noteworthy, although the following
would show whenever I ran a command (I believe this is normal):

un 10 18:01:00 news PAM_pwdb[5893]: (su) session opened for user news
by (uid=9)
Jun 10 18:01:01 news PAM_pwdb[5893]: (su) session closed for user news

The errlog and news.err are empty.

In article <ylzp264m9h.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> hehanson <hehanson@my-deja.com> writes:
>
> > Ok, any reason why innd won't start then?
> > When starting manually here is what happens:
>
> > # su news -c /etc/rc.d/rc.news
> > actived innd
>
> > in the /var/run/news dir only these files are there (no innd.pid):
>
> > -rw-rw-r--   1 news     news            6 Jun 11 09:45 actived.pid
> > -rw-rw-r--   1 news     news            6 Jun 11 09:49 innwatch.pid
>
> > so even though innd appears to have responded above, it obviously
isn't
> > running. Any suggestions on how to troubleshoot the problem?
>
> Is there anything in errlog in the news log directory?
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37981
Author: Russ Allbery
Date: Sat, 12 Jun 1999 00:00
18 lines
1229 bytes
hehanson <hehanson@my-deja.com> writes:

> Not really.. I was doing tail -f /var/log/messages & tail -
> f /var/log/news/news.err and nothing noteworthy, although the following
> would show whenever I ran a command (I believe this is normal):

> un 10 18:01:00 news PAM_pwdb[5893]: (su) session opened for user news
> by (uid=9)
> Jun 10 18:01:01 news PAM_pwdb[5893]: (su) session closed for user news

> The errlog and news.err are empty.

You do have syslog set up for news, yes?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: server dead?
#37983
Author: hehanson
Date: Sat, 12 Jun 1999 00:00
31 lines
1764 bytes
I thought so.. doesn't syslog write to the messages file?

In article <yl4skd4szm.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> hehanson <hehanson@my-deja.com> writes:
>
> > Not really.. I was doing tail -f /var/log/messages & tail -
> > f /var/log/news/news.err and nothing noteworthy, although the
following
> > would show whenever I ran a command (I believe this is normal):
>
> > un 10 18:01:00 news PAM_pwdb[5893]: (su) session opened for user
news
> > by (uid=9)
> > Jun 10 18:01:01 news PAM_pwdb[5893]: (su) session closed for user
news
>
> > The errlog and news.err are empty.
>
> You do have syslog set up for news, yes?
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37984
Author: Russ Allbery
Date: Sat, 12 Jun 1999 00:00
18 lines
1317 bytes
hehanson <hehanson@my-deja.com> writes:

> I thought so.. doesn't syslog write to the messages file?

Depends on what your syslog.conf is set up to do.  For INN, you want news
logs to go somewhere else so that innreport and friends can take care of
them for you.  I use:

news.crit                       /var/news/log/news.crit
news.err                        /var/news/log/news.err
news.notice                     /var/news/log/news.notice

(Adjust for the actual location of your INN installation.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: server dead?
#37985
Author: hehanson
Date: Sat, 12 Jun 1999 00:00
77 lines
3474 bytes
ok, followed your recommendation and checked permissions on those
files. here is all I can see running related to news (not sure what the
sleep process is):

news       302  0.8  1.7  5204  4528  ?  S    15:34
10:12 /usr/lib/news/bin/actived
news       306  0.0  0.2  1212   672  ?  S    15:34   0:00
sh /etc/rc.d/rc.news
news       355  0.0  0.2  1220   692  ?  S    15:35   0:00
sh /usr/lib/news/bin/innwatch
news     15462  0.0  0.2  1444   716  p0 S N  10:26   0:00 su - news -
c /usr/lib/news/bin/news.da
news     15463  0.0  0.2  1236   736  p0 S N  10:26   0:00
sh /usr/lib/news/bin/news.daily
news     15597  4.3  0.2  1352   620  p0 R N  10:27   1:13 expireover -
s
news     15663  0.0  0.1   716   276  ?  S    10:46   0:00 sleep 600

hmm.. an a side not, ran inncheck on the files in /usr/lib/news/bin and
received this response:

[news@news bin]$ ./inncheck -perms
/usr/sbin/innd:0: mode 551, should be 555
/usr/lib/news/inews:0: missing
/usr/lib/news/rnews:0: mode 755, should be 2555
/usr/sbin/inndstart:0: in group news, should be bin
/usr/sbin/inndstart:0: mode 4750, should be 555
/var/lib/news/nntpsend.ctl:0: missing
/var/lib/news/history:0: mode 664, should be 644
/var/lib/news/history.dir:0: mode 664, should be 644
/var/lib/news/history.pag:0: mode 664, should be 644
/var/lib/news/innlog.pl:0: mode 750, should be 440
/usr/lib/news/bin/updatemods:0: missing

it looks as if several things are messed up.. at this point would you
recommend going ahead and correcting each problem individually, or
would reloading/reinstalling inn be a better option?


In article <7js4j5$7qk$1@vannoni.dedal.fr.net>,
  paul@vannoni.dedal.fr.net (paul vannoni) wrote:
> In article <7jrekk$khv$1@nnrp1.deja.com>,  <hehanson@my-deja.com>
wrote:
> >Ok, any reason why innd won't start then?
> >
> >When starting manually here is what happens:
> >
> ># su news -c /etc/rc.d/rc.news
> >actived innd
> >
> >in the /var/run/news dir only these files are there (no innd.pid):
> >
> >-rw-rw-r--   1 news     news            6 Jun 11 09:45 actived.pid
> >-rw-rw-r--   1 news     news            6 Jun 11 09:49 innwatch.pid
> >
> >so even though innd appears to have responded above, it obviously
isn't
> >running. Any suggestions on how to troubleshoot the problem?
> >
> >Thanks.
>
> check with inncheck.
> mv history.n.dir history.dir
> mv history.n.pag history.pag
> check the file are chown news.news
>
> with "ps aux" you must see innd running, user news.
>
> P.V.
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37986
Author: paul vannoni
Date: Sat, 12 Jun 1999 00:00
29 lines
1519 bytes
In article <7jrekk$khv$1@nnrp1.deja.com>,  <hehanson@my-deja.com> wrote:
>Ok, any reason why innd won't start then?
>
>When starting manually here is what happens:
>
># su news -c /etc/rc.d/rc.news
>actived innd
>
>in the /var/run/news dir only these files are there (no innd.pid):
>
>-rw-rw-r--   1 news     news            6 Jun 11 09:45 actived.pid
>-rw-rw-r--   1 news     news            6 Jun 11 09:49 innwatch.pid
>
>so even though innd appears to have responded above, it obviously isn't
>running. Any suggestions on how to troubleshoot the problem?
>
>Thanks.

check with inncheck.
mv history.n.dir history.dir
mv history.n.pag history.pag
check the file are chown news.news

with "ps aux" you must see innd running, user news.

P.V.


Re: server dead?
#37991
Author: hehanson
Date: Sun, 13 Jun 1999 00:00
43 lines
2556 bytes
hmm... makes sense. news.err was empty, and nothing was in the messages
log. As I wasn't the one who set this server up originally, what would
be the method to check what file syslog is writing innd messages to? I
manage the NT stuff and while I get get around in Linux (i have to to
manage my networks) I don't claim to be very knowledgeable. Since my
normal Linux admin is no longer here, I am relying on the good people
in this forum to steer me in the right direction =)

Also, after trying suggestions from all the helpful people in this
newsgroup, I don't feel any closer in finding the cause of my problem.
Would upgrading to Redhat 6 (am currently running 5.2) overwrite the
current inn files, and could that possibly help?

Thanks again...

In article <ylwvx9yvum.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> hehanson <hehanson@my-deja.com> writes:
>
> > I thought so.. doesn't syslog write to the messages file?
>
> Depends on what your syslog.conf is set up to do.  For INN, you want
news
> logs to go somewhere else so that innreport and friends can take care
of
> them for you.  I use:
>
> news.crit                       /var/news/log/news.crit
> news.err                        /var/news/log/news.err
> news.notice                     /var/news/log/news.notice
>
> (Adjust for the actual location of your INN installation.)
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Re: server dead?
#37992
Author: Jan Chrillesen
Date: Sun, 13 Jun 1999 00:00
14 lines
1567 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> /Jan, trying to compile the latest 2.3experimental snapshot with
>> perl-filtering enabled
> 
> What platform?  If you're still having problems, I may be able to help.

Solaris 7/SPARC. A recompile of Perl did wonders and now I have 2.3exp up
and running on my testbox. Hopefully I can talk to the radius guy at work
tomorrow and test radius authentification.

/Jan

Re: server dead?
#37996
Author: Russ Allbery
Date: Sun, 13 Jun 1999 00:00
11 lines
1123 bytes
Jan Chrillesen <chrille@isa.dknet.dk> writes:

> /Jan, trying to compile the latest 2.3experimental snapshot with
> perl-filtering enabled

What platform?  If you're still having problems, I may be able to help.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: server dead?
#38002
Author: Russ Allbery
Date: Sun, 13 Jun 1999 00:00
32 lines
1842 bytes
paul vannoni <paul@vannoni.dedal.fr.net> writes:

>> [news@news bin]$ ./inncheck -perms
>> /usr/sbin/innd:0: mode 551, should be 555
>> /usr/lib/news/inews:0: missing
>> /usr/lib/news/rnews:0: mode 755, should be 2555
>> /usr/sbin/inndstart:0: in group news, should be bin
>> /usr/sbin/inndstart:0: mode 4750, should be 555
>> /var/lib/news/nntpsend.ctl:0: missing
>> /var/lib/news/history:0: mode 664, should be 644
>> /var/lib/news/history.dir:0: mode 664, should be 644
>> /var/lib/news/history.pag:0: mode 664, should be 644
>> /var/lib/news/innlog.pl:0: mode 750, should be 440
>> /usr/lib/news/bin/updatemods:0: missing

> inncheck should say 'Ok'.
> correct is necessary, maybe not suffisant..

There's a bunch of stuff about the above that's really weird.  Like this
bit:

>> /usr/sbin/inndstart:0: in group news, should be bin
>> /usr/sbin/inndstart:0: mode 4750, should be 555

inndstart most certainly should not be in group bin, and it certainly
should be mode 4750.  Hm.  You didn't change the UID or GID of news on
your system, did you?  That might explain some of this.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: server dead?
#38006
Author: Jan Chrillesen
Date: Sun, 13 Jun 1999 00:00
42 lines
2212 bytes
hehanson@my-deja.com wrote:

> hmm... makes sense. news.err was empty, and nothing was in the messages
> log. As I wasn't the one who set this server up originally, what would
> be the method to check what file syslog is writing innd messages to? 

Try something like

$ logger -p news.notice test

This should write an entry in news.notice like:

Jun 13 12:09:53 news.corp.dk news: test

If this doesn't work check that syslog is running (ps ax | grep syslog).
Next check that the entries in /etc/syslog.conf is seperared by tabs and not
spaces.

news.notice     /news/log/news.notice
	    ^^^
	There should be at least one tab here.

Finally, be sure to make sydlogd reread its configuration after you changed
the config.

As root

# killall -HUP syslogd

Also make sure that the files referenced in /etc/syslog.conf exists. syslogd
won't create the files for you.

$ touch /news/log/news.notice
$ touch /news/log/news.crit
$ touch /news/log/news.err

...should create the files is the don't already exists

/Jan, trying to compile the latest 2.3experimental snapshot with
perl-filtering enabled

Re: server dead?
#38008
Author: paul vannoni
Date: Mon, 14 Jun 1999 00:00
24 lines
1464 bytes
>
>[news@news bin]$ ./inncheck -perms
>/usr/sbin/innd:0: mode 551, should be 555
>/usr/lib/news/inews:0: missing
>/usr/lib/news/rnews:0: mode 755, should be 2555
>/usr/sbin/inndstart:0: in group news, should be bin
>/usr/sbin/inndstart:0: mode 4750, should be 555
>/var/lib/news/nntpsend.ctl:0: missing
>/var/lib/news/history:0: mode 664, should be 644
>/var/lib/news/history.dir:0: mode 664, should be 644
>/var/lib/news/history.pag:0: mode 664, should be 644
>/var/lib/news/innlog.pl:0: mode 750, should be 440
>/usr/lib/news/bin/updatemods:0: missing
>
>
>
inncheck should say 'Ok'.
correct is necessary, maybe not suffisant..
I don't know updatemods...
P.V.



Re: server dead?
#38061
Author: hehanson
Date: Tue, 15 Jun 1999 00:00
65 lines
3066 bytes
Well, I reinstalled the inn rpm, and corrected all the errors shown by
inncheck, except one:

# /usr/lib/news/bin/inncheck -perms
/usr/sbin/inndstart:0: in group news, should be bin

UID, etc have not been changed, so I am not sure what is causing that.

inncheck (without the -perms flag) responds with:

/etc/news/expire.ctl:21: are you sure about your /remember/ value?
/etc/news/newsfeeds:0: warning you accept all incoming article
distributions

I did find that innd will now start, however if I try and use my old
newsgroups file, the same problem will occur, and innd will not start.
My next step is zeroing out the active list and resetting the history.
I am keeping my fingers crossed.






In article <ylbtejvgw5.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> paul vannoni <paul@vannoni.dedal.fr.net> writes:
>
> >> [news@news bin]$ ./inncheck -perms
> >> /usr/sbin/innd:0: mode 551, should be 555
> >> /usr/lib/news/inews:0: missing
> >> /usr/lib/news/rnews:0: mode 755, should be 2555
> >> /usr/sbin/inndstart:0: in group news, should be bin
> >> /usr/sbin/inndstart:0: mode 4750, should be 555
> >> /var/lib/news/nntpsend.ctl:0: missing
> >> /var/lib/news/history:0: mode 664, should be 644
> >> /var/lib/news/history.dir:0: mode 664, should be 644
> >> /var/lib/news/history.pag:0: mode 664, should be 644
> >> /var/lib/news/innlog.pl:0: mode 750, should be 440
> >> /usr/lib/news/bin/updatemods:0: missing
>
> > inncheck should say 'Ok'.
> > correct is necessary, maybe not suffisant..
>
> There's a bunch of stuff about the above that's really weird.  Like
this
> bit:
>
> >> /usr/sbin/inndstart:0: in group news, should be bin
> >> /usr/sbin/inndstart:0: mode 4750, should be 555
>
> inndstart most certainly should not be in group bin, and it certainly
> should be mode 4750.  Hm.  You didn't change the UID or GID of news on
> your system, did you?  That might explain some of this.
>
> --
> Russ Allbery (rra@stanford.edu)
<URL:http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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