[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] remote access ?



On 10/4/07, Daniel P. Berrange <berrange redhat com> wrote:
> The remote_protocol.c/h  files are generated from remote_protocol.x
> using rpcgen. That said, we actually distribute the generated files
> and keep them in CVS, since the protocol doesn't change & we prefer
> to have known tested code, rather than whatever rpcgen decides to
> generate per OS. If you do see problems it could of course be a bug
> in the rpcgen tool we used, so may be worth deleting the .c/h files
> and seeing if the Solaris rpcgen does a better job.

Haven't gotten to that part yet.. :-)

Right now, I'm trying to do a simple tcp connect on my fedora 7 box
to my fedora 7 box (with 0.3.2). I'm not sure why the following is
not working?  Anyone know what I'm doing wrong?

[root fedora ~]# cat /etc/libvirt/libvirtd.conf
listen_tcp=1
tcp_port="16509"
root fedora ~]# /etc/init.d/libvirtd stop
Stopping libvirtd daemon:                                  [  OK  ]
[root fedora ~]# /etc/init.d/libvirtd start
Starting libvirtd daemon:                                  [  OK  ]
[root fedora ~]# virsh connect xen+tcp://localhost
libvir: Remote error : Connection refused
error: Failed to connect to the hypervisor
[root fedora ~]# virsh list --all
 Id Name                 State
----------------------------------
  0 Domain-0             running
  - solaris              shut off


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]