Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2429 Lượt xem

Hi, I'm new to Odoo. I follow some tutors to try Odoo on WSL. The overall installation run perfectly but I can't start the service, which I store at /etc/init.d to be accessed as a systemctl service.

However, whenever I run:

sudo systemctl start odoo.service

It raises an error like this:

System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down

What's happened here actually?
Any answers would be very appreciated!

Help me please...

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

systemd is only available in wsl with ubuntu and it is not recommended to enable it for a simple case like this. instead you can try another command like 'service'.

Also, I recommend that you work directly in Linux. Another good option is to make it work with docker. good luck!


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 23
3078
0
thg 12 22
1568
0
thg 4 25
858
local installation Đã xử lý
1
thg 10 24
1184
1
thg 8 24
1667