1753486 Members
4076 Online
108794 Solutions
New Discussion юеВ

subsys locked

 
Dilip Kumar C M
Occasional Advisor

subsys locked

i am trying to run one application in 10 linux system, i am getting this error in all the machine. commsagent is dead but subsys locked

I tried with
sysctl kernel.sem

kernel.sem = 250 32000 32 128
rm /var/lock/subsys/commsagent
rm /etc/httpd/run/commsagent rm

/var/run/snmpd.pid


echo "512 32000 32 512" > /proc/sys/kernel/sem


/etc/rc.d/init.d/commsagent restart


setenforce 0

then try restarting commsagent
/etc/sysconfig/selinux and make SELINUX=disabled.
i tried with all these poosibilities but still i am getting same error...

Anybody has any solution to this problem...???


4 REPLIES 4
Jeeshan
Honored Contributor

Re: subsys locked

selinux disable only affect after rebooting the system.
a warrior never quits
Steven E. Protter
Exalted Contributor

Re: subsys locked

Shalom,

Stop the daemon.

Kill the PID of the process.

Then rmove the lock files.

Then remove any files you want, make your kernel changes you want.

Use sysctl to make the changes permanent.

SELINUX has nothing to do with it. Any SELINUX changes you want to make require a boot to take permanent effect.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dilip Kumar C M
Occasional Advisor

Re: subsys locked

make your kernel changes you want

I din't get you....what it means, what i have to do to change my kernel
Dilip Kumar C M
Occasional Advisor

Re: subsys locked

i found the solution ,i onlu discovered the solution to this problem



thanks