You didn't post actual error from the log.

Also it's not recommended running kannel as root - potential security risk.

If you're using sqlbox make sure when you inject MT into send_sms specify
sms_type=2.

2012/10/8 sudhir meena <[email protected]>

> Good Evening,
>
>                    When i restart kannel after bearerbox start i start
> sqlbox and at these time bearerbox stops , and these error comes after i
> add store-location in kannel.conf file. so, please help it's very important.
>
> ==========================================================
>
> Error.........
>
> [root@kannel201 sbin]# ./bearerbox kannel.conf &>/dev/null &
> [1] 27124
> [root@kannel201 sbin]# ./sqlbox sqlbox.conf &>/dev/null &
> [2] 27211
> [1]   Exit 1                  ./bearerbox kannel.conf &>/dev/null
>
> ==========================================================
>
> kannel.conf
>
> group = core
> admin-port = 13000
> admin-password = Kannel@123
> status-password = status
> smsbox-port = 13007
> dlr-storage = mysql
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1;192.168.1.*"
> store-type = file
> store-location = "/backup/kannel"
> #store-location = "/backup/kannel1"
> sms-incoming-queue-limit = -1
> log-level = 0
> access-log = /var/log/kannel/bearerbox.access
> log-file = /var/log/kannel/bearerbox.log
>
> group = smsbox
> smsbox-id = sqlbox
> bearerbox-host = localhost
> bearerbox-port = 13007
> sendsms-port = 13131
> log-file = "/var/log/kannel/smsbox.log"
> access-log = /var/log/kannel/smsbox.access
> log-level = 0
>
> #include = "Normal.conf"
> #include = "smsc2.conf"
> #include = "dnd.conf"
> #include = "smsc1.conf"
> #include = "bal.conf"
> #include = "Priority.conf"
> #include = "Pritalna.conf"
> #include = "TM.conf"
> #include = "dndspecial.conf"
> #include = "lnpl.conf"
> #include = "PMU.conf"
> #include = "PM1.conf"
> #include = "TM1.conf"
> #include = "TM.conf"
> #include = "TMU.conf"
> include = "smsc.conf"
>
> group = sendsms-user
> #dlr_url = "http://leads.emailservice.co.in/dlr.aspx?id=1&status=4";
> username = "doza"
> password = "india"
> #concatenation = true
> max-messages = 5
>
> group = mysql-connection
> id = sqlbox-db
> host = localhost
> username = root
> password = redhat
> database = sms_dlr
> max-connections = 5
>
> group = dlr-db
> id = sqlbox-db
> table = kannel_dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>
> group = sms-service
> keyword = default
> #keyword-regex = .*
> catch-all = true
> max-messages = 0
> text = "No service specified"
>
> group = modems
> id = wavecom
> name = "Wavecom"
> #detect-string = "Wavecom"
> detect-string = "wavecom"
> #detect-string2 = ""
> init-string = "ATZ"
> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> message-storage = "SM"
>
>
> Thank You.
>

Reply via email to