Forum archive
Need help on this error
Hi all,
I have installed the TKL server having version 6.0.5
The server was running quite well until today when i noticed that when the webconsole of the server is tried to open the following warning is being displayed. I would appreciate if some of the experts out there can help me with this. Thanks!
Warning:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
And my suspicion is that Webshell not working are the least of them!
My guess is that your harddrive image has been corrupted. When Linux detects harddrive corruption it will only allow the disk to be mounted as 'read only' to maximise the chances of you getting your data out, without doing any more damage. Ultimately this is a good thing, but can make life awkward...
From my involvment here on the TKL forums VMware products in particular seems to suffer from this problem more than most. This issue is sometimes caused by hardware degridation i.e. on your physical harddrive; sometimes caused by closing your VM or host OS incorrectly (not using the 'shutdown' or 'halt' command from within the VM); or sometimes for no apparent reason...
Assuming that this is the issue, to resolve it you will need to run 'fsck' (Linux equivalent of 'chkdsk') on your VM filesystem. You can either use a Linux LiveCD ISO or mount your VM HDD image to a separate VM (as a secondary drive).
Apparently the Slax Linux LiveCD is known to work well (although theoretically any Linux LiveCD ISO should do the job - including TKL ISO). You will need to check what the drive/partitions is/are called with:
and then run fsck on it/them:
where X is the drive letter (usually a or b) and N is the partition number. E.g.
You will also want to fsck the LVM volume, like this
Hopefully then a reboot and you're all good again.
To make life a little easier in future, once you get the machine up and running, I recommend installing the acpi-support-base package to your VM.
apt-get update && apt-get install acpi-support-baseThis will allow VMware to shut it down properly (without requiring you to do it from within the VM). The lack of this package has been recognised as a TKL 'bug' and will be included in future versions.