Hello there: I finally install and configure kannel but when I try to run it it gives the following error message:
adan@smsserver:~/trunk$ /usr/local/sbin/bearerbox.exe /usr/local/kannel/kannel2.conf -bash: /usr/local/sbin/bearerbox.exe: No existe el archivo o el directorio (the file or directory does not exists) I already check the system file using Filezilla and actually I can see the file in the sbin directory, what can be wrong? I even change the permissions on the directory . Thanks for your help Regards Adan 2012/8/21 <[email protected]> > Send users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.kannel.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. Re: Request for Help smpp (Soporte) > 2. RE: Request for Help smpp (Rene Kluwen) > 3. octstr_url_decode: corrupted end-of-string <%> (Barry Murphy) > 4. Re: octstr_url_decode: corrupted end-of-string <%> > (Alvaro Cornejo) > 5. Re: octstr_url_decode: corrupted end-of-string <%> (Barry Murphy) > 6. Re: octstr_url_decode: corrupted end-of-string <%> > (Alvaro Cornejo) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 21 Aug 2012 16:00:10 -0500 > From: Soporte <[email protected]> > To: [email protected] > Subject: Re: Request for Help smpp > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hello, Here it is my kannel.conf file: > > #Default kannel configuration file > #core group 'mandatory' identifies the group > group = core > dlr-storage=mysql > #port for http administration > admin-port = 13000 > smsbox-port = 13001 > #Password for http administration > admin-password = xxxxxx > #Password to check status of kannel > status-password = statuspass > #Allow only localhost for now > #admin-deny-ip = "*.*.*.*" > admin-allow-ip = "localhost" > #access-log = "/var/log/kannel/access.log" > #store-type = spool > #store-location = "/var/log/kannel/sent" > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > bearerbox-port = 13001 > mo-recode = 1 > #The sender number to be used in text messages > global-sender = 919994989838 > log-file = "/var/log/kannel/smsbox.log" > log-level = 1 > > #Identifies the SMS Center group > group = smsc > #Tells kannel that we are going to use mobile as smsc > smsc = at > #Sets the modem type to auto > modemtype = ZTE > #Identifies the modem > device =/dev/ttyUSB3 > #It should be your mobile number > my-number = 3005763681 > log-file = "/var/log/kannel/smsc.log" > log-level = 1 > > #It should be changed to work for your mobile > group = modems > id = ZTE > name = "ZTE TIGO" > detect-string = "ZTE MODEM" > init-string = "AT+CNMI=1,2,0,0,0" > #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > > group = mysql-connection > id = mydlr > host = localhost > username = root > password = > database = dlr > max-connections = 3 > > group = dlr-db > id = mydlr > table = dlr > field-smsc = smsc > field-timestamp = ts > field-destination = destination > field-source = source > field-service = service > field-url = url > field-mask = mask > field-status = status > field-boxc-id = boxc > > #SMSC SMPP > group=smsc > smsc=smpp > smsc-id = SMPP > host = localhost > port = 13001 > receive-port = 13013 > transceiver-mode = true > smsc-username = "xxxxxx" > smsc-password = "xxxxxx" > #keepalive = 25 > system-type = "VMA" > #service-type=smpp > address-range ="" > #source-addr-ton = 005 > #interface-version = 0x34 > #enquire-link-interval = 10 > #reconnect-delay = 30 > log-level = 1 > log-file = /var/log/kannel/opensmppbox.log > > group = sendsms-user > #Username and Password for sending sms using HTTP interface > username = xxxxxx > password = xxxxxx > concatenation = true > #can send a longer text message about 3 smses ( 3*160) > max-messages = 3 > > # SMS SERVICE 'default' > group = sms-service > keyword = Tucontacto > text = "Bienvenido a la conexion de prueba de tu contacto sms" > catch-all = true > # Catch all incoming messages > # regarding the keyword. If you > # define other services, remove > # this line. > > # SMS SERVICE for receiving sms messages > # If you're about to implement service to receive sms messages. > # group = sms-service > # keyword = yourkeyword > # get-url = > http://server.domain/moodle/receivesms.php?q=%k&sender=%p&message=% > > El 21/08/12 15:08, Rene Kluwen escribi?: > > This is probably a configuration issue with the wrong tcp ports being > connected to each other. > > If you post your config, we can help you further. > > > > == Rene > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > On Behalf Of Soporte > > Sent: Tuesday, 21 August, 2012 21:46 > > To: [email protected] > > Subject: Request for Help smpp > > > > Greetings. > > > > I'm new using the kannel app, and i'm trying to set up the Kannel SMPP > server, but I recive this respond > > > > 2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp: > > thread starts > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox: > > thread starts > > 2012-08-21 16:26:37 [3469] [2] ERROR: SMPP: PDU length was too large > (1195725856, maximum is 7424). > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox[(null)]: Server sent > garbage, ignored. > > 2012-08-21 16:26:37 [3469] [2] ERROR: Invalid SMPP PDU received. > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox: > > thread terminates > > 2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp: > > thread terminates > > 2012-08-21 16:26:38 [3469] [0] INFO: No more waiting for SMPP > connections. > > > > > > So if you can help me, it will be greatfull. > > Thanks. > > > > > > > > > > > > > > > ------------------------------ > > Message: 2 > Date: Tue, 21 Aug 2012 23:29:19 +0200 > From: "Rene Kluwen" <[email protected]> > To: "'Soporte'" <[email protected]> > Cc: "'[email protected] Org'" <[email protected]> > Subject: RE: Request for Help smpp > Message-ID: <004901cd7fe4$06b35720$141a0560$@[email protected]> > Content-Type: text/plain; charset="UTF-8" > > Please always copy the users list for inquiries. > > Your error: In group = smsc, you set port to 13001. This is your > bearerbox-port. > Those are two different protocols which don't communicate with each other. > > == Rene > > -----Original Message----- > From: Soporte [mailto:[email protected]] > Sent: Tuesday, 21 August, 2012 22:23 > To: Rene Kluwen > Subject: RE: Request for Help smpp > > Here it is my kannel.conf file > > #Default kannel configuration file > #core group 'mandatory' identifies the group group = core > dlr-storage=mysql #port for http administration admin-port = 13000 > smsbox-port = 13001 #Password for http administration admin-password = > xxxxxx #Password to check status of kannel status-password = xxxxxx #Allow > only localhost for now #admin-deny-ip = "*.*.*.*" > admin-allow-ip = "localhost" > #access-log = "/var/log/kannel/access.log" > #store-type = spool > #store-location = "/var/log/kannel/sent" > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > bearerbox-port = 13001 > mo-recode = 1 > #The sender number to be used in text messages global-sender = > 919994989838 log-file = "/var/log/kannel/smsbox.log" > log-level = 1 > > #Identifies the SMS Center group > group = smsc > #Tells kannel that we are going to use mobile as smsc smsc = at #Sets > the modem type to auto modemtype = ZTE #Identifies the modem device > =/dev/ttyUSB3 #It should be your mobile number my-number = xxxxxx > log-file = "/var/log/kannel/smsc.log" > log-level = 1 > > #It should be changed to work for your mobile group = modems id = ZTE > name = "ZTE TIGO" > detect-string = "ZTE MODEM" > init-string = "AT+CNMI=1,2,0,0,0" > #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > > group = mysql-connection > id = mydlr > host = localhost > username = root > password = xxxx > database = dlr > max-connections = 3 > > group = dlr-db > id = mydlr > table = dlr > field-smsc = smsc > field-timestamp = ts > field-destination = destination > field-source = source > field-service = service > field-url = url > field-mask = mask > field-status = status > field-boxc-id = boxc > > #SMSC SMPP > group=smsc > smsc=smpp > smsc-id = SMPP > host = localhost > port = 13001 > receive-port = 13013 > transceiver-mode = true > smsc-username = "kannel" > smsc-password = "hard2gue" > #keepalive = 25 > system-type = "VMA" > #service-type=smpp > address-range ="" > #source-addr-ton = 005 > #interface-version = 0x34 > #enquire-link-interval = 10 > #reconnect-delay = 30 > log-level = 1 > log-file = /var/log/kannel/opensmppbox.log > > group = sendsms-user > #Username and Password for sending sms using HTTP interface username = > kannel password = xxxxxx concatenation = true #can send a longer text > message about 3 smses ( 3*160) max-messages = 3 > > # SMS SERVICE 'default' > group = sms-service > keyword = Tucontacto > text = "Bienvenido a la conexion de prueba de tu contacto sms" > catch-all = true > # Catch all incoming messages > # regarding the keyword. If you > # define other services, remove > # this line. > > # SMS SERVICE for receiving sms messages # If you're about to implement > service to receive sms messages. > # group = sms-service > # keyword = yourkeyword > # get-url = http://server.domain/moodle/receivesms.php?q=%k&sender=% > p&message=% > > > El mar, 21-08-2012 a las 22:08 +0200, Rene Kluwen escribi?: > > This is probably a configuration issue with the wrong tcp ports being > connected to each other. > > If you post your config, we can help you further. > > > > == Rene > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Soporte > > Sent: Tuesday, 21 August, 2012 21:46 > > To: [email protected] > > Subject: Request for Help smpp > > > > Greetings. > > > > I'm new using the kannel app, and i'm trying to set up the Kannel > > SMPP server, but I recive this respond > > > > 2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp: > > thread starts > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox: > > thread starts > > 2012-08-21 16:26:37 [3469] [2] ERROR: SMPP: PDU length was too large > (1195725856, maximum is 7424). > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox[(null)]: Server sent > garbage, ignored. > > 2012-08-21 16:26:37 [3469] [2] ERROR: Invalid SMPP PDU received. > > 2012-08-21 16:26:37 [3469] [2] ERROR: opensmppbox: smpp_to_bearerbox: > > thread terminates > > 2012-08-21 16:26:37 [3469] [1] ERROR: opensmppbox: bearerbox_to_smpp: > > thread terminates > > 2012-08-21 16:26:38 [3469] [0] INFO: No more waiting for SMPP > connections. > > > > > > So if you can help me, it will be greatfull. > > Thanks. > > > > > > > > > > > > > > > > ------------------------------ > > Message: 3 > Date: Wed, 22 Aug 2012 13:08:13 +1200 > From: Barry Murphy <[email protected]> > To: <[email protected]> > Subject: octstr_url_decode: corrupted end-of-string <%> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi, > > I'm trying to use sqlbox to send a text message that contains a % sign > in it, i.e. "Your account is overdue, please pay promptly or you'll be > charged 5% penalty". > > I see this error message: > 2012-08-22 00:07:20 [1751] [1] WARNING: octstr_url_decode: garbage > detected (% s) skipping. > 2012-08-22 00:07:20 [1751] [1] ERROR: Could not charset process > message, dropping it! > > > Any assistance would be appreciated. > > Thanks > Barry > > > > > ------------------------------ > > Message: 4 > Date: Tue, 21 Aug 2012 20:38:33 -0500 > From: Alvaro Cornejo <[email protected]> > To: Barry Murphy <[email protected]> > Cc: [email protected] > Subject: Re: octstr_url_decode: corrupted end-of-string <%> > Message-ID: > < > cao55ag_78hdj8m9c0xmsbdfhxshxsp1lzup3gesfij907ny...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > hi > > You need to urlencode your text when submitting it to kannel. > > Regards > > Alvaro > > > |-----------------------------------------------------------------------------------------------------------------| > Env?e y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Per?, M?xico y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > On Tue, Aug 21, 2012 at 8:08 PM, Barry Murphy <[email protected]> wrote: > > Hi, > > > > I'm trying to use sqlbox to send a text message that contains a % sign in > > it, i.e. "Your account is overdue, please pay promptly or you'll be > charged > > 5% penalty". > > > > I see this error message: > > 2012-08-22 00:07:20 [1751] [1] WARNING: octstr_url_decode: garbage > detected > > (% s) skipping. > > 2012-08-22 00:07:20 [1751] [1] ERROR: Could not charset process message, > > dropping it! > > > > > > Any assistance would be appreciated. > > > > Thanks > > Barry > > > > > > > > ------------------------------ > > Message: 5 > Date: Wed, 22 Aug 2012 13:49:33 +1200 > From: Barry Murphy <[email protected]> > To: Alvaro Cornejo <[email protected]> > Cc: [email protected] > Subject: Re: octstr_url_decode: corrupted end-of-string <%> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > No other way to do this? I'd have to change all my coding :/ > Also how does one urlencode from php to dump it to sqlbox? > > thanks > barry > > > On Tue, 21 Aug 2012 20:38:33 -0500, Alvaro Cornejo wrote: > > hi > > > > You need to urlencode your text when submitting it to kannel. > > > > Regards > > > > Alvaro > > > > > > > |-----------------------------------------------------------------------------------------------------------------| > > Env?e y Reciba Datos y mensajes de Texto (SMS) hacia y desde > > cualquier > > celular y Nextel > > en el Per?, M?xico y en mas de 180 paises. Use aplicaciones 2 vias > > via > > SMS y GPRS online > > Visitenos en www.perusms.NET www.smsglobal.com.mx y > > www.pravcom.com > > > > > > On Tue, Aug 21, 2012 at 8:08 PM, Barry Murphy <[email protected]> > > wrote: > >> Hi, > >> > >> I'm trying to use sqlbox to send a text message that contains a % > >> sign in > >> it, i.e. "Your account is overdue, please pay promptly or you'll be > >> charged > >> 5% penalty". > >> > >> I see this error message: > >> 2012-08-22 00:07:20 [1751] [1] WARNING: octstr_url_decode: garbage > >> detected > >> (% s) skipping. > >> 2012-08-22 00:07:20 [1751] [1] ERROR: Could not charset process > >> message, > >> dropping it! > >> > >> > >> Any assistance would be appreciated. > >> > >> Thanks > >> Barry > >> > >> > > > > > ------------------------------ > > Message: 6 > Date: Tue, 21 Aug 2012 21:25:34 -0500 > From: Alvaro Cornejo <[email protected]> > To: Barry Murphy <[email protected]> > Cc: [email protected] > Subject: Re: octstr_url_decode: corrupted end-of-string <%> > Message-ID: > < > cao55ag9jktop76m_m6pzwpvnatzjmx0yg27eyz6dhjr5hap...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi > > Just use > ... > $msg = urlencode($msg); > ... > > > |-----------------------------------------------------------------------------------------------------------------| > Env?e y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Per?, M?xico y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > On Tue, Aug 21, 2012 at 8:49 PM, Barry Murphy <[email protected]> wrote: > > No other way to do this? I'd have to change all my coding :/ > > Also how does one urlencode from php to dump it to sqlbox? > > > > thanks > > barry > > > > > > > > On Tue, 21 Aug 2012 20:38:33 -0500, Alvaro Cornejo wrote: > >> > >> hi > >> > >> You need to urlencode your text when submitting it to kannel. > >> > >> Regards > >> > >> Alvaro > >> > >> > >> > >> > |-----------------------------------------------------------------------------------------------------------------| > >> Env?e y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > >> celular y Nextel > >> en el Per?, M?xico y en mas de 180 paises. Use aplicaciones 2 vias via > >> SMS y GPRS online > >> Visitenos en www.perusms.NET www.smsglobal.com.mx y > >> www.pravcom.com > >> > >> > >> On Tue, Aug 21, 2012 at 8:08 PM, Barry Murphy <[email protected]> wrote: > >>> > >>> Hi, > >>> > >>> I'm trying to use sqlbox to send a text message that contains a % sign > in > >>> it, i.e. "Your account is overdue, please pay promptly or you'll be > >>> charged > >>> 5% penalty". > >>> > >>> I see this error message: > >>> 2012-08-22 00:07:20 [1751] [1] WARNING: octstr_url_decode: garbage > >>> detected > >>> (% s) skipping. > >>> 2012-08-22 00:07:20 [1751] [1] ERROR: Could not charset process > message, > >>> dropping it! > >>> > >>> > >>> Any assistance would be appreciated. > >>> > >>> Thanks > >>> Barry > >>> > >>> > > > > > > ------------------------------ > > _______________________________________________ > users mailing list > [email protected] > http://www.kannel.org/mailman/listinfo/users > > > End of users Digest, Vol 72, Issue 63 > ************************************* > -- Adan Canales Desarrollo Web y Movil www.acghonduras.com
