July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Apache Httpd Server root privileges other than permission to start

Error message

 Will output the following message when you run with the privileges other than root privileges when starting Apache HTTPD Server. 1    Permission denied: make_sock: could not bind to address 0.0.0.0:80

Cause

 Smaller than the 1024 port enables the user to access only the root level of the port.
Resolution

 run with root privileges, change the port or perform normally execute but does not have the smooth processing.

 Httpd daemon running as a regular user account, as shown below, and then change the permissions, just as the root, daemon will float. 1

2    chown root:sys httpd
chmod +s httpd

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>