Bug#396944: running exim4 not found

Bruce Sass bmsass at shaw.ca
Mon Nov 6 10:55:52 CET 2006


On Mon November 6 2006 01:58, Marc Haber wrote:
> On Mon, Nov 06, 2006 at 12:47:45AM -0700, Bruce Sass wrote:
> > root at onegee:~# ls -al /var/run/exim4
> > total 1
> > drwxr-x---  2 Debian-exim Debian-exim   48 Nov  5 21:22 .
> > drwxr-xr-x 22 root        root        1048 Nov  5 21:31 ..
>
> That looks fine, besides that there is no pidfile written there. Was
> an exim running when you did that ls? If so, please kill it manually
> and send me the output of
> # EX4DEBUG=1 /etc/init.d/exim4 start

root at onegee:~# /etc/init.d/exim4 stop
Stopping MTA:.
root at onegee:~# ps aux|grep exim
102      26817  0.0  0.1   5348  1000 ?        Ss   Nov04   0:00 /usr/sbin/exim4 -bd -q30m
root     13089  0.0  0.0   1640   504 pts/2    R+   02:35   0:00 grep exim
root at onegee:~# killall exim4
root at onegee:~# ps aux|grep exim
root at onegee:~# EX4DEBUG=1 /etc/init.d/exim4 start
now debugging /etc/init.d/exim4 start
+ ENV=env -i LANG=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
+ QUEUERUNNER=combined
+ QUEUEINTERVAL=30m
+ UPEX4OPTS=
+ PIDFILE=/var/run/exim4/exim.pid
+ QRPIDFILE=/var/run/exim4/eximqr.pid
+ [ -f /etc/default/exim4 ]
+ . /etc/default/exim4
+ EX4DEF_VERSION=
+ QUEUERUNNER=combined
+ QUEUEINTERVAL=30m
+ COMMONOPTIONS=
+ QUEUERUNNEROPTIONS=
+ QFLAGS=
+ SMTPLISTENEROPTIONS=
+ [ -f /etc/inetd.conf ]
+ grep -E -q ^[[:space:]]*((\*|[[:alnum:].-]+):)?smtp /etc/inetd.conf
+ DAEMON=/usr/sbin/exim4
+ NAME=exim4
+ test -x /usr/lib/exim4/exim4
+ log_daemon_msg Starting MTA
+ [ -z Starting MTA ]
+ [ -z  ]
+ echo -n Starting MTA:
Starting MTA:+ return
+ upex4conf
+ UPEX4CONF=update-exim4.conf
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/update-exim4.conf ]
+ [ -x /usr/local/bin/update-exim4.conf ]
+ [ -x /usr/sbin/update-exim4.conf ]
+ IFS=

+ /usr/sbin/update-exim4.conf
+ return 0
+ isconfigvalid
+ /usr/sbin/exim4 -bV
+ start_exim
+ [ -e /var/run/exim4 ]
+ env -i LANG=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 start-stop-daemon --start --pidfile /var/run/exim4/exim.pid --exec /usr/sbin/exim4 -- -bd -q30m
+ log_progress_msg exim4
+ [ -z exim4 ]
+ echo -n  exim4
 exim4+ log_end_msg 0
+ [ -z 0 ]
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput op
+ NORMAL=
+ [ 0 -eq 0 ]
+ echo .
.
+ return 0
+ warn_paniclog
+ [ -s /var/log/exim4/paniclog ]
+ exit 0
root at onegee:~# tail /var/log/exim4/mainlog
2006-11-06 01:35:02 End queue run: pid=11667
2006-11-06 02:05:02 Start queue run: pid=12427
2006-11-06 02:05:02 End queue run: pid=12427
2006-11-06 02:35:03 Start queue run: pid=13075
2006-11-06 02:35:03 End queue run: pid=13075
2006-11-06 02:36:57 IPv6 socket creation failed: Address family not supported by protocol
2006-11-06 02:36:57 Failed to create IPv6 socket for wildcard listening (Address family not supported by protocol): will use IPv4
2006-11-06 02:36:57 exim 4.63 daemon started: pid=13135, -q30m, listening for SMTP on port 25 (IPv4)
2006-11-06 02:36:57 Start queue run: pid=13141
2006-11-06 02:36:57 End queue run: pid=13141
root at onegee:~# ls -al /var/run/exim4
total 5
drwxr-x---  2 Debian-exim Debian-exim   72 Nov  6 02:36 .
drwxr-xr-x 22 root        root        1048 Nov  5 21:31 ..
-rw-r--r--  1 root        Debian-exim    6 Nov  6 02:36 exim.pid
root at onegee:~# cat /var/run/exim4/exim.pid
13135
root at onegee:~# su "-c cp /etc/exim4/exim4.conf.template /var/run/exim4" Debian-exim
root at onegee:~# ls -al /var/run/exim4
total 5
drwxr-x---  2 Debian-exim Debian-exim   72 Nov  6 02:36 .
drwxr-xr-x 22 root        root        1048 Nov  5 21:31 ..
-rw-r--r--  1 root        Debian-exim    6 Nov  6 02:36 exim.pid

> Does cp /etc/exim4/exim4.conf.template /var/run/exim4 (done as
> Debian-exim) work?

pauses for a couple of seconds, but nothing written


- Bruce




More information about the Pkg-exim4-maintainers mailing list