Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48189 - Running Courier gives warning /var/run/courier/esmtpd.pid.lock: No such file or directory
Summary: Running Courier gives warning /var/run/courier/esmtpd.pid.lock: No such file ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 48190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-17 22:14 UTC by Mike
Modified: 2004-04-21 16:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2004-04-17 22:14:46 UTC
I was able to successfully install courier 0.45.4 and run ebuild /var/db/pkg/net-mail/courier-0.45.4/courier-0.45.4.ebuild config. However, starting the courier mail server (using /etc/init.d/courier start) gave the following warning messages:

 * Starting Courier mail server:...
/var/run/courier/esmtpd.pid.lock: No such file or directory
/var/run/courier/esmtpd-msa.pid.lock: No such file or directory
 *  Starting courierfilterd...
/var/run/courier/courierfilter.pid: No such file or directory
 *  Starting authdaemond...
 *  Starting sqwebmaild...
 *  Starting courierd...

Courier did not seem to care much because all the daemons started anyway. I then noticed that the directory /var/run/courier did not exist. Recompiling Courier did not not create /var/run/courier, so I created it myself with permissions mail:mail 0770. This fixed the warning messages and the relevant *.pid and *.lock files appeared in the newly created /var/run/courier.

Installing courier 0.45.4 on a second machine using only stable packages and gentle CFLAGS (-O1 -mpcu=) resulted in the same problem.

Reproducible: Always
Steps to Reproduce:
1.emerge -C courier
2.rm -rf /var/run/courier
3.emerge courier
4.ebuild /var/db/pkg/net-mail/courier-0.45.4/courier-0.45.4.ebuild config
5./etc/init.d/courier start

Actual Results:  
Received warning messages:

 * Starting Courier mail server:...
/var/run/courier/esmtpd.pid.lock: No such file or directory
/var/run/courier/esmtpd-msa.pid.lock: No such file or directory
 *  Starting courierfilterd...
/var/run/courier/courierfilter.pid: No such file or directory
 *  Starting authdaemond...
 *  Starting sqwebmaild...
 *  Starting courierd...

Expected Results:  
Printed this message:
 * Starting Courier mail server:...
 *  Starting courierfilterd...
 *  Starting authdaemond...
 *  Starting sqwebmaild...
 *  Starting courierd...

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fno-cprop-registers -fno-delayed-branch
-fno-thread-jumps -fno-defer-pop -fno-crossjumping -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fno-cprop-registers -fno-delayed-branch
-fno-thread-jumps -fno-defer-pop -fno-crossjumping -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://ftp.gentoo.or.kr/
http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gtk2 imlib java jpeg junit kde libg++ libwww mad maildir mikmod mmx motif
mpeg ncurses oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell ssl svga tcltk tcpd tetex threads tiff
truetype x86 xml2 xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-04-17 22:46:08 UTC
*** Bug 48190 has been marked as a duplicate of this bug. ***
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2004-04-21 16:51:15 UTC
fixed in cvs. no new functionality though, and this only affected new installs, 
so version was not bumped. 0.45.2, .3, .4 updated.