General
cancel
Showing results for 
Search instead for 
Did you mean: 

cannot open /dev/kmem: Permission denied

SOLVED
Go to solution
maria paschali
Frequent Advisor

cannot open /dev/kmem: Permission denied

Hi,

I have 2 oracle (8.1.7)instances running. However, when I try to start the third oracle instance (8.0.6) I get the following error message : -"
MP30DBS.oracle@/u03/oradata/MP30DBS $svrmgrl

Oracle Server Manager Release 3.0.6.0.0 - Production

(c) Copyright 1999, Oracle Corporation. All Rights Reserved.

cannot open /dev/kmem: Permission denied
Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlui.c, line 1250
Abort(coredump)
"

I have checked that oracle is part of the oinstall group. What i don't understand is why I am getting this error message when I can get the other two databases up. I added the sys group to oracle ( I know that is bad), but after I did that I was able to startup the oracle instance. However, I am unable to run any scripts against it as it comes up with the same error. ie : -
" --------------------- Start Oracle SQLCA ----------------------
sqlcaid:
sqlabs: 0
sqlcode: -3114
sqlerrml: 35
sqlerrmc: ORA-03114: not connected to ORACLE

sqlerrp:
sqlerrd:
sqlwarn:
sqlext:
--------------------- End Oracle SQLCA ----------------------
PR3DBS RETURN......................: 0000
cannot open /dev/kmem: Permission denied
Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlui.c, line 12
50
cannot open /dev/kmem: Permission denied
Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlui.c, line
1250

Oracle database interface problem:
driver module name: I3PR551O
failing module name: ZMSGO
MP sql request code: 83
--------------------- Start Oracle SQLCA ----------------------
"
I have checked my kernal parameters but they look fine.

Any ideas?

Thanks in advance
6 REPLIES
Steven Sim Kok Leong
Honored Contributor
Solution

Re: cannot open /dev/kmem: Permission denied

Hi,

Just a hunch, did you happen to forget to run root.sh after your installation?

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com
Scott Van Kalken
Esteemed Contributor

Re: cannot open /dev/kmem: Permission denied

Yes, you need to relink some of the oracle stuff after installation.

We ran into the same problem once when we forgot to run the root.sh
Roger Baptiste
Honored Contributor

Re: cannot open /dev/kmem: Permission denied

Hi,

The permissions of kmem should be :
crw-r----- 1 bin sys 3 0x000001 Nov 27 2000 /dev/kmem

I think you are not able to bring the other instance up, because it was not installed/setup correctly. That's the reason adding dba to sys group got it working (since sys is the group owner of kmem). I woudl suggest to, Recheck the oracle install .

HTH
raj
Take it easy.
maria paschali
Frequent Advisor

Re: cannot open /dev/kmem: Permission denied

Hi,

thanks for getting back to me.
I ran the rooh.sh script again. And this seams to have solved my first problem ie connecting into svrmgrl. However, when trying to execute the script I still get the same rror message. Any more ideas?

Maria
Steven Sim Kok Leong
Honored Contributor

Re: cannot open /dev/kmem: Permission denied

Hi,

Just a hunch. Have you tried configuring /etc/privgroup or use setprivgrp to assign MLOCK privileges to the dba group?

For more information, man 1m setprivgrp. If I recall correctly, this information can be found in the installation manuals of certain releases of Oracle.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com
maria paschali
Frequent Advisor

Re: cannot open /dev/kmem: Permission denied

Hi again,

thanks for getting back to me.
The problem was that lanscan had its permissions set incorrectly. I don't know how but it did.

Thanks once again