Re: kannel-init.d script

Bruno Rodrigues <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
A Ter, 2003-05-13 às 01:19, Mary McCarter escreveu:
> Hi all!
> 
> I have a problem to start the kannel with the init.d script.
> 
> I'm using the kannel 1.3.1, I installed the tar.gz.
> (...)
> But now, I want to do it in with a init.d script. When I installed it with 
> the tar.gz, I didn't get this script in the /etc/init.d; So I copy the 
> script (gateway-13.1/debian/kannel.init) in the /etc/init.d
> 
> When I try to start the kannel I get this error
> 
> [root@kannel init.d]# ./kannel start
> Starting WAP gateway: bearerbox/usr/local/gw/sbin/run_kannel_box: open: 
> /var/run/kannel_bearerbox.pid: Permission denied
>(...)
>     start-stop-daemon --start --quiet \
>         --pidfile $PIDFILES/kannel_bearerbox.pid \
>         --chuid kannel \

That initscript will try to change to kannel user (--chuid kannel) and
thus you need to chown kannel to /var/run/kannel and /var/log/kannel 

--
<br/>
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.