Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs "No such file or directory"

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


bschatz at yahoo

Nov 11, 2009, 11:19 AM

Post #1 of 2 (2088 views)
Permalink
Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs "No such file or directory"

Hi,

I am new to Linux HA and I am having a problem with heartbeat 3.0.1.

It appears that /etc/ha.d/shellfuncs is no longer in the release but it is still called from /etc/init.d/heartbeat.

I reloaded a system with FC11 and then downloaded the pacemaker/heartbeat binaries as follows:

# wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo
# yum install -y pacemaker corosync heartbeat

I copied a ha.cf to /etc/ha.d/ha.cf and attempted to start heartbeat as follows:

root [at] fc11-:# sh -x /etc/init.d/heartbeat start
+ '[' -f /etc/sysconfig/heartbeat ']'
+ HA_DIR=/etc/ha.d
+ export HA_DIR
+ CONFIG=/etc/ha.d/ha.cf
+ . /etc/ha.d/shellfuncs
/etc/init.d/heartbeat: line 51: /etc/ha.d/shellfuncs: No such file or directory


I did not see this as a known problem on the mailing lists.


Thanks,

Bob




_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


andrew at beekhof

Nov 12, 2009, 5:43 AM

Post #2 of 2 (2028 views)
Permalink
Re: Problems starting heartbeat 3.0.1-1 - /etc/ha.d/shellfuncs "No such file or directory" [In reply to]

that file should be part of cluster-glue... was that package not installed?

On Wed, Nov 11, 2009 at 8:19 PM, Bob Schatz <bschatz [at] yahoo> wrote:
> Hi,
>
> I am new to Linux HA and I am having a problem with heartbeat 3.0.1.
>
> It appears that /etc/ha.d/shellfuncs is no longer in the release but it is still called from /etc/init.d/heartbeat.
>
> I reloaded a system with FC11 and then downloaded the pacemaker/heartbeat binaries as follows:
>
>   # wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm/fedora-11/clusterlabs.repo
>   # yum install -y pacemaker corosync heartbeat
>
> I copied a ha.cf to /etc/ha.d/ha.cf and attempted to start heartbeat as follows:
>
> root [at] fc11-:# sh -x /etc/init.d/heartbeat start
> + '[' -f /etc/sysconfig/heartbeat ']'
> + HA_DIR=/etc/ha.d
> + export HA_DIR
> + CONFIG=/etc/ha.d/ha.cf
> + . /etc/ha.d/shellfuncs
> /etc/init.d/heartbeat: line 51: /etc/ha.d/shellfuncs: No such file or directory
>
>
> I did not see this as a known problem on the mailing lists.
>
>
> Thanks,
>
> Bob
>
>
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.