Fedora linuxでpostfixをインストールしようと
「yum -y install postfix」ってコマンドを入れると
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
http://fedora.redhat.com/releases/fedora-core-1/ …
Executing failover method
failover: out of servers to try
Error getting file http://fedora.redhat.com/releases/fedora-core-1/ …
r.info
[Errno 7] HTTP Error (CannotSendRequest):
ってメッセージが返ってきます。
/etc/yum.conf は
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://fedora.redhat.com/releases/fedora-core-$r …
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://fedora.redhat.com/updates/released/fedora …
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://fedora.redhat.com/updates/testing/fedora- …
てなっています。接続先のURLが変わったのでしょうか?
ご教授いただけますか?
以上、何卒よろしくお願いいたします。
No.2ベストアンサー
- 回答日時:
こんばんは。
ネットワークの設定に問題は無いですか?
ファイアウォール(iptables、ルータ等)に問題は無いですか?
DNSで名前解決(resolv.conf)は問題ないですか?
こちらのFedoraCore1で試しに、LANケーブルを抜いたり、DNSの設定を無効にした状態で、
yum install を実行したら、あなたとそっくり同じエラーメッセージが
表示されます。
(1) LANケーブルを抜いて実行してみた。
[root@pc123 root]# yum install postfix
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
[Errno 7] HTTP Error (CannotSendRequest):
[root@pc123 root]#
(2) /etc/resolv.conf でDNSサーバを無効にして、実行してみても、同じエラーが出た。
[root@pc123 root]# cat /etc/resolv.conf
search ****.net
#nameserver ***.***.***.***
[root@pc123 root]# yum install postfix
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://fedora.redhat.com/releases/fedora-core-1/headers/header.info
[Errno 7] HTTP Error (CannotSendRequest):
[root@pc123 root]#
/etc/yum.conf はインストール時より一切変更していません。
参考にしてください。
ありがとうございました。
結局、デフォルトゲートの設定が間違っていてアクセスできなかったみたいです。
設定を変更後、ちゃんとインストールできるようになりました。
/etc/yum.confに記載されているアドレスにブラウザからアクセスしたら画面が???って思いました(汗)
No.1
- 回答日時:
VMware上にインストールしてあったFedora Core 1で実行してみたら以下の通り問題なくpostfixをインストール出来てます。
-------8<-------8<-------8<-------8<-------8<-------
# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://fedora.redhat.com/releases/fedora-core-$r …
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://fedora.redhat.com/updates/released/fedora …
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://fedora.redhat.com/updates/testing/fedora- …
# yum -y install postfix
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
getting /var/cache/yum/updates-released/headers/postfix-2-2.0.16-1.i386.hdr
postfix-2-2.0.16-1.i386.h 100% |=========================| 11 kB 00:00
Resolving dependencies
Dependencies resolved
I will do the following:
[install: postfix 2:2.0.16-1.i386]
Getting postfix-2.0.16-1.i386.rpm
postfix-2.0.16-1.i386.rpm 100% |=========================| 2.1 MB 00:11
Running test transaction:
Test transaction complete, Success!
postfix 100 % done 1/1
Installed: postfix 2:2.0.16-1.i386
Transaction(s) Complete
-------8<-------8<-------8<-------8<-------8<-------
ありがとうございます。
/etc/yum.confに記載されているアドレスにブラウザからアクセスしたら画面が???だったので
てっきり/etc/yum.confのアドレス間違いだと思ってしまいました(汗)
もう一度、ネットワークの設定を見直しましたらデフォルトゲートウェイの設定が間違ってました。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・人生のプチ美学を教えてください!!
- ・10秒目をつむったら…
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・【大喜利】【投稿~9/18】 おとぎ話『桃太郎』の知られざるエピソード
- ・街中で見かけて「グッときた人」の思い出
- ・「一気に最後まで読んだ」本、教えて下さい!
- ・幼稚園時代「何組」でしたか?
- ・激凹みから立ち直る方法
- ・1つだけ過去を変えられるとしたら?
- ・【あるあるbot連動企画】あるあるbotに投稿したけど採用されなかったあるある募集
- ・【あるあるbot連動企画】フォロワー20万人のアカウントであなたのあるあるを披露してみませんか?
- ・映画のエンドロール観る派?観ない派?
- ・海外旅行から帰ってきたら、まず何を食べる?
- ・誕生日にもらった意外なもの
- ・天使と悪魔選手権
- ・ちょっと先の未来クイズ第2問
- ・【大喜利】【投稿~9/7】 ロボットの住む世界で流行ってる罰ゲームとは?
- ・推しミネラルウォーターはありますか?
- ・都道府県穴埋めゲーム
- ・この人頭いいなと思ったエピソード
- ・準・究極の選択
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
Mondo rescueがインストールで...
-
ubuntu 初期化について
-
パソコンでゲームをプレイしよ...
-
ubuntu8.0.4にopenssl-develを...
-
virtual boxにインストールした...
-
メールソフトBecky!について
-
Dockerコンテナ(centos7.9)の...
-
ubuntuでrpmがインストールでき...
-
BSDでフォーマットされたHDDは...
-
Linuxのウィンドウの画面サイズ...
-
PCでAPEXをやろうとしたらこん...
-
外部レポジトリとは
-
HDDを5400rpmから7200rpmに換装...
-
Solaris10でCコンパイラが見...
-
「クラスが登録されていません 」
-
Gnomeを使いたい
-
romfsってなんですか?
-
Windows7でのRAID1設定
-
ImgBurn とブータブルISO
-
yumインストール先は、何で決ま...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
kenel のアップデートに際して...
-
linuxで時計を表示するソフトは...
-
centOS5.3 インストール後の設...
-
yum自身のアップデート
-
違うアーキテクチャのパッケージ
-
yum パッケージを保存
-
RedHat系Linuxコマンドyum
-
CentOS6.2 ソフトウェアの追加...
-
yumがインストールできない
-
yumで見つかったパッケージにつ...
-
Let's encrypt というSSL証明書...
-
syslogdでyumでインストールし...
-
CentOS 6のインストール後GNOME...
-
Red Hat Enterprise Linuxにxv...
-
CentOS6.4にコーデックをインス...
-
Fedora Core1 で、 データをCD...
-
yumが使えなくなってしまいまし...
-
古いCentOSのインストールについて
-
LINUXでGUIプログラムの作り方...
-
yum updateでエラーが出たとき...
おすすめ情報