on 04-16-2007 10:09 AM
Hi.
I planed checkdb in db13 and after ending i can't read log. In db13 i get message
"Could not read detail log cdvazznq.chk". We use oracle 10.2 on Hp-ux.
is there any idea?
regards/
Denis
Hello Denis,
Login with ora<sid> user and create a file at /oracle/<SID>/sapcheck.
you will notice that this file doesn't have enough permissions, this is because for the incorrect umask value.
To correct it execute the following from OS level:
**Login to the database host with ora<sid>
**Add line ( <b>umask 022</b> ) into .profile & .login files
**logoff and login again with ora<sid> user and again create a file at /oracle/<SID>/sapcheck. now you will notice the file permission as correct.
**Since SAP is already running, yopu need to restart the SAP system for the change to take effect
The new files will then have enough permissions so that they can be read from SAP level
Regards,
Ammey Kesarkar
<i>'Award points for useful info'</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Denis,
Login to Database host as ora<sid> user
You will be navigated to ora<sid>'s home directory, you ought to find those files there...
execute command ls -altr | grep -i .login
excute command ls -altr | grep -i .profile
Alternatively, you can also execute a ' find ' command to search for the files
Regards,
Ammey Kesarkar
Denis,
Has your problem solved?
Are you still getting value as 077 even after setting the umask value to 022?
executinf command 'umask' should return 022 as output.
Setting the value of umask to 022 in .login & .profile MUST solve your problem. I wonder why you are having problems with DB13. ( We have the umask value set as 022 on all our systems, and no problems with DB13 )
Following is for your informatoin:
umask 077 - Assigns permissions so that only you have read/write access for files, and read/write/search for directories you own. All others have no access permissions to your files or directories.
umask 022 - Assigns permissions so that only you have read/write access for files, and read/write/search for directories you own. All others have read access only to your files, and read/search access to your directories.
umask 002 - Assigns permissions so that only you and members of your group have read/write access to files, and read/write/search access to directories you own. All others have read access only to your files, and read/search to your directories
Regards,
Ammey Kesarkar
<i>'Award points for useful info'</i>
-> does the logfile exist on os level? check /oracle/<SID>/sapcheck
GreetZ, AH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.