Exim4のエラーに関してはこちら [解決]failed to open database lock file /var/spool/exim/db/wait-remote_smtp.lockfile: Permission denied (euid=8 egid=8) †こっちをしたら今度はこんなエラーメールが。 調べてみると、これで問題解決しそう これを -rw-r----- 1 mail mail 20480 Feb 26 10:05 retry -rw-r----- 1 root root 0 Feb 26 10:06 retry.lockfile -rw-r----- 1 mail mail 20480 Feb 26 10:05 wait-remote_smtp -rw-r----- 1 root root 0 Feb 26 10:06 wait-remote_smtp.lockfile こんな感じに変更 -rw-r----- 1 mail mail 20480 Feb 26 10:05 retry -rw-r----- 1 mail mail 0 Feb 26 10:06 retry.lockfile -rw-r----- 1 mail mail 20480 Feb 26 10:05 wait-remote_smtp -rw-r----- 1 mail mail 0 Feb 26 10:06 wait-remote_smtp.lockfile [解決]failed to open DB file /var/spool/exim/db/wait-remote_smtp: File exists †root宛のメールで上記のようなエラーメッセージが。調べてみると aya@gware:~$ dpkg -l | grep exim ii exim 3.36-16sarge1 An obsolete MTA (Mail Transport Agent), repl む、exim3か。 Linux gware 2.4.27-2-686 #1 Wed Aug 17 10:34:09 UTC 2005 i686 GNU/Linux そしてDebianもsargeのようだ。 対処方法URL gware:/var/spool/exim/db# aptitude install libdb3-util ごにょごにょ入る gware:/var/spool/exim/db# db3_upgrade retry gware:/var/spool/exim/db# db3_upgrade wait-remote_smtp gware:/var/spool/exim/db# ls -la total 24 -rw-r----- 1 mail mail 20480 Feb 26 10:05 retry -rw-r----- 1 mail mail 0 Jul 24 2002 retry.lockfile -rw-r----- 1 mail mail 20480 Feb 26 10:05 wait-remote_smtp -rw-r----- 1 mail mail 0 Jul 24 2002 wait-remote_smtp.lockfile gware:/var/spool/exim/db# rm *.lockfile gware:/var/spool/exim/db# ls -la -rw-r----- 1 mail mail 20480 Feb 26 10:05 retry -rw-r----- 1 mail mail 20480 Feb 26 10:05 wait-remote_smtp gware:/var/spool/exim/db# /usr/sbin/exim_tidydb /var/spool/exim retry Exim retry database in spool /var/spool/exim gware:/var/spool/exim/db# /usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp Exim wait-remote_smtp database in spool /var/spool/exim gware:/var/spool/exim/db# /etc/init.d/exim start Starting MTA: exim. 送られて来たメールを良く見てみるとどうやらcron.d/eximに以下のjobが設定されているようだ。 # Tidy databases 13 6 * * * mail if [ -x /usr/sbin/exim_tidydb ]; then /usr/sbin/exim_tidydb /var/spool/exim retry >/dev/null; fi 17 6 * * * mail if [ -x /usr/sbin/exim_tidydb ]; then /usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp >/dev/null; fi これはexim3の仕様なんだろうか!? 要チェック |