Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all 4573 articles
Browse latest View live

Update Agent (Windows Server)

$
0
0
Hello,

I did a GPO on Windows Server to install agent remotely, but version was 2.1.1.3. If I put newest version in my installation directory, it will automatically updates agent?

impossible to get data from agent : error 404

$
0
0

Hello,

after hours of researches on your website, impossible to find a solution to my basic problem : My OCS Agent 2.3.1.1 is enable to send its data collected on the Windows 7 (or 10) to OCS Server : it logs error 404 !

Here are my configurations :

1. OCS Server (perfectly running, with OCS -Reports) :

Système :

  • Nom du système :Linux x86_64
  • Version :4.9.0-4-amd64
  • RAM totale :2004 Mo
  • RAM disponible :1670 Mo
  • CPU :Intel(R) Xeon(R) CPU E5606 @ 2.13GHz
  • Distribution :Debian GNU/Linux 9 (stretch)

Logiciel :

  • Version de PHP :7.0.27
  • Serveur Web :Apache/2.4.25 (Debian)
  • Serveur SQL :Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
  • Version OCSReports:2.4.1

Configuration of server and Apache2 :

  • Installation in folder /usr/share/ocsinventory-reports/ocsreports
  • VirtualHost created and configured like this (/etc/apache2/sites-available/001-ocsreports.conf) :

<VirtualHost *:80>
        ServerName ocsreportsXY.mydomain.local
        ServerAdmin *Emails are not allowed*
        DocumentRoot /usr/share/ocsinventory-reports/ocsreports
        <Directory /usr/share/ocsinventory-reports/ocsreports>
             Options Indexes FollowSymLinks
             DirectoryIndex index.php
             Require all granted
             php_value post_max_size 100m
             php_value upload_max_filesize 100m
        </Directory>

Site activated by  a2ensite 001-ocsreports.conf

2. OCS agent version 2.3.1.1  installed on many Windows 7 clients :

  • install is correct
  • the agent generates correctly the file containing all parameters from the computer and the system : no problem with it.
  • BUT, the file is never sent to the server : ERROR 404 appears in file C:\ProgramData\OCS Inventory NG\Agent\OCSInventory.log :

==============================================================================
Starting OCS Inventory NG Agent on Monday, April 23, 2018 23:53:45.
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://172.16.20.196/ocsinventory/deploy/label>
    COM SERVER => fileGet response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
    AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <MY-PC-W7-VM-2017-05-11-09-44-58> and MACs <00:50:56:95:35:5800:00:00:00:00:0000:00:00:00:00:0000:00:00:00:00:0000: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://172.16.20.196/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #404>
    COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
 

My Question : What is missing in my server' configuration ?

Thanks for your advises or solutions.

Best regards.

2.5.0.0

2.5.0.0

Impossible d'arrêter le service ocs agent

$
0
0
Bonjour,

Voila depuis plusieurs jours je suis bloquer sur un problème de remontée de l'inventaire sur OCS.
Dans mon fichier d'erreur de Apache je ne trouve aucune erreur.

Mais dans le fichier des logs de mon agent je trouve l'erreur suivante
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>

J'ai regardé sur internet ils disent que cela vient du SSL qui n'est pas à 0 . Dans mon fichier .ini le SSL est à 1 mais le soucis c'est que je ne peux pas le modifier car le service est lancé que lui même je ne peux pas stoper... Je me retrouve vraiment bloquer pour info l'agent je l'ai deployé via une GPO.

Merci

Answered: impossible to get data from agent : error 404

$
0
0
When you follow the normal installation step with the setup.sh contain in the tar.gz, you must get two files : ocsinventory-server.conf and ocsinventory-reports.conf.

This file is located in debian in /etc/apache2/conf-available

You just need to activate both file with a2enconf and it will work.

The configuration you give in your post is not the normal configuration for OCS.

Answered: Update Agent (Windows Server)

$
0
0
how did you made your GPO ? We need more informations to understand your question.

Answered: Impossible d'arrêter le service ocs agent

$
0
0
Merci pour ta réponse, bah c'est en faisant des recherches ils en parlaient..

Donc les versions que j'ai pour le server j'utilise la version 2.1.2 sous windows 2012 R2.  et pour l'agent c'est 2.3.11.

Pour l'installation du server j'ai juste lancé l'executable. Et pour l'agent j'ai tout mis en 1 seul executable et je l'ai deployé via une gpo.

Merci

Error HTTP STATUS CODE #404

$
0
0

Hello, I have a problem I deployed the agent ocs via gpo it works. But I have not got any inventory back when I look at the agent's .log it shows me "FAILED TO SEND PROLOG <HTTP STATUS CODE # 404" I searched a little bit on the internet and they say it can come from vhost and when i consult the file nothing is set up .. I do not think it is normal. OCS server runs on windows server 2012 R2 Thank you for your help.

Installation ocs inventory

$
0
0
Bonjour à tous,

Actuellement je tente d'installation ocs inventory mais je rencontre des difficultés..je tiens à dire que je suis assez novice concernant cela.

Voici ma base :

XAMP + GLPI

J'ai donc installé Ocs inventory plugin  ( déposé dans glpi -> plugin )

