Hello community
I am facing an issue when trying to start odoo service on Centos 7.6 with below command
systemctl start odoo
I get the below error.
Feb 28 10:46:06 DEVAPPSVR odoo[11321]: Starting Odoo Server Daemon (odoo-server): [ OK ]
Feb 28 10:46:06 DEVAPPSVR systemd[1]: Can't open PID file /var/run/odoo/odoo-server.pid (yet?) after start: No such file or directory
Feb 28 10:46:06 DEVAPPSVR odoo[11321]: Traceback (most recent call last):
Feb 28 10:46:06 DEVAPPSVR odoo[11321]: File "/usr/bin/odoo", line 4, in
Feb 28 10:46:06 DEVAPPSVR odoo[11321]: __import__('pkg_resources').run_script('odoo==10.0.post20190619', 'odoo')
Feb 28 10:46:06 DEVAPPSVR odoo[11321]: ImportError: No module named pkg_resources
Feb 28 10:46:06 DEVAPPSVR systemd[1]: Daemon never wrote its PID file. Failing.
Feb 28 10:46:06 DEVAPPSVR systemd[1]: Failed to start LSB: Launches the Odoo server..
Feb 28 10:46:06 DEVAPPSVR systemd[1]: Unit odoo.service entered failed state.
Feb 28 10:46:06 DEVAPPSVR systemd[1]: odoo.service failed.
I checked the said module in the packages directory and it was there with the following files
drwxr-x--- 2 root root 45 Feb 28 08:40 extern
-rw-r----- 1 root root 108349 Feb 28 08:40 __init__.py
-rw-r----- 1 root root 120534 Feb 28 08:40 __init__.pyc
-rw-r----- 1 root root 558 Feb 28 08:40 py31compat.py
-rw-r----- 1 root root 758 Feb 28 08:40 py31compat.pyc
drwxr-x--- 3 root root 169 Feb 28 08:40 _vendor
I also confirmed that my installation meets requirements in the requirements.txt file
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3542
Widoki
Hi,
In the shared log, there is an import error: pkg_resources
see the following line: Feb 28 10:46:06 DEVAPPSVR odoo[11321]: ImportError: No module named pkg_resources
You can try fixing this warning and see if the service get started or not.
To fix, the above warning, see: No module named pkg_resources
Thanks & Regards
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lut 18
|
2433 | ||
|
3
lip 25
|
2003 | ||
|
3
maj 25
|
3498 | ||
|
3
paź 23
|
5808 | ||
|
2
cze 25
|
4056 |
Thanks for your response. I have already tried the solution in the mentioned article but it didn't work. I've really tried so many suggested fixes but they did not work.