Discussion:
Kannel 1.4.5 migration
Ron Rechtman
2018-11-29 19:40:51 UTC
Permalink
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
Web Min
2018-11-29 19:44:23 UTC
Permalink
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
Post by Ron Rechtman
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Ron Rechtman
2018-11-29 20:17:07 UTC
Permalink
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?

[***@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', not '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', not 'configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
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', not '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
[***@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 <***@gmail.com>
Sent: Thursday, November 29, 2018 2:44 PM
To: Ron Rechtman <***@quadrantholdings.com>
Cc: ***@kannel.org
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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
Web Min
2018-11-29 20:20:53 UTC
Permalink
try the below first

mv configure.in configure.ac
./bootstrap

then make
make install
Post by Ron Rechtman
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?
+ 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', not '
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', not '
configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not '
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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
*Sent:* Thursday, November 29, 2018 2:44 PM
*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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Ron Rechtman
2018-11-29 20:26:15 UTC
Permalink
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 <***@gmail.com>
Sent: Thursday, November 29, 2018 3:21 PM
To: Ron Rechtman <***@quadrantholdings.com>
Cc: ***@kannel.org
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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?

[***@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
[***@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 <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 2:44 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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
Web Min
2018-11-29 20:29:00 UTC
Permalink
Glad to hear it! What is the full log of installation?
Post by Ron Rechtman
First off thanks for the super fast replies.
The bootstrap didn’t give errors now
But ended up with the same error
*Sent:* Thursday, November 29, 2018 3:21 PM
*Subject:* Re: Kannel 1.4.5 migration
try the below first
mv configure.in configure.ac
./bootstrap
then make
make install
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?
+ 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', not '
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', not '
configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not '
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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
*Sent:* Thursday, November 29, 2018 2:44 PM
*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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Web Min
2018-11-29 20:35:59 UTC
Permalink
I don't have much experience with kannel under CentOS, but my experience
under Ubuntu.

try check the automake version to match it with bootstrap
automake --version | sed -e '1s/[^0-9]*//' -e q
*Sent:* Thursday, November 29, 2018 3:29 PM
*Subject:* Re: Kannel 1.4.5 migration
Glad to hear it! What is the full log of installation?
First off thanks for the super fast replies.
The bootstrap didn’t give errors now
But ended up with the same error
*Sent:* Thursday, November 29, 2018 3:21 PM
*Subject:* Re: Kannel 1.4.5 migration
try the below first
mv configure.in configure.ac
./bootstrap
then make
make install
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?
+ 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', not '
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', not '
configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not '
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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
*Sent:* Thursday, November 29, 2018 2:44 PM
*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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Ron Rechtman
2018-11-29 20:51:03 UTC
Permalink
I left C/linux in 2000 when I got my Comp Eng. Degree.
After that it has been mostly Microsoft & moved to C#.

So you’ll have to be a bit patient with me

Automake = 1.13.4

So I tried edited the config.ac file

Seems quite a bit of changes in the INIT need to be done.

Better Ideas?


From: Web Min <***@gmail.com>
Sent: Thursday, November 29, 2018 3:36 PM
To: Ron Rechtman <***@quadrantholdings.com>
Cc: ***@kannel.org
Subject: Re: Kannel 1.4.5 migration

I don't have much experience with kannel under CentOS, but my experience under Ubuntu.

try check the automake version to match it with bootstrap
automake --version | sed -e '1s/[^0-9]*//' -e q


On Thu, Nov 29, 2018 at 11:30 PM Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> wrote:


From: Web Min <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 3:29 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
Subject: Re: Kannel 1.4.5 migration

Glad to hear it! What is the full log of installation?

On Thu, Nov 29, 2018 at 11:26 PM Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> wrote:
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 <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 3:21 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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?

[***@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
[***@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 <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 2:44 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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
Web Min
2018-11-29 20:54:40 UTC
Permalink
Better to update the version of Automake via the bootstrap file instead
Post by Ron Rechtman
I left C/linux in 2000 when I got my Comp Eng. Degree.
After that it has been mostly Microsoft & moved to C#.
So you’ll have to be a bit patient with me
Automake = 1.13.4
So I tried edited the config.ac file

Seems quite a bit of changes in the INIT need to be done.
Better Ideas?
*Sent:* Thursday, November 29, 2018 3:36 PM
*Subject:* Re: Kannel 1.4.5 migration
I don't have much experience with kannel under CentOS, but my experience under Ubuntu.
try check the automake version to match it with bootstrap
automake --version | sed -e '1s/[^0-9]*//' -e q
*Sent:* Thursday, November 29, 2018 3:29 PM
*Subject:* Re: Kannel 1.4.5 migration
Glad to hear it! What is the full log of installation?
First off thanks for the super fast replies.
The bootstrap didn’t give errors now
But ended up with the same error
*Sent:* Thursday, November 29, 2018 3:21 PM
*Subject:* Re: Kannel 1.4.5 migration
try the below first
mv configure.in configure.ac
./bootstrap
then make
make install
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?
+ 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', not '
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', not '
configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not '
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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
*Sent:* Thursday, November 29, 2018 2:44 PM
*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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Ron Rechtman
2018-11-29 20:56:45 UTC
Permalink
I don’t follow
export WANT_AUTOMAKE=1.8
change to
export WANT_AUTOMAKE=1.13.4
?

I still end up with the same errors




From: Web Min <***@gmail.com>
Sent: Thursday, November 29, 2018 3:55 PM
To: Ron Rechtman <***@quadrantholdings.com>
Cc: ***@kannel.org
Subject: Re: Kannel 1.4.5 migration

Better to update the version of Automake via the bootstrap file instead

On Thu, Nov 29, 2018 at 11:51 PM Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> wrote:
I left C/linux in 2000 when I got my Comp Eng. Degree.
After that it has been mostly Microsoft & moved to C#.

So you’ll have to be a bit patient with me

Automake = 1.13.4

So I tried edited the config.ac<http://config.ac> file

Seems quite a bit of changes in the INIT need to be done.

Better Ideas?


From: Web Min <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 3:36 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
Subject: Re: Kannel 1.4.5 migration

I don't have much experience with kannel under CentOS, but my experience under Ubuntu.

try check the automake version to match it with bootstrap
automake --version | sed -e '1s/[^0-9]*//' -e q


On Thu, Nov 29, 2018 at 11:30 PM Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> wrote:


From: Web Min <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 3:29 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
Subject: Re: Kannel 1.4.5 migration

Glad to hear it! What is the full log of installation?

On Thu, Nov 29, 2018 at 11:26 PM Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> wrote:
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 <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 3:21 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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?

[***@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
[***@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 <***@gmail.com<mailto:***@gmail.com>>
Sent: Thursday, November 29, 2018 2:44 PM
To: Ron Rechtman <***@quadrantholdings.com<mailto:***@quadrantholdings.com>>
Cc: ***@kannel.org<mailto:***@kannel.org>
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 <***@quadrantholdings.com<mailto:***@quadrantholdings.com>> 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
Web Min
2018-11-29 21:10:52 UTC
Permalink
try to follow the below link:

http://www.sabinshrestha.com.np/linux-downloads/centos-7-kannel-1-4-5-and-mariadb-10-3-install-and-configure-2018/

Good night
Post by Ron Rechtman
I don’t follow
export WANT_AUTOMAKE=1.8
change to
export WANT_AUTOMAKE=1.13.4
?
I still end up with the same errors
*Sent:* Thursday, November 29, 2018 3:55 PM
*Subject:* Re: Kannel 1.4.5 migration
Better to update the version of Automake via the bootstrap file instead
I left C/linux in 2000 when I got my Comp Eng. Degree.
After that it has been mostly Microsoft & moved to C#.
So you’ll have to be a bit patient with me
Automake = 1.13.4
So I tried edited the config.ac file

Seems quite a bit of changes in the INIT need to be done.
Better Ideas?
*Sent:* Thursday, November 29, 2018 3:36 PM
*Subject:* Re: Kannel 1.4.5 migration
I don't have much experience with kannel under CentOS, but my experience under Ubuntu.
try check the automake version to match it with bootstrap
automake --version | sed -e '1s/[^0-9]*//' -e q
*Sent:* Thursday, November 29, 2018 3:29 PM
*Subject:* Re: Kannel 1.4.5 migration
Glad to hear it! What is the full log of installation?
First off thanks for the super fast replies.
The bootstrap didn’t give errors now
But ended up with the same error
*Sent:* Thursday, November 29, 2018 3:21 PM
*Subject:* Re: Kannel 1.4.5 migration
try the below first
mv configure.in configure.ac
./bootstrap
then make
make install
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?
+ 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', not '
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', not '
configure.in'
configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not '
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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7efeafc29445]
2018-11-29 15:15:53 [40498] [0] PANIC: /etc/kannel/sbin/bearerbox() [0x40db86]
*Sent:* Thursday, November 29, 2018 2:44 PM
*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
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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
/etc/kannel/sbin/bearerbox(gw_backtrace+0xae) [0x49840e]
/etc/kannel/sbin/bearerbox(gw_panic+0x15f) [0x49857f]
/etc/kannel/sbin/bearerbox(smsc2_start+0x5ee) [0x418eae]
/etc/kannel/sbin/bearerbox(main+0xed4) [0x40d8f4]
/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
Loading...