Set Idle Timeout Interval for User Logins
SSH allows administrators to set an idle timeout interval. After this interval has passed, the idle user will be
automatically logged out.
Find and edit the following lines in /etc/ssh/sshd_config as follows:
ClientAliveInterval interval
ClientAliveCountMax 0
The timeout interval is given in seconds. To have a timeout of 5 minutes, set interval to 300.
Timeout error occurred when trying to start MySQL Daemon.
If you are getting the following error while trying to start MySQL service;
[root@ ~]# /etc/init.d/mysqld restart
Stopping MySQL: [FAILED]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
And if you are getting the following error in the MySQL log;
[root@ ~]# tail -f /var/log/mysqld.log
080503 14:30:28 [ERROR] Can’t start server: can’t create PID file: No space left on device
Number of processes running now: 0
080503 14:30:28 mysqld restarted
080503 14:30:28 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
The issue might be due to the lack of space in the ‘/var’ partition. So you need to reduce the disk space, which should fix the issue.
[root@ ~]# df -h
[root@ ~]# cd /var
[root@ ~]# du -sch *
Using the above commands, you can see that files and folders which consumes more size. You need to delete the unwanted files or folders and try reduce the size.
Try restart the MySQL service.
[root@ ]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]