Comments on How To Install OCS Inventory NG Server 2 On CentOS 5.5
How To Install OCS Inventory NG Server 2 On CentOS 5.5 This article explains how to install OCS Inventory NG Server 2 on Linux Server. OCS Inventory is a great software to make inventories. The NG Server is formed by: communication server, deployment server, and administration console. The computers that will be inventoried must run an agent (installed on each computer), to connect to the OCS NG Server. We are using the CentOS 5.5 (64bits) distribution, but it will probably work on Fedora (and Red Hat, for sure).
16 Comment(s)
Comments
Dear Team,
we follow you all given steps but we not able to access ocsreports interface.
We getting 404 Not Fount error.
My apache log details given below.
192.168.137.1 - - [24/Mar/2011:23:53:00 +0530] "GET /ocsreports/ HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [24/Mar/2011:23:53:00 +0530] "GET /favicon.ico HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [24/Mar/2011:23:53:00 +0530] "GET /favicon.ico HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [24/Mar/2011:23:53:03 +0530] "GET /favicon.ico HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [25/Mar/2011:00:07:06 +0530] "GET /ocsreports/ HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [25/Mar/2011:00:07:09 +0530] "GET /ocsreports/ HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
192.168.137.1 - - [25/Mar/2011:00:11:05 +0530] "GET /ocsreports/ HTTP/1.1" 404 2 89 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110 303 Firefox/3.6.15"
^E192.168.137.1 - - [25/Mar/2011:00:14:06 +0530] "GET /ocsreports/ HTTP/1.1" 404 289 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15"
please help me.
restart Apache daemon
i already restart apache. no error come out. but only white screen appear. .... plz help me
I am also facing same error, i have installed php again eoor gone But now apache is not starting up .please suggest on the same
DearTeam,
Now we facing the beow error please help me
Syntax error on line 38 of /etc/httpd/conf.d/ocsinventory-reports.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
THANKS IN ADVANCE.
PLEASE HELP ME.
Try this:
yum install php
Good luck!
ERROR: can't write in directory (on dbconfig.inc.php), please set the required rights in order to install ocsinventory (you should remove the write mode after the installation is successfull)
how can i solve this
If anyone gets this error after setting the file permissions correctly, try disabling SELinux; that is what worked for me ;-)
setenforce 0
para ese error, tienes que deshabilitar el SELINUX, yo tuve el mismo problema y luego de realizar el cambio, me funciona perfectamente.
we also need to install php-mbstring
yum install php-mbstring -y
For those out there who are unbale to get it for 64-bit systems
$rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Try this URL for RHEL 6: http://ftp.riken.jp/Linux/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
Hi,
I installed and configured this using the documentation / wiki that you post here but When i try to restart the httpd this error came :
[root@localhost OCSNG_UNIX_SERVER-2.0rc1]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-07-03 08:27:14 PHT; 1min 27s ago
Process: 7951 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
Process: 7949 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Status: "Total requests: 1; Current requests/sec: 0; Current traffic: 0 B/sec"
Jul 03 08:27:14 localhost.localdomain httpd[7949]: AH00526: Syntax error on line 303 of /etc/httpd/conf.d/z-ocsinventory-server.conf:
Jul 03 08:27:14 localhost.localdomain httpd[7949]: Unknown Authz provider: SOAP_USER
Jul 03 08:27:14 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 03 08:27:14 localhost.localdomain httpd[7951]: [Wed Jul 03 08:27:14.874718 2013] [so:warn] [pid 7951] AH01574: module dav_svn_module is ...kipping
Jul 03 08:27:14 localhost.localdomain httpd[7951]: [Wed Jul 03 08:27:14.874784 2013] [so:warn] [pid 7951] AH01574: module authz_svn_module i...kipping
Jul 03 08:27:14 localhost.localdomain httpd[7951]: AH00526: Syntax error on line 303 of /etc/httpd/conf.d/z-ocsinventory-server.conf:
Jul 03 08:27:14 localhost.localdomain httpd[7951]: Unknown Authz provider: SOAP_USER
Jul 03 08:27:14 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 03 08:27:14 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Jul 03 08:27:14 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Can you please help me solve this? Thanks in advance
Syntax for require has been changed for Apache 2.4. Change the line that reads require "SOAP_USER" into require user "SOAP_USER" HTH
This tutorials almost completely works however it neglects to let you know you need to install PHP and Apache, also the epel 5 repo doesn't allow you to install a few of the other services this guide wants you to install.
Solution: INSTALL EPEL 6 NOT 5 one link that works for now is this
www.mirrorservice.org/sites/download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
DO NOT FORGET to "yum install -y php httpd"
also as noted below by Younten Jamtsho php-mbstring is also required
"yum install -y php-mbstring" will fix this issue
Any other issues can usually be solved by disabling SELINUX and IPTABLES
and now this tutorial is up to date and I confirm I have OCS running on CentOS 6.5 64bit
can't write in directory (on dbconfig.inc.php), please set the required rights in order to install ocsinventory (you should remove the write mode after the installation is successfull)
et j'utilise ubuntu 14.. donc j'ai pas de selinux sur mon system
alors quoi faire?