1) Агенты не могут прислать отчеты по инвентаризации сначала был (Error 403 однако после исправления данной ошибки ничего не изменилось) отчеты так и не появились.
Код: Выделить всё
HTTP SERVER: Opening Internet connection to download <http://10.10.10.78:80/ocsinventory/deploy/label>...ERROR: HTTP status code 404
HTTP SERVER: Closing HTTP connection...OK
WMI Connect: Trying to connect to WMI namespace root\cimv2 on device <Localhost>...OK.
Registry Connect: Trying to connect to HKEY_LOCAL_MACHINE on device <Localhost>...OK.
CHECKINGS: read <ADMIN-2009-11-14-13-42-40> and <00:19:5B:71:AD:41> in ocsinventory.dat
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: OK (1 objects).
CHECKINGS: write <ADMIN-2009-11-14-13-42-40> and <00:19:5B:71:AD:41> in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 10.10.10.78 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...HTTP status 200 OK
HTTP SERVER: Server <10.10.10.78> answer is empty or unreadable
HTTP Response: <html>
<head>
<TITLE>OCS Inventory</TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-9;">
<link rel="shortcut icon" href="favicon.ico" />
<LINK REL='StyleSheet' TYPE='text/css' HREF='css/ocsreports.css'>
<script language="javascript">
var MonthName=["January","February","March","April","May","June","July","August","September","October","November","December"];
var WeekDayName=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];
</script>
<script language="javascript" type="text/javascript" src="js/datetimepicker.js">
</script><script language='javascript'>
function wait( sens ) {
var mstyle = document.getElementById('wait').style.display = (sens!=0?"block" :"none");
}
function ruSure( pageDest ) {
if( confirm("ARE YOU SURE ?") )
window.location = pageDest;
}
</script>
</head>
<body bottommargin='0' leftmargin='0' topmargin='0' rightmargin='0' marginheight='0' marginwidth='0'><table class='headfoot' border='0' >
<tr height=25px>
<td><a href='index.php?first'><img src='image/logo OCS-ng-48.png'></a></td>
<td align='center' width='33%'><a href='index.php?first'><img src=image/banner-ocs.png></a></td><td width='33%' align='right'>
<b>Ver. 1.02   </b>
<br><br><a title='polish' href="index.php?av=1&multi=console&c=&a=&lang=polish"><img src ="languages/polish.png" width="20" height="15"></a> <a title='german' href="index.php?av=1&multi=console&c=&a=&lang=german"><img src ="languages/german.png" width="20" height="15"></a> <a title='italian' href="index.php?av=1&multi=console&c=&a=&lang=italian"><img src ="languages/italian.png" width="20" height="15"></a> <a title='portuguese' href="index.php?av=1&multi=console&c=&a=&lang=portuguese"><img src ="languages/portuguese.png" width="20" height="15"></a> <a title='russian' href="index.php?av=1&multi=console&c=&a=&lang=russian"><img src ="languages/russian.png" width="20" height="15"></a> <a title='spanish' href="index.php?av=1&multi=console&c=&a=&lang=spanish"><img src ="languages/spanish.png" width="20" height="15"></a> <a title='slovenian' href="index.php?av=1&multi=console&c=&a=&lang=slovenian"><img src ="languages/slovenian.png" width="20" height="15"></a> <a title='brazilian_portuguese' href="index.php?av=1&multi=console&c=&a=&lang=brazilian_portuguese"><img src ="languages/brazilian_portuguese.png" width="20" height="15"></a> <a title='turkish' href="index.php?av=1&multi=console&c=&a=&lang=turkish"><img src ="languages/turkish.png" width="20" height="15"></a> <a title='french' href="index.php?av=1&multi=console&c=&a=&lang=french"><img src ="languages/french.png" width="20" height="15"></a> <a title='hungarian' href="index.php?av=1&multi=console&c=&a=&lang=hungarian"><img src ="languages/hungarian.png" width="20" height="15"></a> <a title='english' href="index.php?av=1&multi=console&c=&a=&lang=english"><img src ="languages/english.png" width="20" height="15"></a> </td></tr></table><br><form name='log' id='log' method='post'>
<table BORDER='0' WIDTH = 250px' ALIGN = 'Center' CELLPADDING='0' BORDERCOLOR='#9894B5'>
<tr>
<td><b>User:</b></td>
<td width='1%'><input name=login type=input size=15></td>
</tr>
<tr>
<td><b>Password:</b></td>
<td><input name=pass type=password size=15></td>
</tr>
<tr>
<td> </td>
<td><input name=subLogin type=submit value=Send></td>
</tr>
</table>
</form>
<br></div><table class='headfoot'><tr height=25px><td align='center'> </td></tr></table></body>
</html>
script><sЭП
HTTP SERVER: Closing HTTP connection
WMI Disconnect: Disconnected from WMI namespace.
Writing last inventory state not required.
Execution duration: 00:00:00.
Код: Выделить всё
http://10.10.10.78:80/ocsinventory/deploy/label>...ERROR: HTTP status code 404
Код: Выделить всё
# OCS Inventory NG Administration Server
#
# Copyleft 2008 OCS Inventory NG Team
# Web: http://www.ocsinventory-ng.org
#
# 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
################################################################################
#
# ANY CHANGE ON THIS FILE REQUIRES APACHE RESTART TO TAKE EFFECT
#
################################################################################
# Administration console public pages
#
# Alias used to put Administration Server static page (typically PHP) outside
# Apache document root directory
#
Alias /ocsreports /usr/share/ocsinventory-reports/ocsreports
<Directory /usr/share/ocsinventory-reports/ocsreports>
# By default, users can use console from everywhere
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options
# Uncomment following to force use of HTTPS in Administration Server
#SSLRequireSSL
# PHP tuning (not working on all distribution, use php.ini instead)
AddType application/x-httpd-php .php
php_flag file_uploads on
# Some PHP tuning for deployement feature up to 8 MB
# post_max_size must be greater than upload_max_filesize
# because of HTTP headers
php_value post_max_size 9m
php_value upload_max_filesize 8m
# You may have to uncomment following on errors
#php_value max_execution_time -1
#php_value max_input_time -1
# Uncomment following to allow HTTP body request up to 4 MB
# instead default 512 KB
#LimitRequestBody 4194304
</Directory>
################################################################################
# Deployment packages download area
#
# Alias to put Deployement package files outside Apache document root directory
#
Alias /download /usr/local/share/ocsinventory-ng/download