dovecot not starting : service(imap) access(/usr/lib/dovecot/imap) failed











up vote
0
down vote

favorite












I have installed dovecot but the service is not running. I have verified using
ps -A | grep dovecot and service dovecot status
The test says : dovecot stop/waiting



In the /var/log/mail.err and .log I see:



localhost dovecot: master: **Fatal**: service(imap) access(/usr/lib/dovecot/imap) failed: No such file or directory


When I grep through the configs in (/etc/dovecot) I find no such config.



Environment notes:




  1. postfix service is running and my setup is a Postfix + Dovecot + SASLdAuth (using LDAP).

  2. sasldauth is also running independently fine on LDAP. (verified using testsaslauthd)










share|improve this question
















bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2




    Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
    – Celada
    Apr 6 '15 at 3:03















up vote
0
down vote

favorite












I have installed dovecot but the service is not running. I have verified using
ps -A | grep dovecot and service dovecot status
The test says : dovecot stop/waiting



In the /var/log/mail.err and .log I see:



localhost dovecot: master: **Fatal**: service(imap) access(/usr/lib/dovecot/imap) failed: No such file or directory


When I grep through the configs in (/etc/dovecot) I find no such config.



Environment notes:




  1. postfix service is running and my setup is a Postfix + Dovecot + SASLdAuth (using LDAP).

  2. sasldauth is also running independently fine on LDAP. (verified using testsaslauthd)










share|improve this question
















bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2




    Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
    – Celada
    Apr 6 '15 at 3:03













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have installed dovecot but the service is not running. I have verified using
ps -A | grep dovecot and service dovecot status
The test says : dovecot stop/waiting



In the /var/log/mail.err and .log I see:



localhost dovecot: master: **Fatal**: service(imap) access(/usr/lib/dovecot/imap) failed: No such file or directory


When I grep through the configs in (/etc/dovecot) I find no such config.



Environment notes:




  1. postfix service is running and my setup is a Postfix + Dovecot + SASLdAuth (using LDAP).

  2. sasldauth is also running independently fine on LDAP. (verified using testsaslauthd)










share|improve this question















I have installed dovecot but the service is not running. I have verified using
ps -A | grep dovecot and service dovecot status
The test says : dovecot stop/waiting



In the /var/log/mail.err and .log I see:



localhost dovecot: master: **Fatal**: service(imap) access(/usr/lib/dovecot/imap) failed: No such file or directory


When I grep through the configs in (/etc/dovecot) I find no such config.



Environment notes:




  1. postfix service is running and my setup is a Postfix + Dovecot + SASLdAuth (using LDAP).

  2. sasldauth is also running independently fine on LDAP. (verified using testsaslauthd)







imap dovecot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 6 '15 at 22:47









Gilles

520k12510381568




520k12510381568










asked Apr 6 '15 at 2:59









Arjun Dhar

1317




1317





bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 2




    Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
    – Celada
    Apr 6 '15 at 3:03














  • 2




    Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
    – Celada
    Apr 6 '15 at 3:03








2




2




Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
– Celada
Apr 6 '15 at 3:03




Sounds like Dovecot is simply not installed... or half-installed. The error message clearly indicates that the Dovecot binary is absent, and you have no config file.
– Celada
Apr 6 '15 at 3:03










1 Answer
1






active

oldest

votes

















up vote
0
down vote













thanks @ Celada, based on your comment it did seem to be a corrupt installation of dovecot.
I installed it using sudo apt-get install dovecot-imapd dovecot-pop3d and the service is starting fine. Am also able to telnet successfully.



Before I configured this for LDAP via SASL it was working, so I assumed I messed some configuration. For some reason the root cause was the dovecot install ended up being corrupted.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f194556%2fdovecot-not-starting-serviceimap-access-usr-lib-dovecot-imap-failed%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    thanks @ Celada, based on your comment it did seem to be a corrupt installation of dovecot.
    I installed it using sudo apt-get install dovecot-imapd dovecot-pop3d and the service is starting fine. Am also able to telnet successfully.



    Before I configured this for LDAP via SASL it was working, so I assumed I messed some configuration. For some reason the root cause was the dovecot install ended up being corrupted.






    share|improve this answer



























      up vote
      0
      down vote













      thanks @ Celada, based on your comment it did seem to be a corrupt installation of dovecot.
      I installed it using sudo apt-get install dovecot-imapd dovecot-pop3d and the service is starting fine. Am also able to telnet successfully.



      Before I configured this for LDAP via SASL it was working, so I assumed I messed some configuration. For some reason the root cause was the dovecot install ended up being corrupted.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        thanks @ Celada, based on your comment it did seem to be a corrupt installation of dovecot.
        I installed it using sudo apt-get install dovecot-imapd dovecot-pop3d and the service is starting fine. Am also able to telnet successfully.



        Before I configured this for LDAP via SASL it was working, so I assumed I messed some configuration. For some reason the root cause was the dovecot install ended up being corrupted.






        share|improve this answer














        thanks @ Celada, based on your comment it did seem to be a corrupt installation of dovecot.
        I installed it using sudo apt-get install dovecot-imapd dovecot-pop3d and the service is starting fine. Am also able to telnet successfully.



        Before I configured this for LDAP via SASL it was working, so I assumed I messed some configuration. For some reason the root cause was the dovecot install ended up being corrupted.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 6 '15 at 22:47









        Gilles

        520k12510381568




        520k12510381568










        answered Apr 6 '15 at 3:17









        Arjun Dhar

        1317




        1317






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f194556%2fdovecot-not-starting-serviceimap-access-usr-lib-dovecot-imap-failed%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt