Pandora FMS Community

Parse error in Babel server

Raul77 · 29 feb 2008, 19:49 · 6 mensajes · 69 visitas

  1. Inicio del debate

    Hi Im trying to deploy the babel server 1.1 I started the server with the command /usr/local/bin/babel/babelserver -c /usr/local/etc/babel/babel_server.conf & so i have received all messages from the aplication at the console The error appeared when the client put its data into the server. when the server is procesing that information i have a lot of lines of this error: /var/spool/babel/data_in/pcs07.19199.data:1705: parser error : Premature end of data in tag data line 1705 2005 ^ /var/spool/babel/data_in/pcs07.19199.data:1705: parser error : Premature end of data in tag moduledata line 1703 2005 ^ I have searched into the documentation and i havent found nothing whitch can explain the error. I would appreciate any help in order to relsolve the problem

  2. Hi Raul, I'm glad you're testing Babel as well :-) Try to set up the agent in debug mode in the babel_agent.conf (debug 1) this means the agent will run normally but it won't copy the XML to data_in/ it will leave it in data_out so we can analyze it deeper. Once you have it, can you paste it here? Another thing you might want to try is to open that XML with a Firefox and check out where the XML is badly parsed. Manuel.

  3. Hi I ve done the debug and i can se the result into a web browser without any problem. Ive tried to stop the babel_server and see the data inserted into de "data_in" directory. These file is truncated at the 2200 line as: Actualización de seguridad para Windows XP (KB933566) 1 Instal As you can see the final of the document is Incompleted. I think i should tell you that im using the ssh tranfer mode instead of the ftp. On one hand at the client side the file is completed, but at the oder hand when the file is put into the server directory it seems as if the document is incompleted. Another factor that i think i should tell you is that the language of the client is spanish, so when i read the xml file generated in the debug i see "accents" Thank you for your help

  4. If it's possible use FTP instead of SSH as there're some problems detected with the libssh for windows that make the agent to be screwed up. What if you copy the complete file (which remains in your client box) manually to the server? Does it get processed smoothly?

  5. I ve tried with the ftp transfer mode and all works great. As you have told it seems that there is a problem with the client ssh used at the transfer. Great job you've done with Babel and Pandora and thank for all.

  6. You're welcome. We're working already in the new protocol, tentacle, for either pandora and babel, that might help everybody to get rid of the common problems with ssh and ftp, since tentacle is much simplier.

Entra en tu cuenta para publicar.