c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29333
[Bug 816245] Re: 1st instance working, but 2nd can't seem to work?
Thanks for replying back. But how is this related to SSL?
I didn't configure any SSL in my openerp either the 1st or 2nd instance?
i don't think the conflict is because of SSL right? I can't see it
enabled on my openerp-server.conf too? any help? thanks.
** Changed in: openobject-server
Status: Invalid => Opinion
** Changed in: openobject-server
Status: Opinion => New
** Changed in: openobject-server
Status: New => Opinion
--
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/816245
Title:
1st instance working, but 2nd can't seem to work?
Status in OpenERP Server:
Opinion
Bug description:
I am not sure whether this is a bug or not, maybe it is.
I need some help. I have successfully installed OpenErp in my Virtual
Private Server (VPS) and working properly. I installed that under
/opt/openerp and configured the startup/config under /etc. It worked
fine when i tested with a non root account.
Now I am planning to use multi client structure and define each
openerp installation under
/home/clientname/public_html/erp.domain.com/public
I had configured all the configuration files needed as well as
chown/chmod accordingly (just like i did for my 1st instance). When I
run openerp-server.py and I will always get the address in use error.
When I run the
/home/clientname/public_html/erp.domain.com/public/server/bin/openerp-
server.py --config=XYZ (XYZ is either in /etc/openerp/.. or in the
same bin path with openerp-server.py)
But I still get the same error.
Any help? Thanks.
The weird part is I had already configured xmlrpc_port to run on port 9002, but in the error it is still pointing to 8069?
Why is the server:database user pointing to mypcuser? Should it point to clientname instead as configured in the openerp-server.conf? Seems like it can't pick up the config file properly.
Code:
mypcuser@ansur:~$ /home/clientname/public_html/erp.clientname.com/public/server/bin/openerp-server.py --config=/home/clientname/public_html/erp.clientname.com/public/server/bin/openerp-server.conf
[2011-07-26 12:22:28,583][?] INFO:server:OpenERP version - 6.0.2
[2011-07-26 12:22:28,583][?] INFO:server:addons_path - /home/clientname/public_html/erp.clientname.com/public/server/bin/addons
[2011-07-26 12:22:28,583][?] INFO:server:database hostname - localhost
[2011-07-26 12:22:28,583][?] INFO:server:database port - 5432
[2011-07-26 12:22:28,583][?] INFO:server:database user - mypcuser
[2011-07-26 12:22:28,583][?] INFO:server:initialising distributed objects services
[2011-07-26 12:22:28,852][?] ERROR:httpd:Error occured when starting the server daemon.
Traceback (most recent call last):
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 147, in __init__
self.server = ThreadedHTTPServer((interface, port), handler, proto=self._RealProto)
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 75, in __init__
HTTPServer.__init__(self, addr, requestHandler)
File "/usr/lib/python2.6/SocketServer.py", line 400, 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 411, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: [Errno 98] Address already in use
Traceback (most recent call last):
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/openerp-server.py", line 112, in <module>
service.http_server.init_servers()
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 232, in init_servers
int(tools.config.get('xmlrpc_port', 8069)))
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 212, in __init__
handler=MultiHandler2)
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 147, in __init__
self.server = ThreadedHTTPServer((interface, port), handler, proto=self._RealProto)
File "/home/clientname/public_html/erp.clientname.com/public/server/bin/service/http_server.py", line 75, in __init__
HTTPServer.__init__(self, addr, requestHandler)
File "/usr/lib/python2.6/SocketServer.py", line 400, 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 411, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use
My openerp-server.conf
Code:
[options]
; This is the password that allows database operations
; Will be written to by the server when password is changed
; !! Keep this file secure !!
; admin_passwd = !superuser@
root_path =
/home/clientname/public_html/erp.clientname.com/public/server/bin
without_demo = False
verbose = False
; Database settings
db_user = clientname
db_password = clientname
; Please uncomment the following line *after* you have created the
; database. It activates the auto module check on startup.
; db_name = False
db_port = False
db_host = False
db_maxconn = 64
; Networking Settings
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 9002
netrpc = True
netrpc_interface =
netrpc_port = 9003
; Uncomment these for xml-rpc over SSL
;xmlrpcs = True
;xmlrpcs_interface =
;xmlrpcs_port = 8054
;secure_pkey_file = /etc/ssl/openerp/server.pkey
; Log settings
logfile = /home/clientname/public_html/erp.clientname.com/log/openerp-server.log
syslog = False
logrotate = True
log_level = info
; False prevents the client displaying the list of databases
list_db = False
addons_path = /home/clientname/public_html/erp.clientname.com/public/server/bin/addons
demo = {}
soap = False
reportgz = False
translate_modules = ['all']
; Static http parameters
static_http_enable = False
static_http_document_root = /var/www/html
static_http_url_prefix = /
; Outbound email configuration
;smtp_user = info@xxxxxxxxxxx
;email_from = "OpenERP Support" <info@xxxxxxxxxxx>
;smtp_port = 25
;smtp_password = ********
;smtp_ssl = True
;smtp_server = mail.example.com
Can anyone tell me what's wrong here? Any help? Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/816245/+subscriptions
References