You can view the daily report at any time from within the Collabra Server interface.
Viewing and interpreting log files
You can view information about your Collabra Server in the following log files:
3 [96/06/19 04:00.58] innd:ME new client starting:The processes that frequently send messages to the log files are listed in Table 7.1:
"/news/ns-news-pb2/bin/news/bin/nnrpd -s -i 204.257.234.169"
The server log
The server log can contain information about most server activities, such as who connected to the server, what discussion groups were read, what articles were posted, and what problems occurred.
The information you see depends on the log level specified: Debug, Fatal, Error, or Notice. You can specify the log level by choosing Reports|Logging Preferences.
The server log is archived each time the server's daily maintenance routines are run.
To view the server log:
204.257.234.169
:
3 [96/06/19 04:00.58] innd:ME new client starting:The next message indicates that the nnrpd process has accepted the handoff for the above connections (notice that the IP address is the same):
"/news/ns-news-pb2/bin/news/bin/nnrpd -s -i 204.257.234.169"
3 [96/06/19 04:00.59] nnrpd(5):Starting new reader, got socket:The next message indicates that the host
22 and cmdline:
"/news/ns-news-pb2/bin/news/bin/nnrpd -s -i 204.257.234.169"
from innd
ts368.dialup.prem.net
has successfully connected. (This host has IP address 204.257.234.169
, so it is the same host as in the previous two messages.)
3 [96/06/19 04:01.02] nnrpd(5):ts369.dialup.prem.net connect
netscape.navigator
:
3 [96/06/19 04:01.02] nnrpd(2):245.dallas-3.tx.dial-access.att.netThe next message indicates that the client read a total of 3 articles in 1 discussion group during its session and then disconnected from the server:
group netscape.navigator 3
3 [96/06/19 04:01.02] nnrpd(2):245.dallas-3.tx.dial-access.att.netThe next message indicates that the client was connected a total of 1662.313 seconds, used 3.360 seconds of CPU time for user code, and 0.620 seconds for system code:
exit articles 3 groups 1
3 [96/06/19 04:01.02] nnrpd(2):245.dallas-3.tx.dial-access.att.net
times user 3.360 system 0.620 elapsed 1662.313
2 [96/06/19 04:00.58] innd:ME cant accept RCreader Protocol errorYou might see this message if a client that is not a newsreader attempts to connect to the news port. Because the server and the connecting program do not speak the same language (protocol), they cannot communicate, so innd closes the connection. In most cases, you can ignore this message. The next message indicates the network connection has been closed due to a timeout:
3 [96/06/19 04:01.02] nnrpd(2):245.dallas-3.tx.dial-access.att.netA "proper" news client will send a "quit" message when it is done. However, some clients do not send quit messages. Normally, the server will keep the network connection open until it receives a quit message. However, if a certain amount of time has passed and the client has not sent anything to the server, the server closes the connection. This is called a timeout, which you can safely ignore.
timeout
news.foo.com
connected and sent 31 articles to your server. Your server accepted 29, refused 1, and rejected 1.
[96/07/15 15:58.03] innd:news.foo.com:29 closed seconds 12 accepted
29 refused 1 rejected 1
secnews
in this example). Your server offered 1 article, which was rejected:
[96/06/19 04:25.06] nntpsend:[28260:28261] innxmit -a -t180If only one article is rejected, you need not worry. If, however, all your articles are refused or rejected, you should contact the administrator of the other server. If the administrator of the other server indicates that they are not receiving your replicated discussion groups, check for the following status messages in your log file:
secnews.netscape.com...
[96/06/19 04:25.07] innxmit:secnews.netscape.com stats offered 1
accepted 0 refused 0 rejected 1
[96/06/19 04:25.07] innxmit:secnews.netscape.com times user 0.180
system 0.060 elapsed 0.453
4 [96/06/19 04:05.04]These messages indicate that the innd process has created a batch file containing article information to send to the server
innd:E:secnews.netscape.com:secnews.netscape.com.work
[96/06/19 04:05.04] innd:secnews.netscape.com makebatch-->secnews.netscape.com.work
[96/06/19 04:05.04] innd:secnews.netscape.com closed
[96/06/19 04:05.04] innd:secnews.netscape.com opened secnews.netscape.com:23:file
secnews
. Check to see if nntpsend and innxmit are running. If they are not, make sure secnews
is configured as a replication host.
10054
, indicates that the connection was reset, which usually means that the sending host closed the connection early:
2 [96/08/16 15:20.50] innd:257.0.180.15:7 can't write [Errno:10054]If you see a lot of these messages and your incoming discussion groups from that site (
257.0.180.15
in this case) seem to be lacking, contact the administrator of the other site and see why the connection is getting dropped.
The next message indicates that innd is unable to communicate with an nnrpd process that it expects is running:
2 [96/08/16 17:00.38] innd:unable to query nnrpd(0): 232Either the nnrpd has died or is hung. Please report this problem to the discussion group,
snews://secnews.netscape.com/netscape.server.news
.
The following message indicates that your active file is bad. (The active file contains information about all the discussion groups your server carries.)
2 [96/06/29 04:15.11] innd:ME bad_format activeThe active file might contain a formatting error, an invalid discussion group name, an illegal discussion group name, duplicate discussion group names, or incorrectly formatted lines. The following message indicates that the two required discussion groups,
control
and junk
, do not exist. Without these groups, the server will not run:
1 [96/06/24 09:29.43] innd:ME internal no control and/or junk groupYou can add the groups by choosing Discussion Groups|Manage Discussion Groups or you can remake the active file by choosing Advanced Tasks|Recovery and clicking the Remake active file button. The next message indicates that discussion groups listed in your active file have invalid names according to RFC1036, the Internet standards document that defines valid newsgroup names:
2 [96/07/09 11:14.37] ctlinnd:parseactive invalid newsgroup nameThe discussion group name might be in uppercase, for example, or might contain numbers, such as
2 [96/06/21 20:23.29] ctlinnd:parseactive invalid newsgroup name
"GPsemi.lincoln.test3": Illegal
foo.com.752
. For more information about valid discussion group names, see http://www.cis.ohio-state.edu/htbin/rfc/rfc1036 RFC1036
.
You can rename the group or remove the group. Although it is not recommended, you can override groupname validity checking by changing the REQUIRE_VALID1036_NAMES
parameter value in the nsnews.conf
file from DO
to DONT
. If you do change the value, be aware that doing so might cause server problems.
The next message indicates that innd was unable to delete a file. Normally this is not a problem, but it may be a symptom of another problem. If you start to see a lot of these messages, check for other problems, such as problems with permission or ownership:
2 [96/07/07 21:10.34] innd:ME cant unlinkThe next message indicates that innd was unable to link an article file. (Article files are linked when an article is crossposted to save space.) The linking can fail for various reasons, including one of the link names existing as a regular file. If you get the following message too often, try renumbering your active file (choose Advanced Tasks|Recovery)
2 [96/07/25 19:08.17] innd:ME cant link talk/politics/misc/965The next message indicates a failure to write to the history file. The Collabra server stores information about all articles in a file called
history
. If the Collabra server cannot write to the history file, disk configuration problems and corruption of files is likely to occur. The Collabra server will be unable to expire articles or to accept new articles:
2 [96/07/25 19:08.18] innd:ME cant write history [Errno:10009]Check for permission problems and lack of disk space. After fixing the problem, you will need to restart your server. You might also want to rebuild your history files, but be aware that this can take several hours, depending on the size of the history file. The next message indicates a failure to flush the log files. The server flushes the log files when running news.daily, for example, or when rotating log files. The server names the backup log file
name.old
:
inte2 [96/06/24 09:29.43] innd:ME cant fflush log [Errno:9]The error code indicates that there is a bad descriptor. Try stopping the server and restarting it.
news.foo.com
. The plus sign indicates that your server accepted the article.
Sep 24 15:24.10.569 + news.foo.com <sad231dadas@news.moof.com>The next example indicates that on Dec 4, at the given time, your server was offered and rejected an article from the server
news.somecom.com
stormy.foo.com
. The minus sign indicates that your server rejected the article because stormy.dev.batman
is an unwanted discussion group (the discussion group is not listed in the server's active file).
Dec 4 11:27:45.586 - stormy.foo.com <32A5CBF6.72E3@netscape.com> 437
Unwanted newsgroup "stormy.dev.batman"
royal.pets.snakes
, royal.pets.lizards
, and royal.pets.turtles
. One copy of the article is stored in the spool for royal.pets.snakes
. The "copies" for the other discussion groups are links to the main article. Consequently, for purposes of statistics, the post to royal.pets.snakes
is counted as one post whereas the "posts" to royal.pets.lizards
and royal.pets.turtles
are counted as crossposts. Crossposts are not considered when determining statistics about the size of articles received by your server.
/spool
automatically
appear when you choose Reports|Disk Usage.
in.coming
)
out.going
)
over.view
)
(news.archive
)--if you have archived articles