[Pacemaker] cluster refuses to start
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Oct 15 15:16:41 UTC 2009
Hi,
On Thu, Oct 15, 2009 at 04:23:07PM +0200, Johan Verrept wrote:
> On Thu, 2009-10-15 at 16:03 +0200, Johan Verrept wrote:
> > On Thu, 2009-10-15 at 15:51 +0200, Johan Verrept wrote:
> >
> > > I just fear that some critical paths that are needed have moved between
> > > 2.99.2 and 3.0.0 and that I am missing them. No idea how to find them,
> > > either.
> >
> > strace to the rescue...
> >
> > 4345 open("${prefix}/var/lock/LCK..ttyS0", O_RDONLY) = -1 ENOENT (No
> > such file or directory)
> > 4345 open("${prefix}/var/lock/tmp4345-ttyS0", O_WRONLY|O_CREAT|O_EXCL,
>
> For some reason, when building glue, HA_VARLOCKDIR is incorrectly
> #defined as "${prefix}/var/lock"
>
> ./include/glue_config.h:#define HA_VARLOCKDIR "${prefix}/var/lock"
configure.ac says:
for HA_VARLOCKDIR in ${localstatedir}/lock ${localstatedir}/spool/lock ${localstatedir}/spool/locks ${localstatedir}/lock
do
if
test -d "$HA_VARLOCKDIR"
then
...
probably not sufficient if none of those directories exists.
Not sure how to fix this. Best to create your $prefix/var/lock
and then recompile.
Thanks,
Dejan
> J.
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
More information about the Pacemaker
mailing list