[Kolab-devel] setup-errors on Mageia
Jeroen van Meeuwen (Kolab Systems)
vanmeeuwen at kolabsys.com
Sun Oct 14 20:10:07 CEST 2012
On 2012-10-10 23:44, Thomas Spuhler wrote:
> Oct 10 20:25:04 localhost.localdomain kolabd[6851]: File
> "/usr/lib64/python2.7/os.py", line 157, in makedirs
> Oct 10 20:25:04 localhost.localdomain kolabd[6851]: mkdir(name, mode)
> Oct 10 20:25:04 localhost.localdomain kolabd[6851]: OSError: [Errno
> 13]
> Permission denied: '/var/run/kolabd'
> Oct 10 20:25:04 localhost.localdomain systemd[1]: Failed to start
> Kolab
> Groupware Server..
> Oct 10 20:32:07 localhost.localdomain systemd[1]: Stopped Kolab
> Groupware
> Server..
> Oct 10 20:36:07 localhost.localdomain systemd[1]: Starting Kolab
> Groupware
> Server....
>
> What permission should dir /var/run/kolabd' have?
>
/var/run/kolabd/ is used to write out the pid file into.
If kolabd (the process, not the service) starts as kolab:kolab, it
expects this directory to exist and have kolab:kolab permissions.
You can start kolabd as kolab:kolab from within the service management
(some sysvinit or systemd), while you can also start it as root:root at
which point kolabd itself will setuid/setgid to kolab:kolab - after
creating the /var/run/kolabd/ directory and writing out its pid file.
Kind regards,
Jeroen van Meeuwen
--
Systems Architect, Kolab Systems AG
e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com
pgp: 9342 BF08
More information about the devel
mailing list