Article ID: 120953, created on Apr 8, 2014, last review on May 11, 2014

  • Applies to:
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux


Failed to create a new domain or mail account, it fails with error:

    Error: Unable to open file "/var/lock/files/fe62a04da3d34705ecf91a44f538edf6": No such file or directory. 
    System error 2: No such file or directory Error occurred while locking the file /var/qmail/control/rejectnonexist: No such file or directory 
    System error 2: No such file or directory mailmng[14272]: set_reject: Unable to update /var/qmail/control/rejectnonexist file.


Some mail directory does not exist. From error above directories /var/lock/files and /var/qmail/control/rejectnonexist are absent.


1) Make sure that directories: /var/lock/files and /var/qmail/control/rejectnonexist exist.

2) Create directory /var/lock/files if it is absent:

    # ls -ld /var/lock/files
    drwxr-xr-x 2 root root 4096 Apr  8 08:37 /var/lock/files

3) To restore /var/qmail/control/rejectnonexist, execute /usr/local/psa/admin/sbin/mchk command:

    root@vps-test:~# /usr/local/psa/admin/sbin/mchk --with-spam
    ==> Checking for: mailsrv_conf_init... ok
    ==> Checking for: mail_handlers_init... ok
    ==> Checking for: mailsrv_entities_dump... ok
    ==> Checking for: mail_admin_aliases... ok
    ==> Checking for: mail_auth_dump... ok
    ==> Checking for: mailman_lists_dump... ok
    ==> Checking for: mail_kav8_restore... ok
    ==> Checking for: mail_responder_restore... ok
    ==> Checking for: mail_spam_restore... ok
    ==> Checking for: mail_grey_restore... ok
    ==> Checking for: mail_mailbox_restore... ok
    ==> Checking for: mail_spf_restore... ok
    ==> Checking for: mail_dk_restore... ok
    ==> Checking for: mail_drweb_restore... ok

Search Words

Domain adding was failed

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a

Email subscription for changes to this article
Save as PDF