Upgrading Kannel from version 1.4.2 to 1.5.0
I have the following statement on my kannel:
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Thanks Bendon, What happens if I dont purge? On Fri, May 2, 2014 at 1:13 PM, Bendon Murgor bendonmur...@gmail.comwrote: Get the latest stable release for 1.5.0 and do a clean install buy purging the old one. 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 13:07:31 +0300 *To: *Kannel Usersusers@kannel.org *Subject: *Re: Upgrading Kannel from version 1.4.2 to 1.5.0 Hi all, Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. Thanks, MK On Fri, May 2, 2014 at 1:03 PM, MOSES KARIUKI kariuk...@gmail.com wrote: I have the following statement on my kannel:
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox
Kannel restart Issues
Hello everyone, lately I am facing couple of issues with Kannel. There never occurred before, but from past couple of months I am facing this problem: 1.) When I restart Kannel (either from Kannel monitor or status page) it hangs in the middle. I mean when I check the status page, it says Going down and it remains as it is no matter I give it 2-3 hours. 2.) When I restart kannel, bearerbox comes up successfully but often times smsbox doesn't come up automatically. I have to explicitly start SMSbox from terminal. Are these known issues? Anybody else faced these? Any patch available for them? Please advise. Thanks in advance -Sam
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Thanks for you assistance. After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. Thanks, Moses On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Deamonize the application by using the at the end of execution path tab delimited. This is not so good when your server goes down you will need to execute it again. Best Regards, - Bendon Murgor Sytems Engineer/IT Systems Auditor +254-720-529868 Sent from my BlackBerry® -Original Message- From: MOSES KARIUKI kariuk...@gmail.com Date: Fri, 2 May 2014 14:35:20 To: Kannel Usersusers@kannel.org; Murgor Bendonbendonmur...@gmail.com Subject: Re: Upgrading Kannel from version 1.4.2 to 1.5.0 Thanks for you assistance. After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. Thanks, Moses On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Use the kannel deamon (check the kannel manual) or alternatively run a shell script. I set mine to run in /etc/inittab or systemd. @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 2:35 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks for you assistance. After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. Thanks, Moses On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Sorry for bothering you, what do you suggest? I wan the process to run in the background so that even when I close the terminal, it is still running. On Fri, May 2, 2014 at 2:41 PM, Bendon Murgor bendonmur...@gmail.comwrote: Deamonize the application by using the at the end of execution path tab delimited. This is not so good when your server goes down you will need to execute it again. 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 14:35:20 +0300 *To: *Kannel Usersusers@kannel.org; Murgor Bendonbendonmur...@gmail.com *Subject: *Re: Upgrading Kannel from version 1.4.2 to 1.5.0 Thanks for you assistance. After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. Thanks, Moses On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Milan/Murgor, I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? MK On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
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
Re: Kannel 1.5 smsbox error
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® -Original Message- From: MOSES KARIUKI kariuk...@gmail.com Sender: users users-boun...@kannel.orgDate: Fri, 2 May 2014 16:56:53 To: Kannel Usersusers@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
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.comwrote: 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 Usersusers@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
Re: Kannel 1.5 smsbox error
# # 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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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.comwrote: 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 Bendonbendonmur...@gmail.com *Cc: *Kannel Usersusers@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.comwrote: 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 Usersusers@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
Re: Kannel 1.5 smsbox error
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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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.comwrote: 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 Bendonbendonmur...@gmail.com *Cc: *Kannel Usersusers@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.comwrote: 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 Usersusers@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.
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Re: Kannel 1.5 smsbox error
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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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.comwrote: 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 Bendonbendonmur...@gmail.com *Cc: *Kannel Usersusers@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.comwrote: Boss, are you sure that is the correct location of your conf
Re: Kannel 1.5 smsbox error
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.comwrote: 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.comwrote: # # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields.
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi Milan, I am unable to uninstall kannel. Thanks, Moses On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on) -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on) -- Kind regards, Milan -- Arvanta,http://www.arvanta.net Please do not send me e-mail containing HTML code or documents in proprietary format (word, excel, pps and so on)
Error Running Kannel
Hi All, Below is the error I am getting after running : /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field 'keyword'. 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b] please assist
Re: Error Running Kannel
I would start by sharing the configuration with the list... you're obviously doing something wrong (e.g. putting a keyword config entry on the [smsc] group). On Fri, May 2, 2014 at 4:26 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Hi All, Below is the error I am getting after running : /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field 'keyword'. 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b] please assist
Re: Error Running Kannel
Hi, i have downloaded gateway 1.5.0. After ./configuring, making and make install with binding path, i get the above error. Below is my config. # # 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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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 = password = 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 10:30 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: I would start by sharing the configuration with the list... you're obviously doing something wrong (e.g. putting a keyword config entry on the [smsc] group). On Fri, May 2, 2014 at 4:26 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Hi All, Below is the error I am getting after running : /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field 'keyword'. 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b] please assist
Re: Error Running Kannel
Hrm, maybe you have a problem with the newlines being garbled? What's on line 63? On Fri, May 2, 2014 at 4:39 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Hi, i have downloaded gateway 1.5.0. After ./configuring, making and make install with binding path, i get the above error. Below is my config. # # 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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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 = password = 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 10:30 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: I would start by sharing the configuration with the list... you're obviously doing something wrong (e.g. putting a keyword config entry on the [smsc] group). On Fri, May 2, 2014 at 4:26 PM, MOSES KARIUKI kariuk...@gmail.comwrote: Hi All, Below is the error I am getting after running : /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field 'keyword'. 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b] please assist
Re: Error Running Kannel
basically, I want to compile kannel with pgsql and with open smpp box. I had installed kannel by apt-get-ing. I uninstalled it. I want to install kannel 1.5 as a service. But apparently is a not as easy as it seemed. Is there a step by step instruction that I can follow? Please advise. And whats wrong with installing a .deb kannel? On Fri, May 2, 2014 at 11:01 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Hrm, maybe you have a problem with the newlines being garbled? What's on line 63? On Fri, May 2, 2014 at 4:39 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Hi, i have downloaded gateway 1.5.0. After ./configuring, making and make install with binding path, i get the above error. Below is my config. # # 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=%pmask=%dmessage_id=%F; group = sms-service keyword = default get-url = http://localhost/kannel/receivesms.php?sender=%ptext=%areceiverph=%Psmscid=%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 = password = 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 10:30 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: I would start by sharing the configuration with the list... you're obviously doing something wrong (e.g. putting a keyword config entry on the [smsc] group). On Fri, May 2, 2014 at 4:26 PM, MOSES KARIUKI kariuk...@gmail.comwrote: Hi All, Below is the error I am getting after running : /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field 'keyword'. 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2014-05-02 19:21:14 [8296] [0] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b] please assist
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi Milan, Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 13:07, MOSES KARIUKI wrote: Sorry for the error. I have the following statement on my installed kannel interface: Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00 I need to install OpenSMPPBox so that I can support as SMPP server. I installed it using the apt-get command. Please assist me with notes/info to upgarde to Kannel 1.5.0 so that I can install openSMPPBox. To install .deb packages go to: https://redmine.kannel.org/projects/kannel/files Files are not 'apt-get'-able (sorry, I don't have fast link where I can put repository) but have to be installed using dpkg (man dpkg). You have to install kannel-dev_1.5.0-0_amd64.deb and after that to compile/install opensmppbox -- Kind regards, Milan -- Arvanta,http://www.arvanta.net
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down. If you download it and install from deb files (link in my original mail) you will find file /etc/default/kannel which you have to edit to enable or disable smsbox and wapbox. After that you can start and stop kannel using CLI command: /etc/init.d/kannel start or to stop it: /etc/init.d/kannel start Kannel will 'run as a service' i.e. in daemon mode. On Fri, May 2, 2014 at 1:39 PM, Milan P. Stanic
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 14:35, MOSES KARIUKI wrote: After purging the previous Kannel, I have been able to install using make install. I am using Ubuntu. The bearerbox is running fine. But Once I shut down the Terminal, it shuts down the Kannel. I would like to know how I can run kannel as a service such that when I close the terminal, kannel wont shut down.
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Fri, 2014-05-02 at 23:50, MOSES KARIUKI wrote: Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 I don't know much about Ubuntu but from above looks like you should install amd64 variant and not i386 of the packages, but I'm not sure because in your previous mail (see below) when you tried i386 variant dpkg didn't complained about architecture. On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb (if you want to install development files) dpkg will complain (probably) that dependencies are not satisfied but ignore that and start aptitude or synaptic (or appropriate package manager) and install missing dependencies (packages which are required for kannel). After that you should have to configure/edit files in /etc/kannel/ according your need. These steps are for Debian based distributions and not for RH/Centos. On Fri, May 2, 2014 at 2:43 PM, Milan P. Stanic m...@arvanta.net wrote:
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi, these are my results: dpkg -i kannel-dev_1.5.0-0_amd64.deb Selecting previously unselected package kannel-dev. (Reading database ... 84200 files and directories currently installed.) Unpacking kannel-dev (from kannel-dev_1.5.0-0_amd64.deb) ... Setting up kannel-dev (1.5.0-0) ... Processing triggers for man-db ... But when i check, there is no kannel file under /etc/default On Fri, May 2, 2014 at 11:56 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:50, MOSES KARIUKI wrote: Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 I don't know much about Ubuntu but from above looks like you should install amd64 variant and not i386 of the packages, but I'm not sure because in your previous mail (see below) when you tried i386 variant dpkg didn't complained about architecture. On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote: I followed this instructions but I used gateway version 1.5.0. However, I cant find the kannel file under default. Do i have to uninstall it and Install from Milan's dpkg in the link? If you don't have experience in compiling software yourself it would be a lot easier for you to download files I mentioned earlier and install them 'by hand'. Files at: https://redmine.kannel.org/projects/kannel/files are built for Debian Squeeze, but they work on Ubuntu and other derivative distributions which are based on Squeeze release and later Debian (wheezy). I think they should work on the last few versions of Ubuntu, also. First, you have to remove whatever kannel files you installed/compiled and then install .deb files by hand. For example: dpkg -i kannel_1.5.0-1_amd64.deb dpkg -i kannel-dev_1.5.0-1_amd64.deb
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
On Sat, 2014-05-03 at 00:11, MOSES KARIUKI wrote: Hi, these are my results: dpkg -i kannel-dev_1.5.0-0_amd64.deb Selecting previously unselected package kannel-dev. (Reading database ... 84200 files and directories currently installed.) Unpacking kannel-dev (from kannel-dev_1.5.0-0_amd64.deb) ... Setting up kannel-dev (1.5.0-0) ... Processing triggers for man-db ... But when i check, there is no kannel file under /etc/default Of course, because you installed just development package. It contains headers and libraries needed to compile/build opensmppbox (and some other packages which uses kannel libraries). If you want to install kannel servers (bearerbox, smsbox, wapbox) you have to install kannel_1.5.0-0_amd64.deb packages. Then you will find /etc/default/kannel file, /etc/kannel directory with config files, and /etc/init.d/kannel script which starts and stops kannel at the boot (but can be invoked manually, also). FYI, I just built kannel deb packages for Wheezy distro and as a bonus opensmppbox deb package. If someone allow me to upload them somewhere it would be accessible to all, not only to me. And, I can build complete apt-get-able repository if someone are ready and have resources to host that repository. On Fri, May 2, 2014 at 11:56 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:50, MOSES KARIUKI wrote: Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 I don't know much about Ubuntu but from above looks like you should install amd64 variant and not i386 of the packages, but I'm not sure because in your previous mail (see below) when you tried i386 variant dpkg didn't complained about architecture. On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 18:23, MOSES KARIUKI wrote: HI Milan, This is the error I am getting: dpkg: error processing kannel-dev_1.5.0-0_amd64.deb (--install): kannel-dev: 1.5.0-0 (Multi-Arch: no) is not co-installable with kannel-dev:i386 1.5.0-0 (Multi-Arch: no) which is currently installed Please assist. Looks like you have i386 arch installed. Download i386 files instead of amd64 and try to install them. But, first you must uninstall currently installed packages. MT On Fri, May 2, 2014 at 5:19 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 15:53, MOSES KARIUKI wrote:
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi Milan, You have been very helpful. I was able to install the However, I got the following error: root@rzpeiz52m2:/etc/kannel# sudo smsbox -v 0 /etc/kannel/kannel.conf 2014-05-02 22:56:36 [1507] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 22:56:36 [1507] [0] ERROR: Group 'sms-service' may not contain field 'log-level'. 2014-05-02 22:56:36 [1507] [0] ERROR: Error found on line 45 of file `/etc/kannel/kannel.conf'. What im I doing wrong? Please share the deb package for Wheezy. Maybe it might help. Thanks, MT On Sat, May 3, 2014 at 12:25 AM, Milan P. Stanic m...@arvanta.net wrote: On Sat, 2014-05-03 at 00:11, MOSES KARIUKI wrote: Hi, these are my results: dpkg -i kannel-dev_1.5.0-0_amd64.deb Selecting previously unselected package kannel-dev. (Reading database ... 84200 files and directories currently installed.) Unpacking kannel-dev (from kannel-dev_1.5.0-0_amd64.deb) ... Setting up kannel-dev (1.5.0-0) ... Processing triggers for man-db ... But when i check, there is no kannel file under /etc/default Of course, because you installed just development package. It contains headers and libraries needed to compile/build opensmppbox (and some other packages which uses kannel libraries). If you want to install kannel servers (bearerbox, smsbox, wapbox) you have to install kannel_1.5.0-0_amd64.deb packages. Then you will find /etc/default/kannel file, /etc/kannel directory with config files, and /etc/init.d/kannel script which starts and stops kannel at the boot (but can be invoked manually, also). FYI, I just built kannel deb packages for Wheezy distro and as a bonus opensmppbox deb package. If someone allow me to upload them somewhere it would be accessible to all, not only to me. And, I can build complete apt-get-able repository if someone are ready and have resources to host that repository. On Fri, May 2, 2014 at 11:56 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:50, MOSES KARIUKI wrote: Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 I don't know much about Ubuntu but from above looks like you should install amd64 variant and not i386 of the packages, but I'm not sure because in your previous mail (see below) when you tried i386 variant dpkg didn't complained about architecture. On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Errors were encountered while processing: kannel-dev:i386 Moses On Fri, May 2, 2014 at 6:41 PM, Milan P. Stanic m...@arvanta.net wrote:
Re: Upgrading Kannel from version 1.4.2 to 1.5.0
Hi Milan, Sorry for that. The copy of config files was deleting empty lines. I managed to clear it. Please guide me in configuring opensmppbox on the kannel. Thanks, Moses On Sat, May 3, 2014 at 2:13 AM, MOSES KARIUKI kariuk...@gmail.com wrote: Hi Milan, You have been very helpful. I was able to install the However, I got the following error: root@rzpeiz52m2:/etc/kannel# sudo smsbox -v 0 /etc/kannel/kannel.conf 2014-05-02 22:56:36 [1507] [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2014-05-02 22:56:36 [1507] [0] ERROR: Group 'sms-service' may not contain field 'log-level'. 2014-05-02 22:56:36 [1507] [0] ERROR: Error found on line 45 of file `/etc/kannel/kannel.conf'. What im I doing wrong? Please share the deb package for Wheezy. Maybe it might help. Thanks, MT On Sat, May 3, 2014 at 12:25 AM, Milan P. Stanic m...@arvanta.net wrote: On Sat, 2014-05-03 at 00:11, MOSES KARIUKI wrote: Hi, these are my results: dpkg -i kannel-dev_1.5.0-0_amd64.deb Selecting previously unselected package kannel-dev. (Reading database ... 84200 files and directories currently installed.) Unpacking kannel-dev (from kannel-dev_1.5.0-0_amd64.deb) ... Setting up kannel-dev (1.5.0-0) ... Processing triggers for man-db ... But when i check, there is no kannel file under /etc/default Of course, because you installed just development package. It contains headers and libraries needed to compile/build opensmppbox (and some other packages which uses kannel libraries). If you want to install kannel servers (bearerbox, smsbox, wapbox) you have to install kannel_1.5.0-0_amd64.deb packages. Then you will find /etc/default/kannel file, /etc/kannel directory with config files, and /etc/init.d/kannel script which starts and stops kannel at the boot (but can be invoked manually, also). FYI, I just built kannel deb packages for Wheezy distro and as a bonus opensmppbox deb package. If someone allow me to upload them somewhere it would be accessible to all, not only to me. And, I can build complete apt-get-able repository if someone are ready and have resources to host that repository. On Fri, May 2, 2014 at 11:56 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:50, MOSES KARIUKI wrote: Hi Milan, Thanks a lot for your help. cat /etc/debian_version NAME=Ubuntu VERSION=12.04.4 LTS, Precise Pangolin ID=ubuntu ID_LIKE=debian PRETTY_NAME=Ubuntu precise (12.04.4 LTS) VERSION_ID=12.04 cat /etc/debian_version wheezy/sid dpkg --print-architecture amd64 I don't know much about Ubuntu but from above looks like you should install amd64 variant and not i386 of the packages, but I'm not sure because in your previous mail (see below) when you tried i386 variant dpkg didn't complained about architecture. On Fri, May 2, 2014 at 11:37 PM, Milan P. Stanic m...@arvanta.net wrote: On Fri, 2014-05-02 at 23:21, MOSES KARIUKI wrote: Hi Milan, Before we continue please give us information about your OS. Post the output of the next few commands. First: cat /etc/os-release If it says Debian or Ubuntu try next: cat /etc/debian_version and: dpkg --print-architecture Below is the error i am getting now. Unpacking kannel-dev:i386 (from kannel-dev_1.5.0-0_i386.deb) ... dpkg: dependency problems prevent configuration of kannel-dev:i386: kannel-dev:i386 depends on libssl-dev. kannel-dev:i386 depends on libpam0g-dev. kannel-dev:i386 depends on libxml2-dev. kannel-dev:i386 depends on libpcre3-dev. kannel-dev:i386 depends on libmysqlclient-dev. kannel-dev:i386 depends on libsqlite0-dev. kannel-dev:i386 depends on libsqlite3-dev. kannel-dev:i386 depends on libpq-dev. dpkg: error processing kannel-dev:i386 (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... It looks like you have some kind of Debian derived OS and that the architecture is i386 i.e. 32-bit machine/CPU/ Try next: apt-get install libssl-dev libpam0g-dev libxml2-dev libpcre3-dev libmysqlclient-dev libsqlite0-dev libsqlite3-dev libpq-dev It will ask you to install additional development packages, just say Yes i.e. press y key. And, from the other thread I see that you trying to install .deb packages for kannel and at the same time you are trying to build and install kannel from the source. This is not quite wise for beginners. Decide which method/way you want to follow: debs or source. On Fri, May 2, 2014 at 9:24 PM, MOSES KARIUKI kariuk...@gmail.com wrote: Thanks Milan, I tried and got the error: dpkg: error processing kannel-dev:i386 (--install): dependency problems -
Re: Kannel 1.5 smsbox error
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.comwrote: 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.comwrote: 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