Starting up Innd

Innd is started by a shellscript rc.news in /opt/news/bin. Essentially you need to do something like

 
su news -c /opt/news/bin/rc.news 

in a suitable rc.d script to start up innd. Here's a more complete sample script that's essentially a minor hack of that supplied with the Redhat RPM

If all appears to work well then try posting to the test newsgroup and see if the article appears. If not you should check innd is really running by telneting to port 119:

 
hopf% telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 hopf.demon.co.uk InterNetNews server INN 2.1 24-Jul-1998 ready
quit
205 .
Connection closed by foreign host. 

If Innd's running ok (ie you get the above banner) then turn on some logging with ctlinnd (in /opt/news/bin for our example installation) so you can see the NNTP conversation:

 
cltinnd trace n y

The NNTP conversation is logged via syslog as news.debug, you'll need to check syslog.conf to see where this ends up, if anywhere, and possibly assign a file for this facillity so you can see what the problem is.

Cron jobs and ip-up

Innd requires a daily cronjob to run expire, prune logs and do general housekeeping. Essentially you need only run something like su news -c "/opt/news/bin/news.daily expireover lowmark" each day to achieve this.

You also need to run nntpsend from /etc/ppp/ip-up to upload all locally posted news to the remote newsserver

Main - Next


Home