Lion Server fetchmailconfig Error

Hello
I have a Problem with the Lion Server. There is the same Problem on each Lion Server installation.
When I start fetchmailconfig on Lion Server I become an error messages.
Error:
/usr/bin/python: can't open file '/fetchmailconf.py': [Errno 2] No such file or directory
On Mac OS X Snow Leo Server fetchmailconfig works fine.
Is there a way to repair that error?
Regards
Florian

I had the same issue, and now after some digigng I have the answer.
As you have found the the issue is that fecthmailconf.py is not in the right place (or even on the disk for 10.7.2), and if you look at the script fecthmailconf it pretty much tells you as much since the reference is to fetchmail.py being located at root i.e. exec /usr/bin/python /fetchmailconf.py "$@" = WRONG!.
I copied a version from the web and placed in the directory and it didn't work and showed the same error that you exposed. I suspect the .py file and the 6.3.18 are not matched version of the files required.
What I did was download fetchmail source (6.3.21) & installed the latest version of xcode.
I then cd to the directory I had downloaded and uncompressed the source to and typed the following at the command prompt. (these instructions in long form are in the INSTALL text file with the source)
>$ ./configure --with-ssl
>$ make
This built a new version of fecthmail
>$ sudo make install
This installed the files, however. This caused a issue in that the new version of fetchmail and fecthmailconf where not copied to /usr/bin so i did the following
>$ sudo cp fetchmail /usr/bin/fetchmail
>$ sudo cp fetchmail /usr/bin/fetchmailconf
Then everything worked fine with fetchmailconf.
[That said, I did find that creating my .fetchmailrc and then before calling fecthmail you actually type fetchmail -V at the prompt. fetchmail will tell you how it will interpret the file and gives an indication if you have gone wrong or made a syntax error]
[NOTE: if you want all the features in fetchmail that Apple ship you need to add --with-gssapi --with-kerberos to configure command (if you are not using it though it does not matter) ]

