Всем привет.
Народ помогите настроить OCS INventory на системе Alt LInux
Установил все из архива с сервера. Версия 2,04 Вебсервис работает. Захожу туда через admin:admin.
На клиенте установил агента. Скажите адрес для связи агента какой должен быть?
http://ip-server/ocsinventory или какой? Сервер, на котором у меня установлен OCS имеет ip 192.168.1.110
На веб страницу захожу по адресу
http://192.168.1.110/ocsreport При попытке запустить агента в лог пишутся ошибки:
==============================================================================
Starting OCS Inventory NG Agent on Sunday, March 04, 2012 12:25:08.
AGENT => Running OCS Inventory NG Agent Version 2.0.4.0
AGENT => Using OCS Inventory NG FrameWork Version 2040
AGENT => Loading plug-in(s)
PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
PLUGIN => 0 Plug-in(s) succesfully loaded
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.4.0>
AGENT => Sending getLabel request
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL with server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending fileGet request to URL <http://192.168.1.110:80/ocsinventory/deploy/label>
COM SERVER => fileGet response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <HTTP Status Code #404>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <SERGEY-PC-2012-02-25-20-43-41> and MACs <1C:BD:B9:DA:18:AD00:1F:C6:07:5C:AB> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.1.110:80/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.
==============================================================================
Starting OCS Inventory NG Agent on Sunday, March 04, 2012 12:25:55.
AGENT => Running OCS Inventory NG Agent Version 2.0.4.0
AGENT => Using OCS Inventory NG FrameWork Version 2040
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.4.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.
Везде пишут, что адрес сервера для агента должен быть вида
http://ip-server/ocsinventory но я не могу понять одного у меня на серваке только одна директория /ocsinventory и та в каталоге /etc
Везь мозг уже сломал. Помгите, куда копать дальше?
________Добавлено_________
Создал на сервере дирректории /var/www/html/ocsinventory/deploy/label/
Теперь в логе агента вот что:
Starting OCS Inventory NG Agent on Sunday, March 04, 2012 13:47:23.
AGENT => Running OCS Inventory NG Agent Version 2.0.4.0
AGENT => Using OCS Inventory NG FrameWork Version 2040
AGENT => Loading plug-in(s)
PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
PLUGIN => 0 Plug-in(s) succesfully loaded
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.4.0>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <SERGEY-PC-2012-02-25-20-43-41> and MACs <1C:BD:B9:DA:19:AD00:1d:C6:07:5C:AB> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL with server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://192.168.1.110:80/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #200>
COM SERVER => Cleaning cURL library
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 32 = AGENT => No task required
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:02.
Что это за ошибка кто знает?
ERROR *** AGENT => Failed to write Prolog Frequency <Error code 32 = AGENT => No task required
При по пытке залить ocsinventory.ocs на сервер через web-интерфейс вылетает ошибка
Ошибка HTTP/1.1 301 Moved Permanently
в логах вебсервера вот что.
192.168.1.101 - - [04/Mar/2012:12:55:02 +0300] "POST /ocsinventory HTTP/1.1" 301 407
192.168.1.101 - - [04/Mar/2012:12:55:02 +0300] "GET /ocsinventory/ HTTP/1.1" 200 1026
это после попытки вручную отправить данные от агента командой C:\Program Files (x86)\OCS Inventory Agent>ocsinventory.exe /SERVER=http://192.168.1.110/ocsinventory /DEBUG