Kbase 3116: How to Correct -r (Non-Raw) Parameter Related Errors
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/25/2007 |
|
Status: Unverified
GOAL:
How to correct -r (non-raw) parameter related errors.
FACT(s) (Environment):
UNIX
FIX:
1) No Raw Device - Check the "/dev" directory to make sure that there
is a raw (character) device corresponding to the device where the
database is located. This device must have write permission for
root. For example, a UNIX "ls -l" command in the "/dev" directory
should show something like this:
crw-r--r-- root bin rdisk01
2) Permissions - The permissions on the progress executables (_*
files) must have the set user id bit set to allow for raw I/O. To
do this, enter the following command:
chmod 4775 $DLC/_*
chmod 755 _sqlsrv2
chmod 755 _waitfor
As a result, the permissions on the executables when you enter a
UNIX ls -l command will be:
-rwsrwxr-x
3) Ownership - The progress excutables must be owned by root. This
works with the set user id bit to give PROGRESS privilege to write
to the raw device. The command is:
chown root $DLC/_*
SYSTEM ERROR: I/O error <n> in <program>, ret <n>, file <n>, addr <n>. (290)
** Unable to open <file-name> for raw I/O. Database damage may occur. (346)
** This session is running with the non-raw (-r) parameter. (515)
If permissions and ownership were not set correctly, re-installing the
product as root should also correct the problem since the installation
process runs a UNIX script that sets the correct permissions and
ownership.
If you do not have a character device, use the mknod command to make a
character device. See your UNIX operating system manual for details.