Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS server failed to install

During the install I received these errors:

Installing Apache2.2 as an Service
Installing the Apache2.2 service
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions.  : make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Now we Start Apache2.2 :)
The Apache2.2 service is starting.
The Apache2.2 service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.

What can I do to fix this?

I'm going to take a guess that the problem is port 80 is in use by my web server.  If that's the case how can I change Apache to a different port and how can I continue the install?

Thank you,

Docfxit

in OCS Inventory NG server for Windows by (120 points)

1 Answer

0 votes
Dear guy,

to change Apache port you have to edit server.xml and change connector port=xxxx

In our case we have a server.xml of Tomcat 7 in the following directory

C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf

and  the line with connector port string:

    <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
by (380 points)
 
Powered by Question2Answer
...