Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th March 2006, 21:04
gurneyzap gurneyzap is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2006, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th March 2006, 15:37
gurneyzap gurneyzap is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes vm01 is on the same network as dom0

Both pings produced "network is unreachable" results.

Pings on dom0 returned good results.

Last edited by gurneyzap; 25th March 2006 at 15:42.
Reply With Quote
  #4  
Old 25th March 2006, 15:59
gurneyzap gurneyzap is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 26th March 2006, 11:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu "the perfect setup with RAID 1" Hans Installation/Configuration 1 16th January 2006 17:50
Fedora Core 4 - The Perfect Setup nandhu HOWTO-Related Questions 27 10th January 2006 12:23
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 11:50


All times are GMT +2. The time now is 14:45.


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