How to stop server?

Course Queries Syllabus Queries 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I'm working on pset7,

i tried apache50 stop,

and killall -9 server (says - server: no process found)

but when I open my web server page, it's running the dynamic webpage I build from the class ( CS50 - lectures, syllabus). I tried both command again and again, but it's still running. Can somebody help?

profilepic.png
manpreet 2 years ago

 

The error message:

server: no process found

should be self-explanatory. You're trying to kill a process that is not running.

That's because the Apache2 server daemon process is not called server. It's called apache2.

The command you are using will only kill the server binary that you wrote in Problem Set 6.

The correct command to kill a zombie Apache2 process is:

sudo killall -9 apache2

Also (as @DinoCoderSaurus always reminds me) you may be viewing an old website from your browser's cache. Try using Ctrl+F5 to force the browser to bypass the cache and reload the page over the network.

If this answers your question, please mark it as answered by clicking the green check mark. Otherwise, it will become a Zombie Question and haunt the forum forever!


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.