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.

running agent responds unknown host:

Hey,

When i send inventory from ocs agent i get

"[root@comp1# ocsinventory-agent -f
hostname: Unknown host
hostname: Unknown host"

Help:
in OCS Inventory NG agent for Unix by (370 points)

1 Answer

0 votes
Hi,

Enable debug and post ocsinventory-agent.log content.

Thanks

Regards

Frank
by (90.4k points)
[Tue Jun  2 12:45:13 2015][error] Cannot establish communication : 500 Internal Server Error
[Tue Jun  2 12:46:27 2015][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1rc1
[Tue Jun  2 12:46:27 2015][debug] Log system initialised (File)
[Tue Jun  2 12:46:27 2015][debug] --scan-homedirs missing. Don't scan user directories
[Tue Jun  2 12:46:27 2015][debug] Accountinfo file: /var/lib/ocsinventory-agent/http:__10.96.180.133_ocsinventory/ocsinv.adm
[Tue Jun  2 12:46:27 2015][debug] OCS Agent initialised
[Tue Jun  2 12:46:27 2015][debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[Tue Jun  2 12:46:27 2015][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1rc1
[Tue Jun  2 12:46:27 2015][debug] Log system initialised (File)
[Tue Jun  2 12:46:27 2015][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1rc1
[Tue Jun  2 12:46:27 2015][debug] Log system initialised (File)
[Tue Jun  2 12:46:27 2015][debug] Calling handlers : `start_handler'
[Tue Jun  2 12:46:27 2015][debug] [snmp] Calling snmp_start_handler
[Tue Jun  2 12:46:27 2015][error] [snmp] Net::SNMP perl module is missing !!
[Tue Jun  2 12:46:27 2015][error] [snmp] Humm my prerequisites are not OK...disabling module :( :(
[Tue Jun  2 12:46:27 2015][debug] [download] Calling download_start_handler
[Tue Jun  2 12:46:27 2015][debug]  - LWP loaded
[Tue Jun  2 12:46:27 2015][debug]  - Crypt::SSLeay loaded
 
Powered by Question2Answer
...