sjolshag

Q: Calendar won't start after upgrade to Mountain Lion

Hi,

 

After upgrading to ML, my calendar service didn't want to start.

 

There is a "Error reading settings" message in the Server window when selecting "Calendar". Additionally, when clicking the "on" button, I get the following error:

 

The error occurred while processing a command of type 'getLocationList' in plug-in 'servermgr_calendar'.

Where do I start troubleshooting this issue?

Posted on Jul 25, 2012 1:28 PM

Close

Q: Calendar won't start after upgrade to Mountain Lion

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by CeesBerrens,

    CeesBerrens CeesBerrens Jul 25, 2012 1:57 PM in response to sjolshag
    Level 1 (0 points)
    Jul 25, 2012 1:57 PM in response to sjolshag

    I've the same issue. Also contact server and imessage server are not starting.

  • by noben,

    noben noben Jul 25, 2012 2:44 PM in response to sjolshag
    Level 1 (0 points)
    Jul 25, 2012 2:44 PM in response to sjolshag

    Same error here! And I didnt even use contact/imessage server in 10.7.4 :-( The migration assistent gave me an error to) Profilemanager, filecharing and OpenDirectory looks OK.

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 3:18 PM in response to sjolshag
    Level 1 (140 points)
    Jul 25, 2012 3:18 PM in response to sjolshag

    Look in /var/log/caldavd/servermgr_calendar.log for "getLocationList" to see if there are any errors.  A successful operation would look something like:

     

    [cal] 7/25/12 3:11:35 PM PDT : calendarServerOperationWithRequest

    [cal] 7/25/12 3:11:35 PM PDT : Sending to utility

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

            <key>command</key>

            <string>getLocationList</string>

    </dict>

    </plist>

     

     

    [cal] 7/25/12 3:11:36 PM PDT : returned from utility

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

            <key>command</key>

            <string>getLocationList</string>

            <key>result</key>

            <array>

                    <dict>

                            <key>AutoSchedule</key>

                            <false/>

                            <key>GeneratedUID</key>

                            <string>1119F7D2-21DA-4453-81F7-54E803F092FC</string>

                            <key>RealName</key>

                            <string>Morgen's test location</string>

                            <key>RecordName</key>

                            <array>

                                    <string>1119F7D2-21DA-4453-81F7-54E803F092FC</string>

                            </array>

                    </dict>

            </array>

    </dict>

    </plist>

     

     

    [cal] 7/25/12 3:11:36 PM PDT : No error from plist parser

    [cal] 7/25/12 3:11:36 PM PDT : Resulting dictionary

    {

        command = getLocationList;

        result =     (

                    {

                AutoSchedule = 0;

                GeneratedUID = "1119F7D2-21DA-4453-81F7-54E803F092FC";

                RealName = "Morgen's test location";

                RecordName =             (

                    "1119F7D2-21DA-4453-81F7-54E803F092FC"

                );

            }

        );

    }

     

     

    Possible problems could include not being able to read /Library/Server/Calendar and Contacts/Data/resources.xml or augments.xml, which is the source of information for the locations/resources list within Server.app.

     

    In a terminal window you could also try using the "calendarserver_manage_principals" utility to list locations, e.g.:

     

    % sudo calendarserver_manage_principals --list-principals locations

    Full name              Record name       UUID

    ---------              -----------       ----

    Morgen's test location 1119F7D2-21DA-4453-81F7-54E803F092FC 1119F7D2-21DA-4453-81F7-54E803F092FC

     

     

    Did you have any resources or locations defined for calendar server within Server.app prior to upgrading?

  • by CeesBerrens,

    CeesBerrens CeesBerrens Jul 25, 2012 3:32 PM in response to ~morgen
    Level 1 (0 points)
    Jul 25, 2012 3:32 PM in response to ~morgen

    Yes, resources and locations were assigned to calendar.

  • by CeesBerrens,

    CeesBerrens CeesBerrens Jul 25, 2012 3:34 PM in response to CeesBerrens
    Level 1 (0 points)
    Jul 25, 2012 3:34 PM in response to CeesBerrens

    And they were assigned prior to the upgrade.

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 3:40 PM in response to noben
    Level 1 (140 points)
    Jul 25, 2012 3:40 PM in response to noben

    What were the migration errors?

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 3:42 PM in response to ~morgen
    Level 1 (140 points)
    Jul 25, 2012 3:42 PM in response to ~morgen

    Look in /Library/Logs/Migration/calendarmigrator.log for calendar server specific migration messages.

  • by noben,

    noben noben Jul 25, 2012 4:03 PM in response to ~morgen
    Level 1 (0 points)
    Jul 25, 2012 4:03 PM in response to ~morgen

    The only logfile in the Library/Logs/Migration/ folder:

     

     

    -------------------------------------------------------------

    Begin Mail Migration: Wed Jul 25 22:09:51 2012

    -------------------------------------------------------------

    purge: 0

    sourceRoot: /Library/Server/Previous

    sourceType: System

    sourceVersion: 10.7.4

    targetRoot: /

    language: sv

    Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    Cant remember the message that the server.app displayed. Just something about not able to complete the migration.

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 4:07 PM in response to noben
    Level 1 (140 points)
    Jul 25, 2012 4:07 PM in response to noben

    Hmm, it sounds like migration exited prior to the calendar script running.  There should be an overall migration log in the /Library/Logs directory called ServerSetup.log I believe.  See if there are any errors there.

  • by noben,

    noben noben Jul 25, 2012 4:15 PM in response to ~morgen
    Level 1 (0 points)
    Jul 25, 2012 4:15 PM in response to ~morgen

    true!

     

    It has lot of "Setup extra succeeded"....., but the file ends with:

     

    22:11:08.912 Setup extra succeeded:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/smbsetup.sh

    RESULT CODE: 0

    STDOUT:

    STDERR:

     

     

    22:11:09.251 Setup extra succeeded:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/webCommonSetup

    RESULT CODE: 0

    STDOUT:

    STDERR:

     

     

    22:11:09.267 Setup extra failed with code 1 at path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/001-migrationExtraServerRestore.pl

    22:11:18.604 touching SetupRegComplete

    22:11:18.604 touching ServerSetupDone

    22:11:18.604 touching PromotionDone

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 4:19 PM in response to noben
    Level 1 (140 points)
    Jul 25, 2012 4:19 PM in response to noben

    Looks like that failed script writes log output to /Library/Logs/Setup.log.  Any errors in there?

  • by noben,

    noben noben Jul 25, 2012 4:23 PM in response to ~morgen
    Level 1 (0 points)
    Jul 25, 2012 4:23 PM in response to ~morgen

    Hm, sorry. I found more errors!

     

    22:09:14.233 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-afctlmigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

     

    22:09:14.306 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-ftpconfigmigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    22:09:14.457 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-natconfigmigrator.pl

    RESULT CODE: 1

    STDOUT: --targetRoot is the key for value /

    --sourceRoot is the key for value /Library/Server/Previous

    --purge is the key for value 1

    --sourceVersion is the key for value 10.7.4

    --sourceType is the key for value System

    --language is the key for value sv

     

     

    22:09:14.571 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-serverperflogconfigmigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    22:09:14.692 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-snmpconfigmigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    22:09:14.763 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-xsannotificationsmigrator.pl

    RESULT CODE: 1

    STDOUT: --targetRoot is the key for value /

    --sourceRoot is the key for value /Library/Server/Previous

    --purge is the key for value 1

    --sourceVersion is the key for value 10.7.4

    --sourceType is the key for value System

    --language is the key for value sv

    sourceVersion := 10.7.4

    Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

     

    22:09:14.836 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/50-vpnconfigmigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

     

    22:09:14.910 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/58_jabbermigrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    22:09:51.870 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/65_mail_migrator.pl

    RESULT CODE: 1

    STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

     

    22:09:53.035 Setup extra failed:

    path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/70_calendarmigrator.py

    RESULT CODE: 2

    STDOUT:

    STDERR: Usage: 70_calendarmigrator.py [options]

     

    70_calendarmigrator.py: error: option --language: invalid choice: 'sv' (choose from 'en', 'fr', 'de', 'ja')

     

     

    Everyone with: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]

    I use Swedish as my language in finder.....

     

    Message was edited by: noben

  • by sjolshag,

    sjolshag sjolshag Jul 25, 2012 5:08 PM in response to noben
    Level 1 (0 points)
    Jul 25, 2012 5:08 PM in response to noben

    However, I use en as my language and the only error I found was

     

    Setup extra failed with code 1 at path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/70_calendarmigrator.py

     

    Only error in /Libaray/Logs/Migration/calendarmigrator.log is:

    calendarmigrator: Jul 25 15:43:58 Can't find previous carddavd plist at /Library/Server/Previous/private/etc/carddavd/carddavd.plist

     

    No relevant errors found in /Library/Logs/Setup.log

  • by ~morgen,

    ~morgen ~morgen Jul 25, 2012 5:11 PM in response to sjolshag
    Level 1 (140 points)
    Jul 25, 2012 5:11 PM in response to sjolshag

    This isn't technically an error, just information:

     

    calendarmigrator: Jul 25 15:43:58 Can't find previous carddavd plist at /Library/Server/Previous/private/etc/carddavd/carddavd.plist

     

    What else is in /Libaray/Logs/Migration/calendarmigrator.log ?

Page 1 of 4 last Next