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/10(木)】
- ・メモのコツを教えてください!
- ・CDの保有枚数を教えてください
- ・ホテルを選ぶとき、これだけは譲れない条件TOP3は?
- ・家・車以外で、人生で一番奮発した買い物
- ・人生最悪の忘れ物
- ・【コナン30周年】嘘でしょ!?と思った○○周年を教えて【ハルヒ20周年】
- ・ハマっている「お菓子」を教えて!
- ・最近、いつ泣きましたか?
- ・夏が終わったと感じる瞬間って、どんな時?
- ・10秒目をつむったら…
- ・人生のプチ美学を教えてください!!
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・都道府県穴埋めゲーム
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
linuxで時計を表示するソフトは...
-
パソコンでゲームをプレイしよ...
-
ubuntu 初期化について
-
Windows2000を最新マシンにイン...
-
Ubuntu on Xorgのログインについて
-
Lubuntu のインストールに失敗...
-
Raspberry Pi 3 A+ ブラウザ遅い
-
MSI「P55-SD50」のBIOS設定につ...
-
1枚でも「1枚”組”」なのですか?
-
LINUXインストール中にキーボー...
-
メールソフトBecky!について
-
PCのタッチパッドを無効にしたい
-
ウェブカメラの画面が真っ黒な...
-
やはり中古ノートでネットが繋...
-
Debianでのmakeコマンドインス...
-
Powerbook240/3400起動しなくな...
-
HDD, 5400rpm or 7200rpm ?
-
影廊というPCゲームがあるので...
-
WinXP Home ウイルスバスター2...
-
XP(SP3)SSDにクリーンインスト...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
rdesktop が、接続拒否される(...
-
Linux(CentOS6.10)のupdateでの...
-
レンタルサーバーでyumを使いた...
-
RedHat系Linuxコマンドyum
-
kenel のアップデートに際して...
-
yum自身のアップデート
-
yum -y コマンド
-
centOS5.3 インストール後の設...
-
違うアーキテクチャのパッケージ
-
Comodo Antivirus for Linuxで...
-
CentOS4.2へyumでSpamAssassin...
-
Mondo rescueがインストールで...
-
CentOS6.2 ソフトウェアの追加...
-
yumのバージョンについて
-
yumコマンドでバージョンの指定...
-
CentOS5でyumを使ってMysql4やp...
-
トランザクション実行中にエラ...
-
Red Hat Enterprise Linuxにxv...
-
linuxで時計を表示するソフトは...
-
fedora18で特定リポジトリの格...
おすすめ情報