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

Answered: nombre de logiciel erroné

$
0
0
Bonsoir,

Merci d'avoir pris de votre temps pour m'apporter une réponse claire, je me disais bien qu'il y avait du microsoft dans l'air ^^

Par contre, je ne suis pas sur d'avoir compris comment chercher les pc ayant microsoft office 2010, peut être sélectionner tous les pc et faire une recherche de ceux équipé d'office, ou bien c'est une autre méthode ?

Cordialement

Serveur apache ne démarre pas

$
0
0
Bonjour, Nous sommes entrain de tester OCSInventory pour voir si ce dernier répond à notre besoin.

Cependant nous avons installé sur une Redhat 7:

 php -v
PHP 5.6.25 (cli) (built: Sep  6 2016 08:19:42)

Server version: Apache/2.4.27 (Red Hat)
Server built:   May  9 2018 13:17:26

mais quand nous éxécutons :

systemctl start httpd24-httpd.service
Job for httpd24-httpd.service failed because the control process exited with error code. See "systemctl status httpd24-httpd.service" and "journalctl -xe" for detail

systemctl status httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-07-17 08:06:14 CEST; 6s ago
  Process: 22302 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 22301 ExecStart=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 22301 (code=exited, status=1/FAILURE)

Jul 17 08:06:14 carvmx343 systemd[1]: Starting The Apache HTTP Server...
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22301]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22302]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: control process exited, code=exited status=1
Jul 17 08:06:14 carvmx343 systemd[1]: Failed to start The Apache HTTP Server.
Jul 17 08:06:14 carvmx343 systemd[1]: Unit httpd24-httpd.service entered failed state.
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l
total 56
-rw-r--r-- 1 root root  2966 May  9 15:17 autoindex.conf
-rw-r--r-- 1 root root  4157 Jul 16 16:18 ocsinventory-reports.conf
-rw-r--r-- 1 root root   963 Jul 16 16:55 php.conf
-rw-r--r-- 1 root root   366 May  9 15:18 README
-rw-r--r-- 1 root root  9418 May  9 15:15 ssl.conf
-rw-r--r-- 1 root root  1252 May  9 15:15 userdir.conf
-rw-r--r-- 1 root root   556 May  9 15:15 welcome.conf
-rw-r--r-- 1 root root 13494 Jul 16 16:17 z-ocsinventory-server.conf

