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

warning apache error.log

$
0
0

Hello,

I have a problem in the apache error logs. I have this error:

DBD::mysql::db do failed: Illegal mix of collations 
(latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for 
operation '=' at 
/usr/local/share/perl/5.24.1/Apache/Ocsinventory/Server/Inventory/Cache.pm
 line 46.

 Can you tell me how to fix it?
 thank you


2 achines not seen in more 30 days but...

$
0
0

Système
•Linux x86_64
•4.9.0-8-amd64
•7987 Mo
•7223 Mo
•Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
•Debian GNU/Linux 9 (stretch)

Logiciel
•7.0.30
•Apache/2.4.25 (Debian)
•Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
•2.5


Hi,


On the first page, I see 2 machines not seen in more than 30 days but if I click to know which machines nothing appears (they really exist)

Where is the problem ?

In debug mode, I have this error :

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 3


 

2 machines not seen in more 30 days but...

$
0
0

Système
•Linux x86_64
•4.9.0-8-amd64
•7987 Mo
•7223 Mo
•Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
•Debian GNU/Linux 9 (stretch)

Logiciel
•7.0.30
•Apache/2.4.25 (Debian)
•Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
•2.5


Hi,


On the first page, I see 2 machines not seen in more than 30 days but if I click to know which machines nothing appears (they really exist)

Where is the problem ?

In debug mode, I have this error :

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 3


 

Erreur inventaire Server returned nothing

$
0
0

Bonjour à tous,

Nous utilisons OCS dans mon entreprise. Depuis quelques jours, les informations ne remontent plus du tout sur notre interface OCS.

Voici ce que j'ai si je consulte le fichier logs :

Starting OCS Inventory NG Agent on Friday, December 14, 2018 08:27:12.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.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.4.0.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <Server returned nothing (no headers, no data)>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01

Nous avons migré le serveur 2.4 vers 2.5 mais le problème est toujours

  • Version de PHP : 5.6.33
  • Serveur Web : Apache/2.4.25 (Debian)
  • Serveur SQL :Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
  • Version OCSReports:2.5

Je n'ai pas retrouvé d'erreur similaire sur ce forum

I need to help

Thanks

Hyper-V Virtual Machines section empty

$
0
0

Have installed OCSAgent 2.4.0 on HyperV WinServ2012, but no data under VMS section on the OCSServer 2.5.

Am i doing something wrong?

Answered: Erreur inventaire Server returned nothing

$
0
0
Bonjour Franck et merci pour ton aide,

Je précise que je suis un débutant sur linux alors j'essaie de m'en sortir tant bien que mal. J'ai été dans le fichier error.log d'apache ; voici les seules erreurs que je retrouve

[Mon Dec 17 08:34:27.619087 2018] [:error] [pid 16190] [client 10.8.1.91:49533] PHP Warning:  vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: https://newocs/ocsreports/
[Mon Dec 17 08:34:27.619121 2018] [:error] [pid 16190] [client 10.8.1.91:49533] PHP Warning:  mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: https://newocs/ocsreports/

Answered: repository centos 7 for 2.5 version

$
0
0
Hi Frank,

any news about the update of the repository? Alternatively how can I update the current rpm installation with the source?

Thanks in advance

Stefano

Installing Plugin Error

$
0
0
I'm tring to install plugins:

sudo python3 install_plugin.py

ERROR: check if map.pm and [pluginName].conf exist

Probleme remonté plugin

$
0
0
Bonjour,

Le fonctionnement de "base" OCSinventory est correct.

Les inventaires des différents clients remontent correctement, par contre j'ai installé des plugins, je vois bien les fichiers vbs s'exécuter sur les postes client mais aucune information n'est collecté par le serveur.

J'ai également voulu paramétrer la remonté de valeurs de clefs de registre sans succes.

Serveur : ubuntu 18.04.1 LTS Apache/2.4.29 (Ubuntu)

OCS report 1:10.3.10+maria~bionic-log 2.5

Client windows : OCS Inventory NG Agent Version 2.4.0.0

Merci

Administrative Data lost upgrading 2.3.1 to 2.5

$
0
0

Hello,

I'm trying to update my 2.3.1 Ubuntu 14.04 server to the new 2.5 release.
The upgrade goes smooth following this tutorial however when I restart apache2 I find out that all the data I've put in my custom fields are gone.

I've now rolled back the machine to a pre-upgrade snapshot.

I've read this bug report however I'm not able to understand if there is a temporary manual fix to upgrade or if it will be release for server version 2.6

Can you help me?

thank you
Francesco

Answered: Installing Plugin Error

$
0
0

the installation of an extension (formerly called plugin) with Python was initiated from the OCS server in version 2.6Release Candidate stage (therefore currently not for production purposes).

If this is the case for you, thank you for this feedback to further improve our product.

The latest stable version of the OCS server is 2.5.

ocsinventory-server stable which version ?

$
0
0
Hello,

Which of the 2.4.1 or 2.5 version of ocsinventory-server is the most stable for production environnment ?

Thank you for your reply

Olivier

Answered: notification does not work!

$
0
0
help Please!!!!

 PHP Fatal error:  require_once(): Failed opening required '../dbconfig.inc.php' (include_path='.:/usr/share/php') in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 11

Can't view my pc on the Inventory web page.

$
0
0

Hello, I'm trying create a package that can be sent to multiple computers and be seen on the online web interface. 

I'm having troubles figuring out why after, installing the OCS inventory agent for windows and creating the package I'm not seeing my computer on the server. I'm running version 2.4 OCS agent. The package builder is 2.3 and the OCS package that I created is 2.4.

I've never done anything like this before, so I'm probably doing something simple incorrectly. 

If you need more information I would be happy to provide what I can, but I'll need detailed instructions because I just don't know this process very well yet. 

In short: I'm don't know why I can't see my computer on the OCS inventory web interface. 

Any ideas or suggestions would be greatly appreciated. 

Thank you and have a nice day. 

Answered: Linux OCSNG 2.3.1 With Agent 2.3.1.1 Missing Users

$
0
0
Hi there, have same issue. Is there a way to tell agent to not update username databese field if there is no user logged in? Something like if "userID" is !blank update databese filed else do not update database field :D

ocs agent SSL connect error

$
0
0
Hello,

My Windows agent v2.1 is not able to send inventory to the server v2.4.1. I get Failed to send HTTP post request SSL error connect. I have tested all certificat levels But I have always the same problem. I also trusted the Root CA and I'm able to access ocs server from browser perfectly over https. I have no logs on server side. How can I fix this? Help

Answered: The server does not detect clients (Agent)

$
0
0
Now I have installed 2 environments

1) OCS 2.5 server on Centos 7 with IP 172.18.0.84

