Re: new cluster setup error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got it.  didn't have the correct perms on /tmp


On Wed, Jul 1, 2015 at 8:35 AM, Megan . <nagemnna@xxxxxxxxx> wrote:
I started ricci in debug mode and I get the below error.  Any idea where its trying to open a temp file?  as far as i can see everything in /var/lib/ricci is good

[root@admin1-dit init.d]# ricci -u ricci -df

failed to load authorized CAs

failed to load authorized CAs

client added

ClientInstance.cpp:145: exception: unable to open temp file

request completed in 8 milliseconds

client removed



On Wed, Jul 1, 2015 at 6:53 AM, Megan . <nagemnna@xxxxxxxxx> wrote:
Thanks for your help.  I shutdown iptables, turned down selinux for now, ricci is up, modclusterd is up.  Still get the same error as before.  Right now i do not have a cluster.conf but if i put one that i generate manually there i still get the same error.  

[root@admin1-dit ~]# getenforce 

Permissive

[root@admin1-dit ~]# service iptables status

iptables: Firewall is not running.

[root@admin1-dit ~]# pstree -paul | grep ricci

  |-ricci,6779,ricci -u ricci

  |           |-grep,6853 ricci

[root@admin1-dit ~]# pstree -paul | grep mod

  |-modclusterd,6815

  |   |-{modclusterd},6816

  |   `-{modclusterd},6817

  |           |-grep,6855 mod

[root@admin1-dit ~]# 


On Tue, Jun 30, 2015 at 10:55 PM, Digimer <lists@xxxxxxxxxx> wrote:
On 30/06/15 10:51 PM, Megan . wrote:
> Good Evening!
>
> Anyone seen this before?  I just setup these boxes and i'm trying to
> create a new cluster.  I set the ricci password on all of the nodes,
> started ricci.  I try to create cluster and i get the below.
>
> Thanks!
>
>
> Centos 6.6
>  2.6.32-504.23.4.el6.x86_64
>
> ccs-0.16.2-75.el6_6.2.x86_64
> ricci-0.16.2-75.el6_6.1.x86_64
> cman-3.0.12.1-68.el6.x86_64
>
> [root@admin1-dit cluster]# ccs --createcluster test
>
> Traceback (most recent call last):
>   File "/usr/sbin/ccs", line 2450, in <module>
>     main(sys.argv[1:])
>   File "/usr/sbin/ccs", line 286, in main
>     if (createcluster): create_cluster(clustername)
>   File "/usr/sbin/ccs", line 939, in create_cluster
>     elif get_cluster_conf_xml() != f.read():
>   File "/usr/sbin/ccs", line 884, in get_cluster_conf_xml
>     xml = send_ricci_command("cluster", "get_cluster.conf")
>   File "/usr/sbin/ccs", line 2340, in send_ricci_command
>     dom = minidom.parseString(res[1].replace('\t',''))
>   File "/usr/lib64/python2.6/xml/dom/minidom.py", line 1928, in parseString
>     return expatbuilder.parseString(string)
>   File "/usr/lib64/python2.6/xml/dom/expatbuilder.py", line 940, in
> parseString
>     return builder.parseString(string)
>   File "/usr/lib64/python2.6/xml/dom/expatbuilder.py", line 223, in
> parseString
>     parser.Parse(string, True)
> xml.parsers.expat.ExpatError: no element found: line 1, column 0

Are the ricci and modclusterd daemons running? Does your firewall allow
TCP ports 11111 and 16851 between nodes? Does the file
/etc/cluster/cluster.conf exist and, if so, does 'ls -lahZ' show:

-rw-r-----. root root system_u:object_r:cluster_conf_t:s0
/etc/cluster/cluster.conf

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux