Error Cannot Locate Resource Script Ipaddr
Post #1 of 5 (4866 views) Permalink Cannot locate resource script Below are log examples of a shutdown and startup. I can't figure out where the resource file is an issue... Any Ideas?? I can run datadisk and httpd by hand and no issues are observed. heartbeat: 2003/02/14_14:00:17 info: Heartbeat shutdown in progress. (5778) heartbeat: 2003/02/14_14:00:17 info: Giving up all HA resources. heartbeat: 2003/02/14_14:00:17 info: Releasing resource group: clus1 172.17.230.13 datadisk::drbd0 httpd heartbeat: 2003/02/14_14:00:17 ERROR: Cannot locate resource script heartbeat: 2003/02/14_14:00:17 ERROR: Cannot locate resource script heartbeat: 2003/02/14_14:00:17 info: Running /etc/init.d/httpd stop heartbeat: 2003/02/14_14:15:52 info: Running /etc/ha.d/resource.d/datadisk drbd0 start heartbeat: 2003/02/14_14:15:52 info: Running /etc/init.d/httpd start heartbeat: 2003/02/14_14:15:54 ERROR: Cannot locate resource script heartbeat: 2003/02/14_14:15:54 ERROR: Cannot locate resource script __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com msoffen at iso-ne Feb14,2003,2:42PM Post #2 of 5 (4732 views) Permalink Cannot locate resource script [In reply to] It is trying to find a script called start Matt -----Original Message----- From: Rob [mailto:robs_ha_email [at] yahoo] Sent: Friday, February 14, 2003 4:31 PM To: ha-list Subject: Cannot locate resource script Below are log examples of a shutdown and startup. I can't figure out where the resource file is an issue... Any Ideas?? I can run datadisk and httpd by hand and no issues are observed. heartbeat: 2003/02/14_14:00:17 info: Heartbeat shutdown in progress. (5778) heartbeat: 2003/02/14_14:00:17 info: Giving up all HA resources. heartbeat: 2003/02/14_14:00:1
sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi Everyone, For some reason, when heartbeat is started, it logs an error over and over and over in the logs about failing to find the resource http://www.gossamer-threads.com/lists/linuxha/users/6759 script lava2042 (lava2042 is the hostname of the machine). Here's the error I'm seeing: May 2 16:31:54 lava2042 ResourceManager[10454]: [10640]: ERROR: Cannot locate resource script lava2042 May 2 16:31:54 lava2042 ResourceManager[10454]: [10641]: ERROR: Cannot locate resource http://lists.linux-ha.org/pipermail/linux-ha/2007-May/025053.html script lava2042 May 2 16:31:55 lava2042 ResourceManager[10454]: [10644]: info: Retrying failed stop operation [lava2042] and here is my /etc/ha.d/haresources: lava2042 10.5.140.42 DxnasDb lava2042 10.5.140.42 DxnasServer and my ha.cf file: bcast eth1 keepalive 2 warntime 10 deadtime 30 initdead 120 udpport 694 auto_failback on node lava2042 node lava2138 Why is it looking for a script named after the hostname? It should be looking after the DxnasDb and DxnasServer scripts. - Lee Hinman Previous message: [Linux-HA] DRAC4 Stonith Plugin Next message: [Linux-HA] Cannot locate resource script
] [ thread ] [ subject ] [ author ] On Wed, Sep 24, 2008 at 3:51 PM, Jürgen Scholz
> > i have got a problem with heartbet on a Suse Linux Enterprise Server > 9. > (heartbeat installed by latest SuSe rpm file) i.e. heartbeat-1.2.2-0.6, works fine 4 me > > Heartbeat starts normal and the ip change of my 2 nodes runs normal. > But the init Scripts for my services, e.g. apache, don`t run. > > There is always the following Message in the heartbeat log: > > heartbeat: 2004/11/05_10:54:00 ERROR: Cannot locate resource script > apache > > The original apache script rom heartbeat is in the resource directory > of hearbet and has the correct rights. > (-rwxr-xr-x 1 root root 8301 Oct 27 2003 apache) > > The other scripts in the resource directory don`t run work with > heartbeat, too. > And my own scripts don`t work, too. > > Does somebody know, how i can solve this problem? You might check whether the corresponding variables in /etc/ha.d/shellfuncs are set correctly: : ${HA_DIR=/etc/ha.d} : ${HA_RESOURCEDIR=$HA_DIR/resource.d} and your collegue didn't comment out in /etc/init.d/heartbeat: . $HA_DIR/shellfuncs If the virtual IP allready works, does IPaddr2::