全球主机交流论坛

标题: SHINKO 请看过来,9月29日的那个一键安装包似乎还是不灵 [打印本页]

作者: jc22    时间: 2009-10-16 16:47
标题: SHINKO 请看过来,9月29日的那个一键安装包似乎还是不灵
前两天用的LNMP.ZIP的,装mysql后没有问题

今天用lnmp.zip的,和上次一样,还是mysql的问题

我做了如下操作

[root@s39 www]# service mysqld stop
mysqld: unrecognized service
[root@s39 www]# yum install -y mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.arcticnetwork.ca
* updates: mirrors.easynews.com
* addons: centos.arcticnetwork.ca
* extras: mirror.stanford.edu
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.i386 0:5.0.77-3.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
Package                    Arch             Version                     Repository           Size
===================================================================================================
Installing:
mysql-server               i386             5.0.77-3.el5                updates             9.8 M
Installing for dependencies:
perl-DBD-MySQL             i386             3.0007-2.el5                base                148 k

Transaction Summary
===================================================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 9.9 M
Downloading Packages:
(1/2): perl-DBD-MySQL-3.0007-2.el5.i386.rpm                                 | 148 kB     00:00
(2/2): mysql-server-5.0.77-3.el5.i386.rpm                                   | 9.8 MB     00:01
---------------------------------------------------------------------------------------------------
Total                                                              3.6 MB/s | 9.9 MB     00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl-DBD-MySQL                                    [1/2]
  Installing     : mysql-server                                      [2/2]

Installed: mysql-server.i386 0:5.0.77-3.el5
Dependency Installed: perl-DBD-MySQL.i386 0:3.0007-2.el5
Complete!
[root@s39 www]# yum install -y php-mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.arcticnetwork.ca
* updates: mirrors.easynews.com
* addons: centos.arcticnetwork.ca
* extras: mirror.stanford.edu
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php-mysql
--> Processing Dependency: php-pdo for package: php-mysql
--> Running transaction check
---> Package php-common.i386 0:5.1.6-23.2.el5_3 set to be updated
---> Package php-pdo.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
Package                Arch             Version                         Repository           Size
===================================================================================================
Installing:
php-mysql              i386             5.1.6-23.2.el5_3                updates              85 k
Installing for dependencies:
php-common             i386             5.1.6-23.2.el5_3                updates             151 k
php-pdo                i386             5.1.6-23.2.el5_3                updates              64 k

Transaction Summary
===================================================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 300 k
Downloading Packages:
(1/3): php-pdo-5.1.6-23.2.el5_3.i386.rpm                                    |  64 kB     00:00
(2/3): php-mysql-5.1.6-23.2.el5_3.i386.rpm                                  |  85 kB     00:00
(3/3): php-common-5.1.6-23.2.el5_3.i386.rpm                                 | 151 kB     00:00
---------------------------------------------------------------------------------------------------
Total                                                              138 kB/s | 300 kB     00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php-common                                        [1/3]
  Installing     : php-pdo                                           [2/3]
  Installing     : php-mysql                                         [3/3]

Installed: php-mysql.i386 0:5.1.6-23.2.el5_3
Dependency Installed: php-common.i386 0:5.1.6-23.2.el5_3 php-pdo.i386 0:5.1.6-23.2.el5_3
Complete!
[root@s39 www]# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@s39 www]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.1.39-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit
Bye
[root@s39 www]# service mysqld stop
Stopping MySQL:                                            [FAILED]
[root@s39 www]# service mysqld restart
Stopping MySQL:                                            [FAILED]
Initializing MySQL database:  WARNING: The host 's39.fsck' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
091016 16:42:19 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4         294967295
091016 16:42:19 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4         294967295
091016 16:42:19 [ERROR] /usr/libexec/mysqld: unknown variable 'table_open_cache=64'
Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
                                                           [FAILED]

不知道为什么启动和停止MYSQL服务 失败
作者: shinko    时间: 2009-10-16 16:57
mysql用了最新版,可能有问题吧,你试下旧的能不能安装
作者: cpuer    时间: 2009-10-16 17:00
标题: 回复 1# 的帖子
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers

安装一键安装包前都有安装不?
作者: mojave    时间: 2009-10-16 17:05
我用的挺好的
作者: shinko    时间: 2009-10-16 17:08
原帖由 mojave 于 2009-10-16 17:05 发表
我用的挺好的


是用的9月29日的嘛?

29日的,我更新了mysql版本..

现在看来,还是7月的版本是稳定版~
作者: mojave    时间: 2009-10-16 17:12
标题: 回复 5# 的帖子
是的。29号的
作者: shinko    时间: 2009-10-16 17:14
那么楼主安装不上.可能是按照环境有问题..就是那些yum安装的安装不上了~

可能,具体原因还是要一步一步看错误~
作者: xiejiji    时间: 2009-10-16 17:14
我安装的时候就是phpmyadmin没安装上。链接失效了。没什么影响。
作者: cpuer    时间: 2009-10-16 17:27
标题: 回复 5# 的帖子
楼主可以选择安装旧版本的mysql。
作者: jc22    时间: 2009-10-16 17:41
谢谢 C 大和SHINKO, 我有YUM -y install gcc gcc-c++等所有

我还是选择大LNMP.zip的这个包吧,感谢mojave,xiejiji 关注
作者: jc22    时间: 2009-10-16 17:42
另外,我安装完全部后,有3.9个G,请问,哪些东西可以删掉?
作者: shinko    时间: 2009-10-16 17:45
标题: 回复 11# 的帖子
如果我没有记错,那些安装包加起来都没有100M的..基本没什么删了,

3.9G,应该是系统加软件安装后的大小吧~
作者: cpuer    时间: 2009-10-16 17:53
标题: 回复 12# 的帖子
3.9GB应该是总和。
作者: shinko    时间: 2009-10-16 17:56
标题: 回复 13# 的帖子
这个大小应该是没问题的吧..我感觉是正常的~
作者: cpuer    时间: 2009-10-16 18:39
标题: 回复 14# 的帖子
嗯,那么大主要是系统大,生产环境的东西不大。
作者: jc22    时间: 2009-10-17 12:14
对,总硬盘使用,大概3.9G,谢谢SHINKO和C大
作者: jc22    时间: 2009-10-17 12:16
另外,执行 ./install.sh后
跳checking ......, 最后 有些跟yes, 有些跟no,没关系吧 跳得很快,也没看清楚是啥
作者: cpuer    时间: 2009-10-17 12:27
标题: 回复 16# 的帖子
那就没啥问题。
作者: cpuer    时间: 2009-10-17 12:28
原帖由 jc22 于 2009-10-17 12:16 发表
另外,执行 ./install.sh后
跳checking ......, 最后 有些跟yes, 有些跟no,没关系吧 跳得很快,也没看清楚是啥


应该没啥关系的。




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4