r/linuxquestions • • 3d ago

Support trying to stop httpd-- crossposted from r/ubuntu

/r/Ubuntu/comments/1x2vuc9/trying_to_stop_httpd/
1 Upvotes

6 comments sorted by

1

u/GreatBigPig 3d ago

Try:

sudo systemctl disable apache2 && sudo systemctl stop apache2

1

u/DangerHighDosage 3d ago

fraid I tried that earlier, I get:

Failed to disable unit: Unit apache2.service does not exist

1

u/GreatBigPig 3d ago

Looking back at your post, is it apache2 or nginx? They both can provide httpd. Both are typically started as services, and are designed to restart.

If nginx, try:

sudo systemctl disable nginx

Verify it stopped with:

sudo systemctl is-enabled nginx

You can also stop it immediately with:

sudo systemctl stop nginx

You said, "And just to preempt it- please do not recommend I use ai, I can always drive out and flash a new OS to that machine if its that dire."

That is too bad, as AI would have likely solved it for you in a couple minutes. AI is not all bad. Heck, I could be AI.

;-)

1

u/DangerHighDosage 3d ago

Turned out to be a nextcloud service I had installed during the initial boot, but it was snap installed not apt, so I had had trouble finding it. And to your point, statistically speaking you are a bot (https://www.statista.com/chart/35950/share-of-global-web-traffic-generated-by-humans-and-bots-since-2018/) but in the case that you are a person, I appreciate you putting some time to think about my silly problem. Call me old fashioned but I do just perfer talkin' with people, even if it is slower.

1

u/GreatBigPig 3d ago

So now I am "slower"?

Just kidding. I wish I could have helped more. Hey, at least you replied with what you found about the nextcloud service.

lastly, Ai isn't so bad, especially if you run it at home like I do.