11月3

今天重装了CentOS下的mysql,但进入mysql时却提示:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

解决方法:
[root@CentOS~]# rm -fr /var/lib/mysql/*
[root@CentOS~]# rm /var/lock/subsys/mysqld
[root@CentOS~]# killall mysqld //*干掉mysql进程*//
[root@CentOS~]# service mysqld restart //*重启mysql服务*//
[root@CentOS~]# 做自己该做的事……

搞定!

9月8

今天抽空测试了一下ASP.NET运行环境,在网上下了一套ASP.NET的程序,但在访问的时候,却提示:

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.


解决方法:
给站点目录添加NETWORK SERVICE帐户,权限分配为:“读取和运行”、“列出文件夹目录”、“读取”

9月4

错误信息中说明,由于找不到“fixed”这种缺省的系统字体导致X-Window启动不了。X系统的缺省字体“fixed”系列存放在/usr/X11R6/lib/X11/fonts/misc目录下,只要没有误删这个目录就可以恢复。

解决方案:
编辑/etc/X11/XF86Config,在 [Section 'Files'] 里的“FontPath”段(或许这个文件里面以前有FontPath这一字段,不要修改它,直接另起一行)加入以下字体路径定义:
FontPath "/usr/X11R6/lib/X11/fonts/misc"
:wq!,reboot,startx,搞定!

分页: 2/2 第一页 上页 1 2 最后页 [ 显示模式: 摘要 | 列表 ]