There is any man page to get this information from, please? Thank you.
There is any man page to get this information from, please? Thank you.
So we set up a fresh Server 2.3.1 which is running fine. Now we have the problem that the Agent 2.3.1 for macOS and Windows is not reporting detailed memory information. When we use the 2.1.1 client everything gets reported fine.
See screenshots.
Is this a known bug?
Bonjour,
J'ai voulu refaire une installation propre suite à une monté en MAJ de version.
Mais je rencontre un soucis de #404ERROR lors de la connexion de mon premier agent :
==============================================================================
Starting OCS Inventory NG Agent on Tuesday, October 17, 2017 17:08:14.
AGENT => Running OCS Inventory NG Agent Version 2.3.1.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.1.0
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.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <CDOSMTP01-2016-04-11-22-05-37> and MACs <00:50:56:A5:69:C0> 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 => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://10.9.103.112/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:01
Donc après recherche on me parle du VirtualHost qui serait mal configuré ( Je suis en Debian 9 donc sous MariaDB )
Voici comment j'ai installé le truc :
/var/lib/ocsinventory-reports
/var/lib/ocsinventory-reports/download
/var/lib/ocsinventory-reports/ipd
/var/lib/ocsinventory-reports/logs
/var/lib/ocsinventory-reports/scripts
/var/lib/ocsinventory-reports/snmp
/var/log/ocsinventory-server
/var/www/ocsinventory-reports.conf
/var/www/z-ocsinventory-server.conf
/usr/share/ocsinventory-reports
/usr/share/ocsinventory-reports/ocsreports
the frequent errors are :
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #500>
so if you get
ERROR *** AGENT => Failed to send Prolog <Couldn't connect to server>
I think that there are many possibility :adress server is not correct , server is down or bloked by Firewall
Bonjour Charles,
effectivement, le fichier .conf seul du plugin n'est pas suffisant... Il lui faut aussi (dans votre exemple) :
/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Networkshare/Map.pm
...et d'autres paramétrages pour que les infos du plugin remontent dans l'interface (+ ajout de champs dans la BdD)
Le plus simple serait certainement de passer par l'interface d'OCSreports pour installer votre plugin plutôt que de le faire "à la mano" :
Copier le ZIP du plugin dans le dossier /usr/share/ocsinventory-reports/ocsreports/download du serveur OCS
OCSReports > Plugins > Plugins manager > choisir votre plugin dans le menu déroulant > Cliquer sur le bouton "Install"
Cordialement, Stéphane
Hi, I've been registering new computers for several weeks in my OCS Inventory database, but these are not registered, since I check for my browser and they do not appear. If you know what solution you can give I thank you for sharing it. Thank you.
No solution for this issue ?
Anyone ?
Bonjour,
Dans le société ou je travail nous utilisons OCS-Inventory pour faire l'inventaire du parc informatique,
depuis la mise à jour 2.3 d'OCS, nous avons des machines qui se duplique ( comme dans les tickets suivant: celui-ci et celui-la )
L'ajout de la colonne MTU dans network, de la table usbdevices ou de la mise à jour du serveur en 2.3.1 n'ont rien changer au problème et la mise à jour de l'agent en 2.3.1.1 ajouter plus de dupliqué qu'avant.
dans les log d'activité j'ai pu relever ces deux exemple sur des machine dupliqué:
;prolog;new_deviceid
;duplicate;replacing_error
Cordialement
Bonjour,
Je viens d'installer le serveur OCS en version 2.3.1. Je n'arrive pas à créer de profil dans le gestionnaire de compte, j'obtiens le message d'erreur suivant:
An error occurred while submitting the form. Please check your internet connection.
Bien évidemment j'ai internet..
Merci de votre aide.
bonjour, j'ai un serveur linux centos 7.2.1511 avec php 5.6.30 avec glpi 9.1.1
Je n'arrive pas installer/configurer /ocsinventory-reports, quand je vais sur la page web du site, je rentre le compte mysql et la base de donnée et ensuite j'ai ces erreurs :
Please wait, database update may take up to 30 minutes.....................
ERROR: line 131: query:[ INSERT INTO `operators` VALUES ('admin','admin','admin','21232f297a57a5a743894a0e4a801fc3',1,'Default administrator account','sadmin',NULL,NULL)]failed
MySQL error: Column count doesn't match value count at row 1 (err:1136)
......
MySQL config file successfully written (using root account)
Existing database updated
Database engine checking........................
Database engine successfully updated (1 table(s) altered)
ERROR: The installer ended unsuccessfully, rerun install.php once problems are corrected
Que dois-je faire ?
Merci
Hello
J'ai cette erreur sur mon serveur CENTOS
J'ai changé plusieurs fois les droits pour l'user ROOT , APACHE , OCS mais rien a faire . Avez vous une idée pour débloquer la situation.
I changed the rights several times to use ROOT, APACHE, OCS but nothing to do. Do you have an idea for unlocking the situation.
Merci