Skip navigation

Mail service stuck starting in Mavericks

1823 Views 8 Replies Latest reply: Nov 5, 2013 2:40 AM by Ir. Bob RSS
Ir. Bob Level 2 Level 2 (320 points)
Currently Being Moderated
Nov 3, 2013 12:56 PM

After installing Mavericks server I've got a problem with the mailserver. In the Server.app it keeps showing as starting, but it never starts.

 

the terminal command 'serveradmin fullstatus mail' shows that everything is started as it should, except the Mail Transfer Agent. It shows the error Warning: SMTP mail service is enabled but not running.

 

The command 'serveradmin start mailtransferagent' results in the error "CANNOT_LOAD_BUNDLE_ERR"

 

Console shows no helpfull messages except the obscure "serveradmin: posting dist not" right after entering the 'serveradmin start mailtransferagent' command.

 

Any idea how I can get the mail service to start?

Aperture 3, OS X Mountain Lion (10.8.3), iMac 24" 3.06 GHZ Core2Duo; 8GB RAM
  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Nov 3, 2013 2:48 PM (in response to Ir. Bob)

    serveradmin start mailtransferagent

    Is not a valid command.

     

    to start mail from terminal

         serveradmin start mail

    but thats the same as doing so from the Server app

     

    Please stop mail.

    Then start mail and post the relevand lines from

         /var/log/system.log

         /var/log/mail.log

         /Library/Logs/Mail/mailaccess.log

     

    I assume you have an upgraded system?

    Whats the history with it? Likely you have an old config parameter and those logs entries are likely to reveal it.

     

    Jeff


  • alexrmc92 Level 1 Level 1 (60 points)
    Currently Being Moderated
    Nov 4, 2013 7:42 AM (in response to Ir. Bob)

    Sounds like postfix is not properly configured. Try to find the postfix binary. Something like "sudo find / -name *postfix*" might find it.

     

    Once you do that run it as root in terminal and what errors kick back. Restoring from 10.6 wasnt a good idea, Server has changed a lot since 10.6

     

    A better idea would have been to export all of the users mailboxes in apple mail and reimport them on the new server.

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Nov 4, 2013 8:35 AM (in response to Ir. Bob)

    You don't want to restore your old system ontop of Mavericks...   that would be a crazy mix of components.

     

    If you start with a clean Macericks machine, then you'll want to Migrate the data from your time maching backup.

    A migration will grab all your old config files and data and massage it to fit the new server.

     

    You're going to have to erase/re-install Mavericks, then migrate.

    http://support.apple.com/kb/HT5381?viewlocale=en_US&locale=en_US

  • alexrmc92 Level 1 Level 1 (60 points)
    Currently Being Moderated
    Nov 4, 2013 8:40 AM (in response to Ir. Bob)

    Ir. Bob wrote:

     

    Hi Alex,

     

    To note, I first installed Mavericks base system, then did a restore, and then installed Server. Technically it is thus an upgrade. This was the only way to go as the original discs are missing.

     

    Here's what I just did:

     

    serveradmin stop mail

    serveradmin start mail (According to the server app the mail is not running after this command)

    -->mail:state = "STARTING"

    serveradmin fullstatus mail

    -->Protocol SMTP, state: STOPPED, "Warning" SMTP mail service is enable but not running

    /usr/sbin/postfix start

    -->fatal: the Postfix mail system is already running

    /usr/sbin/postfix stop

    serveradmin stop mail

    serveradmin start mail

    /usr/sbin/postfix status

    -->postfix not running

    /usr/sbin/postfix start

    serveradmin fullstatus mail

    -->Protocol SMTP, state: STOPPED, "Warning" SMTP mail service is enable but not running

     

    All in all, this just doesn't make any sense to me. No error messages whatsoever, what the ** is going on here.

     

    because postfix is failing to start, it should be in the postfix logs but may not be if the config files are wrong.

     

    You can't restore anything from server 10.6 to 10.9, the software is completely different.

     

    So you wiped 10.6 off of your server and replaced it with 10.9, then your grabbing mail data from a 10.6 time machine backup and copying it to 10.9? This is not going to work well, the structure is completely different.

     

    The only thinkg you can do here without a 10.6 server running is migrate the data like UptimeJeff is suggesting

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.