On 09-01-14 15:38, Ken Drummond wrote: > On 9/01/2014 8:43 PM, Thomas Raschbacher wrote: >> hi. >> >> Just FYI: I just commited 3.1.9 ebuild so Gentoo users should be able >> to install it using the ebuild as soon as the mirrors sync. >> >> Regards >> _______________________________________________ >> DBmail mailing list >> DBmail@dbmail.org >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > > Hi Thomas, > > thanks for maintaining dbmail for gentoo. I seem to have a problem with > the .pid file in 3.1.7. After a reboot I get > > dbmail-imapd[3704]: [0x750230] EMERGENCY:[pidfile] > pidfile_create(+113): Cannot open pidfile > [/var/run/dbmail/dbmail-imapd.pid], error was [No such file or directory] > > in /var/log/dbmail.err when I try to start dbmail. Somehow the > /run/dbmail directory gets deleted (/var/run is a symlink to /run). I'm > not really sure why it's using the dbmail subdirectory because the > /etc/dbmail/dbmail.conf file I have > > pid_directory = /var/run > > in the [DBMAIL] section. > > Not really sure if this is a gentoo specific error, and it's easily > fixed by manually creating the dbmail directory. My server normally > stays up for months at a time so not a huge impact, but I do need to > remember an go and manually fix things when a reboot happens.
I've already fixed the master branch to try and create the pid_directory if it doesn't exist - which typically is the case since most people use tmpfs for /run (/var/run) these days. In your case I would also expect the pid files to end up in /var/run/ - unless a -p switch is used during startup. -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, github, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail