Назад | Перейти на главную страницу

Почему Apache возвращает службу, временно недоступную на локальном хосте?

Хорошо, так что я немного новичок во всем этом.

Я пытался запустить php и apache2 на моем локальном хосте, и, похоже, мне не удалось заставить его работать.

Я продолжаю получать это сообщение при вводе localhost в Chrome на моем компьютере:

Сервис временно недоступен

Сервер временно не может обработать ваш запрос из-за простоя в обслуживании или проблем с производительностью. Пожалуйста, попробуйте позже.

Я нашел и вставлю ниже журнал ошибок:

[Wed Jul 03 12:11:57 2013] [notice] caught SIGTERM, shutting down
[Wed Jul 03 12:12:02 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Orion.local for ServerName
[Wed Jul 03 12:12:02 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 03 12:12:02 2013] [notice] Digest: done
[Wed Jul 03 12:12:02 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
[Wed Jul 03 12:32:28 2013] [notice] caught SIGTERM, shutting down
[Wed Jul 03 12:32:28 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Orion.local for ServerName
[Wed Jul 03 12:32:28 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 03 12:32:28 2013] [notice] Digest: done
[Wed Jul 03 12:32:28 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
[Wed Jul 03 13:04:19 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:04:19 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:04:19 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:04:24 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:04:24 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:04:37 2013] [notice] caught SIGTERM, shutting down
[Wed Jul 03 13:04:38 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Orion.local for ServerName
[Wed Jul 03 13:04:38 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 03 13:04:38 2013] [notice] Digest: done
[Wed Jul 03 13:04:38 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
[Wed Jul 03 13:04:41 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:04:41 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:04:41 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:04:43 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:04:43 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:06:31 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:06:31 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:06:32 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:09:08 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:09:08 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:09:08 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:10:08 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:10:08 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:10:08 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:21:17 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:21:17 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:21:18 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:35:20 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:35:20 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:35:21 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:35:21 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:36:32 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:36:32 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:36:32 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:37:01 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:37:02 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:40:19 2013] [notice] caught SIGTERM, shutting down
[Wed Jul 03 13:40:20 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine the server's fully qualified domain name, using Orion.local for ServerName
[Wed Jul 03 13:40:20 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 03 13:40:20 2013] [notice] Digest: done
[Wed Jul 03 13:40:20 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x configured -- resuming normal operations
[Wed Jul 03 13:40:24 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:40:24 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:40:25 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:40:25 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:44:45 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:44:45 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:44:46 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:50:15 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 13:50:15 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 13:50:16 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:50:22 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 13:50:23 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:08:34 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:08:34 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:08:35 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:08:35 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:26:37 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:26:37 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:26:40 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:26:40 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:29:51 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:29:51 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:29:52 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:31:19 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:31:19 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:31:19 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:32:50 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:32:50 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:32:50 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:33:06 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:33:06 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:33:38 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:33:39 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:34:49 2013] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:20559 (localhost) failed
[Wed Jul 03 14:34:49 2013] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Wed Jul 03 14:34:50 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:34:52 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:34:54 2013] [error] proxy: HTTP: disabled connection for (localhost)
[Wed Jul 03 14:34:55 2013] [error] proxy: HTTP: disabled connection for (localhost)

Не совсем уверен, что с этим делать, и мне очень хотелось бы взяться за дело.

Заранее спасибо за помощь.

Apache пытается подключиться к вышестоящему прокси на fe80::1 порт 20559, но на этом адресе / порте не работает служба. Поскольку ни одна служба не запущена, Apache получает Connection refused и возвращает ошибку 503.

Чтобы решить эту проблему, либо запустите службу, либо используйте правильный IP-адрес / номер порта, если это применимо. (Вряд ли fe80::1 правильный адрес.)