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 09-14-2011, 11:04 AM   #1
SuSENuBe
LQ Newbie
 
Registered: Sep 2011
Location: Utah
Distribution: SuSE, SLES
Posts: 1

Rep: Reputation: Disabled
Question How to fix a missing PID file?


SLES 10.3-64b. I have a service that is running, but status check shows "unused". Navigating to /var/run/application I see the other services/processes have a PID file present but the "unused" service does not. Stopping the service returns "failed" but the service can them be started and is verified as running, even tho status check shows "unused". Can I just use vi to created PID file, enter the process number the service is currently running on, save the file, then restart the service? Will this fix it or make it worse? If this is not the way to fix the problem, then what is?

Thanks,

NuBe
 
Old 09-14-2011, 12:15 PM   #2
Aberrix
LQ Newbie
 
Registered: Sep 2011
Distribution: RHEL, AIX
Posts: 5

Rep: Reputation: Disabled
I'd start with checking the file permissions on the folder against the service trying to run, make sure it has write access to the directory.
 
  


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
Missing /var/run/pppoe.conf-pppoe.pid.pppoe file acraig Debian 2 11-02-2010 07:24 PM
(20014)Internal error: Error retrieving pid file /var/run/apache2.pid yuri16 Linux - Server 0 07-28-2009 03:11 AM
reading pid from pid file in C language shifter Programming 1 05-14-2008 10:49 AM
postmaster.pid file is missing ashishzankar Linux - Newbie 2 11-07-2007 11:19 AM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM


All times are GMT -5. The time now is 02:58 AM.

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