<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dovecot failed to start in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776235#M23004</link>
    <description>Shalom Maaz,&lt;BR /&gt;&lt;BR /&gt;You are not using the right procedure to create the file. Put the default back, get a procedure form dovecot then it will work.&lt;BR /&gt;&lt;BR /&gt;Here is a possible procedure that might work:&lt;BR /&gt;&lt;A href="http://voxx.demon.co.uk/linux/linuxd.php?filename=00000050.txt" target="_blank"&gt;http://voxx.demon.co.uk/linux/linuxd.php?filename=00000050.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please post back what works, I have to do the same thing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 24 Apr 2006 14:26:22 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-04-24T14:26:22Z</dc:date>
    <item>
      <title>dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776231#M23000</link>
      <description>Everything is default in dovecot.conf, and I did the following:&lt;BR /&gt;/etc/dovecot.conf&lt;BR /&gt;protocols = imap imaps pop3 pop3s&lt;BR /&gt;&lt;BR /&gt;#service dovecot start&lt;BR /&gt;#service dovecot status&lt;BR /&gt;dovecot (pid 2411) is running...&lt;BR /&gt;&lt;BR /&gt;Then I descide not to use the default(bogus) certificate, and use my own&lt;BR /&gt;certificate, I did the following&lt;BR /&gt;&lt;BR /&gt;#cd /usr/share/ssl/certs&lt;BR /&gt;#mv dovecot.pem dovecot.pem.orig&lt;BR /&gt;#make dovecot.pem&lt;BR /&gt;&lt;BR /&gt;umask 77 ; \&lt;BR /&gt;PEM1=`/bin/mktemp /tmp/openssl.XXXXXX` ; \&lt;BR /&gt;PEM2=`/bin/mktemp /tmp/openssl.XXXXXX` ; \&lt;BR /&gt;/usr/bin/openssl req -newkey rsa:1024 -keyout $PEM1 -nodes -x509 -days 365&lt;BR /&gt;-out $PEM2 ; \&lt;BR /&gt;cat $PEM1 &amp;gt;  dovecot.pem ; \&lt;BR /&gt;echo ""    &amp;gt;&amp;gt; dovecot.pem ; \&lt;BR /&gt;cat $PEM2 &amp;gt;&amp;gt; dovecot.pem ; \&lt;BR /&gt;rm -f $PEM1 $PEM2&lt;BR /&gt;Generating a 1024 bit RSA private key&lt;BR /&gt;..........++++++&lt;BR /&gt;................++++++&lt;BR /&gt;writing new private key to '/tmp/openssl.Vy2497'&lt;BR /&gt;-----&lt;BR /&gt;You are about to be asked to enter information that will be incorporated&lt;BR /&gt;into your certificate request.&lt;BR /&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;BR /&gt;There are quite a few fields but you can leave some blank&lt;BR /&gt;For some fields there will be a default value,&lt;BR /&gt;If you enter '.', the field will be left blank.&lt;BR /&gt;-----&lt;BR /&gt;Country Name (2 letter code) [GB]:GB&lt;BR /&gt;State or Province Name (full name) [Berkshire]:Berkshire&lt;BR /&gt;Locality Name (eg, city) [Newbury]:Newbury&lt;BR /&gt;Organization Name (eg, company) [My Company Ltd]:Me &amp;amp; My&lt;BR /&gt;Organizational Unit Name (eg, section) []:Lab&lt;BR /&gt;Common Name (eg, your name or your server's hostname) []:imapop.test.com&lt;BR /&gt;Email Address []:root@test.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;service dovecot start&lt;BR /&gt;Starting Dovecot Imap:                                     [  OK  ]&lt;BR /&gt;&lt;BR /&gt;service dovecot stop&lt;BR /&gt;Stopping Dovecot Imap:                                     [FAILED]&lt;BR /&gt;&lt;BR /&gt;service dovecot status&lt;BR /&gt;dovecot dead but subsys locked&lt;BR /&gt;&lt;BR /&gt;tail -f /var/log/messages&lt;BR /&gt;Apr 23 21:43:20 mail dovecot: dovecot startup succeeded&lt;BR /&gt;Apr 23 21:43:24 mail dovecot: dovecot shutdown failed&lt;BR /&gt;&lt;BR /&gt;Then i did the following and once again dovecot starts working&lt;BR /&gt;#rm dovecot.pem&lt;BR /&gt;#mv dovecot.pem.orig dovecot.pem&lt;BR /&gt;service dovecot start&lt;BR /&gt;Starting Dovecot Imap:&lt;BR /&gt;service dovecot status&lt;BR /&gt;dovecot (pid 2743) is running...&lt;BR /&gt;&lt;BR /&gt;Also attaching the dovecot.conf&lt;BR /&gt;&lt;BR /&gt;Any Help will be highly appreciated&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sun, 23 Apr 2006 12:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776231#M23000</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-23T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776232#M23001</link>
      <description>Shalom Maaz,&lt;BR /&gt;&lt;BR /&gt;Check that dovecot is not already running.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep -i dovecot&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep cyrus&lt;BR /&gt;&lt;BR /&gt;You may have another service interfering with dovecot&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep ":143 "&lt;BR /&gt;&lt;BR /&gt;See if something else is listening on port 143.&lt;BR /&gt;&lt;BR /&gt;service iptables status.&lt;BR /&gt;&lt;BR /&gt;Shut down iptables and see if you get better results if its running.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 24 Apr 2006 04:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776232#M23001</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-24T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776233#M23002</link>
      <description>Can you post the information in /var/log/messages and /var/log/maillog when you run service dovecot start|stop?&lt;BR /&gt;&lt;BR /&gt;After you do the start, the service keeps running? check with service dovecot status.</description>
      <pubDate>Mon, 24 Apr 2006 08:04:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776233#M23002</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-24T08:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776234#M23003</link>
      <description>Dear SEP and Ivan Ferriera Many thanks for the reply/help.&lt;BR /&gt;&lt;BR /&gt;Simple ... when I use the default(bogus) "dovecot.pem" dovecot works just fine.&lt;BR /&gt;But when I create my own "dovecot.pem" by doing the following:&lt;BR /&gt;#cd /usr/share/ssl/certs&lt;BR /&gt;#mv dovecot.pem dovecot.pem.orig&lt;BR /&gt;#make dovecot.pem&lt;BR /&gt;&lt;BR /&gt;And then&lt;BR /&gt;&lt;BR /&gt;#service dovecot start|restart&lt;BR /&gt;Starting Dovecot Imap: [ OK ]&lt;BR /&gt;#service dovecot status&lt;BR /&gt;dovecot dead but subsys locked&lt;BR /&gt;&lt;BR /&gt;service dovecot stop&lt;BR /&gt;Stopping Dovecot Imap: [FAILED]&lt;BR /&gt;&lt;BR /&gt;Dovecot doesnt start&lt;BR /&gt;&lt;BR /&gt;iptables is stop.&lt;BR /&gt;&lt;BR /&gt;if some other service is interfering with dovecot, then dovecot should also refuse to work when I use the default "dovecot.pem" file. dovecot Only doesnt works when I use my own certificate.&lt;BR /&gt;&lt;BR /&gt;Thanks n Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Mon, 24 Apr 2006 13:38:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776234#M23003</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-24T13:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776235#M23004</link>
      <description>Shalom Maaz,&lt;BR /&gt;&lt;BR /&gt;You are not using the right procedure to create the file. Put the default back, get a procedure form dovecot then it will work.&lt;BR /&gt;&lt;BR /&gt;Here is a possible procedure that might work:&lt;BR /&gt;&lt;A href="http://voxx.demon.co.uk/linux/linuxd.php?filename=00000050.txt" target="_blank"&gt;http://voxx.demon.co.uk/linux/linuxd.php?filename=00000050.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please post back what works, I have to do the same thing.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 24 Apr 2006 14:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776235#M23004</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-24T14:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776236#M23005</link>
      <description>This procedure is a bit better.&lt;BR /&gt;&lt;BR /&gt;The install script generates a good pem file though.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://applications.linux.com/article.pl?sid=06/03/28/1919226" target="_blank"&gt;http://applications.linux.com/article.pl?sid=06/03/28/1919226&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 24 Apr 2006 14:28:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776236#M23005</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-24T14:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776237#M23006</link>
      <description>You did not posted the log files. I have tested and in the dovecot doc dir, /usr/share/dovecot-version/examples, there is a script called mkcert.sh. I used this to generate a new certificate and the service start just fine. Try using that script.</description>
      <pubDate>Mon, 24 Apr 2006 14:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776237#M23006</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-24T14:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776238#M23007</link>
      <description>Dear SEP whats cyrus ?&lt;BR /&gt;&lt;BR /&gt;and Dear Ivan Ferriera, I have solved the prblm from the guidence of ur post, I my self check the /var/log/maillog, and maillog tells the actuall reason &lt;BR /&gt;I have attached the maillog&lt;BR /&gt;&lt;BR /&gt;in /etc/dovecot.conf&lt;BR /&gt;&lt;BR /&gt;Before(when prblm)&lt;BR /&gt;#ssl_cert_file = /usr/share/ssl/certs/dovecot.pem&lt;BR /&gt;#ssl_key_file = /usr/share/ssl/private/dovecot.pem&lt;BR /&gt;&lt;BR /&gt;Solution/After&lt;BR /&gt;ssl_cert_file = /usr/share/ssl/certs/dovecot.pem&lt;BR /&gt;ssl_key_file = /usr/share/ssl/certs/dovecot.pem&lt;BR /&gt;&lt;BR /&gt;That is I uncoment the ssl_cert_file and ssl_key_file lines, and provide the same path of ssl_key_file as of ssl_cert_file.&lt;BR /&gt;;)&lt;BR /&gt;Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Mon, 24 Apr 2006 14:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776238#M23007</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-24T14:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: dovecot failed to start</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776239#M23008</link>
      <description>sory I forget to attached the maillog</description>
      <pubDate>Mon, 24 Apr 2006 14:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dovecot-failed-to-start/m-p/3776239#M23008</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2006-04-24T14:37:22Z</dc:date>
    </item>
  </channel>
</rss>

