Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers
Viewing all articles
Browse latest Browse all 11965

[error] Cannot establish communication : 301 Moved Permanently

$
0
0

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


Viewing all articles
Browse latest Browse all 11965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>