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

Answered: OCS + Debian 8

$
0
0

Source your envars by

source /etc/apache2/envars

and

/usr/sbin/apache2 -V

If nothing works properly than try to change the document root from /var/www/html to /var/www

/etc/apache2/sites-available/000-default.conf

Regards

sip_mw


How to display multiple monitors for the same PC in query

$
0
0
How do I make a query in the management console display more than one monitor per PC or server? Most of my users have two monitors; I can see both when I click on the individual machine and look at the report, but a query only returns one monitor. Thanks

Answered: Can't call method "do" on an undefined value at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/System.pm

$
0
0
Hi,

By upgrading to the new version, dbconfig.inc.php and z-ocsinventory-server.conf files are overwritten with files of the OCSNG_UNIX_SERVER-2.2RC1.tar.gz archive. Replace user/password values fin these files, then restart apache. All will be OK after.

Regards

Frank

How can I add 'View Columns' and make them stay as default?

$
0
0
I am running OCS Inventory 2.0.5 on Red Hat 5. The problem that I would like to resole is to have added columns stay permanently.

For example, whenever I do a "Software with various criteria" and lets say I choose parameter "Software Name" and do a search that is [LIKE] Firefox. When I hit the search key I get a list of all my machines that have Firefox installed, but in order to see what Version of the Software is installed, I have to add the column "Softwares: Version". While this may sound like a miniscule problem, I seem to find myself longing for default added columns in many areas of OCS and having to constantly re-add the columns in order to see what I want to see.

Is there a solution for this? Perhaps a code change in the OCS files or maybe there is an option I am missing on the Web Interface.

Thank you in advance for any help

-Michael

OCSinventory Server on Debian 8

$
0
0
Dear all,

I have a problem with the installation under Debian 8. What are the inputs so that OCS works. please step by step ...

thx 4 helping

hoffi

Answered: OCS + Debian 8

$
0
0
Friends formatted and installed Debian 7

Regards

Anderson

A couple of questions on plugins in Release 2.2 RC1?

$
0
0
I'm testing OCS Inventory Server 2.2 RC1 and want to implement some custom plugins I used in 2.0.5.  I don't see the cd_config.txt in which I can activate the plugins.  How do I activate the plugin?

After enabling the plugins, how do I make the plugin data visible in the web interface?

Number per License + MSOfficeKey

$
0
0
Dear,
Installed MSOfficeKey and keys appear successfully to access any host.
In Pluguins menu shows the flaps Licenses Office, Allotment, per License Number not monstram results.
I did several searches in furum and the web but could not solve this case.

Any tips?

thanks

Anderson

Answered: Snmp issues - Devices not inventoried or collected.

$
0
0
Try to do a snmpwalk on your equipment with the community you have in the OCS server from the client. It's seem that the client can't do a snmp query.

How to upgrade a software version or an Operating system

$
0
0
Hi,

I wanted to upgrade my OS win xp to win 7 and is that possible through the deployment process.

 

Regards,

Sathish J

documentation about virtual machines

$
0
0
Where i can found documentation about detecting virtualization enviroments on ocs-ng?

I started using OCS 2.05 virtual image provided by the oficial site. Then, upgraded manualy to version 2.1. There are any module needed to enable that feature?

Apache can't work after OCSInventory NG installed

$
0
0
Hi, Broths

I have installed the OCSInventory NG installed in CentOS , but it is failure when i restart apache.

System Infor:

CentOS7+apache2.4.6+PHP 5.4.16+MariaDB 5.5.41+OCSInventoryNG2.1.2

Other Package:

mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64

perl-XML-Simple-2.20-5.el7.noarch

perl-IO-Compress-2.061-2.el7.noarch

perl-DBI-1.627-4.el7.x86_64

perl-DBD-MySQL-4.023-5.el7.x86_64

perl-Apache-DBI-1.12-1.el7.noarch

perl-Net-IP-1.26-4.el7.noarch

perl-SOAP-Lite-1.10-1.el7.noarch

php-common-5.4.16-36.el7_1.x86_64

php-gd-5.4.16-36.el7_1.x86_64

 

And I have installed the OCSInventory NG installed in CentOS following the article :http://wiki.ocsinventory-ng.org/index.php/Documentation:Server

 

But after installed, apache can't be restarted.

[Tue Aug 18 17:10:43.717931 2015] [perl:error] [pid 14622] Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 13) line 2.\n

[Tue Aug 18 17:10:43.718718 2015] [perl:error] [pid 14622] Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server localhost:80, exiting...

 

Anyone help me?

Answered: Apache can't be restart after OCSInventoryNG installed

$
0
0
[root@localhost ~]# cpan -i Apache2::SOAP
CPAN: Storable loaded ok (v2.45)
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 18 Aug 2015 19:29:02 GMT
CPAN: Module::CoreList loaded ok (v2.76_02)
Apache2::SOAP is up to date (0.73).

 

I have installed and updated the Apache2::SOAP, but apache can't be restarted.

And it prompted :

[Tue Aug 18 17:10:43.717931 2015] [perl:error] [pid 14622] Can't locate Apache/Ocsinventory/Plugins/Apache.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 13) line 2.\n

[Tue Aug 18 17:10:43.718718 2015] [perl:error] [pid 14622] Can't load Perl module Apache::Ocsinventory::Plugins::Apache for server localhost:80, exiting...

As saadmin access denied on config->user setting // after upgrading to 2.2RC1

$
0
0
Hey guys,

since having upgraded to the latest release candidate 2.2RC1 some menues are restricted issuing and "Access denied" message although I got the highest permission set sadmin.

So I checked database and noticed that there seems to be a new column NEW_ACCESSLVL and an "old" one ACCESSLVL filled with different values.

mysql> select * from operators;

