title: Kannel: ERROR: System error 98: Address already in use
body: <p>I cannot run kannel(an open source sms gateway) run properly. Everytime I try I get this error. ERROR: System error 98: Address already in use</p>
  
  <p>Here is my kannel.conf</p>
  
  <pre><code>group = core
  admin-port = 13000
  admin-password = 123
  status-password = 123
  smsbox-port = 13003
  wapbox-port = 13004
  log-file = "/home/eclipse/kannel_core.log"
  log-level = 1
  wdp-interface-name = "*"
  
  #group = smsc
  #smsc = fake
  #port = 1000
  
  group = smsbox
  bearerbox-host = 127.0.0.1
  sendsms-port = 13013
  log-file = "/home/eclipse/kannel_smsbox.log"
  log-level = 1
  
  group = wapbox
  bearerbox-host = 127.0.0.1
  log-file = "/home/eclipse/kannel_wapbox.log"
  
  group = sendsms-user
  username = 123
  password = 123
  user-allow-ip = "127.0.0.1"
  
  group = sms-service
  url="http://localhost/sms/send.php?sender=%s&amp;&amp;text=%t"
  accept-x-kannel-headers = true
  </code></pre>
  
  <p>and the log file for the core:</p>
  
  <pre><code>2012-02-23 21:26:36 [9194] [0] INFO: Added logfile `/home/eclipse/kannel_core.log' with level `1'.
  2012-02-23 21:26:36 [9194] [0] INFO: HTTP: Opening server at port 13000.
  2012-02-23 21:26:36 [9194] [0] ERROR: bind failed
  2012-02-23 21:26:36 [9194] [0] ERROR: System error 98: Address already in use
  2012-02-23 21:26:36 [9194] [0] INFO: Adding interface *
  2012-02-23 21:26:36 [9194] [0] ERROR: Couldn't bind a UDP socket to port 9200
  2012-02-23 21:26:36 [9194] [0] ERROR: System error 98: Address already in use
  2012-02-23 21:26:36 [9194] [0] ERROR: Couldn't bind a UDP socket to port 9201
  2012-02-23 21:26:36 [9194] [0] ERROR: System error 98: Address already in use
  2012-02-23 21:26:36 [9194] [0] INFO: ----------------------------------------
  2012-02-23 21:26:36 [9194] [0] INFO: Kannel bearerbox II version 1.4.3 starting
  2012-02-23 21:26:36 [9194] [7] ERROR: bind failed
  2012-02-23 21:26:36 [9194] [7] ERROR: System error 98: Address already in use
  2012-02-23 21:26:36 [9194] [7] PANIC: Could not open wapbox port 13004
  2012-02-23 21:26:36 [9194] [0] INFO: MAIN: Start-up done, entering mainloop
  2012-02-23 21:26:36 [9194] [7] PANIC: /usr/sbin/bearerbox(gw_panic+0xd2) [0x80d1b62]
  2012-02-23 21:26:36 [9194] [7] PANIC: /usr/sbin/bearerbox() [0x8055bc0]
  2012-02-23 21:26:36 [9194] [7] PANIC: /usr/sbin/bearerbox() [0x80c8bbb]
  2012-02-23 21:26:36 [9194] [7] PANIC: /lib/i386-linux-gnu/libpthread.so.0(+0x6d31) [0x7a5d31]
  2012-02-23 21:26:36 [9194] [7] PANIC: /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xbba0ce]
  </code></pre>
  
  <p>I have tried to do a lot of changes but none successful. Kindly let me know which point I am missing. Thanks.</p>