Hi all,
Thank you very much frankb. I have followed your advice explained in the topic Difficulty to use OCSPACKAGE . I took my time to deploy the Agent ocs with ocspackage.exe and a login script but unsuccess.
Main error identified in apache:
error.log:
[Tue Jul 15 16:59:31 2014] [error] [client 192.168.1.253] Can't call method "do" on an undefined value at C:/xampp/perl/site/lib/Apache/Ocsinventory/Server/System.pm line 177.\n
[Tue Jul 15 17:08:23 2014] [error] [client fe80::d1be:15d:75a2:5ab2] client denied by server configuration: C:/xampp/htdocs/xampp
System.pm line 174-178:
# Connection...
my $dbh = DBI->connect("DBI:mysql:database=$database;host=$host;port=$port", $user, $password, \%params);
$dbh->do("SET NAMES 'utf8'") if($dbh && $ENV{'OCS_OPT_UNICODE_SUPPORT'});
$dbh->do("SET sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'");
return $dbh;
Summary
IT tools:
-
Windows server 2008 R2
-
Windows XP Professional
OCS tools:
-
OCSNG-Windows-Server- 2.1.2
-
OCSNG-Windows-agent-2.1.1
-
OCSNG-Windows-Packager-2.1.1
Other applications useful:
Tasks realised:
-
No logged on as administrator but has a full control of windows server 2008 R2
-
setup of all OCS tools in windows server 2008 R2
-
In the command line options of ocspackager: /S /SERVER=http://ipserver/ocsinventory /TAG="test" /DEBUG=2 /NOW
-
Checking the password of the ocsweb database is the same in the the ocsinventory-server.conf and dbconfig.inc.php files
-
Put in the httpd.conf file of apache these lines:
-
Listen ipserver:80
-
Listen 127.0.0.1:3306
-
Has downloaded dffsetup-msvcr90
-
Dll-Files fixer
-
Has checked if there is a firewall activated
-
Has checked if there a conflict of the port between some applications
-
Has created a file in windows server 2008 called OCS-script and shared with Windows XP Professional
-
ocs.bat file and Ocslogon.exe in OCS_script
-
Login script of ocs.bat: \\myserver\OCS_script\OcsLogon.exe
/PACKAGER /NP /INSTALL /DEPLOY:2.1.1.1 /SERVER=http://ipserver/ocsinventory
Objectives:
-
Deploy the Agent ocs from ocspackage.exe
-
Working with a login script and without GPO
Problem faced:
-
Cannot run ocspackage
-
No inventory displayed in the interface of the server ocs
Question:
What are the other alternatives I can do?
Thank you and kind regards