Use version 2.1.1.3 https://github.com/OCSInventory-NG/WindowsAgent/releases/download/2.1.1.3/OCSNG-Windows-Agent-2.1.1.3.zip
Regards
Frank
I updated my OCS server to version 2.4 and agent to version 2.3.1.1 and still cant see PC´s on server. Log attached
Starting OCS Inventory NG Agent on Wednesday, May 30, 2018 10:30:25. 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\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\OCS Inventory Agent\ComHTTP.dll> AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1> AGENT => Sending Prolog DID_CHECK => Read DeviceID <INFORMATICA-2018-05-30-10-19-18> and MACs <4C:72:B9:66:EE:9200: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 => Using cURL HTTP type proxy <192.168.5.5:3128> COM SERVER => Using cURL proxy with authentication 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://ocsreports.escambray.com.cu:80/ocsinventory> COM SERVER => HTTP Post response received <HTTP Status Code #200> COM SERVER => Cleaning cURL library AGENT => Prolog successfully sent AGENT => Prolog Frequency set to 3 hour(s) AGENT => Inventory on startup option set to 1 AGENT => Inventory required AGENT => Launching hardware and software checks INVENTORY => Loading Download history INVENTORY => Logged on user ID is <Administrador> INVENTORY => Operating System is <Microsoft Windows 7 Professional 6.1.7601 Service Pack 1>, description <> INVENTORY => Operating System uses 32 bits memory address width INVENTORY => Computer domain or workgroup is <bma.escambray.com.cu> INVENTORY => User domain is <BMA> INVENTORY => System Manufacturer <INTEL_>, System Model <DH61BE__>, System S/N <BTBE23600JV4>, Bios Manufacturer <Intel Corp.>, Bios Date <31/05/2012>, Bios Version <BEH6110H.86A.0044.2012.0531.1710>, Motherboard Manufacturer <Intel Corporation>, Motherboard Model <>, Motherboard S/N <BTBE23600JV4> INVENTORY => 1 processor(s) Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz [4 core(s) x86_64] at 3201 MHz INVENTORY => OS Memory 1941 MB, OS Swap size 3883 MB INVENTORY => 2 memory slot(s) found INVENTORY => 2 input device(s) found INVENTORY => 24 system port(s) found INVENTORY => 4 system slot(s) found INVENTORY => 7 system controller(s) found INVENTORY => 1 storage peripheral(s) found INVENTORY => 1 sound device(s) found WARNING *** INVENTORY => Failed to retrieve modems INVENTORY => 3 network adapter(s) found INVENTORY => 4 system printer(s) found INVENTORY => 1 video adapter(s) found INVENTORY => 1 system monitor(s) found INVENTORY => Default IPv4 address is <192.168.5.10> INVENTORY => Registered company <>, registered owner <install>, Product ID <00426-OE...> INVENTORY => Product key <342DG-6Y...> INVENTORY => 272 software found INVENTORY => Computer/VM UUID is <38383FCA-F4F8-E111-8BB7-505054503030> INVENTORY => Computer seems to be physical host INVENTORY => System Memory set to 2048 (instead of 1941) INVENTORY => Reading last inventory state WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state> WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state> EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files\OCS Inventory Agent\plugins> EXECUTABLE PLUGIN => Searching for PS1 script(s) in folder <C:\Program Files\OCS Inventory Agent\plugins> AGENT => Sending Inventory INVENTORY => Checking last inventory state INVENTORY => Hardware inventory state changed INVENTORY => Bios inventory state changed INVENTORY => Memory slots inventory state changed INVENTORY => System slots inventory state changed INVENTORY => System controllers inventory state changed INVENTORY => Monitors inventory state changed INVENTORY => System ports inventory state changed INVENTORY => Storage peripherals inventory state changed INVENTORY => Logical drives inventory state changed INVENTORY => Input peripherals inventory state changed INVENTORY => Network adapters inventory state changed INVENTORY => Printers inventory state changed INVENTORY => Sound adapters inventory state changed INVENTORY => Video adapters inventory state changed INVENTORY => Software inventory state changed INVENTORY => CPU inventory state changed INVENTORY => Inventory changed since last run INVENTORY => Generating XML document with Device properties INVENTORY => XML Update BIOS INVENTORY => XML Update 1 CPU(s) INVENTORY => XML Update 2 Memory Slot(s) INVENTORY => XML Update 2 Input Device(s) INVENTORY => XML Update 24 System Port(s) INVENTORY => XML Update 7 System Controller(s) INVENTORY => XML Update 4 System Slot(s) INVENTORY => XML Update 1 Sound Device(s) INVENTORY => XML Update 1 Storage Peripheral(s) INVENTORY => XML Update 3 Logical Drive(s) INVENTORY => XML Update 0 Modem(s) INVENTORY => XML Update 3 Network Adapter(s) INVENTORY => XML Update 1 Video Adapter(s) INVENTORY => XML Update 1 Monitor(s) INVENTORY => XML Update 4 Printer(s) INVENTORY => XML Update 273 Software INVENTORY => XML Update 0 Registry Value(s) INVENTORY => XML Update Administrative Information(s) INVENTORY => XML Update common Device properties COM SERVER => Initializing cURL library for sendRequest COM SERVER => Using cURL with server authentication COM SERVER => Using cURL HTTP type proxy <192.168.5.5:3128> COM SERVER => Using cURL proxy with authentication 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://ocsreports.escambray.com.cu:80/ocsinventory> WARNING *** COM SERVER => Failed to send HTTP Post request <Transferred a partial file> COM SERVER => Cleaning cURL library ERROR *** AGENT => Failed to send Inventory <Transferred a partial file> AGENT => Communication Server ask for Package Download DOWNLOAD => Package history file successfully cleaned for duplicate IDs DOWNLOAD => Download and setup tool successfully started AGENT => Unloading communication provider AGENT => Unloading plug-in(s) AGENT => Execution duration: 00:00:53.
server ocs : Ubuntu 16.04 , ocs version 2.4
the ocs agent is installed int the same machine (ocs server)
int the file /etc/ocsinventory-agent/ocsinventory-agent.cfg, i have configured it as follow :
____
after i launch ocsinventory-agent using debug mode , like this:
# ocsinventory-agent --debug
i have this result with an error line at the end ,;
(Ãchec temporaire dans la résolution du nom)
adii@ubuntu:~$ ocsinventory-agent --debug
Config: Failed to open /etc/ocsinventory-agent/ocsinventory-agent.cfg
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[info] You should run this program as super-user.
[debug] --scan-homedirs missing. Don't scan user directories
[error] Failed to create /var/lib/ocsinventory-agent/http:__ocsinventory-ng_ocsi nventory directory: Permission denied
[debug] No accountinfo file defined
[debug] OCS Agent initialised
[debug] Turns hooks on for /etc/ocsinventory-agent/modules.conf
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.3
[debug] Log system initialised (Stderr)
[debug] Calling handlers : `start_handler'
[debug] [snmp] Calling snmp_start_handler
[debug] - Net::SNMP loaded
[debug] [download] Calling download_start_handler
[debug] - LWP loaded
[debug] - LWP::Protocol::https loaded
[debug] Compress::Zlib is available.
[debug] Calling handlers : `prolog_writer'
[debug] sending XML
[debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>ubuntu-2018-03-22-15-03-33</DEVICEID>
<QUERY>PROLOG</QUERY>
</REQUEST>
[error] Cannot establish communication : 500 Can't connect to ocsinventory-ng:80 (Ãchec temporaire dans la résolution du nom)
PLEASE HELP ME OUT, i do need this
can you tell me exactly where the files are ????
Hello,
I'm pretty new to OCS Inventory NG and I was suffering from the issue which is also discussed here:
http://ask.ocsinventory-ng.org/3705/wrong-number-operating-system-enterprise-linux-server-release
My installation is quite old, but I already have version 2.4 up and running and I'm currently planning the migration to the new version.
So right now I'm using OCS inventory server version 2.4 and ocsinventory-agent-2.4.0-1.el7.ocs.src.rpm (from the repo) which is reported as NG_unified_unix_agent_v2.3.1 in the web frontend.
I upgraded the ocsinventory-agent to version 2.4 on one of my RHEL 7.4 boxes and the number of CPUs is still wrong. With the old version I always had +1 CPU, but now the frontend shows me 128 rows, whereas only 1 row contains useful information.
It shows
PROCESSOR(S)
1-10 Result(s) (Download)
128 Result(s) (Download)
at the top of the hardware page.
cat /proc/cpuinfo
processor : 0vendor_id : GenuineIntelcpu family : 6model : 63model name : Intel(R) Xeon(R) CPU E5-2690 v3 @ 2.60GHzstepping : 0microcode : 0x37cpu MHz : 2593.993cache size : 30720 KBphysical id : 0siblings : 1core id : 0cpu cores : 1apicid : 0initial apicid : 0fpu : yesfpu_exception : yescpuid level : 13wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant _tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf ea gerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_d eadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm epb invpcid_singl e fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid xsaveopt dtherm ida arat pln p tsbogomips : 5187.98clflush size : 64cache_alignment : 64address sizes : 42 bits physical, 48 bits virtualpower management:
Could you please advise?
Regards,
Lars
Thank you Stéphane for your answer, but from what i have noticed the ocs deploy runs with SYSTEM user and it doesn't has network access. All the machines are different LANs and i am trying to upgrade from office 2013 to office 2016. The only way i was able to do it is to download through https the office kit run the upgrade script and delete the office kit from the machine.
root@debian:/var/log/apache2# nano error.log
GNU nano 2.7.4 File: error.log
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Mon Jun 04 00:08:31.351405 2018] [mpm_prefork:notice] [pid 720] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Mon Jun 04 00:08:31.351517 2018] [core:notice] [pid 720] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 07:50:58.976908 2018] [perl:error] [pid 9000] [client 10.90.19.25:51293] Can't call method "do" on an undefined value at /usr/local/share/perl/5.24.1/Apache/Ocsinve$
[Mon Jun 04 07:50:59.165754 2018] [perl:error] [pid 9001] [client 10.90.19.25:51294] Can't call method "do" on an undefined value at /usr/local/share/perl/5.24.1/Apache/Ocsinve$
SV = PV(0x25100a0) at 0x252d7ec
REFCNT = 2
FLAGS = ()
PV = 0
SV = PV(0x2510070) at 0x252d7bc
REFCNT = 2
FLAGS = ()
PV = 0
[Mon Jun 04 09:05:19.940326 2018] [mpm_prefork:notice] [pid 720] AH00169: caught SIGTERM, shutting down
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Mon Jun 04 09:05:56.854957 2018] [mpm_prefork:notice] [pid 627] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Mon Jun 04 09:05:56.855104 2018] [core:notice] [pid 627] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jun 04 09:05:57.046981 2018] [:error] [pid 724] avahi_entry_group_add_service_strlst("10.90.1.251") failed: Invalid host name
tarting OCS Inventory NG Agent on Monday, June 04, 2018 07:49:51.
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 => Disabling cURL SSL server validation support
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 => Disabling cURL SSL server validation support
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.