[OpenSIPS-Users] running opensips under another user

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Thu Feb 24 10:07:25 CET 2011


Hi.

I've made a user opensips with group opensips and with shell nologin.
Also, I've created /var/run/opensips with opensips::opensips and access mode
775

Next, running openSIPS with -u opensips -g opensips -P
/var/run/opensips/opensips.pid
And opensips failed to start with:

ERROR:core:daemonize: unable to create pid file
/var/run/opensips/opensips.pid: Permission denied


A command "sudo -u opensips touch /var/run/opensips/opensips1.pid" works
well.

What I'm doing wrong?



WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru
www.oyster-telecom.ru







More information about the Users mailing list