Re: setup-errors on Mageia

"Jeroen van Meeuwen (Kolab Systems)" <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <f01b342efa6ae03b59db1a4feead6dd3__49382.3880948641$1350238220$gmane$org@kolabsys.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.