Article View: uk.comp.os.linux
Article #134Re: Sendmail problem, "illegal seek" and "hostname lookup failure"
From: Tim Haynes
Date: Mon, 29 Nov 1999 00:00
Date: Mon, 29 Nov 1999 00:00
37 lines
2597 bytes
2597 bytes
Simon Child <simon@child.demon.co.uk> doodled in uk.comp.os.linux: > ctladdr=<simon@child.demon.co.uk> (500/500), delay=00:58:32, > xdelay=00:00:00, mailer=relay, relay=post.mail.demon.net, stat=Deferred: > Illegal seek <snip> > stat=Deferred: Name server: post.mail.demon.net: host name lookup > failure > But I can lookup post.mail.demon.net and ping it and telnet to port 25 on > it. As what user, root or mail? (What does sendmail run as?) Given that ping runs setuid root, if you've got a permissions problem on /etc/resolv.conf or host.conf or hosts or whatever, you'll not see it with ping, and possibly not nslookup if you run as root, but other users will have problems with telnet, etc. Consider finding a standard networking command (ping/nslookup/telnet) that fails and then strace it to see what it can't open. > RedHat 5.1 server, sendmail 8.9.1, bind-4.9.7-1, absolutely nothing has been > changed for months. So it must be some file corruption, I assume? Where > shall I look? Have a look around in /lost+found for things you'd expect in /etc concerning networking, at a guess. Play with strace a bit, too. Consider running sendmail in something like debugging mode not as a daemon. Consider changing to exim or qmail instead. Consider changing your world view...[1] :) [1] This part not original :) ~Tim -- | Geek Code: GCS dpu s-:+ a-- C++++ UBLUAVHSC++++ P+++ L++ E--- W+++(--) N++ | w--- O- M-- V-- PS PGP++ t--- X+(-) b D+ G e++(*) h++(*) r--- y- | Flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow | The sun is melting over the hills, | http://www.glutinous.custard.org | All our roads are waiting / To be revealed | piglet@glutinous.custard.org
Technical Details
Message-ID:
<slrn844uj9.80s.piglet@pigsty.td.micromuse.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3841C16B.21CB7414@child.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d8ad,3dcf68bf2aed35f6 X-Google-Attributes: gid10d8ad,public X-Google-Thread: 108f6a,3dcf68bf2aed35f6 X-Google-Attributes: gid108f6a,public From: piglet@glutinous.custard.org (Tim Haynes) Subject: Re: Sendmail problem, "illegal seek" and "hostname lookup failure" Date: 1999/11/29 Message-ID: <slrn844uj9.80s.piglet@pigsty.td.micromuse.co.uk> X-Deja-AN: 554432736 References: <3841C16B.21CB7414@child.demon.co.uk> X-Complaints-To: abuse@insnet.net X-Trace: starburst.uk.insnet.net 943886812 4259 194.205.97.82 (29 Nov 1999 14:46:52 GMT) X-Caffeine-Requirement: Irn Bru and rising Organization: The Pigsty User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: piglet@glutinous.custard.org NNTP-Posting-Date: 29 Nov 1999 14:46:52 GMT Newsgroups: uk.comp.os.linux,demon.ip.support.unix