• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unexpected content
#1
Hi,

I'm new with fusioninventory and I got this error message while running fusionivnetory-agent :

Using Compress::Zlib for compression
unexpected content, starting with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
No answer from the server at perl/agent/FusionInventory/Agent.pm line 248.

I've been searching the web for a way to solve this but I'm lost.....

Currently I have:

PHP 5.4.4 (cli) (built: Jun 13 2012 21:27:06)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright © 1998-2012 Zend Technologies

Server version: Apache/2.4.2 (Win32)
Server built: May 13 2012 14:10:15

mysql Ver 14.14 Distrib 5.5.25a,

I hope you can help me with this....
  Reply
#2
The GLPi version is GLPI 0.84.5 Copyright © 2003-2014 by the INDEPNET Development Team..
  Reply
#3
show your client config
do you use ssl or plain http?

I guess in config you put link to http://glpiserver.local instead of http://glpiserver.local/plugins/fusioninventory
  Reply
#4
Hi pszafer plain....here's the agent config file content.
server = http : //bi.solucionesglobalessa.com:9000/glpi/solg_glpi/plugins/fusioninventory/
local = /tmp
delaytime = 3600
wait =
lazy = 0
scan-homedirs = 0
html = 0
backend-collect-timeout = 180
force = 0
tag = ADM-PRT-00004-fusion
additional-content =
no-p2p = 0
proxy =
user =
password =
ca-cert-dir =
ca-cert-file =
no-ssl-check = 1
timeout = 180
no-ht tpd = 0
ht tpd-ip =
ht tpd-port = 62354
ht tpd-trust =
logger = Stderr
logfile = /var/log/fusioninventory.log
logfacility = LOG_USER
color = 0
daemon = 0
no-fork = 0
debug = 0
All other lines are commented, sorry for the blank spaces, I had to put them otherwise I can't save the entry in this post
  Reply
#5
Hi,

Last night I spent a few hours trying to figure out what was wrong.
The apache server has a rewrite rule who redirects all requests to https when there's no SSL active connection, I changed the server url in the agent.cfg and that's it. It's working fine, thanks God.

Thank you.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)