Install Kolab3 on Jiffybox   May 29th, 2013

When running setup-kolab, after a timeout during the set up of the 389 Directory Server, see /var/log/kolab/setup.error.log:

Failed to create semaphore for stats file (/var/run/dirsrv/slapd-kolab.stats). Error 13.(Permission denied)

There was already a mounted tmpfs, but the directory /dev/shm was not writeable for user nobody.

So, before you run setup-kolab, you might want to run:

chmod a+rwx /dev/shm

And to make this lasting for the next reboot, you need to modify the /etc/fstab file: Make sure the line containing /dev/shm looks like this:

tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0

It seems, ls -la /dev/shm still shows wrong permissions, therefore add to /etc/rc.local:

chmod a+w /dev/shm
service dirsrv restart
Tags: ,
This entry was posted on Wednesday, May 29th, 2013 at 2:47 pm and is filed under Software Development. You can follow any responses to this entry through the RSS 2.0 feed.Both comments and pings are currently closed.

No Responses