存档

作者存档

启动日志

2010年5月26日 没有评论

5月15日 Startup Phillip’s Website
5月18日

  • 修改日期参数: 修改the_time参数
  • 调整主页css
  • 安装wp_recentcomment插件
  • 调整sidebar.php中各部分名称及顺序
  • 去掉random posts, 改为recent posts

5月19日

  • 去掉widget中回复人头像
  • 将用户名和发布内容显示为一行
  • 在回复内容区域中, 调整时间和增加文字

5月20日

  • 页面优化: 使用本地头像取代远程连接获取avatar头像, 平均减少700-750ms响应时间.
  • 修改回复栏, 将@author改为对回复帖子的序号.

5月21日 调整侧栏recent post显示摘要内容, 去掉”回复#1楼:”字样
5月26日 将测试域名迁移到www.jikufurito.com

分类: 科技 标签:

Fixed: Can not start mysql service

2008年7月11日 没有评论

Install mysql in CentOS4.5 as default setting, and later find mysqld does not exist.

[root@perl ~]# service mysqld start
mysqld: unrecognized service

[root@perl ~]# mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

Check the current mysql package:
[root@perl ~]# rpm -qa | grep mysql
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-4.1.20-2.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-devel-4.1.20-2.RHEL4.1

The root cause is no mysql-server package installed. Just use yum to install this package:
[root@perl ~]# yum install mysql-server
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:01
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for mysql-server to pack into transaction set.
mysql-server-4.1.20-3.RHE 100% |=========================| 30 kB 00:03
—> Package mysql-server.i386 0:4.1.20-3.RHEL4.1.el4_6.1 set to be updated
–> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
mysql-server i386 4.1.20-3.RHEL4.1.el4_6.1 update 9.8 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 9.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): mysql-server-4.1.2 100% |=========================| 184 kB 05:42
http://ftp.cs.pu.edu.tw/Linux/CentOS/4.6/updates/i386/RPMS/mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
(1/1): mysql-server-4.1.2 100% |=========================| 2.4 MB 03:11
http://ftp.hostrino.com/pub/centos/4.6/updates/i386/RPMS/mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
(1/1): mysql-server-4.1.2 100% |=========================| 3.3 MB 02:30
http://ftp.twaren.net/Linux/CentOS/4.6/updates/i386/RPMS/mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
(1/1): mysql-server-4.1.2 100% |=========================| 3.4 MB 00:39
http://ftp.stu.edu.tw/Linux/CentOS/4.6/updates/i386/RPMS/mysql-server-4.1.20-3.RHEL4.1.el4_6.1.i386.rpm: [Errno 4] Socket Error: timed out
Trying other mirror.
(1/1): mysql-server-4.1.2 100% |=========================| 9.8 MB 00:09
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mysql-server ######################### [1/1]

Installed: mysql-server.i386 0:4.1.20-3.RHEL4.1.el4_6.1
Complete!

OK, the mysqld service can be started now.

[root@perl ~]# service mysqld start
Initializing MySQL database: [ OK ]
Starting MySQL: [ OK ]
[root@perl ~]#

Fixed.

分类: 科技 标签:

Motorola A1200 DB waiting

2008年6月28日 没有评论

My A1200 can not read or create short messages, view address book, and later it displayes “DB Waiting”. I find the solution, backup curent profile,and then “Setting-Clear all setting”. Reboot the phone, it turns well now. Today I have to stay at office and lead the test on 6.0.1 Firmware, while I am not satisfied with some testing engineers’ attitude, they always did not focus on the current job. I can not hold my fury to criticize them directly. These men should not be in my team. As former China coach Milutinovic said: Attitude is everything!

分类: 科技 标签:

Personal Development for Smart People

2008年6月24日 没有评论

Good site for self-motivation.
http://www.stevepavlina.com/

分类: 科技 标签:

Finger-ring available

2008年6月23日 没有评论

In slackware12.1, when update the current ATI driver 8.42 to the latest 8.6. I can use the finger-ring on mice now. By the way, after run ATI install scripts, it also should run “aticonfig” to init some parameters. Till now,the screen mess does not happen again.

分类: 科技 标签:

