LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2005, 11:23 PM   #1
gregf50
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
Minimal install of FC3: cannot get wget and yum update to work.


I recently performed a minimal server install of Fedora Core 3. I logged into the root and performed the following command:

rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

Then I tried to run:

yum update

but got the following error message:

Cannot find a valid baseurl for repo: base

I rebooted anyway and tried to run:

wget (I know this is a URL, but I cannot post it as it was inputted since I am new and have not submitted > 5 posts)install.loncapa.org/versions/fedora/FC3_loncapa_yum.conf

which gave me the following error message:

Resolving install.loncapa.org... failed: Host not found.

I tried manually setting up the firewall using iptables plus setting the IP address, gateway, DNS. I have to have DHCP disabled prior to installing Lon-Capa, which is an environment for creating web based courses (in my case, physics) with LaTeX compatibility and other convenient features for science courses.

I hope that someone can resolve the above errors. Your help will be greatly appreciated. Thanks,

Greg.
 
Old 03-16-2005, 01:39 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Since you got "host not found" it seems you cannot access that site. If it does exist you should make sure to have a working connection. Have you checked with for example lynx if you can access outside webpages using your current configuration of iptables?
 
Old 03-16-2005, 01:49 AM   #3
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
Perhaps iptables is blocking DNS requests?
If not, are the DNS servers in /etc/resolv.conf reachable?
can you do dig install.loncapa.org ?

To debug possible IPTables problems, you should have a LOG target in your chain JUST before it gets dropped or rejected. This way you can see if an attempt to send out a packet gets through or not.
 
Old 03-16-2005, 03:07 AM   #4
gregf50
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Response to solutions.

Thank you for your rapid replies!

I am a newbie to Linux, so I have to admit that I do not fully understand your suggestions. However, I will look them up and get more information on them, then I will try them and see what happens. I will certainly post something if things go crazy.

I will try this >> Perhaps iptables is blocking DNS requests?
If not, are the DNS servers in /etc/resolv.conf reachable?
can you do dig install.loncapa.org ?

I do not quite understand this; perhaps it could be expanded? >> To debug possible IPTables problems, you should have a LOG target in your
chain JUST before it gets dropped or rejected. This way you can see if an
attempt to send out a packet gets through or not.


The site does exist; I checked. I will try your suggestion >> Since you got "host not found" it seems you cannot access that site. If it does
exist you should make sure to have a working connection. Have you checked with
for example lynx if you can access outside webpages using your current
configuration of iptables?

Thanks,

Greg.
 
Old 03-16-2005, 07:47 AM   #5
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
First of all you should try to ping the site from the box. Ping it by IP. Then try to see if your DNS is working by running this command:

Code:
host install.loncapa.org
If you get an ip out from that you have a working DNS setup and there are no problems there. If this does not work you should take a look at the file /etc/resolv.conf, in this file there should be nameservers listed and they should be up and working (your isp should provide nameservers for you).

If this does work maybe iptables are blocking the traffic for you. You might want to check your iptables-setting out then.
 
Old 03-16-2005, 10:33 AM   #6
Robert G. Hays
Member
 
Registered: Jan 2003
Location: Atlanta, Ga., USA
Distribution: Gentoo, Mandrake, ~others
Posts: 157

Rep: Reputation: 30
One further thought re iptables blocking :: if FC3 uses one of the 'civilizer' programs (e.g.: ShoreWall) to pre-set a firewall, some of them set up a *very* strict wall, up to and including total lock-out, so if you let one of them run, you may need to figure out how to open the wall using the tool that set it up.

Myself, I learned iptables itself, and just hand-write mt own walls as a start-up script.

LOL,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fc3:yum won't update - selinux conflict logo Linux - Software 2 09-18-2005 04:14 PM
FC3, 64-bit multilib, with many yum update conflicts sgl Fedora 2 06-04-2005 10:42 PM
(FC3) ATI FGLRX Drivers work for months,FC3 update, stop working genixpro Linux - Hardware 2 04-23-2005 10:01 PM
FC3 KDE not loading after yum update aerlinn Fedora 1 03-20-2005 07:41 PM
Trying to update FC2 to FC3 using Yum, and getting error message Rockgod2099 Linux - Software 0 12-13-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration