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

Your logs directory is not writable!

$
0
0

Hi fpoeck,

Thank you for your answer, I try to install OCS NG another time checking every single question during process, every things looks good. But problem still here.

SOAP module seem to be installed and funcioning.

I've also try to force Perl "z-ocsinventory-server.conf" changing this...

# ===== WEB SERVICE (SOAP) SETTINGS =====

  PerlSetEnv OCS_OPT_WEB_SERVICE_ENABLED 0

...in this one:

# ===== WEB SERVICE (SOAP) SETTINGS =====

  PerlSetEnv OCS_OPT_WEB_SERVICE_ENABLED 1

Now in web browser administration page I see this message: Your logs directory is not writable

# Path to log directory (must be writeable)
  PerlSetEnv OCS_OPT_LOGPATH "/var/log/ocsinventory-server" 

...and yes! It is writable for "www-data" user, whats wrong?

Any suggiostions?


Answered: Fonctionnement du plugin OCSNG

$
0
0
Bonjour, merci pour ta réponse :)

OCSInventory et couplage avec solution de monitoring

$
0
0
Bonjour,

Je dois mettre en place une solution de monitoring sur mon parc (environ 250 hosts). Idéalement, j'aimerais coupler OCS Inventory qui est aujourd'hui ma "base" d'inventaire avec cette future solution (afin de récupérer mes hôtes OCS Inventroy pour les monitorer)

je souhaitais savoir s'il existait des modules d'intégration existant avec des solutions du type Nagios / Centreon / Zabbix / Icinga2 / ... ?

J'ai recherché en ce sens, mais je ne suis tombé que sur des anciens modules datant de 2010-2011 (check_ocsing), je doute donc que ceux-ci soient toujours compatibles avec OCS Server 2.3.1.

Merci pour vos retours.

Yannick

OS Server : Debian GNU/Linux 8 (jessie) - OCS Server version : 2.3.1

no machine in database (debian 9, win7)

$
0
0

Hi,

i just installed ocs server-ng v2.3.1 on debian 9 (with php7) and the agent v2.3.0.0 for windows (7 pro).

I'm testing ocs with test computer and the database remain empty !  I don't unerstand...  i have read many many posts in this forum and made many many tests...

Side agent :  agent correctly installed as service (setup.log below)

    Starting OCS Inventory NG Agent 2.3.0.0 setup on 10/08/2017 at 10:28:50

    [/NOW] used, so launching "C:\Program Files\OCS Inventory Agent\ocsinventory.exe"...Result: 0

    Creating startup menu shortCut <C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\OCS Inventory NG Systray.lnk> to start Systray applet...

    Checking if service OCS Inventory Service is registered into Windows Service Manager...No

    Registering OCS Inventory Service into Windows Service Manager...Result: 0.

    Starting OCS Inventory Service...Ok.

    SUCCESS: OCS Inventory NG Agent 2.3.0.0 successfully installed on 10/08/2017 at 10:30:04

Side agent :  ocs communication with server seems ok  (ocsinventory.log below)

    Starting OCS Inventory NG Agent on Thursday, August 10, 2017 11:00:54.

    AGENT => Running OCS Inventory NG Agent Version 2.3.0.0

 

 

        COM SERVER => Sending fileGet request to URL <http://10.20.20.10/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 <PST04-2017-08-09-12-23-00> and MACs <00:1C:25:B8:54:1C00:1F:3B:8B:1D:27> 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.20.20.10/ocsinventory>

        COM SERVER => HTTP Post response received <HTTP Status Code #200>

        COM SERVER => Cleaning cURL library

    ================= TRACE START ===============

    ================= TRACE STOP ===============

    AGENT => Prolog successfully sent

    SUPPORT => No support detected, Registration key : N/A

        AGENT => Prolog Frequency set to 10 hour(s)

        AGENT => Inventory on startup option set to 

    AGENT => Unloading communication provider

    AGENT => Unloading plug-in(s)

    AGENT => Execution duration: 00:00:00.

I read error 404 seems normal...   http status 200 = comm ok

Inventory is browsable on the agent

