Error creating vm

". status successfully retrieved (SSH)"

Adding DNS entry veneno.cloudmin.tchod.com. for IP address 187.53.217.196 .. .. done

Configuring Xen instance for VNC console access .. .. added on dynamic port

Starting up new Xen instance .. .. done

https://187.53.217.196:10000/

Can not connect

       Firefox can not establish a connection to the server 187.53.217.196:10000.

This site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web. Regenerating SSH host keys .. .. done

Fetching current status .. .. status successfully retrieved (SSH)

Re-fetching current status of host system tchod.tchod.com .. .. status successfully retrieved (Virtualmin)

Enabling system at host boot time .. .. done

Creating console access user .. .. done

Status: 
Active

Comments

The Cloudmin image you used to create that Virtual Machine with is labeled this:

xen-centos6.0-base (CentOS 6.0 Xen instance with base OS)

The Cloudmin image you used to create your other Virtual Machines is labeled this:

xen-centos6.0-gpl (CentOS 6.0 Xen instance with Virtualmin GPL)

So the problem is that the Virtual Machine image that was used for that particular system doesn't actually include Webmin/Virtualmin on it. It's just the base CentOS operating system.

If you'd like to use Webmin/Virtualmin, you can either install it manually using the Virtualmin installer, or you could reinstall that Virtual Machine using the image that contains Webmin/Virtualmin.

I created a template VM with CentOS 6.0 64-bit Xen instance with base OS.

This alert with SSH in pink

Via PuTTY tried installing cpanel with the following commands:

login as: root Access denied root@187.53.217.196 's password: [root @ business ~] # cd / home [root @ home business] # wget-N http://httpupdate.cpanel.net/latest - 11/10/2012 13:13:10 - http://httpupdate.cpanel.net/latest Resolving httpupdate.cpanel.net ... failed: Name or service not known. wget: unable to resolve host address `httpupdate.cpanel.net ' [root @ home business] #

Is it possible to install cpanel on a xen instance?

httpupdate.cpanel.net this online ...

I await thank you

It's no problem to run anything you like in your Xen instance.

The "unable to resolve host address" error you're seeing suggests that DNS hasn't been setup yet for your Virtual Machine.

You may want to edit /etc/resolv.conf, and setup your nameservers.

Because when a virtual machine is created without virtualmin instance, only with OS appears this error??

I remember having created virtual machine and then install without virtuamin smoothly.

Now I have problems when I create a vm without support virtualmin.

What should I put this file you edit commands?? ips??

My problem is I see in SSH, I can not install cpanel ...

The process of installing Virtualmin configures a local DNS server, which is why DNS is working in the Virtual Machines running Virtualmin.

If you're only using the base OS, and are unable to resolve domain names, that simply means that the DNS needs to be configured to point to your preferred DNS server.

You can do that by editing /etc/resolv.conf, and making sure there is a line such as "nameserver x.x.x.x", where "x.x.x.x" is the IP address of your nameserver.

Once you do that, the cPanel installer should then be able to resolve the domain names necessary to complete the installation.

Was made to change the etc / resolv.conf

Getting well:

[root @ businessconnect etc] # vi resolv.conf

DOMAIN = lab.foo.com bar.foo.com

T @ businessconnect etc] # vi resolv.conf nameserver 177.1.138.42 domain tchod.com

Generated by NetworkManager No nameservers found; try putting DNS servers into your Ifcfg files in / etc / sysconfig / network-scripts like so:

# DNS1 = 187.53.217.196 # this line changed

DNS2 = xxx.xxx.xxx.xxx DOMAIN = lab.foo.com bar.foo.com Generated by NetworkManager
  • INSERT -

Not solved the problem!!

So also not sure

login as: root Access denied root@187.53.217.196's password: [root@businessconnect ~]# cd /etc [root@businessconnect etc]# vi resolv.conf

nameserver 187.53.217.196 domain tchod.com

Generated by NetworkManager No nameservers found; try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: DNS1=xxx.xxx.xxx.xxx DNS2=xxx.xxx.xxx.xxx DOMAIN=lab.foo.com bar.foo.com

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

So also not worked

login as: root Access denied root@187.53.217.196's password: [root@businessconnect ~]# cd /etc [root@businessconnect etc]# vi resolv.conf

nameserver 187.53.217.193 domain tchod.com Generated by NetworkManager No nameservers found; try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: DNS1=xxx.xxx.xxx.xxx DNS2=xxx.xxx.xxx.xxx DOMAIN=lab.foo.com bar.foo.com

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Posted by xbeltram on Sun, 2012-11-11 04:38

Uhm, the error message even explicitly told you what to do:

"No nameservers found; try putting DNS servers into your ifcfg files in /etc/sysconfig/network-scripts like so: DNS1=xxx.xxx.xxx.xxx DNS2=xxx.xxx.xxx.xxx DOMAIN=lab.foo.com bar.foo.com"

There are Linux distributions that compose the resolv.conf file from commands in the network up-down scripts, and where you shouldn't edit resolv.conf directly.

(On a side note, I didn't even know that the Virtualmin staff also offers classes in "Linux Administration 101", via support requests... Need to make note of that. Just saying. I certainly wouldn't classify this issue here as a "bug report".)

I am awaiting a response from the staff virtualmin.

That they themselves were told to do this setting in resolv.conf

The system should create a vm without this kind of problem I think ...

Personnel virtualmin what should I do?

How can it? When I create a virtual machine in VMware, I am also responsible myself for configuring it correctly. The host system cannot know or guess which name servers you are going to use in your guest.

Just set the thing up according to tutorials you'll certainly find for any given Linux distribution. And while especially Eric is very helpful, you really should not expect the VM staff to give you personal Linux 101 lessons via their support channel. At least not to the extent you've been demanding. (Just my 2 cents of course.)

Mr Locutus

I ask you:

You are part of the support virtualmin?

TKS

Nope, I'm not. Just helping users here in my spare time, mostly in the forum section. :)

I await support cloudmin ...

Do you mind if I login to your system and take a look at this VM, using the credentials you supplied previously? It looks like a simple DNS mis-configuration ..

Do not care that you enter the vm

follow the data in another private ticket

Thanks - it looks like the DNS servers setup on your system aren't responding.

Are you planning on running Virtualmin on this VM? If so, it will use its own DNS servers.

Until then, I fixed the issue by editing /etc/resolv.conf and adding the following line at the top :

nameserver 8.8.8.8

This tells the system to use Google's public DNS servers.

I'll install this VM cpanel