You are not logged in.
Pages: 1
hello, update a few days ago of GLPI 0.72.3 to 0.72.4 and now I'm trying to put a cron script to sync autmaticamente with OCS, but when you run the scripts I get the following errors, can anyone know that this happening?
#php /var/www/glpi/plugins/massocsimport/scripts/ocsng/ocsng_fullsync.php
Warning: include(../../../config/based_config.php): failed to open stream: No such file or directory in /var/www/glpi/plugins/massocsimport/scripts/ocsng_fullsync.php on line 85
Warning: include(): Failed opening '../../../config/based_config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/glpi/plugins/massocsimport/scripts/ocsng_fullsync.php on line 85
Warning: include(../../../inc/includes.php): failed to open stream: No such file or directory in /var/www/glpi/plugins/massocsimport/scripts/ocsng_fullsync.php on line 86
Warning: include(): Failed opening '../../../inc/includes.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/glpi/plugins/massocsimport/scripts/ocsng_fullsync.php on line 86
Fatal error: Call to undefined function getMemoryLimit() in /var/www/glpi/plugins/massocsimport/scripts/ocsng_fullsync.php on line 93
My system is:
GLPI 0.72.4
Debian 5 Lenny
Apache 2.2.9-10
Php 5.2.6
MySQL 5.0.51a
Last edited by hackmaf (2010-03-29 20:21:16)
Offline
Probably something with rights because the plugin cannot find /config/based_config.php
Last edited by vgracanin (2010-03-29 23:04:05)
Offline
See plugin documentation.
You should not launch ocsng_fullsync.php but ocsng_fullsync.sh
+
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
Hello,
i get the same messages as hackmaf.
If i run ocsng_fullsync.sh with nolog
Thread #1 : starting (1/2)
Thread #1 : import computers from server: <server>
Thread #1 : 600 computer(s)
Thread #2 : starting (2/2)
Thread #2 : import computers from server: <server>
Thread #2 : 598 computer(s)
Then in GUI in OCS import i see:
Status Number of threads Starting date Ending date Imported machines%
Last edited by marcinr (2010-04-22 11:39:10)
Offline
omg i can't post because forum's engine is crashing?
edit: finally. It looks like i was unable to save my post because of too long line?!
edit2: geee, now my post is truncated. This forum sucks
Last edited by marcinr (2010-04-22 11:40:16)
Offline
Pages: 1