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

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

Update OCS-Server from 2.6 to 2.8

Hey Guys,

i have a problem to update our OCS-Server from 2.6 to 2.8. The "Mailsystem" (/var/spool/mail/root) the message that two logrotats a failed: /etc/cron.daily/logrotate:

1. error: skipping "/var/log/ocsinventory-server/activity.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.

2. Subject: Cron <root@idoit> /usr/local/bin/idoit-console search-index > /tmp/idoit-search-index.log

I have tried to change the group and user for the logrotat. But this was not the solution. In every directory up to /var and also the activity.log is user and group root.

Also a php module failed:
Failed loading /usr/lib64/php/modules/ixed.7.2.lin:  /usr/lib64/php/modules/ixed.7.2.lin: undefined symbol: _zval_ptr_dtor
If I log on the web interface i get only old informations from the database but nothing actuality information like devices that were connected today or changes.
in OCS Inventory NG server for Unix by (170 points)

2 Answers

+1 vote

I have:

drwxrwxr-x. 2 apache root 4096 Dec  2 03:48 /var/log/ocsinventory-server

[root@ocs ~]# ls -ltr /var/log/ocsinventory-server/
-rwxrwxr-- 1 apache apache  3073919 Dec  1 03:37 activity.log-20201201.gz
-rwxrwxr-- 1 apache apache 38835143 Dec  2 03:48 activity.log-20201202
-rwxrwxr-- 1 apache apache 26412224 Dec  2 20:08 activity.log
by (4.6k points)
0 votes
Thank you pchamorro, if have change the authorization. I am now watching to see if anything changes.
by (170 points)
 
Powered by Question2Answer
...