Package: openerp-server
Version: 5.0.2-0-2
Severity: normal

Hi,

I test a fresh installation of version 5.0.2-0-2.

I commented the db_name parameter as reported in bug report 542391.

With the port parameter in the file "openerp-server.conf" the server will not 
start. 

$ sudo /usr/bin/openerp-server --config=/etc/openerp-server.conf
Traceback (most recent call last):
  File "./openerp-server.py", line 175, in <module>
    tinySocket = netsvc.TinySocketServerThread(netinterface, netport, False)
  File "/usr/lib/openerp-server/netsvc.py", line 394, in __init__
    self.socket.bind((self.__interface, self.__port))
  File "<string>", line 1, in bind
socket.error: (98, 'Adresse d\xc3\xa9j\xc3\xa0 utilis\xc3\xa9e')

In english:
socket.error: (98, 'Address already in use')

And in the log file there are :

[2009-08-19 16:16:40,468] INFO:server:version - 5.0.2
[2009-08-19 16:16:40,468] INFO:server:addons_path - 
/usr/lib/openerp-server/addons
[2009-08-19 16:16:40,468] INFO:server:database hostname - localhost
[2009-08-19 16:16:40,469] INFO:server:database port - 5433
[2009-08-19 16:16:40,469] INFO:server:database user - openerp_user
[2009-08-19 16:16:40,469] INFO:objects:initialising distributed objects services
[2009-08-19 16:16:40,643] INFO:web-services:starting XML-RPC services, port 8070


If I comment the port parameter in the file "openerp-server.conf" the server 
will start.

$ sudo /usr/bin/openerp-server --config=/etc/openerp-server.conf

In the log file there are :

[2009-08-19 16:26:44,616] INFO:server:version - 5.0.2
[2009-08-19 16:26:44,617] INFO:server:addons_path - 
/usr/lib/openerp-server/addons
[2009-08-19 16:26:44,617] INFO:server:database hostname - localhost
[2009-08-19 16:26:44,617] INFO:server:database port - 5433
[2009-08-19 16:26:44,617] INFO:server:database user - openerp_user
[2009-08-19 16:26:44,617] INFO:objects:initialising distributed objects services
[2009-08-19 16:26:44,791] INFO:web-services:starting XML-RPC services, port 8069
[2009-08-19 16:26:44,792] INFO:web-services:starting NET-RPC service, port 8070
[2009-08-19 16:26:44,792] INFO:web-services:the server is running, waiting for 
connections...

But that does not work with the script "/etc/init.d/openerp-server" or with the 
command line:

sudo start-stop-daemon --start --quiet --pidfile /var/run/openerp-server.pid 
--chuid openerp --background --make-pidfile --exec /usr/bin/openerp-server -- 
--config=/etc/openerp-server.conf 

In the log file there are :

[2009-08-19 16:29:13,262] INFO:server:version - 5.0.2
[2009-08-19 16:29:13,263] INFO:server:addons_path - 
/usr/lib/openerp-server/addons
[2009-08-19 16:29:13,263] INFO:server:database hostname - localhost
[2009-08-19 16:29:13,263] INFO:server:database port - 5433
[2009-08-19 16:29:13,263] INFO:server:database user - openerp_user
[2009-08-19 16:29:13,263] INFO:objects:initialising distributed objects services
[2009-08-19 16:29:13,437] INFO:web-services:starting XML-RPC services, port 8069
[2009-08-19 16:29:13,438] INFO:web-services:starting NET-RPC service, port 8070

There is no message waiting for connections.

Conclusion, it works with sudo, but not with the user openerp. Probably a 
permissions problem for the user openerp.


Regards.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openerp-server depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-libxslt1               1.1.24-2   Python bindings for libxslt1
ii  python-lxml                   2.1.5-1    pythonic binding for the libxml2 a
ii  python-psycopg2               2.0.9-5    Python module for PostgreSQL
ii  python-pychart                1.39-7     Python library for creating high q
ii  python-pydot                  1.0.2-1    Python interface to Graphviz's dot
ii  python-reportlab              2.2-2      ReportLab library to create PDF do
ii  python-tz                     2009g-1    Python version of the Olson timezo
ii  python-xml                    0.8.4-10.1 XML tools for Python

Versions of packages openerp-server recommends:
ii  ghostscript                  8.70~dfsg-2 The GPL Ghostscript PostScript/PDF
ii  graphviz                     2.20.2-3+b4 rich set of graph drawing tools
ii  postgresql                   8.4.0-2     object-relational SQL database (su
ii  postgresql-client-8.3 [postg 8.3.7-1     front-end programs for PostgreSQL 
ii  postgresql-client-8.4 [postg 8.4.0-2+b1  front-end programs for PostgreSQL 
ii  python-imaging               1.1.6-3     Python Imaging Library
ii  python-matplotlib            0.98.5.3-2  Python based plotting system in a 
ii  python-openssl               0.9-1       Python wrapper around the OpenSSL 
ii  python-pyparsing             1.5.2-1     Python parsing module

Versions of packages openerp-server suggests:
pn  openerp-client                <none>     (no description available)

-- debconf information:
  openerp-server/username: openerp



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to