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.

Err 404 de l'Agent

Bonjour,

Je pose un problème pour le quel je n'ai pas de trouvé de solution..

Mon serveur :

      Linux Debian 12.12    -   PHP 8.2.29    -  mariadb 10.1.14     -   apache2.4.65

      Serveur OCS  2.12.3   -   Agent OCS: 2.11.0.1

       GLPI 11.0.1  (avec la nouvelle procédure d'installation)

Voila, j'explique mon souci:

J'ai tout installé, correctement (je pense) le serveur OCS fonctionne installation avec le guide d'install. j'ai installé le serveur OCS en premier, tester la remonté d'inventaire de l'agent, qui fonctionne, il contacte bien le serveur

      Log de l'agent :

        Starting OCS Inventory Agent on Wednesday, November 19, 2025 11:25:58.
        AGENT => Running OCS Inventory Agent Version 2.11.0.1
        AGENT => Using OCS Inventory FrameWork Version 2.11.0.1
        AGENT => Loading plug-in(s)
        AGENT => Using network connection with Communication Server
        AGENT => Using Communication Provider <OCS Inventory cURL Communication                  Provider> Version <2.11.0.1>
        AGENT => Sending Prolog
        AGENT => Prolog successfully sent
        AGENT => Inventory change forced by /NOTIFY option
        AGENT => Launching hardware and software checks
        AGENT => Sending Inventory
        INVENTORY => Network adapters inventory state changed
         AGENT => Inventory successfully sent
         AGENT => Unloading communication provider
         AGENT => Unloading plug-in(s)
         AGENT => Execution duration: 00:00:19.

J'ai installer le serveur GLPI avec la documentation de et recommandation de l'éditeur.

Pas de soucis..interface web pour les deux serveurs sur un même PC..

la connexion à la base de données OCS via GLPI est Ok, l'import de l'inventaire test d'OCS est positif, je retrouve bien mon inventaire via OCS.

Maintenant quand je désactive le site par défaut d'apache2 (a2dissite 000-default.conf) je n'ai pas de remonté d'inventaire de l'agent OCS (le web de la console fonctionne correctement). le web de la console de GLPI est off: Err. 404

Si j'active le site de GLPI le web GLPI est fonctionnel, mais pas de remonté d'agent OCS..

les Log de l'agent sur le client:

      Starting OCS Inventory Agent on Wednesday, November 19, 2025 15:08:55.
      AGENT => Running OCS Inventory Agent Version 2.11.0.1
      AGENT => Using OCS Inventory FrameWork Version 2.11.0.1
      AGENT => Loading plug-in(s)
      AGENT => Using network connection with Communication Server
      AGENT => Using Communication Provider <OCS Inventory cURL                    Communication Provider> Version <2.11.0.1>
       AGENT => Sending Prolog
       ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
       AGENT => Unloading communication provider
       AGENT => Unloading plug-in(s)
       AGENT => Execution duration: 00:00:00.

Si quelqu'un a une idée, merci d'avance.

Epoc..
 

    

in OCS Inventory NG server for Unix by (1.8k points)

11 Answers

0 votes
Salut,

Ton serveur mysql n'est pas ouvert sur ton LAN,

verifie le configuration de mysql/maridb et le firewall du system.

depuis un autre serveur du LAN fait un telnet:

telnet IP_MYSQL_SERVER 3306

pour tester.
ago by (1.2k points)
 
Powered by Question2Answer
...