Error: Device 0 (vif) could not be connected.

Discussion in 'HOWTO-Related Questions' started by c4rdinal, Mar 10, 2008.

  1. c4rdinal

    c4rdinal New Member

    Hi,

    I had a problem regarding Xen 3.1 in Debian Etch. I follow the howto but got some error thru the course, as follows:

    linux:~# xm create /etc/xen/node2.domain.com.cfg
    Using config file "/etc/xen/node2.domain.com.cfg".
    Error: Device 0 (vif) could not be connected. Could not find bridge, and none was specified

    vi /etc/xen/xend-config.sxp

    (network-script network-bridge)
    (vif-script vif-bridge)

    vi /etc/xen/node2.domain.com.cfg

    name = 'node2.domain.com'
    vif = [ 'ip=10.0.0.1' ]


    /vserver is created and procedure seem to run smoothly. But problems remains.

    How can i fix the problem?

    TIA
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post the full /etc/xen/node2.domain.com.cfg?
    What's the output of
    Code:
    ifconfig
    ?
     
  3. c4rdinal

    c4rdinal New Member

    Hi Falko,

    Thanks for the reply. Here's the result of ifconfig:

    eth0 Link encap:Ethernet HWaddr 00:17:31:4A:D9:EB
    inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
    inet6 addr: fe80::217:31ff:fe4a:d9eb/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:41 errors:0 dropped:0 overruns:0 frame:0
    TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4994 (4.8 KiB) TX bytes:5883 (5.7 KiB)
    Interrupt:17 Base address:0xcc00

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

    This is my second install of Xen in Debian Etch using the Howto. The first install works like a charm, thanks for the nice Howto! But my second machine seems too stubborn. Please point me on the right track.

    Thanks.
     
    Last edited: Mar 11, 2008
  4. c4rdinal

    c4rdinal New Member

    I've been googling the whole day but can't see any solution to this problem.
    Any suggestions please? What's the best thing to do?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    It seems Xen wasn't started. Please try
    Code:
    /etc/init.d/xend start
    /etc/init.d/xendomains start
     
  6. c4rdinal

    c4rdinal New Member

    Tried the command, it shows the error:


    linux:~# /etc/init.d/xend start
    blktapctrl: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory

    Tried the ff:

    linux:~# ls /usr/lib/libcrypto.so.*
    ls: /usr/lib/libcrypto.so.0.9.8: Too many levels of symbolic links

    linux:~# ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.8

    linux:~# /etc/init.d/xend start
    blktapctrl: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory

    I noticed the the difference:
    Starting xend gives the file libcrypto.so.0.9.7. But what i currently have is libcrypto.so.0.9.8.

    From what package does libcrypto.so.0.9.7 belong? libssl?

    Thanks very much.
     
    Last edited: Mar 12, 2008
  7. falko

    falko Super Moderator ISPConfig Developer

Share This Page