innxmit not working?
Russ Allbery
rra at stanford.edu
Sat Oct 18 05:17:10 UTC 2003
Daniel Henninger <daniel at unity.ncsu.edu> writes:
> I'm afraid I'm highly confused as to what is going on with our 2.4.0 INN
> install (running under Solaris 8). innxmit does not appear to be
> working in the least:
> nntpsend: [10720:10790] begin redhat Tue Aug 26 03:10:09 EDT 2003
> nntpsend: [10720:10790] innxmit news.redhat.com ...
> innxmit: cannot connect to news.redhat.com: Error 0
> nntpsend: [10720:10790] end redhat Tue Aug 26 03:10:09 EDT 2003
> This occurs for every peer we feed. In an attempt to see what was going
> on, I performed a tcpdump to listen for network traffic to their host
> and nothing every left our news server. innxmit seemed to "simply exit
> immediately", for lack of a better term. I don't see any other messages
> regarding this issue, but I can't imagine what I might have set up
> wrong. I've gone over our configs quite a few times. Any ideas? =/
No idea... I mean, that message is generated by the following code in
innxmit:
if (NNTPconnect(REMhost, port, &From, &To, buff) < 0 || GotAlarm) {
i = errno;
warn("cannot connect to %s: %s", REMhost,
buff[0] ? REMclean(buff) : strerror(errno));
which means that NNTPconnect is failing. It can fail if DNS lookups fail
or if the socket creation and connection failed (although in the latter
case, generally errno is set). Since errno isn't set, I would tend to
suspect a DNS problem....
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list