Status error.

<[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <003801c25e7e$a943ac70$0500a8c0@giles>
> I tried the a cvs snapshot of kannel again 17/9/2002 because of all
> the bugfixes but I still get a crash when I try and display the status
> of kannel using the control.html interface. (this exact configuration
> with the v1.2.0 stable release works fine)
> 
> My system is redhat 7.3 with glibc-2.2.5-34
> 
> ./configure  --prefix=/usr --sysconfdir=/etc/kannel --disable-ssl
> --disable-docs
> 
> Configuring for Kannel gateway version cvs- ...
> 
> Running system checks ...
> checking host system type... i686-pc-linux-gnu
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking for ranlib... (cached) ranlib
> checking for bison... (cached) bison -y
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking for convert... no
> checking for perl... (cached) /usr/bin/perl
> checking for log in -lm... (cached) yes
> checking for accept in -lsocket... (cached) no
> checking for inet_ntoa in -lnsl... (cached) yes
> checking for inet_ntop in -lresolv... (cached) yes
> checking for inet_ntop in -lbind... (cached) no
> checking for pthread_exit in -lpthread... (cached) yes
> checking for pthread_exit in -lc_r... (cached) no
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for sys/ioctl.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/poll.h... (cached) yes
> checking for pthread.h... (cached) yes
> checking for getopt.h... (cached) yes
> checking for syslog.h... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for select... (cached) yes
> checking for socket... (cached) yes
> checking for strdup... (cached) yes
> checking for getopt_long... (cached) yes
> checking for getopt... (cached) yes
> checking for socklen_t in <sys/socket.h>... (cached) yes
> checking for getopt in <stdio.h>... (cached) no
> checking for getopt in <unistd.h>... (cached) yes
> 
> Checking POSIX threads support ...
> checking for working pthreads... no
> 
> Checking for libxml2 support ...
> checking for xml2-config... (cached) /usr/bin/xml2-config
> checking libxml version... 2.4.19
> 
> Configuring DocBook support ...
> checking for jade... (cached) jade
> checking for jadetex... (cached) :
> checking for pdfjadetex... (cached) :
> checking for dvips... (cached) :
> checking for fig2dev... (cached) :
> checking for convert... (cached) :
> checking for
> /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl...
> (cached) no
> checking for
> /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... (cached)
> no
> checking for
> /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl...
> (cached) no
> checking for
> /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... (cached)
> yes
> checking for
> /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl...
> (cached) no
> checking for
> /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... (cached)
> no
> checking for
> /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl...
> (cached) no
> checking for
> /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl...
> (cached) yes
> Not building documentation.
> 
> Configuring parameters ...
> checking which malloc to use... native malloc
> enabling local time
> 
> Configuring OpenSSL support ...
> checking whether to compile with SSL support... disabled
> 
> Configuring DB support ...
> checking whether to compile with MySQL support... disabled
> checking whether to compile with LibSDB support... disabled
> 
> Generating output files ...
> creating ./config.status
> creating Makefile
> creating config.h
> ########################################################
> My kannel.conf file.
> 
> #Kannel.conf
> group = core
> admin-port = 13000
> smsbox-port=13001
> admin-password = ( hidden for this email )
> admin-allow-ip = "*.*.*.*"
> log-level = "2"
> log-file = "/var/log/kannel.log"
> box-allow-ip = "*.*.*.*"
> unified-prefix = "+44,0"
> access-log = "/var/log/kannel.access"
> store-file = "/var/log/kannel.store"
> 
> group = smsc
> smsc = at2
> sim-buffering = yes
> modemtype = siemens_tc35
> device = /dev/ttyS0
> include = /etc/kannel/modems.conf
> 
> 
> # SMSBOX SETUP
> 
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> sendsms-chars = "0123456789 +-"
> log-level = 2
> log-file = "/var/log/smsbox.log"
> 
> # SEND-SMS USERS
> 
> group = sendsms-user
> username = tester
> password = foobar
> 
> # SERVICES
> 
> group = sms-service
> keyword = default
> name = smsaddress
> post-url =
> "http://raregems/parsed.php?number=%p&keyword=%s&body=%r&time=%t"
> omit-empty = true
> max-messages=0
> 
> ##########################################
> My modems.conf
> 
> #modems.conf
> 
> 
> group = modems
> id = siemens_tc35
> name = "Siemens TC35"
> detect-string = "SIEMENS"
> detect-string2 = "TC35"
> init-string = "AT+CNMI=1,2,0,0,1"
> speed = 19200
> enable-hwhs = "AT\\Q3"
> need-sleep = true
> keepalive-cmd = AT
> message-storage = SM
> enable-mms = true 
> 
> #############################################
> 
> I manually run the ./bearerbox /etc/kannel/kannel.conf
> 
> Then./smsbox /etc/kannel/kannel.conf
> 
> Then I run the control.html page to test the gateway status and get
> the following message when the bearerbox bails:-
> 
> DEBUG: HTTP: Creating HTTPClient for `192.168.0.5'.
> PANIC: gwlib/octstr.c:2119: seems_valid_real: Assertion `ostr != NULL'
> failed. (Called from gwlib/octstr.c:1046:octstr_insert.)
> 
> ###############################################
> 
> The status I receive from the stable 1.2.0 gateway is :-
> 
> Kannel bearerbox version `'.
> System Linux, release 2.4.18-3, version #1 Thu Apr 18 07:37:53 EDT
> 2002, machine i686.
> Hostname raregems.mayville, IP 192.168.0.10.
> Libxml version 20419.
> Using native malloc.
> Status: running, uptime 0d 0h 0m 58s
> WDP: received 0 (0 queued), sent 0 (0 queued)
> SMS: received 0 (0 queued), sent 0 (0 queued), store size 0
> SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec
> DLR: 0 queued, using internal storage
> Box connections:
>     smsbox, IP 127.0.0.1 (on-line 0d 0h 0m 51s)  
> SMSC connections:
>     unknown    AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0,
> queued 0 msgs)
> 
> #######################################
> 
> I hope someone has a solution as I'd like to be using the latest cvs
> and helping to test it.
> 
> If any more information is required just drop me an email.
> 
> Thanks,
> 
> G.
> 
> 
> Giles Westwood
> Web Developer
> http://www.gileswestwood.co.uk
> [email protected]
> 07764611148
> 01132754610
> 
>
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.