Perfect Xen 3.0 setup for Debian

Discussion in 'HOWTO-Related Questions' started by gurneyzap, Mar 24, 2006.

  1. gurneyzap

    gurneyzap New Member

    Using another one of Falko's excellent howtos. I've install vm01 and can login to it. Now I want to install mysql but when I run apt-get install, I get the following error.

    elroy:~# apt-get install mysql-server mysql-client libmysqlclient12-dev phpmyadmin
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
    apache apache-common apache2-utils libapache-mod-php4 libapr0
    libdbd-mysql-perl libdbi-perl libexpat1 libmysqlclient12 libnet-daemon-perl
    libplrpc-perl libzzip-0-12 mysql-common php4 php4-common php4-mysql psmisc
    ucf zlib1g-dev
    Suggested packages:
    apache-doc apache-ssl apache-perl php4-pear dbishell libcompress-zlib-perl
    mysql-doc php4-gd php5-gd
    Recommended packages:
    debconf-utils
    The following NEW packages will be installed:
    apache apache-common apache2-utils libapache-mod-php4 libapr0
    libdbd-mysql-perl libdbi-perl libexpat1 libmysqlclient12
    libmysqlclient12-dev libnet-daemon-perl libplrpc-perl libzzip-0-12
    mysql-client mysql-common mysql-server php4 php4-common php4-mysql
    phpmyadmin psmisc ucf zlib1g-dev
    0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
    Need to get 14.8MB/14.8MB of archives.
    After unpacking 41.4MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Err http://debian.lcs.mit.edu stable/main libexpat1 1.95.8-3
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libapr0 2.0.54-5
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main apache2-utils 2.0.54-5
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main ucf 1.17
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main apache-common 1.3.33-6sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main apache 1.3.33-6sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libzzip-0-12 0.12.83-4
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main php4-common 4:4.3.10-16
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libapache-mod-php4 4:4.3.10-16
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main mysql-common 4.0.24-10sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libmysqlclient12 4.0.24-10sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libnet-daemon-perl 0.38-1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libplrpc-perl 0.2017-1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libdbi-perl 1.46-6
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libdbd-mysql-perl 2.9006-1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main mysql-client 4.0.24-10sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main zlib1g-dev 1:1.2.2-4.sarge.2
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main libmysqlclient12-dev 4.0.24-10sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Err http://debian.lcs.mit.edu stable/main phpmyadmin 4:2.6.2-3sarge1
    Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/e/expat/libexpat1_1.95.8-3_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/a/apache2/libapr0_2.0.54-5_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/a/apache2/apache2-utils_2.0.54-5_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/u/ucf/ucf_1.17_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/a/apache/apache-common_1.3.33-6sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/a/apache/apache_1.3.33-6sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/z/zziplib/libzzip-0-12_0.12.83-4_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/p/php4/php4-common_4.3.10-16_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/p/php4/libapache-mod-php4_4.3.10-16_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/m/mysql-dfsg/mysql-common_4.0.24-10sarge1_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/m/mysql-dfsg/libmysqlclient12_4.0.24-10sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/libn/libnet-daemon-perl/libnet-daemon-perl_0.38-1_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/libp/libplrpc-perl/libplrpc-perl_0.2017-1_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/libd/libdbi-perl/libdbi-perl_1.46-6_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/po...ysql-perl/libdbd-mysql-perl_2.9006-1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/m/mysql-dfsg/mysql-client_4.0.24-10sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/m/mysql-dfsg/mysql-server_4.0.24-10sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/p/php4/php4_4.3.10-16_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/p/php4/php4-mysql_4.3.10-16_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/z/zlib/zlib1g-dev_1.2.2-4.sarge.2_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/po...libmysqlclient12-dev_4.0.24-10sarge1_i386.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    Failed to fetch http://debian.lcs.mit.edu/debian/pool/main/p/phpmyadmin/phpmyadmin_2.6.2-3sarge1_all.deb Cannot initiate the connection to debian.lcs.mit.edu:80 (128.30.2.36). - connect (101 Network is unreachable)
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    elroy:~#

    I can get to this mirror from dom0. Thanks for any help.
     
  2. falko

    falko Super Moderator

    Is vm01 on the same network as dom0, or is it on its own virtual network?

    What's the output of

    Code:
    ping -c4 www.google.com

    and

    Code:
    ping -c4 216.239.59.99
    on vm01?
     
  3. gurneyzap

    gurneyzap New Member

    Yes vm01 is on the same network as dom0

    Both pings produced "network is unreachable" results.

    Pings on dom0 returned good results.
     
    Last edited: Mar 25, 2006
  4. gurneyzap

    gurneyzap New Member

    I think I figured it out. I added a default route via the command line. I did not have a default route in the routing tables. Adding it fixed the apt-get problem. Which file do I add this to so that it will init on reboot. Thanks.
     
  5. falko

    falko Super Moderator

    Create a bash script in /etc/network/if-up.d, add your route in there and make it executable. It will then be executed whenever you boot your system.
     

Share This Page