Error Cannot Parse Xml No Element Found
I just installed a 2-nodes cluster with SLES-11.1-for-VMware and HA-extension CDs. My configuration is plain vanilla. I just specified 'bindnetaddr' and 'mcastaddr' cannot parse xml scanner state 24 not recognized in the conffile and started Corosync (openais). Corosync seems to work : domdocument cannot parse xml corosync [MAIN ] Corosync Cluster Engine ('1.2.1'): started and ready to provide service. corosync [MAIN ] Corosync built-in features: nss corosync [MAIN ] Successfully configured openais services to load corosync [MAIN ] Successfully read main configuration file '/etc/corosync/corosync.conf'. corosync [TOTEM ] Initializing transport (UDP/IP). corosync [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0). corosync [TOTEM ] The network interface [172.29.29.107] is now up. corosync [SERV ] Service engine loaded: openais cluster membership service B.01.01 corosync [SERV ] Service engine loaded: openais event service B.01.01 corosync [SERV ] Service engine loaded: openais checkpoint service B.01.01 corosync [SERV ] Service engine loaded: openais availability management framework B.01.01 corosync [SERV ] Service engine loaded: openais message service B.03.01 corosync [SERV ] Service engine loaded: openais distributed locking service B.03.01 corosync [SERV ] Service engine loaded: openais timer service A.01.01 corosync [SERV ] Service engine loaded: corosync extended virtual synchrony service corosync [SERV ] Service engine loaded: corosync configuration service corosync [SERV ] Service engine loaded: corosync cluster closed process group service v1.01 corosync [SERV ] Service engine loaded: corosync cluster config database access v1.01 corosync [SERV ] Service engine loaded: corosync profile loading service corosync [SERV ] Service engine loaded: corosync cluster quorum service v0.1 corosync [MAIN ] Compatibility mode set to whitetank. Using V1 and V2 of the synchronization engine. corosync [CLM ] CLM CONFIGURATION CHANGE corosync [CLM ] New Configuration: corosync [CLM ] Members Left: corosync [CLM ] Members Joined: corosync [CLM ] CLM CONFIGURATION CHANGE corosync [CLM ] New Configuration: corosync [CLM ] r(0) ip(172.29.29.107) corosync [CLM ] Members Left: corosync [CLM ] Members Joined: corosync [CLM ] r(0) ip(172.29.29.107) corosync [TOTEM ] A processor joined or left the membe
[Pacemaker] corosync init script doesn't invoke cib? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Distro: CentOS corosync-1.4.3-1 pacemaker-1.0.12-1.el5.centos On one node when I starts the corosync, it doesn't invoke cib and attrd: # ps -ef | grep [h]eartbeat root 7821 7815 0 22:59 https://forums.suse.com/archive/index.php/t-986.html ? 00:00:00 /usr/lib64/heartbeat/stonithd root 7823 7815 0 22:59 ? 00:00:00 /usr/lib64/heartbeat/lrmd 103 7825 7815 0 22:59 ? 00:00:00 /usr/lib64/heartbeat/pengine 103 8069 7815 0 23:03 ? 00:00:00 /usr/lib64/heartbeat/crmd and I get the below errors when showing configuration: # crm configure show Signon to CIB http://oss.clusterlabs.org/pipermail/pacemaker/2012-July/014834.html failed: connection failed Init failed, could not perform requested operations ERROR: cannot parse xml: no element found: line 1, column 0 ERROR: No CIB! `/var/log/cluster/corosync.log`: crmd: [8329]: info: crm_timer_popped: Wait Timer (I_NULL) just popped! crmd: [8329]: info: do_cib_control: Could not connect to the CIB service: connection failed crmd: [8329]: WARN: do_cib_control: Couldn't complete CIB registration 5 times... pause and retry (other node with the same versions is working fine) -------------- next part -------------- An HTML attachment was scrubbed... URL:
date ] [ thread ] [ subject ] [ author ] Hi, HI All, http://lists.corosync.org/pipermail/discuss/2011-December/000289.html Hi like to setup a GFS2 file system in our http://stackoverflow.com/questions/23001757/python-elementtree-no-element-found-exception Application it's already using corosync thro corosync.conf. For GFS2 setup I have enabled Resilient Storage while installing the OS. GFS2 clustring is working fine within cluster nodes, services started in the order CMAN-->LVMD --> GFS2 --> RGMANAGER. Now how cannot parse I will do configuration that has been given in corosync.conf .I have been using Ipaddres2 and pgsqlfo services (OCF services) and monitored thro crm_mon . Same issue has been been discussed by Andrew Beekhof in the TOPIC *crm not connecting with cman/corosync instance .* *And it's suggested that once cannot parse xml cman is started, *Use the pacemaker init script to start pacemaker manually. I hav started so, but still getting , >> crm configure show Signon to CIB failed: connection failed Init failed, could not perform requested operations ERROR: cannot parse xml: no element found: line 1, column 0 ERROR: No CIB! So please help me on this issue... missing any configuration? Attached rpm information Thanks in Advance, Ramesh Kumar.G Now help me how cluster.conf file can be used for calling ocf service that we are doing thro corosync.conf. basically no cib.xml has been called while starting corosync thro CMAN. We are using RHEL6 and attached rpms version details. -------------- next part -------------- An HTML attachment was scrubbed... URL:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Python ElementTree “no element found” exception up vote 5 down vote favorite Good day everybody. I'm trying to read, parse and use an xml-file using ElementTree. Following data: