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.

[error] Cannot establish communication : 301 Moved Permanently [closed]

Bonjour,

J'ai un problème lorsque je lance l'agent OCS (sous linux le cas échéant). Voici le log de l'agent avec la commande suivante :

ocsinventory-agent --debug --logfile=/var/log/ocsagent_log.txt

Voici le résultat du fichier "ocsagent_log.txt":

[Thu Dec 29 10:08:44 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Dec 29 10:08:44 2016][debug] Log system initialised (File)
[Thu Dec 29 10:08:44 2016][debug] --scan-homedirs missing. Don't scan user directories
[Thu Dec 29 10:08:44 2016][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__172.27.3.117_ocsreports/ocsinv.adm
[Thu Dec 29 10:08:44 2016][debug] OCS Agent initialised
[Thu Dec 29 10:08:44 2016][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Thu Dec 29 10:08:44 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Dec 29 10:08:44 2016][debug] Log system initialised (File)
[Thu Dec 29 10:08:44 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Thu Dec 29 10:08:44 2016][debug] Log system initialised (File)
[Thu Dec 29 10:08:44 2016][debug] Calling handlers : `start_handler'
[Thu Dec 29 10:08:44 2016][debug] [snmp] Calling snmp_start_handler
[Thu Dec 29 10:08:44 2016][debug]  - Net::SNMP loaded
[Thu Dec 29 10:08:44 2016][debug] [download] Calling download_start_handler
[Thu Dec 29 10:08:44 2016][debug]  - LWP loaded
[Thu Dec 29 10:08:44 2016][debug]  - LWP::Protocol::https loaded
[Thu Dec 29 10:08:44 2016][debug] Compress::Zlib is available.
[Thu Dec 29 10:08:44 2016][debug] Calling handlers : `prolog_writer'
[Thu Dec 29 10:08:44 2016][debug] sending XML
[Thu Dec 29 10:08:44 2016][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>aristote-2016-12-29-10-07-23</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Dec 29 10:08:44 2016][error] Cannot establish communication : 301 Moved Permanently

Environnement : Debian Jessie, OCS server 2.3, OCS agent 2.1.1

Je pense qu'il s'agit d'un souci dans la configuration Apache2, mais je n'arrive pas à trouver.

Est-ce que quelqu'un pourrait m'aider ?

Bien cordialement,

Wilfrid

closed with the note: Problème clos - Pas de réponse depuis le  janvier 01/01/2017
in OCS Inventory NG agent for Unix by (120 points)
closed by

1 Answer

0 votes
Bonjour

Est-ce qu'un proxy est utilisé dans l'infrastructure?

Cordialement

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