LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2009, 08:53 PM   #1
sunilcnair
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
stopping service unsuccessful and locks remain in /var/lock/subsys directory


hello all,
I read about locks inside /var/lock/subsys directory.
I have a service " service sipd start" . It creates a same filename sipd inside /var/lock/subsys folder. When it shutdown it removes the filename from the directory.

This is normal case.

sometimes i face a problem inside my server during peak hours.
At that time i try to stop the service. It is unsuccesful.
The lock is still present inside the directory.

Why is this situation happening during this time.
Why i am not able to stop the service sucessfully? Why isnt the lock getting removed when i try to stop the service.

Please tell me

thank you on advance.

regards
Sunil C

Last edited by sunilcnair; 02-03-2009 at 10:53 PM. Reason: typo error
 
Old 02-04-2009, 08:46 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,957

Rep: Reputation: Disabled
You didn't name the distribution you use. E.g. in SuSE it wouldn't work the way you tried it. On the right hand side panels is an entry "edit profile", where you can make entries pertaining to your system. These are then displayed every time you post. I suggest you use those.

In SuSE you might try
Quote:
/etc/init.d/sipd stop
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 03:35 PM
service dead but subsys locked packets Linux - Networking 3 11-17-2008 08:07 AM
<service name> dead but subsys locked arunplr Linux - Server 1 03-15-2008 11:13 AM
useage of the file /var/lock/subsys/local banajah Linux - Newbie 1 03-14-2008 06:44 AM
/var/lock/subsys/ stefaandk Linux - Newbie 2 07-21-2005 08:27 PM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration