Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
5985 Vistas

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
Descartar

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

Mejor respuesta

Hi Erik,

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

Avatar
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 24
29522
1
dic 21
5126
2
feb 18
3189
1
jul 17
4044
0
jul 17
3511