Article View: news.software.nntp
Article #41318Re: Can't start INN2.2.1 at all ...
From: Antony Chan
Date: Fri, 05 Nov 1999 00:00
Date: Fri, 05 Nov 1999 00:00
98 lines
4978 bytes
4978 bytes
A belated thank to you, Russ. Our existing news server lags behind and I saw your reply from my ISP's. Your pointer is very helpful. The cause was found. It was the "active" file which contained duplicated group entries and missed the control.* groups. I managed to make innd running now. However, the posting is yet to be working properly. Every news posted is spooled under /usr/local/news/spool/incoming but not showed. Do you have any hints? Could you also CC your reply to my email address <ccantony@ust.hk> please? Thanks again. Chan ============================================================ Russ Allbery wrote: > Antony Chan <ccantony@ust.hk> writes: > > > My INN2.2.1 (time-stamped 25/Aug/99) installed on a Solaris 2.6 just > > refuses to start without showing any error messages in any log file. > > If you're not getting any messages at all in any log files when innd > fails, chances are very high that you have syslog set up incorrectly. > <URL:http://www.eyrie.org/~eagle/faqs/inn.html>: > > Subject: 3.3. news.notice is empty and the nightly report is missing things > > You have syslog set up incorrectly. > > INN logs nearly everything except article trace information via syslog. > It expects syslog to write its log messages into particular files under > ~news/log, unless you gave it a different path at configure time. You'll > need to set up logging of INN-related log messages in your system > /etc/syslog.conf. From INSTALL in the current development version: > > If your system understands the `news' syslog facility, INN will use > it; otherwise, it will log to `local1'. Nearly every modern system > has a `news' syslog facility so you can safely assume that yours does, > but if in doubt take a look at the output from running `configure'. > You should see a line that looks like: > > checking log level for news... LOG_NEWS > > If that says LOG_LOCAL1 instead, change the below instructions to use > `local1' instead of `news'. > > Edit /etc/syslog.conf on your system and add lines that look like the > following: > > news.crit /usr/local/news/log/news.crit > news.err /usr/local/news/log/news.err > news.notice /usr/local/news/log/news.notice > > (Change the path names as necessary if you installed INN in a > different location than /usr/local/news.) These lines *must* be > tab-delimited, so don't copy and paste from these instructions. Type > it in by hand and make sure you use a tab, or you'll get mysterious > failures. You'll also want to make sure that news log messages don't > fill your other log files (INN generates a lot of log traffic); for > every entry in /etc/syslog.conf that starts with `*', add `;news.none' > to the end of the first column. For example, if you have a line like: > > *.err /dev/console > > change it to: > > *.err;news.none /dev/console > > (You can choose not to do this for the higher priority log messages, > if you want to make sure they go to your normal high-priority log > files as well as INN's. Don't bother with anything lower priority > than `crit', though. `news.err' isn't interesting enough to want to > see all the time.) Now, make sure that the news log files exist; > syslog generally won't create files automatically. Enter the > following commands: > > touch /usr/local/news/log/news.crit > touch /usr/local/news/log/news.err > touch /usr/local/news/log/news.notice > chown news /usr/local/news/log/news.* > chgrp news /usr/local/news/log/news.* > > (again adjusting the paths if necessary for your installation). > Finally, send a HUP signal to syslogd to make it re-read its > configuration file. > > You don't have to worry about rotating these log files; news.daily (which > should be run nightly) will take care of that and innreport generates a > daily summary report from them. > > -- > Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<3821D619.38917A8@i-cable.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<38200135.13F91BFD@ust.hk> <yl4sf3c2sg.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3821D619.38917A8@i-cable.com> Subject: Re: Can't start INN2.2.1 at all ... Date: Fri, 05 Nov 1999 00:00:00 +0000 From: Antony Chan <conlai@i-cable.com> References: <38200135.13F91BFD@ust.hk> <yl4sf3c2sg.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 544492734 Content-Transfer-Encoding: 7bit To: rra@stanford.edu X-Accept-Language: en Content-Type: text/plain; charset=big5; x-mac-type="54455854"; x-mac-creator="4D4F5353" Organization: IMS Netvigator Mime-Version: 1.0 Newsgroups: news.software.nntp