<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Проблема запуска httpd на fedora20]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=33941</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33941&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Проблема запуска httpd на fedora20».]]></description>
		<lastBuildDate>Fri, 21 Feb 2014 05:45:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395562#p395562</link>
			<description><![CDATA[<p>Это к федоре уже отношения не имеет. Открывай порты, возможно настраивай селинукс...<br />В общем создай отдельную тему в соответствующем разделе форума.</p><p>Вопрос решён. Тему закрываю, от флейма подальше.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:45:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395562#p395562</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395560#p395560</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Это не дефолтный конфиг. В дефолтном не может быть строки:<br /></p><div class="codebox"><pre><code>adddefaultecharset cp1251</code></pre></div><p>P.S. Достаточно было показать одну из полученных ссылок.</p></blockquote></div><p>Строку убрал.<br />пробую перезапуститься...<br /></p><div class="codebox"><pre><code>[root@localhost conf]# service httpd restart
Redirecting to /bin/systemctl restart  httpd.service
[root@localhost conf]# systemctl status httpd
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
   Active: active (running) since Пт 2014-02-21 14:41:07 IRKT; 6s ago
  Process: 2949 ExecStop=/bin/kill -WINCH $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 2954 (httpd)
   Status: &quot;Processing requests...&quot;
   CGroup: /system.slice/httpd.service
           ├─2954 /usr/sbin/httpd -DFOREGROUND
           ├─2955 /usr/sbin/httpd -DFOREGROUND
           ├─2956 /usr/sbin/httpd -DFOREGROUND
           ├─2957 /usr/sbin/httpd -DFOREGROUND
           ├─2958 /usr/sbin/httpd -DFOREGROUND
           └─2959 /usr/sbin/httpd -DFOREGROUND

фев 21 14:41:07 localhost.localdomain httpd[2954]: AH00558: httpd: Could n...
фев 21 14:41:07 localhost.localdomain systemd[1]: Started The Apache HTTP ...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost conf]#</code></pre></div><p>в виртуалке в браузере вс работает...localhost<br />а вот пытаюсь стартовую страницу апача вывести в локалке на компе по ip_adrr в строке адреса в браузере...не показывает((ping соответ всё работает...как я полагаю дело в конфиге апача..что-то там нужно прописать, чтобы в локалке я мог к нему обратиться...хотя в ф14 у меня всё по умолчанию работало((</p>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:43:33 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395560#p395560</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395559#p395559</link>
			<description><![CDATA[<div class="quotebox"><cite>SWATSib пишет:</cite><blockquote><p>по умолчанию всё...</p></blockquote></div><p>А откуда тогда взялось это?</p><div class="quotebox"><cite>SWATSib пишет:</cite><blockquote><p>фев 21 10:20:59 localhost.localdomain httpd[1745]: Invalid command &#039;adddefaultecharset&#039;, perhaps misspelled or defined by a module not included...guration</p></blockquote></div><p>Конкретно: adddefault<strong><span style="color: red">e</span></strong>charset?</p>]]></description>
			<author><![CDATA[null@example.com (urfin)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:39:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395559#p395559</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395558#p395558</link>
			<description><![CDATA[<p>Это не дефолтный конфиг. В дефолтном не может быть строки:<br /></p><div class="codebox"><pre><code>adddefaultecharset cp1251</code></pre></div><p>P.S. Достаточно было показать одну из полученных ссылок.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:38:49 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395558#p395558</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395557#p395557</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Покажи вывод <strong>fpaste /etc/httpd/conf/httpd.conf</strong></p></blockquote></div><p>вот<br /></p><div class="codebox"><pre><code>[root@localhost conf]# fpaste /etc/httpd/conf/httpd.conf
Uploading (13.7KiB)...
http://ur1.ca/go0za -&gt; http://paste.fedoraproject.org/79132/92960996
[root@localhost conf]#</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:38:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395557#p395557</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395556#p395556</link>
			<description><![CDATA[<p>образ Ф20 отсюда качал</p><p><a href="http://mirror.yandex.ru/fedora/russianfedora/releases/RFRemix/20/RFRemix/i386/iso/">http://mirror.yandex.ru/fedora/russianf … /i386/iso/</a></p>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:37:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395556#p395556</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395555#p395555</link>
			<description><![CDATA[<p>Покажи вывод <strong>fpaste /etc/httpd/conf/httpd.conf</strong></p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:36:46 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395555#p395555</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395554#p395554</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Всё написано. Кривой конфиг апача.<br />Ты его изменял или это по умолчанию конфиг?</p></blockquote></div><br /><p>вот конфига апача</p><div class="codebox"><pre><code>#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See &lt;URL:http://httpd.apache.org/docs/2.4/&gt; for detailed information.
# In particular, see 
# &lt;URL:http://httpd.apache.org/docs/2.4/mod/directives.html&gt;
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They&#039;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&#039;s control files begin with &quot;/&quot; (or &quot;drive:/&quot; for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with &quot;/&quot;, the value of ServerRoot is prepended -- so &#039;log/access_log&#039;
# with ServerRoot set to &#039;/www&#039; will be interpreted by the
# server as &#039;/www/log/access_log&#039;, where as &#039;/log/access_log&#039; will be
# interpreted as &#039;/log/access_log&#039;.

#
# ServerRoot: The top of the directory tree under which the server&#039;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 specify a local disk on the
# Mutex directive, if file-based mutexes are used.  If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
ServerRoot &quot;/etc/httpd&quot;

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the &lt;VirtualHost&gt;
# 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&#039; 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&#039;) do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
Include conf.modules.d/*.conf

#
# 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 apache
Group apache

# &#039;Main&#039; server configuration
#
# The directives in this section set up the values used by the &#039;main&#039;
# server, which responds to any requests that aren&#039;t handled by a
# &lt;VirtualHost&gt; definition.  These values also provide defaults for
# any &lt;VirtualHost&gt; containers you may define later in the file.
#
# All of these directives may appear inside &lt;VirtualHost&gt; 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 root@localhost

#
# 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&#039;t have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80

#
# Deny access to the entirety of your server&#039;s filesystem. You must
# explicitly permit access to web content directories in other 
# &lt;Directory&gt; blocks below.
#
&lt;Directory /&gt;
    AllowOverride none
    Require all denied
&lt;/Directory&gt;

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

#
# 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 &quot;/var/www/html&quot;

#
# Relax access to content within /var/www.
#
&lt;Directory &quot;/var/www&quot;&gt;
    adddefaultecharset cp1251
    AllowOverride None
    # Allow open access:
    Require all granted
&lt;/Directory&gt;

# Further relax access to the default document root:
&lt;Directory &quot;/var/www/html&quot;&gt;
    #
    # Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;
    # doesn&#039;t give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
&lt;/Directory&gt;

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
&lt;IfModule dir_module&gt;
    DirectoryIndex index.html
&lt;/IfModule&gt;

#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
&lt;Files &quot;.ht*&quot;&gt;
    Require all denied
&lt;/Files&gt;

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt;
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a &lt;VirtualHost&gt;
# container, that host&#039;s errors will be logged there and not here.
#
ErrorLog &quot;logs/error_log&quot;

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

&lt;IfModule log_config_module&gt;
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common

    &lt;IfModule logio_module&gt;
      # You need to enable mod_logio.c to use %I and %O
      LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; %I %O&quot; combinedio
    &lt;/IfModule&gt;

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a &lt;VirtualHost&gt;
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-&lt;VirtualHost&gt; access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    #CustomLog &quot;logs/access_log&quot; common

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    CustomLog &quot;logs/access_log&quot; combined
&lt;/IfModule&gt;

&lt;IfModule alias_module&gt;
    #
    # Redirect: Allows you to tell clients about documents that used to 
    # exist in your server&#039;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.example.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 &lt;Directory&gt; section to allow access to
    # the filesystem path.

    #
    # 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 &quot;/&quot; apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ &quot;/var/www/cgi-bin/&quot;

&lt;/IfModule&gt;

#
# &quot;/var/www/cgi-bin&quot; should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
&lt;Directory &quot;/var/www/cgi-bin&quot;&gt;
    AllowOverride None
    Options None
    Require all granted
&lt;/Directory&gt;

&lt;IfModule mime_module&gt;
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig /etc/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain file extensions to &quot;handlers&quot;:
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)
    #
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
&lt;/IfModule&gt;

#
# Specify a default charset for all content served; this enables
# interpretation of all content as UTF-8 by default.  To use the 
# default browser choice (ISO-8859-1), or to allow the META tags
# in HTML content to override this choice, comment out this
# directive:
#
AddDefaultCharset UTF-8

&lt;IfModule mime_magic_module&gt;
    #
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #
    MIMEMagicFile conf/magic
&lt;/IfModule&gt;

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 &quot;The server made a boo boo.&quot;
#ErrorDocument 404 /missing.html
#ErrorDocument 404 &quot;/cgi-bin/missing_handler.pl&quot;
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# EnableMMAP and EnableSendfile: On systems that support it, 
# memory-mapping or the sendfile syscall may be used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted 
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults if commented: EnableMMAP On, EnableSendfile Off
#
#EnableMMAP off
EnableSendfile on

# Supplemental configuration
#
# Load config files in the &quot;/etc/httpd/conf.d&quot; directory, if any.
IncludeOptional conf.d/*.conf</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:35:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395554#p395554</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395553#p395553</link>
			<description><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Всё написано. Кривой конфиг апача.<br />Ты его изменял или это по умолчанию конфиг?</p></blockquote></div><p>по умолчанию всё...</p>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:30:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395553#p395553</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395552#p395552</link>
			<description><![CDATA[<p>Всё написано. Кривой конфиг апача.<br />Ты его изменял или это по умолчанию конфиг?</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Fri, 21 Feb 2014 05:11:50 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395552#p395552</guid>
		</item>
		<item>
			<title><![CDATA[Проблема запуска httpd на fedora20]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=395541#p395541</link>
			<description><![CDATA[<p>почему не запускается?(((в ф14 всё норм было((что не так?</p><div class="codebox"><pre><code>[root@localhost /]# service httpd restart
Restarting httpd (via systemctl): Job failed. See system logs and ‘systemctl status’ for details.
[FAILED]
[root@localhost /]# systemctl status httpd
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
   Active: failed (Result: exit-code) since Пт 2014-02-21 10:20:59 IRKT; 6min ago
  Process: 1747 ExecStop=/bin/kill -WINCH $MAINPID (code=exited, status=1/FAILURE)
  Process: 1745 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1745 (code=exited, status=1/FAILURE)

фев 21 10:20:59 localhost.localdomain httpd[1745]: AH00526: Syntax error on line 125 of /etc/httpd/conf/httpd.conf:
фев 21 10:20:59 localhost.localdomain httpd[1745]: Invalid command &#039;adddefaultecharset&#039;, perhaps misspelled or defined by a module not included...guration
фев 21 10:20:59 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
фев 21 10:20:59 localhost.localdomain kill[1747]: Usage:
фев 21 10:20:59 localhost.localdomain kill[1747]: kill [options] &lt;pid|name&gt; [...]
фев 21 10:20:59 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
фев 21 10:20:59 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
фев 21 10:20:59 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost /]# service httpd restart
Redirecting to /bin/systemctl restart  httpd.service
Job for httpd.service failed. See &#039;systemctl status httpd.service&#039; and &#039;journalctl -xn&#039; for details.</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (SWATSib)]]></author>
			<pubDate>Fri, 21 Feb 2014 02:14:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=395541#p395541</guid>
		</item>
	</channel>
</rss>
