Hi Might be obvious but have you checked user/group permissions? There was a distro that used to require kannel user to belong to the dial-up group in order to be able to access ports...
Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Tue, Jul 26, 2016 at 10:24 AM, Dave <d...@eth0.ch> wrote: > Thank you for so much effort! > > It does seem that SuSe LES 11 SP4 has a problem. I've just made a complete > re-install of the OS with no add-ons, built kannel (without warnings!), > started bearerbox - same result. Nothing happens. > > Unfortunately, I am required to use this distro... It seems I need to have > a talk with the customer - unless someone else comes up with a solution. > > Thanks. David. > > > On 26.07.2016 15:28, spameden wrote: > >> It's something wrong with your distro. >> >> I've tried building latest trunk on suse-13.1 in VM: >> >> suse:~/trunk/gw # ./bearerbox --version >> Kannel bearerbox version `svn-r5166M'. >> Build `Jul 26 2016 13:23:32', compiler `4.8.1 20130909 [gcc-4_8-branch >> revision 202388]'. >> System Linux, release 2.6.32-openvz-042stab113.21-amd64, version #1 >> SMP Wed Mar 23 11:06:59 MSK 2016, machine x86_64. >> Hostname suse, IP 127.0.0.1. >> Libxml version 2.9.3. >> Using OpenSSL 1.0.1k 8 Jan 2015. >> Compiled with MySQL 5.5.46-MariaDB, using MySQL 5.5.46-MariaDB. >> Using native malloc. >> suse:~/trunk/gw # ./bearerbox >> 2016-07-26 13:27:50 [16140] [0] PANIC: Missing argument for option -v >> >> 2016-07-26 13:27:50 [16140] [0] PANIC: ./bearerbox(gw_backtrace+0xae) >> [0x49dc9e] >> 2016-07-26 13:27:50 [16140] [0] PANIC: ./bearerbox(gw_panic+0x161) >> [0x49de11] >> 2016-07-26 13:27:50 [16140] [0] PANIC: >> ./bearerbox(get_and_set_debugs+0x181) [0x498511] >> 2016-07-26 13:27:50 [16140] [0] PANIC: ./bearerbox(main+0x82) >> [0x410012] >> 2016-07-26 13:27:50 [16140] [0] PANIC: >> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7fcf486a5be5] >> 2016-07-26 13:27:50 [16140] [0] PANIC: ./bearerbox() [0x4111fd] >> >> please give your config for testing. >> >> 2016-07-26 15:19 GMT+03:00 Dave <d...@eth0.ch>: >> >> I've built everything the same but did not run the bootstrap-Script >>> first, which produced me an error now: >>> >>> # ./bootstrap.sh >>> configure.in:254 [1]: warning: macro `AM_ICONV' not found in library >>> configure.in:254 [1]: error: possibly undefined macro: AM_ICONV >>> >>> If this token and others are legitimate, please use >>> m4_pattern_allow. >>> >>> After installing the package gettext-tools the required file >>> iconv.m4 was installed and the bootstrap script run without hickup. >>> Then: >>> >>> # ./configure --with-mysql --disable-docs >>> # make >>> # cd gw >>> # ./bearerbox -v 3 /path/to/kannel.conf >>> >>> But same as before - nothing happens, whether I compile 1.4.4 or the >>> daily snapshot. >>> >>> On 26.07.2016 13:30, spameden wrote: >>> >>> I'm not a SuSe Linux user, but I suggest building latest version >>> from >>> SVN and see how it works. >>> >>> Do you have any warnings when you compile? >>> >>> Here is the way I compile: >>> >>> ./bootstrap.sh >>> ./configure --with-mysql --disable-docs >>> make >>> cd gw >>> ./bearerbox -v 3 /path/to/kannel.conf >>> >>> I've just tested on my old squeeze machine latest SVN it gives some >>> errors: >>> >>> sh-4.1$ ./bearerbox --version >>> Kannel bearerbox version `svn-r5166M'. >>> Build `Jul 26 2016 14:25:43', compiler `4.4.5'. >>> System Linux, release 2.6.32-openvz-042stab113.21-amd64, version #1 >>> SMP Wed Mar 23 11:06:59 MSK 2016, machine x86_64. >>> Hostname localhost.localdomain, IP 127.0.0.1. >>> Libxml version 2.7.8. >>> Using OpenSSL 0.9.8o 01 Jun 2010. >>> Compiled with MySQL 5.1.73, using MySQL 5.1.73. >>> Using native malloc. >>> >>> sh-4.1$ ./bearerbox >>> 2016-07-26 14:27:45 [21915] [0] INFO: Debug_lvl = -1, log_file = >>> <none>, log_lvl = 0 >>> 2016-07-26 14:27:45 [21915] [0] ERROR: fopen failed: couldn't open >>> `kannel.conf' >>> 2016-07-26 14:27:45 [21915] [0] ERROR: System error 2: No such file >>> or >>> directory >>> 2016-07-26 14:27:45 [21915] [0] PANIC: Failed to load main >>> configuration file `kannel.conf'. Aborting! >>> 2016-07-26 14:27:45 [21915] [0] PANIC: >>> ./bearerbox(gw_backtrace+0xae) >>> [0x4a54ae] >>> 2016-07-26 14:27:45 [21915] [0] PANIC: ./bearerbox(gw_panic+0x159) >>> [0x4a5619] >>> 2016-07-26 14:27:45 [21915] [0] PANIC: ./bearerbox(cfg_read+0x59f) >>> [0x49201f] >>> 2016-07-26 14:27:45 [21915] [0] PANIC: ./bearerbox(main+0xc7) >>> [0x410fa7] >>> 2016-07-26 14:27:45 [21915] [0] PANIC: >>> /lib/libc.so.6(__libc_start_main+0xfd) [0x7fbc8cb63d2d] >>> 2016-07-26 14:27:45 [21915] [0] PANIC: ./bearerbox() [0x40ff09] >>> >>> Always include users@ list, so others benefit from your solution as >>> well! >>> >>> 2016-07-26 14:14 GMT+03:00 Dave <d...@eth0.ch>: >>> >>> I tried various debug levels, other command line switches or >>> different configs - nothing happens. >>> >>> No port gets opened, nothing is printed to the console. However, the >>> process is there. CTRL+C kills it. >>> >>> The same is with smsbox or fakesmsc, like the previously reported >>> bug: https://redmine.kannel.org/issues/716 [2] [1] >>> >>> David. >>> >>> On 26.07.2016 12:01, spameden wrote: >>> It might be an issue with your configuration. >>> >>> Try running from console bearerbox -v 3 /path/to/kannel.conf and see >>> what it gives you. >>> >>> 2016-07-26 12:32 GMT+03:00 Dave <d...@eth0.ch>: >>> >>> Hi Kannel users, >>> >>> I need to get Kannel v1.4.4 working on SUSE LES 11 SP4 and get the >>> same behaviour as reported under Bug #716: >>> >>> It builds and compiles. But when starting any of the resulting >>> binaries on command line - nothing happens: no output to STOUT, no >>> logs, no open ports - nothing. CTRL+C quits the process. >>> >>> Has this issue been fixed in the mean time or does anyone have a >>> workaround for it? >>> >>> BTW: v1.4.3 or daily snapshot does build but not execute, too. >>> >>> Thanks a lot! David. >>> >>> Links: >>> ------ >>> [1] https://redmine.kannel.org/issues/716 [2] >>> >> >> >> >> Links: >> ------ >> [1] http://configure.in:254 >> [2] https://redmine.kannel.org/issues/716 >> > >