블로그 이미지
Rootrator
1개를 알면 모르는 10개가 튀어나온다..!

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Notice

2011. 8. 29. 12:18 Linux
현재 버전의 dovecot은 mysql 5버전과 호환성이 있는데

그 때문에 발생하는 에러다.

[root@localhost ~]# tail /var/log/maillog

Aug  1 13:35:01 airtecsys dovecot: auth(default): dovecot-auth: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
Aug  1 13:35:01 airtecsys dovecot: Auth process died too early - shutting down
Aug  1 13:35:01 airtecsys dovecot: child 11990 (auth) returned error 127

 
yum을 이용할때 자동적으로 mysql5.0이 딸려서 설치가 되지만 초기설정때 간혹 설치가 같이 되지 않는 경우가 있다.

더군다나 mysql 4.x 버전을 돌리고 있을땐 이를 의심해 봐야 한다.

[root@localhost ~]# yum list | grep mysql

mysql 이 설치가 안되있다면 설치하자.

소스컴파일로 미리 mysql을 설치해 두었다고 해서 걱정하지 말자.

 
설치가 완료되었다면 /usr/lib/mysql 에 libmysqlclient.so.15가 존재할것이다.

[root@localhost ~]# echo "/usr/lib/mysql" > /etc/ld.so.conf
[root@localhost ~]# /sbin/ldconfig
[root@localhost~ ]# /etc/init.d/dovecot start

문제없이 올라올것이다.

 
반응형

'Linux' 카테고리의 다른 글

Spamassassin 사용하기  (0) 2012.02.03
Sendmail 속도 올리기  (0) 2012.01.12
IPOP3 서비스 사용하기  (0) 2011.07.15
트레픽 제어 모듈(mod_cband)사용하기  (2) 2011.06.23
리눅스에서 수동으로 랜카드 잡기  (0) 2011.06.08
posted by Rootrator