Symptom
The following error occurred when generating Sybdiag report.
Collecting data for "Operating System Log File" (os_logfile) ...
Failed data collection for "Operating System Log File" (os_logfile).
12004 - Copy External File Error: Error occurred while copying external file /var/log/messages to target file /tmp/sybdiag-server-20210608083724/output/data/osdata/messages.txt in output directory. The message returned was "/var/log/messages (Permission denied)".
Collecting data for "Adaptive Server Interface File" (ase_interface) ...
Completed data collection for "Adaptive Server Interface File" (ase_interface).
Collecting data for "Adaptive Server Configuration File" (ase_cfgfile) ...
Completed data collection for "Adaptive Server Configuration File" (ase_cfgfile).
Collecting data for "Sysam Properties File" (sysam_propfile) ...
Completed data collection for "Sysam Properties File" (sysam_propfile).
Collecting data for "Adaptive Server Error Log" (ase_errorlog) ...
Completed data collection for "Adaptive Server Error Log" (ase_errorlog).
Collecting data for "Backup Server Error Log" (backupserver_errorlog) ...
Completed data collection for "Backup Server Error Log" (backupserver_errorlog).
Collecting data for "Adaptive Server Environment File" (ase_env_sh) ...
Completed data collection for "Adaptive Server Environment File" (ase_env_sh).
Read more...
Environment
SAP Adaptive Server Enterprise 16.0
Product
Keywords
permission denied, sybdiag error, sybdiag, /var/log/messages, 12004 - Copy External File Error: Error occurred while copying external file /var/log/messages to target file, The message returned was "/var/log/messages (Permission denied)" , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.