Hi Shuwen Xu, we had this problem too.
To your questions: 1) I assume that the processe(s) want to change into a well defined directory so that core dumps are written into that directory in case. But this is only an assumption. 2) Solution: The distribution comes with the following rights root:root 755, but cluster processes are running with a cluster user and group (in my case 'hacluster:haclient ') and change the rights for that directory to that user/group-combination. I'm pretty sure your error message should go away. IMHO it's a little ditribution packaging bug. Best regards Andreas Mock -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Shuwen Xu Gesendet: Donnerstag, 6. Juni 2013 11:17 An: [email protected] Betreff: [Linux-HA] How to fix "ERROR: Cannot chdir to [/var/lib/heartbeat/cores/hacluster]: Permission denied"? Hi I try to build heartbeat system on SUSE linux, and the version is 2.1.3 ;when reboot my machine, I find these error print in log: 2012-10-05 03:25:59 SPP-2306_1 ipfail: [11267]: ERROR: Cannot chdir to [/var/lib/heartbeat/cores/hacluster]: Permission denied So can you please help me : 1. What functionality of dir "/var/lib/heartbeat/cores/hacluster"? 2. How to fix this error print? What is your advice? The content of file /etc/ha.d/ha.cf logfile /var/log/ha-log keepalive 200ms deadtime 3 warntime 1 initdead 120 udpport 694 auto_failback off respawn hacluster /usr/lib64/heartbeat/ipfail ucast enet1 10.184.27.124 bcast enet2 node SPP-2306_1 SPP-2306_2 Best Regards, Shuwen Xu _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
