Solved

System crash, TTY Read Only file system issue.

Posted on 2006-06-29
6
906 Views
Last Modified: 2008-01-09
After a reboot of SUSE Linux 9.0 server I attempt to log on as root and I get the following error:
FATAL: cannot change permissions of TTY: Read-only file system.
can anyone assist I cant find a fix anywhere.
0
Comment
Question by:ITHCI
  • 3
  • 2
6 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17012473
1.    Recover any important data!
2.    Attempt to remount the file system. Look at /etc/fstab and attempt:

mount -o remount /

and the same process for the other partitions.

mount -as

may help?

3.     fsck (or equivalent for file system type all files systems

4.     Go and get a can of favourite beverage....*or* make a strong caffeinated drink because 3 often takes a long time.

5.     Pray.

6.     Possibly reinstall from scratch or replace HD - hopefully it won't come to this.

(   (()
(`-' _\
 ''  ''

0
 
LVL 15

Assisted Solution

by:DonConsolio
DonConsolio earned 40 total points
ID: 17012500
reboot your system ans check if there are any file system errors

you might need a manual "fsck" on boot
or start from Knoppix or rescue CD and manually fsck the apropriate partition
0
 

Author Comment

by:ITHCI
ID: 17012513
Thanks, I did the above steps already except for recover data as I am able to still mount the disk and read the files on it etc... if I use a SUSE rescue disk.  oh wait what is the "mount -as" ? I did a mount of the /dev/hda1 as rw and verified all fstab and mtab files seem to be correct with rw and defaults.

I also ran the fsch and all file systems came back good.

Any idea on what causes these issues? you said maybe failing hard disk?

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Accepted Solution

by:
pjedmond earned 460 total points
ID: 17012958
mount -as

means mount all devices in the /etc/fstab.....but do it in a 'sloppy' fashion - i.e. let the program guess the file system and configuration rather than explicitly stating it.

>I also ran the fsch and all file systems came back good.

You are obviously good at praying!

>Any idea on what causes these issues? you said maybe failing hard disk?

A powersupply 'glitch' could just upset a read/write process and result in a disk error. Operating systems are so complex, that there is no way that anyone can really guarantee that it is absolutely 100% correct....and of course the possibility of a genuine hard drive error which may (or may not) be a precursor to failure of the drive. I'd definitely check that SMART is enabled for the drive concerned, and perhaps treat it with more caution in future. ....but as you have excellent backups, it doesn't really matter if the drive goes up in smoke anyway;)

(   (()
(`-' _\
 ''  ''
0
 

Author Comment

by:ITHCI
ID: 17013295
Is running fsch a bad idea? generally? I may remove all necessary data and then rerun a mount -as as a last resort before complete rebuild.

Thanks,
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17013775
No - it's not a bad idea, in fact, the OS runs it as part of the boot process depending on the settings in the /etc/fstab

(   (()
(`-' _\
 ''  ''
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Impact of disabling SMB v1 on Mac and Linux clients 4 670
AWS EC2 HTTP & HTTPS 2 68
php56-php-mcrypt for rhel7 php56 1 98
SSL/TLS - openssl troubleshooting 3 58
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question