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

How can I change mysql user?

$
0
0
Hello,

After upgrading to the newest version of OCS Server I logged using root account. How can I change it using ocs account?

Answered: Console GUI display text

Hardware/devices missing

$
0
0
Hi ( frankb :) ),

I recently installed ocs server and a couple of agents/clients so i can check  if everithing is working fine. Although i can see some basic information (CPU, RAM, IPs...) i'm unable to see hardaware/devices of those pc's in my server (keyboards, printers...). I dont know if i'm missing something here.
I think it's a server problem because i can check all information needed using the option "Show Inventory information" of the clients.

so sorry for my bad english,

Many thanks.

AI: server version: 2.2.1 running on Ubuntu 18.04.

Agent/Client version 2.0.5 running on Windows 10 (both of them).

Package Building

$
0
0
Hello together,

i search for an solution to create a Package with which i can replace a file under the account of a local User(there a different User Accounts in the Network).

%appdata%/dpf where the path to replace a file.

Some information about the infrastructure:

No domain, only local Accounts on the computer, samba shares.

Maybe someone have an idea to solve this

with best regards

Holger

LDAP in version 2.5

$
0
0

In the previous version it was possible to configure ldap by GUI, now where do I synchronize LDAP in version 2.5?

upgrade to 2.5 some info from Activity no list

$
0
0

I have done the upgrade from OCS server 2.4.1 to OCS 2.5 and now Machines contacted today , Machines Inventoried today from activity menu  and also Machines having a software deployment pending and Machines having a package error from other menu doesn't display the machine list.

I have installed ocs server 2.5 on a centos6 server with php 5.6.

On apache error log i have 

PHP Warning:  vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74

and 

PHP Warning:  mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103 

when i sign in to ocs and if i click on Machines Inventoried today from activity menu i have 

PHP Warning:  mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/require/function_search.php on line 617, referer: https://xxx.com/ocsreports/index.php?function=visu_search&fields=HARDWARE-LASTDATE&comp=tall&values=08/01/2018%2010:57&values2=&type_field=

Is this a bug ? How can i fix it?

Answered: Moving OCS server to other IP address

$
0
0
please always try to use a dns name insteqad of using a ip adress.

What you can also do is to deploy a package with a script which creates a local task.

This task replaces the ocisnventory.ini file an restarts the ocs-inventory agent.

Sometimes this is the beset way, because many people don't have integrated a computer into active directory.

I have done this bevore - but the script is complex

kind regards

sokatra

Answered: What happens with data after update OCS server?

$
0
0
inventory daata was stored in mysqdl(maridab) database - nothing gets lost

Kind regards

Answered: SMART Information

$
0
0
dans quel rubrique il les met ?

je n'ai rien vu

Answered: SMART Information

$
0
0
Des informations comme le nombre d'heure de fonctionnement, le nombre d'arrêt/redémarrage, et puis les éléments critiques comme les cluster défectueux ou en attente, etc..

Merci

Answered: Moving OCS server to other IP address

$
0
0
Look's like I should've been thinking about it before installing Agen's,
So have you got an example of such scripts?

I use a VPN connection as a chanell for OCS communication that's why I need use an IP, and also doesn't have end users connected to a MS server so updating ocs.ini with script would be the best way

Best Regards

Seweryn

Answered: SMART Information

$
0
0
Salut

Je sais qu'un plugin remontant ces informations a été développé mais il n'est pas disponible pour la communauté.

Frank

OCS Inventory NG server 2.5 on Ubuntu 18.04.1

$
0
0

I have found guide about installing 2.4 on Ubuntu 16.04, but I was looking for any latest guide on installing 2.5 on Ubuntu server 18.04.1. Ubuntu server 18.04.1 is the latest server build, and OCS 2.5 is also the latest.

I believe the installation will be almost similar, but I want to make sure that I am installing all latest components as part of OCS server requirement.

  • MySQL Server – version 4.1 or higher
  • Perl
  • Apache Web server
  • Apache Mod_perl
  • PHP with ZIP support enabled.
  • Apache Mod_php
  • Perl module XML::Simple
  • Perl module Compress::Zlib
  • Perl module DBI
  • Perl module DBD::Mysql
  • Perl module Apache::DBI
  • Perl module Net::IP
  • Perl module Archive::Zip
  • Perl module Apache2:SOAP
  • Perl module SOAP::Lite
  • Perl module XML::Entities

I found one guide in here which seems the latest

https://computingforgeeks.com/how-to-install-ocs-inventory-server-on-ubuntu-18-04/

The other one is in here http://ask.ocsinventory-ng.org/8583/tutorial-ocs-2-4-on-ubuntu-16-04

Can I use the first one and install all required components?

Thank you.

