LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rm cannot remove /var/run/atd.pid and /var/run/xdm.pid (https://www.linuxquestions.org/questions/linux-software-2/rm-cannot-remove-var-run-atd-pid-and-var-run-xdm-pid-177693/)

danishmr 05-04-2004 07:36 AM

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

robartes 05-04-2004 08:01 AM

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 .



All times are GMT -5. The time now is 04:52 PM.