🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Sachin Suresh Thatte Tue, 09 Aug 1994 03:05
Problem with innd.
#2782
Author: Sachin Suresh Thatte
Date: Tue, 09 Aug 1994 03:05
54 lines
3436 bytes
We have compiled and configured 'inn', this is the first time we are trying 
to run any usenet on our machine. The machine is sparc-20 running solaris 2.3.


When we run innd as root innd will not run and we get the following 
mesg in /var/adm/messages:

Aug  8 22:37:59 ixc innd: /usr/local/news/history cant dbminit ME No such file or directory


Following are the contents of /usr/local/news dir after running makehistory.
*****************************************************************************
total 406
drwxr-xr-x   8 news     news        1024 Aug  8 22:25 .
drwxrwxr-x   4 news     staff        512 Aug  8 16:25 ..
-rw-r--r--   1 news     news          33 Aug  8 21:58 active
drwxr-xr-x   4 news     news        1536 Aug  8 21:05 bin
-r--r-----   1 news     news        3199 Aug  8 21:07 control.ctl
drwxr-xr-x   2 news     news         512 Aug  7 16:05 dev
-r--r--r--   1 news     news        2305 Aug  8 21:08 distrib.pats
drwxr-xr-x   2 news     news         512 Aug  8 16:40 etc
-r--r-----   1 news     news        1188 Aug  8 21:08 expire.ctl
-rw-rw-r--   1 news     news           0 Aug  8 22:25 history
-rw-rw-r--   1 news     news          60 Aug  8 22:25 history.n.dir
-rw-rw-r--   1 news     news      480044 Aug  8 22:25 history.n.pag
-r--r-----   1 news     news         256 Aug  8 21:06 hosts.nntp
-r-xr-sr-x   1 news     news       52080 Aug  8 16:29 inews
-r-xr-sr-x   1 news     news       52692 Aug  5 19:04 inews.OLD
-r--r--r--   1 news     news         804 Aug  8 21:07 inn.conf
drwxr-xr-x   2 news     news         512 Aug  8 22:12 innd
-r--r-----   1 news     news       38101 Aug  8 21:05 innlog.awk
-r--r-----   1 news     news        3705 Aug  8 21:06 innshellvars
-r--r-----   1 news     news        2580 Aug  8 21:08 innwatch.ctl
-r--r--r--   1 news     news         334 Aug  8 21:07 moderators
-r--r--r--   1 news     news        2555 Aug  8 21:06 newsfeeds
-r--r-----   1 news     news         733 Aug  8 21:06 nnrp.access
-r--r-----   1 news     news         548 Aug  8 21:08 nntpsend.ctl
-r--r--r--   1 news     news         389 Aug  8 20:58 overview.fmt
-r-xr-x---   1 news     news        1942 Aug  8 21:01 parsecontrol
-r--r-----   1 news     news         596 Aug  8 21:07 passwd.nntp
-r-xr-x---   1 news     news        1480 Aug  8 21:03 send-ihave
-r-xr-x---   1 news     news        1605 Aug  8 21:03 send-nntp
-r-xr-x---   1 news     news        2274 Aug  8 21:04 send-uucp
drwxr-xr-x   2 news     news         512 Aug  7 16:05 ucb
drwxr-xr-x   4 news     news         512 Aug  8 16:25 var


This is the command I use to start "innd" as root :
 
innd -a

Any help will be  very much appreciated.
Re: Problem with innd.
#2783
Author: Neil Rickert
Date: Tue, 09 Aug 1994 04:28
31 lines
1836 bytes
musst@uxa.ecn.bgu.edu (Sachin Suresh Thatte) writes:

>When we run innd as root innd will not run and we get the following 
>mesg in /var/adm/messages:

Firstly, it is better to start news by running 'rc.news'.  By default
it starts running 'inndstart' which opens the listen socket, changes
uid to 'news', then execs to innd as news.

>Aug  8 22:37:59 ixc innd: /usr/local/news/history cant dbminit ME No such file or directory

You haven't created history files yet.

>Following are the contents of /usr/local/news dir after running makehistory.
>...
>-rw-rw-r--   1 news     news           0 Aug  8 22:25 history
>-rw-rw-r--   1 news     news          60 Aug  8 22:25 history.n.dir
>-rw-rw-r--   1 news     news      480044 Aug  8 22:25 history.n.pag

Try the following:

	mv history.n.dir history.dir
	mv history.n.pag history.pag

then try again at starting innd.

[Mkhistory builds the history.n.* files, assuming a script will do
an needed locking of news before moving the files into place.  If
innd is not running, you can ignore locking.]

Re: Problem with innd.
#2785
Author: Eugene Sherstobitov
Date: Tue, 09 Aug 1994 12:15
34 lines
1914 bytes
Sachin Suresh Thatte (musst@uxa.ecn.bgu.edu) wrote:

