Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.9.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

XML has not well formed (invalid token)

I installed OCSinventory agent (2.6.0) onto a CentOS7 machine. It's reporting to an OCS inventory server, version 2.7.0. It fails with this error in the agent logfile:-

"[error] Cannot establish communication : 500 Internal Server Error"

The server has this error in the httpd error file:-

"not well-formed (invalid token) at line 931, column 18"

So, I did a debug run of the OCS agent, and the data around line 931 in the agent's XML file is:-

      <CAPTION>KVM^@G5610 1920x1440</CAPTION>
      <MANUFACTURER>Unknown manufacturer code GVV</MANUFACTURER>
I believe the error is because of the ^@ character in the <CAPTION> line. Any ideas how to fix this?

Thank you, Symon
in OCS Inventory NG agent for Unix by (120 points)

1 Answer

0 votes

Open an issue at https://github.com/OCSInventory-NG/UnixAgent/issues/new/choose

Post content of apache error_log file.


by (87.2k points)
Powered by Question2Answer