[Pacemaker] cannot append to /var/log/cluster/corosync.log permission denied
Alister Wong
alister.wong at wisespotgroup.com
Thu Sep 16 16:49:39 UTC 2010
Hi, all,
I just setup a 2 node clusters in 2 RHEL server(5.5 x86_64).
After I setup and it looked fine. However, I found in
/var/log/messages I found some logs showed that it failed to append to
corosync.log. I run the corosync as root.
e.g.
Sep 17 00:39:14 property01-b crmd: [17332]: info: do_state_transition: State
transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS
cause=C_FSA_INTERNAL origin=notify_crmd ]
Sep 17 00:39:14 property01-b crmd: Cannot append to
/var/log/cluster/corosync.log: Permission denied
Sep 17 00:39:14 property01-b crmd: [17332]: info: do_state_transition:
Starting PEngine Recheck Timer
Sep 17 00:39:14 property01-b crmd: Cannot append to
/var/log/cluster/corosync.log: Permission denied
Below is corosync.conf and crm configure result.
Corosync.conf
# Please read the corosync.conf.5 manual page
compatibility: whitetank
totem {
version: 2
secauth: off
threads: 0
interface {
ringnumber: 0
bindnetaddr: 192.168.200.15
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}
amf {
mode: disabled
}
aisexec{
user: root
group: root
}
service{
# Load the Pacemaker Cluster Resource Manager
name: pacemaker
ver: 0
}
Crm configure:
node property01-a
node property01-b
property $id="cib-bootstrap-options" \
dc-version="1.0.9-89bd754939df5150de7cd76835f98fe90851b677" \
cluster-infrastructure="openais" \
expected-quorum-votes="2"
Here is the /var/log/corosync/corosync.log permission info:
[root at property01-b corosync]# ls -l /var/log/cluster/
total 148
-rw-rw---- 1 root root 145285 Sep 17 00:39 corosync.log
More information about the Pacemaker
mailing list