🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Andre Krajnik Wed, 21 Feb 2001 18:55
innd won't run anymore
#50754
Author: Andre Krajnik
Date: Wed, 21 Feb 2001 18:55
28 lines
1960 bytes
After several actions to repair my corrupt innd I get the following log
in

/var/log/syslog

Feb 20 19:12:00 server1 innd: Reading config from /etc/news/inn.conf
Feb 20 19:12:00 server1 innd: SERVER descriptors 1024
Feb 20 19:12:00 server1 innd: SERVER outgoing 1011
Feb 20 19:12:00 server1 innd: SERVER ccsetup control:12
Feb 20 19:12:00 server1 innd: SERVER lcsetup localconn:14
Feb 20 19:12:00 server1 innd: SERVER cant bind RCreader Keine
Berechtigung
Feb 20 20:08:28 server1 innd: Reading config from /etc/news/inn.conf
Feb 20 20:08:28 server1 innd: SERVER descriptors 1024
Feb 20 20:08:28 server1 innd: SERVER outgoing 1011
Feb 20 20:08:28 server1 innd: SERVER ccsetup control:12
Feb 20 20:08:28 server1 innd: SERVER lcsetup localconn:14
Feb 20 20:08:28 server1 innd: SERVER cant bind RCreader Permission
denied

I have no file names RCreader. Where is it located? What permissions
must it have?

-- 
mfg

Andre
Re: innd won't run anymore
#50755
Author: Russ Allbery
Date: Wed, 21 Feb 2001 20:42
21 lines
1554 bytes
Andre Krajnik <andre@krajnik.de> writes:

> After several actions to repair my corrupt innd I get the following log
> in

> Feb 20 19:12:00 server1 innd: SERVER cant bind RCreader Keine
> Berechtigung

Are you running innd directly?  Don't do that; run innd via inndstart.

> I have no file names RCreader. Where is it located? What permissions
> must it have?

It's not a file; it's a routine inside innd.

-- 
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: innd won't run anymore
#50760
Author: Andre Krajnik
Date: Thu, 22 Feb 2001 18:24
29 lines
1616 bytes

Russ Allbery schrieb:
> 
> Andre Krajnik <andre@krajnik.de> writes:
> 
> > After several actions to repair my corrupt innd I get the following log
> > in
> 
> > Feb 20 19:12:00 server1 innd: SERVER cant bind RCreader Keine
> > Berechtigung
> 
> Are you running innd directly?  Don't do that; run innd via inndstart.

No, I run ist via /etc/rc.d/init/innd start
> 
> > I have no file names RCreader. Where is it located? What permissions
> > must it have?
> 
> It's not a file; it's a routine inside innd.

But, why do I receive that error?


-- 
mfg

Andre
Re: innd won't run anymore
#50762
Author: Russ Allbery
Date: Thu, 22 Feb 2001 20:41
28 lines
2125 bytes
Andre Krajnik <andre@krajnik.de> writes:
> Russ Allbery schrieb:
>> Andre Krajnik <andre@krajnik.de> writes:

>>> I have no file names RCreader. Where is it located? What permissions
>>> must it have?

>> It's not a file; it's a routine inside innd.

> But, why do I receive that error?

It means that the -p option was not given to innd on the command line
(which inndstart always does) so innd was trying to open its own network
socket and that it didn't have permissions to do so (probably because it's
running as the news user and is trying to open a port below 1024).

You're getting a lot of really weird errors from your INN installation
that seem to indicate that you're running with some really strange
permissions setup.  I don't have a good explanation or any good ideas how
to fix it; I've never seen this many different permissions problems with
inndstart apparently setuid root.

-- 
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: innd won't run anymore
#50771
Author: Andre Krajnik
Date: Fri, 23 Feb 2001 19:34
51 lines
3254 bytes
I can't understand why I have so many trouble! I build my server
completely from my distribution (Mandrake 7.1) and it run for some month
without any problem. But one day my little son switched the power off
and after the fsck the innd won't run anymore.

