Thread View: news.software.nntp
6 messages
6 total messages
Started by kristina6799
Wed, 30 Jun 1999 00:00
How to start INN 2.2
Author: kristina6799
Date: Wed, 30 Jun 1999 00:00
Date: Wed, 30 Jun 1999 00:00
36 lines
2141 bytes
2141 bytes
Hi, I have INN 2.2 installed on RedHat Linux 5.1. and a really simple set up, local news groups only, no newsfeeeds. I set up few parameters in inn.conf, the ones which ware obvious to me. When I ran bin/inncheck I still get an error: /usr/local/news/etc/inn.conf:110: ends with whitespace (which is 'innflags:') What are the options I have for 'innflags'? The README which came with the distribution is far from helpful on that. Are there any other places in the net I can find more detailed explanation of the config files and the whole INN thing? I do not know if it is because of the arror above (rather not) but the server does not start! # su news -c /usr/local/news/bin/rc.news Starting innd. Scheduled start of /usr/local/news/bin/innwatch. There are 2 sleeping innwatch processes but the innd doesn't run. Initially when I tried to start the server I was getting error 'no active file'. I created a file with few group in it to make it happy but don't think this is right. Actually how does it work in my case (no newsfeeds) how and when is the active file and all the files in the 'db' directory created?? At this point I can not create a group because the server is not running, on the other hand it asks for 'actve file' which in my case has only to contain the local groups! Your help will be so much appreciated! Kristina Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
Re: How to start INN 2.2
Author: Russ Allbery
Date: Wed, 30 Jun 1999 00:00
Date: Wed, 30 Jun 1999 00:00
78 lines
3549 bytes
3549 bytes
kristina6799 <kristina6799@my-deja.com> writes:
> I have INN 2.2 installed on RedHat Linux 5.1. and a really simple set
> up, local news groups only, no newsfeeeds. I set up few parameters in
> inn.conf, the ones which ware obvious to me. When I ran bin/inncheck I
> still get an error:
> /usr/local/news/etc/inn.conf:110: ends with whitespace
> (which is 'innflags:')
> What are the options I have for 'innflags'?
man innd
You probably don't need to give anything there. You may be able to just
delete teh line entirely.
> The README which came with the distribution is far from helpful on that.
> Are there any other places in the net I can find more detailed
> explanation of the config files and the whole INN thing?
The man pages are fairly good.
> I do not know if it is because of the arror above (rather not) but the
> server does not start!
> # su news -c /usr/local/news/bin/rc.news
> Starting innd.
> Scheduled start of /usr/local/news/bin/innwatch.
> There are 2 sleeping innwatch processes but the innd doesn't run.
What does errlog and news.crit say? (You've configured syslog logging,
correct?)
> Initially when I tried to start the server I was getting error 'no
> active file'. I created a file with few group in it to make it happy but
> don't think this is right. Actually how does it work in my case (no
> newsfeeds) how and when is the active file and all the files in the 'db'
> directory created?? At this point I can not create a group because the
> server is not running, on the other hand it asks for 'actve file' which
> in my case has only to contain the local groups!
The INSTALL in 2.3 will have the following section:
If you already have a server set up (if you're upgrading, or setting up
a new server based on an existing server), copy active and newsgroups
from that server into ~news/db. Otherwise, you'll need to figure out
what newsgroups you want to carry and create new active and newsgroups
files for them. If you plan to carry a full feed, or something close to
that, go to ftp://ftp.isc.org/pub/usenet/CONFIG/ and download active and
newsgroups from there; that will start you off with reasonably complete
files. If you plan to only carry a small set of groups, create active
containing only the following lines:
control 0000000000 0000000000 y
control.cancel 0000000000 0000000000 y
control.checkgroups 0000000000 0000000000 y
control.newgroup 0000000000 0000000000 y
control.rmgroup 0000000000 0000000000 y
junk 0000000000 0000000000 y
to 0000000000 0000000000 y
and then type:
touch ~news/db/newsgroups
to create an empty newsgroups file (or you can add descriptions for
those groups if you want).
Either way, type:
touch ~news/db/active.times
to initialize active.times.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: How to start INN 2.2
Author: Patrick Aland
Date: Thu, 01 Jul 1999 00:00
Date: Thu, 01 Jul 1999 00:00
51 lines
3362 bytes
3362 bytes
Well you're gonna have to create an active file. You may just be able to make an empty active file but I haven't tried that so I don't know if you can or not. I would just get the active file from ftp.isc.org and leave it with only one line. Then you'll need to make your history database I believe it is ~news/bin/makehistory -o. Another thing that you might want to look at and double check is that the executable inndstart is suid root. I had a situation where news stopped starting because another admin had done a chown -R news:news ~news and it took about 3 days of trying to figure out what was wrong before i realized it was because inndstart was not owned by root. :( You system log or news logs should contain error message if you start the server, what are those, I ahve found that innd's error messages are fairly good when trying to figure out why inn isn't starting. Let me know if this helps or if I can help you more. -- patrick kristina6799@my-deja.com wrote: > > Hi, > I have INN 2.2 installed on RedHat Linux 5.1. and a really simple set > up, local news groups only, no newsfeeeds. I set up few parameters in > inn.conf, the ones which ware obvious to me. When I ran bin/inncheck I > still get an error: > /usr/local/news/etc/inn.conf:110: ends with whitespace > (which is 'innflags:') > What are the options I have for 'innflags'? > The README which came with the distribution is far from helpful on that. > Are there any other places in the net I can find more detailed > explanation of the config files and the whole INN thing? > I do not know if it is because of the arror above (rather not) but the > server does not start! > # su news -c /usr/local/news/bin/rc.news > Starting innd. > Scheduled start of /usr/local/news/bin/innwatch. > There are 2 sleeping innwatch processes but the innd doesn't run. > Initially when I tried to start the server I was getting error 'no > active file'. I created a file with few group in it to make it happy but > don't think this is right. Actually how does it work in my case (no > newsfeeds) how and when is the active file and all the files in > the 'db' directory created?? At this point I can not create a group > because the server is not running, on the other hand it asks for 'actve > file' which in my case has only to contain the local groups! > Your help will be so much appreciated! > > Kristina > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't.
Re: How to start INN 2.2
Author: Russ Allbery
Date: Thu, 01 Jul 1999 00:00
Date: Thu, 01 Jul 1999 00:00
19 lines
1205 bytes
1205 bytes
Patrick Aland <paland@stetson.edu> writes: > Well you're gonna have to create an active file. You may just be able to > make an empty active file but I haven't tried that so I don't know if > you can or not. I would just get the active file from ftp.isc.org and > leave it with only one line. This won't work; see my message. You have to have at least junk and control or INN won't start. > Then you'll need to make your history database I believe it is > ~news/bin/makehistory -o. I've usually seen -i; I'm not entirely clear on the differences. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: How to start INN 2.2
Author: Patrick Aland
Date: Thu, 01 Jul 1999 00:00
Date: Thu, 01 Jul 1999 00:00
27 lines
1833 bytes
1833 bytes
Yeah you are right, forgot about junk and control. You will need those in the active. The difference between -i and -o is (i believe) that -o will overwrite the database for you while -i will make the files with a *.n.dir, etc. Russ Allbery wrote: > > Patrick Aland <paland@stetson.edu> writes: > > > Well you're gonna have to create an active file. You may just be able to > > make an empty active file but I haven't tried that so I don't know if > > you can or not. I would just get the active file from ftp.isc.org and > > leave it with only one line. > > This won't work; see my message. You have to have at least junk and > control or INN won't start. > > > Then you'll need to make your history database I believe it is > > ~news/bin/makehistory -o. > > I've usually seen -i; I'm not entirely clear on the differences. > > -- > Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: How to start INN 2.2
Author: kristina6799
Date: Fri, 02 Jul 1999 00:00
Date: Fri, 02 Jul 1999 00:00
27 lines
1702 bytes
1702 bytes
Thank you both so much for the help! What I was missing ware the history files. Yes, I tried active without control and junk but the server didn't start, (the log showed it was missing them) so after I added both it worked! I can create, post, read groups now, I am happy:) I set up the cron to do the expiration and the log rotation as the example says: 1 1 * * * /my_path/news.daily expireover lowmark What I don't understand is where do I configure the expiration time for the articles. And another question. We have an old netscape news server 2.0, I don't know which version of INN is that, we would like to move over the articles to this one. They both have the same article storage format, the traditional one. I would think that I need to copy the directories over, is there something else? Do I have to generate the history files, etc again? Kristina 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