Apache the requested operation has failed windows

Непредвиденная ошибка Apache 2.2.13: «The requested operation has failed»!

16 ответов

Прикрепил во вложение этот файлик.

Iktomy, зашёл туда, а там полно всяких ошибок. Скрин во вложении.

🙂 Источник — Apache Service. Это он, родимый. Для чистоты эксперимента попробуйте запустить сервис еще раз и скопирувать сюда описание ошибки в последней записи журнала

Лог файл, кстате, не совсем тот. Поищите последний по дате. Приложенный, как я понял — лог установки.

Во-вторых, надо файл error.log прикладывать, а не install %)

Во-вторых, надо файл error.log прикладывать, а не install %)

Прошу прощения, но я в английском не шурую. Не мог бы ты мне объяснить, куда мне надо зайти. А файла error.log почему-то нету в версии 2.2. Если только его вручную создать.

Не понял. В файле httpd.conf ясно написаны вот эти строчки:

ErrorLog «logs/error.log»
CustomLog «logs/access.log» common

А ни того, ни другого файла нигде нету. Почему это так.

P.S. Не, ну надо же так. Ещё вчера вечером всё работало, а сегодня ошибка. Капец.

Фантастика, да и только. Включил сегодня компьютер, посмотрел Апач, а он работает. Фантастика и только. Так и свихнуться не долго. И чего ещё ждать после такого. Вот, блин, как по желанию. Сегодня хочу работать, а завтра не хочу. Да ещё и логи появились. Люди. Кто может мне конкретно объяснить, что же это было.

Конфиг апача и лог ошибок вложил в сообщение для установки диагноза.

P.S. Антивирус у меня Kaspersky Internet Security 2009. Может это как-то поможет делу.

Споршу так — вы все компоненты ставили по отдельности? Т.е. отдельно Apache, отдельно PHP, отдельно прочее и потом настраивали, или взягли готовую сборку, типа Denwer, XAMPP, прочее УГ?

У вас в логах есть следующее подозрительное «httpd.exe: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.2 for ServerName». Я не пойму, что мешает забить эту строку в гугл? Первая же ссылка привела меня на: http://www.tek-tips.com/viewthread.cfm?qid=1515890&page=2.
Кстати, то что она на английском — это не должно пугать. В сфере IT, программирования знание английского обязательно, хотя бы на уровне среднего пользования словарем.

Я всё ставил отдельно. В начале установил Apache 2.0.55, PHP 5.1.2 и MySQL 5.0.19, а потом решил установить дистрибутивы поновее и сейчас у меня стоит вот такая связка: Apache 2.2.13 + PHP 5.3 + MySQL 5.1.39. Долго искал про то, какие версии не конфликтуют друг с другом и вот, нашёл!

По поводу ошибки, я поищу на русских форумах. Не перевариваю я английский. Но надо исправляться. Иначе в будущем ой как не легко будет.

Ошибка «the requested operation has failed! » (Страница 1 из 5)

Чтобы отправить ответ, вы должны войти или зарегистрироваться

Сообщения с 1 по 25 из 112

1 Тема от krivetko. 2010-06-22 23:45:31

  • krivetko.
  • Редкий гость
  • Неактивен
  • Зарегистрирован: 2010-06-22
  • Сообщений: 3

Тема: Ошибка «the requested operation has failed! «

При запуске, апач выдает ошибку «the requested operation has failed! » что посоветуете?

Читайте также:  File zip encryptor mac os

2 Ответ от Hanut 2010-06-23 10:50:35

  • Hanut
  • Модератор
  • Неактивен
  • Откуда: Рига, Латвия
  • Зарегистрирован: 2006-07-02
  • Сообщений: 9,688

Re: Ошибка «the requested operation has failed! «

krivetko.
Смотрите записи в журнале ошибок (error.log). Если там пусто, то попробуйте запустить ярлык «\Apache HTTP Server 2.2\Configure Apache Server\Test Configuration» в меню Пуск.

3 Ответ от krivetko. 2010-06-23 22:07:05

  • krivetko.
  • Редкий гость
  • Неактивен
  • Зарегистрирован: 2010-06-22
  • Сообщений: 3

Re: Ошибка «the requested operation has failed! «

в журнале ошибок написано «Ошибка» ну я не удивился, морально уже был готов. урруру)) а в Test Configuration syntex написано — error on line 133

4 Ответ от Hanut 2010-06-24 11:36:57

  • Hanut
  • Модератор
  • Неактивен
  • Откуда: Рига, Латвия
  • Зарегистрирован: 2006-07-02
  • Сообщений: 9,688

Re: Ошибка «the requested operation has failed! «

krivetko.
Покажите строку 133 httpd.conf

5 Ответ от krivetko. 2010-06-28 17:34:58

  • krivetko.
  • Редкий гость
  • Неактивен
  • Зарегистрирован: 2010-06-22
  • Сообщений: 3

