Gisteren heb ik via custombuild dovecot laten updaten. Nu werkt dovecot niet meer en ben ik ten einde raad, Google helpt me ook niet verder.Code:May 14 14:24:38 reverse dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=19482, input bytes=0 May 14 14:24:38 reverse dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=19492, input bytes=0 May 14 14:24:38 reverse dovecot: master: Error: service(auth): command startup failed, throttling May 14 14:24:38 reverse dovecot: pop3-login: Warning: Error sending handshake to auth server: Broken pipe May 14 14:24:38 reverse dovecot: log: Error: service(auth): child 19613 returned error 89 (Fatal failure) May 14 14:24:38 reverse dovecot: auth: Fatal: Support not compiled in for passdb driver 'shadow'
Bij veel zoekresultaten kwam ik het volgende tegen, maar dit gaf een error.
Ook heb ik alle dovecot processen gekilled, zelfs een reboot maar dit heeft niet geholpen. Weet iemand wat het probleem is? Of is er misschien iemand die ernaar zou willen kijken (via teamviewer bijvoorbeeld).Code:doveconf -n -c dovecot-1.conf > dovecot-2.conf doveconf: Fatal: open(dovecot-1.conf) failed: No such file or directory (copy example configs from /usr/share/doc/dovecot/example-config/)
Evenementen voor de komende 60 Dag(en)
Resultaten 1 tot 15 van de 15
-
14/05/11 13:51Dovecot update 1.1.x naar 2.0.13 breekt mail systeem
-
14/05/11 13:57geregistreerd gebruiker178 Berichten- Ingeschreven
- 24/02/11
- Locatie
- Vlijmen
12 Berichten zijn liked
http://www.mailinglistarchive.com/do.../msg21881.html :
What are the permissions on /etc/dovecot.conf? The mailbox_command is run
with the UID and the primary group GID of the recipient, so if the conf file
is unreadable by that user/group, you see the error above.
Als je de upgrade met een admin account gedaan hebt, maar de opstart met een andere user, heb je kans dat al je files door de root user verstopt zijn voor alle andee gebruikers.
en... Eerst een system backup maken voor je op een productieomgeving aan de slag gaat, of een backup maken, en die eerst oefen-upgraden.
-
14/05/11 14:05Ik denk niet dat het probleem de permissies zijn, ik zie daar ook nergens een melding over in mijn logs.
Ja inderdaad, ik had een backup moeten maken maar ik heb eigenlijk ook geen ervaring met oefen-upgraden. Misschien dat je mij dit zou kunnen laten zien?
-
14/05/11 14:38geregistreerd gebruiker178 Berichten- Ingeschreven
- 24/02/11
- Locatie
- Vlijmen
12 Berichten zijn liked
nee dit kan ik niet laten zien, maar het principe is simpel:
pak je installatie handleiding, pak een nieuwe vers systeem, en installeer je 1.1 erop.
installeer dan alle toeters en bellen die je later toevoegde, en upgrade dan dit dummy systeem naar versie zus en zoveel.
Gaat dat allemaal goed, dan heeft je procuctie server meer kans de operatie goed te doorstaan.
doveconf: Fatal: open(dovecot-1.conf) failed: No such file or directory
betekent dat het account de file niet kan vinden.
log eens in als root, en kijk eens of die file er niet toch stiekem staat?
P.S. ik heb geen verstand van unix, en nog nooit gehoord van dovecot, maar dit lijkt me een generiek probleem.
-
14/05/11 14:47Bestand bestaat niet (ook niet via root), als ik het aanmaak dan krijg ik geen fatal error meer als ik de line nogmaals uitvoer.
Het ligt (denk ik) aan de upgrade van 1.1 naar 2.0 want ik heb al een paar resultaten gezien via Google waar mensen ook hetzelfde probleem hadden na een upgrade. Alleen bij mij heeft geen van de oplossingen gewerkt bij mij..
-
14/05/11 15:03geregistreerd gebruiker178 Berichten- Ingeschreven
- 24/02/11
- Locatie
- Vlijmen
12 Berichten zijn liked
hm.
Zou je die links hier kunnen posten, en ook een overzichtje kunnen geven van je setup?
hardware, geheugen, OS versie, en een lijstje van users die je op je systeem bgebruikt.
het aamaken van een leeg conf file maakt de error weg, maar ja, daar heb je kins aan.
kun je het hele systeem op een andere server vast herinstalleren?
die 1.1 versie? Handig voor a ls er een dovecot expert langskomt die je dat adviseert. heb je m vast.
installeerdan ook een server met 2.0.13, wellicht kan de expert je adviseren de database over te zetten, waarna laaes weer werkt.
Heb je die servers niet? er zijn hier genoeg hosters die je daarmee kunnen helpen.
-
14/05/11 15:11CentOS 5 met Directadmin erop.
Bronnen > http://wiki2.dovecot.org/Upgrading/2.0
http://www.directadmin.com/forum/showthread.php?t=39102
Nog wat extra log meldingen
en deze die vrijwel iedere seconde binnenkomenCode:May 14 16:09:58 reverse dovecot: auth: Fatal: Support not compiled in for passdb driver 'shadow' May 14 16:09:58 reverse dovecot: master: Error: service(auth): command startup failed, throttling
Code:May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31398, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31397, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31396, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31400, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31406, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31402, input bytes=0 May 14 16:10:33 reverse dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=31403, input bytes=0
-
14/05/11 15:42geregistreerd gebruiker2.731 Berichten- Ingeschreven
- 20/05/05
6 Berichten zijn liked
Gepost via een Mobile DeviceBestaat /etc/dovecot.conf? Indien ja, als bestand of of link?
Bestaat /etc/dovecot/dovecot.conf? Indien ja, als bestand of als link?
Indien /etc/dovecot.conf bestaat als link naar /etc/dovecot/dovecot.conf, verwijder dan /etc/dovecot.conf en ./build dovecot (2.x) dan opnieuw.
(./build update, clean, dovecot, blablabla)
-
14/05/11 16:34een symlink naar /etc/dovecot/dovecot.confCode:## Dovecot 2.0 configuration file ssl_cert = </etc/httpd/conf/ssl.crt/server.crt ssl_key = </etc/httpd/conf/ssl.key/server.key ssl_cipher_list = ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP disable_plaintext_auth = no ## ## Login processes ## listen = *,[::] login_greeting = Dovecot DA ready. service imap-login { inet_listener imap { #port = 143 } inet_listener imaps { #port = 993 #ssl = yes } # Number of connections to handle before starting a new process. Typically # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0 # is faster. <doc/wiki/LoginProcess.txt> #service_count = 1 # Number of processes to always keep waiting for more connections. #process_min_avail = 0 # If you set service_count=0, you probably need to grow this. #vsz_limit = 64M } service pop3-login { inet_listener pop3 { #port = 110 } inet_listener pop3s { #port = 995 #ssl = yes } } service lmtp { #inet_listener { # port = #} } service imap { # Most of the memory goes to mmap()ing files. You may need to increase this # limit if you have huge mailboxes. #vsz_limit = 256M # Max. number of IMAP processes (connections) #process_limit = 1024 } service pop3 { # Max. number of POP3 processes (connections) #process_limit = 1024 user = root } ## ## Mail processes ## verbose_proctitle = yes first_valid_uid = 500 last_valid_uid = 0 mail_access_groups = mail #mail_debug = no #mail_location = maildir:~/Maildir mail_location = maildir:~/Maildir # Like mailbox_check_interval, but used for IDLE command. #mailbox_idle_check_interval = 30 # Copy mail to another folders using hard links. This is much faster than # actually copying the file. This is problematic only if something modifies # the mail in one folder but doesn't want it modified in the others. I don't # know any MUA which would modify mail files directly. IMAP protocol also # requires that the mails don't change, so it would be problematic in any case. # If you care about performance, enable it. #maildir_copy_with_hardlinks = no # umask to use for mail files and directories #umask = 0007 # Set max. process size in megabytes. Most of the memory goes to mmap()ing # files, so it shouldn't harm much even if this limit is set pretty high. #mail_process_size = 256 # Log prefix for mail processes. See doc/variables.txt for list of possible # variables you can use. #mail_log_prefix = "%Us(%u): " ## ## IMAP specific settings ## protocol imap { # Maximum IMAP command line length in bytes. Some clients generate very long # command lines with huge mailboxes, so you may need to raise this if you get # "Too long argument" or "IMAP command line too large" errors often. #imap_max_line_length = 65536 # Send IMAP capabilities in greeting message. This makes it unnecessary for # clients to request it with CAPABILITY command, so it saves one round-trip. # Many clients however don't understand it and ask the CAPABILITY anyway. #login_greeting_capability = no # Workarounds for various client bugs: # delay-newmail: # Send EXISTS/RECENT new mail notifications only when replying to NOOP # and CHECK commands. Some clients ignore them otherwise, for example # OSX Mail. Outlook Express breaks more badly though, without this it # may show user "Message no longer in server" errors. Note that OE6 still # breaks even with this workaround if synchronization is set to # "Headers Only". # outlook-idle: # Outlook and Outlook Express never abort IDLE command, so if no mail # arrives in half a hour, Dovecot closes the connection. This is still # fine, except Outlook doesn't connect back so you don't see if new mail # arrives. # netscape-eoh: # Netscape 4.x breaks if message headers don't end with the empty "end of # headers" line. Normally all messages have this, but setting this # workaround makes sure that Netscape never breaks by adding the line if # it doesn't exist. This is done only for FETCH BODY[HEADER.FIELDS..] # commands. Note that RFC says this shouldn't be done. # tb-extra-mailbox-sep: # With mbox storage a mailbox can contain either mails or submailboxes, # but not both. Thunderbird separates these two by forcing server to # accept '/' suffix in mailbox names in subscriptions list. #imap_client_workarounds = outlook-idle } ## ## POP3 specific settings ## protocol pop3 { # Don't try to set mails non-recent or seen with POP3 sessions. This is # mostly intended to reduce disk I/O. With maildir it doesn't move files # from new/ to cur/, with mbox it doesn't write Status-header. #pop3_no_flag_updates = no # Support LAST command which exists in old POP3 specs, but has been removed # from new ones. Some clients still wish to use this though. Enabling this # makes RSET command clear all \Seen flags from messages. #pop3_enable_last = no # POP3 UIDL format to use. You can use following variables: # # %v - Mailbox UIDVALIDITY # %u - Mail UID # %m - MD5 sum of the mailbox headers in hex (mbox only) # %f - filename (maildir only) # # If you want UIDL compatibility with other POP3 servers, use: # UW's ipop3d : %08Xv%08Xu # Courier version 0 : %f # Courier version 1 : %u # Courier version 2 : %v-%u # Cyrus (<= 2.1.3) : %u # Cyrus (>= 2.1.4) : %v.%u # # Note that Outlook 2003 seems to have problems with %v.%u format which is # Dovecot's default, so if you're building a new server it would be a good # idea to change this. %08Xu%08Xv should be pretty fail-safe. #pop3_uidl_format = %v.%u pop3_uidl_format = %08Xu%08Xv # POP3 logout format string: # %t - number of TOP commands # %T - number of bytes sent to client as a result of TOP command # %r - number of RETR commands # %R - number of bytes sent to client as a result of RETR command # %d - number of deleted messages # %m - number of messages (before deletion) # %s - mailbox size in bytes (before deletion) #pop3_logout_format = top=%t/%T, retr=%r/%R, del=%d/%m, size=%s # Support for dynamically loadable modules. #mail_use_modules = no #mail_modules = /usr/lib/dovecot/pop3 # Workarounds for various client bugs: # outlook-no-nuls: # Outlook and Outlook Express hang if mails contain NUL characters. # This setting replaces them with 0x80 character. # oe-ns-eoh: # Outlook Express and Netscape Mail breaks if end of headers-line is # missing. This option simply sends it if it's missing. #pop3_client_workarounds = } ## ## Authentication processes ## # Set max. process size in megabytes. #auth_process_size = 256 # Authentication cache size in kilobytes. auth_cache_size = 0 # Time to live in seconds for cached data. After this many seconds a cached # record is forced out of cache. #auth_cache_ttl = 3600 # List of allowed characters in username. If the user-given username contains # a character not listed in here, the login automatically fails. This is just # an extra check to make sure user can't exploit any potential quote escaping # vulnerabilities with SQL/LDAP databases. If you want to allow all characters, # set this value to empty. auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@& # More verbose logging. Useful for figuring out why authentication isn't # working. auth_verbose = yes # Even more verbose logging for debugging purposes. Shows for example SQL # queries. #auth_debug = no auth_mechanisms = plain passdb { driver = passwd-file args = username_format=%n /etc/virtual/%d/passwd } passdb { driver = shadow } userdb { driver = passwd-file args = username_format=%n /etc/virtual/%d/passwd } userdb { driver = passwd } service auth { user=root }
heb hem al 100x gebuild en ook de mapjes verwijderd maar dit lost het probleem niet op
ook heb ik http://files.directadmin.com/service...vecot.conf.2.0 exact gekopieerd, ook geen resultaat.
-
14/05/11 22:29Ik heb het inmiddels opgelost; glibc-headers opnieuw gecompiled en daarna dovecot met shadow support gecompiled.
-
15/05/11 07:58geregistreerd gebruiker178 Berichten- Ingeschreven
- 24/02/11
- Locatie
- Vlijmen
12 Berichten zijn liked
klinkt spannend!
meteen effe een backup maken he? ;-)
-
15/05/11 08:24Ik zou hoe dan ook de build van dovecot nog een keer draaien vanuit custombuild, zodat je zeker weet dat alles nu vanaf de basis ook goed staat.
Anders hang je de volgende update wellicht weer.
-
15/05/11 19:53Heb de build 2x gedraaid, dovecot draait als een zonnetje!
Bedankt voor de reacties en het meedenken, vanavond meteen een backupje maken!
- advertentie
-
17/05/11 11:57Er heeft een bug in de custombuild gezeten volgens DA.
De oplossing zou zijn een ./build update en dan nog eens compilen, maar dat had je al gedaan volgens mij.
Daarnaast zou het volgende ook kunnen werken:
En andersdoveconf -n -c dovecot-1.conf > dovecot-2.conf
Verwijder deze bestanden:
Daarna een nieuwe build./etc/dovecot.conf
/etc/dovecot
/etc/dovecot/dovecot.conf
Maar je had het al opgelost inmiddels. Dat is het belangrijkste
-
19/05/11 10:19heb ik al geprobeerd maar dit werkte niet, het lag niet aan de build van DA maar aan glibcCode:doveconf -n -c dovecot-1.conf > dovecot-2.conf
Gelijkaardige Onderwerpen
-
dovecot mail.log
Door dark1990 in forum Shared WebHostingReacties: 1Laatste Bericht: 02/04/10, 21:43 -
Dovecot en SyncML voor Push Mail
Door sanderverkerk in forum DirectAdminReacties: 1Laatste Bericht: 16/11/09, 10:24 -
DNS.BE EPP systeem -> nameserver update
Door easy2host in forum Andere vragen en postingsReacties: 2Laatste Bericht: 30/06/08, 21:02 -
mail dovecot + outlook nieuw HD probleem
Door trendhoper in forum Techniek & BeveiligingReacties: 4Laatste Bericht: 05/09/06, 00:44 -
Ook op zoek naar eurid epp systeem
Door jaracanda in forum Scripting en programmerenReacties: 8Laatste Bericht: 14/12/05, 13:48



1Likes
LinkBack URL
About LinkBacks
