Since you could get kannel to work by manually starting the apps from /usr/bin 
then kannel installed/compiled properly. And if the manual start is also using 
same config, then at the least, the config is fine for the functionalities you 
specified. The problem the seemed to point to your init script.

Check your init script. Does kannel have permission to write to the PID files 
location? On one of my installations (if I remember well, using Ubuntu), I had 
to modify the init script to check if the pid folder exists, if not, create it, 
and set permissions for kannel to write to it by chown to kannel preferably to 
chmoding to 777. That solved the problem for me in that case.

You might want to test that this is the case for you first by manually creating 
the pid folder, in my case it was /var/run/kannel. Then, chown kannel 
/var/run/kannel. Then, service kannel start.

If this doesn't work, you may want to share your /var/log/kannel/bearerbox.log 
& smsbox.log content. It will reveal more, provided your init is starting the 
services with enough verbosity to reveal more info.

Hope this helps?

BR,
Olu

Vedat Coskun <vedat.cos...@lebara.com> wrote:

>HiAll,IthinkImhavingabitofaproblemwiththeKannelstart-upscript.WhenImanuallystartthebearerboxandsmsboxfrom/usr/sbin,bothseemtoworkandIcansendSMS.HoweverwhenIusetheinit.dscripteventhoughtheoutputsaysbothbearerboxandsmsboxhasstarted,servicekannelstatustellsmeneitherareworking.Therearenologsprintedeither.IinstalledKannelusingyumonaCentOS6.5virtualmachine.ThelatestavailableversionofitisVersion:1.4.3Release:5.el6.Imalsopastingtheconfigfilebelowandwouldappreciateifanyonecanhelp.Thanks#LebaraTalkkannelconfigurationfilegroup=coreadmin-port=13000admin-password=***status-password=***admin-deny-ip=*.*.*.*admin-allow-ip=127.0.0.1smsbox-port=13001#wapbox-port=13002box-deny-ip=*.*.*.*box-allow-ip=127.0.0.1wdp-interface-name=*log-file=/var/log/kannel/bearerbox.loglog-level=5#SMSCConfigurationgroup=smscsmsc=smppsmsc-id=RHELhost=ipport=porttransceiver-mode=yessmsc-username=****smsc-password=***system-type=RHELinterface-version=0x34source-addr-ton=1source-addr-npi=1dest-addr-ton=1dest-addr-npi=1#SMSBoxConfigurationgroup=smsboxbearerbox-host=127.0.0.1sendsms-port=13013global-sender=13013sendsms-chars=0123456789-log-file=/var/log/kannel/smsbox.loglog-level=5access-log=/var/log/kannel/access.log#SMSAPIConfigurationgroup=sendsms-userusername=usernamepassword=***default-smsc=RHELThisemailisconfidentialandmaybesubjecttoprivilege.Ifyouarenottheintendedrecipient,pleasedonotcopyordiscloseitscontentbutcontactthesenderimmediatelyuponreceipt.

Reply via email to