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.

Error Install

error when installing the Ocs Inventory.

Appending installation info to /usr/lib64/perl5/perllocal.pod
Creating Communication server log directory /var/log/ocsinventory-server
Fixing Communication server log directory permissions
chown: changing ownership of ‘/var/log/ocsinventory-server’: Operation not permitted
[centos@ip-10-0-1-63 OCSNG_UNIX_SERVER_2.5]$ ls -l /var/log/
total 392
drwxr-xr-x. 2 root   root      191 Jan 28 21:02 anaconda
drwx------. 2 root   root       23 Feb 20 15:58 audit
-rw-r--r--. 1 root   root       93 Feb 20 15:59 boot.log
-rw-------. 1 root   utmp      768 Feb 20 19:46 btmp
drwxr-xr-x. 2 chrony chrony      6 Apr 12  2018 chrony
-rw-------. 1 root   root   131086 Feb 20 15:59 cloud-init.log
-rw-r--r--. 1 root   root     9688 Feb 21 18:01 cron
-rw-r--r--. 1 root   root    30294 Feb 20 15:58 dmesg
-rw-------. 1 root   root     1928 Feb 20 20:56 grubby
-rw-r--r--. 1 root   root      193 Jan 28 20:53 grubby_prune_debug
drwx------. 2 root   root        6 Nov  5 01:47 httpd
-rw-r--r--. 1 root   root   292292 Feb 21 15:16 lastlog
-rw-------. 1 root   root      204 Feb 20 15:59 maillog
-rw-------. 1 root   root   122144 Feb 21 18:01 messages
-rw-r-----. 1 mysql  mysql    2412 Feb 20 20:53 mysqld.log
drwxrwxrwx. 2 apache root        6 Apr 12  2018 ocsinventory-server
drwxr-xr-x. 2 root   root        6 Oct 30 21:29 qemu-ga
drwxr-xr-x. 2 root   root        6 Jan 28 21:02 rhsm
-rw-------. 1 root   root    25447 Feb 21 18:01 secure
-rw-------. 1 root   root        0 Jan 28 20:54 spooler
-rw-------. 1 root   root        0 Jan 28 20:52 tallylog
drwxr-xr-x. 2 root   root       23 Feb 20 15:58 tuned
-rw-rw-r--. 1 root   utmp     4992 Feb 21 15:16 wtmp
-rw-------. 1 root   root    13133 Feb 21 15:23 yum.log


Can somebody help me?

I think it could be because I have to put sudo in the instruction ... but I do not know

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

1 Answer

0 votes
Hi,

There is no problem as well with the installation of OCS server by using sudo command. Which command did you used?

Regards

Frank
by (88.5k points)
 
Powered by Question2Answer
...