AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 通过镜像恢复服务器数据后重新安装amh无法登陆管理面板 |
|
---|---|
200882254 |
200882254 发表于 2018-05-19 13:26:19
提示:[Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql-generic-5.5.40.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。#
为什么重新安装还要修改配置文件啊?
点赞,加油! (0分)
2018-05-19 13:26:19 1
|
9513645 |
解决排查
1) df -h 看磁盘是否有空间、 2) ls -l /home/usrdata/mysql*目录是否有权限、 3) find / -name my.cnf 查找是否有重复配置, 与检查my.cnf配置是否正确。 大多人都是因为没关日记导致硬盘满了。。。
回复
2018-05-19 13:33:43 2
|
kint7669 |
amh mysql start
试一下。
回复
2018-05-19 14:24:58 3
|
200882254 |
硬盘没有满,镜像只有20g,硬盘有50g
回复
2018-05-19 14:25:54 4
|
200882254 |
[root@VM_131_53_centos ~]# amh mysql start ============================================================= [Linux] AMH 5.5 http://amh.sh [mysql start] ============================================================= ============================================================= [Linux] AMH 5.5 http://amh.sh [mysql-generic-5.5 start] ============================================================= [OK] mysql-generic-5.5 is already installed. Starting MySQL SUCCESS! ============================================================= [Linux] AMH 5.5 http://amh.sh [mysql-generic-5.5.40 start] ============================================================= [OK] mysql-generic-5.5.40 is already installed. Starting MySQL. ERROR! The server quit without updating PID file (/home/usrdata/mysql-generic-5.5.40/mysql.pid). cat: /home/usrdata/mysql-generic-5.5.40/*.err: No such file or directory [Error] mysql-generic-5.5.40 start failed.
回复
2018-05-19 14:28:04 5
|
kint7669 |
嗯,看上去是SQL启动失败。
回复
2018-05-20 09:50:18 6
|
LHY2017 |
重启服务器然后执行
amh nginx start或者amh apache start amh mysql start
回复
2018-05-20 18:42:01 7
|
200882254 |
[root@VM_49_158_centos ~]# amh mysql start ============================================================= [Linux] AMH 5.3 http://amh.sh [mysql start] ============================================================= ============================================================= [Linux] AMH 5.3 http://amh.sh [mysql-generic-5.5 start] ============================================================= mysql-generic-5.5 [OK] mysql-generic-5.5 is already installed. Starting MySQL SUCCESS! [root@VM_49_158_centos ~]# amh apache start ============================================================= [Linux] AMH 5.3 http://amh.sh [apache start] ============================================================= [AMH] Please select module: 1) amchroot-1.5.1 10) d-os-1.0 19) nginx-generic-1.6 2) amfile-1.1 11) d-ram-1.5 20) opcache-1.0 3) amftp-2.5 12) ioncube_loaders-1.7 21) pdo_mysql-1.0 4) amh-5.3 13) libiconv-1.14 22) php-5.4 5) amrewrite-1.5 14) lnmp-2.9 23) php-7.0 6) amssl-2.0 15) mcrypt-1.0 24) php-generic-5.3 7) d-cpu-1.6 16) memcached-1.5 25) phpmyadmin-4.0.10.20 8) d-io-1.0 17) mysql-generic-5.5 26) pure-ftpd-1.0.36 9) d-net-1.5 18) nginx-1.8 27) zendx-1.5 #? 17 [Notice] mysql-generic-5.5 module management, please select: 1) info 4) init 7) start 10) uninstall 13) exit 2) boot 5) install 8) status 11) upgrade 3) check 6) restart 9) stop 12) delete #? ^C[root@VM_49_158_centos ~]# 6 -bash: 6: command not found [root@VM_49_158_centos ~]# ^C
回复
2018-05-21 15:34:50 8
|
LHY2017 |
引用: 4
回复
2018-06-25 16:57:15 9
|