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
Install Kolab3 on Jiffybox
Tagged on: