Operating System - HP-UX
1836611 Members
3889 Online
110102 Solutions
New Discussion

Re: unable to open /dev/kmem

 
bhavin asokan
Honored Contributor

unable to open /dev/kmem


hi all,

i am getting an error message like this when i am starting my ingres database.
'unable to open /dev/kmem ,resources will not be available'.but the database is getting started and i am able to use it.when i am using ipcs command to find the resources it is showing that it is reading /dev/kmem and shared memory resources are accessed by ingres.
i feel because of this my applications are running slow.
i am using D350 server with HP-UX 10.20
can somebody help me.
5 REPLIES 5
Stefan Farrelly
Honored Contributor

Re: unable to open /dev/kmem

The permissions on /dev/kmem are bin:sys 640 which means only root processes can read from it. If Ingres is running as root it can read /dev/kmem, if not, then it cant.

The question is should Ingres be running as root ? I doubt it. You should check with Ingres support about this for more details.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Graham Cameron_1
Honored Contributor

Re: unable to open /dev/kmem

/dev/kmem and /dev/mem are special files that map onto physical memory.

wc
You need to talk to your Ingres supplier because I don't think direct access to kmem is required (nor wise).

You might find more info here:
http://www.cs.mu.oz.au/~yuan/Ingres/ingQA.html

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
G. Vrijhoeven
Honored Contributor

Re: unable to open /dev/kmem

Hi,

You can chmod 644 /dev/kmem.

Gideon
doug mielke
Respected Contributor

Re: unable to open /dev/kmem

Allowing non-root access to kmem can be a disaster. In theory, a 'user' can't cause a system panic. If they get access to /dev/kmem, they can.

G. Vrijhoeven
Honored Contributor

Re: unable to open /dev/kmem