Re: [Exim] LD/Exim errors

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Gary Ferrer
Data:  
Para: Derrick, Exim Users
Asunto: Re: [Exim] LD/Exim errors
Permissions are the same. The behavior seems unpredictable. The
exim_mainlog reports the last few emails as follows:

2001-11-12 21:22:42 End queue run: pid=24887
2001-11-12 21:37:42 Start queue run: pid=24892
2001-11-12 21:37:42 163TcL-0006Rv-00 Message is frozen
2001-11-12 21:37:42 163TW7-0006Rs-00 Message is frozen
2001-11-12 21:37:42 163UjN-0006SV-00 Message is frozen
2001-11-12 21:37:42 163VY4-0006T2-00 Message is frozen
2001-11-12 21:37:42 End queue run: pid=24892
2001-11-12 21:40:44 163VY4-0006T2-00 Unfrozen by forced delivery
2001-11-12 21:40:44 163VY4-0006T2-00 => melody <melody@???>
D=localuser T=local_delivery
2001-11-12 21:40:44 163VY4-0006T2-00 Completed
2001-11-12 21:40:51 163UjN-0006SV-00 Unfrozen by forced delivery
2001-11-12 21:40:51 163UjN-0006SV-00 => melody <melody@???>
D=localuser T=local_delivery
2001-11-12 21:40:51 163UjN-0006SV-00 Completed
2001-11-12 21:40:58 163TcL-0006Rv-00 Unfrozen by forced delivery
2001-11-12 21:40:58 163TcL-0006Rv-00 => gary <gary@???>
D=localuser T=local_delivery
2001-11-12 21:40:58 163TcL-0006Rv-00 Completed
2001-11-12 21:41:06 163TW7-0006Rs-00 Unfrozen by forced delivery
2001-11-12 21:41:06 163TW7-0006Rs-00 => gary <gary@???>
D=localuser T=local_delivery
2001-11-12 21:41:06 163TW7-0006Rs-00 Completed

The following is the output of /usr/exim/bin/exim -d9 gary@???:

------------------------------------------------------------------------
(/usr/exim/bin)-->exim -d9 gary@???
Exim version 3.33 debug level 9 uid=0 gid=1
probably ndbm
Actual local interface address is 127.0.0.1 (lo0)
Actual local interface address is 24.80.127.41 (dnet0)
Actual local interface address is 192.168.0.5 (iprb1)
Caller is an admin user
Caller is a trusted user
originator: uid=0 gid=1 login=root name=Super-User
sender address = root@???
set_process_info: 24941 accepting a local non-SMTP message from
<root@???>
Sender: root@???
Recipients:
gary@???
search_tidyup called
.
>>Original headers (size=-1):


rewrite_one_header: type=F:
From: Super-User <root@???>
>>Final headers:

P Received: from root by ferrer.yi.org with local (Exim 3.33 #6)
        id 163WRA-0006UH-00
        for gary@???; Mon, 12 Nov 2001 21:48:47 -0800
I Message-Id: <E163WRA-0006UH-00@???>
F From: Super-User <root@???>
T To: gary@???
  Date: Mon, 12 Nov 2001 21:48:47 -0800


search_tidyup called
Data file written for message 163WRA-0006UH-00
Writing spool header file
Size of headers = 286
LOG: 0 MAIN
<= root@??? U=root P=local S=287
exec /usr/exim/bin/exim -d9 -Mc 163WRA-0006UH-00
search_tidyup called
(/usr/exim/bin)-->Exim version 3.33 debug level 9 uid=1002 gid=3
probably ndbm
Actual local interface address is 127.0.0.1 (lo0)
Actual local interface address is 24.80.127.41 (dnet0)
Actual local interface address is 192.168.0.5 (iprb1)
Caller is an admin user
Caller is a trusted user
set_process_info: 24942 delivering specified messages
delivering message 163WRA-0006UH-00
set_process_info: 24942 delivering 163WRA-0006UH-00
Opened spool file 163WRA-0006UH-00-H
user=root uid=0 gid=1 sender=root@???
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=0 message_linecount=7
Delivery address list:
gary@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: gary@???
ferrer.yi.org in local_domains? yes (matched ferrer.yi.org)
ferrer.yi.org in percent_hack_domains? no (end of list)
unique = gary@???
dbfn_read: key=D:gary@???
gary@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing gary@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=gary
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="gary" partial=-1
LRU list:
7/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="gary"
file lookup required for gary
in /etc/aliases
lookup failed
system_aliases director declined for gary:
calling userforward director
userforward director: file = .forward
set uid=1002 gid=3 euid=1002 egid=3
successful stat of /export/home/gary/.
/export/home/gary/.forward not found
restored uid=1002 gid=3 euid=1002 egid=3
calling localuser director
queued for local_delivery transport: local_part=gary domain=ferrer.yi.org
errors_to=NULL
domain_data=NULL local_part_data=NULL
localuser director succeeded for gary
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local deliveries:
    gary@???
  Remote deliveries:
  Failed addresses:
  Addresses to be routed:
  Deferred addresses:
search_tidyup called

>>>>>> Local deliveries >>>>>>

locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:gary@???
LOG: 0 MAIN PANIC DIE
Unable to get root to set uid 1001 and gid 14 for local delivery to gary:
uid=1002 euid=1002
search_tidyup called
LOG: 0 MAIN PANIC
failed to read delivery status for gary@??? from delivery
subprocess
LOG: 0 MAIN PANIC
appendfile transport process returned non-zero status 0x0100: exit code 1
local_delivery transport returned DEFER for gary@???
added retry item for T:gary@???: errno=-1 0 flags=0
post-process gary@??? (1)
LOG: 0 MAIN
== gary@??? T=local_delivery defer (-1)
set_process_info: 24942 tidying up after delivering 163WRA-0006UH-00
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
gary@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=102
gary@??? in *? yes (*)
retry for T:gary@??? = *
dbfn_read: key=T:gary@???
Writing retry data for T:gary@???
first failed=1005630527 last try=1005630527 next try=1005631427 expired=0
error -1 0: unknown error
dbfn_write: key=T:gary@???
end of retry processing
time on queue = 3s
warning counts: required 0 done 0
LOG: 0 MAIN
Frozen
delivery deferred: update_spool=1 header_changed=0
Writing spool header file
Size of headers = 286
end delivery of 163WRA-0006UH-00
search_tidyup called
search_tidyup called

---------------------------------------------------------------------

The exim_paniclog reports a similar problem:
2001-11-12 20:51:48 163VY4-0006T2-00 failed to read delivery status for
melody@??? from deli
very subprocess
2001-11-12 20:51:48 163VY4-0006T2-00 appendfile transport process returned
non-zero status 0x0100: exi
t code 1
2001-11-12 21:48:47 163WRA-0006UH-00 Unable to get root to set uid 1001 and
gid 14 for local delivery
to gary: uid=1002 euid=1002
2001-11-12 21:48:47 163WRA-0006UH-00 failed to read delivery status for
gary@??? from delive
ry subprocess
2001-11-12 21:48:47 163WRA-0006UH-00 appendfile transport process returned
non-zero status 0x0100: exi
t code 1

If this is too difficult to diagnose, I guess I'll have to wipe exim and
start again. What kills me is that I can still send and recieve mail
(although it's stuck in the queue)

Any suggestions?

Thanks.