๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Troubleshoot

๋ฆฌ๋ˆ…์Šค Apache2 ์„œ๋น„์Šค ์—๋Ÿฌ (the control process exited with error code) ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

๋ฐ˜์‘ํ˜•

ํ™˜๊ฒฝ: 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์—์„œ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ์ด ์ตœ์„ ์˜ ์˜ต์…˜์ž„

๋ฐ˜์‘ํ˜•
Archives
Notice
Link
Visits
Today
Yesterday