解决1mysql
mysqld stop nginx
mysql.server startsql
解决2ruby
https://ruby-china.org/topics/794socket
sudo nginx -c /usr/local/conf/nginx.confpost
sudo nginx -t 能够查看载入了哪一个配置文件,上面这个错误是由于真正的配置在/usr/local/etc/nginx/conf.d下,里面的配置文件写错了,昨天花了挺多时间找错误,今天总算水落石出。spa