콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7812 화면

I installed the Odoo Debian package and now it is running and I can't stop it. I want to start it again with a different config file but I can't find a way to kill the instance that is currently running.

I have tried to find the process using  `fuser 8069/tcp` and `lsof -i:8069` but there are no processes shown.

Odoo is not on my list of Startup applications and yet even after I reboot it is still running.

How can I kill it?

아바타
취소
베스트 답변

Hello Keith

There must be odoo service running at startup. you can find it by following command
1)
ps aux | grep odoo

you will get a list of running odoo service

copy process id and kill it by following command.

kill -9 p_id

2) try sudo service odoo stop

3) you can find odoo service under /etc/init.d directory and remove that file

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat

아바타
취소
작성자

1) Works but when I realised that the service runs under user `odoo` I found `ps -U odoo` to be easier
2) Works great and `sudo service odoo start` starts it up again which is useful for me.
3) There is indeed a file called `odoo` in /etc/init.d but although I removed it, the service continues to start at boot. Any other suggestions please?

작성자

I was able to prevent Odoo from starting on boot with: `systemctl disable odoo`

관련 게시물 답글 화면 활동
1
5월 25
492
4
5월 25
1793
2
5월 25
1905
1
2월 25
5221
0
1월 25
411