jazee |
07-03-2006 05:02 PM |
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.
|