LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP PLEASE - My Server is down !!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-please-my-server-is-down-64703/)

Tigger 06-10-2003 06:45 AM

by the way, what does this manual mounting actually mean?

When and if i do recover the machine using this, what are the consequences?

thanks

Tigger 06-10-2003 06:48 AM

remember. my machine stops at bash -2 05b#. So can i do a manual mount?

Looking_Lost 06-10-2003 07:00 AM

All I can remember is you use some command like:

mount / -o remount, rw

If it does work it'll only last until you reboot.

I'd wait till someone else comments on it first though as I don't want to make things worse for you

Tigger 06-10-2003 07:12 AM

What about this one looking lost?


run the command

mount

and

cat /proc/mounts

I do not know what it does but i got it from another thread.

Looking_Lost 06-10-2003 07:22 AM

Yeah, they'll tell you if they are already mounted read, write.


rw at the end

Tigger 06-10-2003 07:44 AM

ok, thanks

MArgRes 06-10-2003 03:05 PM

YES you would have to do an 'su -' in order to edit a file with those permissions. So, try this:

'su -'
(enter root password when prompted)

Then try editing the file, putting back the ! in the first line.

If it is failing because the partition is mounted read-only, try remounting it like this:

mount -t <filesystem-type> -o remount,rw <device> <mountpoint>

This should make it remount as read-write so that you can edit it. To find out what <filesystem-type>, <device>, and <mountpoint> it is using already, just type the 'mount' command by itself and you can find out. This will also tell you how it is mounted: 'ro' is read-only 'rw' is read-write.

Hope that helps!!!

Tigger 06-10-2003 04:21 PM

thanks margres, i will try it today

Satriani 06-10-2003 04:36 PM

Maybe I'm giving a very stupid suggestion here, but some files say they are read-only, even when logged in as root. when using vi as your editor, and you just type :wq it will mention the fact that it's read-only.. (Yes even as root!) No worries, edit the file and end then with :wq! (Exlamation point just overrules the r-o option....)

Good luck.

Tigger 06-10-2003 08:49 PM

Hi

I want to thank everyone for helping me and also advise what worked!!!

None of the above worked other than booting from CD and using the rescue option and then typing chroot /mnt/sysimage. I was then able to edit the file and reboot.

Just one question, when the server rebooted, i noticed that when it came to mount points it said there were no mountpoints. Is this anything to worry about? However, i can get into my server now just fine and it is working!!!

I LOVE THESE GROUPS!!!!

Tigger 06-11-2003 07:51 AM

so, the fact that i ran chroot /mnt/sysimage does not hurt anything?

When i rebooted the server it came up that there was no mountpoint. Is this anything to worry about?


All times are GMT -5. The time now is 12:24 PM.