Error Cannot Open Key File /etc/ha.d/authkeys . Stop
Post #1 of 3 (776 views) Permalink heartbeat: ERROR: Cannot open keyfile Well... I have now given up on Debian, and I'm trying to install on = Redhat, but now I get this error each time I start heartbeat: heartbeat: ERROR: Cannot open keyfile [/etc/ha.d/authkeys]. Stop. What have I done wrong now, and what can I do? I installed all rpm's from here: http://www.ultramonkey.org/download/heartbeat/1.0.2/redhat_8.0/ Med venlig hilsen/Best regards S=F8ren Neigaard System Architect ................................ Mobilethink A/S Arosgaarden =C5boulevarden 23, 4.sal DK - 8000 =C5rhus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 Email: s.neigaard [at] mobilethink Web: www.mobilethink.dk ................................ daohara1 at email Apr29,2003,2:26AM Post #2 of 3 (764 views) Permalink heartbeat: ERROR: Cannot open keyfile [In reply to] S=F8ren, Have you read the docs for this tool ? Try=20 http://www.ultramonkey.org/2.0.1/topologies/ha-eg.html Damian S=F8ren Neigaard wrote: > Well... I have now given up on Debian, and I'm trying to install on Red= hat, > but now I get this error each time I start heartbeat: >=20 > heartbeat: ERROR: Cannot open keyfile [/etc/ha.d/authkeys]. Stop. >=20 > What have I done wrong now, and what can I do? >=20 > I installed all rpm's from here: >=20 > http://www.ultramonkey.org/download/heartbeat/1.0.2/redhat_8.0/ >=20 p_negri at modiano Apr29,2003,2:31AM Post #3 of 3 (763 views) Permalink heartbeat: ERROR: Cannot open keyfile [In reply to] Is the file /etc/ha.d/authkeys really existent? (i.e. in the suse rpm you must copy config files from the docs) Does the file have right permission? (0600 suggested) bye -- blank: Caught deadly signal TERM blank: Finished. Søren Neigaard wrote: >Well... I have now given up on Debian, and I'm trying to install on Redhat, >but now I get this error each time I start heartbeat: > >heartbeat: ERROR: Cannot open keyfile [/etc/ha.d/authkeys]. Stop. >
Maurice Volaski wrote: > > Here's the error message I told you about when I saw you at > LinuxWorld..I thought it disappeared, but it just came back. > > I had the serial http://www.gossamer-threads.com/lists/linuxha/users/7672 cable disconnected when I ran this... > > Feb 17 21:08:01 thewarehouse2 heartbeat: ERROR: Configuration error, > heartbeat not started. > Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Cannot open keyfile > [/etc/ha.d/authkeys]. Stop. > Feb http://marc.info/?l=linux-ha-dev&m=101429780411627&w=2 17 21:12:48 thewarehouse2 heartbeat: ERROR: Authentication > configuration error. > Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Configuration error, > heartbeat not started. Hi, What were the circumstances surrounding this? Could you provide the log entries before it too? It only does this when you've asked to start or restart. If you try and start it as non-root then this will happen. Once it's started, even restarts shouldn't make this happen. -- Alan Robertson alanr@unix.sh _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/ [prev in list] [next in list] [prev in thread] [next in thread] Configure | About | News | Addalist | SponsoredbyKoreLogic
it disappeared, but it just came back.I had the http://linux-ha-dev.linux-ha.narkive.com/joADW5mR/the-auth-keys-files-can-t-be-opened serial cable disconnected when I ran this...Feb 17 21:08:01 thewarehouse2 heartbeat: ERROR: Configuration error,heartbeat not started.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: http://www.snrg.cs.hku.hk/srg/html/cprobe/ha/GettingStarted.html Cannot open keyfile[/etc/ha.d/authkeys]. Stop.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Authenticationconfiguration error.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Configuration error,heartbeat not started.--Maurice error cannot Volaski, ***@aecom.yu.eduComputing Support, Rose F. Kennedy CenterAlbert Einstein College of Medicine of Yeshiva University Alan Robertson 2002-02-21 13:22:32 UTC PermalinkRaw Message Post by Maurice VolaskiHere's the error message I told you about when I saw you atLinuxWorld..I thought it disappeared, but error cannot open it just came back.I had the serial cable disconnected when I ran this...Feb 17 21:08:01 thewarehouse2 heartbeat: ERROR: Configuration error,heartbeat not started.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Cannot open keyfile[/etc/ha.d/authkeys]. Stop.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Authenticationconfiguration error.Feb 17 21:12:48 thewarehouse2 heartbeat: ERROR: Configuration error,heartbeat not started.Hi,What were the circumstances surrounding this? Could you provide the logentries before it too?It only does this when you've asked to start or restart. If you try andstart it as non-root then this will happen. Once it's started, evenrestarts shouldn't make this happen.-- Alan Robertson***@unix.sh 1 Reply 2 Views Switch to linear view Disable enhanced parsing Permalink to this page Thread Navigation Maurice Volaski 2002-02-18 02:28:51 UTC Alan Robertson 2002-02-21 13:22:32 UTC about - legalese Loading...
things done. The "work" I am contributing is mostly compiling bits and pieces from other HA documents (such as Volker Wiegand's Hardware Installation Guide) into a document that can help novices get started on HA without pestering Alan (like I did!) and to cut down on repeat questions on the mailing list. Getting Started The first thing you'll need is two computers. You need not have identical hardware in both machines (or amount of memory, etc.), but if you did, it would make your life that much easier when a component fails. Now you have to decide on some of your implementation. Your "cluster" is established via a "heartbeat" between the two computers (nodes) generated by the software package of the same name. However, this heartbeat needs one or more media paths between the nodes. At this point, you're actually ready to begin hardware-wise. Of course, since you're looking into HA, you'll mostly likely want to avoid having only one point of failure. In this case, that would be your null modem cable or serial port. So, you need to decide whether you wish to add a second serial/null modem connection or a second network interface card (NIC) to each node connected via a crossover cable. See Appendix A for instructions on how to build a crossover cable. My setup goes the 2 NIC route because I only had one null modem cable, had plenty of NICs on hand and thought it was good to have two medium types for the heartbeats. Once your hardware is in order, you must install your OS and configure your networking (I used Red Hat). Assuming you have 2 NICs, one should be configured for your "normal" network and the other as a private network between your clustered nodes (via the crossover cable). For an example, we will assume that our cluster will have the following addresses: Node 1 (linuxha1): 192.168.85.1 (normal 192x net) 10.0.0.1 (private 10x net) Node 2 (linuxha2): 192.168.85.2 (192x) 10.0.0.2 (10x) Note: Neither of these addresses should be your "cluster address" - the address handled by heartbeat and failed over between nodes! Red Hat makes this easy during installation (please don't think I'm carrying the