maicong / LNMP

Support: Nginx 1.12/1.13 + MySQL 5.5/5.6/5.7/8.0(MariaDB 5.5/10.0/10.1/10.2/10.3) + PHP 5.4/5.5/5.6/7.0/7.1/7.2 + phpMyAdmin(Adminer)
MIT License
257 stars 91 forks source link

[LNMP] Sorry, Install Failed. #4

Closed Chastex closed 8 years ago

Chastex commented 8 years ago

[Notice] Start service ... lnmp.sh: line 392: systemctl: command not found lnmp.sh: line 393: systemctl: command not found lnmp.sh: line 394: systemctl: command not found lnmp.sh: line 395: systemctl: command not found lnmp.sh: line 397: systemctl: command not found lnmp.sh: line 399: firewall-cmd: command not found lnmp.sh: line 400: firewall-cmd: command not found lnmp.sh: line 401: firewall-cmd: command not found lnmp.sh: line 403: systemctl: command not found lnmp.sh: line 404: systemctl: command not found lnmp.sh: line 405: systemctl: command not found lnmp.sh: line 407: mysqladmin: command not found lnmp.sh: line 408: mysqladmin: command not found lnmp.sh: line 409: mysql: command not found

maicong commented 8 years ago

This shell script just run on CentOS 7.

Chastex commented 8 years ago

sorry,i got it.

maicong commented 8 years ago

:)

Chastex commented 8 years ago

CentOS 7.

Failed to start mysqld.service: Unit mysqld.service failed to load: No such file or directory.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/home/userdata/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/home/userdata/mysqld.sock' exists!
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/home/userdata/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/home/userdata/mysqld.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/home/userdata/mysqld.sock' (2)

im new so dont know what to search... please

maicong commented 8 years ago

Please show me the full log. If you can't find it, try this:

maicong commented 8 years ago

Are you ok?

Chastex commented 8 years ago

Thanks!it works