You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-10-13 14:37:13

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

le cron de GLPI ne marche pas

bonjour,

j'utilise GLPI 0.71.2 (Mise à jour recemment) avec la synchronisation à partir de OCS.
J'arrive à synchroniser manuellement mes machines à partir du menu Outil OCS-ING : pas de probleme.

A partir du moment que je rempli le champs "Nombre d'éléments à synchroniser via le cron " en mettant par ex 5, il n'y a aucune mise à jour automatique.

Il me semble que cette fonctionnalité marchait tres bien avant la mise à jour de GLPI de 0.70 vers 0.71.2.

pouvez vous me decire le fonctionnement du cron GLPI et peut-etre reoudre mon probleme

PS : Le systeme GLPI-OCS est sous Win2003Server

Merci pour votre super travail.


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#2 2008-10-13 14:41:19

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: le cron de GLPI ne marche pas

Activez le mode DEBUG et le traceur dans le panel de configuration de GLPI

Offline

#3 2008-10-13 14:47:59

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

Re: le cron de GLPI ne marche pas

Super rapide la réponse : merci

Apparement j'ai pas mal d'erreur sur fond rouge


PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 47
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 51
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 53
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 55
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 58
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 61
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 63
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php at line 65
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 46
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 48
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 50
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 52
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 54
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 56
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 58
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\connection.class.php at line 60
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 48
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 50
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 92
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 96
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 100
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 102
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 668
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 670
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 997
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 999
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\mailing.class.php at line 1001
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 30
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 36
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 42
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 49
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 55
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 61
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 67
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 74
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 80
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 87
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 96
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 103
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 109
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 115
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 122
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 128
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 134
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 142
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 156
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 162
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 168
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 174
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 180
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 186
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 193
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 199
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 207
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 212
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 213
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 214
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 215
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 216
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 217
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 218
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 219
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 220
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 221
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 222
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\lib\phpmailer\class.phpmailer.php at line 223
PHP ERROR: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\ocsng.class.php at line 41
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php:47) in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\display.function.php at line 57
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php:47) in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\display.function.php at line 1944
PHP ERROR: Cannot modify header information - headers already sent by (output started at C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\auth.class.php:47) in C:\Program Files\OCS Inventory NG\xampp\htdocs\glpi\inc\display.function.php at line


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#4 2008-10-13 14:53:05

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: le cron de GLPI ne marche pas

Comment avez-vous mis à jour glpi (procédure)? quelle version d'Apache / PHP / MySQL utilisez-vous?

Offline

#5 2008-10-13 15:05:56

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

Re: le cron de GLPI ne marche pas

Pour la mise à jour :
J'ai copié le contenu tétéchargé dans htdocs/glpi
j'ai relancer mon glpi et il m'a proposer de faire la mise à jour.
Cela c'est effectué sans erreur

En fait c'est la version XAMPP 1.5.1
Apache 2.2
PHP Version 5.1.1
mySQL 5.0.18

j'ai aussi eu un crash de mon serveur (independente de GLPI ou OCS)  il y quelque temps ou j'ai restaurais entierement le repertoire OCS-Inventory dans lequel il y a GLPI et OCS
Ensuite j'ai seulement relancer les Services Apache et MySQL


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#6 2008-10-13 15:11:08

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: le cron de GLPI ne marche pas

pour la mise à jour, il faut qu'il n'y ait plus rien dans le dossier glpi avant de mettre les nouveaux fichiers.

Offline

#7 2008-10-13 15:15:00

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

Re: le cron de GLPI ne marche pas

Ca pourrait venir de la ??


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#8 2008-10-13 15:15:33

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: le cron de GLPI ne marche pas

carrément oui. La procédure de mise à jour n'est pas là pour faire jolie

Offline

#9 2008-10-13 15:21:13

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

Re: le cron de GLPI ne marche pas

Ok je peux la refaire j'ai gardé l'ancien htdocs/glpi version 0.70.


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#10 2008-10-13 15:21:18

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: le cron de GLPI ne marche pas

changez de version de php, celle là est pourrie,
ce pb a été déjà pas mal rencontré sur le forum.

Offline

#11 2008-10-13 19:57:33

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: le cron de GLPI ne marche pas

Absolument cette version de php est buggée


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#12 2008-10-14 11:00:52

Realix
Member
From: TOULOUSE
Registered: 2006-10-10
Posts: 57
Website

Re: le cron de GLPI ne marche pas

J'ai refait la mis à jour de GLPI de la version 0.70 à 0.71.2 en vidant cette fois le repertoire htdocs/glpi.

Le cron à l'air de remarcher. J'ai toujours mon ancienne version de PHP.

Ma version de PHP a été installé en meme temps que OCSInventory (XAMPP 1.5.1) et je ne sais pas trop comment mettre à jour PHP sans devoir tout casser. (Je m'eloigne un peu de Glpi)

Merci pour votre Aide


Debian GNU/Linux 5.0.7 System 2.6.32-5-amd64
Apache 2.2.16 / mysql-server- 5.1.49.3 / perl 5.10.0-19 / php5 5.3.3-7+squeeze3
GLPI 0.83.7 / OCS inventory 2.0.5.0
PlugIn Imports fabricants 1.5.2 / Rapports 1.6.1

Offline

#13 2008-10-14 11:04:09

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: le cron de GLPI ne marche pas

Mettre la dernière version de xampp (ou wamp) mais tu vas devoir remettre OCS et GLPI comme un grand

Offline

Board footer

Powered by FluxBB