|
||||||||
|
||||||||
|
|
Công Cụ | Xếp Bài |
08-07-2012, 04:55 PM | #1 | ||||||||||||||||||||||||||||||||||||
Administrator
Gia nhập: Dec 2011
Trả Lời: 32
|
Cấu hình Apache không đúng dẫn đến lỗi: New files of configuration for Apache web ser
Cấu hình Apache không đúng dẫn đến lỗi: New files of configuration for Apache web server were not built due to errors in configuration templates.
Áp dụng cho:
Những lỗi sau xuất hiện khi login vào Parallels Plesk Panel 10: New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration Nguyên nhân 1. Gói mailman thì chưa được cài đặt trên server. Những lỗi sau xuất hiện khi cố gắng thực hiện khởi tạo lai file cấu hình Apache:
Thư mục Mailman từ file psa.conf thì bị bỏ lỡ:
MAILMAN_VAR_D /var/lib/mailman
ls: /var/lib/mailman: No such file or directory 2. Một vài domain được khởi tạo cấu hình Apache với các phiên bản cũ của Parallels Plesk như Panel 9.x, 8.x. và file cấu hình Apache không thể khởi tạo chạy trên phiên bản mới Parallels Plesk Panel 10.3. 3. File cấu hình Apache của một vài domain không thể khởi tạo bằng Parallels Plesk Panel. Để nhìn thấy lỗi mở domain hosting preferences trong Control Panel (Control Panel > Websites & Domains > DOMAIN.TLD). 4. Có một vài ứng dụng Web cài đặt bị lỗi trên domain dẫn đến việc không cho phép Apache khởi tạo file cấu hình Parallels Plesk Panel 10.3. Để nhìn thấ lỗi này vào preferences của CGI support (Control Panel > Websites & Domains > DOMAIN.TLD > CGI support). Giải pháp 1. Cài đặt gói mailman. Gói rpm phải được tải về từ autoinstaller website (http://autoinstall.plesk.com), file này nằm thư thư mục 'update-rpm-*'. Trên website chọn phiên bản Plesk của bạn, hệ điều hành và kiến trúc (32 bit hoặc 64 bit), ví dụ: http://autoinstall.plesk.com/PSA_10....6.1.x86_64.rpm. 2. Xóa file cấu hình Apache cũ và tạo lại cái mới. Kích hoạt file logs trong phần cấu hình PHP của Parallels Plesk Panel 10.3, khởi tạo file cấu hình Apache mới và giám sát lỗi trong
3. Những lỗi sau đây xuất hiện trong GUI khi thay đổi domain preferences Control Panel (Control Panel > Websites & Domains > DOMAIN.TLD): --->8--- PHP Notice: Trying to get property of non-object Line: 233 File: /usr/local/psa/admin/smb/application/library/Smb/Form/Final/Web/Abstract.php Stack Trace: ... ---8<--- Disable và enable chế độ CGI support trên domain để tạo lại file cấu hình Apache với hosting preferences:
4. Những lỗi sau xuất hiện trong file log của sw-cp-server khi thay đổi CGI support cho DOMAIN.TLD (Control Panel > Websites & Domains > DOMAIN.TLD > CGI support). Ví dụ: /var/log/sw-cp-server/error_log --->8--- 2011-08-05T02:03:41-04:00 ERR (3): Exception: PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: mysql_connect(): Access denied for user 'sjdyh3ia'@'localhost' (using password: NO) in /usr/local/psa/var/apspackages/WordPress-2.3.3-5/cache/scripts/db-util.php on line 66 Unable to connect to DB: Access denied for user 'sjdyh3ia'@'localhost' (using password: NO) ---8<--- Xóa bỏ những ứng dụng web bị lỗi ví dụ như WordPress-2.3.3-5 thông qua Control Panel: Home > Installed Applications > WordPress > Remove. Chúc các bạn thực hiện thành công |
||||||||||||||||||||||||||||||||||||
|
|