exim4 init script fails to create pid file
Bug #48045 reported by
Christian Rueb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
exim4 (Debian) |
Fix Released
|
Unknown
|
|||
exim4 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: exim4-base
Version of exim4-base: 4.60-3ubuntu3
As /var/run is not a persistend directory the subdirectory /var/run/exim4 is missing after the first reboot. When the /etc/init.d/exim4 startup script tries to create the necessary pid files this fails. If you want to stop or restart exim this fails quietly:
-old pidfile is not found
-exim will not be stopped
-new exim starts (and fails to grab the SMTP port) and gives up after a certain time
-old exim keeps on running
Possible Solution:
Add the folling in the runlevel script:
test -d /var/run/exim4 || mkdir -p /var/run/exim4
Cheers,
Christian
Changed in exim4: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Same here, after adding the mkdir line, it works.
Regards,
Martin