Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Hướng dẫn sử dụng Plesk (http://quantrinet.com/forum/forumdisplay.php?f=195)
-   -   Parallels Plesk Atmail and Error: Password file could not be found (http://quantrinet.com/forum/showthread.php?t=9381)

hoctinhoc 03-01-2013 04:59 PM

Parallels Plesk Atmail and Error: Password file could not be found
 
Parallels Plesk Atmail and Error: Password file could not be found

Khi truy cập webmail bạn được thông báo lỗi sau:
Error: Password file could not be found


Kiểm tra log thì thấy lỗi: /var/log/atmail/error_log


Mã:

PHP Warning:  file_exists() [function.file-exists]:  open_basedir restriction in effect.  File(/etc/psa-webmail/atmail/.atmail.shadow) is not within the allowed  path(s): (/var/www/atmail:/var/log/atmail:/etc/psa:/tmp:/var/tmp) in  /var/www/atmail/libs/Atmail/Config.php on line 6



Để fix lỗi này bạn làm như sau:


#vi /etc/psa-webmail/atmail/atmail_vhost.conf



Tìm dòng


Mã:

php_admin_value open_basedir “/var/www/atmail:/var/log/atmail:/etc/psa:/tmp:/var/tmp”
và thay thế 4 dòng trong file trên với dòng bên dưới

Mã:

php_admin_value open_basedir “/var/www/atmail:/var/log/atmail:/etc/psa:/tmp:/var/tmp:/etc/psa-webmail/atmail”
Lưu lại và gõ các lệnh sau:


#/usr/local/psa/admin/bin/webmailmng –-disable –-name=atmail
#/usr/local/psa/admin/bin/webmailmng –-enable –-name=atmail
#/sbin/service httpd reload



Link tham khảo: http://new.spheron1.co.uk/2012/05/21...-not-be-found/


Chúc các bạn thành công!



:battay:


Bây giờ là 02:42 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.