AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 软重启VPS之后,amh5.0面板无法访问 |
|
---|---|
iMboya |
iMboya 发表于 2014-11-13 16:42:43
本帖最后由 iMboya 于 2014-11-13 16:52 编辑
使用ip:端口访问面板时, 提示 [Amysql-Notice] Can't connect to local MySQL server through socket '/tmp/mysql-generic-5.5.40.sock' (2) Mysql链接出错,请配置/Amysql/config.php文件。# 尝试重启amh,提示[root@haodingzan ~]# /etc/init.d/amh-start 单独尝试重启mysql,提示============================================================= [Linux] AMH 5.0 http://amh.sh [amchroot-1.1 boot] ============================================================= [Notice] amchroot-1.1 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [amdata-1.0 boot] ============================================================= [Notice] amdata-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [amftp-2.0 boot] ============================================================= [Notice] amftp-2.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [amh-5.0 boot] ============================================================= [OK] amh-5.0 is already installed. [OK] amh-5.0 start ============================================================= [Linux] AMH 5.0 http://amh.sh [ampathinfo-1.0 boot] ============================================================= [Notice] ampathinfo-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [amrewrite-1.0 boot] ============================================================= [Notice] amrewrite-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [d-cpu-1.0 boot] ============================================================= [Notice] d-cpu-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [d-disk-1.0 boot] ============================================================= [Notice] d-disk-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [d-net-1.0 boot] ============================================================= [Notice] d-net-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [d-os-1.0 boot] ============================================================= [Notice] d-os-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [d-ram-1.0 boot] ============================================================= [Notice] d-ram-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [kodexplorer-2.7.3 boot] ============================================================= [Notice] kodexplorer-2.7.3 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [libiconv-1.14 boot] ============================================================= [Notice] libiconv-1.14 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [lnmp-1.5 boot] ============================================================= [Error] wwwroot is not exist. ============================================================= [Linux] AMH 5.0 http://amh.sh [madmin-1.0 boot] ============================================================= [Notice] madmin-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [mysql-generic-5.5.40 boot] ============================================================= [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. ============================================================= [Linux] AMH 5.0 http://amh.sh [nginx-generic-1.6.0 boot] ============================================================= [OK] nginx-generic-1.6.0 is already installed. [OK] nginx-generic-1.6.0 start ============================================================= [Linux] AMH 5.0 http://amh.sh [pdo_mysql-1.0 boot] ============================================================= [Notice] pdo_mysql-1.0 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [php-generic-5.3.28 boot] ============================================================= [Notice] php-generic-5.3.28 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [phpmyadmin-4.0.10.2 boot] ============================================================= [Notice] phpmyadmin-4.0.10.2 No boot-options. ============================================================= [Linux] AMH 5.0 http://amh.sh [pure-ftpd-1.0.36 boot] ============================================================= [OK] pure-ftpd-1.0.36 is already installed. Starting pure-config.pl: Running: /usr/local/pure-ftpd-1.0.36/sbin/pure-ftpd --daemonize -g/usr/local/pure-ftpd-1.0.36/pure-ftpd.pid -S21 -A -c50 -B -C8 -D -E -fftp -H -I15 -lpuredb:/usr/local/pure-ftpd-1.0.36/etc/pureftpd.pdb -lunix -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -p10100:10180 ============================================================= [Linux] AMH 5.0 http://amh.sh [zendx-1.0 boot] ============================================================= [Notice] zendx-1.0 No boot-options. [root@haodingzan ~]# amh mysql start ============================================================= [Linux] AMH 5.0 http://amh.sh [mysql start] ============================================================= ============================================================= [Linux] AMH 5.0 http://amh.sh [mysql-generic-5.5.40 start] ============================================================= mysql-generic-5.5.40 [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. [root@haodingzan ~]# df -lh 没有 /home/usrdata/mysql* 这个目录Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_501153278-lv_root 8.4G 1.8G 6.2G 23% / tmpfs 503M 0 503M 0% /dev/shm /dev/xvda1 485M 84M 376M 19% /boot mysql权限为 drwxr-xr-x 13 mysql mysql 4096 Nov 2 13:17 mysql-generic-5.5.40
点赞,加油! (0分)
2014-11-13 16:42:43 1
|
iMboya |
本帖最后由 iMboya 于 2014-11-13 16:58 编辑
硬重启之后,看到/home/usrdata/ drwx------ 11 mysql mysql 4096 Nov 13 16:57 mysql-generic-5.5.40
回复
2014-11-13 16:55:36 2
|
iMboya |
额,再次尝试
amh mysql start 之后, 竟然 [root@haodingzan /]# amh mysql start 现在已经可以访问面板了……
============================================================= [Linux] AMH 5.0 http://amh.sh [mysql start] ============================================================= ============================================================= [Linux] AMH 5.0 http://amh.sh [mysql-generic-5.5.40 start] ============================================================= mysql-generic-5.5.40 [OK] mysql-generic-5.5.40 is already installed. Starting MySQL SUCCESS!
回复
2014-11-13 17:01:19 3
|
lpd15867 |
不明觉梨
回复
2014-11-13 17:04:52 4
|
iMboya |
回复
2014-11-13 21:41:55 5
|
amysql |
解决了就好。是有挂载盘吧。
应该是没挂载的原因,没有/home 目录。 mysql 读取不到数据。
回复
2014-11-14 12:04:26 6
AMH面板 - 好用高效低占用、安全可靠极稳定 |