Hello, I installed the Kannel port on my FreeBSD box, and it seems like a bug or somethig, I had to manually create the kannel user, and it seems like have to create the pid files as well... this is the error that now I am getting when trying to start Kannel:
Well... I decided to create manually the pid files, and after trying to start the kannel daemon again I got these errors:
Then I chowned the pid files to kannel user and finally the kannel services were started:
The thing now is that each time I restart the box, I get the same "Permission denied" error with the pid files, how can I permanently fix this?
Thanks in advance.
Code:
radius# /usr/local/etc/rc.d/kannel start
Starting kannel_bearerbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_bearerbox.pid: No such file or directory
Starting kannel_smsbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_smsbox.pid: No such file or directory
Starting kannel_wapbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_wapbox.pid: No such file or directory
Well... I decided to create manually the pid files, and after trying to start the kannel daemon again I got these errors:
Code:
radius# /usr/local/etc/rc.d/kannel start
Starting kannel_bearerbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_bearerbox.pid: Permission denied
Starting kannel_smsbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_smsbox.pid: Permission denied
Starting kannel_wapbox.
/usr/local/sbin/run_kannel_box: open: /var/run/kannel/kannel_wapbox.pid: Permission denied
Then I chowned the pid files to kannel user and finally the kannel services were started:
Code:
radius# chown kannel *.*
radius# /usr/local/etc/rc.d/kannel start
Starting kannel_bearerbox.
Starting kannel_smsbox.
Starting kannel_wapbox.
The thing now is that each time I restart the box, I get the same "Permission denied" error with the pid files, how can I permanently fix this?
Thanks in advance.