Re: Kannel 1.4.5 migration

Web Min <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAB=bB0N0qta7JA-x-vnQeD26tEhbyQSkf3ptCn+DoipDFWE-kg@mail.gmail.com>
Better to update the version of Automake via the bootstrap file instead

On Thu, Nov 29, 2018 at 11:51 PM Ron Rechtman <[email protected]>
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 file…
>
> Seems quite a bit of changes in the INIT need to be done.
>
>
>
> Better Ideas?
>
>
>
>
>
> *From:* Web Min <[email protected]>
> *Sent:* Thursday, November 29, 2018 3:36 PM
> *To:* Ron Rechtman <[email protected]>
> *Cc:* [email protected]
> *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 <[email protected]>
> wrote:
>
>
>
>
>
> *From:* Web Min <[email protected]>
> *Sent:* Thursday, November 29, 2018 3:29 PM
> *To:* Ron Rechtman <[email protected]>
> *Cc:* [email protected]
> *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 <[email protected]>
> 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 <[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 configure.ac
>
> ./bootstrap
>
>
>
> then make
>
> make install
>
>
>
> On Thu, Nov 29, 2018 at 11:17 PM Ron Rechtman <[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', 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
>
> [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]>
> *Sent:* Thursday, November 29, 2018 2:44 PM
> *To:* Ron Rechtman <[email protected]>
> *Cc:* [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]>
> 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.