• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error: Password file could not be found

J

JimmyR1989

Guest
Hi All,

My Atmail has stopped working, and gives this error when trying to access webmail.

Error: Password file could not be found

I have tried removing and re-installing and tried updating. With no luck.

Can anyone please give me any advice.

Thank you
 
Edit: /etc/psa-webmail/atmail/atmail_vhost.conf and look for this line:

Code:
php_admin_value open_basedir "@WEBMAIL_DOCROOT@:/var/log/atmail:/etc/psa:/tmp:/var/tmp:/etc/psa-webmail/atmail"


You will see it twice. Be sure to append the ":/etc/psa-webmail/atmail" like you see above. This will set it properly for the template, but it will *not* make it live. To do that, this should work:

Code:
/usr/local/psa/admin/bin/websrvmng -a


Check to see if the template was pushed to your atmail configuration file by running this:

Code:
cat /etc/httpd/conf.d/zzz_atmail_vhost.conf | grep open_basedir


If you see the ":/etc/psa-webmail/atmail" portion appended to the open_basedir line that this last command presents to you, then simply restart apache to apply it:

Code:
/sbin/service httpd restart


If not, edit that file as well and manually insert it in the same way you did to the template file, then restart apache.
 
Interestingly, zzz_atmail_vhost.conf is missing on my plesk 12, even though I had added atmail support..

Adding the opendir does not appear to solve the atmail problem for Plesk 12.
I added it lavishly into the templates, did an httpdmng -a, waited 10 minutes,
restarted httpd, same result - cannot find password file.
 
Last edited:
Back
Top