Operating System - HP-UX
1833613 Members
3400 Online
110062 Solutions
New Discussion

Error /dev/kmem while starting candle !

 
SOLVED
Go to solution
rveri
Super Advisor

Error /dev/kmem while starting candle !

Hi All ,

As Ops team informed that the server is showing status_unknown in candle.
Hence tried to stop and start the candle agent.

I am getting this error while starting candle agent , after stopping candle agent.
# cd /sbin/init.d
# candle start

...
..
(4417A108.2B0C4F38-1:kuxmain.c,298,"kuxmain") kuxagent process group set.
init_sock: Failure to open /dev/kmem, errno = 13: permission denied
(4417A108.2B7CD7D0-1:kux00agt.c,100,"TakeOffline") No heartbeat available to take offline.
uxdc **** kuxagent terminated ****


---------------
Server: N4000 , hp-ux B.11.00


Does anyone have any idea ,as whats problem.


Thanks.
9 REPLIES 9
Muthukumar_5
Honored Contributor

Re: Error /dev/kmem while starting candle !

what is the permission of /dev/kmem file. ls -l /dev/kmem?

--
Muthu
Easy to suggest when don't know about the problem!
Indira Aramandla
Honored Contributor

Re: Error /dev/kmem while starting candle !

Hi rveri,

UNIX error 13 means Permission Denied. Check the permissions of /dev/kmem


IA
Never give up, Keep Trying
rveri
Super Advisor

Re: Error /dev/kmem while starting candle !

Hi Muthukumar and Indira , thank u for quick replies..

The permission is :

# ls -l /dev/kmem
crw-r----- 1 bin sys 3 0x000001 Jan 21 2000 /dev/kmem

root@server1
# file /dev/kmem
/dev/kmem: character special (3/1)

----------------------------------------------------------------------

It seems no problem with the permission as I compared with another server running candle , and seems no difference in the file.


Here # ps -ef | grep candle only shows only one agent is running : i.e kulagent (Unix Log monitoring Agent). The other agent kuxagent (Unix OS Monitoring agent) , is not runnig. And restarting of candle is giving the above error of /dev/kmem.

Any idea, whats wrong.




Thanks,
Arunvijai_4
Honored Contributor

Re: Error /dev/kmem while starting candle !

Hello,

Was this working before ? Have you tried to change any configuration ?

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Error /dev/kmem while starting candle !

What is the user, group and permission information for kuxagent binary. Compare with running process binary.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Error /dev/kmem while starting candle !

Hello,

I think, "cadle" is used to collect datas from host using SNMP request. Which user trying to execute the command to start ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sandman!
Honored Contributor

Re: Error /dev/kmem while starting candle !

Hi,

See if there are any IPCs left behind from the previous run. Those could be causing problems too.

ipcs -a | grep -i

cheers!
Raj D.
Honored Contributor
Solution

Re: Error /dev/kmem while starting candle !

Hi ,


You can also check the permission for kuxagent , under /opt/candle/hp116/ux/bin/

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Carlos Roberto Schimidt
Regular Advisor

Re: Error /dev/kmem while starting candle !

Hi,

Candle agent run as root ok?

There arent another candle process started?

If i remember, candle agent log actions. You have sure you stop agent susscefull?