Technote (troubleshooting)
Problem(Abstract)
Running "samlog" command returns a number of errors, key errors are:
rce_wait_one failed, rce_rc= 19
failed with return code 4864.
Symptom
db2v10@node01:~> samlog
samlog called at 2013-02-05 14:24:21 on node01 with options
rce_wait_one failed, rce_rc= 19
samlog: Command "/usr/sbin/rsct/bin/rcecmd -n node02 /usr/sbin/rsct/bin/samlog :XXX:--offset:XXX:1:XXX:node02:XXX:node01" failed with return code 4864.
node01 0.00 IBM.RecoveryRM trace_summary, IBM.GblResRM trace_summary
node02 0.00 IBM.RecoveryRM trace_summary, IBM.GblResRM trace_summary
---------------------------------------------------------------------
readdir() attempted on invalid dirhandle DIR at /usr/bin/samlog line 765.
closedir() attempted on invalid dirhandle DIR at /usr/bin/samlog line 766.
readdir() attempted on invalid dirhandle DIR at /usr/bin/samlog line 765.
closedir() attempted on invalid dirhandle DIR at /usr/bin/samlog line 766.
rce_wait_one failed, rce_rc= 19
Cause
Issuing the samlog command without root privileges.
Diagnosing the problem
Verify that the userid has root privileges or root authority.
Resolving the problem
The issue arises because samlog reads trace files that are owned by root and are are not readable by non-root users. You must use the samlog command as either root, or a userid with root authority/permissions.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.