Hi,

First type "netstat -all | grep 9200"

Then if multiple instances of the box are running , make it kill by
Killall -9 bearerbox and so on

Then in order to have multiple smpp account, copy paste the group smsc as
many you want.

Regards


-----Original Message-----
From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED]
Sent: jeudi 18 octobre 2007 19:55
To: users@kannel.org
Subject: Re: Panic on running several copies of kannel "Cannot bind socket
UPDsocket"

You should be able to rule out that with netstat or lsof, of course.

Regards,

Alejandro

On 10/19/07, Ben Williamson <[EMAIL PROTECTED]> wrote:
> Have you tried rebooting the box?
>
> I've encountered that same issue when bearbox does not exit cleanly,
> leaving the port in use even though the app has died.
>
> -Ben
> On Oct 19, 2007, at 4:02 AM, oscar cassetti wrote:
>
> > Hello,
> >
> > thanks for fast reply
> >
> > On 10/19/07, Alejandro Guerrieri <[EMAIL PROTECTED]>
> > wrote:
> >> Please post configuration files.
> >>
> >> The port 9200 should be configured somewhere right? Maybe is the
> >> wapbox port?
> >>
> >> You cannot bind two processes to same port on same IP, of course.
> > Indeed, I am looking for any parameter to specify the udp port
> >
> >
> > ----------------first configuration---------------
> > # Core group.
> > group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > admin-password = xxxx
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > wdp-interface-name = "*"
> > log-file = "/var/log/kannel/bearerbox.log"
> > log-level = 0
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "xxx.xxx.xx.xx"
> > access-log = "/var/log/kannel/access.log"
> > store-file = "/var/log/kannel/kannel.store"
> > dlr-storage = mysql
> >
> > #
> > # The SMSCs.
> >
> > #
> > # XXXX, config
> > group = smsc
> > smsc = smpp
> > smsc-id = xxxx
> > host = xx.xxx.135.201
> > port = 8011
> > smsc-username = "xxxxxxxxxx"
> > smsc-password = "xxxxxxxx"
> > system-type = "SMPP"
> > source-addr-ton = 1 # source-addr-ton = 5
> > source-addr-npi = 1 # source-addr-npi = 8
> > dest-addr-ton = 1 # dest-addr-ton = 1
> > dest-addr-npi = 1 dest-addr-npi = 1
> > interface-version = 34
> > #alt-charset = "HPROMAN8"
> > alt-addr-charset = GSM
> > msg-id-type = 0x00
> >
> > ----------------------------------Second
> > conf----------------------------
> >
> > group = core
> > admin-port = 13010
> > smsbox-port = 13011
> > admin-password = xxxx
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > log-file = "/scratch/run/log/bearerbox.log"
> > log-level = 0
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "xxxxxxxxxxxxx"
> > access-log = "/scratch/run/log/access.log"
> > store-file = "/scratch/run/log/kannel.store"
> >
> >
> > group = smsc
> > smsc-id = xxx2
> > smsc = smpp
> > host = xxx.xxx.239.181
> > port = 2775
> > smsc-username = "xxxx"
> > smsc-password = "xxxxx"
> > system-type = "phorest"
> > source-addr-ton = 1
> > source-addr-npi = 1
> > dest-addr-ton = 1
> > dest-addr-npi = 1
> > # "transceiver-mode" is only an option with SMPP version 4.3.
> > interface-version = 34
> > transceiver-mode = 1
> >
> > -------------------------------Third one (not
> > running)-------------------
> >
> > # Core group.
> > group = core
> > admin-port = 13020
> > smsbox-port = 13021
> > admin-password = xxxxxxxx
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > wdp-interface-name = "*"
> > log-file = "/var/log/kannel-xxluk/bearerbox.log"
> > log-level = 0
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "xxxxxxxxxxx"
> > access-log = "/var/log/kannel-xxxuk/access.log"
> > store-file = "/var/log/kannel-xxxuk/kannel.store"
> > dlr-storage = mysql
> >
> > #
> > # The SMSCs.
> >
> > #
> > # HSL, config
> > group = smsc
> > smsc = smpp
> > smsc-id = xxxuk
> > host = xx.xx.xx.xx.201
> > port = 8011
> > smsc-username = "xxxxx"
> > smsc-password = "xxxxx"
> > system-type = "SMPP"
> > source-addr-ton = 1 # source-addr-ton = 5
> > source-addr-npi = 1 # source-addr-npi = 8
> > dest-addr-ton = 1 # dest-addr-ton = 1
> > dest-addr-npi = 1 dest-addr-npi = 1
> > interface-version = 34
> > #alt-charset = "HPROMAN8"
> > alt-addr-charset = GSM
> > msg-id-type = 0x00
> >
> >
> > Oscar
> >
>
>
>


--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri





  _____  

Antivirus avast! <http://www.avast.com> : message Sortant sain. 


Base de donnees virale (VPS) : 000782-2, 18/10/2007
Analyse le : 18/10/2007 20:03:16
avast! - copyright (c) 1988-2007 ALWIL Software.




Reply via email to