I tried several times to install innd again (from rpm). I tried several
versions (CD and updates from Mandrake) but all I did I didn't had
success. I don't know what else I could do. Do I really have to rebuild
my server back from scratch? I hope not! With your help I guess I was
able to repair some problems. I have learned much about Linux and INND. 

Now, I think there might be a problem in the rights the news-user has.
but where could it be? Is it possible the innd is missing a file (a lib
or so)? Is there a switch to see, what innd is missing or a debug-switch
to see when or where the error / permission conflict occurs?

Russ Allbery schrieb:
> 
> Andre Krajnik <andre@krajnik.de> writes:
> > Russ Allbery schrieb:
> >> Andre Krajnik <andre@krajnik.de> writes:
> 
> >>> I have no file names RCreader. Where is it located? What permissions
> >>> must it have?
> 
> >> It's not a file; it's a routine inside innd.
> 
> > But, why do I receive that error?
> 
> It means that the -p option was not given to innd on the command line
> (which inndstart always does) so innd was trying to open its own network
> socket and that it didn't have permissions to do so (probably because it's
> running as the news user and is trying to open a port below 1024).
> 
> You're getting a lot of really weird errors from your INN installation
> that seem to indicate that you're running with some really strange
> permissions setup.  I don't have a good explanation or any good ideas how
> to fix it; I've never seen this many different permissions problems with
> inndstart apparently setuid root.
> 
> --
> 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.

-- 
mfg

Andre
Re: innd won't run anymore
#50772
Author: S�nke Brecht
Date: Fri, 23 Feb 2001 20:26
9 lines
1297 bytes
If my Inn won't run I try to find out with inncheck in /usr/lib/news/bin/
maybe it helps. If I had problems I solved with reducing errorcounting in
this tool

S�nke



Re: innd won't run anymore
#50810
Author: Andre Krajnik
Date: Sat, 24 Feb 2001 13:29
65 lines
3085 bytes
I changed many problems. This is the rest. What should I do with this??

[root@server1 ppp]# inncheck -perms -fix -a | less
/etc/news/inn.conf:16: modmailer has bad address
/etc/news/newsfeeds:129: malformed line.                    -> see below
# /usr/bin:0: owned by root, should be news
chown news /usr/bin
# /usr/bin:0: in group root, should be news
chgrp news /usr/bin
# /usr/bin:0: owned by root, should be news
chown news /usr/bin
# /usr/bin:0: in group root, should be news
chgrp news /usr/bin
# /usr/lib:0: owned by root, should be news
chown news /usr/lib
# /usr/lib:0: in group root, should be news
chgrp news /usr/lib
# /usr/bin/rnews.libexec:0: missing
# /usr/tmp:0: owned by root, should be news
chown news /usr/tmp
# /usr/tmp:0: in group root, should be news
chgrp news /usr/tmp
# /usr/bin/rc.news:0: missing                                 -> rc.news
is in /etc/rc.d/
# /var/lib/news/history.index:0: missing                      -> how can
I create this
# /var/lib/news/history.hash:0: missing                       -> how can
I create this
# /usr/bin/tally.unwanted:0: missing                          -> what
about this?
# /usr/bin/docheckgroups:0: missing                           -> is
located in /usr/lib
# /usr/bin/rnews.libexec/c7unbatch:0: missing                 -> is
located in /usr/bin
# /usr/bin/rnews.libexec/decode:0: missing                    -> is
located in /usr/bin
# /usr/bin/rnews.libexec/encode:0: missing                    -> is
located in /usr/bin
# /usr/bin/rnews.libexec:0: can't open directory
line 7/29 (END)


This is line 129 from newsfeeds
Uni-Berlin.de:*,!junk,!control::



"Sönke Brecht" schrieb:
> 
> If my Inn won't run I try to find out with inncheck in /usr/lib/news/bin/
> maybe it helps. If I had problems I solved with reducing errorcounting in
> this tool
> 
> Sönke

-- 
mfg

Andre
Re: innd won't run anymore
#50812
Author: S�nke Brecht
Date: Sat, 24 Feb 2001 13:59
46 lines
2808 bytes
"Andre Krajnik" <andre@krajnik.de> schrieb im Newsbeitrag
news:3A97B725.E7EA82D6@krajnik.de...
I changed many problems. This is the rest. What should I do with this??

