Troubleshoot
๋ฆฌ๋ ์ค Apache2 ์๋น์ค ์๋ฌ (the control process exited with error code) ํด๊ฒฐ๋ฐฉ๋ฒ
๐ง Yon
2021. 11. 1. 15:29
๋ฐ์ํ
ํ๊ฒฝ: Parrot OS (on pwnbox)
์๋ฌ๋ฉ์์ง: Job for apache2.service failed because the control process exited with error code.
ํด๊ฒฐ๋ฐฉ๋ฒ: 80ํฌํธ๋ฅผ ์ฌ์ฉ์ค์ธ ๋คํธ์ํฌ ์๋น์ค๋ฅผ ์ฐพ์ Kill ํ ์๋น์ค ์ฌ์์
$ sudo netstat -tulpn | grep :80
$ kill [PID]
$ sudo systemctl start apache2
netstat
๋คํธ์ํฌ ์ฐ๊ฒฐ์ํ, ๋ผ์ฐํ ํ ์ด๋ธ, ์ธํฐํ์ด์ค ์ํ ๋ฑ์ ๋ณด์ฌ์ฃผ๋ ์ปค๋งจ๋
2021-11-01 HTB Academy Support์ ์ง๋ฌธ์์ฒญํ ์ํ
(์ง๋ฌธ๋ด์ฉ)
Hi. I'm currently learning [ Linux Fundamentals / Working with Web Services Section. But I'm having trouble with starting apache2 server in my workstation.
Poped up error message is:
"Job for apache2.service failed because the control process exited with error code"
I tried to kill nginx service which is default webserver to parrot OS and anyother services using 80 port but still i cannot start apache2 server. How can i solve this problem?
2021-11-01 Michael@HTB ๋ต๋ณ์๋ฃ
(๋ต๋ณ๋ด์ฉ)
Hello, there!Thanks for reaching out to us about this issue! I'm Michael! ๐
I recommend you to use this command on your local VM. If you would kill the port 80 on pwnbox, you couldn't interact with it anymore unless you restart it. ๐
์์ฝ: Web Service์ ๊ด๋ จํ ๋ถ๋ถ์ Pwnbox ๋ง๊ณ ์ธ์ ๋ Local VM์์ ์คํํ๋ ๊ฒ์ด ์ต์ ์ ์ต์ ์
๋ฐ์ํ