LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2006, 05:02 PM   #1
jazee
LQ Newbie
 
Registered: Aug 2004
Location: westminster, CO
Distribution: Ubuntu 5.10 Breezy Bager
Posts: 24

Rep: Reputation: 15
Red Hat Server Problems with Command Line and MySQL


For some reason my Red Hat server keeps dieing on me. I get mysql.sock errors on all my website that connect to MySQL. I have found out that these are coming from the mysqld keeps shutting down. So when I try to start it again I get this error.
Code:
# service mysqld start
touch: cannot touch `/var/log/mysqld.log': Read-only file system
chmod: changing permissions of `/var/log/mysqld.log': Read-only file system
chmod: changing permissions of `/var/lib/mysql': Read-only file system
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:  /etc/rc.d/init.d/functions: line 415: /bin/false: Input/output error
                                                           [FAILED]
touch: cannot touch `/var/lock/subsys/mysqld': Read-only file system
I usaly have my ISP reboot it when this happens but I am getting tired of contact them everytime, one a day usaly to get it rebooted. So I try the shutdown command and get a diffrent error.

Code:
# shutdown -r
-bash: /sbin/shutdown: Input/output error
Any one have any ideas as to why this would happen. It is also killing my plesk interface as well. I can no longer get a log-in and I get DrWeb key errors when I try to start it.
 
Old 07-04-2006, 10:19 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Quote:
Read-only file system
suggests that the filesystem on /var/log resides is mounted as read-only, which makes writing to log files impossible.

So, I suggest either changing the log directory to a writable one, or remounting the /var/log filesystem as read-write.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat - Text to Speach Converter - Command Line Tool cgtueno Linux - Software 5 08-19-2008 07:18 AM
Linux Red Hat Advanced Server and the Kill Command rlangsto Linux - General 1 03-24-2005 12:47 PM
Upgrading Red Hat 9 to Red Hat Enterprise Server 3 AS louisb Linux - Software 7 02-23-2004 10:25 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Command line update utility ro Red Hat? ScreeminChikin Linux - General 4 01-17-2003 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration