Look at: 2005-02-12 06:45:31 [6578] [5] ERROR: System error 98: Address already in use
That means, the port is being used by another process, or maybe you are trying to run a second instance of kannel over a previous one using the same port. Regards, On Sat, 12 Feb 2005 09:11:53 -0600, Clay Zevely <[EMAIL PROTECTED]> wrote: > I have attached the following info for assistance. > I have changed port numbers and Ip addresses for safty reasons and included > dummy port and ip's in both fles. > I am trying to connect to a smsc which works with another appliication . All > the documentation I can get is attached to the bottom of the email > I am running Fedora Core 3 installed using custom install and choosing > everything for packages. > I have updated the system of all updates. > > [EMAIL PROTECTED] gw]# uname -a > Linux Intel 2.6.10-1.760_FC3smp #1 SMP Wed Feb 2 00:29:03 EST 2005 i686 i686 > i386 GNU/Linux > [EMAIL PROTECTED] gw]# > > > The version of kannel is 1.4.0 > I am a newbee to linux and kannel so If I have forgot some data or you need > some data let me know. > > > > > [EMAIL PROTECTED] gw]# cat smskannel.conf > # > # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL > # > # It is run like this: > # > # 1% gw/bearerbox gw/smskannel.conf > # 2% gw/smsbox gw/smskannel.conf > # 3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop" > # > # ..all 3 commands in separate shells (or screen sessions) > # > # For any modifications to this file, see Kannel User Guide > # If that does not help, send email to [email protected] > # > # Kalle Marjola May 2000 > # Changed for new fakesmsc version by Uoti Urpala Jan 2001 > # Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001 > # > > group = core > admin-port = 16400 > smsbox-port = 16400 > admin-password = SMSR > #status-password = foo > #admin-deny-ip = "" > #admin-allow-ip = "" > #log-file = "/tmp/kannel.log" > #log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > #unified-prefix = "+358,00358,0;+,00" > #access-log = "/tmp/access.log" > #store-file = "/tmp/kannel.store" > #ssl-server-cert-file = "cert.pem" > #ssl-server-key-file = "key.pem" > #ssl-certkey-file = "mycertandprivkeyfile.pem" > > # SMSC CONNECTIONS > > group = smsc > smsc = smpp > #smsc-id = FAKE > port = 16400 > #receive-port = 16400 > #connect-allow-ip = 127.0.0.1 > connect-allow-ip = 192.168.0.102 > host = 192.168.0.102 > smsc-username = "SMSR1" > smsc-password = "SMSR" > system-type = "VMA" > address-range = "" > > # SMSBOX SETUP > > group = smsbox > #bearerbox-host = localhost > bearerbox-host = 127.0.0.1 > sendsms-port = 16400 > #global-sender = 16400 > #sendsms-chars = "0123456789 +-" > #log-file = "/tmp/smsbox.log" > #log-level = 0 > #access-log = "/tmp/access.log" > > # SEND-SMS USERS > > group = sendsms-user > username = SMSR1 > password = SMSR > #user-deny-ip = "" > #user-allow-ip = "" > > # SERVICES > > group = sms-service > keyword = nop > text = "You asked nothing and I did it!" > > # there should be default always > > group = sms-service > keyword = default > text = "No service specified" > > [EMAIL PROTECTED] gw]# ./bearerbox -v 1 smskannel.conf > 2005-02-12 06:45:31 [6578] [0] INFO: Debug_lvl = 1, log_file = <none>, > log_lvl = 0 > 2005-02-12 06:45:31 [6578] [0] WARNING: DLR: using default 'internal' for > storage type. > 2005-02-12 06:45:31 [6578] [0] INFO: DLR using storage type: internal > 2005-02-12 06:45:31 [6578] [0] INFO: HTTP: Opening server at port 16400. > 2005-02-12 06:45:31 [6578] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2005-02-12 06:45:31 [6578] [5] ERROR: bind failed > 2005-02-12 06:45:31 [6578] [5] ERROR: System error 98: Address already in > use > 2005-02-12 06:45:31 [6578] [5] PANIC: Could not open smsbox port 16400 > 2005-02-12 06:45:31 [6578] [0] INFO: DLR rerouting for smsc id <(null)> > disabled. > 2005-02-12 06:45:31 [6578] [5] PANIC: ./bearerbox(gw_panic+0x174) > [0x80c70b8] > 2005-02-12 06:45:31 [6578] [5] PANIC: ./bearerbox [0x8055a24] > 2005-02-12 06:45:31 [6578] [5] PANIC: ./bearerbox [0x80bcc48] > 2005-02-12 06:45:31 [6578] [5] PANIC: /lib/tls/libpthread.so.0 [0xf6c3ae] > 2005-02-12 06:45:31 [6578] [5] PANIC: /lib/tls/libc.so.6(__clone+0x5e) > [0x356b6e] > [EMAIL PROTECTED] gw]# > > > > > > > > Examples of existing smpp client working > > smppclient -a localhost/16400 -u SMSR1 -p SMSR -s 1 -D 1234567890 -T "test" > > > Where the above line is defined below > -a -u -p -s > -D -T > [smpp client/port] [user] [password][number of submits] [Dest Addr] > [Message text] > localhost/16400 SMSR1 SMSR 1 1234567890 > "test" > > > Examples: > Submit: smppclient -u 987654 -p PSWD -a hostname/16400 -s 10 -T HelloWorld > -D 1234567 > Replace: smppclient -u 987654 -p PSWD -a hostname/16400 -r 10 -T HelloWorld > -D 1234567 > Query: smppclient -u 987654 -p PSWD -a hostname/16400 -q 10 -mr 1234... > Delete: smppclient -u 987654 -p PSWD -a hostname/16400 -c 10 -mr 1234... > MWI: smppclient -u 987654 -p PSWD -a hostname/16400 -s 1 -lp 1 -mwi > 0x80,0x3,0x82,0x8 > > Clay Zevely > [EMAIL PROTECTED] > > > > > > > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
