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.

Why OCS Agent stops working by running ocspackage?

Hi all,

To begin, I present the IT tools used to realise an inventory with OCS-NG: 

I have installed OCS Inventory NG Management server 2.1.1 within Windows Server 2008 R2 standard. I work with a Windows XP Professionnal to perform some tests.

In the desktop of the windows server I have created a file called ocs having the different files and software about ocs-ng

  • OCSNG-Agent-Deploy-Tool-2.1 (folder of ocs agent deployment tool downloaded in the website www.ocsinventory-ng.org)
  • OCSNG-Windows-Agent-2.1.1(folder of  the client ocs agent downloaded in www.ocsinventory-ng.org)
  • OCSNG-Windows-Packager-2.1RC1(folder of ocs packagerdownloaded in www.ocsinventory-ng.org)
  • cacert.pem ( the SSL certificate copied in C:\xampp\apache\conf\ssl.crt\server)
  • OCSNG-Windows-Server-Setup.exe
  • OcsPackager.exe
  • PsExec.exe

I have succeed in instaling  OCS SERVER 2.1.1.1 iand I can access to the interface by writing in the browser : http://ipserver/ocsreports

I wish to realise an inventory with ocspackager and for the moment without GPO Active Directory but just with a script . So, I have read and followed  the documentation about ocsPackager in the website http://wiki.ocsinventory-ng.org/index.php/Documentation:Packager

So, I have run OcsPackager then installed ocsPackage in the desktop of windows server. After, I have logged on ipserver/ocsreports to install ocspackage on it in order to deploy the ocs agent in the Windows XP Professional.

I have created a folder shared called OCS_script in the directory C:\. I mean there is a file in C:\OCS_script shared with the Windows XP Professional to test the inventory. In this file shared we can see ipserver.exe and ocs.bat  . I have written in ocs .bat the following script: \\myserver\OCS_script\ipserver.exe  /PACKAGER /DEPLOY=2.1.1.1 /SERVER=http://ipserver/ocsinventory .

Actually, ipserver.exe is the ocslogon.exe renamed.

The problem is there is no inventory and when I click on ocspackage.exe I have a window that dispays this message:

OCS Inventory NG Agent  has stopped working

Problem signature:

Problem Event Name: APPCRASH

Application Name: ocsinventory.exe

Application Version: 2.1.1.1

Application Timestamp: 53768f91

Fault Module Name: MSVCR90.dll

Fault Module Version: 9.0.30729.6161

Fault Module Timestamp: 4dace5b9

Exception Code: c0000005

Exception Offset: 00056b1d

OS Version: 6.1.7601.2.1.0.272.7

Locale ID: 2057

Additional Information 1: 0a9e

Additional Information 2: 0a9e372d3b4ad19135b953a78882e789

Additional Information 3: 0a9e

Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:

http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:

C:\Windows\system32\en-US\erofflps.txt

This is the ocsinventory.ini:

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://ipserver/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
TTO_WAIT=6291

If you have some ideas about this problem, feel free to present them

Thank you,

Kind regards

 

 

 

in OCS Inventory NG agent for Windows by (280 points)

1 Answer

0 votes
Hi, the problem has been resolved by uninstalling then by reinstalling OCS INVENTORY NG.

So, now ocspackage runs.

Thanks
by (280 points)
 
Powered by Question2Answer
...