On Thu, Sep 29, 2005 at 02:58:44AM +0200, Filip Sneppe wrote:
> Package: heartbeat-2
> Version: 2.0.2-3
> Severity: important
> 
> 
> Hi,
> 
> After trying to run cib and crm by enabling it with this directive
> in /etc/ha.d/ha.cf:
> 
> crm yes
> 
> I get the following messages in /var/log/sysog, and crmd and
> cib die:
> 
> ....
> Sep 29 01:34:13 localhost ccm: [9146]: ERROR: socket_wait_conn_new:
> trying to create in /var/run/heartbeat/ccm/ccm bind:: No such file or
> directory
> ....
> Sep 29 01:34:13 localhost cib: [9147]: ERROR: Cannot write to
> /var/lib/heartbeat/crm/cib.xml: Permission denied
> ....
> Sep 29 01:34:13 localhost cib: [9147]: ERROR: socket_wait_conn_new:
> trying to create in /var/run/heartbeat/crm/cib_callback bind:: No such
> file or directory
> 
> All this can be resolved by:
> - creating the /var/run/heartbeat/ccm/ directory with the correct
>   permissions and ownership
> - creating the /var/run/heartbeat/crm/ directory with the correct
>   permissions and ownsership
> - setting the correct permissions and ownership on
>   /var/lib/heartbeat/crm/
> 
> I have patched my debian build directory with these changes
> (I will attach the patch) and rebuilt heartbeat-2 to verify that this
> does indeed fix the problem.
> 
> Obviously this problem doesn't show up if crm is not enabled.
> 
> Thanks for the packaging effort!

Thanks for testing them. 
I'll try and get an updated package out ASAP.
> 
> Regards,
> Filip
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12-1-k7
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages heartbeat-2 depends on:
> ii  adduser                3.67              Add and remove users and groups
> ii  iproute                20041019-3        Professional tools to control 
> the 
> ii  libc6                  2.3.5-6           GNU C Library: Shared libraries 
> an
> ii  libglib2.0-0           2.8.0-1           The GLib library of C routines
> ii  libltdl3               1.5.20-2          A system independent dlopen 
> wrappe
> ii  libncurses5            5.4-9             Shared libraries for terminal 
> hand
> ii  libnet1                1.1.2.1-2         library for the construction and 
> h
> ii  libopenipmi0           2.0.1-1           Intelligent Platform Management 
> In
> ii  libsensors3            1:2.9.2-2         library to read 
> temperature/voltag
> ii  libsnmp9               5.2.1.2-3         NET SNMP (Simple Network 
> Managemen
> ii  libssl0.9.7            0.9.7e-3          SSL shared libraries
> ii  libuuid1               1.38-2            universally unique id library
> ii  libwrap0               7.6.dbs-8         Wietse Venema's TCP wrappers 
> libra
> ii  libxml2                2.6.21-1          GNOME XML library
> ii  netkit-ping            0.10-10.2         The ping utility from netkit
> ii  python                 2.3.5-3           An interactive high-level 
> object-o
> ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime
> 
> Versions of packages heartbeat-2 recommends:
> ii  logrotate                     3.7.1-2    Log rotation utility
> ii  sysklogd [system-log-daemon]  1.4.1-17   System Logging Daemon
> 
> -- no debconf information
> 
> *** /home/sneppef/Software/heartbeat-dirfix.diff
> diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs 
> heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs
> --- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs        
> 2005-09-29 02:00:02.000000000 +0200
> +++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs     2005-09-29 
> 01:37:18.000000000 +0200
> @@ -28,3 +28,5 @@
>  var/lib/heartbeat/ckpt
>  var/lock/subsys
>  var/run/heartbeat
> +var/run/heartbeat/ccm
> +var/run/heartbeat/crm
> diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 
> heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst
> --- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst    
> 2005-08-11 10:23:41.000000000 +0200
> +++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 2005-09-29 
> 01:55:46.000000000 +0200
> @@ -30,6 +30,18 @@
>          chown hacluster /var/lib/heartbeat/ccm
>          chgrp haclient /var/lib/heartbeat/ccm
>  
> +     chmod 750 /var/lib/heartbeat/crm
> +     chown hacluster /var/lib/heartbeat/crm
> +     chgrp haclient /var/lib/heartbeat/crm
> +
> +     chmod 750 /var/run/heartbeat/ccm
> +     chown hacluster /var/run/heartbeat/ccm
> +     chgrp haclient /var/run/heartbeat/ccm
> +
> +     chmod 750 /var/run/heartbeat/crm
> +     chown hacluster /var/run/heartbeat/crm
> +     chgrp haclient /var/run/heartbeat/crm
> +
>       chmod 2555 /usr/bin/cl_status
>       chgrp haclient /usr/bin/cl_status
>  

> diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs 
> heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs
> --- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.dirs        
> 2005-09-29 02:00:02.000000000 +0200
> +++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.dirs     2005-09-29 
> 01:37:18.000000000 +0200
> @@ -28,3 +28,5 @@
>  var/lib/heartbeat/ckpt
>  var/lock/subsys
>  var/run/heartbeat
> +var/run/heartbeat/ccm
> +var/run/heartbeat/crm
> diff -urN heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 
> heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst
> --- heartbeat-2-orig/heartbeat-2-2.0.2/debian/heartbeat-2.postinst    
> 2005-08-11 10:23:41.000000000 +0200
> +++ heartbeat-2/heartbeat-2-2.0.2/debian/heartbeat-2.postinst 2005-09-29 
> 01:55:46.000000000 +0200
> @@ -30,6 +30,18 @@
>          chown hacluster /var/lib/heartbeat/ccm
>          chgrp haclient /var/lib/heartbeat/ccm
>  
> +     chmod 750 /var/lib/heartbeat/crm
> +     chown hacluster /var/lib/heartbeat/crm
> +     chgrp haclient /var/lib/heartbeat/crm
> +
> +     chmod 750 /var/run/heartbeat/ccm
> +     chown hacluster /var/run/heartbeat/ccm
> +     chgrp haclient /var/run/heartbeat/ccm
> +
> +     chmod 750 /var/run/heartbeat/crm
> +     chown hacluster /var/run/heartbeat/crm
> +     chgrp haclient /var/run/heartbeat/crm
> +
>       chmod 2555 /usr/bin/cl_status
>       chgrp haclient /usr/bin/cl_status
>  


-- 
Horms


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to