1.查看配置文件语法

vim /etc/*
2.查看端口
netstat -an | grep *
3.查看进程
ps aux | grep *
4.看错误日志
tail  -f /var/log/messages


注:通过以上步骤基本解决问题