You are not logged in.
Pages: 1
I am trying to get the mass import plugin to work and have followed all the posts on this forum without success. When I put GLPI into debug mode and run ocsng_fullsync.sh I get the following errors in ocsng_fullsync.log
Mon Nov 10 15:15:33 EST 2008 ./ocsng_fullsync.sh started
Clean old Not Imported machine list (0)
Manage delete items in OCS server #1: "localhost"
Thread #1 : starting (1/2)
thread #1 : import computers from server: 'localhost'
PHP ERROR: Undefined index: SCRIPT_FILENAME in /var/www/html/glpi/inc/dbmysql.class.php at line 129
PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 164
thread #1 : computer(s)
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 172
^MThread #1 : done ..
Thread #2 : starting (2/2)
thread #2 : import computers from server: 'localhost'
PHP ERROR: Undefined index: SCRIPT_FILENAME in /var/www/html/glpi/inc/dbmysql.class.php at line 129
PHP ERROR: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 164
thread #2 : computer(s)
PHP ERROR: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/glpi/inc/dbmysql.class.php at line 172
^MThread #2 : done ..
cleaning up.
Mon Nov 10 15:15:36 EST 2008 ended
The database is up and operational, but none of the computers in OCS ever get synchronized. I am using the follow system configuration:
OS: RHEL 4
PHP: 4.3.9
MySQL: 4.1.22
GLPI: 0.71.2
OCS-NG: 1.01 / 4100
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
hello
could you post the traces in the log files please ?
Offline
What I posted is all I get. I had to put GLPI into debug mode to get those errors in the ocsng_fullsync.log file. The php-errors.log and sql-errors.log files are empty. Is there another way to get more detailed information? Thanks.
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
i have the same error (computers not sync) but less information in log files. my logs are like this:
mié nov 19 16:56:56 CET 2008 ./ocsng_fullsync.sh started
cleaning up.
mié nov 19 16:56:56 CET 2008 ended
anyone can help ?
thank you very much ..
Offline
With MySQL 4.1, there is an issue,
You must apply patch :
https://dev.indepnet.net/plugins/changeset/7301
++
P.S. mais normalement une erreur devrait apparaître dans le fichier sql-errors.log....
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
Pages: 1