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 https://wiki.ocsinventory-ng.org. Read it before asking your question.

Les postes ne remontent pas suite à une réinstallation

Bonjour à tous !

Je viens vers vous car la je sèche un peu.

J'ai un serveur Windows server 2012 sur lequel j'ai mis à jour XAMPP pour pouvoir utiliser la dernière version de GLPI (j'avais besoin d'une version plus récente de PHP).

J'ai donc sauvegarder ma base MySQL pour GLPI et OCS. J'ai donc installé la nouvelle version de XAMPP, de GLPI et OCS Server (2.1.2, même version que j'avais avant la réinstallation).

Tout c'est parfaitement passé. La liaision OCS => GLPI fonctionne.

Le soucis, c'est que les postes de mon parc ne remontent plus sous OCS.

Et je ne vois pas bien d'où vient le problème, car j'ai gardé la même IP, les mêmes comptes, la même version de OCS Server. Mais rien y fait.

J'ai fait un test avec un agent FusionInventory, ça remontent bien sur le plugin GLPI. MAis la connexion avec le serveur OCS ne se fait (pas de de remonté, comme avec l'agent OCS).

J'ai tenté d'installer OCS Server sur un poste lambda avec le package OCS (xampp 1.7.7 + OCS Server), idem je n'ai pas de remonté.

Il y a t-il une version de XAMPP (ou apache /sql / php) à respecter ? Car à part cela je ne vois pas d'où vient le problème. Je n'ai pas de firewall, ni d'antivirus qui bloquent.

Autre question: lors de l'installation de l'agent Windows, on nous demande l'adresse du serveur (pas de problème pour cela) et un login/mot de passe. On doit entrer un compte OCS Serveur ou un compate accès MySQL ?

Merci par avance.
in OCS Inventory NG server for Windows by (200 points)

4 Answers

0 votes
Bonjour,

Le module mod_perl d'apache est bien installé et activé? Merci de poster le contenu du fichier error.log.

Cordialement

Frank
by (90.2k points)
[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.574853 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.574853 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.590511 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 20, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 25, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 30, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 35, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 40, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 50, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 55, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 60, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 65, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 76, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 81, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 86, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 91, referer: http://localhost/xampp/
0 votes
Oui il est bien installé, voici le log:

[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:45:56.854922 2016] [:error] [pid 2516:tid 1816] [client 172.16.3.14:49353] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:50:00.030119 2016] [:error] [pid 2516:tid 1676] [client 172.16.3.14:49847] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 08:58:53.459017 2016] [:error] [pid 2516:tid 1804] [client 172.16.3.93:62213] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.574853 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.574853 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 10:33:37.590511 2016] [:error] [pid 2516:tid 1812] [client 172.16.3.14:51412] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\\xampp\\htdocs\\ocsreports\\backend\\require\\connexion.php on line 10, referer: http://172.16.1.39/ocsreports/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 20, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 25, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 30, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 35, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 40, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 50, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 55, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 60, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 65, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 76, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 81, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 86, referer: http://localhost/xampp/
[Mon Sep 26 11:14:50.185451 2016] [:error] [pid 2516:tid 1800] [client ::1:62326] PHP Notice:  Undefined variable: TEXT in C:\\xampp\\htdocs\\xampp\\perl-info.php on line 91, referer: http://localhost/xampp/
by (200 points)
0 votes
hmmm en fait mon mod perl ne fonctionne pas...

J'ai regardé pour l'installer mais je n'y comprend pas grand chose. Il existe une verison compatible avec Apache 2.4 ?
by (200 points)
0 votes
Regarde sur le site de xampp si tu trouves le module compilé pour apache 2.4, sinon il te faudra le compiler par toi-même.

Frank
by (90.2k points)
 
Powered by Question2Answer
...