restart mysql server, ftp server
Restart the Apache web server
[ec2-user ~]$ sudo service httpd restart
Restart the MySQL server
[ec2-user ~]$ sudo service mysqld restart
Restart vsftpd by typing:
sudo /etc/init.d/vsftpd restart
check error message
var/log/message find latest message file
cat /var/log/mysql/error.log