Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5995 Widoki

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

Hi Erik,

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
lip 24
29534
1
gru 21
5146
2
lut 18
3193
1
lip 17
4065
0
lip 17
3512