Ola a todos.. gostaria de saber se alguem da lista ..utiliza o OCSinventory .software para inventario de hardware e software. terminei a instalacao no etch ..e esta dando um erro..
debian4:/etc/apache2# /etc/init.d/apache2 restart Forcing reload of web server (apache2)...Syntax error on line 16 of /etc/apache2/conf.d/ocsinventory.conf: Invalid command 'PerlSetEnv', perhaps misspelled or defined by a module not included in the server configuration failed! segue arquivo conf ################################################################################ # # OCS Inventory NG Communication Server Perl Module Setup # # Copyleft 2006 Pascal DANEK # Web: http://ocsinventory.sourceforge.net # # This code is open source and may be copied and modified as long as the source # code is always made freely available. # Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt ################################################################################ # Which version of mod_perl we are using # For mod_perl <= 1.999_21, replace 1 by 1 # For mod_perl > 1.999_21, replace 1 by 2 #PerlSetEnv OCS_MODPERL_VERSION 1 # Where to write detailled logs PerlSetEnv OCS_LOGPATH "/var/log/ocsinventory-NG" # Database options # Replace localhost by hostname or ip of MySQL server, generally localhost PerlSetEnv OCS_DB_HOST localhost # Replace 3306 by port where running MySQL server, generally 3306 PerlSetEnv OCS_DB_PORT 3306 # Name of database PerlSetEnv OCS_DB_NAME ocsweb PerlSetEnv OCS_DB_LOCAL ocsweb # User allowed to connect to database PerlSetEnv OCS_DB_USER ocs # Password for user PerlSetVar OCS_DB_PWD ocs # The options below are overloaded if you are using ocs GUI # Be careful: you must restart apache to have any effects PerlSetEnv OCS_OPT_FREQUENCY 0 PerlSetEnv OCS_OPT_PROLOG_FREQ 24 PerlSetEnv OCS_OPT_DEPLOY 1 PerlSetEnv OCS_OPT_TRACE_DELETED 0 PerlSetEnv OCS_OPT_AUTO_DUPLICATE_LVL 7 PerlSetEnv OCS_OPT_LOGLEVEL 0 PerlSetEnv OCS_OPT_INVENTORY_DIFF 1 PerlSetEnv OCS_OPT_INVENTORY_TRANSACTION 1 PerlSetEnv OCS_OPT_PROXY_REVALIDATE_DELAY 3600 PerlSetEnv OCS_OPT_LOCK_REUSE_TIME 3600 # Optional modules PerlSetEnv OCS_OPT_IPDISCOVER 2 PerlSetEnv OCS_OPT_IPDISCOVER_MAX_ALIVE 7 PerlSetEnv OCS_OPT_IPDISCOVER_LATENCY 100 PerlSetEnv OCS_OPT_REGISTRY 0 PerlSetEnv OCS_OPT_UPDATE 0 PerlSetEnv OCS_OPT_DOWNLOAD 0 PerlSetEnv OCS_OPT_DOWNLOAD_FRAG_LATENCY 10 PerlSetEnv OCS_OPT_DOWNLOAD_CYCLE_LATENCY 0 PerlSetEnv OCS_OPT_DOWNLOAD_PERIOD_LATENCY 0 PerlSetEnv OCS_OPT_DOWNLOAD_TIMEOUT 30 PerlSetEnv OCS_OPT_WEB_SERVICE_ENABLED 0 PerlSetEnv OCS_OPT_PROLOG_FILTER_ON 1 PerlSetEnv OCS_OPT_INVENTORY_FILTER_ON 1 PerlSetEnv OCS_OPT_INVENTORY_FILTER_FLOOD_IP 1 PerlSetEnv OCS_OPT_INVENTORY_FILTER_FLOOD_IP_CACHE_TIME 60 ############ DO NOT MODIFY BELOW ! ####################### # External modules PerlModule Apache::DBI PerlModule Compress::Zlib PerlModule XML::Simple # Ocs PerlModule Apache::Ocsinventory PerlModule Apache::Ocsinventory::Server::Constants PerlModule Apache::Ocsinventory::Server::System PerlModule Apache::Ocsinventory::Server::Communication PerlModule Apache::Ocsinventory::Server::Inventory PerlModule Apache::Ocsinventory::Server::Duplicate # Options PerlModule Apache::Ocsinventory::Server::Option::Registry PerlModule Apache::Ocsinventory::Server::Option::Update PerlModule Apache::Ocsinventory::Server::Option::Ipdiscover PerlModule Apache::Ocsinventory::Server::Option::Download # This module guides you through the module creation # PerlModule Apache::Ocsinventory::Server::Option::Example # This module adds some rules to filter some request sent to ocs server in the prolog and inventory stages # PerlModule Apache::Ocsinventory::Server::Option::Filter # Virtual directory for handling OCS Inventory NG agents communications # Be carefull, do not create such directory into your web server root document ! #PerlTaintCheck On <Location /ocsinventory> order deny,allow allow from all Satisfy Any SetHandler perl-script PerlHandler Apache::Ocsinventory </Location> PerlModule Apache::Ocsinventory::SOAP; <location /ocsinterface> SetHandler perl-script perlHandler "Apache::Ocsinventory::SOAP" order deny,allow allow from all Satisfy any </location> -- Cleyton Santana de Sousa 27 9993 6014

