LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Could not start crond (https://www.linuxquestions.org/questions/linux-server-73/could-not-start-crond-648127/)

pinoyskull 06-09-2008 04:53 PM

Could not start crond
 
Hi,

I got a problem, I could not start crond service as root

Code:

Starting crond: crond: can't open or create /var/run/crond.pid: Read-only file system
                                                          [FAILED]

i checked mount and /var is [rw]

what could be the problem?

trickykid 06-09-2008 05:02 PM

Can you do:

cd /var
touch foo

Don't always trust what mount tells you. It could be a write only system after hardware failure, etc.

pinoyskull 06-09-2008 05:06 PM

can't create a file under /var

trickykid 06-09-2008 10:08 PM

Quote:

Originally Posted by pinoyskull (Post 3179747)
can't create a file under /var

Then it is a read-only file system. More details about your setup would be the solution to know what's going on but if you can't umount and remount with rw, then a reboot is in order. I've seen systems like this just go into read-only, it's usually an issue with the controller, resulting in a firmware/bios or driver update, etc, unless of course it's a hard drive going bad which can also cause this issue.


All times are GMT -5. The time now is 05:44 AM.