Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Could not complete request emails

Discussion in 'E-mail Discussion' started by clauV2, Nov 4, 2014.

  1. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a big problem with whm/cpanel , when i tried to read emails with squirrelmail i see this error.

    ERROR: Could not complete request.
    Query: SELECT "INBOX"
    Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information. [2014-11-04 20:29:07]

    I went in logs and i saw this error.

    Error: Index is read-only, can't write-lock /home/websitename/mail/dovecot.index.log

    I have permission to execute this file, but i don't now what i need to to.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please let us know the output from the following commands:

    Code:
    stat /home/websitename/mail/dovecot.index.log
    lsattr /home/websitename/mail/dovecot.index.log
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    stat /home/websitename/mail/dovecot.index.log

    File: `/home/darebeau/mail/dovecot.index.log'
    Size: 9548 Blocks: 24 IO Block: 4096 regular file
    Device: d0h/208d Inode: 23473294 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2014-11-04 10:33:05.768498204 +0300
    Modify: 2014-04-09 01:14:46.162236224 +0400
    Change: 2014-04-09 01:14:46.162236224 +0400

    lsattr /home/websitename/mail/dovecot.index.log

    ------------- /home/darebeau/mail/dovecot.index.log

    Thanks
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Try moving the dovecot.index and dovecot.index.log files out of the way and check to see if the issue persists.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It works thanks , but when I tried to make a new e-mail I saw the following error "Unable to safely open file: No such file or directory"
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have the files regenerated since the initial login?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    When I click on Repair Mailbox Permissions i saw this output.

    PHP:
     warn [mailpermFailed to chmod (0751): /home/websitename/mail/websitename.roOperation not permitted at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 125
        Cpanel
    ::Email::Perms::User::_set_perms('/home/websitename''mail/%domain%', ARRAY(0xa100ba4), HASH(0xa6bc718)) called at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 81
        Cpanel
    ::Email::Perms::User::_ensure_perms('DOMAIN''/home/websitename''websitename.ro'called at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 48
        Cpanel
    ::Email::Perms::User::ensure_domain_perms('/home/websitename''websitename.ro'called at /usr/local/cpanel/Cpanel/Email/Perms/User.pm line 61
        Cpanel
    ::Email::Perms::User::ensure_all_perms('/home/websitename'called at /usr/local/cpanel/scripts/mailperm line 356
        scripts
    ::mailperm::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96
        
    eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 96
        Cpanel
    ::AccessIds::ReducedPrivileges::call_as_user(CODE(0xa133410), 50750512called at /usr/local/cpanel/scripts/mailperm line 364
        scripts
    ::mailperm::_set_perms('checkuser'undef'dirsonly'0'verbose'0'mailgid'12'is_global'1called at /usr/local/cpanel/scripts/mailperm line 165
        scripts
    ::mailperm::script('scripts::mailperm''verbose'0'dirsonly'0'skipserverperm'0'skipmxcheck'0'skiplocaldomains'0called at /usr/local/cpanel/scripts/mailperm line 64
        
    eval {...} called at /usr/local/cpanel/scripts/mailperm line 64

    What could be the problem with my cpanel ?
     
  8. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes, the files has been generated
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Check to ensure the permissions/ownership values on the "/home/$username" directory match your other accounts. EX:

    Permissions: 0711
    Ownership: username:username

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. clauV2

    clauV2 Member

    Joined:
    Nov 4, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It works thanks :)
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice