全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3752|回复: 18
打印 上一主题 下一主题

SHINKO 请看过来,9月29日的那个一键安装包似乎还是不灵

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-16 16:47:40 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
前两天用的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服务 失败
19#
发表于 2009-10-17 12:28:20 | 只看该作者
原帖由 jc22 于 2009-10-17 12:16 发表
另外,执行 ./install.sh后
跳checking ......, 最后 有些跟yes, 有些跟no,没关系吧 跳得很快,也没看清楚是啥


应该没啥关系的。
18#
发表于 2009-10-17 12:27:57 | 只看该作者

回复 16# 的帖子

那就没啥问题。
17#
 楼主| 发表于 2009-10-17 12:16:32 | 只看该作者
另外,执行 ./install.sh后
跳checking ......, 最后 有些跟yes, 有些跟no,没关系吧 跳得很快,也没看清楚是啥
16#
 楼主| 发表于 2009-10-17 12:14:35 | 只看该作者
对,总硬盘使用,大概3.9G,谢谢SHINKO和C大
15#
发表于 2009-10-16 18:39:16 | 只看该作者

回复 14# 的帖子

嗯,那么大主要是系统大,生产环境的东西不大。
14#
发表于 2009-10-16 17:56:50 | 只看该作者

回复 13# 的帖子

这个大小应该是没问题的吧..我感觉是正常的~
13#
发表于 2009-10-16 17:53:35 | 只看该作者

回复 12# 的帖子

3.9GB应该是总和。
12#
发表于 2009-10-16 17:45:55 | 只看该作者

回复 11# 的帖子

如果我没有记错,那些安装包加起来都没有100M的..基本没什么删了,

3.9G,应该是系统加软件安装后的大小吧~
11#
 楼主| 发表于 2009-10-16 17:42:24 | 只看该作者
另外,我安装完全部后,有3.9个G,请问,哪些东西可以删掉?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-11 20:36 , Processed in 0.120218 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表