?
Solved

trying to get nfslock to stop

Posted on 2008-11-01
5
Medium Priority
?
695 Views
Last Modified: 2013-12-16
i'm trying to get nfslock to stop and then disable on startup.  But all I get is this with all different variations and sequences:

service nfslock stop  [FAILED]
service nfslock start  [FAILED]
service nfslock stop  [FAILED]
service nfslock stop  [FAILED]
service nfslock start  [FAILED]
service nfslock start  [FAILED]
0
Comment
Question by:allwebnow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Deepak Kosaraju earned 1000 total points
ID: 22858934
just use the following command to stop service to start during startup of system.
chkconfig nfslock --level 345 stop

check with pgrep nfslock | xargs killall
if nfslock is not running it solves you question.

0
 

Author Comment

by:allwebnow
ID: 22860185
Thanks for your response!  

ok I tried that command and then started the system back up.  However, My firewall is still giving me this message in the security checker area;

On most servers nfslock is not needed and should be stopped and disabled from starting, as it could pose a security threat. This service is currently enabled in init and can be disabled using:
service nfslock stop
chkconfig nfslock off

Is there a way to disable it in init?  Because even after startup, i still can't run these commands to get it to stop and disable.   Even if it is disabled, something is still telling the system or firewall that it is still enabled.
0
 
LVL 14

Expert Comment

by:Deepak Kosaraju
ID: 22860224
chkconfig does the same, disable service  during System startup. can you copy the paste the log from which your observing  ->  something is still telling the system or firewall that it is still enabled.

0
 

Author Closing Comment

by:allwebnow
ID: 31512358
i got it working.  Contacted Firewall devs and they got the message to go away.
0
 

Author Comment

by:allwebnow
ID: 22882830
finally just used chkconfig nfslock off only and that worked
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 1 hour left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question