HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Perfect Xen 3.0 setup for Debian (http://www.howtoforge.com/forums/showthread.php?t=3325)

gurneyzap 24th March 2006 21:04

Perfect Xen 3.0 setup for Debian
 
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/poo...5.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/poo....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/poo....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/poo...f_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/poo...arge1_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/poo...arge1_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/poo....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/poo...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/poo...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/poo...sarge1_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/poo...arge1_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/poo...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/poo...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/poo....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/poo...006-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/poo...arge1_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/poo...arge1_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/poo....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/poo...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/poo...rge.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/poo...arge1_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/poo...sarge1_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.

falko 25th March 2006 14:41

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?

gurneyzap 25th March 2006 15:37

Yes vm01 is on the same network as dom0

Both pings produced "network is unreachable" results.

Pings on dom0 returned good results.

gurneyzap 25th March 2006 15:59

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.

falko 26th March 2006 11:30

Quote:

Originally Posted by gurneyzap
Which file do I add this to so that it will init on reboot. Thanks.

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.


All times are GMT +2. The time now is 10:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.