• ベストアンサー

Linux(Fedora9)

Tomcat(6.0.18)とApache(2.2.11)の連携がうまくいきません。 Tomcatは起動・終了ができるのですが、Apacheの起動・終了がうまくいきません。(下記参照) apr_sockaddr_info_get() failed for saoi Could not reliably determine the server's fully qualified domain name,using 127,0,0,1 for SerVerName 皆様ご教授お願い致します。

質問者が選んだベストアンサー

  • ベストアンサー
  • Tacosan
  • ベストアンサー率23% (3656/15482)
回答No.1

エラーメッセージそのもので検索すればわかりますが, 「自分の名前 (FQDN) がわからない」ってことですね. 安直には /etc/hosts に IPアドレスと FQDN を追加してやれば治るかもしれません.

nama_me
質問者

お礼

お返事遅れまして申し訳ありません。 /etc/hosts に IPアドレスと FQDN を追加する事で直りました。 有難うございました。

関連するQ&A

  • fedora14でapacheを起動すると

    次のようなウォーニングメッセージが出ました # service httpd start httpd を起動中: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName [ OK ] # このウォーニングメッセージの意味することと回避するための対処方法を教えてください よろしくお願いします

  • apache2.2-tomcat6.0の連携のエラーについて

    apache2.2-tomcat6.0の連携のエラーについて apache、tomcatをインストール後、 apacheのhttpd.confにて以下の手順で設定を行いましたが 「http://localhost/」にアクセスすると tomcatのトップページが表示されず、 「Service Temporarily Unavailable」と表示されてしまいます。 正常に連携させるにはどのようにしたらよろしいでしょうか? 「http://localhost:8080/」にアクセスした場合は tomcatのトップページが正常に表示されます。 ■手順 1、以下の行のコメントアウトを解除。    LoadModule proxy_module modules/mod_proxy.so    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so 2、最後にhttpd.conf末尾に以下の内容を記述。    <Location />     ProxyPass ajp://localhost:8009/    </Location> ■apacheのエラーログには以下のように出力されました。 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.2 for ServerName [Tue Jul 13 21:24:49 2010] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations [Tue Jul 13 21:24:49 2010] [notice] Server built: Mar 4 2010 11:27:46 [Tue Jul 13 21:24:49 2010] [notice] Parent: Created child process 3164 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.2 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.100.2 for ServerName [Tue Jul 13 21:24:49 2010] [notice] Child 3164: Child process is running [Tue Jul 13 21:24:49 2010] [notice] Child 3164: Acquired the start mutex. [Tue Jul 13 21:24:49 2010] [notice] Child 3164: Starting 64 worker threads. [Tue Jul 13 21:24:49 2010] [notice] Child 3164: Starting thread to listen on port 80. [Tue Jul 13 21:25:23 2010] [error] (OS 10061)対象のコンピューターによって拒否されたため、接続できませんでした。 : proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed [Tue Jul 13 21:25:23 2010] [error] ap_proxy_connect_backend disabling worker for (localhost) [Tue Jul 13 21:25:23 2010] [error] proxy: AJP: failed to make connection to backend: localhost

    • ベストアンサー
    • Java
  • Apache HTTP Server

    インストール時にIP番号 「127.0.0.1」にApache HTTP Serverを設定し、Apache の「htdocs」 にhello.cgiというファイルを保存したのに、 1. Apacheを立ち上げると httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.131.65 for ServerName とエラー表示(?)されます。 2. URLを「http://127.0.0.1/hello.cgi」と指定してもブラウザ(FireFox)には 「127.0.0.1 のサーバへの接続を確立できませんでした。」とエラーになります。 何がいけないのでしょうか? どなたか教えてくださると幸甚です。

  • Apache Start時に

    Apache2.0起動時に Could not determine the server's fully qualified domain name using 127.0.0.1 for ServerName とメッセージが出力されます。 (apachectl start) ただ起動自体は成功してWelcomeページも見えるのですが・・。 Hostsファイルなどは見ましたが「127.0.0.1 」などの記述はありません。 原因は何でしょうか。。 よろしくお願いします。 ちなみにOSはRedhat9です。

  • apacheとtomcatの連携

    wpでapache2.2とtomcat5の連携を行いたいのですが apacheを再起動すると下記のエラーが出ます。 何が悪いですか? httpd.confの最後の行を削除すると起動ができるようになります。 #Include conf/extra/httpd-proxy.conf apacheのエラーログ: [Wed Sep 16 06:09:13 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Sep 16 06:09:13 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations [Wed Sep 16 06:09:13 2009] [notice] Server built: Aug 6 2009 15:50:50 [Wed Sep 16 06:09:13 2009] [notice] Parent: Created child process 1712 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Child process is running [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Acquired the start mutex. [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting 64 worker threads. [Wed Sep 16 06:09:13 2009] [notice] Child 1712: Starting thread to listen on port 80. [Wed Sep 16 06:23:14 2009] [notice] Parent: Received restart signal -- Restarting the server. [Wed Sep 16 06:23:14 2009] [notice] Child 1712: Exit event signaled. Child process is ending. httpd.exe: Syntax error on line 487 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Syntax error on line 7 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/extra/httpd-proxy.conf: </Location> without matching <Location> section [Wed Sep 16 06:23:14 2009] [warn] (OS 995)スレッドの終了またはアプリケーションの要求によって、I/O 処理は中止されました。 : winnt_accept: Asynchronous AcceptEx failed. [Wed Sep 16 06:23:15 2009] [notice] Child 1712: Released the start mutex [Wed Sep 16 06:23:16 2009] [notice] Child 1712: All worker threads have exited. [Wed Sep 16 06:23:16 2009] [notice] Child 1712: Child process is exiting httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:23:36 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Sep 16 06:23:36 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations [Wed Sep 16 06:23:36 2009] [notice] Server built: Aug 6 2009 15:50:50 [Wed Sep 16 06:23:36 2009] [notice] Parent: Created child process 1728 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.3 for ServerName [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Child process is running [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Acquired the start mutex. [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting 64 worker threads. [Wed Sep 16 06:23:36 2009] [notice] Child 1728: Starting thread to listen on port 80.

    • ベストアンサー
    • Java
  • DiCEがグローバルIPを自動検出できません?

    Ubuntu server 12.04TLSを使っています。DiCEのセットアップでIP自動検出をすると127.0.0.1を検出します。本来、グローバルIPを検出するはずなのですが、どうしてか困っております。 ちなみに、CentOS6.2ではDiCEのセットアップでIP自動検出をすると、正常にグローバルIPアドレスを検出します。 少し気になったことはApache2をreload すると「apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName」という、エラー表示が出ます。ウエブサーバとしては正常に機能しています。 このエラーに関して調べたところ、原因はetc/hostsが関連しているとの情報がありました。hostsの内容は以下の通りです。 127.0.0.1 localhost 127.0.1.1 hogehoge # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters このhostsを以下の通り、変更しました。 127.0.0.1 localhost 127.0.1.1 hogehoge.dip.jp # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters その後で、apache2をreloadすると、下記エラー表示に変わりました。 * Reloading web server config apache2 apache2: apr_sockaddr_info_get() failed for hogehoge apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 一応、interfaces の設定は以下の通りです。 auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.3 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 dns-nameservers 192.168.0.3 よろしくお願いします。

  • apache2.2が起動できません

    apacheをインストールして起動させようとしたところcmdで httpd.exe.Could not relibly determine the server's fully qualified domain name,using 192.168.1.3 for servername というメッセージが出たので,そのメッセージを調べてedit httpd.confのServerName localhost:8080とあったのをServerName 192.168.0.1:8080という風に書き換えて,上書き保存しました. しかし,localhostに繋いで見ても前と変わらず,ページが見つからないと出ます. 一応ポート番号などの重複も調べて見ましたが,特に問題はありませんでした. 一体何が問題なのでしょうか ちなみにOSはwindows7 premiumでapacheのインストール場所はCドライブの直下にapache2.2を作りました

  • Linux(Redhat7.3)にApapche2がインストールできない

    題名どおりです。 http://www.itboost.co.jp/inst/inst_49.php に忠実にやりましたが /usr/local/apache2/bin/apachectl start とやったところ、 httpd: Could not determin the server's fully qualified domain name, using 127.0.0.1 for ServerName だそうです。 help me, please!!

  • FedorCore3でアパッチをじっこうすると

    httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName という警告がでます /var/www/html/index.html を外部のPCから見ることができるのでなんとか動作していると思います この警告の問題を解決するにはどうしたらいいでしょうか?

  • MacOSX server の apacheとPHPのインストール後

    MAC OSX Server 10.2.3に apache1.3.27とPHP4.2をコンパイルしてインストールまではいけたのですが・・・。 apacheを再起動しなおそうとすると ---------------------------------------------- #apachectl graceful /usr/sbin/apachectl graceful: httpd not running, trying to start [Tue Jan 14 17:41:27 2003] [alert] apache: Could not determine the server's fully qualified domain n ame, using 127.0.0.1 for ServerName /usr/sbin/apachectl graceful: httpd could not be started ----------------------------------------------- と表示されてしまいます。 /etc/httpd/httpd.confのservernameを設定したのですが 変化ありません。 ご助言いただけると幸いです。 <インストールに参考にしたページ> http://php3.info/manual/ja/install.macosx.php

    • 締切済み
    • Mac