Something is wrong.
Instagram token error.

Installing Lithium and Daylite Server on the same computer

Posted: February 26th, 2010 | Author: | Filed under: Mac OS X Server | 3 Comments »

I just battled this for the last three days and finally have a solution. If you’re like me, you don’t have 16 different Mac OS X server boxes in your infrastructure. You have one. I was using Lithium as a monitoring tool and recently have decided into install Daylite server so I can keep track of clients, sales leads, and what not.

After installing Daylite Server, the app would not run. Daylite kept exiting saying that it could not initialize the data storage environment and quoting an “error 300.” What I figured out thanks to James over at Lithium and Kamil from is Lithium has a post-flight script that jams a bunch of sysctl options into /etc/sysctl.conf. I erased those options, restarted my Mac OS X server and Daylite began to run afterwards.

I do not yet know the impact this has on Lithium, perhaps I could get James over at Lithium to comment on this.


UPDATE: Ok just so you know, once the daylite database was created and setup I placed the sysctl options back in place and restarted my server, both lithium and daylite are A-OK.

Here’s the options to place back in, just copy and paste to a command line.

echo "" >> /etc/sysctl.conf echo "#Lithium 5.0.0 sysctl.conf additions" >> /etc/sysctl.conf echo "kern.sysv.shmmax=524288000" >> /etc/sysctl.conf echo "kern.sysv.shmmin=1" >> /etc/sysctl.conf echo "kern.sysv.shmmni=64" >> /etc/sysctl.conf echo "kern.sysv.shmseg=16" >> /etc/sysctl.conf echo "kern.sysv.semmns=130" >> /etc/sysctl.conf echo "kern.sysv.shmall=131072000" >> /etc/sysctl.conf echo "kern.sysv.maxproc=4096" >> /etc/sysctl.conf echo "kern.maxprocperuid=1024" >> /etc/sysctl.conf

Hey MarketCircle! It would be really great to get someone on your inside to follow up with me and resolve my unhappiness with your product support. I’d really appreciate a discount on the software because despite this hiccup I must say Daylite is amazing and I would love to deploy it in my infrastructure.

3 Comments on “Installing Lithium and Daylite Server on the same computer”

  1. 1 James Wilson said at 9:13 pm on February 27th, 2010:

    With those lines removed from the sysctl, so long as Lithium Core starts properly and is operating you should be free of any further issue.

    To clarify, those extra lines are added as performance tweaks for large Lithium installations and they were also somewhat of a prerequisite for older versions to run on Mac OS X 10.5.

    Let me know if you do run into any problem and we can work on a solution that keeps both Lithium and Daylite working.

  2. 2 Luis said at 4:12 am on April 3rd, 2010:

    I had Daylite first – and hadn’t logged into it after my Lithium install, so hadn’t noticed it not working until DL Server Admin sent a backup failure notification.

    Great Info – much appreciated.

  3. 3 Abe said at 6:23 am on July 20th, 2010:

    It would be far better if Apple updated their antiquated Unix settings up to 21st century standards; then developers wouldn’t have to create hacks to get postgres to run on OS X and wouldn’t end up stepping on each other’s shoes.

Leave a Reply