cancel
Showing results for 
Search instead for 
Did you mean: 

Error while starting Apache WebServer in SAP Content server from sapcs user

Former Member
0 Kudos

Dear Consultants

We are getting a error while starting Apache server from sapcs user.

We have installed SAP Content server 6.4 with SAP MAX DB 7.6 on RHEL

Linux 64 bit OS, we also installed Apache web server server following SAP

Standard Installation guide,

When We run Apache server using sapcs user we are facing a error

Error (1) -

[sapcs@hpsebdev1 bin]$ apachectl start

(13)Permission denied: make_sock: could not bind to address [::]:80

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

Error (2) - same issue we get when we use httpd script to start apache

service.

[sapcs@hpsebdev1 bin]$ httpd -k start

(13)Permission denied: make_sock: could not bind to address [::]:80

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

Please Help regarding the issue

Regards

Gagan Sharma

SAP BASIS Consultant

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> We are getting a error while starting Apache server from sapcs user.

>

> We have installed SAP Content server 6.4 with SAP MAX DB 7.6 on RHEL

> Linux 64 bit OS, we also installed Apache web server server following SAP

> Standard Installation guide,

> When We run Apache server using sapcs user we are facing a error

> Error (1) -

> [sapcs@hpsebdev1 bin]$ apachectl start

> (13)Permission denied: make_sock: could not bind to address [::]:80

> (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80

> no listening sockets available, shutting down

> Unable to open logs

A program on Linux binding to ports below 1024 must be root user. Use a port higher 1024.

Markus

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Gagan,

Please change the port to 1090 in configuration file of your apache web server.

Then take a restart of your web server. This should resolve your issue.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Thanks for Reply.

But in /home/sapcs/conf/http.conf file its already maintained like this, sending you some part of httpd.conf file

  1. Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the #<VirtualHost> # directive.

  2. Change this to Listen on specific IP addresses as shown below to prevent Apache from glomming onto all bound IP #addresses.

Listen 1090

  1. User/Group: The name (or #number) of the user/group to run httpd as.

  2. It is usually good practice to create a dedicated user and group for

  3. running httpd, as with most system services.

#

User sapcs

Group sapsys

</IfModule>

</IfModule>

even after restarting server i am getting same problem

[sapcs@hpsebdev1 bin]$ apachectl start

(13)Permission denied: make_sock: could not bind to address [::]:80

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

I am using a non root user to start apachectl command

Regards

Gagan Sharma

former_member188883
Active Contributor
0 Kudos

Hi Gagan,

You can perform a search in http.conf file for port 80. replace it with 1090.

I guess the parameter name should be port = 80.

Hope this helps.

Regards,

Deepak Kori