文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>安装错误处理日志

安装错误处理日志

时间:2007-04-05  来源:iceFire123

服务器的安装并不是一帆风顺的,遇到不少麻烦。以下是记录的几个错误以后遇见了就知道如何处理了,吃一蛰长一智哈^_^。

####error.log#####
#######Record by iceFire #########
[2007/3/31]
mysql install log.
1.problem mysql server can't start.
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
//shell> tar zxvf /PATH/TO/MYSQL-VERSION-OS.tar.gz
shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root  .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
That is the handbook of MySQL installing,but I got some error in my installing.
The problem is the mysql server can't start.It likes that:
[root@c0201 root]# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Finally I solved this problem by command
[root@c0201 mysql]# cp support-files/my-medium.cnf /etc/my.cnf
cp:是否覆盖‘/etc/my.cnf’? y

2.How to start mysql server at sysyem up?
[root@c0201 mysql]# cp support-files/mysql.server /etc/rc.d/init.d/mysqld

3.Install jakarta-tomcat-connectors.

[2007/4/2]
1.Why I can't connect the X server when install oracle 10g?
The problem is like that:"OUI-10025: 由于出现以下错误, 无法启动交互式安装会话: Can't connect to X11 window server using '202.197.*.*:0.0' as the value of the DISPLAY variable.。DISPLAY 环境变量应该设置为 <hostname>:<screen> 或 <IP address>:<screen>, 其中 <screen> 通常为 '0.0'。"
I solved this problem by command below.
[oracle@c0201 oracle]$ vi .bash_profile
#add a line: export DISPLAY=127.0.0.1:0.0
[oracle@c0201 oracle]$ export DISPLAY=127.0.0.1:0.0
[oracle@c0201 oracle]$ xclock
It dispeared a clock in graphic mode, everything is ok now.
相关阅读 更多 +
排行榜 更多 +
房间毁灭模拟器最新版

房间毁灭模拟器最新版

休闲益智 下载
街头追逐者最新版

街头追逐者最新版

休闲益智 下载
弓箭手2内置作弊菜单

弓箭手2内置作弊菜单

休闲益智 下载