Home > Syntax Error > Syntax Error Xml/parser.pm Line 187

Syntax Error Xml/parser.pm Line 187

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. mod_cgi, V1 Here's the patch to use correct base class from XMLRPC when running under mod_perl. Last modified: Wed Dec 7 03:36:50 2016; Machine Name: buxtehude Debian Bug tracking system Copyright (C) 1999 Darren O. This XML is generated when self-monitoring and agent interval running at the same instant.Regards Logged Print Pages: [1] Go Up « previous next » Pandora FMS » Pandora FMS » Community have a peek here

DNS attribute is properly defined in "Agent interfaces" 2. thesubmitter View Public Profile Send a private message to thesubmitter Find all posts by thesubmitter #4 09-07-2012, 09:04 i.kulagin Member Join Date: Aug 2011 Posts: 35 Emir Imamagic Reply sent to Daniel Leidert : You have taken responsibility. (Sat, 03 Dec 2011 16:51:49 GMT) Full text and rfc822 format available. use XML::DOM; sub process_file { my $infile = shift; my $dom_parser = new XML::DOM::Parser; # create a parser object my $doc = $dom_parser->parsefile( $infile ); # make it parse a file

simple. Hello Guest CommunityDocumentationPandoraFMS.com Home Help Search Login Register Pandora FMS » Pandora FMS » Community support (English) » Unable to process XML file « previous next » Print Pages: [1] Go share|improve this answer answered Mar 25 '11 at 15:53 Roger 13.6k34170 Actually it always displays the error, even when warnings/strict are not set. –a'r Mar 25 '11 at 17:29 The other errors you seem to get also seem to point towards invalid XML.

Working with this module would have saved some heart ache, and a post to stack overflow. The call to getChildNodes( ) gives us several child nodes, either in a generic Perl list (when called in an array context) or another XML::DOM::NodeList object; for variety's sake, we've selected Template uses LLD to discover all:controllers virtual disks volumes Discovery item (HP Entities Discovery) uses {HOST.CONN} to connect to the storage system. DNS can be used to access storage controller and 3.

run ./bz_webservice_demo.pl Actual Results: neutrinus@marvin:~/tmp/bugzilla-3.6.2/contrib$ ./bz_webservice_demo.pl --uri http://10.10.10.110/xmlrpc.cgi Client Application failed during request deserialization: no element found at line 1, column 0, byte -1 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187 in SOAP call We pass this reference along to a routine called add_links( ), which will do all the processing we require. It correctly says, that it cannot find an element. All other marks are property of their respective owners.

Make sure that storage host has these two properly configured. So I guess, this is not longer a problem. Thread Next From: Jon Hermansen Date: September 30, 2010 19:37 Subject: Trap syntax error inside eval? more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

I don't disagree with @David, but XML::Simple works fine for a lot of XML and if you need to you can start twiddling the options and work with even more XML. Kell has asked for the wisdom of the Perl Monks concerning the following question: Hey folks, I am trying to use SOAP with WSDL but it won't work for me. I found there are two pairs of ... generated in a single file. Script (hp-msa.pl) uses XML API and it is based on the example provided in "HP P2000 G3 MSA System CLI Reference Guide".

I could only get the server to take the file if I removed the repeated pair. (If I brought all the modules into the one pair, it worked fine, too.) By navigate here Acknowledgement sent to Nicholas Bamber : Extra info received and forwarded to list. Thanks for your help. scr512 View Public Profile Send a private message to scr512 Find all posts by scr512 #10 18-07-2012, 22:43 Emir Imamagic Member Join Date: Mar 2008 Posts: 64 Quote:

No further changes may be made. Committing to: bzr+ssh://wicked%40sci.fi@bzr.mozilla.org/bugzilla/4.0/ modified Bugzilla/WebService/Server/XMLRPC.pm Committed revision 7618. The St. Check This Out Spotted a difference between an underscore and dash.

Create host with your controller data (you must IP and DNS address) 2. If the server returns invalid data, the problem is not in your client but in the server. Acknowledgement sent to Manuel Schneider : New Bug report received and forwarded.

I hope that you can help me with this.

Emir Imamagic View Public Profile Send a private message to Emir Imamagic Find all posts by Emir Imamagic #8 18-07-2012, 22:17 Emir Imamagic Member Join Date: Mar 2008 Trying the following code: use strict; use warnings; use XML::Simple; my $xml = XMLin( < XML print $xml->{"applications"}{"app-config"}{"server"}{"host"} . "\n"; But, look how easy it is in this case! –harschware Mar 26 '11 at 3:51 I suspect the downvotes are because switching XML module doesn't solve the problem (which I need to monitor the P2000 G3 FC, but I can't understand how can I do it, using this script, and which services should I configure inside of the P2000 equipment

Thank you for parsing XML with an XML parser instead of using a regular expression! –CanSpice Mar 25 '11 at 16:40 add a comment| 4 Answers 4 active oldest votes up Fix it and it works fine. $ perl test.pl boxA share|improve this answer answered Mar 25 '11 at 15:51 a'r 20.8k33855 1 Correct your applications tag as well as close by C.DeRykus Re: Trap syntax error inside eval? this contact form Thanks for your help everyone! ;) –sandster007 Mar 25 '11 at 16:05 1 In the question you have asked, your XML IS wrong and when fixed, your existing XPath is

We get the error from the same agent yes, its actually an agent running on the Pandora server, we use this in conjuction with Self Monitoring. by Jon Hermansen Re: Trap syntax error inside eval? Um Google Groups Discussions nutzen zu k├Ânnen, aktivieren Sie JavaScript in Ihren Browsereinstellungen und aktualisieren Sie dann diese Seite. . I need to monitor the P2000 G3 FC, but I can't understand how can I do it, using this script, and which services should I configure inside of the P2000 equipment

Create A New User Node Status? Either way, glad you're sorted. –Roger Mar 25 '11 at 23:11 add a comment| up vote 0 down vote Use XML:Simple. I do have an IP and DNS name set on the SNMP interface. Leave empty for no password (default).#server_pwd mypassword# Set to yes/no to enable/disable OpenSSL support for Tentacle (disabled by default).#server_ssl no# Extra options for the Tentacle client (for example, server_opts "-v -r

Closing this report. By using the trace ability of SOAP::LITE i discovered that the function were successfully executed because i got ... HELLO SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK ... [download] But after this