Side agent :  (ocsinventory.ini  below)

    [OCS Inventory Agent]

    ComProvider=ComHTTP.dll

    Debug=2

    Local=

    NoSoftware=0

    HKCU=0

    NoTAG=0

    IpDisc=

    [HTTP]

    Server=http://10.20.20.10/ocsinventory

    SSL=0

    CaBundle=cacert.pem

    AuthRequired=0

    User=

    Pwd=

    ProxyType=0

    Proxy=

    ProxyPort=0

    ProxyAuthRequired=0

    ProxyUser=

    ProxyPwd=

    [OCS Inventory Service]

    PROLOG_FREQ=10

    INVENTORY_ON_STARTUP=1

    OLD_PROLOG_FREQ=10

    TTO_WAIT=31620

Side server : apache  access.log below

    10.20.20.157 - - [10/Aug/2017:11:00:09 +0200] "GET /ocsinventory/deploy/label HTTP/1.1" 404 461 "-""OCS-NG_WINDOWS_AGENT_v2.3.0.0"

    10.20.20.157 - - [10/Aug/2017:11:00:09 +0200] "POST /ocsinventory HTTP/1.1" 301 530 "-""OCS-NG_WINDOWS_AGENT_v2.3.0.0"

    10.20.20.157 - - [10/Aug/2017:11:00:09 +0200] "GET /ocsinventory/ HTTP/1.1" 200 3856 "-""OCS-NG_WINDOWS_AGENT_v2.3.0.0"

Nothing in apache error.log

Console reports is working correctly

But during install of server some problems with perl :

    BEGIN failed--compilation aborted.

    Checking for Apache2::SOAP PERL module

    Can't locate SOAP/Transport/HTTP2.pm in @INC (you may need to install the SOAP::Transport::HTTP2 module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base).

    BEGIN failed--compilation aborted.

    PERL module Apache2::SOAP is available

    User choose to continue setup without PERL module SOAP::Apache2

    Checking for XML::Entities PERL module

    Can't locate XML/Entities.pm in @INC (you may need to install the XML::Entities module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base).

    BEGIN failed--compilation aborted.

    User choose to continue setup without PERL module XML::Entities

I can't join dpkg -l  here (too long)  but packages are installed

 

 Is PERL the reason of this problem ?   This is the official distrib of debian 9 ...  how to do ???

Une réponse en français me conviendra très bien pour ne pas dire mieux ...smiley

Unable to activate packages

$
0
0
Hello,

I upgraded the server to version 2.3.1.
When I create the packages, they are registered in / download, but they do not appear to be activated in ocsreports.

Answered: Problème de uptime

$
0
0
J'ai envoyé à @nicokwak une nouvelle version du script vbs "UPTIME" :

> Retour de sa part me disant que le nouveau fonctionnait parfaitement.

Je vais proposer cette mise à jour à la team OCS.

Cordialement, Stéphane

Update OCS Inventory Server 2.1.2 for 2.3.1 on Windows how to do?

$
0
0
Good afternoon,

How to upgrade OCS Inventory Server 2.1.2 to 2.3.1 on Windows how to do?

Thanks in advance

Answered: no machine in database (debian 9, win7)

$
0
0
Bonjour,

Est-ce que l'inventaire de la machine est bien remonté après le délai (24 heures par défaut)?

Cordialement

Frank

Server issue : Mysql overloaded (100%cpu)

$
0
0
Hi OCS Community,

Since a week my OCS server is unstable. MySQL become overloaded after the auto inc reach an high value on software table. I made a cleanup on this table with a script that create new software table and copy old datas in.

