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

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

Can't write in directory (on dbconfig.inc.php)

Hi,

I am trying to configure OCS server on Centos 7, i'm getting the below error to configure the OCS server. I have given full access for OCSreports directory. Please anyone help me to solve the issue.

Document root should be writable : /usr/share/ocsinventory-reports/ocsreports

Thanks in advance

Nagesh

asked Dec 4 in OCS Inventory NG server for Unix by nageshc (200 points)
reopened Dec 5 by nageshc

4 Answers

0 votes
You look like to install OCS with tar.gz. The solution is really easy : use our rpm :)

https://www.ocsinventory-ng.org/en/rpm-repository-is-available-for-rhelcentosfedora/
answered Dec 4 by kapouik (16,030 points)
–1 vote

Now i am able to access the admin console after disabling the SElinux...

Disabled SElinux with the commands :

# vi etc/selinux/config
 
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX= disabled

Save and Close then restart the server.

# shutdown -r now

answered Dec 5 by nageshc (200 points)
reshown Dec 5 by kapouik
Disable selinux decrease system security : you must not do that !

Our RPM keep selinux configure and adapt rules for OCS.
0 votes
Which one i need to install from the list (EL7 or Fedora26), i'm using Centos 7.
answered Dec 5 by nageshc (200 points)
0 votes
Hi

EL7 = CentOS7 so install the el7 rpm

Regards

Frank
answered Dec 5 by frankb (52,090 points)
 
Powered by Question2Answer
...