2014-05-04 16:58 GMT+04:00 MOSES KARIUKI <kariuk...@gmail.com>:

> I have tried it. I keep getting this error:
>
> checking for Ct-Lib support... no
> checking for FreeTDS Ct-Lib support... no
> checking for gw-config... /etc/kannel/bin/gw-config
> checking Kannel version... 1.5.0
> checking Kannel libs... -L/etc/kannel/lib/kannel -lgw -lwap -lgwlib -lpq
> -lrt -lresolv -lnsl -lm  -lpthread -L/usr/lib/x86_64-linux-gnu -lxml2
> -L/usr/lib
> checking Kannel includes... -I/etc/kannel/include/kannel -g -O2
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
> -I/usr/include/postgresql
> checking for cfg_create in -lgwlib... no
>



> configure: error: Kannel gwlib is required!
>

Install kannel before compiling sqlbox/opensmmpbox.



>
> What do I do now?
>
>
> On Sun, May 4, 2014 at 9:23 AM, Saurabh Pandey <sam.it.develo...@gmail.com
> > wrote:
>
>> The file opensmppbox.c has errors. Use the default opensmppbox pkg which
>> came with the Kannel. You can find that in the same folder:
>>
>> *gateway-1.5.0/addons/opensmppbox*
>>
>>
>> On Sat, May 3, 2014 at 3:17 PM, MOSES KARIUKI <kariuk...@gmail.com>wrote:
>>
>>> Thanks a lot Sam,
>>>
>>> I followed your instructions, and it complied without errors using
>>> PGSQL.
>>> I now want to configure opensmppbox. However, when i compile using the
>>> command
>>> *./configure --prefix=/usr/local/kannel
>>> --with-kannel-dir=/usr/local/kannel*
>>> Downloaded from:
>>> *./configure --prefix=/usr/local/kannel
>>> --with-kannel-dir=/usr/local/kannel*
>>> This is the error I am getting.
>>>  exit 1; f        i
>>> opensmppbox.c: In function ‘send_pdu’:
>>> opensmppbox.c:622:5: warning: passing argument 1 of ‘smpp_pdu_dump’ from
>>> incompatible pointer type [enabled by d        efault]
>>> /etc/kannel/include/kannel/gw/smsc/smpp_pdu.h:237:6: note: expected
>>> ‘struct SMPP_PDU *’ but argument is of type         ‘struct Octstr *’
>>> opensmppbox.c:622:5: error: too many arguments to function
>>> ‘smpp_pdu_dump’
>>> /etc/kannel/include/kannel/gw/smsc/smpp_pdu.h:237:6: note: declared here
>>> opensmppbox.c: In function ‘handle_pdu’:
>>> opensmppbox.c:1513:2: warning: passing argument 1 of ‘smpp_pdu_dump’
>>> from incompatible pointer type [enabled by         default]
>>> /etc/kannel/include/kannel/gw/smsc/smpp_pdu.h:237:6: note: expected
>>> ‘struct SMPP_PDU *’ but argument is of type         ‘struct Octstr *’
>>> opensmppbox.c:1513:2: error: too many arguments to function
>>> ‘smpp_pdu_dump’
>>> /etc/kannel/include/kannel/gw/smsc/smpp_pdu.h:237:6: note: declared here
>>> opensmppbox.c: In function ‘run_smppbox’:
>>> opensmppbox.c:2099:10: warning: cast from pointer to integer of
>>> different size [-Wpointer-to-int-cast]
>>> opensmppbox.c: In function ‘wait_for_connections’:
>>> opensmppbox.c:2156:10: warning: cast to pointer from integer of
>>> different size [-Wint-to-pointer-cast]
>>> opensmppbox.c: In function ‘smppboxc_run’:
>>> opensmppbox.c:2171:12: warning: cast from pointer to integer of
>>> different size [-Wpointer-to-int-cast]
>>> opensmppbox.c: In function ‘check_login’:
>>> opensmppbox.c:288:9: warning: ignoring return value of ‘fscanf’,
>>> declared with attribute warn_unused_result [-Wu        nused-result]
>>>
>>> Thanks,
>>> MT
>>>
>>>
>>>
>>>
>>> On Sat, May 3, 2014 at 7:31 AM, Saurabh Pandey <
>>> sam.it.develo...@gmail.com> wrote:
>>>
>>>> Ok, start again from the begining. Remove all Kannel installations by
>>>> manually deleting files/binaries. Follow these steps exactly and you'd be
>>>> good to go:
>>>>
>>>> 1) download kannel pkg on server from redmine. Enter this command in
>>>> terminal
>>>>
>>>>
>>>> *mkdir /downloads*
>>>>
>>>> *cd /downloads*
>>>>
>>>>
>>>> *wget http://www.kannel.org/download/1.5.0/gateway-1.5.0.zip
>>>> <http://www.kannel.org/download/1.5.0/gateway-1.5.0.zip> *
>>>> 2) Unzip and install Kannel
>>>>
>>>>
>>>> *cd gateway-1.5.0/*
>>>>
>>>> *./configure --prefix=/usr/local/kannel --with-mysql
>>>> --with-mysql-dir=/usr/local/mysql*
>>>>
>>>> *make *
>>>>
>>>>
>>>> *make install*
>>>> 3) Write config file
>>>>
>>>>
>>>> *cd /usr/local/kannel/sbin/*
>>>> *vim kannel.conf     *-- this will open editor and you can copy paste
>>>> conf from sample conf file provided in the pkg and edit according to your
>>>> needs
>>>> Esc+ :wq +Enter     -- Save and exit editor
>>>>
>>>> 4) Start Kannel
>>>> Now since you've created conf file in the same directory as bearerbox
>>>> and smsbox you won't have to provide any paths. so simply enter
>>>> *./bearerbox, *press enter, close the terminal and in new terminal
>>>> session enter
>>>>
>>>> *./smsbox*
>>>> Now this must work for you. Also *"Broken Pipe"* error logged in your
>>>> logs means that the connection was broken which often times i've seen when
>>>> I'm working on my local system and I get disconnected from internet. So you
>>>> might wanna look into that too.
>>>>
>>>> Let me know how it works out.
>>>>
>>>> Cheers
>>>> -Sam
>>>>
>>>>
>>>> On Fri, May 2, 2014 at 8:21 PM, MOSES KARIUKI <kariuk...@gmail.com>wrote:
>>>>
>>>>> That's what is baffling me. I am unable to clear them.
>>>>>
>>>>>
>>>>> On Fri, May 2, 2014 at 5:49 PM, Otandeka Simon Peter <
>>>>> sotand...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> You are almost there.  Just clear out those errors and you are good
>>>>>> to.
>>>>>>
>>>>>> P.
>>>>>>
>>>>>>
>>>>>> @sotandeka
>>>>>> +256 716 801 124
>>>>>> Senior Programmer in VAS Mobile services, ERP, Health and Web-based
>>>>>> Systems.
>>>>>> Experienced Linux System Administrator and Open Source Developer.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, May 2, 2014 at 5:45 PM, MOSES KARIUKI <kariuk...@gmail.com>wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> This is the bearer box log:
>>>>>>>
>>>>>>> 2014-05-02 14:41:49 [1944] [0] ERROR: Couldn't open logfile
>>>>>>> `/var/log/kannel/bearerbox.log'.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] ERROR: System error 2: No such file
>>>>>>> or directory
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: SSL not supported, no SSL
>>>>>>> initialization done.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: HTTP: Opening server at port
>>>>>>> 13000.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 1
>>>>>>> (gwlib/fdset.c:poller)
>>>>>>> 2014-05-02 14:41:49 [1944] [1] DEBUG: Thread 1
>>>>>>> (gwlib/fdset.c:poller) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 2
>>>>>>> (gwlib/http.c:server_thread)
>>>>>>> 2014-05-02 14:41:49 [1944] [2] DEBUG: Thread 2
>>>>>>> (gwlib/http.c:server_thread) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [3] DEBUG: Thread 3
>>>>>>> (gw/bb_http.c:httpadmin_run) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 3
>>>>>>> (gw/bb_http.c:httpadmin_run)
>>>>>>> 2014-05-02 14:41:49 [1944] [2] DEBUG: HTTP: Including port 13000, fd
>>>>>>> 8 for polling in server thread
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: starting smsbox connection
>>>>>>> module
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: BOXC: 'smsbox-max-pending' not
>>>>>>> set, using default (100).
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 4
>>>>>>> (gw/bb_boxc.c:sms_to_smsboxes)
>>>>>>> 2014-05-02 14:41:49 [1944] [4] DEBUG: Thread 4
>>>>>>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 5
>>>>>>> (gw/bb_boxc.c:smsboxc_run)
>>>>>>> 2014-05-02 14:41:49 [1944] [5] DEBUG: Thread 5
>>>>>>> (gw/bb_boxc.c:smsboxc_run) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: Set SMS resend frequency to 60
>>>>>>> seconds.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: SMS resend retry set to
>>>>>>> unlimited.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: MO concatenated message
>>>>>>> handling enabled
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: DLR rerouting for smsc id
>>>>>>> <congoairtel> disabled.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 6
>>>>>>> (gw/smsc/smsc_smpp.c:io_thread)
>>>>>>> 2014-05-02 14:41:49 [1944] [6] DEBUG: Thread 6
>>>>>>> (gw/smsc/smsc_smpp.c:io_thread) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 7
>>>>>>> (gw/bb_smscconn.c:sms_router)
>>>>>>> 2014-05-02 14:41:49 [1944] [7] DEBUG: Thread 7
>>>>>>> (gw/bb_smscconn.c:sms_router) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: starting UDP sender/receiver
>>>>>>> module
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: Adding interface *
>>>>>>> 2014-05-02 14:41:49 [1944] [6] DEBUG: Connecting to <217.113.71.81>
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: udpc_create: Bound to UDP <
>>>>>>> 0.0.0.0:9200>
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 8
>>>>>>> (gw/bb_udp.c:udp_receiver)
>>>>>>> 2014-05-02 14:41:49 [1944] [8] DEBUG: Thread 8
>>>>>>> (gw/bb_udp.c:udp_receiver) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 9
>>>>>>> (gw/bb_udp.c:udp_sender)
>>>>>>> 2014-05-02 14:41:49 [1944] [9] DEBUG: Thread 9
>>>>>>> (gw/bb_udp.c:udp_sender) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: udpc_create: Bound to UDP <
>>>>>>> 0.0.0.0:9201>
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 10
>>>>>>> (gw/bb_udp.c:udp_receiver)
>>>>>>> 2014-05-02 14:41:49 [1944] [10] DEBUG: Thread 10
>>>>>>> (gw/bb_udp.c:udp_receiver) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 11
>>>>>>> (gw/bb_udp.c:udp_sender)
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: starting wapbox connection
>>>>>>> module
>>>>>>> 2014-05-02 14:41:49 [1944] [11] DEBUG: Thread 11
>>>>>>> (gw/bb_udp.c:udp_sender) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [0] ERROR: Missing wapbox-port variable,
>>>>>>> cannot start WAP
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: starting WDP router
>>>>>>> 2014-05-02 14:41:49 [1944] [0] DEBUG: Started thread 12
>>>>>>> (gw/bearerbox.c:wdp_router)
>>>>>>> 2014-05-02 14:41:49 [1944] [12] DEBUG: Thread 12
>>>>>>> (gw/bearerbox.c:wdp_router) maps to pid 1944.
>>>>>>> 2014-05-02 14:41:49 [1944] [12] DEBUG: udp_die: removing producers
>>>>>>> from udp-lists
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO:
>>>>>>> ----------------------------------------
>>>>>>> 2014-05-02 14:41:49 [1944] [0] INFO: Kannel bearerbox II version
>>>>>>> svn-r5089 starting
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 2, 2014 at 5:36 PM, Otandeka Simon Peter <
>>>>>>> sotand...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> 1. Run bearerbox first before running smsbox.... something like
>>>>>>>>     /usr/local/sbin/bearerbox -v 0 /etc/kannel.conf
>>>>>>>>     /usr/local/sbin/smsbox -v 0 /etc/kannel.conf
>>>>>>>> 2. Send us the full log at debug-level zero
>>>>>>>> (/usr/local/sbin/bearerbox -v 0 /etc/kannel.conf)
>>>>>>>> 3. Check that you reach your SMSC at the given port and connection
>>>>>>>> is stable.
>>>>>>>> 4. Also check for file permissions.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> @sotandeka
>>>>>>>> +256 716 801 124
>>>>>>>> Senior Programmer in VAS Mobile services, ERP, Health and Web-based
>>>>>>>> Systems.
>>>>>>>> Experienced Linux System Administrator and Open Source Developer.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, May 2, 2014 at 5:11 PM, MOSES KARIUKI 
>>>>>>>> <kariuk...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>> Bendon,
>>>>>>>>>
>>>>>>>>> In Addition, these are the instructions I followed.
>>>>>>>>>
>>>>>>>>> svn co https://svn.kannel.org/gateway/trunk kannel-1.5
>>>>>>>>> cd kannel-1.5
>>>>>>>>> ./configure --with-mysql --prefix=/usr/local
>>>>>>>>> make
>>>>>>>>> make install
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, May 2, 2014 at 5:10 PM, MOSES KARIUKI <kariuk...@gmail.com
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> #
>>>>>>>>>> # Sample configuration file for Kannel bearerbox on Debian.
>>>>>>>>>> # See the documentation for explanations of fields.
>>>>>>>>>> #
>>>>>>>>>>
>>>>>>>>>> # HTTP administration is disabled by default. Make sure you set
>>>>>>>>>> the
>>>>>>>>>> # password if you enable it.
>>>>>>>>>>
>>>>>>>>>> group = core
>>>>>>>>>> admin-port = 13000
>>>>>>>>>> admin-password =
>>>>>>>>>> admin-deny-ip = "*.*.*.*"
>>>>>>>>>> admin-allow-ip = ""
>>>>>>>>>>  #wapbox-port = 13002
>>>>>>>>>> smsbox-port = 13001
>>>>>>>>>> wdp-interface-name = "*"
>>>>>>>>>> log-file = "/var/log/kannel/bearerbox.log"
>>>>>>>>>> log-level = 0
>>>>>>>>>> box-deny-ip = "*.*.*.*"
>>>>>>>>>> box-allow-ip =
>>>>>>>>>> #dlr-storage = pgsql
>>>>>>>>>>
>>>>>>>>>> #group = wapbox
>>>>>>>>>> #bearerbox-host = localhost
>>>>>>>>>> #log-file = "/var/log/kannel/wapbox.log"
>>>>>>>>>>
>>>>>>>>>> group = smsbox
>>>>>>>>>> bearerbox-host = localhost
>>>>>>>>>> sendsms-port = 13013
>>>>>>>>>> global-sender = 13013
>>>>>>>>>> smsbox-id = box1
>>>>>>>>>> log-file = "/var/log/kannel/smsbox.log"
>>>>>>>>>> log-level = 0
>>>>>>>>>>
>>>>>>>>>>  group = sendsms-user
>>>>>>>>>> username =
>>>>>>>>>> password =
>>>>>>>>>> dlr-url = "
>>>>>>>>>> http://localhost/kannel/dlr_status.php?id=%p&mask=%d&message_id=%F
>>>>>>>>>> "
>>>>>>>>>>
>>>>>>>>>> group = sms-service
>>>>>>>>>> keyword = default
>>>>>>>>>> get-url = "
>>>>>>>>>> http://localhost/kannel/receivesms.php?sender=%p&text=%a&receiverph=%P&smscid=%i
>>>>>>>>>> "
>>>>>>>>>> accept-x-kannel-headers = true
>>>>>>>>>> concatenation = true
>>>>>>>>>> catch-all = true
>>>>>>>>>>
>>>>>>>>>> #group = wapbox
>>>>>>>>>> #bearerbox-host = localhost
>>>>>>>>>> #log-file = "/var/log/kannel/wapbox.log"
>>>>>>>>>>
>>>>>>>>>> group = smsc
>>>>>>>>>> smsc = smpp
>>>>>>>>>> smsc-id =
>>>>>>>>>> host =
>>>>>>>>>> port = 0
>>>>>>>>>> smsc-username =
>>>>>>>>>> smsc-password =
>>>>>>>>>> system-type = VMA
>>>>>>>>>> transceiver-mode = false
>>>>>>>>>> receive-port = 9000
>>>>>>>>>> interface-version = 34
>>>>>>>>>> #connect-allow-ip = 127.0.0.1
>>>>>>>>>> #msg-id-type = 0x00
>>>>>>>>>>
>>>>>>>>>> group = pgsql-connection
>>>>>>>>>> id = mydlr
>>>>>>>>>> host = localhost
>>>>>>>>>> port = 5432
>>>>>>>>>> username = postgres
>>>>>>>>>> password = _123ntGrac0N_
>>>>>>>>>> database = postgres
>>>>>>>>>> max-connections = 1
>>>>>>>>>>
>>>>>>>>>> group = dlr-db
>>>>>>>>>> id = mydlr
>>>>>>>>>> table = tbl_dlr
>>>>>>>>>> field-smsc = smsc
>>>>>>>>>> field-timestamp = _timstamp
>>>>>>>>>> field-destination = destination
>>>>>>>>>> field-source = source
>>>>>>>>>> field-service = _service
>>>>>>>>>> field-url = url
>>>>>>>>>> field-mask = mask
>>>>>>>>>> field-status = status
>>>>>>>>>> field-boxc-id = boxc_id
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, May 2, 2014 at 5:06 PM, Bendon Murgor <
>>>>>>>>>> bendonmur...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Send in your conf file...
>>>>>>>>>>> You may remove the passwords in it
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>> -----------------------------------------
>>>>>>>>>>> Bendon Murgor
>>>>>>>>>>> Sytems Engineer/IT Systems Auditor
>>>>>>>>>>> +254-720-529868
>>>>>>>>>>> Sent from my BlackBerry®
>>>>>>>>>>> ------------------------------
>>>>>>>>>>> *From: * MOSES KARIUKI <kariuk...@gmail.com>
>>>>>>>>>>> *Date: *Fri, 2 May 2014 17:03:53 +0300
>>>>>>>>>>> *To: *Murgor Bendon<bendonmur...@gmail.com>
>>>>>>>>>>> *Cc: *Kannel Users<users@kannel.org>
>>>>>>>>>>> *Subject: *Re: Kannel 1.5 smsbox error
>>>>>>>>>>>
>>>>>>>>>>> THanks Bendon,
>>>>>>>>>>>
>>>>>>>>>>> I have done that. Below is the new error I am getting.
>>>>>>>>>>>
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] DEBUG: Connecting to <127.0.0.1>
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] INFO: Connected to bearerbox at
>>>>>>>>>>> localhost port 13001.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] DEBUG: Started thread 8
>>>>>>>>>>> (gw/heartbeat.c:heartbeat_thread)
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [8] DEBUG: Thread 8
>>>>>>>>>>> (gw/heartbeat.c:heartbeat_thread) maps to pid 1811.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] ERROR: Connection closed by the
>>>>>>>>>>> bearerbox.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] ERROR: Bearerbox is gone,
>>>>>>>>>>> restarting
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] INFO: Received (and handled?) 0
>>>>>>>>>>> requests in 0 seconds (-nan per second)
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] INFO: Kannel smsbox terminating.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [8] ERROR: Error writing 12 octets to
>>>>>>>>>>> fd 45:
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [8] ERROR: System error 32: Broken
>>>>>>>>>>> pipe
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [8] ERROR: Couldn't write Msg to
>>>>>>>>>>> bearerbox.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [8] DEBUG: Thread 8
>>>>>>>>>>> (gw/heartbeat.c:heartbeat_thread) terminates.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] DEBUG: Waiting for 2
>>>>>>>>>>> (gwlib/http.c:server_thread) to terminate
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [3] DEBUG: HTTP: No clients with
>>>>>>>>>>> requests, quitting.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [3] DEBUG: Thread 3
>>>>>>>>>>> (gw/smsbox.c:sendsms_thread) terminates.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [1] DEBUG: Thread 1
>>>>>>>>>>> (gwlib/fdset.c:poller) terminates.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [2] DEBUG: Thread 2
>>>>>>>>>>> (gwlib/http.c:server_thread) terminates.
>>>>>>>>>>> 2014-05-02 14:01:07 [1811] [0] DEBUG: Waiting for 5
>>>>>>>>>>> (gw/smsbox.c:obey_request_thread) to terminate
>>>>>>>>>>>
>>>>>>>>>>> MT
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, May 2, 2014 at 5:02 PM, Bendon Murgor <
>>>>>>>>>>> bendonmur...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Boss, are you sure that is the correct location of your conf
>>>>>>>>>>>> file?
>>>>>>>>>>>> Have you followed the documentation?
>>>>>>>>>>>> Create the kannel.conf in your current working directory and
>>>>>>>>>>>> execute again.
>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>> -----------------------------------------
>>>>>>>>>>>> Bendon Murgor
>>>>>>>>>>>> Sytems Engineer/IT Systems Auditor
>>>>>>>>>>>> +254-720-529868
>>>>>>>>>>>> Sent from my BlackBerry®
>>>>>>>>>>>> ------------------------------
>>>>>>>>>>>> *From: * MOSES KARIUKI <kariuk...@gmail.com>
>>>>>>>>>>>> *Sender: * "users" <users-boun...@kannel.org>
>>>>>>>>>>>> *Date: *Fri, 2 May 2014 16:56:53 +0300
>>>>>>>>>>>> *To: *Kannel Users<users@kannel.org>
>>>>>>>>>>>> *Subject: *Kannel 1.5 smsbox error
>>>>>>>>>>>>
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> I am getting the below error. Please assist. I tried locating
>>>>>>>>>>>> the /etc/default/kannel file but its not there.
>>>>>>>>>>>> root@rzpeiz52m2:/etc/default# /etc/kannel/sbin/smsbox
>>>>>>>>>>>> kannel.conf
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] INFO: Debug_lvl = -1, log_file
>>>>>>>>>>>> = <none>, log_lvl = 0
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] ERROR: fopen failed: couldn't
>>>>>>>>>>>> open `kannel.conf'
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] ERROR: System error 2: No such
>>>>>>>>>>>> file or directory
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC: Failed to load main
>>>>>>>>>>>> configuration file `kannel.conf'. Aborting!
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /etc/kannel/sbin/smsbox(gw_backtrace+0xae) [0x440fee]
>>>>>>>>>>>>  2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /etc/kannel/sbin/smsbox(gw_panic+0x169) [0x441169]
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /etc/kannel/sbin/smsbox(cfg_read+0x5d6) [0x42c826]
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /etc/kannel/sbin/smsbox(main+0x101) [0x40ce21]
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) 
>>>>>>>>>>>> [0x7f485ec5476d]
>>>>>>>>>>>> 2014-05-02 13:46:26 [24447] [0] PANIC:
>>>>>>>>>>>> /etc/kannel/sbin/smsbox() [0x40e3f5]
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Please assist.
>>>>>>>>>>>> MK
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to