Re: ERROR: Group 'mysql-connection' may not contain field 'mysql-username'

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Mike Harris wrote:

> I scp'd the config (only) from a working redhat 9 installation to this new
> EL4 build.
> 
> Bearerbox -- /etc/kannel/kannel.conf.test connects fine there.
> 
> Built cvs-20051021, (with no .configure options) config with 'dlr-storage =
> internal' does exactly the same, so agree it seems nothing to do with mysql
> port..
> 
> Has some other configuration value changed?
> 
> smsc config and log attached.
> 
> ~
> 
> # SMSC SMPP
> group = smsc
> smsc = smpp
> smsc-id = "xxx"
> allowed-smsc-id = "xxx"
> host = smpp.xxx.com
> port = 2345
> transceiver-mode = yes
> #receive-port = 2347
> smsc-username = "xxx"
> smsc-password = "xxx"
> system-type = "xxx"
> #service-type =
> interface-version = 33
> our-host = xxx.xxx.xx.xxx
> enquire-link-interval = 60
> max-pending-submits = 10
> reconnect-delay = 10
> #source-addr-ton = 1
> #source-addr-npi = 1
> source-addr-autodetect = yes
> dest-addr-ton = 1
> dest-addr-npi = 1
> #msg-id-type = 0
> #alt-charset =
> connection-timeout = 300
> wait-ack = 60
> #wait-ack-expire = 0x00 

nothing suspicious here.


> 2005-10-22 10:43:22 [7840] [6] ERROR: bind to local port 0 failed
> 2005-10-22 10:43:22 [7840] [6] ERROR: System error 99: Cannot assign
> requested address
> 2005-10-22 10:43:22 [7840] [6] ERROR: error connecting to server
> `smpp.xxx.com' at port `2345'
> 2005-10-22 10:43:22 [7840] [6] ERROR: SMPP[xxx]: Couldn't connect to server.
> 2005-10-22 10:43:22 [7840] [6] ERROR: SMPP[xxx]: Couldn't connect to SMS
> center (retrying in 10 seconds).

hmm, IMO, Kannel tries to connect to the remote server via aquiring "local" 
client port 0 for the socket connection.

??? This is strange.

Can you try to do a HTTP client connection via the test/ dir HTTP client like this:

   $ cd gateway/test
   $ ./test_http http://www.kannel.org/

in order to see if it would dump the same ERROR. If yes, then it's most likely 
that there is some strange behaviour with the kernel TCP/IP socket stack.

Stipe

mailto:stolj_{at}_wapme-group.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
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.