On Thu, May 30, 2002 at 10:02:26PM +1000, Terry Collins wrote:
> John Clarke wrote:
> > 
> > Before you do that, have you tried running `makehistory'?  Once that's
> > done, rename history.n.dir and history.n.pag to history.dir and
> > history.pag, chown them to news:news and then start innd.  It should
> > work then.
> 
> Okay, I've been through this, started innd  and now I get 
> May 30 21:59:50 owl innd: SERVER descriptors 1024
> May 30 21:59:50 owl innd: SERVER outgoing 1011
> May 30 21:59:50 owl innd: SERVER cant dbzinit /usr/local/news/db/history
> Numerical argument out of domain

Terry,

This is the error you get if you simply create three empty files (it's
either history.dir or history.pag that causes this error).  You need to
stop innd, delete history*, create the files with makehistory, fixup the
permissions and names, then restart innd.

I did all this on my news server yesterday, that's how I figured out
what you needed to do.  I can't remember the exact details, so I'll do
it all again:

    [root@wombat ~]# cd /var/lib/news/
    [root@wombat /var/lib/news]# ls -l history*
    -rw-rw-r--    1 news     news      1746228 May 31 10:01 history
    -rw-rw-r--    1 news     news          184 May 31 10:06 history.dir
    -rw-rw-r--    1 news     news       262148 May 31 04:02 history.pag
    [root@wombat /var/lib/news]# /etc/init.d/innd stop
    Stopping INND service:                                     [  OK  ]
    Stopping INN actived service:                              [  OK  ]
    [root@wombat /var/lib/news]# mkdir save
    [root@wombat /var/lib/news]# mv history* save
    [root@wombat /var/lib/news]# ls -l history*
    ls: history*: No such file or directory
    [root@wombat /var/lib/news]# /etc/init.d/innd start
    Starting INND system:                                      [  OK  ]
    [root@wombat /var/lib/news]# tail -2 /var/log/news/news.notice 
    May 31 10:09:34 wombat actived[13010]: started
    May 31 10:09:34 wombat innd: SERVER cant dbzinit /var/lib/news/history No such 
file or directory
    [root@wombat /var/lib/news]# /etc/init.d/innd stop 
    Stopping INN actived service:                              [  OK  ]
    [root@wombat /var/lib/news]# makehistory
    [root@wombat /var/lib/news]# mv history.n.dir history.dir
    [root@wombat /var/lib/news]# mv history.n.pag history.pag
    [root@wombat /var/lib/news]# chown news:news history*
    [root@wombat /var/lib/news]# ls -l history*
    -rw-rw-r--    1 news     news      1626333 May 31 10:10 history
    -rw-rw-r--    1 news     news           84 May 31 10:10 history.dir
    -rw-rw-r--    1 news     news       262148 May 31 10:10 history.pag
    [root@wombat /var/lib/news]# /etc/init.d/innd start
    Starting INND system:                                      [  OK  ]
    [root@wombat /var/lib/news]# tail -10 /var/log/news/news.notice 
    May 31 10:11:26 wombat innd: SERVER starting
    May 31 10:11:26 wombat controlchan[13088]: starting 
    May 31 10:11:26 wombat controlchan[13088]: loaded 
$inn::controlprogs/checkgroups.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/ihave.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/newgroup.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/rmgroup.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/sendme.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/sendsys.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/senduuname.pl 
    May 31 10:11:26 wombat controlchan[13088]: loaded $inn::controlprogs/version.pl 

Try these steps and see what happens.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F
http://kirriwa.net/john/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to