[Ilugc] newsgroup server in linux

  • From: kums@xxxxxxx (Kumaraguru)
  • Date: Wed Nov 24 16:26:28 2004

Hi Sam,

I guess the problem happens because the initial
history database has not been created. The INSTALL file that
comes with INN source package has this..

======================================================================
=
Creating the Database Files

    At this point, you need to set up the news database directory
    (~news/db).  This directory will hold the active(5) file (the list
of
    newsgroups you carry), the active.times(5) file (the creator and
    creation time of newsgroups created since the server was
initialized),
    the newsgroups(5) file (descriptions for all the newsgroups you
carry),
    and the history(5) file (a record of every article the server
currently
    has or has seen in the past few days, used to decide whether to
accept
    or refuse new incoming messages).

    Before starting to work on this, make sure you're logged on as the
news
    user, since all of these files need to be owned by that user.
This is a
    good policy to always follow; if you are doing any maintenance
work on
    your news server, log on as the news user.  Don't do maintenance
work as
    root.  Also make sure that ~news/bin is in the default path of the
news
    user (and while you're at it, make sure ~news/man is in the
default
    MANPATH) so that you can run INN maintenance commands without
having to
    type the full path......

    ...."control" and "junk" must exist as newsgroups in your active
file for
    INN to start, and creating pseudogroups for the major types of
control
    messages is strongly encouraged for all servers that aren't
standalone.
    If you don't want these groups to be visible to clients, do *not*
delete
    them; simply hide them in readers.conf.  "to" must also exist as a
    newsgroup if you have mergetogroups set in inn.conf.

    Next, you need to create an empty history database.  To do this,
type:

        cd ~news/db
        touch history
        makedbz -i

    When it finishes, rename the files it created to remove the ".n"
in the
    file names and then make sure the file permissions are correct on
all
    the files you've just created:

        chmod 644 *

    Your news database files are now ready to go.
======================================================================
=====

There's also a FAQ page maintatined for inn
http://www.eyrie.org/~eagle/faqs/inn.html


Regards
Kumaraguru

----- Original Message -----
From: "Samuel" <samuel_ignatius@xxxxxxxxx>
To: "Kumaraguru" <kums@xxxxxxx>; <ilugc@xxxxxxxxxxxxx>
Sent: Tuesday, November 23, 2004 4:41 PM
Subject: Re: [Ilugc] newsgroup server in linux


Hello Kumar

After doing the basic steps i am getting "unable to connect to the
server
error"
i am facing the following problem

not able to start   /etc/init.d/innd start  ,it is saying
please run makehistory and/or makedbz before starting innd
i am able to run    /usr/lib/news/bin/makehistory
but when i run     /usr/lib/news/bin/makedbz      it is saying
"cant do
dbzagain no such file or directory"

i ran   /etc/rc.news   ,it said "inndstart must be run by user news"

su news
/etc/rc.news gives me starting innd
 /usr/lib/news/bin/inndstart
/usr/lib/news/bin/makehistory   commands are working
 /usr/lib/news/bin/makedbz    is saying "cant do dbzagain no such
file or
directory"


my /etc/inn.conf file contents

mta:                    /usr/sbin/sendmail -oi -oem %s
organization:          testing
ovmethod:               tradindexed
pathhost:               10.199.4.56
pathnews:               /usr/lib/news

# General Settings

domain:
innflags:
mailcmd:                /usr/lib/news/bin/innmail
server:                 10.199.4.56

Thanks for the link,i am running redhat 9.0 and there are so many
configurations involved.I am confused is there anyway i can
configure
newsgroup in X or a more simple way.i tried webmin but innd is not
there.

Thanks
----- Original Message -----
From: "Kumaraguru" <kums@xxxxxxx>
To: "Samuel" <samuel_ignatius@xxxxxxxxx>; <ilugc@xxxxxxxxxxxxx>
Cc: <linux-india-help@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 23, 2004 1:09 PM
Subject: Re: [Ilugc] newsgroup server in linux


Hi,

There's a useful HowTo
http://www.linux.com/howtos/Usenet-News-HOWTO/


Regards
Kumaraguru

----- Original Message -----
From: "Samuel" <samuel_ignatius@xxxxxxxxx>
To: <ilugc@xxxxxxxxxxxxx>
Cc: <linux-india-help@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 23, 2004 12:32 PM
Subject: [Ilugc] newsgroup server in linux


hello everyone

i have around 100 machines in my network and all are running
windows.I
want to setup a newsgroup server in linux.can some one give me the
detailed steps or appropriate links to do it.i have done basic
administration in linux like samba,ftp,nfs...thanks in advance


Thanks
Sammy
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc






Other related posts: