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

Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Bokoko
Advisor

Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

As user "oracle" connected, can not run the "svrmgrl" command :


cyb_hpux [ /cyborg/app/oracle/product/806 ] $


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 snl0
Abort(coredump)
cyb_hpux [ /cyborg/app/oracle/product/806 ] $
cyb_hpux [ /cyborg/app/oracle/product/806 ] $
cyb_hpux [ /cyborg/app/oracle/product/806 ] $
cyb_hpux [ /cyborg/app/oracle/product/806 ] $ ls -ltr /dev/kmem
crw-r----- 1 bin sys 3 0x000001 Jul 20 2001 /dev/kmem
10 REPLIES
T G Manikandan
Honored Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

What are the permissions of

/usr/sbin/lanscan


Thanks
Bokoko
Advisor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

The permission is complete for all groups :

cyb_hpux [ / ] # ls -ltr /usr/sbin/lanscan
-rwxrwxrwx 1 root sys 40960 Mar 20 2001 /usr/sbin/lanscan
T G Manikandan
Honored Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

This is the permission on my machine

-r-xr-sr-x 1 root sys 40960 Dec 20 2000 /usr/sbin/lanscan

make a copy of the file and change the permissions as above and check it out


Thanks
Ravi_8
Honored Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Hi,

seems to be some problem with ipcs

$ls -lgL /bin/{ps,ipcs,su} /dev/kmem
Which should generate something like: -rwxr-sr-x 1 root kmem
$ 16384 Jan 21 1994 /bin/ipcs -rwxr-sr-x 1 root kmem 40016 Jan
$ 21 1994 /bin/ps -rwsr-xr-x 1 root staff 7144 Jan 21 1994
$ /bin/su crw-r----- 1 root kmem 3, 1 Apr 27 1993 /dev/kmem

Use chmod g+s /bin/ipcs /kvm/ps and chmod u+s /bin/su

su is setuid-root because one needs eff-uid root to make another setuid - i.e. one must be root to change uid - the setuid on su makes you root while you do su....
The setgid on ps,ipcs makes your eff-gid kmem while executing those programs - enabling you to read /dev/kmem
which normal users can't read - because /dev/kmem has
group-read, others-none access.

Poul> Root allways succeed in these operations, as root is allowed
Poul> to setuid anyone, and [s]he's allowed to read/write any file
Poul> on the system...
never give up
Animesh Chakraborty
Honored Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Hi,
Is it a new oracle installation?
Did u run root.sh scripts after oracle installations?
Did you take a backup?
Bokoko
Advisor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Now, there is no message error related to /dev/kem permission.

Unfortunately, I can not upload data in the database. It seems to be a conflit with the Pre-compiler between two version of Oracle "7.3.4" & "8.0.6".

SQL-02127: Precompiler/SQLLIB version mismatch
SQL ERR -2127 AT P304 OF PAYMR1
SQL-02127: Precompiler/SQLLIB version mismatch

As I know, there is two separate directories for both version.....
Bokoko
Advisor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Problem with ipcs???

This is what I have actually :

cyb_hpux [ / ] # ls -lgL /bin/ps /bin/ipcs /bin/su /dev/kmem
-r-xr-sr-x 1 sys 28672 Apr 23 1999 /bin/ipcs
-r-xr-xr-x 1 sys 40960 Apr 29 1999 /bin/ps
-r-sr-xr-x 1 bin 24576 Aug 6 1998 /bin/su
crw-r----- 1 sys 3 0x000001 Jul 20 2001 /dev/kmem

Do you suggest me to modify the permissions for /bin/ps file????


Bokoko
Advisor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

Hi,

It is not a new installation !!!!

We had already two version of Oracle running smoothly... Actually I can not run the both version separatly...

When I think that the User's profile is set up correctly and the path for each version is different, What is about the Precompiler. Iknow that it is in this directory :

cyb_hpux [ /cyborg/app/oracle/product/734/precomp ] $ lc
admin demo ins_precomp.mk lib public
bin env_precomp.mk install mesg



cyb_hpux [ /cyborg/app/oracle/product/806/precomp ] $ lc
admin demo doc install lib mesg public
cyb_hpux [ /cyborg/app/oracle/product/806/precomp ] $
Ian Lochray
Respected Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

This problem is discussed in Oracle note 1041966.6. According to the note, you have the wrong permissions on /usr/sbin/lanscan and you need to do a chown root lanscan followed by a chmod 4555 lanscan.
T G Manikandan
Honored Contributor

Re: Oracle 8.0.6 - HP Unix 11.0 32 bits - Permission denied /dev/kem

sqllib errors are because they are reffering to old libaries.

check the environmental variables as which oracle home they are referring.
Probably the old version is referred for oraclehome/lib


Thanks