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.

Aucune remontée et aucune erreur dans les logs

Bonjour,

Après 2 installations, la lecture de nombreux posts de forum, je m'en remets à vous.
- j'ai installé OCS inventory server version 2.1.2 sur un serveur Windows server 2008 R2 (VM)
- l'agent 2.1.2 sur un PC sous Windows 7 (VM)

J'ai déployé l'agent sur le client via GPO + OCS pakager en suivant :

http://wiki.ocsinventory-ng.org/index.php/Documentation:Packager/fr

http://wiki.ocsinventory-ng.org/index.php/Documentation:WindowsAgent/fr#D.C3.A9ploiement_de_l.27agent_avec_OcsLogon.exe_.C3.A0_travers_un_script_de_login_ou_une_GPO_Active_Directory.

http://wiki.ocsinventory-ng.org/index.php/Documentation:AgentInstallingWindows/fr

http://wiki.ocsinventory-ng.org/index.php/Documentation:Administration/fr#T.C3.A9l.C3.A9verser_l.27Agent_pour_le_d.C3.A9ploiement_au_moyen_du_lanceur_.22OcsLogon.exe.22

____

Par étapes :

- Telechargement d'ocsPackage ( version 2.1.1)
   - Création du certificat ( cacert.pem)
   - Exécuter Ocspackager et remplir les données comme tel :
                                         - Exe file : chemin du fichier OcsAgentSetup.exe ( version 2.1.1.1)
                                         - Certificate : chemin du fichier cacert.pem
                                         - Command line options :  /S /NOW "/SERVER:http://192.168.1.90/ocsinventory" /NOTAG /DEBUG=2 /NP
                                         - Username : Administrateur@domaine
                                         - Password : mot de passe du compte administrateur.
   - Une fois le fichier OcsPackage crée, je me rends sur l’interface administrateur du serveur OCS. Je clique sur le bouton client et j'upload le fichier Ocspackage.
   - Fichier bien uploadé

   - Activation dans l'onglet Deployment de l'option DEPLOY : ok

A ce stade là, je procède à ma GPO en choisissant de l’appliquer sur ordinateurs :
   - Création d'une GPO nommée : Install OCS AGENT
   - Script de Démarrage : Dans afficher les fichiers je colle "OcsPackage" et "Ocslogon" que j'ai renommé 192.168.1.90.exe
   - Ajout de 192.168.1.90.exe comme script de démarrage avec comme paramètres :
               - /PACKAGER /GPO /INSTALL /SERVER=http://192.168.1.90/ocsinventory
               - Appliqué

               - Déplacer ma GPO sous mon nom de domaine
               - Un gpupdate /force

Sur le pc client :

La gpo s'applique sans problème. L'agent s'installe. L'envoi au serveur se fait. Les firewalls sont désactivés sur le serveur et le client.

Depuis le client j'accède bien via IE à http://192.168.1.90/ocsreports.

Mais, l'inventaire OCS reste désespérément vide
Machines in DB         0
Machines Inventoried         0
Machines contacted today         0
Machines Inventoried today         0
Machines not seen in more than 30 day(s)         0
Number of SNMP devices         0

En installant manuellement sur le poste client l'agent, la remontée fonctionne.

 __
in OCS Inventory NG server for Windows by (280 points)

6 Answers

0 votes

ocsinventory.ini:
_______________________________________________
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=1
HKCU=0
NoTAG=1
IpDisc=
[HTTP]
Server=http://192.168.1.90/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
TTO_WAIT=7140
OLD_PROLOG_FREQ=24

 

 

 

 

ocsinventory.log:

_______________________________________________
Starting OCS Inventory NG Agent on Wednesday, June 03, 2015 10:59:05.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.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) succesfully 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.1.1.1>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <CLIENT-PC-2015-06-03-10-45-54> and MACs <08:00:27:29:38:3E> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending HTTP Post request to URL <http://192.168.1.90/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <OPTION>
    <NAME>DOWNLOAD</NAME>
    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="0" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />
  </OPTION>
  <RESPONSE>SEND</RESPONSE>
  <PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>

