๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Warren Bell Tue, 19 Jun 2001 21:36
Help with simple news server
#52934
Author: Warren Bell
Date: Tue, 19 Jun 2001 21:36
17 lines
1678 bytes
I'm running Redhat 7.1 and am trying to set up a simple news server. 
All I want is to have a few local groups with no newsfeeds from other
servers or anything.  I found a posting on how to create my histoy files
and set that up.  I made sure inndstart had the right permissions and
tried to start the server.  When I run status I get:

innd dead but subsys locked

And when I try to create a new group I get:

No innd.pid file; did server die?
Can't send "newgroup" command (sendto failure) No such file or
directory.

This was install with an RPM package so I don't think there could be too
much wrong.  Can anyone help me out with this?  TIA
Re: Help with simple news server
#52936
Author: Franz Georg Kรถhler
Date: Tue, 19 Jun 2001 21:41
17 lines
1521 bytes
begin  quoting [Warren Bell <wjbel@pacbell.net>]
> And when I try to create a new group I get:
> 
> No innd.pid file; did server die?
> Can't send "newgroup" command (sendto failure) No such file or
> directory.
> 
> This was install with an RPM package so I don't think there could be too
> much wrong.  Can anyone help me out with this?  TIA

Your server isn't running.
You may want to check the error log.




Re: Help with simple news server
#52939
Author: Jeffrey M. Vinocur
Date: Tue, 19 Jun 2001 22:37
13 lines
1243 bytes
In article <3B2FC5C5.6608D6E9@pacbell.net>,
Warren Bell  <wjbel@pacbell.net> wrote:
>
>innd dead but subsys locked

Ok, so what's in the log files?  (news.crit, news.err, and
news.notice, in order of decreasing urgency)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Help with simple news server
#52942
Author: Warren Bell
Date: Tue, 19 Jun 2001 23:36
35 lines
2177 bytes
"Jeffrey M. Vinocur" wrote:
> 
> In article <3B2FC5C5.6608D6E9@pacbell.net>,
> Warren Bell  <wjbel@pacbell.net> wrote:
> >
> >innd dead but subsys locked
> 
> Ok, so what's in the log files?  (news.crit, news.err, and
> news.notice, in order of decreasing urgency)
> 
> --
> Jeffrey M. Vinocur
> jeff@litech.org

I checked the log files and there was a permissions error opening files
in the /var/spool/news directory. (i thought i checked the loggs
before..)  I'm not sure if this was ok but I chowned that directory to
news:root.  It was news:news before.  So now it's working.

So I added a group with 'ctlinnd newgroup general.test' and it said ok.

I tried to open up the group in my newsreaded but it said somthing about
not alloed to read, goodbye so I opened up readers.conf and put in an
entry like:

auth "local" {
    hosts: "*"
    default: "<local>@*"
}

I want to let anyone read and post.

So then I had access, but not groups are showing up when I go to
subscribe.  What am I doing wrong here?
Re: Help with simple news server
#52944
Author: those who know me have no need o...
Date: Wed, 20 Jun 2001 00:53
25 lines
1780 bytes
<3B2FE21A.15A8B726@pacbell.net> divulged:

>I checked the log files and there was a permissions error opening files
>in the /var/spool/news directory. (i thought i checked the loggs
>before..)  I'm not sure if this was ok but I chowned that directory to
>news:root.  It was news:news before.  So now it's working.

interesting.  typically it should be news:news, ug+rwX,o=rX (at most).

>So then I had access, but not groups are showing up when I go to
>subscribe.  What am I doing wrong here?

if you only have an auth block that's the problem.  to let everyone read
and post you'd want (something like):

auth "any" {
  default: <UNKNOWN>
}
access "all" {
  newsgroups: *
}

-- 
okay, have a sig then
Re: Help with simple news server
#52951
Author: Warren Bell
Date: Wed, 20 Jun 2001 01:34
2 lines
1123 bytes
I got it all working.
Re: Help with simple news server
#52963
Author: Warren Bell
Date: Wed, 20 Jun 2001 13:54
29 lines
2391 bytes
those who know me have no need of my name wrote:
> 
> <3B2FE21A.15A8B726@pacbell.net> divulged:
> 
> >I checked the log files and there was a permissions error opening files
> >in the /var/spool/news directory. (i thought i checked the loggs
> >before..)  I'm not sure if this was ok but I chowned that directory to
> >news:root.  It was news:news before.  So now it's working.
> 
> interesting.  typically it should be news:news, ug+rwX,o=rX (at most).

Do you think I should worry about that?  Here's what the directory looks
like:

[root@serengeti /root]# ls -la /var/spool/news
total 32
drwxr-xr-x    8 news     root         4096 Jun 19 16:01 .
drwxr-xr-x   15 root     root         4096 Jun 19 12:25 ..
drwxr-xr-x    2 news     root         4096 Feb 14 07:11 archive
drwxr-xr-x    3 news     root         4096 Jun 19 17:34 articles
drwxr-xr-x    3 news     root         4096 Jun 19 15:34 incoming
drwxr-xr-x    2 news     root         4096 Feb 14 07:11 innfeed
drwxr-xr-x    2 news     root         4096 Feb 14 07:11 outgoing
drwxr-xr-x    3 news     root         4096 Jun 19 17:34 overview


What could I look for that would be denying permissions when it was
news:news?
Re: Help with simple news server
#52965
Author: those who know me have no need o...
Date: Wed, 20 Jun 2001 14:48
17 lines
1317 bytes
<3B30AB2C.211B218F@pacbell.net> divulged:

>Do you think I should worry about that?  Here's what the directory looks
>like:

no.

>What could I look for that would be denying permissions when it was
>news:news?

you probably did something as root so that a subdirectory was root:root
even though the parent was news:news.  no worries now that you've
changed permissions so that the server can create files.

-- 
okay, have a sig then
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