J'ai configuré ce dernier en créant une base de donnée "ocsweb" avec compte ocs

J'ai installé un Ocs agent ( afin de faire un test ) ... Cependant lors de la configuration de cet agent il me demande adresse serveur d'ocsinventory...

J'ai oublié d'installer quelque chose ? ( hors ocs plugin ? ) faut t'il ocs server? ( si oui est il installable sur une plateforme autre qu'un serveur , type windows 7 ?

Je vous remercie énormément d'avance pour votre aide et vos conseils,

client installed by clonezilla not inventoried

$
0
0
I have a classroom installed with one clonezilla image with windows 7 64bits, i have installed agent to inventory PCs, first of them works perfect, it's registered in server, but when i install agent in the second o third ... they don't appear in server. I have configured server with detect duplicates just by mac address.

Is there any problem with PCs with same license or OS id?

Thanks a lot,

Answered: Impossible d'arrêter le service ocs agent

$
0
0
Le serveur en version 2.1 n'est compatible qu'avec des agents en version 2.1 ou inférieur. Donc déjà ton agent ne peut pas marcher sur ton serveur.

Pour ton serveur, il doit s'agit d'un problème de mod_perl qui n'est pas chargé correctement. Je ne connais pas bien la version windows (qui n'est d'ailleurs pas recommandé à utiliser en production sauf si t'aime les produit pas à jour avec des failles de sécurité). Je ne peux donc que te conseiller de refaire ton serveur sous linux.

Answered: impossible to get data from agent : error 404

$
0
0

Thanks a lot, Kapouik : I didn't see that these 2 configuration files were delivered.
Perfect : my communication server is running perfectly, now ! Il have activated these 2 sites after copying them in /etc/apache2/sites-available, and it's ok now.
Thanks again.

 

Answered: Not retrieving user data (USERID)

$
0
0
I have the very same issue. It happens on 20% of my computers and I can't find a pattern that would explain the problem

Question - Windows Agent

$
0
0

Hello,

I'm using CentOS with Apache and Mariadb.
I deactivated SELinux and Firewalld and now I can access the Physical Machine through the browser xxx.xxx.xxx/ocsreports.
When installing the OCS Windows Agent http://192.168.127.XXX/ocsinventory the machine was not recognized in the 192.168.127.xxx/ocsreports Portal.

Do I need to set something up?

Oracle module does not work

$
0
0

Hi Team,

Kindly ask you advice how to correctly configure OCS module for collect information about installed Oracle DB.

I`ve installed Unix Agent 2.3 on CentOS 7.

Oracle DB has been installed from Oracle user.

Added  use Ocsinventory::Agent::Modules::Databases::Oracle;

to /etc/ocsinventory/modules.conf.

 run agent ( from root and oracle user) but I did not get ORACLE_INSTANCE tag in log.

 ocsinventory-agent --debug --local /tmp/test/

I`ve tried Uptime module and got correct result in XML.

Could you please help?

Answered: Question - Windows Agent


Answered: Déploiement logiciel erratique.

$
0
0
Un petit Up.
Personne n'a d'idée sur l'origine du problème ?

Answered: Problème OCS

$
0
0

On m'a dit que ça pouvait provenir de mon fichier ini :

Voici son contenu : 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

[OCS Inventory Agent]

ComProvider=ComHTTP.dll

Debug=0

Local=

NoSoftware=0

HKCU=0

NoTAG=0

IpDisc=

[HTTP]

Server=https://172.27.0.195/ocsinventory

SSL=1

CaBundle=cacert.pem

AuthRequired=0

User=testocs

Pwd=

ProxyType=0

Proxy=

ProxyPort=0

ProxyAuthRequired=0

ProxyUser=

ProxyPwd=

[OCS Inventory Service]

TTO_WAIT=180

Package never moves from Waiting Notification.

$
0
0

Hello,

I have created a couple packages and finally have figured out how to push them out, but they do not push automatically. They will stay at "waiting notification". I have the CACert in the correct directory (prog~data) and the package will push if I start the OCS Inventory NG Agent by right clicking on the systray icon. This obviously will not work in the real world, as getting users to right click on that is not likely.

Agent is 2.3.1.1

Attached is the ocsinventory.ini

Halp pls

Charles Gibbs

ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://server/ocsinventory
SSL=0
CaBundle=c:\cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=85680
INVENTORY_ON_STARTUP=1
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24

Answered: Déploiement logiciel erratique.

$
0
0

j'ai eu le meme probleme aveque " robocopy " et je ne pas trouvais une solution. J'ai vu que cela fonctionne avec l'utilisateur du système et il n'a pas la permission d'écriture et peut-être que c'est ainsi qu'il se comporte comme ça .

Install Microsoft Office using deployment

$
0
0
I am trying to install ro uninstall Microsoft Office using ocs deployment but had no luck so far. If the installing kit is on local machine it works very well but it it is on a shared network i cand't make it work. I have no error on logs and i have left with no ideeas.
I have tried to mount the iso from netowrk , i have tried to create a symbolik link using mklink which it works but setup.exe from office kit doesn't execute.

I could really use some help.

Thank you
Viewing all 4573 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>