================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 24 hour(s)
AGENT => Inventory required
AGENT => Launching hardware and software checks
    INVENTORY => Loading Download history
    INVENTORY => Logged on user ID is <client-pc>
    INVENTORY => Operating System is <Microsoft Windows 7 Professionnel 6.1.7600 >, description <>
    INVENTORY => Operating System uses 32 bits memory address width
    INVENTORY => Computer domain or workgroup is <medion.com>
    INVENTORY => User domain is <MEDION>
    INVENTORY => System Manufacturer <innotek GmbH>, System Model <VirtualBox>, System S/N <Oracle Corporation>, Bios Manufacturer <innotek GmbH>, Bios Date <12/01/2006>, Bios Version <VirtualBox>
    INVENTORY => 1 processor(s) Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz [1 core(s) x86_64] at 2600 MHz
    INVENTORY => OS Memory 1024 MB, OS Swap size 2048 MB
    WARNING *** INVENTORY => Failed to retrieve memory slots
    INVENTORY => 3 input device(s) found
    INVENTORY => 1 system port(s) found
    WARNING *** INVENTORY => Failed to retrieve system slots
    INVENTORY => 6 system controler(s) found
    INVENTORY => 2 storage peripheral(s) found
    INVENTORY => 1 sound device(s) found
    WARNING *** INVENTORY => Failed to retrieve modems
    INVENTORY => 1 network adapter(s) found
    INVENTORY => 2 system printer(s) found
    INVENTORY => 1 video adapter(s) found
 

by (280 points)
0 votes
apache error.log
_______________________________________________
[Tue Jun 02 13:23:49 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 02 13:23:49 2015] [notice] Digest: done
[Tue Jun 02 13:23:55 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Jun 02 13:23:55 2015] [notice] Server built: Sep 10 2011 11:34:11
[Tue Jun 02 13:23:55 2015] [notice] Parent: Created child process 2596
[Tue Jun 02 13:24:04 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 02 13:24:04 2015] [notice] Digest: done
[Tue Jun 02 13:24:10 2015] [notice] Child 2596: Child process is running
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Acquired the start mutex.
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Starting 150 worker threads.
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Starting thread to listen on port 443.
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Starting thread to listen on port 80.
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Starting thread to listen on port 443.
[Tue Jun 02 13:24:11 2015] [notice] Child 2596: Starting thread to listen on port 80.
Adding password for user root
[Tue Jun 02 15:56:02 2015] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Jun 02 15:56:02 2015] [notice] Child 2596: Exit event signaled. Child process is ending.
[Tue Jun 02 15:56:03 2015] [notice] Child 2596: Released the start mutex
[Tue Jun 02 15:56:05 2015] [notice] Child 2596: All worker threads have exited.
[Tue Jun 02 15:56:05 2015] [notice] Child 2596: Child process is exiting
[Tue Jun 02 15:56:06 2015] [notice] Parent: Child process exited successfully.
[Tue Jun 02 15:56:40 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 02 15:56:40 2015] [notice] Digest: done
[Tue Jun 02 15:56:46 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Jun 02 15:56:46 2015] [notice] Server built: Sep 10 2011 11:34:11
[Tue Jun 02 15:56:46 2015] [notice] Parent: Created child process 3328
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
[Tue Jun 02 15:56:56 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 02 15:56:56 2015] [notice] Digest: done
[Tue Jun 02 15:57:00 2015] [notice] Child 3328: Child process is running
[Tue Jun 02 15:57:00 2015] [notice] Child 3328: Acquired the start mutex.
[Tue Jun 02 15:57:00 2015] [notice] Child 3328: Starting 150 worker threads.
[Tue Jun 02 15:57:01 2015] [notice] Child 3328: Starting thread to listen on port 443.
[Tue Jun 02 15:57:01 2015] [notice] Child 3328: Starting thread to listen on port 443.
[Tue Jun 02 15:57:01 2015] [notice] Child 3328: Starting thread to listen on port 80.
[Tue Jun 02 15:57:01 2015] [notice] Child 3328: Starting thread to listen on port 80.
[Tue Jun 02 19:14:21 2015] [error] [client 192.168.1.90] Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n
[Tue Jun 02 19:14:43 2015] [error] [client 192.168.1.90] Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n
[Tue Jun 02 19:15:26 2015] [error] [client 192.168.1.90] client denied by server configuration: C:/xampp/htdocs/xampp/, referer: http://192.168.1.90/ocsinventory
Terminating on signal SIGTERM(15)
[Wed Jun 03 10:20:12 2015] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jun 03 10:20:12 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 03 10:20:12 2015] [notice] Digest: done
[Wed Jun 03 10:20:18 2015] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Wed Jun 03 10:20:18 2015] [notice] Server built: Sep 10 2011 11:34:11
[Wed Jun 03 10:20:18 2015] [notice] Parent: Created child process 1996
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
[Wed Jun 03 10:20:28 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 03 10:20:28 2015] [notice] Digest: done
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Child process is running
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Acquired the start mutex.
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Starting 150 worker threads.
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Starting thread to listen on port 443.
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Starting thread to listen on port 80.
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Starting thread to listen on port 80.
[Wed Jun 03 10:20:34 2015] [notice] Child 1996: Starting thread to listen on port 443.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64.
by (280 points)
0 votes