2) OCS Agent on Windows 10 Pro with IP 172.18.0.176 (Disable firewall)

Server sever and client ping each other, but my server does not see the client agent.

Do you can  help me please?

thanks

not able to create administrative Data

$
0
0
hy, i am not able to use the administrative data feature in Ocs 2.5.0

newly created checkboxes are not visible -. radio button also.

Only textboxes are working

I use centos 7 (3.10.0-862.14.4.el7.x86_64)

PHP (5.5.21)

Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.5.21

mod_perl/2.0.10 Perl/v5.16.3

    MariaDB Server version 5.5.60-MariaDB
    2.5
Any Help ?

Answered: notification does not work!

$
0
0

other error :(

I do not know what else to do for the notification to work ... I've reinstalled the ocs from scratch, several times ...

[18-Dec-2018 16:17:01 America/Sao_Paulo] PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /usr/share/ocsinventory-reports/ocsreports/require/mail/NotificationMail.php on line 126

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant SERVER_READ - assumed 'SERVER_READ' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant COMPTE_BASE - assumed 'COMPTE_BASE' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant PSWD_BASE - assumed 'PSWD_BASE' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /usr/share/ocsinventory-reports/ocsreports/tools/cron_mailer.php on line 26

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 160

[18-Dec-2018 16:18:01 America/Sao_Paulo] PHP Warning:  mysqli_query() expects parameter 1 to be mysqli, string given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103

Erreur d'affichage des stats de télédéploiement

$
0
0

Bonjour,

J'ai un problème d'affichage des stats de télédéploiement dans l'interface web d'OCS.

Le télédéploiement se passe bien sur les postes, aucun de souci de ce coté là.

Mon souci est au niveau du menu Deployment > Activate: lorsque je clique sur le petit bouton "statistics" sur la ligne d'un package, j'accède bien au camembert de répartition du status de déploiement (Success / Notification / etc...). Par contre, si je clique sur le détail d'un statuts (ll'icone histogramme en face de la ligne "success" par exemple), rien ne s'affiche (page blanche)

Lorsque je vais dans les logs apache, j'ai cette erreur:

[Wed Dec 19 10:45:49.396439 2018] [php7:error] [pid 44708] [client 192.168.70.20:55447] 

PHP Fatal error:  Uncaught Error: Cannot use object of type stdClass as array in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_teledeploy/ms_speed_stat.php:100

Stack trace:

#0 /usr/share/ocsinventory-reports/ocsreports/require/header.php(437): require()

#1 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')

#2 {main} thrown in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_teledeploy/ms_speed_stat.php on line 100, referer: https://192.X.X.X/index.php?function=tele_stat&head=1&stat=1545127313

Pouvez vous m'aider ?
Merci
Viewing all 7071 articles
Browse latest View live


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