Could not execute statement.
DISK INIT encountered an error while attempting to open/create the
physical file for device '/dev/sdb1'. Consult the Adaptive Server error
log for more details. For the Cluster Edition, check the error log of
each instance.
SQLCODE=5123
Server=SAP01, Severity Level=16, State=1, Transaction State=0, Line=50
File: "devices.sql", line 1
To verify what happened behind the scene, the best is to log at ASE error log on the server. The default error log location on server SAP01 is:
/opt/sap/ASE-16_0/install/SAP01.log
The log can be large. To display only the end of the log and new incoming error messages use unix tail command:
tail -f /opt/sap/ASE-16_0/install/SAP01.log
Following errors could be generated during raw device creation using that command:
disk init name=BetaLogDev3, physname ='/dev/sdb6', size=51200
00:0006:00000:00025:2016/08/22 20:52:32.92 kernel basis_dsizecheck: attempt to open device '/dev/sdb1' failed, system error is: Permission denied
As error states this is a permission issue. Account used to run ASE needs to have Read+Write permission to the device. This can be assured also by changing the owner of the device to the user running SAP. See Raw device creation for details.
No comments:
Post a Comment