Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th November 2006, 03:53
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Unhappy Installing A LAMP System With Fedora Core 6

Hello,

I am in the process of installing a LAMP System with FC6 as per the 'Howto' at http://howtoforge.org/installing_a_l..._fedora_core_6. Everything was going well until I got to the section marked "6 Install Some Software" at http://howtoforge.org/installing_a_l...dora_core_6_p3.

Having entered the below command : -
Code:
yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
I get the error message as shown below : -
Code:
ileutils ncftp
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retreive mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution').
Error; Cannot find a valid baseurl for repo: core
I think the problem is that I have no internet connection.

My network is set up as follows : -

I connect to the Internet via Cable Modem. This Cable Modem feeds into a SmoothWall Box which has 3x NICs : -
  1. NIC 1 = Red (accepts connection from the Internet - IP Address assigned via DHCP from ISP).
  2. NIC 2 = Orange (Is the DMZ and feeds into the Server - Static IP Address 10.10.0.1).
  3. NIC 3 = Green(Feeds a Wireless Router which in turn feeds the LAN IP Address IP Address 10.10.0.20 - assigned via DHCP).

The addreses on the LAN are all assigned via a DHCP running on the Wireless Router and are on a different subnet.

I used to have a working Apache Web Server using this set up before. Can anyone tell me what went wrong ? All I did was remove the HDD and place a new one in the machine for this exercise.

I have also used the folloing settings for the server.
IP Address = 10.10.0.10
Subnet = 255.255.255.0
Gateway = 10.10.0.1 (the IP address for the Orange NIC in the SmoothWall Box)
Broadcast = 10.10.0.255
Primary DNS = 194.168.4.100
Secondary DNS = 194.168.8.100
The DNS Servers are those belonging to my ISP.
The Server is connected to the Orange interface of the Smoothwall box via a 'Cross-over' cable.
Reply With Quote
Sponsored Links
  #2  
Old 21st November 2006, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Linocks
Hello,

I am in the process of installing a LAMP System with FC6 as per the 'Howto' at http://howtoforge.org/installing_a_l..._fedora_core_6. Everything was going well until I got to the section marked "6 Install Some Software" at http://howtoforge.org/installing_a_l...dora_core_6_p3.

Having entered the below command : -
Code:
yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
I get the error message as shown below : -
Code:
ileutils ncftp
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retreive mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution').
Error; Cannot find a valid baseurl for repo: core
Did you try more than once? Sometimes yum behaves like this, then you must somply try again.

What's the output of
Code:
ifconfig
and
Code:
ping -c4 google.com
and
Code:
dig google.com
?

Did you disable SELinux and the Fedora firewall?
__________________
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 22nd November 2006, 01:00
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Post Installing A LAMP System With Fedora Core 6

It was my internet connection but now I have sorted that I get the below message : -

Code:
[root@web ~]# yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================| 1.2 kB    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 205 kB    00:00
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from updates: [Errno 256] No more mirrors to try.
[root@web ~]#
So what now?
Reply With Quote
  #4  
Old 22nd November 2006, 16:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please run yum again.

What's the output of
Code:
ls -l /etc/yum.repos
?
__________________
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
  #5  
Old 22nd November 2006, 22:48
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Post Installing A LAMP System With Fedora Core 6

Quote:
Please run yum again.

What's the output of
Code:

ls -l /etc/yum.repos

?
The results are below : -

Code:
[root@web ~]# yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================| 1.2 kB    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 211 kB    00:00
################################################## 680/680
primary.xml.gz            100% |=========================| 1.4 MB    00:06
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from extras: [Errno 256] No more mirrors to try.
You have new mail in /var/spool/mail/root
[root@web ~]# less /var/spool/mail/root
[root@web ~]# ls =l /etc/yum.repos
ls: =l: No such file or directory
ls: /etc/yum.repos: No such file or directory
[root@web ~]# ls =l /etc/yum.repos.d/
ls: =l: No such file or directory
/etc/yum.repos.d/:
fedora-core.repo                fedora-legacy.repo
fedora-development.repo         fedora-updates.repo
fedora-extras-development.repo  fedora-updates-testing.repo
fedora-extras.repo
[root@web ~]#
Sorry - Different output below : -
Code:
[root@web yum.repos.d]# ls -l
total 56
-rw-r--r-- 1 root root 1054 Oct 15 19:07 fedora-core.repo
-rw-r--r-- 1 root root 1750 Oct 15 19:07 fedora-development.repo
-rw-r--r-- 1 root root 1490 Oct 15 19:07 fedora-extras-development.repo
-rw-r--r-- 1 root root  981 Oct 15 19:07 fedora-extras.repo
-rw-r--r-- 1 root root  517 Oct 15 19:07 fedora-legacy.repo
-rw-r--r-- 1 root root 1039 Oct 15 19:07 fedora-updates.repo
-rw-r--r-- 1 root root 1112 Oct 15 19:07 fedora-updates-testing.repo
[root@web yum.repos.d]#

Last edited by Linocks; 22nd November 2006 at 22:53.
Reply With Quote
  #6  
Old 23rd November 2006, 17:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in /etc/yum.repos/fedora-extras.repo?
__________________
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
  #7  
Old 27th November 2006, 13:12
Linocks Linocks is offline
Member
 
Join Date: Nov 2006
Location: Cambs. UK
Posts: 61
Thanks: 3
Thanked 3 Times in 2 Posts
Red face Installing A LAMP System With Fedora Core 6 - Page 4

Falko,

I retraced my steps & found an error. I did not edit a file properly (at Installing A LAMP System With Fedora Core 6 - Page 3).

Code:
vi /etc/fstab
I have now rectified that issue and another has arisen. I think this is a good time to re-check everything instead of continuing to hound you with other issues so what I intend to do is to start over again.

Thanks for all your help. I have no doubt that I will be calling upon you again in the future.

Keep up the good work!

Thanks again for all your help!
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
The Perfect Setup - Fedora Core 4 british.assassin Server Operation 9 21st February 2008 17:29
fedora core 4 and PCMCIA troubles abdv Installation/Configuration 2 20th September 2006 20:42
Fedora Core 2 Turns into ReadOnly File system after rebuilding Hardware Raid agurung Installation/Configuration 3 23rd August 2006 14:40
ISPConfig on Fedora Core 5 32bit system StoddardIV Installation/Configuration 9 15th July 2006 13:36
Help Me in Installing Linux Fedora core 5 64-bit gmat655 Installation/Configuration 1 9th May 2006 00:01


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


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