Answered: SMART Information

$
0
0
Ah ok, tant pis

Merci pour ces précisions

Cordialement

Guewen

Existing devices not updating inventory

$
0
0
Hello Gents,

Got a weird symptom:

Just notice our devices stop updating to inventory (Last Inventory) like one month ago; however, they are contacting back to OCS server (Last Contact)

-Existing devices are having trouble update inventory.

-New device will be added to inventory; however, after the first insert, it will not update inventory, only contacting.

Here is our setup:

OCS Inventory NG Server version: 2.1.2

OS: Windows Server 2012 R2

Client Agent version: 2.1.1.3 and 2.1.1.1

===================================================================================

Here are some discoveries:

Server:

Found some repeated entries in "C:\xampp\apache\logs\error.log":

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.

Also, check the PerlSetEnv OCS_DB_USER in "C:\xampp\apache\conf\extra\ocsinventory-server.conf" and verify it can connect to the mySQL database.

===================================================================================

Client Agent:

It logged Error entry in Application Event log: Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.

Also checked the ocsinventory.log:

Starting OCS Inventory NG Agent on Wednesday, August 01, 2018 13:29:46.

AGENT => Running OCS Inventory NG Agent Version 2.1.1.3

AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.3

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.3>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

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

AGENT => Inventory required

AGENT => Launching hardware and software checks

AGENT => Sending Inventory

INVENTORY => Inventory changed since last run

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

AGENT =>  Communication Server ask for Package Download

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

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

===================================================================================

For the Error 500, we checked the PerlSetEnv OCS_DB_USER in "C:\xampp\apache\conf\extra\ocsinventory-server.conf" and verify it can connect to the mySQL database.

Need some guidance to troubleshoot further.

Regards,

Maicol

How to answer to my question on this forum?

Answered: Installation issue in Plugins

$
0
0
yes, i checked with both apache:apache and root:root ownership.

but in both cases, same error happens.

PB de MAJ 2.5 avec setup.sh

$
0
0
Bonjour,

Je tente de mettre à jour le serveur d'administration de la 2.3.1 vers la toute récente 2.5 (en Debian 8.11, PHP 5.6.36, Apache 2.4.10), je lance le setup.sh récupéré à l'aide du .git et l'installation échoue à la toute fin (tout le reste se passe bien) avec cette ligne dans le log:

Copying PHP files to /usr/share/ocsinventory-reports/ocsreports

cp: cannot stat 'ocsreports/*': No such file or directory

J'ai vérifié les droits, et j'ai même changé le chemin d'install, j'ai le même pb, cela vous arrive t'il également ?

Merci d'avance pour vos idées.

Answered: How can I change mysql user?

$
0
0
Hi,
Could you tell me where you loged using root acount? OCS server is using default OCS acount, root is default only for loging to mysql shell....

OCS uses root acount due to installation only for updating database, later it use ocs acount, and ocs pasword, which you should change by Yourself i mysql shell...

Best Regards

Seweryn

Agent failed at Download: SSL connect error

$
0
0

Hello,

my Agent 2.1.1.1 can't download the packages from my server (2.5.0).

The server log is not reporting any errors, but the client shows:

AGENT =>  Communication Server ask for Package Download
    DOWNLOAD => Package history file successfully cleaned for duplicate IDs
    DOWNLOAD => Metadata file <info> for package <1408603411> is located at <https://brain.xxx .de/download/1408603411/info>
    COM SERVER => Initializing cURL library for getFile
    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 fileGet request to URL <https://brain.xxx.de/download/1408603411/info>
    WARNING *** COM SERVER => Failed to send HTTP Get request <SSL connect error>
    COM SERVER => Cleaning cURL library
ERROR *** DOWNLOAD => Failed to download Metadata file <https://brain.xxx.de/download/1408603411/info> to <C:\ProgramData\OCS Inventory NG\Agent\download\1408603411\info> 

I checked the ssl cert:

brain# openssl x509 -text -noout -in brain.crt
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            91:d4:a1:a8:17:f3:f1:df
    Signature Algorithm: sha1WithRSAEncryption
        Issuer: C = DE, ST = Bavaria, L = xxx, O = xxx, OU = brain.xxx.de, CN = brain.xxx.de, emailAddress = *Emails are not allowed*
        Validity
            Not Before: Apr 19 12:33:17 2011 GMT
            Not After : Apr 16 12:33:17 2021 GMT
        Subject: C = DE, ST = Bavaria, L = xxx, O = xxx, OU = brain.xxx.de, CN = brain.xxx.de, emailAddress = *Emails are not allowed*

So the CN from the certificate matched with the server string.

Any hints to figurte out the problem?

Regards

Daniel

Viewing all 7067 articles
Browse latest View live


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