标题:
[求助]
lanmp_wdcp_v2.4快速安装RPM包安装后严重问题
[打印本页]
作者:
dan
时间:
2013-1-10 11:51
标题:
lanmp_wdcp_v2.4快速安装RPM包安装后严重问题
512MB VPS, 装的centos 6 32bit, 系统纯净,未安装其它。安装RPM包后,最后提示安装成功,然后卡死,无法PING,不能SSH,
可以通过VPS提供商的面板可看到状态和操作,证明VPS主机应该没问题,但无法通过putty来SSH。
附安装最后部分代码:
--2013-01-10 06:27:29-- http://dl.wdlinux.cn:5180/rpms/lanmp_wdcp-2-5.el6.i386.rpm
Resolving dl.wdlinux.cn... 61.146.178.5
Connecting to dl.wdlinux.cn|61.146.178.5|:5180... connected.
HTTP request sent, awaiting response... 200 OK
Length: 90710939 (87M) [text/plain]
Saving to: “lanmp_wdcp-2-5.el6.i386.rpm”
100%[======================================>] 90,710,939 6.77M/s in 14s
2013-01-10 06:27:46 (6.08 MB/s) - “lanmp_wdcp-2-5.el6.i386.rpm” saved [90710939/90710939]
Preparing... ########################################### [100%]
1:lanmp_wdcp ########################################### [100%]
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/www/wdlinux/mysql-5.1.63/bin/mysqladmin -u root password 'new-password'
/www/wdlinux/mysql-5.1.63/bin/mysqladmin -u root -h danrun password 'new-password'
Alternatively you can run:
/www/wdlinux/mysql-5.1.63/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /www/wdlinux/mysql-5.1.63 ; /www/wdlinux/mysql-5.1.63/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /www/wdlinux/mysql-5.1.63/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /www/wdlinux/mysql-5.1.63/bin/mysqlbug script!
chown: invalid user: `mysql.mysql'
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
/www/wdlinux/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Starting httpd: [ OK ]
Starting nginx: [ OK ]
Starting httpd: [ OK ]
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 -B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p20000:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf
============ lanmp_wdcp install OK ==============
复制代码
作者:
admin
时间:
2013-1-10 12:57
重新安装试试
作者:
dan
时间:
2013-1-10 13:11
本帖最后由 dan 于 2013-1-10 13:14 编辑
因为没办法ssh, 只能通过VPS商的控制面板重新安装一次centos6 32bit系统了, 安装完后, SSH恢复正常连接.
重试了一次快速RPM安装, 状况一样, 到最后提示安装完成后, SSH就自动断开连接, 再也连不上去, VPS的IP加上8080, 也不能显示WDCP的页面, 但实际上VPS主机并没问题. 只是不能SSH, 不能PING.
请老大检查一下是否这个快速安装包有改动过SSH的端口? 还是防火墙之类的?
作者:
wulali
时间:
2013-1-10 13:14
应该不会改变或关闭SSH端口的,
试试用一键安装包通过源码编译安装吧
http://www.wdlinux.cn/bbs/thread-2523-1-1.html
作者:
dan
时间:
2013-1-10 13:15
好, 等下再试试编译安装
作者:
admin
时间:
2013-1-10 16:09
回复
3#
dan
不会修改SSH端口的,不过会调整iptables的规则,如果在安装之前修改过SSH的端口,也就是非默认的22端口,则可能会有问题
作者:
dan
时间:
2013-1-10 17:27
回复 dan
不会修改SSH端口的,不过会调整iptables的规则,如果在安装之前修改过SSH的端口,也就是非默 ...
admin 发表于 2013-1-10 16:09
请问是调整了iptables的哪些规则?因为试了几次都是最后就自动断开SSH,好生奇怪。下午试了用编译安装,很正常,难道是RPM不适合用在我这个VPS?
PS:VPS是米国的bluevm, 512MB内存,openvz,装的是centOS6.2 32bit
作者:
admin
时间:
2013-1-10 21:27
可能和openvz有关
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/)
Powered by Discuz! 7.2