Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
;; > 'stop') >stop0 > ;; > *) > echo "Usage: -bash { start | stop | restart}" >exit 1 >;; > esac > exit 0 > ### > > Andreas > > > -Ursprüngliche Nachricht--

Re: [Pacemaker] solaris problem

2013-03-25 Thread LGL Extern
rüngliche Nachricht- Von: Andrei Belov [mailto:defana...@gmail.com] Gesendet: Montag, 25. März 2013 15:08 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] solaris problem Ok, I fixed this issue with the following patch against libqb 0.14.4: --- lib/unix.c.orig 2013-0

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
Ok, I fixed this issue with the following patch against libqb 0.14.4: --- lib/unix.c.orig 2013-03-25 12:30:50.445762231 + +++ lib/unix.c 2013-03-25 12:49:59.322276376 + @@ -83,7 +83,7 @@ #if defined(QB_LINUX) || defined(QB_CYGWIN) snprintf(path, PATH_MAX, "/dev/shm/%

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
I've rebuilt libqb using separated SOCKETDIR (/var/run/qb), and set hacluster:haclient ownership to this dir. After that pacemakerd has been successfully started with all its childs: [root@ha1 /var/run/qb]# pacemakerd -fV Could not establish pacemakerd connection: Connection refused (146) i

Re: [Pacemaker] solaris problem

2013-03-25 Thread Andrei Belov
Andreas, just tried "PCMK_ipc_type=socket pacemaker -fV" - a bunch of additional "event_send" errors appeared: Mar 25 11:15:55 [33641] ha1 corosync error [MAIN ] event_send retuned -32, expected 256! Mar 25 11:15:55 [33641] ha1 corosync error [SERV ] event_send retuned -32, expected 217!

Re: [Pacemaker] solaris problem

2013-03-25 Thread LGL Extern
With solaris/openindiana you should use this setting export PCMK_ipc_type=socket Andreas -Ursprüngliche Nachricht- Von: Andrei Belov [mailto:defana...@gmail.com] Gesendet: Montag, 25. März 2013 10:43 An: pacemaker@oss.clusterlabs.org Betreff: [Pacemaker] solaris problem Hi folks, I'm