Solved

System crash, TTY Read Only file system issue.

Posted on 2006-06-29
6
910 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP error function not working on AWS 10 168
UM7 Stop Sending packets with GPS Sensor 1 44
database connection error mysql stops 7 82
bash: ./Facebooker.pl :Permission Denied 9 51
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

732 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