Or... anyone not had any troubles :)... and how'd you do that?

All I want is a standalone news server, and am regretably a linux newbie

[root@tcsl root]# rpm -qa |grep inn
inn-2.3.2-5
[root@tcsl root]# rpm -qa |grep news
inews-2.3.2-5

[root@tcsl root]# /sbin/service innd start
[  OK  ] INND system: [  OK  ]
[root@tcsl root]# /sbin/service innd status
innd dead but subsys locked

just to be sure it wasn't lying

[root@tcsl root]# ps -u news
  PID TTY          TIME CMD
[root@tcsl root]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@tcsl root]# telnet localhost nntp
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

plugging in non-loopback ip address doesn't fair any better

and the whole telnet thing should have worked...
[root@tcsl root]# telnet localhost ssh
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.99-OpenSSH_2.9p2
^]
Connection closed by foreign host.

The whole [  OK  ] INND system: [  OK  ] thing is a little weird...
it starts off "Starting INND system:" then I get the "[  OK  ]"
following it, and then [  OK  ] gets written over "Starting"
I figured maybe it was just a terminal thing (ssh).

I've been slowly chipping away, but can chip no further
[root@tcsl root]# inncheck -pedantic
[root@tcsl root]# inncheck -perm
/usr/bin:0: owned by root, should be news
/usr/bin:0: in group root, should be news
/usr/lib:0: owned by root, should be news
/usr/lib:0: in group root, should be news
/usr/bin/rnews:0: mode 4550, should be 10706
/usr/bin/rc.news:0: missing

should /usr/bin and /usr/lib really be owned by news (i didn't think so)
Also, I have no idea what kind of mode 10706 is supposed to be
(reminder: linux newbie),
but chmod doesn't like it very much.
I've tried copying /etc/rc.news into /usr/bin/rc.news and it gets rid of
that error for inncheck -perm but doesn't help things run any better.

I've also tried running inndstart directly as news...
[root@tcsl /]# su - news -c /etc/rc.news
Starting innd.
[root@tcsl /]# ps -u news
  PID TTY          TIME CMD
[root@tcsl /]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused


/sbin/service innd stop gets rid of the subsys and other locks

[root@tcsl /]# cd /var/lib/news
[root@tcsl news]# ls -al
total 32
drwxr-xr-x    3 news     news         4096 Feb  5 09:49 .
drwxr-xr-x   13 root     root         4096 Feb  1 14:41 ..
-rw-rw-r--    1 news     news          225 Sep 23 04:15 active
-rw-r--r--    1 news     news            0 Sep 23 04:16 active.times
-rw-r--r--    1 news     news           72 Sep 23 04:16 distributions
-rw-r--r--    1 news     news            0 Feb  5 08:20 history
-rw-r--r--    1 news     news           41 Feb  5 08:20 history.dir
-rw-r--r--    1 news     news      4500000 Feb  5 08:20 history.hash
-rw-r--r--    1 news     news            0 Feb  5 08:20 history.index
-rw-rw-r--    1 news     news           29 Feb  6 00:15 .news.daily
-rw-r--r--    1 news     news          333 Sep 23 04:15 newsgroups
-rw-r--r--    1 news     news            0 Sep 23 04:16 subscriptions
drwxr-xr-x    2 news     news         4096 Feb  6 00:15 tmp

Only thing that's getting reported in /var/log/news these days is this
in news.notice:
Feb  7 11:58:45 tcsl innd: SERVER descriptors 1024
Feb  7 11:58:45 tcsl innd: SERVER outgoing 1011
Feb  7 11:58:45 tcsl innd: SERVER ccsetup control:12
Feb  7 11:58:45 tcsl innd: SERVER lcsetup localconn:14
Feb  7 11:58:45 tcsl innd: SERVER rcsetup remconn:4


If you guys can't think of anything I guess I'll try erasing and
reinstalling inn and starting over from scratch... maybe i messed up a
config file somewhere that I can't see... but it's strange that I'm not
getting any errors except, well, that it's dead.

Sorry if this isn't the appropriate forum, in other newsgroups people
have run out of ideas.
And it is.. Linux for s/390.  LPAR installation if it matters.

~ Daniel

Reply via email to