首页 > TroubleShooting > mysql包未装导致sendmail不能发信的问题

mysql包未装导致sendmail不能发信的问题

2011年4月15日 发表评论 阅读评论

这是as4的机器上发现的问题
maillog里老报:

Apr 15 12:48:25 admin sendmail[15179]: p3F4mPdv015179: Losing ./qfp3F4mPdv015179: savemail panic
Apr 15 12:48:25 admin sendmail[15179]: p3F4mPdv015179: SYSERR(root): savemail: cannot save rejected email anywhere

再看/var/log/message,发现报:

unable to dlopen /usr/lib/sasl2/libsql.so.2: libmysqlclient.so.14: cannot open shared object file: No such file

系统里/usr/lib/sasl2/libsql.so.2是指向/usr/lib/sasl2/libsql.so.2.0.19的

ldd /usr/lib/sasl2/libsql.so.2.0.19

发现libmysqlclient.so.14找不到,原来以为这应该是在包mysqlclient里的
结果不是,libmysqlclient.so.10是在包mysqlclient里的,libmysqlclient.so.14是在包mysql里的,于是上centos上抓了个版本4下的mysql包装上,就好了。

原创文章,转载请注明: 转载自嘻嘻哈哈的部落格(blog)

本文链接地址: mysql包未装导致sendmail不能发信的问题

  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word