Discussion:
Kannel Service not starting automatically
Cedar Jet
2018-10-18 04:16:37 UTC
Permalink
Hello,

I've installed kannel via source using svn on Ubuntu 18

When I reboot the server; all kannel services not running automatically
such as bearbox, smsbox & sqlbox.

I found the script already present in the /etc/init.d/kannel

I ran the command ls -ahl /var/run/kannel there is no pid files, I executed
the command of bearbox -v -0 /etc/kannel/kannel.conf & and smsbox -v 0
/etc/kannel/kannel.conf & and now able to see the status via webpage.

I did a service kannel stop; all the mentioned above didn't stop,

Any Idea would be appreciated.

Regards
Willy Mularto
2018-10-18 07:52:36 UTC
Permalink
AFAIK you did the installation twice. First you use .deb and the second
time you use source. I believe the start script belong to .deb. My
suggestion is to check and modify some lines in the script to point to your
installation dir. And make sure it has sufficient privilege. And for the
best result you can write your own start script. Also it is available on
the archives. Thanks.



So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Hello,
I've installed kannel via source using svn on Ubuntu 18
When I reboot the server; all kannel services not running automatically
such as bearbox, smsbox & sqlbox.
I found the script already present in the /etc/init.d/kannel
I ran the command ls -ahl /var/run/kannel there is no pid files, I
executed the command of bearbox -v -0 /etc/kannel/kannel.conf & and smsbox
-v 0 /etc/kannel/kannel.conf & and now able to see the status via webpage.
I did a service kannel stop; all the mentioned above didn't stop,
Any Idea would be appreciated.
Regards
Cedar Jet
2018-10-18 08:00:30 UTC
Permalink
Thanks for the tip!

Should I install via .deb in order to start automatically? regardless the
flag during the compilation

./configure --disable-docs --enable-start-stop-daemon --with-mysql
--with-mysql-dir=/var/lib/mysql

Anyway I will do something similar to the this link
http://rhlinuxdoc.blogspot.com/2012/08/kannel-start-stop-daemon.html

Regards
Post by Willy Mularto
AFAIK you did the installation twice. First you use .deb and the second
time you use source. I believe the start script belong to .deb. My
suggestion is to check and modify some lines in the script to point to your
installation dir. And make sure it has sufficient privilege. And for the
best result you can write your own start script. Also it is available on
the archives. Thanks.
So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Hello,
I've installed kannel via source using svn on Ubuntu 18
When I reboot the server; all kannel services not running automatically
such as bearbox, smsbox & sqlbox.
I found the script already present in the /etc/init.d/kannel
I ran the command ls -ahl /var/run/kannel there is no pid files, I
executed the command of bearbox -v -0 /etc/kannel/kannel.conf & and smsbox
-v 0 /etc/kannel/kannel.conf & and now able to see the status via webpage.
I did a service kannel stop; all the mentioned above didn't stop,
Any Idea would be appreciated.
Regards
Willy Mularto
2018-10-18 09:14:21 UTC
Permalink
As I recommended previously, it's best for you to write your own version of
the script. Simple reason, the target dir and other related things highly
possible different with the .deb result. Search in the archives and you
will find some examples. Thanks.



So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Thanks for the tip!
Should I install via .deb in order to start automatically? regardless the
flag during the compilation
./configure --disable-docs --enable-start-stop-daemon --with-mysql
--with-mysql-dir=/var/lib/mysql
Anyway I will do something similar to the this link
http://rhlinuxdoc.blogspot.com/2012/08/kannel-start-stop-daemon.html
Regards
Post by Willy Mularto
AFAIK you did the installation twice. First you use .deb and the second
time you use source. I believe the start script belong to .deb. My
suggestion is to check and modify some lines in the script to point to your
installation dir. And make sure it has sufficient privilege. And for the
best result you can write your own start script. Also it is available on
the archives. Thanks.
So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Hello,
I've installed kannel via source using svn on Ubuntu 18
When I reboot the server; all kannel services not running automatically
such as bearbox, smsbox & sqlbox.
I found the script already present in the /etc/init.d/kannel
I ran the command ls -ahl /var/run/kannel there is no pid files, I
executed the command of bearbox -v -0 /etc/kannel/kannel.conf & and smsbox
-v 0 /etc/kannel/kannel.conf & and now able to see the status via webpage.
I did a service kannel stop; all the mentioned above didn't stop,
Any Idea would be appreciated.
Regards
Cedar Jet
2018-10-18 09:15:18 UTC
Permalink
Thank you, I will do that.
Post by Willy Mularto
As I recommended previously, it's best for you to write your own version
of the script. Simple reason, the target dir and other related things
highly possible different with the .deb result. Search in the archives and
you will find some examples. Thanks.
So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Thanks for the tip!
Should I install via .deb in order to start automatically? regardless the
flag during the compilation
./configure --disable-docs --enable-start-stop-daemon --with-mysql
--with-mysql-dir=/var/lib/mysql
Anyway I will do something similar to the this link
http://rhlinuxdoc.blogspot.com/2012/08/kannel-start-stop-daemon.html
Regards
Post by Willy Mularto
AFAIK you did the installation twice. First you use .deb and the second
time you use source. I believe the start script belong to .deb. My
suggestion is to check and modify some lines in the script to point to your
installation dir. And make sure it has sufficient privilege. And for the
best result you can write your own start script. Also it is available on
the archives. Thanks.
So Far Express VPN still the fastest
https://www.expressrefer.com/refer-friend?referrer_id=15939000&utm_campaign=referrals&utm_medium=copy_link&utm_source=referral_dashboard
Post by Cedar Jet
Hello,
I've installed kannel via source using svn on Ubuntu 18
When I reboot the server; all kannel services not running automatically
such as bearbox, smsbox & sqlbox.
I found the script already present in the /etc/init.d/kannel
I ran the command ls -ahl /var/run/kannel there is no pid files, I
executed the command of bearbox -v -0 /etc/kannel/kannel.conf & and smsbox
-v 0 /etc/kannel/kannel.conf & and now able to see the status via webpage.
I did a service kannel stop; all the mentioned above didn't stop,
Any Idea would be appreciated.
Regards
Loading...