我曾经在Odoo10e的ubuntu服务器上工作,以下是我通常使用的一些命令。
sudo service odoo stop
sudo service odoo start
sudo service odoo status
sudo service odoo restart
我使用CLI安装pysftp,然后执行命令sudo service odoo restart
,但是现在尝试从URL访问它时,我看到的是Service Unavailable
。但是,当我尝试从CLI sudo service odoo status
获取信息时
正在显示以下结果。
● odoo.service - LSB: Start odoo daemon at boot time
Loaded: loaded (/etc/init.d/odoo; bad; vendor preset: enabled)
Active: active (exited) since Wed 2018-07-25 13:07:41 UTC; 7min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0
Memory: 0B
CPU: 0
Jul 25 13:07:41 ip-10-10-0-84 systemd[1]: Starting LSB: Start odoo daemon at boot time...
Jul 25 13:07:41 ip-10-10-0-84 odoo[3070]: Starting odoo: ok
Jul 25 13:07:41 ip-10-10-0-84 systemd[1]: Started LSB: Start odoo daemon at boot time.
Jul 25 13:15:04 ip-10-10-0-84 systemd[1]: Started LSB: Start odoo daemon at boot time.