#1  
Old 3rd February 2008, 05:01
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default CentOS Xen local NFS mount?

I'm attempting to install CentOS Xen DomU using virt-install after setting up a local NFS mount like this:

mount -ro loop CentOS-5.0-i386-bin-DVD.iso /mnt/mount
cp -ar /mnt/mount/. /var/www/html/mount
vi /etc/exports
/var/www/html/mount *(ro,sync)
exportfs -a
service nfs restart
showmount -e
/var/www/html/mount *

and also pointing http://localhost/ to
/var/www/html/mount/

where http://localhost/EULA shows the EULA from the CentOS .iso and the file structure looks intact. But when I run the virt-install I get invalid install location whether I specify:

http://localhost/
http://10.1.10.43/
nfs://10.1.10.43:/

but if I specify http://ftp.osuosl.org/pub/centos/5/os/i386/

it works. Why don't my local mounts work? I can see both the http and nfs structure from other clients on the network.
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2008, 13:57
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Can you access the files from a web browser ? If you cannot i suspect selinux is blocking access. If you can then take a look at the access logs of apache to see what files the installer is requesting for.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 4th February 2008, 18:43
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

SElinux is disabled, and I can access all the file using either NFS or HTTP from a remote computer
Reply With Quote
  #4  
Old 4th February 2008, 20:18
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Quote:
Originally Posted by unclecameron
SElinux is disabled, and I can access all the file using either NFS or HTTP from a remote computer
Take a look at the logs and see what files the installer is looking for it will help you figure out what the path it is expecting.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 5th February 2008, 04:16
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

Indexing wasn't allowed in http.conf, which caused the install to fail...really stupid. I also found out if you specify the install source location of http://localhost/ it will fail to find the stage2.img, you have to leave off the trailing slash, otherwise it will fail later during the install

Last edited by unclecameron; 5th February 2008 at 04:31.
Reply With Quote
  #6  
Old 6th February 2008, 04:10
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

Still trying to figure out why it fails when mounting NFS, any ideas?
Reply With Quote
  #7  
Old 6th February 2008, 13:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Any errors in your logs?
__________________
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
  #8  
Old 6th February 2008, 20:58
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default

nothing in /var/log/messages
Reply With Quote
  #9  
Old 7th February 2008, 17:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Did you check the other logs as well?
__________________
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
debian xen kernel and xen kernel tom HOWTO-Related Questions 1 31st August 2007 17:44
Xen 3.0.3 + Debian - No modules available in VM LeoLinux HOWTO-Related Questions 3 1st March 2007 23:59
The Perfect Xen 3.0 Setup For Debian - Root-NFS: No NFS server available, giving up. finn HOWTO-Related Questions 13 7th November 2006 17:51
Samba/LDAP + NFS Implementation vibranze Server Operation 2 21st August 2006 15:02
NFS Locking Failure and Updating solderboy Installation/Configuration 0 29th September 2005 21:59


All times are GMT +2. The time now is 20:46.


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