Error Cannot Locate Resource Script Ip Addr
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:0
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
Administrators Archives Installation and Configuration Archives High Availability problems Zarafa is hiring!We are looking for new team members at Zarafa! Are you (or do you know) a C++ expert, a JavaScript https://forums.zarafa.com/showthread.php?3010-High-Availability-problems specialist or a testing guru? Check out our careers page to learn more http://lists.linbit.com/pipermail/drbd-user/2008-September/010414.html and apply. Results 1 to 4 of 4 Thread: High Availability problems Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 25-09-2009,10:12 AM #1 Ewout View Profile View Forum Posts Private Message Junior error cannot Member Join Date Sep 2009 Posts 3 High Availability problems Hello, I followed the manual http://download.zarafa.com/zarafa/relea ... per.en.pdf located on your site. Mysql replication works fine, thats not the problem, but when node1 is shutdown, node 2 doesn't take over the ipadres of node1. Also i cannot logon to webaccess on node2. Probably the sam problem. Some xtra information ha.cf file: debugfile /var/log/ha-debug logfile /var/log/ha-log error cannot locate logfacility local0 keepalive 10 deadtime 60 initdead 90 udpport 694 bcast eth1 auto_failback no node zarafa1.*.local node zarafa2.*.local authkeys: auth 2 2 sha1 ****** haresources: zarafa1.*.local 10.1.1.1 failover (ip is private ip of node1) failover Code: #! /bin/sh export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" case "$1" in start) ifconfig eth0:1 192.168.3.30 netmask 255.255.255.0 (IP is public ip node1) /etc/init.d/zarafa-gateway start /etc/init.d/zarafa-ical start /etc/init.d/zarafa-monitor start /etc/init.d/zarafa-server start /etc/init.d/zarafa-spooler start ;; stop) /etc/init.d/networking restart /etc/init.d/zarafa-gateway stop /etc/init.d/zarafa-ical stop /etc/init.d/zarafa-monitor stop /etc/init.d/zarafa-server stop /etc/init.d/zarafa-spooler stop ;; restart) $0 stop $0 start echo "." ;; *) echo "Usage: /etc/init.d/failover {start|stop|restart}" exit 1 esac exit 0 Ha-log gives these errors ResourceManager[7247]: 2009/09/25_11:10:59 ERROR: Cannot locate resource script failover ResourceManager[7247]: 2009/09/25_11:10:59 ERROR: Cannot locate resource script failover I think i found the error, probably the location of my failover file. Can anyone tell me where it should be located? 25-09-2009,10:45 AM #2 Ewout View Profile View Forum Posts Private Message Junior Member Join Date Sep 2009 Posts 3 Re: High Availability problems I think i found the solution, the file was in the right place in /etc/init.d/ however the permissions on the file were wrong. 25-09-2009,12:47 PM #3 Ewout View Profile View F
] [ thread ] [ subject ] [ author ] On Wed, Sep 24, 2008 at 3:51 PM, Jürgen Scholz