LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2004, 07:36 AM   #1
danishmr
LQ Newbie
 
Registered: May 2002
Location: Lahore, Pakistan
Posts: 26

Rep: Reputation: 15
rm cannot remove /var/run/atd.pid and /var/run/xdm.pid


Hi,

When the system boots up, it gives an error message that rm cannot remove /var/run/atd.pid and /var/run/xdm.pid. Due to this reason, the X-server keeps on starting and shutting down. Hence these files need to be removed.

However, when tries to do it manually, it appears as if the files are not there. They don't even come up in the directory listing. Moreover if one uses pico to edit the files, it gives an input/output error.

Hence it is like if the files are there and not there at the same time. Anybody has an idea whats going on?

Regards,

Danish
 
Old 05-04-2004, 08:01 AM   #2
robartes
Member
 
Registered: Oct 2003
Location: Mechelen, BE
Distribution: Mandrake as base, most software hand rolled
Posts: 80

Rep: Reputation: 15
Re: rm cannot remove /var/run/atd.pid and /var/run/xdm.pid

Quote:
Originally posted by danishmr
Hi,

When the system boots up, it gives an error message that rm cannot remove /var/run/atd.pid and /var/run/xdm.pid. Due to this reason, the X-server keeps on starting and shutting down. Hence these files need to be removed.

However, when tries to do it manually, it appears as if the files are not there. They don't even come up in the directory listing. Moreover if one uses pico to edit the files, it gives an input/output error.

Hence it is like if the files are there and not there at the same time. Anybody has an idea whats going on?

Regards,

Danish
Hmm, the 'cannot remove' might be a smokescreen. Do you have disk space left in /var/run? Do:

Code:
cd /var/run
df -k .
 
  


Reply



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
no pid file in /var/run for programs wolfe2554 Linux - Software 5 01-01-2007 12:02 AM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 10:32 PM
Can't write to /var/run/console cpeppler Linux - General 2 10-03-2003 07:28 AM
can't lock /var/run/crond.pid robeb Linux - General 0 06-08-2002 12:26 PM
cannot write PID to var/run/news cruella Linux - Newbie 1 01-22-2002 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 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
Open Source Consulting | Domain Registration