Similar Messages

  • Lion Server VPN error

    I am trying to use the Lion Server VPN function and have all the firewall port opens (500, 1701, 1723, 4500) and cannot get anything to connect either inside or outside of the network.  I keep getting "The L2TP-VPN server did not respond.  Try reconnecting.  If the problem continues, verify your settings and contact your admin".  I checked the log on the server and here is what I find under system log
    Oct 27 21:03:56 www racoon[3529]: Connecting.
    Oct 27 21:03:56 www racoon[3529]: IPSec Phase1 started (Initiated by peer).
    Oct 27 21:03:56 www racoon[3529]: IKE Packet: receive success. (Responder, Main-Mode message 1).
    Oct 27 21:03:56 www racoon[3529]: IKE Packet: transmit success. (Responder, Main-Mode message 2).
    Oct 27 21:03:56 www racoon[3529]: IKE Packet: receive success. (Responder, Main-Mode message 3).
    Oct 27 21:03:56 www racoon[3529]: IKE Packet: transmit success. (Responder, Main-Mode message 4).
    Oct 27 21:03:59 www racoon[3529]: IKE Packet: transmit success. (Phase1 Retransmit).
    Oct 27 21:04:29: --- last message repeated 3 times ---
    Oct 27 21:04:32 www racoon[3529]: IKE Packet: transmit success. (Phase1 Retransmit).
    Then I get the error on the other machine (i.e. iPhone 4S, IMac)
    Have I done searches on google for everything I can think of and can not find a answer, or at least not one that helps me.
    Any help would be greatly appreciated
    Sodak

    If you are using iCloud "Back to my mac", then disable it.
    These services are incompatible.

  • Mountain Lion Server upgrade; "error reading settings"

    Just upgraded to Mountain Lion server and now ALL services have an "error reading settings".
    For example; I select "websites" and I get the message "an error occured on the server while processing a command. teh error occured while processing a command of type 'getWebAppState' in plug-in 'servermgr_web' "
    There are similar errors for every service. I can't turn anything on.
    Server can't even read the Logs. it just sits there with "Loading..." displayed.
    My web site is gone and even the Groups have been gutted.
    I have a backup of my Web site but how to I clean this up so I can even start from scratch  !?!

    I have the final solution and fix but beware you may not like it that much.
    Having had all of the above problems with more or less everything I finally pieced it all together from various threads. This will fix both the AEBS control and the central services problems.  Dont shout at me for being a bit basic and not coding etc. but it worked for me.  If I can avoid code I do as often as possible as am less likely to balls it up!
    This method will loose some data but the main files and users do remain
    The Fix:
    1. Close Server.app
    2. Library/Server  make a copy of Server file under a diff name as software server files and a few others would appear to still be usable and you will have to re download it all again of you dont copy it back in ( I didn't and now have learned my lesson). then delete the whole of the Server file.
    3. Go to Keychain and search all Airport then delete associated keys permissions etc
    4. Delete Server.app and reinstall.
    5. Start new setup and it will migrate properly with no errors. This time a big green tick will appear!
    6. Replace the software update files into the new Library/Server folder if you want to or leave it untill the rest is done
    7 Reconfigure any missing bits..... any enrolled devices will have vanished but probably if you have  saved the data from this in Library/Server prior to deletion you may be able to reinstate this but I didnt risk it
    This is going to be a total pain if in a large organisation but once working the system is excellent with no swapping from one control set to the other.  As each service is switched on it auto configures the AEBS and no further errors and a joy to work with unless you really like to get into the nuts and bolts.
    Hope this helps and good luck

  • Lion server unknown error

    Greetings to all,
    Server app -> Managing SSL Certificate
    I'm trying to generate a self-signed certificate. No success. At the end of the process, I get the following error
    "Unknown Error=-2147409850".
    Can someone help me
    Thank you from Switzerland

    I got this same error number when trying to request a developer certificate from Xcode and Keychan access.
    To solve this I enabled the root user account in OS X and then logged in as the root user. Then I tried again Xcode with no problems this time. I was able to save backups of the certificates so I could use them with my usual user account.
    Maybe just creating another user account and logging in with it could have worked as well.

  • Lion server postfix errors (and mail is NOT configured to run)

    I rebooted my Lion 10.7.1 server today and the logs (kernel and server) started filling up with the following:
    10/8/11 3:46:48.434 PM postfix/master: fatal: fe80::1%lo0:submission: valid hostname or network address required
    10/8/11 3:46:49.000 PM kernel: nstat_lookup_entry failed: 2
    10/8/11 3:46:49.000 PM kernel: nstat_lookup_entry failed: 2
    10/8/11 3:46:49.435 PM com.apple.launchd: (org.postfix.master[490]) Exited with code: 1
    10/8/11 3:46:49.435 PM com.apple.launchd: (org.postfix.master) Throttling respawn: Will start in 9 seconds
    Mail is not configured to run on my server, I've changed nothing on my system, yet the logs are getting bloated with these messages as they repeat every 10 seconds.
    I've checked the LaunchAgents and LaunchServices directories (and the plists in side), StartupItems, etc. I cannot figure out why postfix is constantly attempting to start by itself. It is running for short periods of time because if I time it right, "sudo postfix stop" returns a "stopping postfix"
    Pointers?

    "Instead of hard-coding 127.0.0.1 and ::1 loopback addresses in master.cf, specify
    "inet_interfaces = loopback-only" in main.cf. This way you can use the same master.cf file regardless of whether or not Postfix will run on an IPv6-enabled system."
    Postfix IPv6 Support

  • Unable to open windows database files hosted on Lion Server

    I use Mac Mini as a server. With Snow Leopard Server I shared files hosted on Mac Mini and other PC computers on the network could use together Access and Quickbooks files. After upgrading to Lion Server no PC is able to open these database files. E.g. when opening MS Access file hosted on Lion server following error pops up: "too many users acessing the file". However, the Access database can be open from network PC when opening in exclusive (single user) mode. Normal multiuser mode brings error.
    Is it possible to solve this Lion sharing issue?

    Same problem. Just fired up a new Mini with Lion Server to replace an HP Home Server because we need more than 10 users in our church now. Got all the users set up with group permissions and home directories on the server. Unfortunately I expected Lion Server to work just like Snow Leopard Server and be able to serve up ODBC databases like Access and Quickbooks files.
    Anyone heard if Apple has a solution to the "too many users" error message? It appears that Access in particular attempts to open the data file and create a locking file (ldb), but cannot get the file permissions it needs from Lion.
    Sorry I have no solution for all yet.

  • Regarding mountain lion server: clients experience intermittent service connections. the server system log has the following error- Client handshake failed (6):113: Server not accepting client connections (any ideas???)

    regarding mountain lion server: clients experience intermittent service connections. the server system log has the following error- Client handshake failed (6):113: Server not accepting client connections. any suggestions would be greatly appreciated - thank you

    Hi Jason
    I was getting the same behavior after Apple support had me delete some plist files to get Airplay going. I was also getting the following error:
    the error occurred while processing a command of type 'writesettings' in the plug-in 'server vpn'
    I went into ~/Library/Preferences/ and /Library/Preferences/ and deleted every plist contating the word server. I had to re-set up my server (meaning walk through some intial steps) but all of my settings were still there after that and everything started working again.
    Just a thought, obviously try at your own risk but it worked for me.
    Kellen

  • Error configuring services from Snow Leopard Server to Mountain Lion Server

    I am trying to upgrade a Snow Leopard Server Mac Mini to Mountain Lion Server.
    We have two Mac Mini servers at our office (production and backup) so I migrated the everything from our production server to the backup using the migration assistant when setting up the backup computer.
    I now have the backup at home trying to upgrade it to Mountain Lion Server.  I have downloaded and installed Mountain Lion as well as the Server App version 2.2.  I basically followed the simple directions found in the Apple documentation.
    I started the server app and it got to the part where it said "Upgrading services".  After running for a few minutes, I get a window that states "An error occurred while configuring your server."  It also sayd "The following actions failed or were not attempted:" with a red dot next to "Upgrading services".  The other three items:  "Authenticating to local directory", "Reading directory configuration" and "Authenticating to local directory services" have gray dots so I'm sure they were not even attempted.
    Our Snow Leopard server is setup for SMB file sharing, LDAP services, FTP, Web, DNS, DHCP.
    Can someone point me to where I can figure out what exactly is failing?  Are there specific log files I need to look into?
    Thanks

    Have EXACTLY the same issue - also tried reinstalling mountain lion server fresh and still had the same problem...

  • Mac Lion Server Error 24 Installing Elements 10 DVD or Trial Download

    Error Package Support Uploaded: 00-30402-091818122011
    xit Code: 24
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 18 error(s), 0 warning(s)
    ERROR: DW001: Set payload cancelled status
    ERROR: DW049: Payload {007A2A28-D6A8-4D91-9A2B-568FF8052215} has an action "install" but no resultState
    ERROR: DW049: Payload {0AA9D11A-227D-45AB-A5D5-6F5F6E81D5E3} has an action "install" but no resultState
    ERROR: DW049: Payload {0AF29C46-6E82-4402-9019-8A6BB0F981D4} has an action "install" but no resultState
    ERROR: DW049: Payload {28B74F2E-2E70-4B44-A581-0C19F62A5D6E} has an action "install" but no resultState
    ERROR: DW049: Payload {52411D2C-81DD-442F-81C7-D867F6D73491} has an action "install" but no resultState
    ERROR: DW049: Payload {60CB5C6D-5B99-45D3-BAB5-E7728182101E} has an action "install" but no resultState
    ERROR: DW049: Payload {6A2E619B-E4AC-433B-A648-D458CE543A96} has an action "install" but no resultState
    ERROR: DW049: Payload {6F3A624B-1B72-4081-96E8-23261F389C5C} has an action "install" but no resultState
    ERROR: DW049: Payload {A44863BF-8DB8-4D22-88DB-5A02BE319840} has an action "install" but no resultState
    ERROR: DW049: Payload {BC5880C9-E055-4E57-826A-749E79C498C2} has an action "install" but no resultState
    ERROR: DW049: Payload {BD0D6363-E961-410F-8BF4-ECD8795F3923} has an action "install" but no resultState
    ERROR: DW049: Payload {E6FE3234-EA6D-4F21-AF83-E7279A985CD1} has an action "install" but no resultState
    ERROR: DW049: Payload {EB3A47AA-B4E2-4857-A69C-92A6E097F24C} has an action "install" but no resultState
    ERROR: DW049: Payload {FEA75AFB-4905-43BB-B1D5-5B44D681BFE7} has an action "install" but no resultState
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Camera Profiles Installer: User cancelled installation
    ERROR: DW001: User cancelled the operation

    No I did not cancel the install and I ran it dozens of times.  The solution that was finally successful was to copy the files/folders from the .dmg on the disk to a temporary directory.  I then had to enable the root user which the instructions from Apple for Lion do not work for Lion Server which I have.  I used the
    this command from a terminal window: dsenableroot
    I then ran the sudo from the temporary directory I copied the .dmg files/folders to: sudo Install.app/Contents/MacOS/Install
    This was one of the most frustrating 5 days trying to get this software to load that I've ever had.  The reason I bought a Mac was that I was told Adobe PSE and Photoshop CS runs much better on a Mac and it wasn't running well at all on my nearly 4 year old Lenovo notebook.  I should have learned UNIX commands when I made my employees learn Linux.  I didn't think I'd ever need this knowledge on a Mac but I was wrong.
    You obviously didn't look at the error package I loaded which is posted at the beginning of my post "Error Package Support Uploaded: 00-30402-091818122011".
    It is not very encouraging that I see other users with the same problem and Adobe has not issue a bulletin in the forums about loading PSE on Lion Server.  The existing stock can't obviously be fixed but putting a prominent message on the forums as was done for the install issues with Premiere Elements 10.  I'm pretty disappointed with Adobe at this point.  I hope I will have a better experience once I get my backlog of .raw photos converted to .jpg which is why I bought Photoshop Elements 10.

  • Lion server unable to read settings and errors in logs.

    Having bought Lion Server from the app store yesterday and followed the simple install ... the web server is working ok in that the home page appears, but cannot get wiki server to work.
    Am getting the message "error reading settings" in the right panel of the server app when i select wiki on the left.
    When i look at the logs ... there are repeated errors relating to inability to access this file: "/var/pgsql/postgresql.conf":  
    postgresql.conf": No such file or directory
    Jun 21 05:59:06 macmini com.apple.launchd[1] (org.postgresql.postgres[18601]): Exited with code: 2
    Jun 21 05:59:06 macmini com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
    Jun 21 05:59:16 macmini org.postgresql.postgres[18603]: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
    Jun 21 05:59:16 macmini com.apple.launchd[1] (org.postgresql.postgres[18603]): Exited with code: 2
    Jun 21 05:59:16 macmini com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
    Jun 21 05:59:26 macmini org.postgresql.postgres[18606]: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
    Jun 21 05:59:26 macmini com.apple.launchd[1] (org.postgresql.postgres[18606]): Exited with code: 2
    Jun 21 05:59:26 macmini com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
    Jun 21 05:59:36 macmini org.postgresql.postgres[18608]: postgres_real cannot access the server configuration file "/var/pgsql/postgresql.conf": No such file or directory
    Jun 21 05:59:36 macmini com.apple.launchd[1] (org.postgresql.postgres[18608]): Exited with code: 2
    Jun 21 05:59:36 macmini com.apple.launchd[1] (org.postgresql.postgres): Throttling respawn: Will start in 10 seconds
    Any help would be much appreciated...

    This helps me:
    1st step was to initialize postgres with
    sudo -u _postgres  /usr/bin/pg_ctl initdb -D /var/pgsql
    this created all needed files and folder in /var/pgsql
    2nd step after receiving an error that the PostgreSQL.log could not be written was to chmod the folder
    sudo chown _postgres:_postgres /Library/Logs/PostgreSQL
    3rd step was to initial all databases the server
    cd /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras
    sudo -s
    run all scripts found there:
    CoreCollaborationPostgreSQLExtras.sh
    SetupPodcastWikiPlugin.rb
    WebmailServerSetup.sh
    create_caldavd_db.sh
    create_devicemgr_db.sh
    I'm back and happy now

  • Mountain Lion Server 10.8 DNS ERROR READING SETTINGS

    Hi! Well I changed from windows 2008 server to Mountain Lion Server. So far, I have been able to set up website hosting for one website, and I must say works better than windows server 2008, maybe thats because the mac keeps the drive spun up, while in windows server it was an external drive, whatever the issue mac serves up the site much faster that it comes exploding onto the screen of the searcher.. Then I went to try to set up email, I was totally excited, but I think I did a no no in the dns settings, and now, I cant even see them, I just get "Error Reading Settings" Of course I see things in the log that I should undo, but I cant access the DNS settings at all. Any ideas how I can get to the dns settings so I can undo my booboo? Now it has streched its error self into the file sharing, and I cant access those settings anymore either, so that means I cant set up other websites because I cant give permission to view those folders. I also just got another err saying "Multiple errors occured on this server while processing commands. Just exactly what the heck did I do? I must have REALLY SCREWED THIS THING UP! Also strangely Safari browser no longer acceses the web from the server computer. I THINK I KILLED IT.
    Any Ideas?
    Thanks I really appreciate any tips, I havent got to calendar or vpn, or any fun stuff yet.. Or maybe it might not be fun at all? hahahahahaa!
    Thanks

    I've gotten into this mess as well and Apple solved it for me.
    The Server should be able too lookup itself so running DNS is a good thing, actually the server sets up DNS at install time if it can't find a server to serve it's DNS so it can lookup itself.
    The main error in my case was that there wasn't a NS record pointing the machine itself and that there were some firewall rules preventing DNS lookups. Since there is no way to edit the firewall rules via GUI the engineer manually changed some stuff, but wasn't sure where the problem lies exactly, so he passed it on to another engineer.
    At this point I was already forced to switch to Google Apps for Business and my website was already running at GoDaddy, at much lesser costs and to much lesser frustration I might add.
    Let's face it, Apple has to deliver a better product with the old Server Admin back into place for those who want it for the extra control.
    My servers were running great with Lion (eventually), but Apple just had to remove Server Admin from OS X Server... #their_loss

  • Win7 Offline Files sync error after upgrade to Lion Server 10.7.2

    Symptom: client is a Win7 laptop, the server is Mac OS X 10.7.3 Lion Server with SMB and AFP shares. Win7 Offline Files stopped working after I upgraded Snow Leopard (non-server version) to Lion Server 10.7.2. After updating to 10.7.3, the problem persists. When syncing, it gives thounsands of error like this: The process cannot access the file because it is being used by another process. WinXP clients are fine with the Offline Files function though.
    I Googled and studied online for several days now and it might be related to the "Oppurtunistic Locking", or "Oplocks" for short, in the SMB protocol. Since Apple has re-written Samba, there's no "smb.conf" anymore to change the Oplocks setting. Maybe it's possible to change the setting in "com.apple.smb.server.plist"?
    From the Internet:
    1. Oplocks should be DISABLED on the server if there is any other file sharing protocol (AFP, etc.) other than SMB.
    2. Offline Files will NOT work properly if Oplocks is disabled on the server side.
    3. It was possible to config oplocks setting in smb.conf in Mac OS X versions prior to Lion but now there's no such config file.
    My Question:
    1. Does anyone else have similar problems?
    2. Is it related to the Oppurtunistic Locking thing?
    3. Is Oppurtunistic Locking enabled or disabled in Lion Server by default?
    4. If it's related to Oplocks, how can I change the setting on the server?
    5. I've noticed that the authentication from Windows PCs to the SMB share on the Lion Server is much slower then in SL. Could this somehow be related to my problem?
    Thanks for your time! :-D

    Any luck getting the info on SMBX parameters like OPLOCKS ? This is apparently causing an issue with Autodesk Revit. I am resorting to installing SMBUP.
    There is an article that describes this method for altering the Lion smbd configuration parameters for honoring ACLs:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool NO
    from this article
    http://support.apple.com/kb/TS4149
    and this:
    http://www.stanford.edu/group/macosxsig/blog/2011/08/enable-logging-with-107-smb x-w.html

  • Lion Server and TimeMachine Error 13

    Hello,
    I have a problem with a Lion Server and TimeMachine service.  I have enabled the service and selected a volume for it.  The server creates the share and does not report aby errors.  If I go to a client machine and open TM I can see the "Backups" share and select it.  The users credentials are validated witout a problem but when the backup is started it will end with the error "Cannot create sparseimage error 13"
    I have checked that the share is visible to the client machine and the client has write permissions for the share.
    Any ideas why this is happening?
    MM

    Hello,
    I have a problem with a Lion Server and TimeMachine service.  I have enabled the service and selected a volume for it.  The server creates the share and does not report aby errors.  If I go to a client machine and open TM I can see the "Backups" share and select it.  The users credentials are validated witout a problem but when the backup is started it will end with the error "Cannot create sparseimage error 13"
    I have checked that the share is visible to the client machine and the client has write permissions for the share.
    Any ideas why this is happening?
    MM

  • I installed Lion Server and when I click on the Profile Manager I get an error and nothing shows - I can't figure out how to re install Lion Server to fix this - any ideas

    I installed Lion Server on my Mac Pro.  Everything looked to be working until I checked Profile Manager and I get an error message "Error Reading Settings"  Not sure how to fix it.  Tried to download Server agian but can't.

    Look at /usr/lib/libpq library. I have had the same problem. There were following files:
    -rwxr-xr-x  1 root  wheel  163680 30 jul 21:17 /usr/lib/libpq.5.4.dylib
    lrwxr-xr-x  1 root  wheel      15 30 jul 21:20 /usr/lib/libpq.dylib -> libpq.5.4.dylib
    Result for command sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh was:
    Password:
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    Couldn't drop device_management : #<RuntimeError: Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backen d/vendor/gems/pg-0.9.0/lib/pg_ext.bundle, 9): Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle
      Reason: image not found - /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle)>
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (dlopen(/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backen d/vendor/gems/pg-0.9.0/lib/pg_ext.bundle, 9): Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle
      Reason: image not found - /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /gems/pg-0.9.0/lib/pg_ext.bundle)
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/activerecord/lib/active_record/connection_adapters/abstract/connection_spe cification.rb:76:in `establish_connection'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/railties/lib/tasks/databases.rake:69:in `create_database'
    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor/ rails/railties/lib/tasks/databases.rake:31
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 636:in `call'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 636:in `execute'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 631:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 631:in `execute'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 597:in `invoke_with_call_chain'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor. rb:242:in `synchronize'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 590:in `invoke_with_call_chain'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 583:in `invoke'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2051:in `invoke_task'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `each'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2029:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2068:in `standard_exception_handling'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2023:in `top_level'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2001:in `run'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 2068:in `standard_exception_handling'
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rake.rb: 1998:in `run'
    /usr/bin/rake:31
    Couldn't create database for {"adapter"=>"postgresql", "username"=>"_devicemgr", "encoding"=>"UTF8", "pool"=>5, "database"=>"device_management"}
    devicemgr:state = "STARTING"
    There was missing symlink to right version of libpq dynamic library!
    After I entered the following commands and now it works well for me:
    $ cd /usr/lib
    $ sudo ln -s libpq.5.4.dylib libpq.5.dylib
    $ sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh
    devicemgr:state = "STOPPED"
    postgres:state = "RUNNING"
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    (in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend)
    devicemgr:state = "RUNNING"
    Milan

  • Lion Server Profile Management error reading settings

    After starting up Lion Server the profile management pane showed an error. It is also not possible to login via de browser to the profile manager. How can I fix this? Using the default httpd.conf file did not help.
    This is one of the many problems I have with Lion server that does not work as expected. So if someone has a solution to remove all profile settings from my client MBP than I can try to revert back to Lion on my server also.
    I hope this question is also read by someone of apple as this is not the quality I expected from apple. It lacks decent documentation and the setup of Portable Home Users is not possible. I thought apple product were self explaining and intuitive. This reminds me of the old Windows days: sitting days to figure it out and use a lot of terminal commands.

    Did you ever find a resolution? If not then this might help Server: An error with code -1 occurred while setting up Device Management

Maybe you are looking for