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

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

Agent question

When i try to install Windows Agent ant set http://X.X.X.X/ocsinventory and i set username test and password (the user is administrator).The computer do not report (Windows 7). Can you help me please

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.

asked in OCS Inventory NG agent for Windows by (460 points)

2 Answers

+1 vote
0 votes
Yes i check !!

################################################################################
#
# OCS Inventory NG Communication Server Perl Module Setup
#
# Copyleft 2006 Pascal DANEK
# Web: http://www.ocsinventory-ng.org
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################

<IfModule mod_perl.c>

  # Which version of mod_perl we are using
  # For mod_perl <= 1.999_21, replace 2 by 1
  # For mod_perl > 1.999_21, replace 2 by 2
  PerlSetEnv OCS_MODPERL_VERSION 2

  # Master Database settings
  # Replace localhost by hostname or ip of MySQL server for WRITE
  PerlSetEnv OCS_DB_HOST localhost
  # Replace 3306 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 ocs
  # Password for user
  PerlSetVar OCS_DB_PWD ocs
answered by (460 points)
 
Powered by Question2Answer
...