Skip to Content
Menu
This question has been flagged
3 Replies
4963 Views

Just installed v10 for the first time (from github) and am having an issue.

Starts fine when workers = 0 but as soon as I change to Workers>0 (workers=4) I get this:

2017-10-25 18:40:05,773 30368 INFO ? odoo: database: odoo10_0@127.0.0.1:5432 2017-10-25 18:40:05,777 30368 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069 Traceback (most recent call last):
File "./odoo-bin", line 9, in <module>
odoo.cli.main()
File "/opt/odoo10_0/odoo/cli/command.py", line 64, in main
o.run(args)
File "/opt/odoo10_0/odoo/cli/server.py", line 175, in run
main(args)
File "/opt/odoo10_0/odoo/cli/server.py", line 169, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "/opt/odoo10_0/odoo/service/server.py", line 953, in start
rc = server.run(preload, stop)
File "/opt/odoo10_0/odoo/service/server.py", line 616, in run
self.start()
File "/opt/odoo10_0/odoo/service/server.py", line 587, in start
self.socket.bind(self.address)
File "<string>", line 1, in bind socket.error: [Errno 98] Address already in use

But sudo netstat -an | grep LISTEN does not show any other processes on port 8069 or 8072.

I have tried changing the xmlrpc port and the longpolling port in the config file too but I still get the same error.

 

Any ideas appreciated, thanks.

Avatar
Discard

Please post your entire odoo configuration file (without the passwords)

Best Answer

Hi Erik,

Did you solve this problems? Today I face this issue the same with you

Avatar
Discard
Author Best Answer

can't seem to edit my original post...

config fle:

[options]
; This is the password that allows database operations:
admin_passwd = xxxxxxxxxxx
db_host = 127.0.0.1
db_port = 5432
db_user = odoo10_0
db_password = xxxxxxxxxxxx
addons_path = /opt/odoo10_0/addons,/opt/odoo10_0/oca-server-tools,/opt/odoo10_0/oca-product-attributes,/opt/odoo10_0/stock-logistics-workflow,/opt/odoo10_0/themes,/opt/odoo10_0/oca-product-variant,/opt/odoo10_0/it-projects-llc-pos-addons

logfile = /var/log/odoo10_0/odoo-server.log

proxy_mode = True
 
max_cron_threads = 1
workers = 4

log_level = debug
Avatar
Discard
Related Posts Replies Views Activity
3
Jul 24
27571
1
Dec 21
3565
2
Feb 18
2138
1
Jul 17
3193
0
Jul 17
2835