RE: Kannel 1.4.5 migration

Ron Rechtman <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <[email protected]>
First off thanks for the super fast replies.

The bootstrap didn’t give errors now
But ended up with the same error




From: Web Min <[email protected]>
Sent: Thursday, November 29, 2018 3:21 PM
To: Ron Rechtman <[email protected]>
Cc: [email protected]
Subject: Re: Kannel 1.4.5 migration

try the below first

mv configure.in<http://configure.in> configure.ac<http://configure.ac>
./bootstrap

then make
make install

On Thu, Nov 29, 2018 at 11:17 PM Ron Rechtman <[email protected]<mailto:[email protected]>> wrote:
I followed instructions
https://blog.onesconsultants.com/2018/08/how-to-install-kannel-in-centos-7.html
But pulling 1.4.5
Applied patch
https://redmine.kannel.org/issues/699

& my config file

I ran the .sh file, but guessing the earlier make install broke it?

[root@sms-2 gateway-1.4.5]# ./bootstrap.sh
+ export WANT_AUTOMAKE=1.8
+ WANT_AUTOMAKE=1.8
++ which glibtoolize
which: no glibtoolize in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
+ libtoolize --copy --automake --force
+ aclocal
aclocal: warning: autoconf input should be named 'configure.ac<http://configure.ac>', not 'configure.in<http://configure.in>'
+ autoheader
autoheader: warning: missing template: ENABLE_COOKIES
autoheader: Use AC_DEFINE([ENABLE_COOKIES], [], [Description])
autoheader: warning: missing template: GW_NAME
autoheader: warning: missing template: GW_VERSION
autoheader: warning: missing template: HAVE_CASS
autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_3
autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_5
autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_6
autoheader: warning: missing template: HAVE_GSOAP
autoheader: warning: missing template: HAVE_MYSQL
autoheader: warning: missing template: HAVE_NFTW
autoheader: warning: missing template: HAVE_PCRE
autoheader: warning: missing template: HAVE_PGSQL
autoheader: warning: missing template: HAVE_PTHREAD_RWLOCK
autoheader: warning: missing template: HAVE_PTHREAD_SPINLOCK_T
autoheader: warning: missing template: HAVE_REDIS
autoheader: warning: missing template: HAVE_REGEX
autoheader: warning: missing template: HAVE_SDB
autoheader: warning: missing template: HAVE_SEMAPHORE
autoheader: warning: missing template: HAVE_SQLITE
autoheader: warning: missing template: HAVE_SQLITE3
autoheader: warning: missing template: HAVE_UCONTEXT
autoheader: warning: missing template: HAVE_WTLS_OPENSSL
autoheader: warning: missing template: HAVE___FUNCTION__
autoheader: warning: missing template: HAVE___FUNC__
autoheader: warning: missing template: LIBPCRE_VERSION
autoheader: warning: missing template: LIBSDB_VERSION
autoheader: warning: missing template: LOG_TIMESTAMP_LOCALTIME
autoheader: warning: missing template: MUTEX_STATS
autoheader: warning: missing template: NO_GWASSERT
autoheader: warning: missing template: NO_SMS
autoheader: warning: missing template: NO_WAP
autoheader: warning: missing template: SUFFIX
autoheader: warning: missing template: USE_GWMEM_CHECK
autoheader: warning: missing template: USE_GWMEM_NATIVE
autoheader: warning: missing template: USE_GWMEM_SLOW
autoheader: warning: missing template: USE_KEEPALIVE
autoheader: warning: missing template: WS_DEBUG
+ automake --add-missing --copy --gnu
automake: warning: autoconf input should be named 'configure.ac<http://configure.ac>', not 'configure.in<http://configure.in>'
configure.in:89<http://configure.in:89>: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:89<http://configure.in:89>: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac<http://configure.ac>', not 'configure.in<http://configure.in>'
+ autoconf

So I decided to try again
Deleted everything

Sudo wget http://www.kannel.org/download/1.4.5/gateway-1.4.5.tar.gz
sudo tar -zxvf gateway-1.4.5.tar.gz

and had the same warnings as above

sudo ./configure  --prefix=/etc/kannel --enable-start-stop-daemon
sudo make gives error…

sudo make clean
apply patch from https://redmine.kannel.org/issues/699
[root@sms-2 gateway-1.4.5]# patch < gateway-1.4.5.patch -p1
patching file wmlscript/wsgram.y
patching file wmlscript/wsint.h
patching file wmlscript/wslexer.c

sudo make
sudo make install

service kannel start (with my config file)
and same error

2018-11-29 15:15:43 [40483] [0] PANIC: Cannot start with SMSC connection failing
2018-11-29 15:15:43 [40483] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
2018-11-29 15:15:43 [40483] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
2018-11-29 15:15:43 [40483] [0] PANIC: /etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
2018-11-29 15:15:43 [40483] [0] PANIC: /etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
2018-11-29 15:15:43 [40483] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f03ded88445]
2018-11-29 15:15:43 [40483] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
2018-11-29 15:15:53 [40498] [0] PANIC: Cannot start with SMSC connection failing
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
2018-11-29 15:15:53 [40498] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]

From: Web Min <[email protected]<mailto:[email protected]>>
Sent: Thursday, November 29, 2018 2:44 PM
To: Ron Rechtman <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: Kannel 1.4.5 migration

It seems you have a problem in so file  as mentioned below

/lib64/libc.so.6

Did you install the Kannel via source? if yes make sure to run the bootrtap.sh first

Regards

On Thu, Nov 29, 2018 at 10:41 PM Ron Rechtman <[email protected]<mailto:[email protected]>> wrote:

Hello,

I have 1.4.3 running no problem on Cent 6.6

I have built a new box with Cent 7 and 1.4.5 and I cannot get it to run.

I have installed Kannel, and used the same CONFIG from the 1.4.3 and get errors.


2018-11-29 14:27:51 [29716] [0] PANIC: Cannot start with SMSC connection failing
2018-11-29 14:27:51 [29716] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
2018-11-29 14:27:51 [29716] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
2018-11-29 14:27:51 [29716] [0] PANIC: /etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
2018-11-29 14:27:51 [29716] [0] PANIC: /etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
2018-11-29 14:27:51 [29716] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f197d2de445]
2018-11-29 14:27:51 [29716] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
2018-11-29 14:28:51 [29738] [0] PANIC: Cannot start with SMSC connection failing
2018-11-29 14:28:51 [29738] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
2018-11-29 14:28:51 [29738] [0] PANIC: /etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
2018-11-29 14:28:51 [29738] [0] PANIC: /etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
2018-11-29 14:28:51 [29738] [0] PANIC: /etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
2018-11-29 14:28:51 [29738] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd5d78e9445]
2018-11-29 14:28:51 [29738] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]

Some guidance would be appreciated.

Thank you,

Ron
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.