Hi there, I've updatet my heartbeat installation to V2.1.2 but now I've got error messages from IPaddr2 on the log file:
lrmd[2070]: 2008/01/11_11:06:16 info: RA output: (rsc_IPaddr:monitor:stderr) expr: lrmd[2070]: 2008/01/11_11:06:16 info: RA output: (rsc_IPaddr:monitor:stderr) syntax error lrmd[2070]: 2008/01/11_11:06:16 info: RA output: (rsc_IPaddr:monitor:stderr) lrmd[2070]: 2008/01/11_11:06:27 info: RA output: (rsc_IPaddr:monitor:stderr) expr: lrmd[2070]: 2008/01/11_11:06:27 info: RA output: (rsc_IPaddr:monitor:stderr) syntax error lrmd[2070]: 2008/01/11_11:06:27 info: RA output: (rsc_IPaddr:monitor:stderr) lrmd[2070]: 2008/01/11_11:06:37 info: RA output: (rsc_IPaddr:monitor:stderr) expr: lrmd[2070]: 2008/01/11_11:06:37 info: RA output: (rsc_IPaddr:monitor:stderr) syntax error lrmd[2070]: 2008/01/11_11:06:37 info: RA output: (rsc_IPaddr:monitor:stderr) This is my check interval. So I've searched inside of the IPaddr-Scripts. There are two usages of "expr", both on /usr/lib/ocf/resource.d/heartbeat/IPaddr2. One is inside a while loop on the ip_stop() function which is probably not used in the monitor call: i=`expr $i + 1` The var "i" is initialized with 1, so I think this is not the problem. The second occourence is on the function ip_init(), which is called at first on the monitor call: IP_INC_NO=`expr $OCF_RESKEY_CRM_meta_clone + 1` Is it possible that the var "OCF_RESKEY_CRM_meta_clone" is not set and so expr runs into a error? I did not found any other occourence of OCF_RESKEY_CRM_meta_clone, not even on /etc/ha.d/resource.d/IPaddr2. But on top of /usr/lib/ocf/resource.d/heartbeat/IPaddr2 you can read something about the OCF parameters. Maybe there is something missing on the IPaddr2 wrapper script /etc/ha.d/resource.d/IPaddr2? Oh, and I found another strange thing on /etc/ha.d/resource.d/IPaddr2. On the fourth line the script hto-mapfuncs is loaded. This line looks as follows here: . /etc/ha.d/resource.d//hto-mapfuncs Whats happening with the double dashes? Is there something wrong on my installation? Thx in advance for your help. Yves Schumann Softwareentwicklungsingenieur Security Solutions Division ______________________________ Ascom (Schweiz) AG Eichtal, CH-8634 Hombrechtikon Phone: +41 55 254 66 84 [EMAIL PROTECTED] http://www.ascom.com _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
