- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2010-5-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2010-6-9 18:01:24
|
显示全部楼层
vmware重新安装以后,解压不再出错。
现在我在我新买的VPS会提示如下错误。
Xen方案的,内存256MB
提示这个
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DMYSQL_DATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DPLUGINDIR="\"/usr/local/mysql/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_yacc.o -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[3]: *** [sql_yacc.o] Error 1
make[3]: Leaving directory `/root/lnmp0.4-full/mysql-5.1.44/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/lnmp0.4-full/mysql-5.1.44/sql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/lnmp0.4-full/mysql-5.1.44/sql'
make: *** [all-recursive] Error 1
cp: cannot stat `/usr/local/mysql/share/mysql/my-medium.cnf': No such file or directory
./centos.sh: line 243: /usr/local/mysql/bin/mysql_install_db: No such file or directory
chown: cannot access `/usr/local/mysql/var': No such file or directory
chgrp: cannot access `/usr/local/mysql/.': No such file or directory
cp: cannot stat `/usr/local/mysql/share/mysql/mysql.server': No such file or directory
chmod: cannot access `/etc/init.d/mysql': No such file or directory
error reading information on service mysql: No such file or directory
./centos.sh: line 255: /etc/init.d/mysql: No such file or directory
./centos.sh: line 257: /usr/local/mysql/bin/mysqladmin: No such file or directory
./centos.sh: line 259: /etc/init.d/mysql: No such file or directory
./centos.sh: line 260: /etc/init.d/mysql: No such file or directory
error reading information on service mysql-ndb: No such file or directory
error reading information on service mysql-ndb-mgm: No such file or directory
接下去编译php的时候
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
cp: cannot create regular file `/usr/local/php/etc/php.ini': No such file or directory
package.xml
memcache-2.2.5/config.m4
memcache-2.2.5/config9.m4
memcache-2.2.5/config.w32
memcache-2.2.5/CREDITS
memcache-2.2.5/example.php
memcache-2.2.5/memcache.c
memcache-2.2.5/memcache_queue.c
memcache-2.2.5/memcache_session.c
memcache-2.2.5/memcache_standard_hash.c
memcache-2.2.5/memcache_consistent_hash.c
memcache-2.2.5/memcache.dsp
memcache-2.2.5/php_memcache.h
memcache-2.2.5/memcache_queue.h
memcache-2.2.5/README
memcache-2.2.5/memcache.php
./centos.sh: line 282: /usr/local/php/bin/phpize: No such file or directory
./centos.sh: line 283: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
package2.xml
PDO_MYSQL-1.0.2/config.m4
PDO_MYSQL-1.0.2/CREDITS
PDO_MYSQL-1.0.2/mysql_driver.c
PDO_MYSQL-1.0.2/mysql_statement.c
PDO_MYSQL-1.0.2/pdo_mysql.c
PDO_MYSQL-1.0.2/php_pdo_mysql.h
PDO_MYSQL-1.0.2/php_pdo_mysql_int.h
PDO_MYSQL-1.0.2/php_pdo_mysql_sqlstate.h
package.xml
./centos.sh: line 289: /usr/local/php/bin/phpize: No such file or directory
./centos.sh: line 290: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
sed: can't read /usr/local/php/etc/php.ini: No such file or directory
有没有可能是内存用光造成的?我这个VPS是xen方案的256mb
mysql出错前正在编译的那个文件,我重新试了好几次,都卡在这里。
编译的时间也很长。
top - 18:04:47 up 37 min, 2 users, load average: 5.68, 3.95, 2.27
Tasks: 51 total, 2 running, 49 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 93.9%sy, 0.0%ni, 0.0%id, 5.7%wa, 0.0%hi, 0.0%si, 0.2%st
Mem: 262144k total, 260020k used, 2124k free, 104k buffers
Swap: 0k total, 0k used, 0k free, 4116k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
85 root 10 -5 0 0 0 S 29.2 0.0 1:35.98 kswapd0
1241 root 18 0 3804 216 128 S 29.1 0.1 0:41.25 klogd
6320 root 18 0 12608 504 236 R 18.4 0.2 0:13.96 top
1238 root 18 0 5908 228 104 D 5.8 0.1 0:41.26 syslogd
6261 root 18 0 226m 198m 184 D 3.3 77.7 0:46.08 cc1plus
1 root 18 0 10348 108 0 S 3.1 0.0 0:22.69 init
24289 root 15 0 90248 884 4 S 0.2 0.3 0:11.72 sshd
246 root 10 -5 0 0 0 S 0.1 0.0 0:00.47 kjournald
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenbus
17 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
-bash-3.2# free
total used free shared buffers cached
Mem: 262144 252508 9636 0 136 3964
-/+ buffers/cache: 248408 13736
Swap: 0 0 0
[ 本帖最后由 luyi 于 2010-6-9 18:08 编辑 ] |
|