AWS Windows Server can't detect On-premise Agent

Bug #1918064 reported by feng cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Windows Agent
New
Undecided
Unassigned

Bug Description

Hi Team,

I have an issue with OCS inventory implementation, the OCS inventory is not able to detect the data from the agent.

I am using Ver. 2.1.2 Server and 2.0.4 Agent.

OCS-inventory server logs
[Sun Mar 07 16:36:50 2021] [error] [client Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n
[Sun Mar 07 16:36:51 2021] [error] [client ] Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n
[Sun Mar 07 16:40:23 2021] [error] [client ] File does not exist: C:/xampp/htdocs/ocsreports/deploy
[Sun Mar 07 16:55:09 2021] [error] [client ] File does not exist: C:/xampp/htdocs/ocsreports/function.require, referer: http://xxx.xx.xx.x/index.php
[Sun Mar 07 17:01:24 2021] [error] [client ] File does not exist: C:/xampp/htdocs/ocsreports/deploy
[Sun Mar 07 17:56:10 2021] [error] [client xxx.xx.xx.x] Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n

C:\xampp\htdocs\ocsreports (dbconfig config)
<?php
define("DB_NAME", "ocsweb");
define("SERVER_READ","localhost");
define("SERVER_WRITE","localhost");
define("COMPTE_BASE",'root');
define("PSWD_BASE",'test123');
?>

C:\xampp\perl\site\lib\etc\ocsinventory (ocsinventory-server config)
  # Master Database settings
  # Replace DATABASE_SERVER by hostname or ip of MySQL server for WRITE
  PerlSetEnv OCS_DB_HOST localhost
  # Replace DATABASE_PORT by port where running MySQL server, generally 3306
  PerlSetEnv OCS_DB_PORT 3306
  # Name of database
  PerlSetEnv OCS_DB_NAME ocsweb
  PerlSetEnv OCS_DB_LOCAL ocsweb
  # User allowed to connect to database
  PerlSetEnv OCS_DB_USER root
  # Password for user
  PerlSetVar OCS_DB_PWD test123

Agent inventory.ini Logs
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://xxx.xx.xx.x/ocsinventory
SSL=0
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=18180

Regards,
FC

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.