← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 788966] Re: Cannot start server on port 28070

 

Hello phong,

I have tested same file what you previously attached in this bug
specification comment : #1 except.some minor changes.

[options]
without_demo = False
smtp_port = 25
secure = False
db_password = admin
syslog = False
logrotate = True
xmlrpcs_port = 28071
test_report_directory = False
list_db = True
xmlrpc_interface = 
timezone = Asia/Ho_Chi_Minh
cache_timeout = 100000
port = 28070
smtp_password = False
secure_pkey_file = server.pkey
xmlrpc_port = 28069
log_level = debug
test_disable = False
admin_passwd = admin
assert_exit_level = error
smtp_server = localhost
static_http_url_prefix = None
test_commit = False
xmlrpcs = True
demo = {}
login_message = False
import_partial = 
pidfile = False
process_user = crclinic
db_maxconn = 64
stop_after_init = False
test_file = False
reportgz = False
xmlrpc = True
netrpc_port = 28070
db_name = db_trunk
debug_mode = False
netrpc = True
secure_cert_file = server.cert
verbose = True
csv_internal_sep = ,
pg_path = None
static_http_enable = False
translate_modules = ['all']
smtp_ssl = False
netrpc_interface = 
smtp_user = False
email_from = False
static_http_document_root = None


Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/788966

Title:
  Cannot start server on port 28070

Status in OpenERP Server:
  Incomplete

Bug description:
  When start an instance on port 28070, I receive the error
  "socket.error: [Errno 98] Address already in use". However, the
  netstat shows that there is nothing on port 28070.

  $ netstat -na | grep -e 8070 -e 8069
  tcp        0      0 0.0.0.0:8069            0.0.0.0:*               LISTEN     
  tcp        0      0 0.0.0.0:8070            0.0.0.0:*               LISTEN     
  tcp        0      0 0.0.0.0:18069           0.0.0.0:*               LISTEN     
  tcp        0      0 0.0.0.0:18070           0.0.0.0:*               LISTEN     
  tcp        0      0 192.168.100.251:8070    192.168.100.11:3378     CLOSE_WAIT 

  
  The complete error trace is below:

  + dirname bin//openerp-server
  + cd bin
  + pwd
  + topdir=/var/local/software/6.1dev-20110527-1228/server/bin
  + cd /var/local/software/6.1dev-20110527-1228/server/bin
  + logger -i /var/local/software/6.1dev-20110527-1228/server/bin
  + exec /usr/bin/python ./openerp-server.py --config=/var/local/software/6.1dev-2
  0110527-1228/server/openerp-server.conf
  Traceback (most recent call last):
    File "openerp-server", line 96, in <module>
      http_server.init_servers()
    File "/var/local/software/6.1dev-20110527-1228/server/openerp/service/http_ser
  ver.py", line 232, in init_servers
      int(tools.config.get('xmlrpc_port', 8069)))
    File "/var/local/software/6.1dev-20110527-1228/server/openerp/service/http_ser
  ver.py", line 212, in __init__
      handler=MultiHandler2)
    File "/var/local/software/6.1dev-20110527-1228/server/openerp/service/http_ser
  ver.py", line 147, in __init__
      self.server = ThreadedHTTPServer((interface, port), handler, proto=self._Rea
  lProto)
    File "/var/local/software/6.1dev-20110527-1228/server/openerp/service/http_ser
  ver.py", line 75, in __init__
      HTTPServer.__init__(self, addr, requestHandler)
    File "/usr/lib/python2.6/SocketServer.py", line 402, in __init__
      self.server_bind()
    File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
      SocketServer.TCPServer.server_bind(self)
    File "/usr/lib/python2.6/SocketServer.py", line 413, in server_bind
      self.socket.bind(self.server_address)
    File "<string>", line 1, in bind

  I'm using the trunk, latest version as of 27/05/2011
  (launchpad_translations_on_behalf_of_openerp-20110527044550-75mzo90wnocq320y)

  $ bzr version-info
  revision-id: launchpad_translations_on_behalf_of_openerp-20110527044550-75mzo90wnocq320y
  date: 2011-05-27 04:45:50 +0000
  build-date: 2011-05-27 12:55:30 +0700
  revno: 3433
  branch-nick: server

  Configuration file (only include the relevant parts)
  $ grep -e xml -e port openerp-server.conf 
  smtp_port = 25
  xmlrpcs_interface = 
  xmlrpcs_port = 28071
  test_report_directory = False
  xmlrpc_interface = 
  port = 28070
  xmlrpc_port = 28069
  xmlrpcs = True
  import_partial = 
  reportgz = False
  xmlrpc = True
  netrpc_port = 28070
  db_port = 5432


References