The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Could not complete request emails

Discussion in 'E-mail Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Check to ensure the permissions/ownership values on the "/home/$username" directory match your other accounts. EX:

    Permissions: 0711
    Ownership: username:username

    Thank you.
     
  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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page