"Could not locate Apache configuration file" Error When Attempting to Install the Crowd Apache Connector on Ubuntu Linux

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

After running ./configure in Step 3 of this guide: 2018-04-24_10-55-23_Installing the Crowd Apache Connector on Ubuntu Linux , the following error message is thrown:

configure: error: Could not locate Apache configuration file

原因

The configure.ac file in mod_authnz_crowd-2.0.2 has 3 hardcoded links to locate httpd.conf:

AC_CHECK_FILE([/usr/local/apache2/conf/httpd.conf], [HTTPD_CONF="/usr/local/apache2/conf/httpd.conf"], [
    AC_CHECK_FILE([/etc/httpd/conf/httpd.conf], [HTTPD_CONF="/etc/httpd/conf/httpd.conf"], [
        AC_CHECK_FILE([/etc/apache2/httpd.conf], [HTTPD_CONF="/etc/apache2/httpd.conf"], [
            AC_MSG_ERROR([Could not locate Apache configuration file])
        ])
    ])
])

If httpd.conf is located in a different location, the error highlighted in this KB will be thrown.

This bug is recorded in our system as CWDAPACHE-35

回避策

Modify configure.ac in mod_authnz_crowd so that it includes your httpd.conf's location. Example:

AC_CHECK_FILE([/path/to/httpd.conf], [HTTPD_CONF="/path/to/httpd.conf"], [
            AC_MSG_ERROR([Could not locate Apache configuration file])
        ])

Modify /path/to/httpd.conf to the location of your httpd.conf

最終更新日: 2016 年 2 月 19 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.