Postfix _ make: *** [xsasl_cyrus_server.o] Error 1 make: *** [update] // If a compilation error occurs, check the error. Generally, the package is not installed, if it is not a parameter path error, [comment]: xsasl_cyrus_server.c: 598: Error: 'sasl _ OK 'undeclared (first use in this function) xsasl_cyrus_server.c: 600: Warning: format '% s' expects type 'Char *', but argument 3 has type 'int' xsasl _ cyrus_server.c: 603: Error: 'xsasl _ cyrus_server 'has no member named 'username' xsasl _ Unknown: 604: Error: 'xsasl _ cyrus_server' has no member named 'username' xsasl _ cyrus_server.c: 605: Error: 'xsasl _ cyrus_server 'has no member named 'username' xsasl _ Unknown: 606: Error: 'xsasl _ cyrus_server' has no member named 'username' xsasl _ cyrus_server.c: 607: Error: 'xsasl _ cyrus_server 'has no member named 'username' make: *** [xsasl_cyrus_server.o] Error 1 make: *** [update] Error 1 # The Cyrus authentication package is missing: cyrus-sasl-md5 cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl-develhttp: // rpm.pbone.net/index.php3/stat/2/simple/2 can find the desired RPM package
[[Email protected] SRC] # service Dovecot startstarting Dovecot IMAP: Error: socket () failed: address family not supported by protocolerror: Service (pop3-login): Listen (:, 110) failed: address family not supported by protocolerror: socket () failed: address family not supported by protocolerror: Service (pop3-login): Listen (:, 995) failed: address Family not supported by protocolerror: socket () failed: address family not supported by protocolerror: Service (IMAP-login): Listen (:, 143) failed: address Family not supported by protocolerror: socket () failed: address family not supported by protocolerror: Service (IMAP-login): Listen (:, 993) failed: address Family not supported by protocolfatal: failed to start listeners [failed] solution: it may be that IPv6 support is disabled and the configuration file is changed, remove the option for listening to IPv6 addresses # vi/etc/Dovecot. by default, conf is # Listen = *, and: changed to listen = * #/etc/init. d/Dovecot startstarting Dovecot IMAP: [OK]
Can't locate rrds. pm IN @ INC (@ INC contains: /usr/local/smokeping/lib/usr/lib/perl5/vendor_perl/5.8.8/usr/lib/perl5/vendor_perl/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/rrds /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/usr/lib/perl5/site_perl/5.8.8/usr/lib/perl5/site_perl/usr/lib64/perl5/vendor_perl/5.8.8 /x86_64-linux-thread-multi/usr/lib64/perl5/5.8.8/x86_64-linux- Thread-Multi/usr/lib/perl5/5.8.8 .) at/usr/local/smokeping/lib/smokeping. PM line 13. begin failed -- Compilation aborted at/usr/local/smokeping/lib/smokeping. PM line 13. I have introduced a lot of troublesome methods on the Internet. In fact, after finding the cause of the problem, you can directly solve the problem by using Yum install Perl-rrdtool! The reason is not enough. You can see this command.
The extmail image cannot appear because [[email protected] log] # ll/var/lib/mail *-RW-r -- 1 Root 28256 Dec 26/var/lib/ mailgraph_bytes.rrd-rw-r -- r -- 1 Root 55344 Dec 26/var/lib/mailgraph_courier.rrd-rw-r -- r -- 1 Root 68888 Dec 26/var/lib/mailgraph_queue.rrd-rw-r -- r -- 1 Root 55344 dec 26:45/var/lib/mailgraph. RRD-RW-r -- 1 Root 28256 Dec 26/var/lib/mailgraph_virus.r Rd-RW-r -- 1 Root 55344 Dec 26/var/lib/mailgraph_webmail.rrd if the preceding RRD file is available, these images are obtained by sending emails. Therefore, you must send an email to view the image.
When maillog does not have logs, start the rsyslog service/etc/init. d/rsyslog startchkconfig rsyslog on
Start error Dec 12 09:53:05 mail Postfix/postsuper [4681]: Fatal: scan_dir_push: Open Directory defer: Permission denieddec 12 09:53:06 mail Postfix/postfix-script [4682]: Fatal: postfix integrity check failed! Solution: # postfix-C/etc/Postfix set-Permissions
POP protocol authentication error: Dec 13 10:02:46 ay130902101739504f56z Dovecot: Auth: Fatal: Unknown database driver 'mysql' Dec 13 10:02:46 login Dovecot: MASTER: Error: Service (auth): Command startup failed, throttlingdec 13 10:03:17 ay130902101739504f56z Dovecot: pop3-login: Error: timeout waiting for handshake from Auth Server. my pid = 18864, input bytes = 0dec 13 10:03:17 ay130902101739504f56z Dovecot: pop3-login: Error: timeout waiting for handshake from Auth Server. my pid = 18873, input bytes = 0 error solved: # Yum install Dovecot-MySQL
Login at the constant prompt input Username Password Dec 13 10:06:35 export Dovecot: pop3-login: disconnected (tried to use disabled plaintext auth): Rip = 211.160.178.45, lip = 112.124.32.88dec 13 10:06:37 export Dovecot: pop3-login: disconnected (tried to use disabled plaintext auth): Rip = 211.160.178.45, lip = pretty 13 10:06:42 export Dovecot: pop3-login: disconnected (tried to use disabled plaintext auth): Rip = 211.160.178.45, lip = 112.124.32.88 error solution: # vi/etc/Dovecot/CONF. d/10-mail.conf # mail_location = mbox:/var/mailbox: inbox =/var/mailbox/% umail_location = maildir: /var/mailbox/% d/% N/maildir # vi/etc/Dovecot. confprotocols = IMAP POP3 lmtpdisable_plaintext_auth = No
SASL authentication failed Dec 13 10:36:45 ay130902101739504f56z authdaemond: failed to connect to MySQL Server (Server = localhost ., userid = extmail): Unknown MySQL server host 'localhost. '(1) DEC 13 10:36:45 ay130902101739504f56z Postfix/smtpd [20113]: noqueue: Reject: RCPT from unknown [211.160.178.45]: 454 4.7.1 <[email protected]>: relay access denied; from = <[email protected]> to = <[email protected]> proto = ESMTP helo = <Jerry> Dec 13 10:36:45 ay130902101739504f56z Postfix/smtpd [20113]: lost connection after RCPT from unknown [211.160.178.45] Dec 13 10:36:45 release Postfix/smtpd [20113]: disconnect from unknown [211.160.178.45] Dec 13 10:40:01 release Postfix/pickup [17317]: 992feea185: uid = 0 from = <root> error resolution: # vi/etc/authmysqlrcmysql_server localhost # One in the log is localhost. this may be because there are spaces and other things in the batch configuration file.
Login error Dec 13 11:06:50 ay130902101739504f56z Dovecot: Auth: mysql: connected to localhost (extmail) DEC 13 11:06:53 ay130902101739504f56z Dovecot: pop3-login: login: User = <[email protected]>, method = plain, rip = 211.160.178.45, lip = 112.124.32.88, MPID = 21179dec 13 11:06:53 ay130902101739504f56z Dovecot: POP3 ([email protected]): Error: User [email protected]: couldn't drop privileges: mail access for users with GID 0 not permitted (see first_valid_gid in config file ). dec 13 11:06:53 ay130902101739504f56z Dovecot: POP3 ([email protected]): Error: Internal error occurred. refer to server log for more information. solution: # vi/etc/Dovecot/CONF. d/10-mail.conffirst_valid_uid = 0 #/etc/init. d/Dovecot restart
When apache is started, the following error occurs: Warning: DocumentRoot [/var/www/extsuite/extmail/html/] The does not exist directory obviously exists, and the error 403 is returned when you view the log. solution: # getenforceenforcing # setenforce 0 # vi/etc/sysconfig/selinuxselinux = disabled
When extmail is enabled, the following error occurs: can't locate CGI. pm IN @ INC (@ INC contains: /var/www/extsuite/extmail/libs/usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5 /vendor_perl/usr/lib64/perl5/usr/share/perl5) at/var/www/extsuite/extmail/libs/EXT/CGI. PM line 20. begin failed -- Compilation aborted at/var/www/extsuite/extmail/libs/EXT/CGI. PM line 20. compilation failed in require at/var/www/extsuite/extmail/libs/EXT/app. PM line 23. begin failed -- Compilation aborted at/var/www/extsuite/extmail/libs/EXT/app. PM line 23. compilation failed in require at/var/www/extsuite/extmail/libs/EXT/APP/login. PM line 16. begin failed -- Compilation aborted at/var/www/extsuite/extmail/libs/EXT/APP/login. PM line 16. compilation failed in require at/var/www/extsuite/extmail/cgi/index. CGI line 20. troubleshooting # Yum install Perl-CGI
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/38/17/wKiom1OygWLBMjqiAAEky2LVU7c088.jpg "Title =" image.png "alt =" wkiom1oygwlbmjqiaaeky2lvu7c088.jpg "/>
If no verification code is displayed, an error is returned. view the Apache Error Log and report the following [Mon Dec 16 16:58:58 2013] [Error] [client 211.160.178.45] Begin failed -- Compilation aborted at/var/www/extsuite/extman/ libs/EXT/GD. PM line 14 ., referer: http: // 1.1.1.1/extman/cgi/index. CGI? _ Mode = show_login & error = vcode [Mon Dec 16 16:58:58 2013] [Error] [client 211.160.178.45] compilation failed in require at/var/www/extsuite/extman/cgi/CAPTCHA. CGI line 22 ., referer: http: // 1.1.1.1/extman/cgi/index. CGI? _ Mode = show_login & error = vcode [Mon Dec 16 16:58:58 2013] [Error] [client 211.160.178.45] Begin failed -- Compilation aborted at/var/www/extsuite/extman/cgi/ CAPTCHA. CGI line 22 ., referer: http: // 1.1.1.1/extman/cgi/index. CGI? _ Mode = show_login & error = vcode [Mon Dec 16 16:58:58 2013] [Error] [client 211.160.178.45] premature end of script headers: CAPTCHA. CGI, Referer: http: // 1.1.1.1/extman/cgi/index. CGI? _ Mode = show_login & error = vcode error solution: # Yum install Perl-Gd
Dovecot startup Error #/etc/init. d/Dovecot startstarting Dovecot IMAP: Error: socket () failed: address family not supported by protocolerror: Service (pop3-login): Listen (:, 110) failed: address Family not supported by protocolerror: socket () failed: address family not supported by protocolerror: Service (pop3-login): Listen (:, 995) failed: address family not supported by protocolerror: socket () failed: address family not supported by protocolerror: Service (IMAP-login): Listen (:, 143) failed: address family not supported by protocolerror: socket () failed: address Family not supported by protocolerror: Service (IMAP-login): Listen (:, 993) failed: address family not supported by protocolfatal: failed to start listeners [failed] may be that IPv6 support has been disabled. Change the configuration file and remove the option for listening to IPv6 addresses. # vi/etc/Dovecot. by default, conf is # Listen = *, and: changed to listen = * #/etc/init. d/Dovecot startstarting Dovecot IMAP: [OK]
The Inbox directory is incomplete. Dec 31 10:43:21 mailmh Postfix/virtual [4496]: eb4f71219a5: To = <[email protected]>, relay = Virtual, delay = 314, delays = 314/0. 01/0/0.01, DSN = 4.2.0, status = deferred (delivery failed to mailbox/var/mailbox/meihua.info/sender/maildir: cannot open file: is a directory) dec 31 10:43:21 mailmh Postfix/virtual [4499]: b35e41219a2: To = <[email protected]>, relay = Virtual, delay = 599, delays = 599/0. 02/0/0.01, DSN = 4.2.0, status = deferred (delivery failed to mailbox/var/mailbox/meihua.info/peter.chen/maildir: cannot open file: is a directory) solution: the directory paths in the inbox of the imported user are incomplete, causing an error when opening the file. Change maildir/var/mailbox/meihua.info/sender/maildir/ In the MySQL database/
Invalid gid. Permission error Dec 31 10:53:52 mailmh Dovecot: POP3 ([email protected]): Error: fchown (/var/mailbox/meihua.info/sender/maildir/dovecot-uidlist.tmp,-1, 2525) failed: operation not permitted (EGID = 0, group based on/var/mailbox/meihua.info/sender/maildir) Dec 31 10:53:52 mailmh Dovecot: POP3 ([email protected]): disconnected: logged out top = 0/0, RETR = 3/5483, del = 3/3, size = 5433 solution: Change the UID and GID in the database to the Postfix permission. The same is true for the directory permission.
When the service is started, the following error occurs: #/usr/local/mailgraph_ext/mailgraph-init startstarting mail statistics Grapher: mailgraph_extcan't locate rrds. pm IN @ INC (@ INC contains: /usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr /share/perl5 .) at/usr/local/mailgraph_ext/mailgraph_ext.pl line 292. begin failed -- Compilation aborted at/usr/local/mailgraph_ext/mailgraph_ext.pl line 292. starting queue statistics Grapher: qmonitorcan't locate rrds. pm IN @ INC (@ INC contains: /usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr /share/perl5 .) at/usr/local/mailgraph_ext/qmonitor. PL line 8. begin failed -- Compilation aborted at/usr/local/mailgraph_ext/qmonitor. PL line 8. solution: # Yum instal-y Perl-rrds
Installation time-hires Error # Perl makefile. plcan't locate extutils/makemaker. pm IN @ INC (@ INC contains: /usr/local/lib64/perl5/usr/local/share/perl5/usr/lib64/perl5/vendor_perl/usr/share/perl5/vendor_perl/usr/lib64/perl5/usr /share/perl5 .) at makefile. PL line 11. begin failed -- Compilation aborted at makefile. PL line 11. solution: # Yum install-y Perl-devel
Mail error: Apr 6 04:00:58 localhost Postfix/SMTP [20329]: cc6ac20c42: To = <[email protected]>, relay = mx-rr01.unicepta.de [81275.8.66]: 25, delay = 294791, delays = 294787/0. 02/3. 4/0. 61, DSN = 4.7.1, status = deferred (host mx-rr01.unicepta.de [81275.8.66] said: 450 4.7.1 <10-6-1-205.localdomain>: HELO command rejected: Host not found (In reply to rcpt to Command )) solution: the error message in the log: the host name is not found, indicating that the local host name is not the specified FQDN host name. # Vi/etc/Postfix/main. cfmyhostname = mail6.meihua.info test the mail sent # echo Hello | mail-s 'hello' [email protected] log is as follows: Apr 9 10:33:10 localhost Postfix/qmgr [3199]: d2a28208ff: from = <[email protected]>, size = 458, nrcpt = 1 (queue active) APR 9 10:33:13 localhost Postfix/SMTP [3260]: d2a28208ff: to = <[email protected]>, relay = mx-rr01.unicepta.de [88.198.40.23]: 25, delay = 454, delays = 450/0. 02/2. 3/0. 88, DSN = 2.0.0, status = sent (250 2.0.0 OK: queued as 6ae06d48067) APR 9 10:33:13 localhost Postfix/qmgr [3199]: d2a28208ff: removed is successfully sent, solving the problem
This article is from the "charlie_cen" blog, please be sure to keep this source http://charlie928.blog.51cto.com/3741218/1433178