: We have compiled and configured 'inn', this is the first time we are trying 
: to run any usenet on our machine. The machine is sparc-20 running solaris 2.3.


: When we run innd as root innd will not run and we get the following 
: mesg in /var/adm/messages:

: Aug  8 22:37:59 ixc innd: /usr/local/news/history cant dbminit ME No such file or directory


: Following are the contents of /usr/local/news dir after running makehistory.

[...]

: This is the command I use to start "innd" as root :
:  
: innd -a

There can be several reasons for this. But anyway, why did not you use
the rc.news script or the inndstart program alone?

: Any help will be  very much appreciated.

--

	Anonymous.

-- 
Here be Dragon!
     - ancient map

Re: Problem with innd.
#2787
Author: Igor Romanenko
Date: Tue, 09 Aug 1994 13:12
42 lines
2470 bytes
Sachin Suresh Thatte (musst@uxa.ecn.bgu.edu) wrote:

: We have compiled and configured 'inn', this is the first time we are trying 
: to run any usenet on our machine. The machine is sparc-20 running solaris 2.3.


: When we run innd as root innd will not run and we get the following 
: mesg in /var/adm/messages:

: Aug  8 22:37:59 ixc innd: /usr/local/news/history cant dbminit ME No such file or directory


: Following are the contents of /usr/local/news dir after running makehistory.
: *****************************************************************************
: total 406
: -rw-rw-r--   1 news     news          60 Aug  8 22:25 history.n.dir
							^^^^^^^^^^^^^
: -rw-rw-r--   1 news     news      480044 Aug  8 22:25 history.n.pag
							^^^^^^^^^^^^^
	The problem is here ---------------------------------^

When makehistory creates the history database it names the files 
history.n.* You should manually rename them to history.* afterwards,
i.e.
	mv history.n.dir history.dir
	mv history.n.pag history.pag
BTW, all this is in the INN FAQ and in man-pages.

: This is the command I use to start "innd" as root :
:  
: innd -a

Don't do this - use rc.news or inndstart - they do some usefull work.

: Any help will be  very much appreciated.

My pleasure ;)

--
Igor Romanenko			igor@carrier.kiev.ua
				+7-(044)-244-34-80
Re: Problem with innd.
#2792
Author: Tom Limoncelli
Date: Wed, 10 Aug 1994 22:12
60 lines
3112 bytes
In <326rqi$ss9@ecom2.ecn.bgu.edu> musst@uxa.ecn.bgu.edu (Sachin Suresh Thatte) writes:

This...

>Aug  8 22:37:59 ixc innd: /usr/local/news/history cant dbminit ME No such file or directory

plus...

>-rw-rw-r--   1 news     news           0 Aug  8 22:25 history
>-rw-rw-r--   1 news     news          60 Aug  8 22:25 history.n.dir
>-rw-rw-r--   1 news     news      480044 Aug  8 22:25 history.n.pag

means that you didn't read the Install.ms doc fully, and you didn't
read the FAQ where it tells you what to do if you got that error.
(The FAQ is more polite than I am and doesn't mention that you
wouldn't have had this problem if you followed the directions more
carefully)

>This is the command I use to start "innd" as root :
> 
>innd -a

You should never start innd that way.  Run rc.news as root.

--tal

-------- begin 'where-to-get-inn-faq' --------

[ Please do not email INN questions directly to the FAQ author.
The FAQ lists the best/fastest place to send questions. ]

The INN FAQ is...

...posted to news.software.nntp, news.software.b and
    news.answers on the 5th and 20th of every month.
...available via FTP at any location that has the INN software itself.
...updated constantly!  To get the absolutely latest version via e-mail
    execute the following commands at a Unix command line:
        echo get file faq-inn-1 | mail majordomo@plts.org
        echo get file faq-inn-2 | mail majordomo@plts.org
        echo get file faq-inn-3 | mail majordomo@plts.org
        echo get file faq-inn-4 | mail majordomo@plts.org

Also, ftp to rtfm.mit.edu:/pub/usenet/news.answers to get:
    usenet-software/part1   How all that Usenet software fits together.
    site-setup              "How to Become a USENET Site"
    news/software/b/intro   An introduction to news.software.b 
    news/software/b/faq     Read before posting to news.software.b
    news/software/b/cnews   Useful information about C News

DON'T CREATE A USENET SITE WITHOUT READING "How to Become a USENET Site"!

-------- end 'where-to-get-inn-faq' --------

-- 
Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
Write to me for info about internet mailing lists on these topics:
Drew University Alumni/ae, IXO/tpage users, New Jersey Unix Sysadmins' Group
(like SAGE), New Jersey motss, North East motss, BiNet/New Jersey, and more!
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