Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: vnc trick?: msg#00143
On 10/27/06, Justin Conover <justin.conover@xxxxxxxxx> wrote:
On 10/27/06, Daniel P. Berrange <
berrange@xxxxxxxxxx> 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)
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@xxxxxxxxxxx> 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
|
| |