apache access.log
_______________________________________________
192.168.1.95 - - [03/Jun/2015:11:36:03 +0200] "POST /ocsinventory HTTP/1.1" 200 215 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

192.168.1.95 - - [03/Jun/2015:11:58:41 +0200] "POST /ocsinventory HTTP/1.1" 200 215 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

192.168.1.95 - - [03/Jun/2015:11:58:55 +0200] "GET /ocsreports/index.php?first HTTP/1.1" 200 3945 "-" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/css/ocsreports.css HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/js/datetimepicker.js HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/js/graph/jquery-1.6.2.js HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/js/function.js HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/js/graph/raphael.js HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:58 +0200] "GET /ocsreports/js/graph/elycharts.js HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/image/logo%20OCS-ng-96.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/french/french.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/english/english.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/german/german.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/polish/polish.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/italian/italian.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/hungarian/hungarian.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/portuguese/portuguese.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/russian/russian.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/brazilian_portuguese/brazilian_portuguese.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/slovenian/slovenian.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/turkish/turkish.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:11:58:59 +0200] "GET /ocsreports/plugins/language/spanish/spanish.png HTTP/1.1" 304 - "http://192.168.1.90/ocsreports/index.php?first" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

192.168.1.95 - - [03/Jun/2015:12:30:44 +0200] "POST /ocsinventory HTTP/1.1" 200 215 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

 

 

Je bloque sur cette affaire depuis 2 jours. J’ai tout désinstallé et refait à deux reprises.

Je me permets donc de vous demander votre aide et vous remercie.

Très bonne journée.

by (280 points)
0 votes

Bonjour,

Quel est le problème exactement? Si ce sont les messages "Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle database=ocsweb;host=localhost;port=3306 at C:/xampp/perl/site/lib/Apache/Ocsinventory.pm line 64."  dans le fichier error.log, ces messages sont "normaux" et n'empêchent pas le fonctionnement d'OCS. Effectivement, cela va faire grossir le fichier error.log. Après, je t'invite à installer OCS sur un serveur Linux.

Cordialement

Frank

by (88.5k points)
0 votes
Bonjour et merci pour l'info concernant ces lignes.

Le problème est le suivant :

Sur le serveur, ocs inventory est vide. Quand je me connecte à l'adresse http://192.168.1.90/ocsreports aucun poste ne remonte.

 

Merci
by (280 points)
0 votes

Bonjour

192.168.1.95 - - [03/Jun/2015:11:58:41 +0200] "POST /ocsinventory HTTP/1.1" 200 215 "-" "OCS-NG_WINDOWS_AGENT_v2.1.1.1"

COM SERVER => Sending HTTP Post request to URL <http://192.168.1.90/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>

Tout indique que les inventaires sont bien envoyés au serveur OCS. 

Cordialement

Frank

by (88.5k points)

Bonjour,

Essaye de mettre dans ton ocsinventory.ini https://xxx.xxx.xxx.xxx/ocsinventory

Comment as tu généré ton certificat ?

 
Powered by Question2Answer
...