Bom dia semnhores..
Estou mais uma vez solicitando ajuda dos amigos afim de solucionar um problema que ocorreu em um servidor Centos 5.5 após atualização do sistema pela ferramenta “yum –y uldate/upgrade”.
Ambiente:
- Linux 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 05:38:01 EST 2012 i686 athlon i386 GNU/Linux
- Apache httpd 2.2.3;
- MySQL 5.0.95;
- Postfix 2.3.3;
- Dovecot 2.1.1;
- Amavisd-new 2.6.6;
- SpamAssassin 3.3.1;
- Saslauthd 2.1.22;
- Clamav 0.97.4;
- Courier 0.66.0;
- Courier-authlib 0.63.0;
- Courier-imap 4.9.3;
- Maildrop 2.5.5;
- ISPConfig 3.0.4.1 (esse é o cara que gerencia tudo rs).
Problemas encontrados:
A - Não mais recebe/envia emails, acusa erro para acessar a conta que antes da atualização estava perfeita
[root@centos1 ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Dovecot ready.
user claudir(a)linuxbras.com.br
+OK
pass ********
-ERR Authentication failed.
quit
+OK Logging out
Connection closed by foreign host.
B – Log do erro na tentativa de logar no servidor para ver as menssagens
Mar 30 11:08:47 centos1 dovecot: pop3-login: Aborted login (auth failed, 1 attempts in 6 secs): user=<claudir(a)linuxbras.com.br>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured.
C – Acusa direto outro erro no log tambêm
Mar 30 11:09:12 centos1 postfix/smtpd[6530]: warning: SASL: Connect to private/auth failed: No such file or directory
Mar 30 11:09:12 centos1 postfix/smtpd[6530]: fatal: no SASL authentication mechanisms
Mar 30 11:09:13 centos1 postfix/master[23087]: warning: process /usr/libexec/postfix/smtpd pid 6530 exit status 1
Mar 30 11:09:13 centos1 postfix/master[23087]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
OBS: verifiquei que antes havia o arquivo (private/auth, configurado no main.cf do postfix “smtpd_sasl_path = private/auth) nesse caminho /var/spool/postfix/private/auth e agora não esta mais lá?!?! parece que foi deletado, qual aplicativo que cria esse arquivo para que o postfix possa ler novamente?
D – Amavis não starta mais, após atualização da uma porrada de erro..
[root@centos1 init.d]# ./amavisd restart
Shutting down Mail Virus Scanner (amavisd): [FAILED]
Starting Mail Virus Scanner (amavisd): fetch_modules: error loading required module MIME/Head.pm:
File::Temp version 0.18 required--this is only version 0.16 at /usr/lib/perl5/site_perl/5.8.8/MIME/Tools.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Tools.pm line 14.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/MIME/Head.pm line 125.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Head.pm line 125.
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 450, near "whine "couldn't unlink ""
(Do you need to predeclare whine?)
fetch_modules: error loading required module MIME/Body.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 450, near "whine "couldn't unlink ""
BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Body.pm line 485.
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder.pm line 205, near "usage "unsupported encoding '$enc': using 'binary'""
(Do you need to predeclare usage?)
fetch_modules: error loading required module MIME/Entity.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder.pm line 205, near "usage "unsupported encoding '$enc': using 'binary'""
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 236.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Entity.pm line 236.
Compilation failed in require at /usr/sbin/amavisd line 197.
fetch_modules: error loading required module MIME/Parser.pm:
Global symbol "$M_DEBUG" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser/Filer.pm line 291.
Global symbol "$M_WARNING" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser/Filer.pm line 302.
BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser/Filer.pm line 765.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser.pm line 146.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/MIME/Parser.pm line 146.
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/Base64.pm line 80, near "debug "in = $in; out = $out""
(Do you need to predeclare debug?)
fetch_modules: error loading required module MIME/Decoder/Base64.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/Base64.pm line 80, near "debug "in = $in; out = $out""
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/NBit.pm line 142, near "whine "saw 8-bit data while encoding 7bit""
(Do you need to predeclare whine?)
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/NBit.pm line 147, near "whine "saw long line while encoding 7bit/8bit""
(Do you need to predeclare whine?)
fetch_modules: error loading required module MIME/Decoder/NBit.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/NBit.pm line 142, near "whine "saw 8-bit data while encoding 7bit""
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/NBit.pm line 147, near "whine "saw long line while encoding 7bit/8bit""
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/UU.pm line 93, near "whine "file incomplete, no end found\n""
(Do you need to predeclare whine?)
fetch_modules: error loading required module MIME/Decoder/UU.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/UU.pm line 93, near "whine "file incomplete, no end found\n""
Compilation failed in require at /usr/sbin/amavisd line 197.
String found where operator expected at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/Gzip64.pm line 97, near "whine "Encoding ""
(Do you need to predeclare whine?)
fetch_modules: error loading required module MIME/Decoder/Gzip64.pm:
syntax error at /usr/lib/perl5/site_perl/5.8.8/MIME/Decoder/Gzip64.pm line 97, near "whine "Encoding ""
Compilation failed in require at /usr/sbin/amavisd line 197.
ERROR: MISSING REQUIRED BASIC MODULES:
MIME::Head
MIME::Body
MIME::Entity
MIME::Parser
MIME::Decoder::Base64
MIME::Decoder::NBit
MIME::Decoder::UU
MIME::Decoder::Gzip64
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
[FAILED]
[root@centos1 init.d]#
Desculpe pelo texto extenço, mas procurei ser o mais detalhista possivél, para conseguir ajudo dos senhores.
Claudir Roberto Leindecker