Hi Jamie I installed cloudmin on a clean centos system with the virtualization option and server gui. Apparently it installs Qemu and it needs to be removed before able to add the host system.
Once I managed to add/register the host system, I could create my first Xen instance and used the xen-64-centos5.4-gpl.ext3.gz. At the end I got this message
Regenerating SSH host keys ..
.. failed : ssh-keygen command not found
Installing Webmin from http://www.webmin.com/download/webmin-current.tar.gz ..
.. install failed : Perl and Wget are required to install Webmin, but cannot be automatically installed
Fetching current status ..
.. status successfully retrieved (Paused)
So now Im trying to reboot the first guest, but it seems to hang while my PC is as slow as a snail.
itś on a core i7 - 920 with 6GB of ram and system monitor shows nothing out of the ordinairy
Iĺl update this thread with things I encounter as a first time user of cloudmin
Comments
trying to reset the system
Failed to reset system : Failed to lock file /etc/webmin/servers/126011342863900.serv after 5 minutes
Ill try rebooting the host now
reboot didnt help
now creating guest 2 with an ubuntu image, same error
Regenerating SSH host keys ..
.. failed : ssh-keygen command not found
Installing Webmin from http://www.webmin.com/download/webmin-current.tar.gz ..
.. install failed : Perl and Wget are required to install Webmin, but cannot be automatically installed
Fetching current status ..
.. status successfully retrieved (Paused)
I could un-pause the ubuntu guest but ssh login fails.
As far as I know Ubuntu doesnt allow root login by default and I couldnt create another user...
I made a second Ubuntu guest: Last status Ping failed (Checked at 06/Dec/2009 18:23)
Detailed status error ssh: connect to host 192.168.1.102 port 22: No route to host
Submitted by JamieCameron on Sun, 12/06/2009 - 12:12 Comment #4
Ok, it looks like the real cause is that your Xen instances aren't starting up fully. This can happen if Xen cannot connect the Xen instances's network interface..
If you shut one down and then try to start it up again, what gets logged to /var/log/xend/xend.log ?
I got them all up at the moment. Created a ubuntu3 which is actually the centos image I used before and now I can connect to its webmin.
I got for 4 guest resp. a
1 ping failed
2 ssh login denied
3 ssh and
4 Webmin and Virtualmin - Config errors found
I've attached the log.
for 4
Checking Virtualmin configuration .. .. errors found : Current logrotate configuration is not valid : error: stat of /var/log/freshclam.log failed: No such file or directory. This must be fixed, or log file rotation will not be done.
This can be fixed since I can log into the guest.
Also Im checking the state of the guests through Virtual Machine Manager to see if they're up.
When rebooting a guest it takes ages to complete and just seem to hang in the browser while the VMM says the guest is running.
log attached again as txt
Submitted by JamieCameron on Sun, 12/06/2009 - 14:43 Comment #7
Is the udevd process running on your system? I've seen errors like this when it was not working ..
If it isn't, you can start it with the command
/sbin/udevd -d
run as root.yes udevd was and is running. What I did now was delete all guests and create a new one from a different image.
the centos 5.4 with virtualmin gpl. All went fine except it needed the /var/log/freshclam.log which I created through touch cmd via the graphic console.
also with this image there was no issues like with the others.
Just wondering, for testing on my PC it creates instances on LAN IP's like 192.168.1.100 to 192.168.1.150
How is this in a datacenter where I have 1 IP? Must I set the system up to act as a router?
Also the guest is on eth0
Shouldn't it be on something like veneth0?
there is another thing. I have installed the 32bit image but with every package I want to update on the guest it moans about depsolv issues concerning x84_64
I think during creation the guest is based on the host kernel instead of pv/py grub and I should select Use kernel from Xen system (with PyGrub or Pv-Grub)?
Submitted by JamieCameron on Sun, 12/06/2009 - 15:48 Comment #9
That's odd .. all those images are basically the same, so if one works I would expect them all to.
As for the IPs, each Xen instance needs a separate real IP .. so in production, your ISP would have to give you a range of IPs to use.
As for the 32-bit issue, is your Xen host system 64-bit? If so, you should use the 64-bit images available in Cloudmin.
the host is 64 bit
1) I created another guest with the same 32bit instance but this time with Use kernel from Xen system (with PyGrub or Pv-Grub) enabled.
It did not give any errors on updating, and runs perfectly, so this seems to work too.
2) I still need to create the /var/log/freshclam.log. Should virtualmin on the guest not create this, is this a bug?
3) I have made an account plan but at creation I cannot choose for the plan and have to enter the settings again.
Also once created there are no options to select or change the account plan as in virtualmin (in case of client upgrades)
Is the account plan only for use from within whmcs?
4) Im not sure if I can get a range of IP's at this moment. Can I use the host to act as a router then as well? Or is this a silly thought?
Lots of questions but this is pretty exiting stuff you have created :) Thank you!
Submitted by JamieCameron on Sun, 12/06/2009 - 16:45 Comment #11
1) That would work too .. the problems arise when you boot a 32-bit image using the 64-bit host kernel, which then confuses CentOS as to which architecture it is running.
2) That's a bug - I'll fix it in my next image version.
3) You can select a plan when you create a system owner, not a system .. plans only apply to owners.
4) This can maybe be done, but I'm not totally sure how. Also, this would mean that your Xen instances wouldn't be accessible from the rest of the internet, and would need to use NAT to make outgoing connections.