How to Solve libvirt Error Message : 500 Internal Server Error

Posted on

Discussing an error happened upon creating a new instance in libvirt via webvirt. Before the process for creating the new instance is executed, there have already instances created before. But currently, those instances cannot be read and it cannot be listed in webvirt. So, in order to be presented in the list again, the action taken is to recreate the instance. But after the instance is being successfully created, an error is triggered. The error itself which is mentioned in the title of this article can be shown in the following image :

How to Solve libvirt Error Message : 500 Internal Server Error

The error message is : “Oops ! 500 Internal Server Error, The server encountered an internal error or missconfiguration and was unable to complete your request. The page above is the page which is presenting summary and detail information about the instance which has been recreated. The solution taken is actually quite simple. The following is those steps taken :

1. Restart libvirtd daemon or service.

Just execute the following command :

systemctl start libvirt

or

systemctl restart libvirt

2. Restart virtlogd daemon or service.

The command which is executed in the command line for restarting the virtlogd daemon :

systemctl restart virtlogd
  1. Delete the host server.

From the webvirt page, click the ‘garbage’ icon as shown below :

How to Solve libvirt Error Message : 500 Internal Server Error
  1. Recreate the host server.

After deleting the host server, just recreate the host server by adding a new connection. Click the green button located in the upper left of Webvirt administration page. It can be shown as follows :

How to Solve libvirt Error Message : 500 Internal Server Error

Below is the entry form :

How to Solve libvirt Error Message : 500 Internal Server Error

 

Fill it with the appropriate entry as shown below :

How to Solve libvirt Error Message : 500 Internal Server Error
  1. If the add process of a new Connection has successfully executed, the list of instance which has been created previously will be presented.

 

 

Leave a Reply