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

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


Error when I try to access the OCS in my browser,

$
0
0
<?php
/*
 * Copyright 2005-2016 OCSInventory-NG/OCSInventory-ocsreports contributors.
 * See the Contributors file for more details about them.
 *
 * This file is part of OCSInventory-NG/OCSInventory-ocsreports.
 *
 * OCSInventory-NG/OCSInventory-ocsreports is free software: you can redistribute
 * it and/or modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 2 of the License,
 * or (at your option) any later version.
 *
 * OCSInventory-NG/OCSInventory-ocsreports is distributed in the hope that it
 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OCSInventory-NG/OCSInventory-ocsreports. if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 */

// Check for mbstring before loading session and conf data
if (!extension_loaded('mbstring')) {
    die("Please install php mbstring extension");
}

require("require/fichierConf.class.php");

// Before session_start to allow objects to be unserialized from session
require_once('require/menu/include.php');
require_once('require/config/include.php');

@session_start();

$debut = microtime(true);

// Is it an AJAX call ? (ajax.php)
if (!defined('AJAX')) {
    define('AJAX', false);
}

require ('require/header.php');
addLog('PAGE', $protectedGet[PAG_INDEX]);

if (!AJAX && !isset($protectedGet["popup"]) && !isset($protectedGet["no_footer"])) {
    require (FOOTER_HTML);
}


I'M USING VERSION 2.3.1, SOMEONE CAN HELP ME?​

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

$
0
0

Now i am able to access the admin console after disabling the SElinux...

Disabled SElinux with the commands :

# vi etc/selinux/config
 
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX= disabled

Save and Close then restart the server.

# shutdown -r now

"Error code 1053" OCS agent not communicate

$
0
0

Hi,

Installed agent in Windows client, but it is not communicating with server. Getting below error, can any one help for me.

"Failed sending control message to OCS inventory Service... Error code 1053 = The service did not respond to the start or control request in a timely fashion"

Thanks in advance,

Nagesh

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

$
0
0
Which one i need to install from the list (EL7 or Fedora26), i'm using Centos 7.

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

$
0
0
Hi

EL7 = CentOS7 so install the el7 rpm

Regards

Frank

Lenteur interface depuis passage en 2.3.1

$
0
0
Bonjour

Je suis en train de tester la  migration de notre plateforme ocs  de 2.04 en 2.3.1 et je rencontre un gros probléme de lenteur pour l'utilisation de la console web d'interface  d'administration.

Le temps mis pour avoir, par  exemple,  le résultat d'une demande simple d'affichage des informations d'un ordinateur est  multiplié par 6 ou 7 ! .

quelqu'un aurait il  rencontré le  probléme ?

Merci

Answered: Lenteur interface depuis passage en 2.3.1

$
0
0
oups désolé en fait  il s'agit du paramêtre :

en bas de l'onglet "interface"  option nommée "WARN_UPDATE" à on !  au lieu de off

cordialement

client pc doesn't show up in inventory

$
0
0

i just installed ocs inventory ng server on a ubuntu 16.04

i installed the agent on windows

the client pc doesn't show up in my inventory

ocsinventory.ini

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://192.168.56.101/ocsreports
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=0
OLD_PROLOG_FREQ=10
TTO_WAIT=36000

agent LOG

Starting OCS Inventory NG Agent on Tuesday, December 05, 2017 13:47:15.

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 Prolog

DID_CHECK => Read DeviceID <QPKJ1-198C-2017-12-05-11-58-10> and MACs <50:65:F3:1B:A6:7600: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 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://192.168.56.101/ocsreports>

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

COM SERVER => Cleaning cURL library

AGENT => Prolog successfully sent

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.

please help

what are the technical requirements (HW &SW) to install OCS inventory including S/O and D/B

Answered: Plugin data not obtained from the clients/agents

$
0
0
Hi  @xefil,

I'm interested in the solution you found. I'm trying to identify the officepack space in the xml that generates the instruction you mention, but I do not identify it. Additionally, I do not see information sent to the server. could you help me?

Answered: Vuknerability scan

$
0
0
Windows version is unsafe and must not be use in production.

Linux version is safe, secure and have better performance.

Make your choice.

Answered: client pc doesn't show up in inventory

$
0
0

Bonjour,

L'url http://192.168.56.101/ocsreports n'est pas bonne pour remonter les inventaires. La bonne url est http://192.168.56.101/ocsinventory. Il faut ensuite redémarrer le service ocsinventory sur le client.

Cordialement

Frank

404 sur /ocsinventory

$
0
0
Bonjour,

J'ai exactement le même problème, /ocsreports fonctionne très bien mais pas /ocsinventory (404)

L'erreur est également la même sur l'agent (404)

Mon serveur est un Ubuntu 16.04 avec OCSNG_UNIX_SERVER-2.3.1

Toutes les dépendances sont satisfaites le setup.sh se lance sans erreurs ou warnings

z-ocsinventory-server.conf est activé et configuré avec les infos de la BDD

SE Linux désactivé

IPtable désactivé

Mod perl activé

.conf enabled (a2en)

lrwxrwxrwx 1 root root   53 nov.   8 16:54 ocsinventory-reports.conf -> /etc/apache2/conf-available/ocsinventory-reports.conf
lrwxrwxrwx 1 root root   54 nov.   8 16:54 z-ocsinventory-server.conf -> /etc/apache2/conf-available/z-ocsinventory-server.conf

Apache redémaré /Serveur redémaré

Merci par avance pour votre aide (je galère depuis 2 jours)

Vincent

Problème affichage sous Chrome / Internet Explorer

$
0
0

Bonjour,

Depuis quelques jour j'ai perdu l'affichage de mon OCS sur les navigateurs Chrome et Internet Explorer. Il fonctionne parfaitement depuis Mozilla par contre.

J'ai vidé le cache des navigateurs sans succès.

Merci pour votre aide.

Debian 9.1 | Apache 2.4.25 | PHP 7.0.19 | OCSReports 2.3.1


OCS Agent Linux in OCS Inventory Windows?

$
0
0
Good evening im new with OCS Inventory , recently i installed OCS Inventory in Windows and added some Agents (Windows too) in the same place, i have computers with Linux and my question is the same, can i put the Agents in Linux for my Inventory in Windows? Thanks you.

Answered: client pc doesn't show up in inventory

http://www.kesamuroa.com/titanax/

$
0
0

Titanax : - Male Enhancement is such testosterone increaser which reestablishes young stamina, quality and additionally vitality through such legitimate way. It is such an astonishing and advances men improving supplement which acts such mind blowing for boosting testosterone level up and makes the extent of muscles more perfect through such flawless way. the most astounding part which Titanax Male Enhancement perform for the male that it fabricate perfect and tore muscles for them in delicate size in general through such immaculate way and influences them to feel solid by and large.

http://www.kesamuroa.com/titanax/

"SELECT" type of custom tags shown wrongly if NULL in DB.

$
0
0

If define additional TAG with type "SELECT", and the tag is NULL in DB. In administrative mode in GUI shown first item from drop box instead of empty.

I read-only mode and in old versions info shown correct.

Answered: Where to find a ready-made virtual machine with the OCS Inventory NG and GLPI

$
0
0
Hi

I´m looking a ready-made VM too. Is it possible?
Viewing all 7067 articles
Browse latest View live


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