LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-02-2012, 05:28 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
linux ha: Illegal directive [pacemaker] in ha.cf


Hi!

I'd like to give linux ha a test. I'm working on VMs running ubuntu server 10.04. I already have both boxes running in sync and can see the status of the nodes and so on with cl_status.

Now, I want to be able to use pacemaker. I have added this line at the end of ha.cf:

Code:
pacemaker respawn
Now, when I try to restart the node (the only one at the moment) where I have made the ha.cf modification, this is what I get when I try to restart heartbeat:

Code:
$ sudo /etc/init.d/heartbeat restart
Stopping High-Availability services: Done.

Waiting to allow resource takeover to complete:Done.

Starting High-Availability services: IPaddr[5170]: INFO:  Resource is stopped
 Heartbeat failure [rc=6]. Failed.

heartbeat: udpport setting must precede media statementsheartbeat[5211]: 2012/10/02_16:57:57 ERROR: Illegal directive [pacemaker] in /etc/ha.d//ha.cf
heartbeat[5211]: 2012/10/02_16:57:57 ERROR: Heartbeat not started: configuration error.
heartbeat[5211]: 2012/10/02_16:57:57 ERROR: Configuration error, heartbeat not started.
What is the right way to do it then? Thanks in advance.
 
Old 10-02-2012, 05:31 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Got it. It's crm respawn in lucid.
 
  


Reply

Tags
heartbeat, lucid, pacemaker, server, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Illegal? isaac_linux General 16 04-06-2004 02:22 PM
Is Linux illegal ? futurist General 53 06-20-2003 04:15 AM


All times are GMT -5. The time now is 11:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration