LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-09-2008, 04:53 PM   #1
pinoyskull
Member
 
Registered: Jan 2005
Location: server farm
Distribution: CentOS 5.7
Posts: 59

Rep: Reputation: 15
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?
 
Old 06-09-2008, 05:02 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 06-09-2008, 05:06 PM   #3
pinoyskull
Member
 
Registered: Jan 2005
Location: server farm
Distribution: CentOS 5.7
Posts: 59

Original Poster
Rep: Reputation: 15
can't create a file under /var
 
Old 06-09-2008, 10:08 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by pinoyskull View Post
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.
 
  


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
Problems with crond Hondro Slackware 3 06-23-2006 03:27 PM
Help with crond and auditd pfaendtner Linux - Software 4 04-25-2005 10:41 AM
crond timeouts ? startail Linux - Software 0 01-11-2004 04:27 AM
My crond isn't working GaX Linux - General 6 01-07-2004 05:27 PM
Crond jimval7 Linux - General 2 03-06-2002 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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