Greetings all, I am using Centos-5.3 in my server which is running dns, apache and mail. When the power went off and back then all of my services are not be able to run, i visited log files esp for httpd it says read-only and httpd cant start, this cause all of my services to stop. i tried to fix by fsck but still i cant be able to log in my mails via web access because httpd is not running, in short all services stopped. I need help, what to do so that to change the read-only mode, i cant even delete any file. After running fsck and reboot now it reached:- (none) login: and if i type root gives incorrect. Please help me so that to get back my mail server online (mails are in this server). regards, Damas -- ICT4Community, in Community, with Community. damastz at hotmail.com/aim.com/juasun.net +255 (0) 715 /784 /767 464 678 QQ 860719395, skype: damas.ally -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100302/b218e8a0/attachment-0003.html>
On Tue, Mar 02, 2010 at 05:08:22PM +0300, Damas Ally wrote:> Greetings all, > I am using Centos-5.3 in my server which is running dns, apache and mail. > When the power went off and back then all of my services are not be able to > run, i visited log files esp for httpd it says read-only and httpd cant start, > this cause all of my services to stop. i tried to fix by fsck but still i cant > be able to log in my mails via web access because httpd is not running, in > short all services stopped. > I need help, what to do so that to change the read-only mode, i cant even > delete any file. > After running fsck and reboot now it reached:- > (none) login: > and if i type root gives incorrect. > Please help me so that to get back my mail server online (mails are in this > server).Hi, Did you checked appriopriate (/var) partition with fsck? -- Dominik Zyla -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20100302/d8c82cb4/attachment-0003.sig>
Damas Ally wrote on Tue, 2 Mar 2010 17:08:22 +0300:> After running fsck and reboot now it reached:- > (none) login: > and if i type root gives incorrect.Haven't seen this prompt for a while. Is it possible that it just wants the root password? (not "root" by itself, it will log you in as root anyway!) Kai -- Get your web at Conactive Internet Services: http://www.conactive.com
From: Damas Ally <damastz at gmail.com>>When the power went off and back then all of my services are not be able to run, i visited log files esp for httpd it says read-only and httpd cant start, this cause all of my services to stop. i tried to fix by fsck but still i cant be able to log in my mails via web access because httpd is not running, in short all services stopped. >>I need help, what to do so that to change the read-only mode, i cant even delete any file.I think it is read-only because the filesystem has errors... How did you run fsck? automaticaly or interactively? You could 'mount -n -o remount,rw /' but it is unsafe if the filesystem is unclean... JD
That is the root password you need to specify. then you need to look BEFORE that line and find out what fsck cannot check with the "-a" flag set. You need to run fsck on the partition in question, then correct all errors and type exit at the end. the machine will then reboot. jobst On Tue, Mar 02, 2010 at 05:08:22PM +0300, Damas Ally (damastz at gmail.com) wrote:> Greetings all, > I am using Centos-5.3 in my server which is running dns, apache and mail. > When the power went off and back then all of my services are not be able to > run, i visited log files esp for httpd it says read-only and httpd cant > start, this cause all of my services to stop. i tried to fix by fsck but > still i cant be able to log in my mails via web access because httpd is not > running, in short all services stopped. > I need help, what to do so that to change the read-only mode, i cant even > delete any file. > After running fsck and reboot now it reached:- > (none) login: > and if i type root gives incorrect. > Please help me so that to get back my mail server online (mails are in this > server). > regards, > Damas > > -- > ICT4Community, in Community, with Community. > damastz at hotmail.com/aim.com/juasun.net > +255 (0) 715 /784 /767 464 678 > QQ 860719395, skype: damas.ally> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- C is a write-only language. | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia