Error Reading Ccsinfo Cannot Start
com> To: linux-cluster redhat com Subject: Re: [Linux-cluster] Reg: not able to start CMAN service / "Can't find local node name in cluster.conf " Date: Fri, 20 Feb 2009 11:48:18 +0000 viral ahire wrote: > Hi, > I want to configure 2 node clustering in RHEL-5. but after all > configuraton done (through system-config-cluster) ,when i am trying to > start cman service it give me a following error. > > *Starting cluster: * > *Loading modules... done* > *Mounting configfs... done* > *Starting ccsd... done* > *Starting cman... failed* > *cman not started: Can't find local node name in cluster.conf > /usr/sbin/cman_tool: aisexec daemon didn't start* > > /var/log/messeages are as follow. > > *Feb 20 16:55:49 demo4 ccsd[3261]: Unable to connect to cluster > infrastructure after 9990 seconds. * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] AIS Executive Service > RELEASE 'subrev 1358 version 0.80.3' * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] Copyright (C) 2002-2006 > MontaVista Software, Inc and contributors. * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] Copyright (C) 2006 Red > Hat, Inc. * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] AIS Executive Service: > started and ready to provide service. * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] local node name "demo4" > not found in cluster.conf * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] Error reading CCS info, > cannot start * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] * > *Feb 20 16:56:18 demo4 openais[23496]: [MAIN ] AIS Executive exiting (-9). * > *Feb 20 16:56:19 demo4 ccsd[3261]: Unable to connect to cluster > infrastructure after 10020 seconds. * > *Feb 20 16:56:49 demo4 ccsd[3261]: Unable to connect to cluster > infrastructure after 10050 seconds. * > > please help me to resolve this problem.......... > Check that the host name of your node matches that in cluster.conf. It's important that the node name can be resolved (eg try the host command on it) and that the IP address it resolves to is assigned to an interface on the system. Chrissie References: [Linux-cluster] Reg: not able to start CMAN service / "Can't find local node name in cluster.conf " From: viral ahire [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]
com> Subject: Re: [Linux-cluster] GFS on CentOS - cman unable to start Date: Sat, 7 Jan 2012 08:22:12 +0000 (GMT) Hi Wes Please excuse my poor english - it's not my mother language I'm writing in. ----- Ursprüngliche Message ----- > Howdy, y'all. I'm trying to set up GFS in a cluster on CentOS systems > running on vmWare. The GFS FS is on a Dell Equilogic SAN. > > I keep running into the same problem despite many differently-flavored > attempts to set up GFS. The problem comes when I try to start cman, the > https://www.redhat.com/archives/linux-cluster/2009-February/msg00175.html cluster management software. > > [root test01]# service cman start > Starting cluster: > Loading modules... done > Mounting configfs... done > Starting ccsd... done > Starting cman... failed > cman not started: Can't find local node name in cluster.conf > /usr/sbin/cman_tool: aisexec daemon didn't start > https://www.redhat.com/archives/linux-cluster/2012-January/msg00029.html [FAILED] I don't think that the cluster is your main-problem. The nodename must "not" present in DNS, but it must be resolvable by files, ldap whatever. Please verify that "files" is present at /etc/nsswitch.conf. e.g: hosts: files dns Did you've check with "ip addr list" that the ip-address matches the same as in /etc/hosts? > > [root test01]# tail /var/log/messages > Jan 5 13:39:40 testbench06 ccsd[13194]: Unable to connect to > cluster infrastructure after 1193640 seconds. > Jan 5 13:40:10 testbench06 ccsd[13194]: Unable to connect to > cluster infrastructure after 1193670 seconds. > Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] AIS Executive > Service RELEASE 'subrev 1887 version 0.80.6' > Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Copyright (C) > 2002-2006 MontaVista Software, Inc and contributors. > Jan 5 13:40:24 testbench06 openais[3939]: [MAIN ] Copyright (C) > 2006 Red Hat, Inc. > Jan 5 13:40:24 testbench06 openais[3939]: [MAIN
DS1307 driver Goto page 1, 2, 3Next CCS Forum Index -> Code Library View previous topic :: View next topic Author Message PhilJoined: 09 Sep 2003Posts: 12 Another DS1307 driver Posted: Wed Jun 15, 2005 8:48 am I've found some Ds1307 code from Tullos and changed it to work easier for my application. It's a https://www.ccsinfo.com/forum/viewtopic.php?t=23255 very basic driver just for setting and reading the date & time. Tested on PIC 18F452 with hardware I2C, hope some people will find it usefull. Code: //////////////////////////////////////////////////////////////////////////////// /// DS1307.C https://www.experts-exchange.com/questions/24732583/Unalbe-to-create-node-in-Redhat-clustering.html /// /// Driver for Real Time Clock /// /// error reading /// /// ds1307_init() - Enable oscillator without clearing the seconds register -/// /// used when PIC loses power and DS1307 run from 3V BAT /// /// - Disable squarewave output /// /// error reading ccsinfo /// /// ds1307_set_date_time(day,mth,year,dow,hour,min,sec) Set the date/time /// /// /// /// ds1307_get_date(day,mth,year,dow) Get the date /// /// /// /// ds1307_get_time(hr,min,sec) Get the time /// /// /// //////////////////////////////////////////////////////////////////////////////// #define RTC_SDA PIN_C4 #define RTC_SCL PIN_C3 #use i2c(master, sda=RTC_SDA, scl=RTC_SCL) BYTE bin2bcd(BYTE binary_value); BYTE bcd2bin(BYTE bcd_value); void ds1307_init(void) { BYTE seconds = 0; i2c_start(); i2c_write(0xD0); // WR to RTC i2c_write(0x00); // REG 0 i2c_start(); i2c_write(0xD1); // RD from RTC seconds = bcd2bin(i2c_read(0)); // Read current "seconds" in DS1307 i2c_stop(); seconds &= 0x7F; delay_us(3); i2c_start(); i2c_write(0xD0); // WR to RTC i2c_write(0x00); // REG 0 i2c_write(bin2bcd(seconds)); // Start oscillator with current "seconds value i2c_start(); i2c_write(0xD0); // WR to RTC i2c_write(0x07); // Control Register i2c_write(0x80); // Disable squarewave output pin i2c
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Unalbe to create node in Redhat clustering Want to Advertise Here? Solved Unalbe to create node in Redhat clustering Posted on 2009-09-15 Linux Distributions Unix OS Linux 3 Verified Solutions 11 Comments 1,549 Views Last Modified: 2013-11-08 Hi, I am trying to create a node from luci server. its actually placing cluster.conf file in the node call node2.domain.local but problem is , in cluster.conf file its missing the node name. hence , i am seeing error in /var/log/messages like this Sep 15 13:33:05 node2 ccsd[5332]: Starting ccsd 2.0.98: Sep 15 13:33:05 node2 ccsd[5332]: Built: Aug 17 2009 15:01:41 Sep 15 13:33:05 node2 ccsd[5332]: Copyright (C) Red Hat, Inc. 2004 All rights reserved. Sep 15 13:33:05 node2 ccsd[5332]: cluster.conf (cluster name = test-cluster, version = 1) found. Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive Service RELEASE 'subrev 1358 version 0.80.3' Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors. Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Copyright (C) 2006 Red Hat, Inc. Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive Service: started and ready to provide service. Sep 15 13:33:07 node2 openais[5338]: [MAIN ] local node name "node2.xxx.local" not found in cluster.conf Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Error reading CCS info, cannot start Sep 15 13:33:07 node2 openais[5338]: [MAIN ] Error reading config from CCS Sep 15 13:33:07 node2 openais[5338]: [MAIN ] AIS Executive exiting (reason: could not read the main configuration file). Sep 15 13:33:08 node2 openais[5364]: [MAIN ] AIS Executive Service RELEASE 'subrev 1358 vers