Re: Ошибка «the requested operation has failed! «

спасибо, устранил, надо было просто ***@lokalhost дописать. вот теперь другая (_ )( _) стоял денвер, видать криво поставился, я его благополучно снес, терь ставлю заново, а в ответ только первоначальное окно загрузки и все. Что делать хз помогите плиз.

6 Ответ от Hanut 2010-06-29 00:08:10

  • Hanut
  • Модератор
  • Неактивен
  • Откуда: Рига, Латвия
  • Зарегистрирован: 2006-07-02
  • Сообщений: 9,688

Re: Ошибка «the requested operation has failed! «

krivetko.
По установке Денвера помочь не смогу, но надо подумать что может блокировать установку.

7 Ответ от Aleksandr_A 2010-08-26 01:05:05

  • Aleksandr_A
  • Редкий гость
  • Неактивен
  • Зарегистрирован: 2010-08-26
  • Сообщений: 10

Re: Ошибка «the requested operation has failed! «

При запуске, апач выдает ошибку «the requested operation has failed! » что посоветуете?

Попробовал через Test Configurator, вышло следующее:

httpd.exe: Syntax error on line 205 of D:/apache/conf/httpd.conf: without matching section
Note the errors or messages above, and press the key to exit.

Апач не запускается

далее с 205 строки

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

DirectoryIndex index.html index.htm index.shtml index.php

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#

Order allow,deny
Deny from all
Satisfy All

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a
# container, that host’s errors will be logged there and not here.
#
ErrorLog «D:/apache/error.log»

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat «%h %l %u %t \»%r\» %>s %b \»%i\» \»%i\»» combined
LogFormat «%h %l %u %t \»%r\» %>s %b» common

# You need to enable mod_logio.c to use %I and %O
LogFormat «%h %l %u %t \»%r\» %>s %b \»%i\» \»%i\» %I %O» combinedio

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a
# container, they will be logged here. Contrariwise, if you *do*
# define per- access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog «D:/apache/access.log» common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog «logs/access.log» combined

#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server’s namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.somenet.com/bar

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a section to allow access to
# the filesystem path.

Читайте также:  Как добавить свой значок ярлыка windows 10

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing «/» apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ «D:/apache/cgi-bin/»

#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock

#
# «D:/apache/cgi-bin» should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#

AllowOverride None
Options None
Order allow,deny
Allow from all

помогите пожалуйста разобраться

8 Ответ от DmitryV 2010-08-26 06:26:50 (изменено: DmitryV, 2010-08-26 06:41:28)

  • DmitryV
  • Пенсионер
  • Неактивен
  • Откуда: Санкт-Петербург, Россия
  • Зарегистрирован: 2010-07-31
  • Сообщений: 558

Re: Ошибка «the requested operation has failed! «

Aleksandr_A

выше покажите код, Вам говарит что Ошибка на строке 205. а не ниже что у Вас нет до

Syntax error on line 205 of D:/apache/conf/httpd.conf: without matching section

если вы используете Directory то проверьте что есть начинающий тег и конечный

9 Ответ от Aleksandr_A 2010-08-26 11:06:30

  • Aleksandr_A
  • Редкий гость
  • Неактивен
  • Зарегистрирован: 2010-08-26
  • Сообщений: 10

Re: Ошибка «the requested operation has failed! «

выше покажите код, Вам говарит что Ошибка на строке 205. а не ниже что у Вас нет до

Syntax error on line 205 of D:/apache/conf/httpd.conf: without matching section

если вы используете Directory то проверьте что есть начинающий тег и конечный

Выкладываю код до 205 строки

#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See for detailed information.
# In particular, see
#
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They’re here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server’s control files begin with «/» (or «drive:/» for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with «/», the value of ServerRoot is prepended — so «logs/foo.log»
# with ServerRoot set to «D:/apache» will be interpreted by the
# server as «D:/apache/logs/foo.log».
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., «c:/apache» instead of «c:\apache»).
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.

#
# ServerRoot: The top of the directory tree under which the server’s
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot «D:/apache»

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule’ lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l’) do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_alias_module modules/mod_authn_alias.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule php5_module «D:/php/php5apache2_2.dll»
PHPIniDir «D:/php»

Читайте также:  Linux vsftpd ssl неявный

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon

# ‘Main’ server configuration
#
# The directives in this section set up the values used by the ‘main’
# server, which responds to any requests that aren’t handled by a
# definition. These values also provide defaults for
# any containers you may define later in the file.
#
# All of these directives may appear inside containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin webmaster@somenet.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn’t have a registered DNS name, enter its IP address here.
#
ServerName localhost:80

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot «D:/apache/htdocs»

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the «default» to be a very restrictive set of
# features.
#

Options Includes Indexes FollowSymLinks
AllowOverride All
Allow from all

#
# Note that from this point forward you must specifically allow
# particular features to be enabled — so if something’s not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#

Оцените статью