| ACCESSLVL |       | NEW_ACCESSLVL |
       NULL                          sadmin

Tried to update the ACCESSLVL but only accepts integers ?

Please give me a hint?

Regards

Marco

Parse error on ms_multi_search.php

$
0
0

Hey guys,

since having installed Microsoft Office Key plugin , when I try to view details of installed software , I get this error:" Parse error: syntax error, unexpected $end in C:\xampp\htdocs\ocsreports\plugins\main_sections\ms_multi_search\ms_multi_search.php on line 1321"

The error is in the end of the file and this is the content of my ms_multi_search.php file:

.............

   echo "<tr><td colspan=100 align=right><input type='submit' name='Valid-search' value='".$l->g(30)."' onclick='garde_valeur(\"VALID\",\"Valid\");'></td></tr>";
    echo "<input type=hidden name='Valid' id='Valid' value=''>";
}
    echo "</table>";
echo "<input type=hidden name=delfield id=delfield value=''>";
echo "<input type=hidden name='reset' id='reset' value=''>";
echo "</td></tr></table>";
echo "</form>";    
echo $l->g(358);
echo "<br>";
 
Microsoft Office Key plugin works fine, my PHP version is 5.3.8 and my OCS Server version is 2.1.1.

Anyone help me?

Regards

Jacopo


Answered: How to deploy Acrobat Reader update pack to clients

Answered: documentation about virtual machines

$
0
0
Hi,

Which virtualization environments would you like detect?

Regards

Frank

Answered: As saadmin access denied on config->user setting // after upgrading to 2.2RC1

$
0
0

Hey Marco

What was the previous version of OCS?
I think your config file is corrupt (config/profiles/sadmin.xml)

Regards

 

Answered: OCS Serveur ne reçoit pas des agents

$
0
0

Log error Apache

[Mon Aug 24 11:28:07.766222 2015] [mpm_prefork:notice] [pid 2500] AH00169: caught SIGTERM, shutting down
[Mon Aug 24 11:28:27.287540 2015] [mpm_prefork:notice] [pid 1190] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.11 mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations
[Mon Aug 24 11:28:27.290199 2015] [core:notice] [pid 1190] AH00094: Command line: '/usr/sbin/apache2'
[Mon Aug 24 11:29:03.773642 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 11:29:03.783127 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 11:29:03.799214 2015] [:error] [pid 1205] [client 192.168.20.102:58059] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.290712 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.291029 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 13:02:06.291573 2015] [:error] [pid 1204] [client 192.168.20.102:58807] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539091 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539430 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
[Mon Aug 24 14:59:37.539972 2015] [:error] [pid 1206] [client 192.168.20.102:60119] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10, referer: http://192.168.20.31/ocsreports/index.php?function=visu_computers
 
 

Answered: Apache can't work after OCSInventory NG installed

$
0
0
# ===== PLUGINS =====

  PerlSetEnv OCS_PLUGINS_PERL_DIR "/etc/ocsinventory-server/perl"
  PerlSetEnv OCS_PLUGINS_CONF_DIR "/etc/ocsinventory-server/plugins"

 

I have checked the Path "/etc/ocsinventory-server/", there are two directories in it.

But nothing in the directories, please see the checking at below:

[root@localhost Plugins]# cd /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/
[root@localhost Plugins]# ls
[root@localhost Plugins]# cd /etc/ocsinventory-server/plugins/
[root@localhost plugins]# ls
[root@localhost plugins]#
[root@localhost plugins]#

 

I only found the error log in ocs_server_setup.log , please view it at below:

....

Checking for Apache2::SOAP PERL module
Unsupported version of mod_perl at /usr/share/perl5/vendor_perl/SOAP/Transport/HTTP2.pm line 85.
Compilation failed in require.
BEGIN failed--compilation aborted.
User choose to continue setup without PERL module SOAP::Apache2
Checking for XML::Entities PERL module
PERL module XML::Entities is available
Configuring Communication server (perl Makefile.PL)
Preparing Communication server Perl modules (make)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Cache.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Inventory.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Modperl2.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Capacities.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Map.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Extensions.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Export.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Communication.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Useragent.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Snmp/Data.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Updates.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Database.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Ipdiscover.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/SOAP.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/History.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Config.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Registry.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Update/Hardware.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Update.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Filter.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Filter.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Data.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Example.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Inventory.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/System.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Notify.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Update.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Plugins.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Datafilter.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Groups.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Download/Inventory.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Communication/Session.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Snmp.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Capacities/Download.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Constants.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/System/Config.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Modperl1.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Server/Duplicate.pm (unchanged)
Skip blib/lib/Apache/Ocsinventory/Interface/Internals.pm (unchanged)
Installing Communication server Perl modules (make install)
Installing /root/perl5/lib/perl5/Apache/Ocsinventory.pm
Installing /root/perl5/lib/perl5/Apache/Ocsinventory/Map.pm
Installing /root/perl5/lib/perl5/Apache/Ocsinventory/Server/Capacities/Snmp.pm
Installing /root/perl5/lib/perl5/Apache/Ocsinventory/Interface/Internals.pm
Appending installation info to /root/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
Creating Communication server log directory /var/log/ocsinventory-server
Fixing Communication server log directory permissions
Configuring logrotate (ed logrotate.ocsinventory-NG)

....

 

Attention: I have comment the  lines in z-ocsinventory-server.conf, because if i don't do it , the error of apache prompt " localhost.localdomain httpd[18634]: Unknown Authz provider: SOAP_USER".

....

        # Use htpasswd to create/update soap-user (or another granted user)
#       AuthUserFile "APACHE_AUTH_USER_FILE"
#       require "SOAP_USER"
  </location>
</IfModule>
Viewing all 7082 articles
Browse latest View live


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