Re: Need help for kannel configuration

2009-03-21 Thread Paul Darius
This is what shown on the console screen...

2009-03-21 13:02:01 [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2009-03-21 13:02:01 [0] INFO: 
2009-03-21 13:02:01 [0] INFO: Kannel bearerbox II version 1.2.0 starting
2009-03-21 13:02:01 [0] INFO: SSL not supported, no SSL initialization done.
2009-03-21 13:02:01 [0] DEBUG: HTTP: Opening server at port 13000.
2009-03-21 13:02:01 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-03-21 13:02:01 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2009-03-21 13:02:01 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2009-03-21 13:02:01 [0] DEBUG: starting smsbox connection module
2009-03-21 13:02:01 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2009-03-21 13:02:01 [0] DEBUG: AT: Command: AT
2009-03-21 13:02:02 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:02 [0] DEBUG: AT: Command: ATF
2009-03-21 13:02:03 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:03 [0] DEBUG: AT: Command: AT
2009-03-21 13:02:04 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:04 [0] DEBUG: AT: Command: ATE0
2009-03-21 13:02:05 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:05 [0] ERROR: Failed to create Smsc wrapper
2009-03-21 13:02:05 [0] PANIC: Cannot start with SMSC connection failing

Paul
On Sat, Mar 21, 2009 at 9:44 AM, Alvaro Cornejo
cornejo.alv...@gmail.com wrote:
 Ti you get some info with kannel, post the logs to see where the problem
 is. Log should tell you wich command failed. Check your device manual
 for specific command values/syntax

 Alvaro



Re: configure mysql error

2009-03-21 Thread James Mutuku

I usually do without  --with-mysql-dir i.e

./configure --with-mysql

and it works fine for me.

Dante Moreno wrote:

Hi Nikos,
I don't get what you mean by update when compiling how you do that? 
What i found was that this file had the correct path:


  #cat /etc/ld.so.conf.d/mysql-x86_64.conf

  /usr/lib64/mysql

Any ideas?
Thanks,

Dante

2009/3/20 Nikos Balkanas nbalka...@gmail.com 
mailto:nbalka...@gmail.com


Hi,
 
Update your LD_LIBRARY_PATH when compiling. Well, that is for

Solaris. I believe for Linux it is in /etc/ldso.conf or something
like that.
 
BR,

Nikos

- Original Message -
*From:* Dante Moreno mailto:dante.more...@gmail.com
*To:* users@kannel.org mailto:users@kannel.org
*Sent:* Saturday, March 21, 2009 12:06 AM
*Subject:* configure mysql error

Hi All,
I know that this question has been asked a thousand times but
after searching through the mail archives and google i
couldn't find any solution. Im trying to compile kannel 1.4.3
on a CentOS 5.2 machine. I compile it with ./configure
--with-mysql --with-mysql-dir=/usr/lib64/mysql/ and the
configure script stops at(i have mysql-devel installed).

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/lib64/mysql/mysql_config
checking mysql version... 5.0.45
checking mysql reentrant libs... -L/usr/lib64/mysql
-lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread
-L/usr/lib64 -lssl -lcrypto
checking for mysql_init in -lmysqlclient_r... no
checking mysql libs... -L/usr/lib64/mysql -lmysqlclient
-lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
checking for mysql_init in -lmysqlclient... no
configure: error: Unable to find MySQL client libraries

The weird thing is that the libraries are in that folder, if I
run mysql_config --libs i get

-L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
-L/usr/lib64 -lssl -lcrypto

Mysql is up and running without any problems. I even removed
it and installed it again.
Any help would be appreciated.
Thanks!


begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:jnmut...@gmail.com,jmut...@agile.co.ke
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard



Re: configure mysql error

2009-03-21 Thread Dante Moreno
Hi James,
I actually found out what was the problem: the config.log was showing this
error:

/usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for
-lssl

So after installing openssl-devel for 64 bits, and running configure
--with-libdir=lib64 --with-mysql, everything went smoothly.
Thanks for your help,
Dante

2009/3/21 James Mutuku jnmut...@gmail.com

  I usually do without  --with-mysql-dir i.e

 ./configure --with-mysql

 and it works fine for me.


 Dante Moreno wrote:

 Hi Nikos,
 I don't get what you mean by update when compiling how you do that? What
 i found was that this file had the correct path:

   #cat /etc/ld.so.conf.d/mysql-x86_64.conf

   /usr/lib64/mysql

 Any ideas?
 Thanks,
  Dante

 2009/3/20 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Update your LD_LIBRARY_PATH when compiling. Well, that is for Solaris. I
 believe for Linux it is in /etc/ldso.conf or something like that.

 BR,
 Nikos

 - Original Message -
 *From:* Dante Moreno dante.more...@gmail.com
 *To:* users@kannel.org
 *Sent:* Saturday, March 21, 2009 12:06 AM
 *Subject:* configure mysql error

  Hi All,
 I know that this question has been asked a thousand times but after
 searching through the mail archives and google i couldn't find any solution.
 Im trying to compile kannel 1.4.3 on a CentOS 5.2 machine. I compile it with
 ./configure --with-mysql --with-mysql-dir=/usr/lib64/mysql/ and the
 configure script stops at(i have mysql-devel installed).

 Configuring DB support ...
 checking whether to compile with MySQL support... searching
 checking for mysql_config... /usr/lib64/mysql/mysql_config
 checking mysql version... 5.0.45
 checking mysql reentrant libs... -L/usr/lib64/mysql -lmysqlclient_r -lz
 -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib64 -lssl -lcrypto
 checking for mysql_init in -lmysqlclient_r... no
 checking mysql libs... -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl
 -lm -L/usr/lib64 -lssl -lcrypto
 checking for mysql_init in -lmysqlclient... no
 configure: error: Unable to find MySQL client libraries

  The weird thing is that the libraries are in that folder, if I run
 mysql_config --libs i get

 -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl
 -lcrypto

 Mysql is up and running without any problems. I even removed it and
 installed it again.
 Any help would be appreciated.
 Thanks!





Re: Need help for kannel configuration

2009-03-21 Thread Nikos Balkanas

Hi,

You should always use loglevel 0 when posting logs. I assume these are from 
/dev/ttyUSB0


You can verify your modem from /proc (/proc/tty/driver/?)

If that fails, assuming you have linux, download and install minicom from an 
rpm and try to find it by hand.


BR,
Nikos
- Original Message - 
From: Paul Darius pauldar...@gmail.com

To: Alvaro Cornejo cornejo.alv...@gmail.com
Cc: users@kannel.org
Sent: Saturday, March 21, 2009 8:05 AM
Subject: Re: Need help for kannel configuration



This is what shown on the console screen...

2009-03-21 13:02:01 [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2009-03-21 13:02:01 [0] INFO: 
2009-03-21 13:02:01 [0] INFO: Kannel bearerbox II version 1.2.0 starting
2009-03-21 13:02:01 [0] INFO: SSL not supported, no SSL initialization 
done.

2009-03-21 13:02:01 [0] DEBUG: HTTP: Opening server at port 13000.
2009-03-21 13:02:01 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-03-21 13:02:01 [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2009-03-21 13:02:01 [0] DEBUG: Started thread 3 
(gw/bb_http.c:httpadmin_run)

2009-03-21 13:02:01 [0] DEBUG: starting smsbox connection module
2009-03-21 13:02:01 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2009-03-21 13:02:01 [0] DEBUG: AT: Command: AT
2009-03-21 13:02:02 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:02 [0] DEBUG: AT: Command: ATF
2009-03-21 13:02:03 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:03 [0] DEBUG: AT: Command: AT
2009-03-21 13:02:04 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:04 [0] DEBUG: AT: Command: ATE0
2009-03-21 13:02:05 [0] DEBUG: Read from modem: ''
2009-03-21 13:02:05 [0] ERROR: Failed to create Smsc wrapper
2009-03-21 13:02:05 [0] PANIC: Cannot start with SMSC connection failing

Paul
On Sat, Mar 21, 2009 at 9:44 AM, Alvaro Cornejo
cornejo.alv...@gmail.com wrote:

Ti you get some info with kannel, post the logs to see where the problem
is. Log should tell you wich command failed. Check your device manual
for specific command values/syntax

Alvaro







Please Unsubscribe me

2009-03-21 Thread Achalveer Singh
Please Unsubscribe me , or please tell me how i can unsubscribe by getting
these mails . i m sick by getting these bulk .please help.


Re: Please Unsubscribe me

2009-03-21 Thread 陳耀鑫
Please Unsubscribe me either. Thanks.

2009/3/21 Achalveer Singh achalveer.si...@gmail.com

 Please Unsubscribe me , or please tell me how i can unsubscribe by getting
 these mails . i m sick by getting these bulk .please help.




-- 
陳耀鑫
TEL: 0988371829
ADD: 300新竹市光復路二段101號資訊安全實驗室


Re: Please Unsubscribe me

2009-03-21 Thread Alejandro Guerrieri
Try the same page you probably used to subscribe on first place:

http://www.kannel.org/lists.shtml
It may also help if you READ the welcome message you probably received when
subscribed. It has, among other things, information about how to
unsubscribe.



2009/3/21 陳耀鑫 iisai...@gmail.com

 Please Unsubscribe me either. Thanks.

 2009/3/21 Achalveer Singh achalveer.si...@gmail.com

 Please Unsubscribe me , or please tell me how i can unsubscribe by getting
 these mails . i m sick by getting these bulk .please help.




 --
 陳耀鑫
 TEL: 0988371829
 ADD: 300新竹市光復路二段101號資訊安全實驗室