I think to have repaired the problem, le problem was the pass in ocsinventory-server.conf file ...
other problem, after the agent contact, I have in apache2 error.log, otherthing
DBD::mysql::db
do failed: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER' at
/usr/share/perl5/Apache/Ocsinventory/Server/System.pm line 193. DBD::mysql::st execute failed: You have an error
in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
near 'groups
g LEFT OUTER JOIN locks l
ON l.HARDWARE_ID=g.HARDWARE_ID
WHE' at line 2 at /usr/share/perl5/Apache/Ocsinventory/Server/Groups.pm line 72.
DBD::mysql::db do failed: Out of range value for column 'QUALITY' at row 1 at /usr/share/perl5/Apache/Ocsinventory/Serv>
[Thu Apr 29 14:38:48] [mpm_prefork:notice] [pid 2542] AH00169: caught SIGTERM, shutting down
xml seems ok but not send :
XML Update Storage Peripherals: OK (1 objects).
XML Update System Controllers...
XML Update System Controllers: OK (5 objects).
XML Update System Slots...
XML Update System Slots: OK (7 objects).
XML Update Video Adapters...
XML Update Video Adapters: OK (1 objects).
XML Update Device properties: OK.
WMI Disconnect: Disconnected from WMI namespace.
HTTP SERVER: Creating CInternetSession to send inventory results...OK.
HTTP SERVER: Getting HTTP Connection to server ip port 80 using no authentication...OK
HTTP SERVER: INV : SEND received, sending inventory...ERROR: HTTP status code 500
OK.
HTTP SERVER: INV : ERROR : No server answer concerning the account update