You are not logged in.
I have just a couple of questions about the OCS/GLPI synchronization. I have searched this forum and found several helpful things but nothing that has resolved the issue for me. It seems that a lot of the information about this topic is old and for previous versions of either OCS or GLPI. So I would like to try and get the most current information in troubleshooting this problem.
Like many others who have posted on this topic the auto-synch between OCS and GLPI is not happening. However, if I go into the Tools > OCSNG > and choose to synch the existing computer it works fine. It is just not working automatically.
I am using GLPI version 0.71.5 on a RedHat 4 update 7 server.
OCS version 1.02 RC2
apache 2.0.52, php 4.3.9-3.22.9, mysql 4.1.22-2 (let me know if any other info is needed)
I see some documentation that says you need the glpi-mass_ocs_import plugin and other documentation that says that with this version of GLPI the plugin is not needed. I have tried it both ways and cannot get it to work either way.
I have verified the ownership and permission to the /var/www/html/glpi folders and I am pretty sure they are all correct for what is needed. I am just not sure what I am missing and what else to check.
If there is anyone who can verify what is needed in the current version of GLPI, or other things I can check on my end to get the auto synch working with OCS that would be great.
Thanks!
Last edited by knowtown (2009-03-17 17:48:27)
Offline
something in the files/_log/cron.log ?
Also try in debug mode
You should note than glpi 0.71.5 is the latest version which will work with php 4 (old, deprecated, non maintained, so obsolete).
Next version (0.72) will require php 5
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Thanks Remi.
here is the output from the cron.log
[root@its-ocs01 ~]# cat /var/www/html/glpi/files/_log/cron.log
17-03-2009 07:15
Launch dbreplicate
17-03-2009 07:15
dbreplicate Nothing to do (0.01s)
17-03-2009 07:26
Launch ocsng
17-03-2009 07:26
Check updates from server localhost
17-03-2009 07:26
ocsng Nothing to do (0.02s)
17-03-2009 07:29
Launch mailgate
17-03-2009 07:29
mailgate Successfull (0.00s)
17-03-2009 07:33
Launch dbreplicate
17-03-2009 07:33
dbreplicate Nothing to do (0.00s)
17-03-2009 07:42
Launch plugin_mass_ocs_import
17-03-2009 07:42
Clean mass_ocs_import : nothing to do
17-03-2009 07:42
plugin_mass_ocs_import Nothing to do (0.01s)
17-03-2009 07:48
Launch ocsng
17-03-2009 07:48
Check updates from server localhost
17-03-2009 07:48
ocsng Nothing to do (0.00s)
17-03-2009 07:53
Launch dbreplicate
17-03-2009 07:53
dbreplicate Nothing to do (0.00s)
17-03-2009 08:00
Launch mailgate
17-03-2009 08:00
mailgate Successfull (0.01s)
17-03-2009 08:06
Launch ocsng
17-03-2009 08:06
Check updates from server localhost
17-03-2009 08:06
ocsng Nothing to do (0.00s)
17-03-2009 08:06
Launch dbreplicate
17-03-2009 08:06
dbreplicate Nothing to do (0.00s)
17-03-2009 08:14
Launch mailgate
17-03-2009 08:14
mailgate Successfull (0.00s)
17-03-2009 09:26
Launch ocsng
17-03-2009 09:26
Check updates from server localhost
17-03-2009 09:26
ocsng Nothing to do (0.00s)
And I can certainly try debug mode. I know how to turn debug mode on but after that what would I need to do to test the auto synchronization?
And thanks also for the info on PHP. Maybe I will work on getting that upgraded to current version.
Offline
Cron seems to run ...
But does nothing (this is the internal cron) :
17-03-2009 07:48
ocsng Nothing to do (0.00s)
Check the others logs file with debug mode on (and trace in file) after you see a new event about ocsng
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Hi to you all.
Do you have any follow up on this issue? I'm facing a very similar problem..... My cron log is in all ways similiar to the one here presented.
I'm using OpenSuse 11.0, GLPI 0.71.5, MySQL 5.0.67 and PHP 5.2.9.29.
Thanks.
Best regards
Offline