Hi!
This my final summary (each question is followed by the answer):
Thanks to some very nice people:
"D.J.Peacock" <D.J.Peacock@reading.ac.uk>
"Lefteris Ch. Skapetis" <skapetis@forthnet.gr>
Simon.Morse@ccd.tas.gov.au (Simon Morse)
Anatoly.Lisovsky@kamaz.kazan.su (Anatoly Lisovsky)
Thanks to Anatoly for pointing me towards the Sun Managers Summaries
Archives. http://www.latech.edu/sun-managers@ra.mcs.anl.gov.html. This is a
treasure trove of good summaries!
Rasana
---------------------------------------------------------------------------
1) We are running INN on a Sparc 5 with SunOS4.1.3_U. I get the following
message _every day_. A ps ax shows that innd is up. (Nothing in the FAQ)
To: news; Subject: Output from "cron" command
Your "cron" job $INN/bin/expire produced the following output:
Can't reserve server
Solution:
From: "D.J.Peacock" <D.J.Peacock@reading.ac.uk>
You ought to expire old news articles by running news.daily
Comments: I was running it off cron, but for some reason it wouldn't work.
From: "Lefteris Ch. Skapetis" <skapetis@forthnet.gr>
The problem is that for some reason your server has been throttled or pa
used. Use $INN/bin/innstat to see the reason. Expire cannot run if the
server is not in the running mode. I only run news.daily from my cron in
order to do the daily INN housekeeping and I never had any kind of
errors like this one. You'd better run news.daily than just expire.
I did not know how to get the status of the throttled server back to running:
so I asked Lefteris again:
From: "Lefteris Ch. Skapetis" <skapetis@forthnet.gr>
>
>My innstat gives me:
>Server status: Throttled.
Is this the *exact* string you are getting???? I mean, does the dot
(".") actually appears there? You've got to locate the *exact* string
which was provided to throtte the server and then do ctlinnd go "string"
>For example, what reason would I give below:
>
>ctlinnd go ' '
You would give this if your server was throtteld with:
ctlinnd throttle " "
the reason in this case is a space.
From: Simon.Morse@ccd.tas.gov.au (Simon Morse)
We also had a similar problem with our server being reserved after I
killed off an expire - every time that I tried to run "expire" or
"newsdaily", (which does an expire as part of the processing) it gave
the "can't reserve server" message. Basically whenever the server does
an expire, it "reserves" the server so that no-one else can pause or
throttle it - so when I killed off the expire it didn't release the
reserve without giving the same reason as the reserve. To get around
this you can run the following command which will cancel the reserve:
ctlinnd reserve ''
I found all this out on the INN FAQ at the following URL:
http://www.cis.ohio-state.edu/hypertext/faq/usenet/inn-faq/top.html.
It contains heaps of helpful information on troubleshooting and setting
up INN news. You also might want to consider looking at the moderated
news group news.admin.technical for helpful hints.
2) Another, possibly unrelated problem: when I set DOINNWATCH=true in rc.news in
the $INN/etc directory, and ran it, I got the following message:
# $INN/bin/innwatch:
$INN/etc/innwatch.pid: Permission denied
$INN is abbreviation for the directory where inn's files reside. I started
rc.news up as root.
Solution:
From: "D.J.Peacock" <D.J.Peacock@reading.ac.uk>
Innwatch should be started by etc/rc.news and you only need one copy
running at a time
From: "Lefteris Ch. Skapetis" <skapetis@forthnet.gr>
That means that innwatch can not write in your $INN/etc
Check permisions of the directory, they are probably wrong. Mine are:
drwxrwsr-x 8 news news 1536 Feb 19 16:15 /usr/local/news
I don't think that the "s" permision on the group is necessary though.
According to INN's manuals you can start INN as root but you have to run
news.daily as news. I assume that $INN is owned by root and some
procceses are run by user news or something.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Rasana Atreya Voice: (415) 476-3623 ~
~ Programmer/Analyst Fax: (415) 476-4653 ~
~ Library & Ctr for Knowledge Mgnt, Univ. of California at San Francisco ~
~ 530 Parnassus Ave, Box 0840, San Francisco, CA 94143-0840 ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:54 CDT