質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
HTTP

HTTP(Hypertext Transfer Protocol)とはweb上でHTML等のコンテンツを交換するために使われるアプリケーション層の通信プロトコルです。

Q&A

解決済

1回答

5353閲覧

apache 2.2.25でmod_sslがインストールできない

Kimsehwa

総合スコア312

HTTP

HTTP(Hypertext Transfer Protocol)とはweb上でHTML等のコンテンツを交換するために使われるアプリケーション層の通信プロトコルです。

0グッド

0クリップ

投稿2016/10/12 12:34

httpd -v Server version: Apache/2.2.25 (Unix) Server built: Jul 15 2013 11:29:03

apache 2.2.25を使ってます。
このサーバからmod_sslインストールすると
以下のように「Requires: httpd = 2.2.15-54.el6.centos」と出てます。

yum install mod_ssl Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * extras: ftp.iij.ad.jp * ius: mirrors.tuna.tsinghua.edu.cn * updates: ftp.iij.ad.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mod_ssl.x86_64 1:2.2.15-54.el6.centos will be installed --> Processing Dependency: httpd = 2.2.15-54.el6.centos for package: 1:mod_ssl-2.2.15-54.el6.centos.x86_64 --> Finished Dependency Resolution Error: Package: 1:mod_ssl-2.2.15-54.el6.centos.x86_64 (updates) Requires: httpd = 2.2.15-54.el6.centos Installed: httpd-2.2.25-1.el6.x86_64 (@CentALT) httpd = 2.2.25-1.el6 Available: httpd-2.2.15-53.el6.centos.x86_64 (base) httpd = 2.2.15-53.el6.centos Available: httpd-2.2.15-54.el6.centos.x86_64 (updates) httpd = 2.2.15-54.el6.centos Available: httpd24u-2.4.23-2.ius.el6.x86_64 (ius) httpd = 2.4.23-2.ius.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

apache 2.2.15にダウングレードしないといけないでしょうか?
それとも/etc/yum.repoをいじれば改善されるエラーでしょうか。

ヒントになることありましたら教えていただければ大変助かります。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

raccy

2016/10/12 13:08

そもそも、そのApache 2.2.25はどうやって入れたのでしょうか?
Kimsehwa

2016/10/12 13:19

私が構築してないサーバなのでよくわかってないです。yum installでは間違いないですが、、
raccy

2016/10/12 13:30

パッケージ名とかわかりますか?とくに、OS標準以外のレポジトリを使っているのであれば、どのレポジトリを使ったとかの情報です。それがわかると、入れているhttpdパッケージ用のmod_sslパッケージ名がわかるかも知れません。
Kimsehwa

2016/10/12 13:35

rpm -qa |grep httpd httpd-devel-2.2.25-1.el6.x86_64 httpd-2.2.25-1.el6.x86_64 httpd-tools-2.2.25-1.el6.x86_64
Kimsehwa

2016/10/12 13:36 編集

回答ありがとうございます。上記のような設定でした。(コメントは改行できないようです。わかりづらくてすみません)
guest

回答1

0

ベストアンサー

たぶんですが、CentALTというレポジトリを使っているようです。レポジトリの設定次第ですが、

yum --enablerepo=CentALT install mod_ssl

で入るかも知れません。

ただ、CentALTのサイトが乗っ取られている?らしく、本家にアクセスしようとするとマルウェア感染の可能性があると警告が出ます(Chromeで)。ミラーサイトを使えばできるという情報もありますが、ミラーサイトもアクセスできませんでした。別のレポジトリを探す、または、ソースコードからインストールするなど代替手段をとった方が良いかもしれません。

投稿2016/10/12 13:44

raccy

総合スコア21735

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Kimsehwa

2016/10/12 13:49

回答ありがとうございます。おっしゃてるとおりでした。 mirrorがないみたいですね udo yum --enablerepo=CentALT install mod_ssl Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * epel: s3-mirror-ap-northeast-1.fedoraproject.org * epel-debuginfo: ftp.jaist.ac.jp * epel-source: ftp.jaist.ac.jp * extras: ftp.iij.ad.jp * ius: mirrors.tuna.tsinghua.edu.cn * updates: ftp.iij.ad.jp http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid Trying other mirror. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mod_ssl.x86_64 1:2.2.25-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: mod_ssl x86_64 1:2.2.25-1.el6 CentALT 82 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 82 k Installed size: 187 k Is this ok [y/N]: y Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata Package(s) data still to download: 82 k http://centos.alt.ru/repository/centos/6/x86_64/mod_ssl-2.2.25-1.el6.x86_64.rpm: [Errno 14] Peer cert cannot be verified or peer cert invalid Trying other mirror. Error Downloading Packages: 1:mod_ssl-2.2.25-1.el6.x86_64: failure: mod_ssl-2.2.25-1.el6.x86_64.rpm from CentALT: [Errno 256] No more mirrors to try.
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問