Error Cannot Locate Resource Script
Contents |
sorted by: [ date ] heartbeat error cannot locate resource script ipaddr [ thread ] [ subject ] [ cannot locate resource app xaml author ] Hi Everyone, For some reason, when heartbeat is started, wpf cannot locate resource it logs an error over and over and over in the logs about failing to find the resource wpf cannot locate resource image 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
Startupuri Cannot Locate Resource
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
jeichande, Oct 23, 2007. jeichande New Member Alo, i´m using your tutorial to setup apache cluster in vmware. I have the same configuration. But when i test de load balancers using the command "ip addr sh eth0" it doesnt show the virtual ip adress 192.168.0.105. this is the output: loadb1 2: eth0:
HA complains that it cant locate the resource script Installing, Configuring, Troubleshooting http://www.centos.org/forums/viewtopic.php?t=27252 server daemons such as Web and Mail Post Reply Print view Search Advanced search 2 posts • Page 1 of 1 no1youknowz Posts: 14 http://osdir.com/ml/linux.highavailability.user/2004-11/msg00070.html Joined: 2007/05/08 16:43:24 ldirectord - HA complains that it cant locate the resource s Quote Postby no1youknowz » 2007/05/31 15:31:39 Fresh install of cannot locate CentOS.Install of Pils, Stonith, Heartbeat, which can be found here:-http://dev.centos.org/centos/5/testing/i386/RPMS/Also, installation of the RPM Force, instructions for that here:-http://wiki.centos.org/Repositories/RPMForgeThen installation of perl-Mail-POP3Client-2.17-1.el5.centos.noarch.rpm and perl-Net-IMAP-Simple-SSL-1.3-1.el5.centos.noarch.rpm, which can be found in the above RPMS link.So, now thats done you can install Ldirectord.Files located in /etc/ha.dauthkeysCode: Select allauth1
1 sha1 cannot locate resource f00b4r-1234!whateverha.cfCode: Select alldebugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 10
udpport 694
udp eth1
nice_failback on
node foo1.bar.net
node foo2.bar.net
bcast eth1
crm offharesourcesCode: Select allfoo1.bar.net 192.168.0.50 ldirectordin /etc/ha.d/confldirectord.cfCode: Select allchecktimeout=3
checkinterval=1
virtual=192.168.0.50:80
fallback=127.0.0.1
real=192.168.0.40:80 ipip
real=192.168.0.41:80 ipip
service=http
request="testpage.html"
receive="test page"
schedule=rr
protocol=tcp
checktype=negotiateProblem is, that I keep on getting when starting up heartbeat : ResourceManager[5075]: Date/Time Error: Cannot locate resource script ldirectord.If anyone can help, would be great! Thanks Top Post Reply Print view 2 posts • Page 1 of 1 Return to “CentOS 5 - Server Support” Jump to CentOS General Purpose CentOS - FAQ & Readme First Announcements CentOS Social User Comments Website Problems CentOS 7 CentOS 7 - General Support CentOS 7 - Software Support CentOS 7 - Hardware Support CentOS 7 -
> > 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::