all file become read only

Support for webhosts that use CentOS
Post Reply
shurikenyu
Posts: 5
Joined: 2007/05/08 16:14:01
Contact:

all file become read only

Post by shurikenyu » 2007/05/08 16:19:14

Hi All,

I was facing this problem from my 2 server, the HDD have problem. it bcome "read only"
i can't modify the file, delete or do anything.
all the php website bcome internal server error.

is it the kernel error or the HDD have problem?
anyone having this problem before?
because it's very serious. it need to reinstall the OS, after reboot, the server can't detect the main HDD anymore..
can't do fschk check.. can't fix at all

pjwelsh
Posts: 2622
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: all file become read only

Post by pjwelsh » 2007/05/08 21:38:21

You have a hard drive issue. If you are using the ext3 filesystem (likely) you have problem that is making the OS put the drive/filesystem into a "safe" mode. You may see something in the "dmesg" program about it. It might say something about hda or sda or hdb or sdb etc...

shurikenyu
Posts: 5
Joined: 2007/05/08 16:14:01
Contact:

Re: all file become read only

Post by shurikenyu » 2007/05/09 07:43:41

So if does happend again, how to solve this problem? use the CD and change to RESCUE mode?
have any solutions? because i don't want to reinstall the OS

pjwelsh
Posts: 2622
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: all file become read only

Post by pjwelsh » 2007/05/09 12:02:03

You need to figure out why the drive is being flagged read-only. Only then will you figure out what to do next. If the issue is with failing drive, replace. I don't know if you are using an Nvidia chipset, but you may want to look through the CentOS forums about issues with some of them (and the solutions).

I would not normally expect to have to go into rescue CD/DVD mode. You will likely just need to reboot in the short term till you get a handle on what needs to be fixed.

shurikenyu
Posts: 5
Joined: 2007/05/08 16:14:01
Contact:

Re: all file become read only

Post by shurikenyu » 2007/05/10 02:55:23

after reboot, the server are not able to detect the main HDD anymore, So we can't login to the root password, the error msg something like kernel error.
anybody having this problem before?
is the root filesystem error.

foxb
Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

all file become read only

Post by foxb » 2007/05/10 15:08:33

It is more probably to have HW error.

Check your PS, cables and HDD

shurikenyu
Posts: 5
Joined: 2007/05/08 16:14:01
Contact:

Re: all file become read only

Post by shurikenyu » 2007/05/10 16:54:10

PS, HDD and cable should be np
after reisntall everything, than is back to normal.
i'm scared it happend again to my another server. so any solution?

foxb
Posts: 1927
Joined: 2006/04/20 19:03:33
Location: Montreal/QC

Re: all file become read only

Post by foxb » 2007/05/10 20:57:41

Is your web site public?

Did you consider that you may be hacked?

Anyway I'll advise you to scan your HDD for errors...

Post Reply

Return to “CentOS 4 - Webhosting Support”