Il semble que (mais je n'en suis pas certain) que la section du fichier php.conf  :

<IfModule prefork.c>
    LoadModule php5_module /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
</IfModule>

Ne fonctionne pas bien.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
lrwxrwxrwx 1 root root 14 Jul 16 16:55 /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so -> libphp5-5.6.so

Pourriez vous nous aider ?

Answered: nombre de logiciel erroné

$
0
0

Bonjour,

Il suffit de faire une recherche multi-critères.

Bonne journée

System requiremets for OCS Inventory server 2.4.1

$
0
0
Dear OCS Team,

could you please advise what are the system requirements for OCS Inventory server installation under linux- based OS?

Just wondering what is the recommended OS on which 2.4.1 was tested, version of PHP, and Perl libraries

Thank you very much,

Rostyslav

Answered: IP address column data - funny display

$
0
0
Thanks for your reply Frankb,

Which "this bug" did you mention?

Debug Retrieve Microsoft Office keys.

$
0
0

Good morning,

I've made a lot of attempts, but the office license information is not loaded.

I installed the "Retrieve Microsoft Office keys" plugin successfully.
I inserted the msofficekey.vbs file in the "C:\Program Files (x86)\OCS Inventory Agent\Plugins" folder.
I ran the file locally and it returned me the right license information.
I ran the agent and generated the local xml file, in the xml file there are the right license information.
I uploaded the xml file manually on the server and I had no error.
No errors in the log files apache2, mysql and ocsinvnetory server and client there are no errors.
The debugging of the logs are set in detail.


After all these attempts, I still do not have the license information loaded into the database

Do you have any ideas how you can solve the problem?

OS Ubuntu 16.04.4 LTS

Ocs Server version 2.4.1

PHP Version 7.0.30

Apache/2.4.18

Mysql 5.7.22

Answered: How to use the new Notification feature?

$
0
0
Can anyone confirm that this feature works, because on Roadmap it says "Testing"?

error 500 Internal Server Error_Running_Process

$
0
0

PHP Version: 5.6.30 Web Server: Apache / 2.4.6 (Red Hat Enterprise Linux) OpenSSL / 1.0.2k-fips PHP / 5.6.30 mod_perl / 2.0.10 Perl / v5.16.3 Database Server: 5.5.56-MariaDB Version OCSReports: 2.4 Version OCSAgent: Ocsinventory unified agent for UNIX, Linux and MacOSX (2.1.1)


Good morning,

I installed OCS Server 2.4 a few months ago. I also installed the "running process" plugin without any problem. The servers were added correctly and the processes were detected under the "miscellaneous" menu. Nearly 2850 servers have been added. 

From 3 days, if I try to launch an OCSINVENTORY AGENT I have the following error: [error] Can not establish communication: 500 Internal Server Error 

The error message starts from the OCS SERVER. 

This is the agent modules.conf:

/etc/ocsinventory/modules.conf 

# this list of modules will be load by the at run time 

# to check its syntax do: 

# #perl modules.conf 

# You must have NO error. Else the content will be ignored 

# This mechanism is to launch agent extension modules 

#use Ocsinventory :: Agent :: Modules :: Download; 

#use Ocsinventory :: Agent :: Modules :: Snmp; 

use Ocsinventory :: Agent :: Modules :: Processes; 

# DO NOT REMOVE THE 1; 

1; 

If i use # on the "use Ocsinventory :: Agent :: Modules :: Processes;" line, the inventory works but, of course, the processes are not detected. 

Can you help me? 

Thanks a lot.


Software inventory of all Computers

$
0
0
Hello,

I can download a list of installed software, however I see that it gives me a count of computers only. Is there a way that I can download a report which includes the computer ID of installed software?
TIA

Doublons sur OCS Inventory

$
0
0

Bonjour,

Je refais appel à votre aide pour un problème de doublons sur OCS Inventory. Malgré avoir changé de version de l'agent (passage de la v2.3.1.1 à la v2.3.0.0), je continue d'avoir des doublons uniquement sur les PC portables. Un PC portable change souvent de carte-réseau car un collaborateur se connecte en câblé via une station d'accueil lorsqu'il est au bureau et en wifi lorsqu'il est en déplacement. D'ailleurs je remarque dans les doublons que l'adresse IP est tout le temps différente.

Le problème persiste sous plusieurs configurations d'AUTO_DUPLICATE_LVL :

Hostname only

Serial Only

Macadress Only

Hostname + Serial

Serial + Macaddress

Macaddress + Hostname

J'utilise la version OCSNG_UNIX_SERVER_2.4.1 - sur Debian 9.4 x64, et pour l'agent la version 2.3.0.0. Mes machines clientes sont en windows 10 Pro.

Par avance merci de votre aide

Cordialement

Answered: nombre de logiciel erroné

$
0
0
Bonsoir cb58,

C'est parfait ! Encore merci d'avoir pris le temps de me répondre.

Installation issue in Plugins

$
0
0

My information:

  • PHP Version :
  • Web Server :
  • Database Server :
  • Version OCSReports:
  • 5.6.37
  • Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.6.37 mod_perl/2.0.10 Perl/v5.16.3
  • MariaDB Server version 5.5.60-MariaDB
  • 2.5

OCS Inventory NG Agent:            2.4.0.0

I am trying to install Plugin without success. I downloaded plugins to folder /usr/share/ocsinventory-reports/ocsreports/download

[root@ocs download]# ll

-rw-r--r-- 1 apache apache  10975 Jul 24 15:59 bitlockerstatus.zip

-rw-r--r-- 1 root   root    12295 Jul 24 16:01 driverslist.zip

-rw-r--r-- 1 apache apache  20219 May 21  2017 officepack.zip

drwxr-xr-x 7 root   root     4096 Sep  4 14:26 PluginOcsOfficekey-2.2.4

-rw-r--r-- 1 root   root   104603 Mar 11  2014 PluginOcsOfficekey-2.2.4.tar.gz

-rwxr-xr-x 1 apache apache    127 Aug 31 11:38 README

-rw-r--r-- 1 apache apache  10548 May 21  2017 security.zip

-rwxr-xr-x 1 apache apache  10082 May 21  2017 winupdate.zip

[root@ocs download]#

Downloaded and copied .VBS file in agent folder location C:\Program Files (x86)\OCS Inventory Agent\Plugins

 Directory of C:\Program Files (x86)\OCS Inventory Agent\Plugins     ..

09/04/2018  01:59 PM            59,254 bitlockerstatus.vbs

07/24/2018  06:51 PM                 0 DO_NOT_REMOVE.txt

09/04/2018  02:13 PM           143,041 driverslist.vbs

   

From GUI, I go to Plugins Manager , choose the plugin and click on Install. But I am getting error

The communication server encountered the following error on install :  
Click here to solve your problem

Clicking on the above link takes me to https://github.com/OCSInventory-NG/OCSInventory-ocsreports/wiki/Plugins-Engine-:-Web-service-error-codes 

To troubleshoot I checked the folders mentioned in the above link and in my case all those folders are completely empty. 

If I go to GUI Plugins Manager and click on Install again, then it says that "This plugin has been already installed". But the OCS server is not showing any plugin information. I am not sure where I made mistake. 

Can you please help?

TIA.

Answered: Can't write in directory (on dbconfig.inc.php)

$
0
0

"Our RPM keep selinux configure and adapt rules for OCS." - kapouik

How?  I'd rather install from source.

Answered: Can't write in directory (on dbconfig.inc.php)

$
0
0
This should do the trick for SELINUX...

chown -R apache:apache /usr/share/ocsinventory-reports/

chown -R apache:apache /var/lib/ocsinventory-reports/

find /usr/share/ocsinventory-reports/ocsreports/ -type f -exec chmod 0644 {} \;

find /usr/share/ocsinventory-reports/ocsreports/ -type d -exec chmod 0755 {} \;

chcon -t httpd_sys_rw_content_t /usr/share/ocsinventory-reports/ocsreports

chcon -t httpd_sys_rw_content_t /usr/share/ocsinventory-reports/ocsreports/upload

chcon -t httpd_sys_rw_content_t /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php

Track computer connection Plugin?

$
0
0
hy, some years ago some people are asking for a way to track connection (remote IP, external IP)

https://bugs.launchpad.net/ocsinventory-ocsreports/+bug/1379904

http://ask.ocsinventory-ng.org/8809/recup%C3%A9ration-ip-wan-wan-ip-recovery

somebody mentioned that you have to lock into apache logs, but this is not necessary - the data is already in the database and somebody developed a plugin years ago (2012)

Can anybody adopt the plugin for the new version ? This would be great

here is the link to the old "tracking connection" plugin

https://justasysadminblog.wordpress.com/2012/05/13/developing-an-ocs-inventory-plugin-track-computers-connection-and-location/

Kind regards sokatra

Answered: Software inventory of all Computers

$
0
0

Hi,

The only solution I known is a SQL query :

SELECT
    DISTINCT s.hardware_id, publisher, s.name, s.version, h.name
FROM softwares as s, hardware as h
    WHERE s.name LIKE  'Microsoft Office 2%'
    AND h.id=s.HARDWARE_ID
    ORDER BY hardware_id, s.publisher, s.name, s.version

Regards

Upgrade serveur 2.4 vers 2.5 (partie serveur)

$
0
0

Bonjour,

Je compte upgrader mon serveur actuelement en 2.4 vers une 2.5, mais je souhaite le faire en m'assurant de pouvoir restaurer la 2.4.

J'imagine que la documentation http://wiki.ocsinventory-ng.org/02.Basic-documentation/Updating-the-server/  est ce qu'il me faut., n'es-ce pas :-) ?

Je vais bien sûr faire l'étape de sauvegarde des fichiers avant l'upgrade commme cela si pb, hop je reviens à la 2.4. Mais la procèdure citée plus haut,  parle de sauvegarder les fichiers de conf, pas l'ancien ocs en 2.4. Je vais donc faire une copie des dossiers de la 2.4 vers un dossier de backup, afin de pouvoir faire un retour arriere intégral.

Cordialement

PS : mon serveur tourne sur une machine virtuelle hébergée sur un ESX.
 Je vais donc faire un snapshot avant l'upgrade. Mais alors me direz vous,
pourquoi me/vous faire suer avec ma question ? Réponse : Parce que j'aime 
bien mettre les mains dans le cambouis ^^

vmware vcenter plugin - cannot oconect to srv

$
0
0
hello everybody
Im trying to run vmvare plugin to inventory vcenter server v 6,5 on OCS 2.5, agent 2.4, centos 7.5

plugin instalation working fine, I can see the menu in GUI but

1. how to run plugin manualy ? is it posible
2. where plugin works, on server or on agent
3. how to diagnoze plugin problems, log file ? where ? mayby some other methood
4. vmware.pm file - shuld I copy it to agent plugin directory

5. in agent / server logfile I can't see any informaton about this plugin, no errors, infos nothing :/

6. where to enable high level od loging in OCS

help my pleas   :)

