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.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can you help me with my AGENT

I have a debian server with OCS.I install agent (windows 7) and set user(admin) and password.But the agent do not report.I check database everything is look ok.I attach logs .Can you help me PLEASE



ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Wed Jun 06 00:09:20.862397 2018] [mpm_prefork:notice] [pid 4997] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Wed Jun 06 00:09:20.862504 2018] [core:notice] [pid 4997] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jun 06 00:09:20.880011 2018] [:error] [pid 7265] avahi_entry_group_add_service_strlst("10.90.1.251") failed: Invalid host name
 

********************************************************
Starting OCS Inventory NG Agent 2.3.1.1 setup on 06/06/2018 at 8:54:00
Checking if setup not already running...OK.
Checking Operating System...OK, Windows 2000 or higher.
Command line is: "C:\Users\aangelov\Desktop\OCSNG-Windows-Agent-2.3.1.1\OCS-NG-Windows-Agent-Setup.exe"
Parsing command line arguments...OK.
Checking for silent mode...Disabled.
Checking for splash screen...Enabled.
Checking if logged in user has Administrator privileges...OK.
Creating directory <C:\ProgramData\OCS Inventory NG\Agent>...
SetACL allowing Users / Power users read/write permissions on <C:\ProgramData\OCS Inventory NG\Agent>...Result: error
SetACL propagating inherited permissions on <C:\ProgramData\OCS Inventory NG\Agent\Download>...Result: error
Trying to determine if service was previously installed...Yes.
Trying to stop service and kill processes...
Is Service <OCS Inventory Service> running...Yes.
Trying to stop Service <OCS Inventory Service>...Ok
Is Service <OCS Inventory Service> running...No - Waiting 1 second(s) for Service to stop...
Trying to kill process OcsSystray.exe...Result: 0
Trying to kill process OcsSystray.exe...Result: 603
Trying to kill process OcsService.exe...Result: 603
Trying to kill process OCSInventory.exe...Result: 603
Trying to kill process download.exe...Result: 603
Trying to kill process inst32.exe...Result: 603
Waiting 10 seconds for processes to terminate...
Copying new files to directory <C:\Program Files (x86)\OCS Inventory Agent>...
Windows XP or higher detected, installing default cURL library and MS CRT/MFC 9.0...
Copying new files status is ;-)
Writing agent configuration file by launching ocsinventory.exe /SAVE_CONF...Result: 0
Windows Advanced Firewall is not available (Vista or higher). Skip adding custom rules.
Creating startup menu shortCut <C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\OCS Inventory NG Systray.lnk> to start Systray applet...
Checking if service OCS Inventory Service is registered into Windows Service Manager...Yes
Service is installed, so unregistering OCS Inventory Service from Windows Service Manager...Result: 0.
Registering OCS Inventory Service into Windows Service Manager...Result: 0.
Starting OCS Inventory Service...Ok.
SUCCESS: OCS Inventory NG Agent 2.3.1.1 successfully installed on 06/06/2018 at 8:55:48
;-)
 

in OCS Inventory NG agent for Windows by (260 points)
recategorized by

3 Answers

0 votes
Please give the OCSInventory.log

You can find it on C:\ProgramData\OCS Inventory NG\Agent\
by (740 points)
0 votes
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, June 06, 2018 15:06:21.
AGENT => Running OCS Inventory NG Agent Version 2.3.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.1
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
    AGENT => Sending getLabel request
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending fileGet request to URL <http://10.90.1.251/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #500>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <PCBSYS025-2018-05-31-12-55-35> and MACs <50:7B:9D:B0:EE:4300:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:00> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL with server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://10.90.1.251/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #500>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
by (260 points)
0 votes
You will probably find a solution on this page

http://ask.ocsinventory-ng.org/3958/error-agent-failed-to-send-inventory-http-status-code-%23500

I had the problem when i upgraded my OCS in the last version. The user name and password was not fill on z-ocsinventory-server.conf
by (740 points)
 
Powered by Question2Answer
...