Is there something I''m missing with VNCserver/viewer? # xenguest-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes What is the name of your virtual machine? fc6-httpd01 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (path)? /home/xen/fc6-httpd01 How large would you like the disk to be (in gigabytes)? 6 Would you like to enable graphics support? (yes or no) yes What would you like to use for the virtual CD image? /home/xen/FC-6-x86_64- DVD.iso Starting install... libvir: Xen Daemon error : GET operation failed: No such domain fc6-httpd01 VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Thu Oct 26 20:21:19 2006 main: unable to connect to host: Connection refused (111) Domain installation still in progress. You can reconnect to the console to complete the installation process. [root@kainos xen]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1477 2 r----- 1003.2 fc6-httpd01 12 512 1 r----- 34.2 [root@kainos xen]# xm console fc6-httpd01 xenconsole: Could not read tty from store: No such file or directory
I''m not saying this is your problem, but your "CD image" parameter seems incorrect base on the wiki (HYPERLINK "http://fedoraproject.org/wiki/FedoraXenQuickstartFC6"http://fedoraproject.o rg/wiki/FedoraXenQuickstartFC6) Look at number 6 under "Building a Fedora Guest System using ''xenguest-install''" 6. What is the install location? This is the path to a Fedora Core 6 installation tree in the format used by anaconda. NFS, FTP, and HTTP locations are all supported. Examples include: * nfs:my.nfs.server.com:/path/to/test2/tree/ * HYPERLINK "http://my.http.server.com/path/to/tree/"http://my.http.server.com/path/to/t ree/ * HYPERLINK "ftp://my.ftp.server.com/path/to/tree"ftp://my.ftp.server.com/path/to/tree {i} Installation must be a network type. It is not possible to install from a local disk or CDROM. It is possible, however, to set up an installation tree on the host OS and then export it as an NFS share. _____ From: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com] On Behalf Of Justin Conover Sent: Thursday, October 26, 2006 8:25 PM To: Fedora-xen@redhat.com Subject: [Fedora-xen] vnc trick? Is there something I''m missing with VNCserver/viewer? # xenguest-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes What is the name of your virtual machine? fc6-httpd01 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (path)? /home/xen/fc6-httpd01 How large would you like the disk to be (in gigabytes)? 6 Would you like to enable graphics support? (yes or no) yes What would you like to use for the virtual CD image? /home/xen/FC-6-x86_64-DVD.iso Starting install... libvir: Xen Daemon error : GET operation failed: No such domain fc6-httpd01 VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 Copyright (C) 2002-2005 RealVNC Ltd. See HYPERLINK "http://www.realvnc.com"http://www.realvnc.com for information on VNC. Thu Oct 26 20:21:19 2006 main: unable to connect to host: Connection refused (111) Domain installation still in progress. You can reconnect to the console to complete the installation process. [root@kainos xen]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1477 2 r----- 1003.2 fc6-httpd01 12 512 1 r----- 34.2 [root@kainos xen]# xm console fc6-httpd01 xenconsole: Could not read tty from store: No such file or directory -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: 10/25/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: 10/25/2006
Did you alter the default vnc listening address in xend-config.sxp in /etc/xen? It got changed recently so that it only listens on the loopback address, so you may need to edit your hosts file, or enable listening on other interfaces. Justin Conover wrote:> Is there something I''m missing with VNCserver/viewer? > > # xenguest-install > Would you like a fully virtualized guest (yes or no)? This will allow > you to run unmodified operating systems. yes > What is the name of your virtual machine? fc6-httpd01 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > How large would you like the disk to be (in gigabytes)? 6 > Would you like to enable graphics support? (yes or no) yes > What would you like to use for the virtual CD image? > /home/xen/FC-6-x86_64-DVD.iso > > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain > fc6-httpd01 > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > Copyright (C) 2002-2005 RealVNC Ltd. > See http://www.realvnc.com for information on VNC. > > Thu Oct 26 20:21:19 2006 > main: unable to connect to host: Connection refused (111) > Domain installation still in progress. You can reconnect > to the console to complete the installation process. > [root@kainos xen]# xm list > Name ID Mem(MiB) VCPUs State > Time(s) > Domain-0 0 1477 2 r----- > 1003.2 > fc6-httpd01 12 512 1 r----- > 34.2 > [root@kainos xen]# xm console fc6-httpd01 > xenconsole: Could not read tty from store: No such file or directory > > ------------------------------------------------------------------------ > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >
On 10/26/06, Paul Clark <paul@theclarkfamily.net> wrote:> > I''m not saying this is your problem, but your "CD image" parameter seems > incorrect base on the wiki ( > http://fedoraproject.org/wiki/FedoraXenQuickstartFC6) > > > > Look at number 6 under "Building a Fedora Guest System using > ''xenguest-install''" > > > > > > 6. What is the install location? This is the path to a Fedora Core 6 > installation tree in the format used by anaconda. NFS, FTP, and HTTP > locations are all supported. Examples include: > > * nfs:my.nfs.server.com:/path/to/test2/tree/ > > * http://my.http.server.com/path/to/tree/ > > * ftp://my.ftp.server.com/path/to/tree > > > > {i} Installation must be a network type. It is not possible to > install from a local disk or CDROM. It is possible, however, to set up an > installation tree on the host OS and then export it as an NFS share. > > > ------------------------------ > > *From:* fedora-xen-bounces@redhat.com [mailto: > fedora-xen-bounces@redhat.com] *On Behalf Of *Justin Conover > *Sent:* Thursday, October 26, 2006 8:25 PM > *To:* Fedora-xen@redhat.com > *Subject:* [Fedora-xen] vnc trick? > > > > Is there something I''m missing with VNCserver/viewer? > > # xenguest-install > Would you like a fully virtualized guest (yes or no)? This will allow you > to run unmodified operating systems. yes > What is the name of your virtual machine? fc6-httpd01 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > How large would you like the disk to be (in gigabytes)? 6 > Would you like to enable graphics support? (yes or no) yes > What would you like to use for the virtual CD image? > /home/xen/FC-6-x86_64-DVD.iso > > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain > fc6-httpd01 > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > Copyright (C) 2002-2005 RealVNC Ltd. > See http://www.realvnc.com for information on VNC. > > Thu Oct 26 20:21:19 2006 > main: unable to connect to host: Connection refused (111) > Domain installation still in progress. You can reconnect > to the console to complete the installation process. > [root@kainos xen]# xm list > Name ID Mem(MiB) VCPUs State > Time(s) > Domain-0 0 1477 2 r----- > 1003.2 > fc6-httpd01 12 512 1 r----- > 34.2 > [root@kainos xen]# xm console fc6-httpd01 > xenconsole: Could not read tty from store: No such file or directory > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: > 10/25/2006 > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.408 / Virus Database: 268.13.11/497 - Release Date: > 10/25/2006 > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > >I''ve tried using what I do for network installs too. http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os/
On 10/26/06, Hilton Day <xlot@onlinewarrior.com> wrote:> > Did you alter the default vnc listening address in xend-config.sxp in > /etc/xen? > > It got changed recently so that it only listens on the loopback address, > so you may need to edit your hosts file, or enable listening on other > interfaces. > > Justin Conover wrote: > > Is there something I''m missing with VNCserver/viewer? > > > > # xenguest-install > > Would you like a fully virtualized guest (yes or no)? This will allow > > you to run unmodified operating systems. yes > > What is the name of your virtual machine? fc6-httpd01 > > How much RAM should be allocated (in megabytes)? 512 > > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > > How large would you like the disk to be (in gigabytes)? 6 > > Would you like to enable graphics support? (yes or no) yes > > What would you like to use for the virtual CD image? > > /home/xen/FC-6-x86_64-DVD.iso > > > > > > Starting install... > > libvir: Xen Daemon error : GET operation failed: No such domain > > fc6-httpd01 > > > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > > Copyright (C) 2002-2005 RealVNC Ltd. > > See http://www.realvnc.com for information on VNC. > > > > Thu Oct 26 20:21:19 2006 > > main: unable to connect to host: Connection refused (111) > > Domain installation still in progress. You can reconnect > > to the console to complete the installation process. > > [root@kainos xen]# xm list > > Name ID Mem(MiB) VCPUs State > > Time(s) > > Domain-0 0 1477 2 r----- > > 1003.2 > > fc6-httpd01 12 512 1 r----- > > 34.2 > > [root@kainos xen]# xm console fc6-httpd01 > > xenconsole: Could not read tty from store: No such file or directory > > > > ------------------------------------------------------------------------ > > > > -- > > Fedora-xen mailing list > > Fedora-xen@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen > > > >I still don''t have the secret mojo going... Shouldn''t this cover it: (vnc-listen ''0.0.0.0'')
On Thu, Oct 26, 2006 at 08:25:04PM -0500, Justin Conover wrote:> Is there something I''m missing with VNCserver/viewer? > > # xenguest-install > Would you like a fully virtualized guest (yes or no)? This will allow you > to run unmodified operating systems. yes > What is the name of your virtual machine? fc6-httpd01 > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > How large would you like the disk to be (in gigabytes)? 6 > Would you like to enable graphics support? (yes or no) yes > What would you like to use for the virtual CD image? /home/xen/FC-6-x86_64- > DVD.iso > > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain fc6-httpd01 > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > Copyright (C) 2002-2005 RealVNC Ltd. > See http://www.realvnc.com for information on VNC. > > Thu Oct 26 20:21:19 2006 > main: unable to connect to host: Connection refused (111) > Domain installation still in progress. You can reconnect > to the console to complete the installation process. > [root@kainos xen]# xm list > Name ID Mem(MiB) VCPUs State Time(s) > Domain-0 0 1477 2 r----- 1003.2 > fc6-httpd01 12 512 1 r----- 34.2 > [root@kainos xen]# xm console fc6-httpd01 > xenconsole: Could not read tty from store: No such file or directoryOk, a couple of things to check: - Run ''virsh dumpxml fc6-httpd01'' and look to see if there is a <graphics type=''vnc''> tag, and whether it has a port number in it - Run ''ps -axuwwf | grep vnc'' to see if there is a ''xen-vncfb'' server daemon running in Dom0 - Run ''netstat -t -l -n -p'' to see if this server daemon is listening on the port indicated by the XML dump in step 1. This will also tell you if its listening on 127.0.0.1, or all interfaces If any of that is missing/wrong, then /var/log/xen/xend-debug.log is where the VNC server stucks its logs. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
On 10/27/06, Daniel P. Berrange <berrange@redhat.com> wrote:> > On Thu, Oct 26, 2006 at 08:25:04PM -0500, Justin Conover wrote: > > Is there something I''m missing with VNCserver/viewer? > > > > # xenguest-install > > Would you like a fully virtualized guest (yes or no)? This will allow > you > > to run unmodified operating systems. yes > > What is the name of your virtual machine? fc6-httpd01 > > How much RAM should be allocated (in megabytes)? 512 > > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > > How large would you like the disk to be (in gigabytes)? 6 > > Would you like to enable graphics support? (yes or no) yes > > What would you like to use for the virtual CD image? > /home/xen/FC-6-x86_64- > > DVD.iso > > > > > > Starting install... > > libvir: Xen Daemon error : GET operation failed: No such domain > fc6-httpd01 > > > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > > Copyright (C) 2002-2005 RealVNC Ltd. > > See http://www.realvnc.com for information on VNC. > > > > Thu Oct 26 20:21:19 2006 > > main: unable to connect to host: Connection refused (111) > > Domain installation still in progress. You can reconnect > > to the console to complete the installation process. > > [root@kainos xen]# xm list > > Name ID Mem(MiB) VCPUs State > Time(s) > > Domain-0 0 1477 2 r----- > 1003.2 > > fc6-httpd01 12 512 1 r----- > 34.2 > > [root@kainos xen]# xm console fc6-httpd01 > > xenconsole: Could not read tty from store: No such file or directory > > Ok, a couple of things to check: > > - Run ''virsh dumpxml fc6-httpd01'' and look to see if there is a > <graphics type=''vnc''> tag, and whether it has a port number in it > - Run ''ps -axuwwf | grep vnc'' to see if there is a ''xen-vncfb'' > server daemon running in Dom0 > - Run ''netstat -t -l -n -p'' to see if this server daemon is listening > on the port indicated by the XML dump in step 1. This will also tell > you if its listening on 127.0.0.1, or all interfaces > > If any of that is missing/wrong, then /var/log/xen/xend-debug.log is > where the VNC server stucks its logs. > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| ># virsh dumpxml fc6-httpd01 <domain type=''xen'' id=''1''> <name>fc6-httpd01</name> <uuid>5ba9787fba6a82a1d3780ca7be1101ff</uuid> <os> <type>linux</type> <kernel>/var/lib/xen/vmlinuz.7EPZk8</kernel> <initrd>/var/lib/xen/initrd.img.4S_Xjg</initrd> <cmdline> methodhttp://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os </cmdline> </os> <memory>524288</memory> <vcpu>1</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> <interface type=''bridge''> <source bridge=''xenbr0''/> <mac address=''00:16:3e:71:6c:62''/> <script path=''vif-bridge''/> </interface> <disk type=''file'' device=''disk''> <source file=''/home/xen/fc6-httpd01''/> <target dev=''xvda''/> </disk> <graphics type=''vnc'' port=''5900''/> <console tty=''/dev/pts/3''/> </devices> </domain> # cat xend.log [2006-10-27 21:27:29 xend 2845] INFO (SrvDaemon:283) Xend Daemon started [2006-10-27 21:27:29 xend 2845] INFO (SrvDaemon:287) Xend changeset: unavailable . [2006-10-27 21:27:29 xend.XendDomainInfo 2845] DEBUG (XendDomainInfo:212) XendDomainInfo.recreate({''paused'': 0, ''cpu_time'': 23507757604L, ''ssidref'': 0, ''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ''shutdown_reason'': 0, ''dying'': 0, ''dom'': 0, ''mem_kb'': 1925252, ''maxmem_kb'': 17179869180, ''max_vcpu_id'': 1, ''crashed'': 0, ''running'': 1, ''shutdown'': 0, ''online_vcpus'': 2, ''blocked'': 0}) [2006-10-27 21:27:29 xend.XendDomainInfo 2845] INFO (XendDomainInfo:224) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. [2006-10-27 21:27:29 xend.XendDomainInfo 2845] WARNING (XendDomainInfo:246) No vm path in store for existing domain 0 [2006-10-27 21:27:29 xend.XendDomainInfo 2845] DEBUG (XendDomainInfo:712) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''00000000-0000-0000-0000-000000000000'', ''on_reboot'': ''restart'', ''on_poweroff'': ''destroy'', ''name'': ''Domain-0'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', ''vcpu_avail'': ''3'', ''memory'': ''1881'', ''on_crash'': ''restart'', ''maxmem'': ''1881''} [2006-10-27 21:27:29 xend.XendDomainInfo 2845] DEBUG (XendDomainInfo:747) Storing domain details: {''cpu/0/availability'': ''online'', ''memory/target'': ''1926144'', ''cpu/1/availability'': ''online'', ''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0''} [2006-10-27 21:27:29 xend 2845] DEBUG (XendDomain:153) number of vcpus to use is 0 [2006-10-27 21:27:29 xend 2845] INFO (SrvServer:116) unix path=/var/lib/xend/xend-socket [2006-10-27 21:27:29 xend.XendDomainInfo 2845] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-10-27 21:34:29 xend 3032] INFO (SrvDaemon:283) Xend Daemon started [2006-10-27 21:34:29 xend 3032] INFO (SrvDaemon:287) Xend changeset: unavailable . [2006-10-27 21:34:29 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:212) XendDomainInfo.recreate({''paused'': 0, ''cpu_time'': 24158646940L, ''ssidref'': 0, ''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ''shutdown_reason'': 0, ''dying'': 0, ''dom'': 0, ''mem_kb'': 1925252, ''maxmem_kb'': 17179869180, ''max_vcpu_id'': 1, ''crashed'': 0, ''running'': 1, ''shutdown'': 0, ''online_vcpus'': 2, ''blocked'': 0}) [2006-10-27 21:34:29 xend.XendDomainInfo 3032] INFO (XendDomainInfo:224) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. [2006-10-27 21:34:29 xend.XendDomainInfo 3032] WARNING (XendDomainInfo:246) No vm path in store for existing domain 0 [2006-10-27 21:34:29 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:712) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''00000000-0000-0000-0000-000000000000'', ''on_reboot'': ''restart'', ''on_poweroff'': ''destroy'', ''name'': ''Domain-0'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', ''vcpu_avail'': ''3'', ''memory'': ''1881'', ''on_crash'': ''restart'', ''maxmem'': ''1881''} [2006-10-27 21:34:29 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:747) Storing domain details: {''cpu/0/availability'': ''online'', ''memory/target'': ''1926144'', ''cpu/1/availability'': ''online'', ''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0''} [2006-10-27 21:34:29 xend 3032] DEBUG (XendDomain:153) number of vcpus to use is 0 [2006-10-27 21:34:29 xend 3032] INFO (SrvServer:116) unix path=/var/lib/xend/xend-socket [2006-10-27 21:34:29 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:190) XendDomainInfo.create([''vm'', [''name'', ''fc6-httpd01''], [''memory'', ''512''], [''maxmem'', ''512''], [''vcpus'', ''1''], [''uuid'', ''5ba9787f-ba6a-82a1-d378-0ca7be1101ff''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''linux'', [''kernel'', ''/var/lib/xen/vmlinuz.7EPZk8''], [''ramdisk'', ''/var/lib/xen/initrd.img.4S_Xjg''], [''args'', '' methodhttp://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os ''], [''vnc'', ''1''], [''vncunused'', ''1'']]], [''device'', [''vbd'', [''dev'', ''xvda''], [''uname'', ''file:/home/xen/fc6-httpd01''], [''mode'', ''w'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:71:6c:62''], [''bridge'', ''xenbr0''], [''script'', ''/etc/xen/scripts/vif-bridge'']]]]) [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:296) parseConfig: config is [''vm'', [''name'', ''fc6-httpd01''], [''memory'', ''512''], [''maxmem'', ''512''], [''vcpus'', ''1''], [''uuid'', ''5ba9787f-ba6a-82a1-d378-0ca7be1101ff''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''destroy''], [''on_crash'', ''destroy''], [''image'', [''linux'', [''kernel'', ''/var/lib/xen/vmlinuz.7EPZk8''], [''ramdisk'', ''/var/lib/xen/initrd.img.4S_Xjg''], [''args'', '' methodhttp://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os ''], [''vnc'', ''1''], [''vncunused'', ''1'']]], [''device'', [''vbd'', [''dev'', ''xvda''], [''uname'', ''file:/home/xen/fc6-httpd01''], [''mode'', ''w'']]], [''device'', [''vif'', [''mac'', ''00:16:3e:71:6c:62''], [''bridge'', ''xenbr0''], [''script'', ''/etc/xen/scripts/vif-bridge'']]]] [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:395) parseConfig: result is {''shadow_memory'': None, ''uuid'': ''5ba9787f-ba6a-82a1-d378-0ca7be1101ff'', ''on_crash'': ''destroy'', ''on_reboot'': ''destroy'', ''localtime'': None, ''image'': [''linux'', [''kernel'', ''/var/lib/xen/vmlinuz.7EPZk8''], [''ramdisk'', ''/var/lib/xen/initrd.img.4S_Xjg''], [''args'', '' methodhttp://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os ''], [''vnc'', ''1''], [''vncunused'', ''1'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''fc6-httpd01'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 512, ''device'': [(''vbd'', [''vbd'', [''dev'', ''xvda''], [''uname'', ''file:/home/xen/fc6-httpd01''], [''mode'', ''w'']]), (''vif'', [''vif'', [''mac'', ''00:16:3e:71:6c:62''], [''bridge'', ''xenbr0''], [''script'', ''/etc/xen/scripts/vif-bridge'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 512} [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:1253) XendDomainInfo.construct: None [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:1285) XendDomainInfo.initDomain: 1 1.0 [2006-10-27 21:42:14 xend 3032] INFO (image:214) configuring linux guest [2006-10-27 21:42:14 xend 3032] INFO (image:232) setting use_graphics [2006-10-27 21:42:14 xend 3032] DEBUG (balloon:133) Balloon: 129712 KiB free; 0 to scrub; need 524288; retries: 20. [2006-10-27 21:42:14 xend 3032] DEBUG (balloon:148) Balloon: setting dom0 target to 1494 MiB. [2006-10-27 21:42:14 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to 1494 MiB. [2006-10-27 21:42:14 xend 3032] DEBUG (balloon:127) Balloon: 525108 KiB free; need 524288; done. [2006-10-27 21:42:14 xend 3032] INFO (image:138) buildDomain os=linux dom=1 vcpus=1 [2006-10-27 21:42:14 xend 3032] DEBUG (image:193) dom = 1 [2006-10-27 21:42:14 xend 3032] DEBUG (image:194) image /var/lib/xen/vmlinuz.7EPZk8 [2006-10-27 21:42:14 xend 3032] DEBUG (image:195) store_evtchn = 1 [2006-10-27 21:42:14 xend 3032] DEBUG (image:196) console_evtchn = 2 [2006-10-27 21:42:14 xend 3032] DEBUG (image:197) cmdline = methodhttp://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os [2006-10-27 21:42:14 xend 3032] DEBUG (image:198) ramdisk /var/lib/xen/initrd.img.4S_Xjg [2006-10-27 21:42:14 xend 3032] DEBUG (image:199) vcpus = 1 [2006-10-27 21:42:14 xend 3032] DEBUG (image:200) features [2006-10-27 21:42:15 xend 3032] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: ''/dev/xvda'' [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''51712'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/51712''} to /local/domain/1/device/vbd/51712. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:112) DevController: writing {''domain'': ''fc6-httpd01'', ''frontend'': ''/local/domain/1/device/vbd/51712'', ''dev'': ''xvda'', ''state'': ''1'', ''params'': ''/home/xen/fc6-httpd01'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''file''} to /local/domain/0/backend/vbd/1/51712. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:71:6c:62'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/0''} to /local/domain/1/device/vif/0. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''fc6-httpd01'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/1/device/vif/0'', ''mac'': ''00:16:3e:71:6c:62'', ''online'': ''1'', ''frontend-id'': ''1''} to /local/domain/0/backend/vif/1/0. [2006-10-27 21:42:15 xend 3032] INFO (image:261) spawning video: [''/usr/lib64/xen/bin/xen-vncfb'', ''--unused'', ''--listen'', ''0.0.0.0'', ''--domid'', ''1'', ''--title'', ''fc6-httpd01''] [2006-10-27 21:42:15 xend 3032] INFO (image:263) device model pid: 3946 [2006-10-27 21:42:15 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:712) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''5ba9787f-ba6a-82a1-d378-0ca7be1101ff'', ''on_reboot'': ''destroy'', ''start_time'': ''1162003335.19'', ''on_poweroff'': ''destroy'', ''name'': ''fc6-httpd01'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''512'', ''on_crash'': ''destroy'', ''image'': "(linux (kernel /var/lib/xen/vmlinuz.7EPZk8) (ramdisk /var/lib/xen/initrd.img.4S_Xjg) (args '' method=http://download.fedora.redhat.com/pub/fedora/linux/core/6/x86_64/os '') (vnc 1) (vncunused 1))", ''maxmem'': ''512''} [2006-10-27 21:42:15 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:747) Storing domain details: {''console/ring-ref'': ''187866'', ''console/port'': ''2'', ''name'': ''fc6-httpd01'', ''console/limit'': ''1048576'', ''vm'': ''/vm/5ba9787f-ba6a-82a1-d378-0ca7be1101ff'', ''domid'': ''1'', ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''187867'', ''store/port'': ''1''} [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices vif. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:149) Waiting for 0. [2006-10-27 21:42:15 xend.XendDomainInfo 3032] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:478) hotplugStatusCallback 1. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices usb. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices vbd. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:149) Waiting for 51712. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/51712/hotplug-status. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/51712/hotplug-status. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:478) hotplugStatusCallback 1. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices irq. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices pci. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices ioports. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices tap. [2006-10-27 21:42:15 xend 3032] DEBUG (DevController:143) Waiting for devices vtpm. [2006-10-27 21:42:15 xend 3032] INFO (XendDomain:370) Domain fc6-httpd01 (1) unpaused.
On 10/27/06, Daniel P. Berrange <berrange@redhat.com> wrote:> > On Thu, Oct 26, 2006 at 08:25:04PM -0500, Justin Conover wrote: > > Is there something I''m missing with VNCserver/viewer? > > > > # xenguest-install > > Would you like a fully virtualized guest (yes or no)? This will allow > you > > to run unmodified operating systems. yes > > What is the name of your virtual machine? fc6-httpd01 > > How much RAM should be allocated (in megabytes)? 512 > > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > > How large would you like the disk to be (in gigabytes)? 6 > > Would you like to enable graphics support? (yes or no) yes > > What would you like to use for the virtual CD image? > /home/xen/FC-6-x86_64- > > DVD.iso > > > > > > Starting install... > > libvir: Xen Daemon error : GET operation failed: No such domain > fc6-httpd01 > > > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > > Copyright (C) 2002-2005 RealVNC Ltd. > > See http://www.realvnc.com for information on VNC. > > > > Thu Oct 26 20:21:19 2006 > > main: unable to connect to host: Connection refused (111) > > Domain installation still in progress. You can reconnect > > to the console to complete the installation process. > > [root@kainos xen]# xm list > > Name ID Mem(MiB) VCPUs State > Time(s) > > Domain-0 0 1477 2 r----- > 1003.2 > > fc6-httpd01 12 512 1 r----- > 34.2 > > [root@kainos xen]# xm console fc6-httpd01 > > xenconsole: Could not read tty from store: No such file or directory > > Ok, a couple of things to check: > > - Run ''virsh dumpxml fc6-httpd01'' and look to see if there is a > <graphics type=''vnc''> tag, and whether it has a port number in it > - Run ''ps -axuwwf | grep vnc'' to see if there is a ''xen-vncfb'' > server daemon running in Dom0 > - Run ''netstat -t -l -n -p'' to see if this server daemon is listening > on the port indicated by the XML dump in step 1. This will also tell > you if its listening on 127.0.0.1, or all interfaces > > If any of that is missing/wrong, then /var/log/xen/xend-debug.log is > where the VNC server stucks its logs. > > Regards, > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| >$ vncviewer localhost:5900 VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Fri Oct 27 21:54:27 2006 main: unable to connect to host: Connection refused (111)
On 10/27/06, Justin Conover <justin.conover@gmail.com> wrote:> > > > On 10/27/06, Daniel P. Berrange <berrange@redhat.com> wrote: > > > > On Thu, Oct 26, 2006 at 08:25:04PM -0500, Justin Conover wrote: > > > Is there something I''m missing with VNCserver/viewer? > > > > > > # xenguest-install > > > Would you like a fully virtualized guest (yes or no)? This will allow > > you > > > to run unmodified operating systems. yes > > > What is the name of your virtual machine? fc6-httpd01 > > > How much RAM should be allocated (in megabytes)? 512 > > > What would you like to use as the disk (path)? /home/xen/fc6-httpd01 > > > How large would you like the disk to be (in gigabytes)? 6 > > > Would you like to enable graphics support? (yes or no) yes > > > What would you like to use for the virtual CD image? > > /home/xen/FC-6-x86_64- > > > DVD.iso > > > > > > > > > Starting install... > > > libvir: Xen Daemon error : GET operation failed: No such domain > > fc6-httpd01 > > > > > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > > > Copyright (C) 2002-2005 RealVNC Ltd. > > > See http://www.realvnc.com for information on VNC. > > > > > > Thu Oct 26 20:21:19 2006 > > > main: unable to connect to host: Connection refused (111) > > > Domain installation still in progress. You can reconnect > > > to the console to complete the installation process. > > > [root@kainos xen]# xm list > > > Name ID Mem(MiB) VCPUs State > > Time(s) > > > Domain-0 0 1477 2 r----- > > 1003.2 > > > fc6-httpd01 12 512 1 r----- > > 34.2 > > > [root@kainos xen]# xm console fc6-httpd01 > > > xenconsole: Could not read tty from store: No such file or directory > > > > Ok, a couple of things to check: > > > > - Run ''virsh dumpxml fc6-httpd01'' and look to see if there is a > > <graphics type=''vnc''> tag, and whether it has a port number in it > > - Run ''ps -axuwwf | grep vnc'' to see if there is a ''xen-vncfb'' > > server daemon running in Dom0 > > - Run ''netstat -t -l -n -p'' to see if this server daemon is listening > > on the port indicated by the XML dump in step 1. This will also tell > > you if its listening on 127.0.0.1, or all interfaces > > > > If any of that is missing/wrong, then /var/log/xen/xend-debug.log is > > where the VNC server stucks its logs. > > > > Regards, > > Dan. > > -- > > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 > > 2496 -=| > > |=- Perl modules: http://search.cpan.org/~danberr/<http://search.cpan.org/%7Edanberr/> -=| > > > > |=- Projects: http://freshmeat.net/~danielpb/<http://freshmeat.net/%7Edanielpb/> > > -=| > > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > > 9505 -=| > > > > $ vncviewer localhost:5900 > > VNC Viewer Free Edition 4.1.2 for X - built Oct 25 2006 09:08:37 > Copyright (C) 2002-2005 RealVNC Ltd. > See http://www.realvnc.com for information on VNC. > > Fri Oct 27 21:54:27 2006 > main: unable to connect to host: Connection refused (111) > >If I open the serial console this is the output: IP route cache hash table entries: 32768 (order: 6, 262144 bytes) TCP established hash table entries: 131072 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 9, 2097152 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1162003336.006:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 4D36EEF71C3A3150 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. Console: switching to colour frame buffer device 100x37 input: Xen Virtual Keyboard/Mouse as /class/input/input0 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new driver libusual usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 XENBUS: Device with no driver: device/vbd/51712 XENBUS: Device with no driver: device/vif/0 Write protecting the kernel read-only data: 440k