İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
5994 Görünümler

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
Vazgeç

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

En İyi Yanıt

Hi Erik,

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

Avatar
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Tem 24
29534
1
Ara 21
5146
2
Şub 18
3193
1
Tem 17
4065
0
Tem 17
3512