Solved

trying to get nfslock to stop

Posted on 2008-11-01
5
672 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
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
Deepak Kosaraju earned 250 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…

856 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