Hello, I am in the process of installing a LAMP System with FC6 as per the 'Howto' at http://howtoforge.org/installing_a_lamp_system_with_fedora_core_6. Everything was going well until I got to the section marked "6 Install Some Software" at http://howtoforge.org/installing_a_lamp_system_with_fedora_core_6_p3. Having entered the below command : - Code: [I]yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp[/I] I get the error message as shown below : - Code: [I]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] 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 : - NIC 1 = Red (accepts connection from the Internet - IP Address assigned via DHCP from ISP). NIC 2 = Orange (Is the DMZ and feeds into the Server - Static IP Address 10.10.0.1). 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.
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?
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?
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]#
See contents below : - Code: [extras] name=Fedora Extras $releasever - $basearch #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$ basearch/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&a rch=$basearch enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 [extras-debuginfo] name=Fedora Extras $releasever - $basearch - Debug #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$ basearch/debug/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-$releas ever&arch=$basearch enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 [extras-source] name=Fedora Extras $releasever - Source #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/S RPMS/ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-$relea sever&arch=$basearch enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras gpgcheck=1 (END)
Installing A LAMP System With Fedora Core 6 - Page 4 That worked & I was able to download the appropriate programs. Thanks! But why did I have to edit that file? It's not in your instructions! Then I went on to the next stage and got the below result : - Code: [root@web /]# yum install quota 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 Parsing package install arguments Nothing to do So I figured I must have already installed it and moved on : - Code: [root@web /]# mount -o remount / mount: / not mounted already, or bad option [root@web /]# quotacheck -avugm quotacheck: Can't find filesystem to check or filesystem not mounted with quota option. [root@web /]# Things definitely not going to plan. It seems to work for others, why not me? I know! I must've overlooked something again.
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!
I guess you didn't follow the tutorial as close as needed. Maybe you made some typos somewhere or left out a step, etc.