Red Hat Bugzilla – Bug 178812
ccsd needs more information in certain failure cases
Last modified: 2009-04-16 15:55:05 EDT
Description of problem:
I'd be a little frustrated if I were the customer in this case.
[root@taft-01 ~]# service ccsd start
Starting ccsd: [FAILED]
From the console:
Jan 24 09:27:15 taft-01 ccsd: startup failed
Not a whole lot to go on.
I then tried the ccsd cmd by myself and learned that I had a parsing error
[root@taft-01 ~]# ccsd
/etc/cluster/cluster.conf:3: parser error : Opening and ending tag mismatch:
cluster line 2 and cman
# it should have been "<cman/>"
Created attachment 124051 [details]
fix for bz 178812
Changed to use 'action' command. Spits out any errors it encounters.
ccsd daemon should probably also be updated to give a textual error message.
For example, I did not install "magma-plugins" which is required for ccsd to
start but is not set as a dependency in RPM (there is another bugzilla that says
it is by design).
So, even a "ccsd -n" simply exits without any information except to return an
error code. A simple message of "magma plugins not found" would help customers
realize their mistake.
has always given textual error messages. However, it seems that
prompt> ccsd -n
has not been. Although, the exit code (2) gives a good indication of the
problem - but users will not know what the exit code means...
fixed ccsd init script and ccsd daemon to print error messages. fix in CVS;
RHEL4, HEAD and STABLE
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.