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.8 available

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

Problem accessing the initial web interface

Hello --

I have an Ubuntu 14.04 LTS 64-bit distribution server that I want to use as the OCS Inventory server. The Apache and MySQL servers that are installed are those from the Ubuntu packages.

I have downloaded the 2.1.2 distribution, and I have gone through the motions of installing the software. There were several issues that I encountered during the installation process:

1. When the installation script referenced the apache2.conf file, the following error messages appeared on-screen:

[Fri Jan 22 10:32:01.855230 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Fri Jan 22 10:32:01.855271 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Fri Jan 22 10:32:01.855283 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Fri Jan 22 10:32:01.855288 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Fri Jan 22 10:32:01.855301 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.860893 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.861011 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.861025 2016] [core:warn] [pid 7953] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
[Fri Jan 22 10:32:01.883534 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Fri Jan 22 10:32:01.883572 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Fri Jan 22 10:32:01.883584 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Fri Jan 22 10:32:01.883589 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Fri Jan 22 10:32:01.883602 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.888519 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.888637 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jan 22 10:32:01.888651 2016] [core:warn] [pid 7959] AH00111: Config variable ${APACHE_LOG_DIR} is not defined

I entered the full path name to the apache2.conf file, and the installation script proceeded onward.

2. I had to specify the include directory the script was seeking as the /etc/apache2/site-available folder.

3. I was unable to install the Apache2::SOAP perl module because the /opt/apache2/include directory is not present on the server.

4. After the installation was finished, the z-ocsinventory-server.conf file was not located in the /etc/apache2/sites-available directory, but off of the root, /, directory. When I copied the aforementioned file to the above folder, the apache server complained about it, and I was forced to remove it.

The end result is the application appears to be installed, but I cannot access the web interface.

I have the ocs_server_setup_log file available for upload, but I did not see a way to attach it to this posting. If someone wants a copy of it, please let me know.

 

 

in OCS Inventory NG server for Unix by (180 points)

2 Answers

0 votes
Hello --

I believe I solved the problem. I checked the /usr/share/ocsinventory-ocsreports folder, and the ocsreports directory was there. I copied the latter directory to the /var/www/html directory, and restarted the server. I was able to access the web interface.
by (180 points)
0 votes

I have the many types of installation for When i have copied the aforementioned file to the above folder, the apace server complained about Kamagra Bestellen online it, and I was forced to remove it.

by (140 points)
 
Powered by Question2Answer
...