extman:Can’t locate Ext/MIME.pm in @INC (@INC contains

配置完exitmail,打开、登陆都正常。就extman不行。升级了perl,报错没有丝毫改变。
Can’t locate Ext/MIME.pm in @INC (@INC contains: /data/mail/extman/libs /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/li...

libexpat.so: could not read symbols: File in wrong format

今天安装apache2.2.11,make后出现错误:
/usr/lib/libexpat.so: could not read symbols: File in wrong format
找了半天没有搞定,最后硬是把/usr/lib/libexpat.so 重新改名,将/usr/local/apr-util/lib/libexpat.so.0.1.0 软连接过来,才编译过去。
mv /usr/lib/libexpat.so /usr/lib/libexpat.so_bakln -s /usr/local/apr-util/lib/libexpat.so.0.1.0  /usr/lib/libexpat.so
然后再编译,编译通过。

...

dede_search_keywords’ is marked as crashed and should be repaired

今天前台查询报错,考虑到程序升级过,怀疑表没有了,而dede_search_keywords这个表又是是存在的,先尝试修复:
/usr/local/mysql/bin/myisamchk -c -r /mysql_data/xxx/dede_search_keywords.MYI
- recovering (with sort) MyISAM-table ‘/mysql_data/xxx/dede_search_keywords.MYI’
Data records: 14853
- Fixing index 1
- Fixing index 2
修复方法多种,有repair table,也可以用phpmyadmin傻瓜式的,操作简单。
再去搜索,没有报错了。还是怀疑是升级导致此问题。

...

mysqldump: Got error: 1044: Access denied…when using LOCK TABLES

mysql使用普通用户备份出现:
[root@xok.la]# mysqldump -u dbuser -ppass db > db.sql
mysqldump: Got error: 1044: Access denied for user ‘dbuser’@'localhost’ to database ‘db’ when using LOCK TABLES
解决一:
加上-skip-lock-tables选项即可。即:
[root@xok.la]# mysqldump -u dbuser -ppass db –skip-lock-tables > db.sql
解决2:
使用root账户备份。

...

在线AIX5模拟学习环境(freebsd,solaris)

找了很久的AIX学习环境,网上看到有在RHEL3的IBM的模拟器,但是我已经没有RHEL3机器了,也不想去弄那复杂的配置。于是继续在网上寻觅。果然找到了。一个公益性组织:
http://www.unix-center.net/?page_id=2
上面可以看到有freebsd,solaris,aix学习环境,而且是真实的环境,我马上注册了账户,看了下。基本的指令学习完全满足,大的操作才能在自己真是的机器上完成了,因为他们分派的权限不可能什么都给的。
首先,在上面的网站上面注册账户,邮件地址写真实可用的,会有邮件验...

The DT messaging system could not be started.解决

Xmanager连接aix5,出现以下错误:
The DT messaging  system could not be started.  To correct the problem;  1、Choose [OK] to return to the login screen.  2、select fallsafe session from the login screen’s option menu and log in.3、Check to see that the hostname is correct in:    /etc/hosts   Other hostname problems can be corrected by using the command:    smit mktcpip4、Check to see […]

...

aix route(路由设置)

查看、配置路由列表,如查询命令为:
#netstat -rnRouting tables    Destination      Gateway           Flags   Refs     Use  If   PMTU Exp Groups    Route Tree for Protocol Family 2 (Internet):    default         192.168.0.1      UGc       0        0  en0     -   -      -    10.0.100.0      10.0.100.150      […]

...

Centos5 下安装/配置lvm使用reiserfs文件系统

摘要: Linux用户安装Linux操作系统时遇到的一个最常见的难以决定的问题就是如何正确地给评估各分区大小,以分配合适的硬盘空间。而遇到出现某个分区空间耗尽时,解决的方法通常是使用符号链接,或者使用调整分区大小的工具(比如Patition Magic等),但这都只是暂时解决办法,没有根本解决问题。随着Linux的逻辑盘卷管理功能的出现,这些问题都迎刃而解,本文就深入讨论LVM技术,使得用户在无需停机的情况下方便地调整各个分区大小。
一、 前言
每个Linux使用者在安装Li...

Use ReiserFS in CentOS 5(lvm)

Use ReiserFS in CentOS 5
CentOS 5 doesn’t support ReiserFS by default. You need to install the kernel with reiserfs support and reiserfs utilities (such as mkfs.reiserfs) from “centosplus” repository.

However, “centosplus” in not enabled by default and kernel update is disabled in /etc/yum.conf in some customized versions. So we shall enable kernel update first
1. edit […]

...