SMART Information

$
0
0
Hi,
Is it possible to get SMART information in OCS server ?

Serveur apache ne démarre pas

$
0
0
Bonjour, Nous sommes entrain de tester OCSInventory pour voir si ce dernier répond à notre besoin.

Cependant nous avons installé sur une Redhat 7:

 php -v
PHP 5.6.25 (cli) (built: Sep  6 2016 08:19:42)

Server version: Apache/2.4.27 (Red Hat)
Server built:   May  9 2018 13:17:26

mais quand nous éxécutons :

systemctl start httpd24-httpd.service
Job for httpd24-httpd.service failed because the control process exited with error code. See "systemctl status httpd24-httpd.service" and "journalctl -xe" for detail

systemctl status httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-07-17 08:06:14 CEST; 6s ago
  Process: 22302 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 22301 ExecStart=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 22301 (code=exited, status=1/FAILURE)

Jul 17 08:06:14 carvmx343 systemd[1]: Starting The Apache HTTP Server...
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22301]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 17 08:06:14 carvmx343 httpd-scl-wrapper[22302]: httpd: Syntax error on line 354 of /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /...
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service: control process exited, code=exited status=1
Jul 17 08:06:14 carvmx343 systemd[1]: Failed to start The Apache HTTP Server.
Jul 17 08:06:14 carvmx343 systemd[1]: Unit httpd24-httpd.service entered failed state.
Jul 17 08:06:14 carvmx343 systemd[1]: httpd24-httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l
total 56
-rw-r--r-- 1 root root  2966 May  9 15:17 autoindex.conf
-rw-r--r-- 1 root root  4157 Jul 16 16:18 ocsinventory-reports.conf
-rw-r--r-- 1 root root   963 Jul 16 16:55 php.conf
-rw-r--r-- 1 root root   366 May  9 15:18 README
-rw-r--r-- 1 root root  9418 May  9 15:15 ssl.conf
-rw-r--r-- 1 root root  1252 May  9 15:15 userdir.conf
-rw-r--r-- 1 root root   556 May  9 15:15 welcome.conf
-rw-r--r-- 1 root root 13494 Jul 16 16:17 z-ocsinventory-server.conf

Il semble que (mais je n'en suis pas certain) que la section du fichier php.conf  :

<IfModule prefork.c>
    LoadModule php5_module /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
</IfModule>

Ne fonctionne pas bien.

/opt/rh/httpd24/root/etc/httpd/conf.d# ls -l /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so
lrwxrwxrwx 1 root root 14 Jul 16 16:55 /opt/rh/rh-php56/root/usr/lib64/libphp56-php5.so -> libphp5-5.6.so

Pourriez vous nous aider ?
Viewing all 7067 articles
Browse latest View live


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