Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
5990 Переглядів

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.

Аватар
Відмінити

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

Найкраща відповідь

Hi Erik,

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

Аватар
Відмінити
Автор Найкраща відповідь

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
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
лип. 24
29530
1
груд. 21
5138
2
лют. 18
3190
1
лип. 17
4061
0
лип. 17
3512