我们刚刚在运行CPANEL的Centos 7服务器上安装了Odoo
但是,当我尝试启动该服务时,我得到以下代码:
odoo12.service - Odoo12
Loaded: loaded (/etc/systemd/system/odoo12.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2019-04-17 17:20:23 UTC; 6s ago
Process: 13026 ExecStart=/usr/bin/scl enable rh-python36 -- /opt/odoo12/venv/bin/python3 /opt/odoo12/odoo/odoo-bin -c /etc/odoo12.conf (code=exited, status=1/FAILURE)
Main PID: 13026 (code=exited, status=1/FAILURE)
Apr 17 17:20:23 node1817.myfcloud.com systemd[1]: Started Odoo12.
Apr 17 17:20:23 node1817.myfcloud.com odoo12[13026]: Traceback (most recent call last):
Apr 17 17:20:23 node1817.myfcloud.com odoo12[13026]: File "/opt/odoo12/odoo/odoo-bin", line 5, in <module>
Apr 17 17:20:23 node1817.myfcloud.com odoo12[13026]: import odoo
Apr 17 17:20:23 node1817.myfcloud.com odoo12[13026]: File "/opt/odoo12/odoo/odoo/__init__.py", line 106, in <module>
Apr 17 17:20:23 node1817.myfcloud.com systemd[1]: odoo12.service: main process exited, code=exited, status=1/FAILURE
Apr 17 17:20:23 node1817.myfcloud.com systemd[1]: Unit odoo12.service entered failed state.
Apr 17 17:20:23 node1817.myfcloud.com systemd[1]: odoo12.service failed.
这是遵循的文档:
https://linuxize.com/post/install-odoo-12-on-centos-7/#disqus_thread
有人知道导致启动失败的原因吗?