Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 03-01-2013, 03:59 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
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!



  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 05:32 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 - 2024, Jelsoft Enterprises Ltd.