As it was not working well so I chose to restore the server from a 1week old backup (it's a VM) but problem appears again after 30min ! Was my backup inconsistent ? Have you some experiences in this kind of problem and have you some tips to identify the root cause ?

It's a MySQL 5.5.34 , Apache 2.2.22 on ubuntu 13.04.1 , 5000 ocs agents.

Thank you for your advises / help.

Excuse my English i'm french ;)

Answered: OCSInventory et couplage avec solution de monitoring

$
0
0
Bonjour,

Il n'y a pas de module de couplage ocs/solution de monitoring hormis de vieux modules comme ceux que tu as trouvé.

Cordialement

Frank

OCS Inventory still inventory some programs that have been uninstalled

$
0
0

It seems that OCS Inventory still inventory some programs that have been uninstalled.
One guy of the call center gave me a example.
Have you hear some known issues talking about that ?
I am quite novice on OCS.
How can I check that ? May be some parameters are not correctly entered ? On the agent side ? on the server side ?
I will appreciate your help to investigate what can be done to close this issue.

Additionnal information : 

When  I launch manually thru the agent icon the "Display Inventory Information" task on a PC where the problem has been detected, I still see a "false" entry in the output report  : this entry says that a uninstalled program is still existing on the machine -  the directory where the program is installed is fulfilled but it is no more existing ?

Answered: Error HTTP/1.1 400 Bad Request

$
0
0
Salut, et merci. C est sur debian 8 en wget avec le dernier ocs server linux et teste avec l agent 2.1 et 2.3
C est apache 2 et dans mon repertoire html il y a un site wordpress.

WEB_SERVICE_ENABLED = OFF

$
0
0
  • Hi,
  • my OCS-NG core server function correctly, no problems during installation but when I go in the Administrative Web Console under "Configuration/Webservice" the voice WEB_SERVICE_ENABLED is setting to "OFF" but ratio button is disabled... ...why? Is it normal?
Thank you!
Server and Software specifications:
  • Linux x86_64
  • 3.16.0-4-amd64
  • 2010 MB
  • 1575 MB
  • Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
  • Debian GNU/Linux 8 (jessie)
  • 5.6.30
  • Apache/2.4.10 (Debian)
  • (Debian) version 5.5.55-0+deb8u1
  • 2.3.1

Answered: Question très très importante sur GLPI

$
0
0
Bonjour,

Le service mail du seveur glp iest bien démarré?

Cordialement

Frank

Answered: How can attribute PC to an account

$
0
0
Hi

Create local users titi, toto then attach tag titi to user titi and so on for user toto.

Regards

Frank

Answered: Mass duplicate entries of Citrix terminal servers

$
0
0

Does really nobody else has such problems with 2.3.X? Up today we have more irrelavant duplicates than regular entries in our inventory:

This makes our inventory unusable!

I hope someone can shed some light on this issue.

Thanks in advance

Agent send Prolog failed with letsencrypt ssl

$
0
0
Debian 9
php7
OCSNG_UNIX_SERVER 2.3.1
OCSNG-Windows-Agent-2.3.0.0
OCSNG-Windows-Packager-2.3
glpi 9.1.4

I want to get green lock on my website so I use letsencrypt linux tool certbot to sign my domain.
I browse my website, everything is OK.
I try to send information by agent then got error.

==============================================================================
Starting OCS Inventory NG Agent on Monday, July 10, 2017 15:08:34.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <Peer certificate cannot be authenticated with given CA certificates>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.

I try to debug by myself.
I got the cacert and private key by using openssl to sign same domain...no green lock :(
Then I edited the apache2 ssl conf. The Agent could send information currently.
The OCSNG Server and  Agent is worked.

So I have a problem.
The cacert.pem which made by certbot couldn't use in ocsng and agent?

There are theree pem and one private key whitch made by certbot.
cert.pem / chain.pem / fullchain.pem / privkey.pem
default ssl conf is  fullchain.pem / privkey.pem
I try use cert.pem, chain.pem and fullchain.pem to be cacert.pem in agent. All of them are unavailable.
Show me error again and again.

ERROR *** AGENT => Failed to send Prolog <Peer certificate cannot be authenticated with given CA certificates>

Someone have any idea which this?  thanks a lot.

Answered: Installation Guide OCS Server - Centos 7 PHP 7

Answered: Installation Guide OCS Server - Centos 7 PHP 7

Dear, the history tab does not list the changes, but the information 'without history'. Does anyone know the cause?

Viewing all 7099 articles
Browse latest View live


Latest Images

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