enter image description here

I am trying to start httpd, but it wouldn't allow me. I tried to find the file httpd.pid but it doesnt show me although it exists. How can I solve this?

  • Please post text, not images of text: unix.meta.stackexchange.com/q/4086/117549 – Jeff Schaller Jun 5 '17 at 10:12
  • Welcome to Unix & Linux! Your image of text isn't very helpful. It can't be copied into an editor, and it doesn't index very well, meaning that other users with the same problem are less likely to find the answer here. Please edit your post to incorporate the relevant text directly (preferably using copy+paste to avoid transcription errors). – Toby Speight Jun 5 '17 at 13:23

You are trying to start the daemon as a non-root user. Trying to bind to port numbers 1024 and less require root.

Try starting the service as root:

sudo service httpd start

Not the answer you're looking for? Browse other questions tagged or ask your own question.