Results 1 to 2 of 2

Thread: Postfix hanging on startup, need to kill -9 to stop

  1. #1
    Join Date
    Jul 2006
    Posts
    3
    Rep Power
    9

    Unhappy Postfix hanging on startup, need to kill -9 to stop

    Been reading the forums to see if there is a solution to my problem. The filesystem on the server filled up (DOH!) and now that I've corrected that problem, the "Starting mta" message just hangs and I will have to kill -9 the "/opt/zimbra/postfix-2.2.9/sbin/postmap /opt/zimbra/conf/postfix_header_checks" process.

    mailbox.log has the following:

    2007-03-19 11:22:05,074 INFO [main] [] soap - Servlet SoapServlet starting up
    2007-03-19 11:22:05,320 INFO [main] [] soap - Adding service AccountService to SoapServlet
    2007-03-19 11:22:05,663 INFO [main] [] soap - Adding service MailService to SoapServlet
    2007-03-19 11:22:06,020 INFO [main] [] soap - Adding service IMService to SoapServlet
    2007-03-19 11:22:06,028 INFO [main] [] misc - version=4.5.3_GA_733.RHEL4 release=20070228110021 builddate=20070228-110 1 buildhost=build.liquidsys.com
    2007-03-19 11:22:06,029 INFO [main] [] misc - LANG environment is set to: C
    2007-03-19 11:22:06,056 INFO [main] [] DbPool - Setting mysql connector property: maxActive=10
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_calendar_force_utc) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_validate_outgoing_icalendar) was null, returning empty stri ng
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_conversation) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_filter) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_message_analysis) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_mime_part_extraction) was null, returning empty str ing
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_indexing) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_objects) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_indexing_attachments_separate ly) was null, returnin g empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_indexing_attachments_together ) was null, returning empty string
    2007-03-19 11:22:06,639 WARN [main] [] misc - LC.get(debug_disable_mailbox_group) was null, returning empty string
    2007-03-19 11:22:06,664 INFO [main] [] extensions - Loading extensions from /opt/zimbra/lib/ext
    2007-03-19 11:22:06,667 INFO [main] [] extensions - extension com.zimbra.clam.ClamScanner found in /opt/zimbra/lib/ext /clamscanner/clamscanner.jar
    2007-03-19 11:22:06,667 INFO [main] [] extensions - Initializing extensions
    2007-03-19 11:22:06,675 INFO [main] [] ClamScanner - attachment scan is disabled
    2007-03-19 11:22:06,999 INFO [main] [] extensions - Initialized extension clamscanner: com.zimbra.clam.ClamScanner@com .zimbra.cs.extension.ZimbraExtensionClassLoader@17 9a49f
    2007-03-19 11:22:07,040 INFO [IndexWritersSweeper] [] MailboxIndex - IndexWritersSweeper thread starting
    2007-03-19 11:22:07,162 INFO [main] [] RedoLogManager - Starting pre-startup crash recovery
    2007-03-19 11:22:07,279 INFO [main] [] RedoPlayer - No uncommitted transactions to redo
    2007-03-19 11:22:07,374 INFO [main] [] RedoLogManager - Finished pre-startup crash recovery
    2007-03-19 11:22:07,427 INFO [NOTIFY-7035-Server] [] misc - starting server loop
    2007-03-19 11:22:07,555 INFO [Pop3Server] [] TcpServer/110 - starting accept loop
    2007-03-19 11:22:07,567 INFO [Pop3Server] [] TcpServer/995 - starting accept loop
    2007-03-19 11:22:07,574 INFO [ImapServer] [] TcpServer/143 - starting accept loop
    2007-03-19 11:22:07,580 INFO [ImapSSLServer] [] TcpServer/993 - starting accept loop
    2007-03-19 11:22:07,594 INFO [main] [] soap - Servlet AdminServlet starting up
    2007-03-19 11:22:07,705 INFO [main] [] soap - Adding service AdminService to AdminServlet
    2007-03-19 11:22:07,735 INFO [main] [] soap - Adding service AccountService to AdminServlet
    2007-03-19 11:22:07,735 INFO [main] [] soap - Adding service MailService to AdminServlet
    2007-03-19 11:22:07,735 INFO [main] [] soap - Adding service IMService to AdminServlet
    2007-03-19 11:22:07,742 INFO [main] [] ContentServlet - Servlet ContentServlet starting up
    2007-03-19 11:22:07,745 INFO [main] [] PublicICalServlet - Servlet PublicICalServlet starting up
    2007-03-19 11:22:07,749 INFO [main] [] account - Servlet PreAuthServlet starting up
    2007-03-19 11:22:07,811 INFO [main] [] mailbox - Servlet UserServlet starting up
    2007-03-19 11:22:07,821 INFO [main] [] FileUploadServlet - Servlet FileUploadServlet starting up
    2007-03-19 11:22:07,826 INFO [main] [] StatsImageServlet - Servlet StatsImageServlet starting up
    2007-03-19 11:22:07,943 INFO [LmtpServer] [] TcpServer/7025 - starting accept loop

    zimbra.log

    Mar 19 15:26:05 main postfix/postqueue[17547]: fatal: Queue report unavailable - mail system is down
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: antispam: Running
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: antivirus: Running
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: ldap: Running
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: logger: Stopped
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: mailbox: Running
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: mta: Stopped
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: snmp: Stopped
    Mar 19 11:26:06 main zimbramon[17398]: 17398:info: 2007-03-19 11:26:02, STATUS: webmail.fluxinc.com: spell: Running

    [zimbra@main ~]$ /opt/zimbra/bin/zmcontrol status
    Host webmail.fluxinc.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    zmlogswatchctl is not running
    mailbox Running
    mta Stopped
    postfix is not running
    zmsaslauthdctl is not running
    snmp Stopped
    swatch is not running
    spell Running


    Anyone run into this before? Help!!

  2. #2
    Join Date
    Jul 2006
    Posts
    3
    Rep Power
    9

    Default

    Did an strace on the postmap process (Using 100% of the cpu)...

    It was stuck in this cycle:

    stat64("/opt/zimbra/conf/postfix_header_checks.db", 0xbf848900) = -1 ENOENT (No such file or directory)
    open("/opt/zimbra/conf/__db.postfix_header_checks.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
    open("/opt/zimbra/conf/__db.postfix_header_checks.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
    open("/opt/zimbra/conf/__db.postfix_header_checks.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)

    Looks like it was looking for the one file, finding that it wasn't there, trying to create another file as a result (Which existed) and looped from there. I move the /opt/zimbra/conf/__db.postfix_header_checks.db to /opt/zimbra/conf/__db.postfix_header_checks.db.old after killing all the zimbra processes off and restarted and it started fine.

Similar Threads

  1. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 09:12 PM
  2. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  3. Cannot send mail.
    By jeremyshoe in forum Installation
    Replies: 7
    Last Post: 10-17-2006, 09:42 PM
  4. Replies: 0
    Last Post: 08-22-2006, 05:03 AM
  5. unable to restart zimbra after reboot
    By droefs in forum Administrators
    Replies: 28
    Last Post: 04-16-2006, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •