Loading ...
Sorry, an error occurred while loading the content.

postfix and courier - won't start properly, strange errorlog, any help?

Expand Messages
  • ben paley
    Hello all, I think I may have been a bit silly. /var got full up and mail suddenly stopped working properly, so I moved /var/spool and /var/log to another
    Message 1 of 2 , Jul 7 3:42 AM
    • 0 Attachment
      Hello all,

      I think I may have been a bit silly. /var got full up and mail suddenly stopped working properly, so I moved /var/spool and /var/log to another volume and symlinked - now I've moved them back (though weeded a bit so that they don't fill /var up!) but postfix still won't start.

      The whole story is a bit longer than that, but there it is in essence. pop seems to be working still, but i don't think any new mail is getting through, and imap and smtp are broken.

      Here's some stuff I hope might help - and of course I'm happy to provide ANYTHING else if it'll do any good...

      Thanks very much in advance,
      Ben

      [root@localhost ~]# postfix -v start
      postfix: name_mask: host
      postfix: warning: inet_addr_local: Couldn't open /proc/net/if_inet6 for reading: No such file or directory


      [root@localhost ~]# ls -l /var/spool/postfix/public/
      total 0
      srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 cleanup
      srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 flush
      prw--w--w- 1 postfix postfix 0 Jul 7 11:38 pickup
      prw--w--w- 1 postfix postfix 0 Jul 7 11:34 qmgr
      srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 showq


      and here's some output from tail -f /var/log/maillog:


      Jul 7 11:04:22 localhost postfix/postfix-script: starting the Postfix mail system
      Jul 7 11:04:22 localhost postfix/master[20735]: daemon started -- version 2.0.18
      Jul 7 11:04:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:04:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:04:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
      Jul 7 11:04:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:04:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
      Jul 7 11:04:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:04:39 localhost postfix/smtpd[20743]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
      Jul 7 11:04:40 localhost postfix/master[3567]: warning: process /usr/libexec/postfix/smtpd pid 20743 exit status 1
      Jul 7 11:04:40 localhost postfix/master[3567]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
      Jul 7 11:04:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
      Jul 7 11:04:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:04:50 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/flush: No such file or directory
      Jul 7 11:05:04 localhost postfix/master[3567]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:07 localhost postfix/master[14988]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:05:40 localhost postfix/smtpd[20750]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
      Jul 7 11:05:41 localhost postfix/master[3567]: warning: process /usr/libexec/postfix/smtpd pid 20750 exit status 1
      Jul 7 11:05:41 localhost postfix/master[3567]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
      Jul 7 11:05:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:04 localhost postfix/master[3567]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:07 localhost postfix/master[14988]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
      Jul 7 11:06:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
      Jul 7 11:06:41 localhost postfix/smtpd[20753]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
      _________________________________________________________________
      Feel like a local wherever you go with BackOfMyHand.com
      http://www.backofmyhand.com
    • ben paley
      Hello, Stand down all, looks like I ve sorted it, sorry to waste your time. There were bits of a previous postfix process hanging round disrupting things - I
      Message 2 of 2 , Jul 7 6:53 AM
      • 0 Attachment
        Hello,

        Stand down all, looks like I've sorted it, sorry to waste your time. There were bits of a previous postfix process hanging round disrupting things - I hunted them down with top and killed them, now I've got pop, smtp and imap back.

        Cheers,
        Ben



        ----------------------------------------
        > From: benpaley@...
        > To: postfix-users@...
        > Subject: postfix and courier - won't start properly, strange errorlog, any help?
        > Date: Sat, 7 Jul 2007 10:42:56 +0000
        >
        >
        > Hello all,
        >
        > I think I may have been a bit silly. /var got full up and mail suddenly stopped working properly, so I moved /var/spool and /var/log to another volume and symlinked - now I've moved them back (though weeded a bit so that they don't fill /var up!) but postfix still won't start.
        >
        > The whole story is a bit longer than that, but there it is in essence. pop seems to be working still, but i don't think any new mail is getting through, and imap and smtp are broken.
        >
        > Here's some stuff I hope might help - and of course I'm happy to provide ANYTHING else if it'll do any good...
        >
        > Thanks very much in advance,
        > Ben
        >
        > [root@localhost ~]# postfix -v start
        > postfix: name_mask: host
        > postfix: warning: inet_addr_local: Couldn't open /proc/net/if_inet6 for reading: No such file or directory
        >
        >
        > [root@localhost ~]# ls -l /var/spool/postfix/public/
        > total 0
        > srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 cleanup
        > srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 flush
        > prw--w--w- 1 postfix postfix 0 Jul 7 11:38 pickup
        > prw--w--w- 1 postfix postfix 0 Jul 7 11:34 qmgr
        > srw-rw-rw- 1 postfix postfix 0 Jul 7 11:04 showq
        >
        >
        > and here's some output from tail -f /var/log/maillog:
        >
        >
        > Jul 7 11:04:22 localhost postfix/postfix-script: starting the Postfix mail system
        > Jul 7 11:04:22 localhost postfix/master[20735]: daemon started -- version 2.0.18
        > Jul 7 11:04:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:04:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:04:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
        > Jul 7 11:04:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:04:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
        > Jul 7 11:04:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:04:39 localhost postfix/smtpd[20743]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
        > Jul 7 11:04:40 localhost postfix/master[3567]: warning: process /usr/libexec/postfix/smtpd pid 20743 exit status 1
        > Jul 7 11:04:40 localhost postfix/master[3567]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
        > Jul 7 11:04:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
        > Jul 7 11:04:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:04:50 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/flush: No such file or directory
        > Jul 7 11:05:04 localhost postfix/master[3567]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:07 localhost postfix/master[14988]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:05:40 localhost postfix/smtpd[20750]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
        > Jul 7 11:05:41 localhost postfix/master[3567]: warning: process /usr/libexec/postfix/smtpd pid 20750 exit status 1
        > Jul 7 11:05:41 localhost postfix/master[3567]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
        > Jul 7 11:05:49 localhost postfix/master[5252]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:04 localhost postfix/master[3567]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:07 localhost postfix/master[14988]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/qmgr: No such file or directory
        > Jul 7 11:06:30 localhost postfix/master[13208]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:35 localhost postfix/master[5767]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:38 localhost postfix/master[28260]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:38 localhost postfix/master[30471]: warning: master_wakeup_timer_event: service public/pickup: No such file or directory
        > Jul 7 11:06:41 localhost postfix/smtpd[20753]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
        > _________________________________________________________________
        > Feel like a local wherever you go with BackOfMyHand.com
        > http://www.backofmyhand.com

        _________________________________________________________________
        Feel like a local wherever you go with BackOfMyHand.com
        http://www.backofmyhand.com
      Your message has been successfully submitted and would be delivered to recipients shortly.