Mac Agent 1.1 pkg error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
In Progress
|
Medium
|
mortheres |
Bug Description
I installed the Mac Agent (http://
# sudo /Applications/
could not find ParserDetails.ini in /Applications/
#
--- /var/log/ocsng.log ---
[Fri Apr 22 13:59:04 2011][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 1.1
[Fri Apr 22 13:59:04 2011][debug] Log system initialised (File)
[Fri Apr 22 13:59:04 2011][info] You should run this program as super-user.
[Fri Apr 22 13:59:04 2011][debug] --scan-homedirs missing. Don't scan user directories
[Fri Apr 22 13:59:04 2011][debug] Accountinfo file: /var/lib/
[Fri Apr 22 13:59:04 2011][debug] Turns CompatibilityLayer on for /etc/ocsinvento
[Fri Apr 22 13:59:04 2011][debug] Time to call Proc::Daemon
[Fri Apr 22 13:59:04 2011][debug] Daemon started
[Fri Apr 22 13:59:04 2011][debug] Proc::PID::File avalaible, checking for pid file
[Fri Apr 22 13:59:04 2011][debug] OCS Agent initialised
[Fri Apr 22 13:59:04 2011][info] Going to sleep for 29 second(s)
[Fri Apr 22 13:59:33 2011][debug] Calling handlers : `start_handler'
[Fri Apr 22 13:59:33 2011][debug] Compress::Zlib is not avalaible! The data will be compressed with
gzip instead but won't be accepted by server prior 1.02
[Fri Apr 22 13:59:33 2011][debug] sending XML
[Fri Apr 22 13:59:33 2011][debug] Calling handlers : `prolog_writers'
[Fri Apr 22 13:59:33 2011][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>
<QUERY>
</REQUEST>
[Fri Apr 22 13:59:33 2011][error] Cannot establish communication : 500 Can't connect to xxx.xxx.xxx:443 (Invalid argument)
[Fri Apr 22 13:59:33 2011][info] Don't send the inventory
[Fri Apr 22 13:59:33 2011][debug] Calling handlers : `end_handler'
[Fri Apr 22 13:59:33 2011][info] Going to sleep for 3 second(s)
[Fri Apr 22 13:59:36 2011][debug] Calling handlers : `start_handler'
[Fri Apr 22 13:59:36 2011][debug] Compress::Zlib is avalaible.
[Fri Apr 22 13:59:36 2011][debug] sending XML
[Fri Apr 22 13:59:36 2011][debug] Calling handlers : `prolog_writers'
[Fri Apr 22 13:59:36 2011][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>
<QUERY>
</REQUEST>
[Fri Apr 22 14:07:07 2011][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 1.1
[Fri Apr 22 14:07:07 2011][debug] Log system initialised (File)
[Fri Apr 22 14:07:07 2011][debug] --scan-homedirs missing. Don't scan user directories
[Fri Apr 22 14:07:07 2011][debug] Accountinfo file: /var/lib/
[Fri Apr 22 14:07:07 2011][debug] Turns CompatibilityLayer on for /etc/ocsinvento
[Fri Apr 22 14:07:07 2011][debug] Time to call Proc::Daemon
[Fri Apr 22 14:07:07 2011][debug] Daemon started
[Fri Apr 22 14:07:07 2011][debug] Proc::PID::File avalaible, checking for pid file
[Fri Apr 22 14:07:07 2011][debug] OCS Agent initialised
[Fri Apr 22 14:07:07 2011][info] Going to sleep for 15 second(s)
[Fri Apr 22 14:07:22 2011][debug] Calling handlers : `start_handler'
[Fri Apr 22 14:07:22 2011][debug] Compress::Zlib is not avalaible! The data will be compressed with
gzip instead but won't be accepted by server prior 1.02
[Fri Apr 22 14:07:22 2011][debug] sending XML
[Fri Apr 22 14:07:22 2011][debug] Calling handlers : `prolog_writers'
[Fri Apr 22 14:07:22 2011][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>
<QUERY>
</REQUEST>
[Fri Apr 22 14:07:22 2011][error] Cannot establish communication : 500 Can't connect to xxx.xxx.xxx:443 (Invalid argument)
[Fri Apr 22 14:07:22 2011][info] Don't send the inventory
[Fri Apr 22 14:07:22 2011][debug] Calling handlers : `end_handler'
[Fri Apr 22 14:07:22 2011][info] Going to sleep for 14 second(s)
[Fri Apr 22 14:07:36 2011][debug] Calling handlers : `start_handler'
[Fri Apr 22 14:07:36 2011][debug] Compress::Zlib is avalaible.
[Fri Apr 22 14:07:36 2011][debug] sending XML
[Fri Apr 22 14:07:36 2011][debug] Calling handlers : `prolog_writers'
[Fri Apr 22 14:07:36 2011][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>
<QUERY>
</REQUEST>
--- CUT ---
--- /etc/ocsinvento
server=https:/
noproxy=1
ssl=1
authrequired=1
user=agent
password=xxx
cabundle=cacert.pem
logger = File
logfile=
delaytime=30
debug=2
--- CUT ---
--- /etc/ocsinvento
# this list of module will be load by the at run time
# to check its syntax do:
# $perl modules.conf
# You must have NO error. Else the content will be ignored
# This mechanism goal it to keep compatibility with 'plugin'
# created for the previous linux_agent.
# The new unified_agent have its own extension system that allow
# user to add new information easily.
# use Ocsinventory:
# DO NO REMOVE the 1;
1;
--- CUT ---
#uname -a
Darwin Giovanni.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-
Tnx you in advance for support
Changed in ocsinventory-unix-agent: | |
assignee: | nobody → mortheres (mortheres) |
Changed in ocsinventory-unix-agent: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Hi,
Several options you set in your ocsinventory- agent.cfg seems to be directly get from the OCS Windows agent configuration file. However, OCS Unix Agent and OCS Windows agent don't use the same configuration options.
To test if your agent works, can you try to desactivate SSL and use simple configuration. This is an example of a simple configuration to put in ocsinventory- agent.cfg:
basevardir= /var/lib/ ocsinventory- agent ocs.xxx. xxx/ocsinventor y /var/log/ ocsng.log
server=http://
logfile=
Kind regards,
Guillaume