Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm getting a "Read-only file system" error when I try to do the chmod, mkdir, touch, or rm commands. I suspect any file/directory manipulation command will fail with the "Read-only file system" message. I can still cd to any directory, 'ls' still works, I can vi files and view them but I can't modify them. Has anyone run into this problem before or have any ideas?
What I was doing when this problem started....
I telnet'd to my linux machine. I created a directory successfully in the root directory. I then did a 'cp -rf /MYDIRECTORY /DESTINATIONDIR' to copy all the contents of one directory to a new directory. This is a big directory and at some point if failed with the "Read-only file system" message. After that my chmod, mkdir and rm commands started failing. So, currently I cannot do any manipulation on any file on my machine or create any new file/directory. Ftp also fails with the error message....
500 OOPS: failed to open xferlog log file:/var/log/xferlog
[root@localhost log> ll xferlog
-rw------- 1 root root 0 Jun 8 04:02 xferlog
Telnet still works.
The 'fsck' command didn't change the behavior at all.
Any help would be greatly appreciated.
Some system info.....
Linux Fedora Core version: 2.6.11-1.1369_FC4
Ya, the actual file might be more useful than the link. Sorry about that...
[redbird@localhost ~]$ ls -lL /dev/mapper/VolGroup00-LogVol00
brw-rw---- 1 root disk 253, 0 May 12 14:59 /dev/mapper/VolGroup00-LogVol00
I'm looking at the system logs in the /var/log/messages files. Is that what you mean? Anyway, the messages file hasn't been updated since this problem occurred on June 11. The last couple logs are below but they are just session open/close.
Jun 11 17:01:02 localhost crond(pam_unix): session opened for user root by (uid=0)
Jun 11 17:01:02 localhost crond(pam_unix): session closed for user root
Jun 11 18:01:02 localhost crond(pam_unix): session opened for user root by (uid=0)
Jun 11 18:01:02 localhost crond(pam_unix): session closed for user root
Jun 11 18:20:23 localhost su(pam_unix): session closed for user root
Jun 11 18:21:50 localhost su(pam_unix): session closed for user root
Jun 11 18:59:59 localhost su(pam_unix): session opened for user root by (uid=500)
Jun 11 19:01:02 localhost crond(pam_unix): session opened for user root by (uid=0)
Jun 11 19:01:02 localhost crond(pam_unix): session closed for user root
Jun 11 19:09:14 localhost su(pam_unix): session closed for user root