> # /usr/bin/rc.news:0: missing                                 -> rc.news
is in /etc/rc.d/
maybe you have just to copy the file in /usr/bin/ ? At my Server it is
located in /usr/lib/news/bin/

> # /var/lib/news/history.index:0: missing                      -> how can I
create this
> # /var/lib/news/history.hash:0: missing                       -> how can I
create this
Sounds like Hash-Table. <IF begin> If it is, no way to copy it from
somewhere. Your INN should have created it. It is a kind of Memory where
some elements are located. I've just heard about it in a Lesson about
"Introduction to Computer Science II" hold by my Computer Science Prof. So I
can't really help you in this case. <END IF>

> # /usr/bin/tally.unwanted:0: missing                          -> what
about this?
> # /usr/bin/docheckgroups:0: missing                           -> is
located in /usr/lib
> # /usr/bin/rnews.libexec/c7unbatch:0: missing                 -> is
located in /usr/bin
> # /usr/bin/rnews.libexec/decode:0: missing                    -> is
located in /usr/bin
> # /usr/bin/rnews.libexec/encode:0: missing                    -> is
located in /usr/bin
> # /usr/bin/rnews.libexec:0: can't open directory
no idea

This is line 129 from newsfeeds
Uni-Berlin.de:*,!junk,!control::

test if there is a <Tab> instead of an <space> or another special Character
not seen by your editor. I already had this problem in the file "newsgroups"
and "active".

HTH

S�nke


Re: innd won't run anymore
#50912
Author: Barry Bouwsma is a Certified Eng...
Date: Thu, 01 Mar 2001 16:29
63 lines
5032 bytes
*** post for free via your newsreader at post.newsfeeds.com ***

:: I changed many problems. This is the rest. What should I do with this??
:: 
:: [root@server1 ppp]# inncheck -perms -fix -a | less

Why are you doing all your work as r00t?


:: /etc/news/newsfeeds:129: malformed line.                    -> see below
:: # /usr/bin:0: owned by root, should be news
:: chown news /usr/bin
:: # /usr/bin:0: in group root, should be news
:: chgrp news /usr/bin

WHAT??!??  If you have done this (and all that follows), you've
pretty much ruined your installation and opened up tons of security
holes.  If you can't undo these changes, then take the backup tapes
you made of your OS before this, and restore everything from that.
You'll lose your last few hours or so of work, but these are things
you should *never* be doing.

Once you've restored your system to the way it was before, wipe out
your INN installation, and re-run `configure' and this time don't
change the defaults to `/usr/bin' from `/news/bin' and so on, after
you untar a fresh copy of the source without your bogus cached data.

Then start over, and this time you should see none of these problems.
And don't work as r00t except for the actual `make install' step,
although that seems to leave r00t-0wned files hidden in the source
tree, so doing just the noted `chown/chmod' steps clearly pointed
out at your news-user `make install' will restore permissions.

:: chgrp news /usr/lib

aieeeee

Of course, I could be hallucinating.  Actually, I truly hope I am.

Ihr
  Kvindeservice

  **** Post for FREE via your newsreader at post.newsfeeds.com ****

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Newsfeeds.com - The #1 Usenet Newsgroup Service on The Planet! ***
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  http://www.newsfeeds.com���    |         http://www.newsfeeds.com
                                 |
* Anonymous posting server!      | * Totally Uncensored!
* SUPER Servers!                 | * Over 80,000 Newsgroups!
* BINARIES ONLY Servers!         | * 16 seperate Newsgroup Servers!
* SPAM FILTERED Server!          | * Instant access!
* ADULT ONLY Server!             | * Multiple OC 3's and OC 12's!
* MP3 ONLY Server!               | * 99% Article Completion!
* MULTIMEDIA ONLY Server!        | * Months of Retention!
* 7 UNCENSORED Newsgroup Servers | * Lightning FAST downloads!
                                 |
  http://www.newsfeeds.com       |         http://www.newsfeeds.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 �      **** Point your newsreader to post.newsfeeds.com ****
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
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