November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

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>