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 06-08-2012, 09:01 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Cannot log in to Parallels Plesk Panel web interface
Cannot log in to Parallels Plesk Panel web interface


Lổi


ERROR: PleskFatalException
Unable to connect to database: saved admin password is incorrect.

0: common_func.php3:93
psaerror(string 'Unable to connect to database: saved admin password is incorrect.')
1: auth.php3:127


Nguyên nhân


do mật khẩu trong tập tin /etc/psa/.psa.shadow được sử dụng để truy cập database của Plesk Panel không tương thích với mật khẩu tải khoản admin của Plesk

Cách 1:


# export PSA_PASSWORD=<NEW_PASSWORD>
# /usr/local/psa/admin/bin/ch_admin_passwd


Thay thế <NEW_PASSWORD> bằng mật khẩu bạn mong muốn

Cách 2:

Chú ý: chỉ áp dụng cho Plesk 9.x hoặc phiên bản trước đó (Plesk 8...)


1. thêm dòng sau vào phần [mysqld] trong file /etc/my.cnf


[mysqld]
skip-grant-tables

2. Restart lại mysql

# /etc/init.d/mysqld restart

3. Thêm mật khẩu mới vào trong file /etc/psa/.psa.shadow file.

4. Reset lại mật khẩu

# /usr/bin/mysql -D mysql -e"update user set password=PASSWORD('`cat /etc/psa/.psa.shadow`') where User='admin';"

5. Xóa bỏ dòng skip-grant-tables trong file /etc/my.cnf

6. Restart lại dịch vụ

# /etc/init.d/mysqld restart


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



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à 07:23 AM. 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.