Review: May 5th – June 18th

2008年6月18日 没有评论

HDD lost issue was found at May 5th, as Liu Changjing verified the units sent to customer. Later, we tried almost all LSI firmware including original 6.0.1, 8.0.1-0035/38, and even the latest 9.0. While all this versions have various problems: HDD lost during fast initializing and slow initializing, and 9.0 can not recognize attached JBOD device at all. After contact with manufactory, and decided to upgrade from current backplane firmware 2.92 to 2.94, tuning the i-Button parameter(Post Delay =2). Till not, neither of above can resolve this issue as it seems we did not find the root cause.

Shanghai, an important customer need high-performance equipment, including Quad-Core, and 16GB Fully Buffer DIMM, it will encountered unexpected shutdown when load very heavy. Now, we find it is caused by no sufficient power supply. A solution is change the fan boards cables to motherboard, which is now shared from the backplane and harddisk.

I’m very tired during these days, and I know I can not lose confidence by myself: Life is going on, I must fight with my fate.

分类: 科技 标签:

Firefox crash by scim

2008年6月16日 没有评论

Fix firefox crash in Slackware 12.1
Error messages:
# firefox
/usr/lib/firefox-2.0.0.14/run-mozilla.sh: line 131: 3048 Segmentation fault “$prog” ${1+”$@”}

Resolution:
This issue is caused by “scim”.
# chmod +x /etc/profile.d/scim.sh
# chmod +x /etc/profile.d/scim.csh

And add a new script “scim_start.sh” to “~/.kde/Autostart” directory:
# cat scim_start.sh
scim -d
It means autostart scim after X start.

Now, firefox return.

分类: 科技 标签:

Install ATI driver in Slackware 12.0

2008年6月14日 没有评论

Yesterday installed Slackware 12.0 on dell Optiplex 320, and find its default video driver “VESA” only support “1024×768 61Hz”. So download the latest ATI Linux driver “ati_driver-installer-8.443.1-x86.x86_64.zip”, execute unzip and run the codes in text mode, it would display a command line gui for step-by-step configuration and setup. Follow the way, final can see the LCD has already support “1280×1024 75Hz”. It’s very cool and has nice gui of my slackware, even more beautiful than former Mandriva.

分类: 科技 标签:

Grown-up Life

2008年5月9日 没有评论

Do you know that the harder thing to do and the right thing to do are usually the same thing? Nothing that has meaning is easy. “Easy” doesn’t enter into grown-up life.

I remember once imagining what my life would be like, what I’d be like. I pictured having all these qualities, strong positive qualities that people could pick up on from across the room. But as time passed, few ever became any qualities that I actually had. And all the possibilities I faced and the sorts of people I could be, all of them got reduced every year to fewer and fewer. Until finally they got reduced to one, to who I am. And that’s who I am.

分类: 科技 标签:

BX schedule of May

2008年5月6日 没有评论

Pang will go to Taiwan tomorrow, just for changing password and re-configure PVG.

According to communication with Poweron TE, I know their requirements clearly and later created a report to Gavin. Poweron needs serial port to control Keyboard, which this port is used for debugging on current BX1200 system. I am going to build the testing environment and find the solution.

WebDisk and PVG would be integrated into a whole system, Pang said this is for convenience to carry the devices to Singapore(Demo Show). It seems Huang Pengcheng has became working on this issue.

Shan, Xiaoyu will arrive at Shenzhen, and he will give a training to Product Departments and Customer Service Team in Shenzhen. He is a good fellow.

FAQ and Feedback form, I will write these two documents in recent days.

Last Sunday, I went to Zhuhai with my wife. Zhuhai is still a quiet city, gray sea, blue sky and hot sunshine. It’s very nice to meet Plasmon’s old friends, Sam, Kevin, and Hans. Hans has been living with his girlfriend, who was working in Guangzhou when I am in Plasmon. Kevin said he plan to leave Plasmon and look for a revive. Sam now lived in 4rd floor, he even brought a game joystick for car racing. Everything looks so familiar, just as happened in yesterday, while it has been about one year. Thank you, my friends. It’s you who make me have the above feeling.

分类: 科技 标签: