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)
-   -   Khi thao tác trong Plesk Panel gặp phải lỗi: "Internal error: is out of webspace" (http://quantrinet.com/forum/showthread.php?t=9294)

tranqui89 11-07-2012 03:02 PM

Khi thao tác trong Plesk Panel gặp phải lỗi: "Internal error: is out of webspace"
 
Khi thao tác trong Plesk Panel gặp phải lỗi: "Internal error: is out of webspace"

Áp dụng cho:

  • Parallels Plesk Panel 10.x for Windows
Mô tả lỗi
Khi bạn click vào tab "Website & Domains" trên Parallels Plesk Panel gặp phải ngay lỗi sau:
Internal error: is out of webspace
Message is out of webspace
File Webspace.php
Line 334
Type PleskFatalException


Khi thực hiện việc cấu hình lại thiết lập về IIS cho một domain bằng việc sử dụng tiện ích
websrvmng.exe cũng gặp phải lỗi sau:
C:\Program Files (x86)\Parallels\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=example.com,
A specified logon session does not exist. It may already have been terminated. (
Exception from HRESULT: 0x80070520)
In Microsoft.Web.Administration module
Exception type: System.Runtime.InteropServices.COMException
at Microsoft.Web.Administration.Interop.IAppHostMetho dInstance.Execute()
at Microsoft.Web.Administration.Binding.AddSslCertifi cate(Byte[] certificateH
ash, String certificateStoreName)
at Microsoft.Web.Administration.BindingManager.Bindin gTransaction.Commit()
at Microsoft.Web.Administration.BindingManager.Save()
at Microsoft.Web.Administration.ServerManager.CommitC hanges()
at ServerManagerFactory.commit()
at IIS7ServerManager.commit(IIS7ServerManager* )


Nguyên nhân
Do cơ sở dữ liệu của Parallels Plesk Panel thì không nhất quán dẫn đến lỗi liên quan đến chứng chỉ (certificates) trong cấu hình IIS.

Giải pháp
Chạy dòng query để xác định chính xác việc không nhất quán:
Mã:

mysql> SELECT id,name FROM domains WHERE htype='vrt_hst' AND id NOT IN (SELECT dom_id FROM hosting);
Sau đó chạy câu lệnh khác để sửa lỗi:
Mã:

mysql> UPDATE domains SET htype='none' WHERE htype='vrt_hst' AND id NOT IN (SELECT dom_id FROM hosting);
Để bảo đảm chắc chắn rằng không còn lỗi này xảy ra nữa, hãy xóa chứng chỉ (certificates) của máy chủ bằng cách vào IIS -> Server -> Server certificates.
Sau đó vào Plesk Reconfigurator -> Repair Plesk Installation -> Plesk Services để sửa chữa.

Chúc các bạn thực hiện thành công.
:battay:


Bây giờ là 01:20 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 - 2026, Jelsoft Enterprises Ltd.