- 积分
- 10
- 威望
-
- 金钱
-
- 注册时间
- 2014-1-8
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
我 是 debian系统 安装了 一键包后 发现 mysql无法远程 管理 输入密码也提示禁止登陆
Add php-fpm service at system startup...
update-rc.d: using dependency based boot sequencing
Starting php-fpm [21-Jul-2015 15:14:41] ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
[21-Jul-2015 15:14:41] ERROR: FPM initialization failed
failed
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
+------------------------------------------------------------------------+
| LNMP V1.2 for Debian Linux Server, Written by Licess |
+------------------------------------------------------------------------+
| For more information please visit http://www.lnmp.org |
+------------------------------------------------------------------------+
| lnmp status manage: lnmp {start|stop|reload|restart|kill|status} |
+------------------------------------------------------------------------+
| phpMyAdmin: http://IP/phpmyadmin/ |
| phpinfo: http://IP/phpinfo.php |
| Prober: http://IP/p.php |
+------------------------------------------------------------------------+
| Add VirtualHost: lnmp vhost add |
+------------------------------------------------------------------------+
| Default directory: /home/wwwroot/default |
+------------------------------------------------------------------------+
| MySQL/MariaDB root password: dgf5shgkifd |
+------------------------------------------------------------------------+
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
nginx (pid 1230 1229 1228 1227 1226) is running...
php-fpm is runing!
MySQL running (3066).
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
Install lnmp V1.2 completed! enjoy it.
root@CS150721001:~/lnmp1.2-full# reboot
Broadcast message from root@CS150721001 (pts/0) (Tue Jul 21 15:16:24 2015):
The system is going down for reboot NOW!
root@CS150721001:~/lnmp1.2-full#
login as: root
root@ip's password:
Server refused to set all environment variables
Linux CS150721001 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64
Welcome to aliyun Elastic Compute Service!
Last login: Tue Jul 21 14:44:38 2015 from 110.80.24.50
root@CS150721001:~# ls
lnmp1.2-full lnmp-install.log
lnmp1.2-full.tar.gz reset_mysql_root_password.sh
root@CS150721001:~# mysql -uroot
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
root@CS150721001:~# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 ip:22 ip:61551 ESTABLISHED
tcp 0 0 ip:22 ip:61638 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:54968 0.0.0.0:* |
|