Проблемы с Apache

Ответить
StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Проблемы с Apache

Сообщение StartTest »

Здравствуйте, пробую установить Abills на FreeBSD 9.2, столкнулся c проблемой при настройка apache, при попытке зайти в админку ip:9443/admin у меня просто белый экран
Apache стартует нормально, конфиг abills_httpd.conf в папке apache22/Includes, порт 9443 apache слушает вроде, права на папки выставленны.

Код: Выделить всё

/usr/abills/cgi-bin
/usr/abills/Abills/templates
/usr/abills/backup
/usr/abills/var
/usr/abills/var/log
Ниже привожу вывод конфигов и.т.д, буду благодарен за помощь, при необходимости
оперативно предоставлю необходимую информацию о системе.

ОС:

Код: Выделить всё

FreeBSD localhost 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
httpd.conf:

Код: Выделить всё

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see 
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# 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 'log/access_log'
# with ServerRoot set to '/www' will be interpreted by the
# server as '/www/log/access_log', where as '/log/access_log' will be
# interpreted as '/log/access_log'.

#
# 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 "/usr/local"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# 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 authn_file_module libexec/apache22/mod_authn_file.so
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule dumpio_module libexec/apache22/mod_dumpio.so
LoadModule reqtimeout_module libexec/apache22/mod_reqtimeout.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
LoadModule expires_module libexec/apache22/mod_expires.so
LoadModule headers_module libexec/apache22/mod_headers.so
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
LoadModule version_module libexec/apache22/mod_version.so
LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
LoadModule actions_module libexec/apache22/mod_actions.so
LoadModule speling_module libexec/apache22/mod_speling.so
LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
#
# 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 www
Group www

</IfModule>
</IfModule>

# '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
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> 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 you@example.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 www.example.com:80
ServerName localhost

#
# 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 "/usr/local/www/apache22/data"

#
# 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.  
#
<Directory />
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

#
# 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.
#
<Directory "/usr/local/www/apache22/data">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

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

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog "/var/log/httpd-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

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

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

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

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    CustomLog "/var/log/httpd-access.log" combined
</IfModule>

<IfModule alias_module>
    #
    # 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.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 <Directory> 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 "/" apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock /var/run/cgisock
</IfModule>

#
# "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/apache22/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig etc/apache22/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 "handlers":
    # 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 "ExecCGI" to the "Options" 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 "Includes" to the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
</IfModule>

#
# 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 etc/apache22/magic

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

#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited

#
# EnableMMAP and EnableSendfile: On systems that support it, 
# memory-mapping or the sendfile syscall is 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.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the etc/apache22/extra/ directory can be 
# included to add extra features or to modify the default configuration of 
# the server, or you may simply copy their contents here and change as 
# necessary.

# Server-pool management (MPM specific)
#Include etc/apache22/extra/httpd-mpm.conf

# Multi-language error messages
#Include etc/apache22/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include etc/apache22/extra/httpd-autoindex.conf

# Language settings
#Include etc/apache22/extra/httpd-languages.conf

# User home directories
#Include etc/apache22/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include etc/apache22/extra/httpd-info.conf

# Virtual hosts
#Include etc/apache22/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include etc/apache22/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include etc/apache22/extra/httpd-dav.conf

# Various default settings
#Include etc/apache22/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include etc/apache22/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include etc/apache22/Includes/*.conf
var/log: (права на конфиги и их наличие в системе)

Код: Выделить всё

total 484
-rw-------  1 root        wheel        22374 Nov 11 20:12 auth.log
-rw-------  1 root        wheel        47170 Nov 11 20:22 cron
-rw-------  1 root        wheel           65 Jan  1  2009 debug.log
drwxr-xr-x  2 www         www            512 Nov 11 19:52 httpd
-rw-r--r--  1 root        wheel          364 Nov 10 22:40 httpd-access.log
-rw-r--r--  1 root        wheel        12334 Nov 11 20:12 httpd-error.log
-rw-r--r--  1 root        wheel           65 Jan  1  2009 lpd-errs
-rw-r-----  1 root        wheel       202865 Nov 11 20:20 maillog
-rw-r--r--  1 root        wheel        75387 Nov 11 20:12 messages
-rw-r--r--  1 root        wheel         9364 Nov 10 16:00 messages.0.bz2
-rw-r--r--  1 root        wheel         9794 Nov 10 09:00 messages.1.bz2
-rw-r--r--  1 root        wheel        10732 Nov 10 08:00 messages.2.bz2
-rw-r--r--  1 root        wheel        11499 Nov  9 20:00 messages.3.bz2
-rw-r--r--  1 root        wheel         7863 Nov  9 17:00 messages.4.bz2
-rw-r-----  1 root        network         65 Jan  1  2009 ppp.log
drwx------  2 freeradius  freeradius     512 Nov  9 17:23 radacct
-rw-r-----  1 freeradius  freeradius   11928 Nov 11 20:12 radius.log
-rw-------  1 root        wheel           65 Jan  1  2009 security
-rw-r-----  1 root        wheel          728 Nov 11 20:20 sendmail.st
-rw-r-----  1 root        wheel            0 Nov  9 17:00 sendmail.st.0
-rw-r-----  1 root        wheel            0 Jan  1  2009 sendmail.st.1
-rw-------  1 root        wheel          314 Nov  9 17:23 userlog
-rw-r--r--  1 root        wheel          197 Nov 11 20:12 utx.lastlogin
-rw-r--r--  1 root        wheel         6033 Nov 11 20:12 utx.log
-rw-------  1 root        wheel           65 Jan  1  2009 xferlog

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

Во-первых, FreeBSD != Linux
Во-вторых, попробуйте вместо ip:9443/admin написать ip:9443/admin/
В-третьих, вывод /var/log/httpd-error.log и листинг abills_httpd.conf

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

1. Ошибся
2. Попробовал не помогло

httpd-error.log

Код: Выделить всё

[Sat Nov 09 17:31:39 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 17:31:39 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 17:31:39 2013] [notice] Digest: done
[Sat Nov 09 17:31:40 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 17:54:32 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 17:55:14 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 17:55:14 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 17:55:14 2013] [notice] Digest: done
[Sat Nov 09 17:55:15 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 18:51:01 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 18:57:18 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 18:57:18 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 18:57:18 2013] [notice] Digest: done
[Sat Nov 09 18:57:19 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 18:59:34 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:00:17 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:00:17 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:00:17 2013] [notice] Digest: done
[Sat Nov 09 19:00:18 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:02:43 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:03:26 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:03:26 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:03:26 2013] [notice] Digest: done
[Sat Nov 09 19:03:27 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:04:44 2013] [error] [client 120.140.23.209] Invalid URI in request %0\xdd\xcbC\x1fK\xc5:/\x18\x0ed\x85c\x1c\xa5\xc26#\xc2\r\xbc\xe3r'I\xce\xb9\x87
[Sat Nov 09 19:06:08 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:06:50 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:06:50 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:06:50 2013] [notice] Digest: done
[Sat Nov 09 19:06:51 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:11:08 2013] [error] [client 186.22.213.160] Invalid method in request \x01\xa8\xd1_C
[Sat Nov 09 19:18:25 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:19:08 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:19:08 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:19:08 2013] [notice] Digest: done
[Sat Nov 09 19:19:09 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:25:01 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:25:41 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:25:41 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:25:41 2013] [notice] Digest: done
[Sat Nov 09 19:25:42 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:41:24 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:42:14 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:42:14 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:42:14 2013] [notice] Digest: done
[Sat Nov 09 19:42:15 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 20:10:58 2013] [notice] caught SIGTERM, shutting down
(2)No such file or directory: httpd: could not open error log fi[Sun Nov 10 08:43:50 2013] [notice] Digest: gener
(2)No such file or directory: httpd: could not open error log file /var/log/httpd/abills-error.log.
Unable to open logs
[Sun Nov 10 09:20:52 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:20:52 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:20:52 2013] [notice] Digest: done
[Sun Nov 10 09:20:53 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 09:21:49 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 09:22:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:22:29 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:22:29 2013] [notice] Digest: done
[Sun Nov 10 09:22:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 09:42:25 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 09:43:13 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:43:13 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:43:13 2013] [notice] Digest: done
[Sun Nov 10 09:43:14 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 10:15:37 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 10:16:20 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 10:16:20 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 10:16:20 2013] [notice] Digest: done
[Sun Nov 10 10:16:21 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 10:21:44 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 10:21:45 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 10:21:45 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 10:21:45 2013] [notice] Digest: done
[Sun Nov 10 10:21:46 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 15:19:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 15:19:44 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 15:19:44 2013] [notice] Digest: done
[Sun Nov 10 15:19:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 15:40:11 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 15:50:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 15:50:44 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 15:50:44 2013] [notice] Digest: done
[Sun Nov 10 15:50:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 18:49:01 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 18:49:45 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 18:49:45 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 18:49:45 2013] [notice] Digest: done
[Sun Nov 10 18:49:46 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:29:36 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:29:37 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:29:37 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:29:37 2013] [notice] Digest: done
[Sun Nov 10 22:29:38 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:31:32 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:32:12 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:32:12 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:32:12 2013] [notice] Digest: done
[Sun Nov 10 22:32:13 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:40:31 2013] [error] [client 176.205.122.27] Invalid method in request \xfc
[Sun Nov 10 22:43:39 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:43:40 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:43:40 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:43:40 2013] [notice] Digest: done
[Sun Nov 10 22:43:41 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:45:46 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:45:47 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:45:47 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:45:47 2013] [notice] Digest: done
[Sun Nov 10 22:45:48 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:48:16 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:24:40 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:24:40 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:24:40 2013] [notice] Digest: done
[Mon Nov 11 19:24:41 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:34:03 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:34:48 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:34:48 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:34:48 2013] [notice] Digest: done
[Mon Nov 11 19:34:49 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:37:37 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:37:38 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:37:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:37:38 2013] [notice] Digest: done
[Mon Nov 11 19:37:39 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:41:04 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:41:05 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:41:05 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:41:05 2013] [notice] Digest: done
[Mon Nov 11 19:41:06 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:52:28 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:52:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:52:29 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:52:29 2013] [notice] Digest: done
[Mon Nov 11 19:52:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 20:11:43 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 20:12:24 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 20:12:24 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 20:12:24 2013] [notice] Digest: done
[Mon Nov 11 20:12:25 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 20:30:51 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 22:17:58 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 22:17:58 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 22:17:58 2013] [notice] Digest: done
[Mon Nov 11 22:17:59 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 22:20:44 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 22:21:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 22:21:29 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 22:21:29 2013] [notice] Digest: done
[Mon Nov 11 22:21:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 22:22:24 2013] [error] [client 127.0.0.1] Invalid method in request df
[Mon Nov 11 22:25:07 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 07:58:32 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 07:58:32 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 07:58:32 2013] [notice] Digest: done
[Tue Nov 12 07:58:33 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:03:11 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:03:12 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:03:12 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:03:12 2013] [notice] Digest: done
[Tue Nov 12 08:03:13 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:03:25 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:04:13 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:04:13 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:04:13 2013] [notice] Digest: done
[Tue Nov 12 08:04:14 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:07:46 2013] [error] [client 127.0.0.1] Invalid method in request d
[Tue Nov 12 08:14:08 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:14:09 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:14:09 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:14:09 2013] [notice] Digest: done
[Tue Nov 12 08:14:10 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:18:43 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:18:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:18:44 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:18:44 2013] [notice] Digest: done
[Tue Nov 12 08:18:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:20:15 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:20:16 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:20:16 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:20:16 2013] [notice] Digest: done
[Tue Nov 12 08:20:17 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:40:07 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 09:03:02 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 09:03:02 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 09:03:02 2013] [notice] Digest: done
[Tue Nov 12 09:03:03 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 09:06:09 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:37:59 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:37:59 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:37:59 2013] [notice] Digest: done
[Wed Nov 13 18:38:00 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:38:03 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:38:04 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:38:04 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:38:04 2013] [notice] Digest: done
[Wed Nov 13 18:38:05 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:39:16 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:39:59 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:39:59 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:39:59 2013] [notice] Digest: done
[Wed Nov 13 18:40:00 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:40:58 2013] [error] [client 39.32.107.54] Invalid method in request wU%\x9f\xbd\xe8\xb3\x8f\x12J\xca@1'\xc9/\xe1\x94\x02
[Wed Nov 13 18:44:49 2013] [error] [client 139.190.243.20] Invalid method in request \x8b=s]\xf7\x95tq\xe3?c\xb2\xa7!\xa8|\x1c\xc8u\xb1\x97g\xa5%v\x95fAN\xfb\x87j\xaf\xd5\x87\x1b\xf3\x04)\x8a
[Wed Nov 13 18:48:29 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:49:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:49:10 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:49:10 2013] [notice] Digest: done
[Wed Nov 13 18:49:11 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:54:15 2013] [error] [client 188.97.176.204] Invalid method in request P\xe1y\x15Vz\xcb9\x16\xbf\xdcP



abills_httpd.conf

Код: Выделить всё

#Abills apache configuration. Default ABillS port is 9443
Listen 9443


#Alias for web report
Alias "/reports" "/usr/abills/webreports"
<Directory "/usr/abills/webreports">
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>



# Main server config
<VirtualHost _default_:9443>

AddDefaultCharset utf8


DocumentRoot "/usr/abills/cgi-bin"
#ServerName www.example.com:9443
#ServerAdmin admin@example.com
ErrorLog /var/log/httpd/abills-error.log
#TransferLog /var/log/httpd/abills-access.log 
CustomLog /var/log/httpd/abills-access_log common

<IfModule ssl_module>
  #   SSL Engine Switch:
  #   Enable/Disable SSL for this virtual host.
  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /usr/abills/Certs/server.crt
  SSLCertificateKeyFile /usr/abills/Certs/server.key
#  SSLCACertificateFile  /usr/abills/Certs/gd_bundle.crt
  <FilesMatch "\.(cgi)$">
    SSLOptions +StdEnvVars
  </FilesMatch>
  BrowserMatch ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

  CustomLog /var/log/httpd/abills-ssl_request.log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>


Alias "/images" "/usr/abills/Abills/templates"
<Directory "/usr/abills/Abills/templates">
  AllowOverride None
  Order allow,deny
  Deny from all

  <FilesMatch "\.(jpg|gif|png|css|js|JPG|GIF)$">
    Order deny,allow
    Allow from all
  </FilesMatch>
</Directory>


# User interface
<Directory "/usr/abills/cgi-bin">
  <IfModule ssl_module>  
    SSLOptions +StdEnvVars
  </IfModule> 

  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule ^(.*) - [E=HTTP_CGI_AUTHORIZATION:%1]

    #Anti TRACE
    RewriteCond %{REQUEST_METHOD} ^TRACE
    RewriteRule .* - [F]

    Options Indexes ExecCGI SymLinksIfOwnerMatch
  </IfModule>

  AddHandler cgi-script .cgi
  Options Indexes ExecCGI FollowSymLinks
  AllowOverride none
  DirectoryIndex index.cgi
  Order allow,deny
  Allow from all

  <Files ~ "\.(db|log)$">
    Order allow,deny
    Deny from all
  </Files>

#For hotspot solution
#ErrorDocument 404 "/abills/"
#directoryIndex "/abills" index.cgi

</Directory>

#Admin interface
<Directory "/usr/abills/cgi-bin/admin">
  <IfModule ssl_module>
    SSLOptions +StdEnvVars
  </IfModule>
  
  AddHandler cgi-script .cgi
  Options Indexes ExecCGI FollowSymLinks
  AllowOverride none
  DirectoryIndex index.cgi
  order deny,allow
  allow from all
</Directory>

</VirtualHost>

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

Ну целиком httpd-error.log не надо было. Плюс у вас в настройках указан другой файл для ведения лога /var/log/httpd/abills-error.log
Вот его покажите, но не весь, а только то, что пишется туда во время попытки входа в биллинг.
Я делаю так:
tail -f /var/log/httpd/abills-error.log
потом несколько раз Enter чтобы отделить то, что оно вывело от того, что вылезет. Потом провожу эксперимент и смотрю то, что показало в консоли.

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

SSL Сертификаты создал c помощью скрипта который был в каталоге.

abills-error.log

Код: Выделить всё

[Wed Nov 13 18:49:10 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Wed Nov 13 18:49:11 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Wed Nov 13 19:37:57 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Wed Nov 13 19:37:58 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 07:16:18 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 07:16:19 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 07:19:24 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 07:19:25 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 18:35:01 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?
[Thu Nov 14 18:35:02 2013] [warn] RSA server certificate CommonName (CN) `Link' does NOT match server name!?

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

Ну вообще это же warning, не error. По идее должно работать
Попробуй две вещи:
1) Не использовать SSL вообще, будет ли работать так?
2) Пересоздать сертификаты, указав CN (Common Name) таким же, как Server Name в конфиге апача (ну или наоборот: поправить в конфиге ServerName, у тебя там "ServerName localhost" - укажи айпишник лучше)

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

Makioro писал(а):Ну вообще это же warning, не error. По идее должно работать
Попробуй две вещи:
1) Не использовать SSL вообще, будет ли работать так?
2) Пересоздать сертификаты, указав CN (Common Name) таким же, как Server Name в конфиге апача (ну или наоборот: поправить в конфиге ServerName, у тебя там "ServerName localhost" - укажи айпишник лучше)

Закоментировал в конфиге httpd.conf

Код: Выделить всё

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
перезапустил... не спасло.. проблема сохранилась.

Пересоздал сертификаты скриптом, указал в CN свой ip, по завершению работы скрипта проверил что сертификаты лягли автоматом в каталог Certs, но не помогло.

В httpd.conf указал вместо localhost свой реальный Ip, перезапустил апач... проверил но нефига не заработало....

Думаю беда действительно в httpd.conf...

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

Посмотрел тут ваш httpd.conf ещё раз
Попробуйте раскомментировать

Код: Выделить всё

Include etc/apache22/extra/httpd-ssl.conf
Ну и остальное вернуть как было.

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

Makioro писал(а):Посмотрел тут ваш httpd.conf ещё раз
Попробуйте раскомментировать

Код: Выделить всё

Include etc/apache22/extra/httpd-ssl.conf
Ну и остальное вернуть как было.
Вернул как было, не спасло... если у меня abills лежит в каталоге /usr то в httpd.conf строка

Код: Выделить всё

ServerRoot "/usr/local"
должна же выглядеть

Код: Выделить всё

ServerRoot "/usr/abills"
?

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

StartTest писал(а):если у меня abills лежит в каталоге /usr то в httpd.conf строка

Код: Выделить всё

ServerRoot "/usr/local"
должна же выглядеть

Код: Выделить всё

ServerRoot "/usr/abills"
?
Хм, у меня ServerRoot "/usr/local/"
Однако, изначально абиллс у меня был в /usr/local/abills, а впоследствии я его перенёс в /usr/abills, но сделал ссылку

Код: Выделить всё

cd /usr/local;ln -s /usr/abills
Не думаю, что проблема в этом. Всё-таки в логах ругань идёт именно на SSL

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

Сертификаты для apache нужно создавать скриптом который лежит в каталоге abills/misc после этого с настройкой SSL покончено? в конфигах apache менять ничего не нужно? средствами apache генерировать сертификаты не нужно(видел какой то скрипт вроде)? создаю так

Код: Выделить всё

./script_name.sh  apache
Постараюсь привести наиболее полный вывод информации, я не пойму куда копать просто.

httpd-access.log

Код: Выделить всё

120.140.23.209 - - [09/Nov/2013:19:04:44 +0000] "%0\xdd\xcbC\x1fK\xc5:/\x18\x0ed\x85c\x1c\xa5\xc26#\xc2\r\xbc\xe3r'I\xce\xb9\x87" 400 226 "-" "-"
186.22.213.160 - - [09/Nov/2013:19:11:08 +0000] "\x01\xa8\xd1_C" 501 217 "-" "-"
109.200.183.43 - - [09/Nov/2013:19:35:40 +0000] "-" 408 - "-" "-"
176.205.122.27 - - [10/Nov/2013:22:40:31 +0000] "\xfc" 501 213 "-" "-"
127.0.0.1 - - [11/Nov/2013:22:22:24 +0000] "df" 501 214 "-" "-"
127.0.0.1 - - [12/Nov/2013:08:07:46 +0000] "d" 501 213 "-" "-"
39.32.107.54 - - [13/Nov/2013:18:40:58 +0000] "wU%\x9f\xbd\xe8\xb3\x8f\x12J\xca@1'\xc9/\xe1\x94\x02" 501 231 "-" "-"
139.190.243.20 - - [13/Nov/2013:18:44:49 +0000] "\x8b=s]\xf7\x95tq\xe3?c\xb2\xa7!\xa8|\x1c\xc8u\xb1\x97g\xa5%v\x95fAN\xfb\x87j\xaf\xd5\x87\x1b\xf3\x04)\x8a" 501 252 "-" "-"
188.97.176.204 - - [13/Nov/2013:18:54:15 +0000] "P\xe1y\x15Vz\xcb9\x16\xbf\xdcP" 501 224 "-" "-"
110.75.162.238 - - [15/Nov/2013:16:08:09 +0000] "" 501 212 "-" "-"
110.75.162.238 - - [15/Nov/2013:16:08:10 +0000] "GET http://www.yahoo.com/ HTTP/1.1" 200 44 "-" "Mozilla/5.0 (compatible; MSIE 4.01; windows 98)"
110.75.162.239 - - [15/Nov/2013:16:08:26 +0000] "SSH-2.0-LYGhost_1.2.7-20100630" 501 242 "-" "-"
httpd-error.log

Код: Выделить всё

[Sat Nov 09 17:31:39 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 17:31:39 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 17:31:39 2013] [notice] Digest: done
[Sat Nov 09 17:31:40 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 17:54:32 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 17:55:14 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 17:55:14 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 17:55:14 2013] [notice] Digest: done
[Sat Nov 09 17:55:15 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 18:51:01 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 18:57:18 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 18:57:18 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 18:57:18 2013] [notice] Digest: done
[Sat Nov 09 18:57:19 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 18:59:34 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:00:17 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:00:17 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:00:17 2013] [notice] Digest: done
[Sat Nov 09 19:00:18 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:02:43 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:03:26 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:03:26 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:03:26 2013] [notice] Digest: done
[Sat Nov 09 19:03:27 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:04:44 2013] [error] [client 120.140.23.209] Invalid URI in request %0\xdd\xcbC\x1fK\xc5:/\x18\x0ed\x85c\x1c\xa5\xc26#\xc2\r\xbc\xe3r'I\xce\xb9\x87
[Sat Nov 09 19:06:08 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:06:50 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:06:50 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:06:50 2013] [notice] Digest: done
[Sat Nov 09 19:06:51 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:11:08 2013] [error] [client 186.22.213.160] Invalid method in request \x01\xa8\xd1_C
[Sat Nov 09 19:18:25 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:19:08 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:19:08 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:19:08 2013] [notice] Digest: done
[Sat Nov 09 19:19:09 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:25:01 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:25:41 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:25:41 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:25:41 2013] [notice] Digest: done
[Sat Nov 09 19:25:42 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 19:41:24 2013] [notice] caught SIGTERM, shutting down
[Sat Nov 09 19:42:14 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Nov 09 19:42:14 2013] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 09 19:42:14 2013] [notice] Digest: done
[Sat Nov 09 19:42:15 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sat Nov 09 20:10:58 2013] [notice] caught SIGTERM, shutting down
(2)No such file or directory: httpd: could not open error log fi[Sun Nov 10 08:43:50 2013] [notice] Digest: gener
(2)No such file or directory: httpd: could not open error log file /var/log/httpd/abills-error.log.
Unable to open logs
[Sun Nov 10 09:20:52 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:20:52 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:20:52 2013] [notice] Digest: done
[Sun Nov 10 09:20:53 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 09:21:49 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 09:22:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:22:29 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:22:29 2013] [notice] Digest: done
[Sun Nov 10 09:22:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 09:42:25 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 09:43:13 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 09:43:13 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 09:43:13 2013] [notice] Digest: done
[Sun Nov 10 09:43:14 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 10:15:37 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 10:16:20 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 10:16:20 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 10:16:20 2013] [notice] Digest: done
[Sun Nov 10 10:16:21 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 10:21:44 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 10:21:45 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 10:21:45 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 10:21:45 2013] [notice] Digest: done
[Sun Nov 10 10:21:46 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 15:19:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 15:19:44 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 15:19:44 2013] [notice] Digest: done
[Sun Nov 10 15:19:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 15:40:11 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 15:50:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 15:50:44 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 15:50:44 2013] [notice] Digest: done
[Sun Nov 10 15:50:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 18:49:01 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 18:49:45 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 18:49:45 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 18:49:45 2013] [notice] Digest: done
[Sun Nov 10 18:49:46 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:29:36 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:29:37 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:29:37 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:29:37 2013] [notice] Digest: done
[Sun Nov 10 22:29:38 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:31:32 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:32:12 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:32:12 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:32:12 2013] [notice] Digest: done
[Sun Nov 10 22:32:13 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:40:31 2013] [error] [client 176.205.122.27] Invalid method in request \xfc
[Sun Nov 10 22:43:39 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:43:40 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:43:40 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:43:40 2013] [notice] Digest: done
[Sun Nov 10 22:43:41 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:45:46 2013] [notice] caught SIGTERM, shutting down
[Sun Nov 10 22:45:47 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Nov 10 22:45:47 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 10 22:45:47 2013] [notice] Digest: done
[Sun Nov 10 22:45:48 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Sun Nov 10 22:48:16 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:24:40 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:24:40 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:24:40 2013] [notice] Digest: done
[Mon Nov 11 19:24:41 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:34:03 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:34:48 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:34:48 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:34:48 2013] [notice] Digest: done
[Mon Nov 11 19:34:49 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:37:37 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:37:38 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:37:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:37:38 2013] [notice] Digest: done
[Mon Nov 11 19:37:39 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:41:04 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:41:05 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:41:05 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:41:05 2013] [notice] Digest: done
[Mon Nov 11 19:41:06 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 19:52:28 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 19:52:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 19:52:29 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 19:52:29 2013] [notice] Digest: done
[Mon Nov 11 19:52:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 20:11:43 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 20:12:24 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 20:12:24 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 20:12:24 2013] [notice] Digest: done
[Mon Nov 11 20:12:25 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 20:30:51 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 22:17:58 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 22:17:58 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 22:17:58 2013] [notice] Digest: done
[Mon Nov 11 22:17:59 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 22:20:44 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 11 22:21:29 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 11 22:21:29 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 11 22:21:29 2013] [notice] Digest: done
[Mon Nov 11 22:21:30 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Mon Nov 11 22:22:24 2013] [error] [client 127.0.0.1] Invalid method in request df
[Mon Nov 11 22:25:07 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 07:58:32 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 07:58:32 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 07:58:32 2013] [notice] Digest: done
[Tue Nov 12 07:58:33 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:03:11 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:03:12 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:03:12 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:03:12 2013] [notice] Digest: done
[Tue Nov 12 08:03:13 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:03:25 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:04:13 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:04:13 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:04:13 2013] [notice] Digest: done
[Tue Nov 12 08:04:14 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:07:46 2013] [error] [client 127.0.0.1] Invalid method in request d
[Tue Nov 12 08:14:08 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:14:09 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:14:09 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:14:09 2013] [notice] Digest: done
[Tue Nov 12 08:14:10 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:18:43 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:18:44 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:18:44 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:18:44 2013] [notice] Digest: done
[Tue Nov 12 08:18:45 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:20:15 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 08:20:16 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 08:20:16 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 08:20:16 2013] [notice] Digest: done
[Tue Nov 12 08:20:17 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 08:40:07 2013] [notice] caught SIGTERM, shutting down
[Tue Nov 12 09:03:02 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 12 09:03:02 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Nov 12 09:03:02 2013] [notice] Digest: done
[Tue Nov 12 09:03:03 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Tue Nov 12 09:06:09 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:37:59 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:37:59 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:37:59 2013] [notice] Digest: done
[Wed Nov 13 18:38:00 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:38:03 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:38:04 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:38:04 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:38:04 2013] [notice] Digest: done
[Wed Nov 13 18:38:05 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:39:16 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:39:59 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:39:59 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:39:59 2013] [notice] Digest: done
[Wed Nov 13 18:40:00 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:40:58 2013] [error] [client 39.32.107.54] Invalid method in request wU%\x9f\xbd\xe8\xb3\x8f\x12J\xca@1'\xc9/\xe1\x94\x02
[Wed Nov 13 18:44:49 2013] [error] [client 139.190.243.20] Invalid method in request \x8b=s]\xf7\x95tq\xe3?c\xb2\xa7!\xa8|\x1c\xc8u\xb1\x97g\xa5%v\x95fAN\xfb\x87j\xaf\xd5\x87\x1b\xf3\x04)\x8a
[Wed Nov 13 18:48:29 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 18:49:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 18:49:10 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 18:49:10 2013] [notice] Digest: done
[Wed Nov 13 18:49:11 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 18:54:15 2013] [error] [client 188.97.176.204] Invalid method in request P\xe1y\x15Vz\xcb9\x16\xbf\xdcP
[Wed Nov 13 19:07:40 2013] [notice] caught SIGTERM, shutting down
[Wed Nov 13 19:37:57 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Nov 13 19:37:57 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 13 19:37:57 2013] [notice] Digest: done
[Wed Nov 13 19:37:58 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Wed Nov 13 19:40:38 2013] [notice] caught SIGTERM, shutting down
[Thu Nov 14 07:16:18 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 14 07:16:18 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 14 07:16:18 2013] [notice] Digest: done
[Thu Nov 14 07:16:19 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Thu Nov 14 07:18:33 2013] [notice] caught SIGTERM, shutting down
[Thu Nov 14 07:19:24 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 14 07:19:24 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 14 07:19:24 2013] [notice] Digest: done
[Thu Nov 14 07:19:25 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Thu Nov 14 18:35:01 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Nov 14 18:35:01 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 14 18:35:01 2013] [notice] Digest: done
[Thu Nov 14 18:35:02 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Thu Nov 14 18:40:18 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 15:53:02 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 15:53:02 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 15:53:02 2013] [notice] Digest: done
[Fri Nov 15 15:53:03 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 15:57:27 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 15:58:14 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 15:58:14 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 15:58:14 2013] [notice] Digest: done
[Fri Nov 15 15:58:15 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 16:05:01 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 16:05:02 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 16:05:02 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 16:05:02 2013] [notice] Digest: done
[Fri Nov 15 16:05:03 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 16:08:09 2013] [error] [client 110.75.162.238] Invalid method in request 
[Fri Nov 15 16:08:26 2013] [error] [client 110.75.162.239] Invalid method in request SSH-2.0-LYGhost_1.2.7-20100630
[Fri Nov 15 16:10:56 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 16:11:36 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 16:11:36 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 16:11:36 2013] [notice] Digest: done
[Fri Nov 15 16:11:37 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 16:13:34 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 16:13:35 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 16:13:35 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 16:13:35 2013] [notice] Digest: done
[Fri Nov 15 16:13:36 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 16:16:19 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 17:22:28 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Nov 15 17:22:28 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 17:22:28 2013] [notice] Digest: done
[Fri Nov 15 17:22:29 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 17:30:05 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 17:30:06 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 17:30:06 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 17:30:06 2013] [notice] Digest: done
[Fri Nov 15 17:30:07 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 17:30:07 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 17:37:41 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 17:38:34 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 17:38:34 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 17:38:34 2013] [notice] Digest: done
[Fri Nov 15 17:38:35 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 17:38:35 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 17:42:42 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 15 18:55:27 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 18:55:27 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 15 18:55:27 2013] [notice] Digest: done
[Fri Nov 15 18:55:28 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Fri Nov 15 18:55:28 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
[Fri Nov 15 18:58:39 2013] [notice] caught SIGTERM, shutting down
[Mon Nov 25 20:44:28 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Mon Nov 25 20:44:28 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 25 20:44:28 2013] [notice] Digest: done
[Mon Nov 25 20:44:29 2013] [warn] RSA server certificate CommonName (CN) `мой ip' does NOT match server name!?
[Mon Nov 25 20:44:29 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2 configured -- resuming normal operations
nc молчит при попытке коннекта на 9443 или 443 порт, на 80 порт выводит вот что:

Код: Выделить всё

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>d to /index.html not supported.<br />
</p>
</body></html>
sockstat -4 Все запущено, все работает... при перезагрузки все стартует нормально без 'ругани'

Код: Выделить всё

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
www      httpd      1473  4  tcp4   *:80                  *:*
www      httpd      1473  6  tcp4   *:443                 *:*
www      httpd      1473  8  tcp4   *:9443                *:*
www      httpd      1472  4  tcp4   *:80                  *:*
www      httpd      1472  6  tcp4   *:443                 *:*
www      httpd      1472  8  tcp4   *:9443                *:*
www      httpd      1471  4  tcp4   *:80                  *:*
www      httpd      1471  6  tcp4   *:443                 *:*
www      httpd      1471  8  tcp4   *:9443                *:*
www      httpd      1470  4  tcp4   *:80                  *:*
www      httpd      1470  6  tcp4   *:443                 *:*
www      httpd      1470  8  tcp4   *:9443                *:*
www      httpd      1469  4  tcp4   *:80                  *:*
www      httpd      1469  6  tcp4   *:443                 *:*
www      httpd      1469  8  tcp4   *:9443                *:*
www      httpd      1468  4  tcp4   *:80                  *:*
www      httpd      1468  6  tcp4   *:443                 *:*
www      httpd      1468  8  tcp4   *:9443                *:*
root     sendmail   1413  4  tcp4   127.0.0.1:25          *:*
root     httpd      1404  4  tcp4   *:80                  *:*
root     httpd      1404  6  tcp4   *:443                 *:*
root     httpd      1404  8  tcp4   *:9443                *:*
root     sshd       1399  4  tcp4   *:22                  *:*
freeradius radiusd  1394  6  udp4   *:1812                *:*
freeradius radiusd  1394  7  udp4   *:1813                *:*
mysql    mysqld     1392  10 tcp4   *:3306                *:*
root     syslogd    1224  7  udp4   *:514                 *:*
ls -l /usr/local/etc/apache22/Includes

Код: Выделить всё

total 8
-rw-r--r--  1 root  wheel  2545 Nov 13 18:28 abills_httpd.conf
-r--r--r--  1 root  wheel    89 Nov  9 16:45 no-accf.conf
ls -l /usr/local/etc/apache22

Код: Выделить всё

total 140
drwxr-xr-x  2 root  wheel    512 Nov 13 18:28 Includes
drwxr-xr-x  2 root  wheel    512 Nov  9 16:45 envvars.d
drwxr-xr-x  2 root  wheel    512 Nov  9 16:45 extra
-rwxr-xr-x  1 root  wheel  16863 Nov 15 17:37 httpd.conf
-rw-r--r--  1 root  wheel  19452 Nov 10 22:35 httpd.conf_old
-rw-r--r--  1 root  wheel  12958 Nov  9 16:45 magic
-rw-r--r--  1 root  wheel  53011 Nov  9 16:45 mime.types
-r--------  1 root  wheel   1306 Nov 15 17:29 server.crt
-rw-r--r--  1 root  wheel   1115 Nov 15 17:29 server.csr
-r--------  1 root  wheel   1675 Nov 15 17:29 server.key
-r--------  1 root  wheel   1743 Nov 15 17:29 server.key.org
-rw-r--r--  1 root  wheel    451 Nov 15 17:29 server_public.pem
ls -l /var/log/httpd

Код: Выделить всё

total 4
-rw-r--r--  1 root  www       0 Nov 11 19:40 abills-access.log
-rw-r--r--  1 root  www       0 Nov 11 19:52 abills-access_log
-rw-r--r--  1 root  www    2714 Nov 25 20:44 abills-error.log
-rw-r--r--  1 root  wheel     0 Nov 10 09:20 abills-ssl_request.log
ls -l /var/log/

Код: Выделить всё

total 588
-rw-------  1 root        wheel        29026 Nov 25 20:48 auth.log
-rw-------  1 root        wheel        56481 Nov 25 20:55 cron
-rw-------  1 root        wheel           65 Jan  1  2009 debug.log
drwxr-xr-x  2 www         www            512 Nov 13 18:43 httpd
-rw-r--r--  1 root        wheel         1188 Nov 15 16:08 httpd-access.log
-rw-r--r--  1 root        wheel        25535 Nov 25 20:44 httpd-error.log
-rw-r--r--  1 root        wheel            0 Nov 15 17:30 httpd-ssl_request.log
-rw-r--r--  1 root        wheel           65 Jan  1  2009 lpd-errs
-rw-r-----  1 root        wheel       259218 Nov 25 20:55 maillog
-rw-r--r--  1 root        wheel        86773 Nov 25 20:48 messages
-rw-r--r--  1 root        wheel        10225 Nov 15 16:00 messages.0.bz2
-rw-r--r--  1 root        wheel         8173 Nov 12 08:00 messages.1.bz2
-rw-r--r--  1 root        wheel         9364 Nov 10 16:00 messages.2.bz2
-rw-r--r--  1 root        wheel         9794 Nov 10 09:00 messages.3.bz2
-rw-r--r--  1 root        wheel        10732 Nov 10 08:00 messages.4.bz2
-rw-r-----  1 root        network         65 Jan  1  2009 ppp.log
drwx------  2 freeradius  freeradius     512 Nov  9 17:23 radacct
-rw-r-----  1 freeradius  freeradius   17137 Nov 25 20:44 radius.log
-rw-------  1 root        wheel           65 Jan  1  2009 security
-rw-r-----  1 root        wheel          728 Nov 25 20:55 sendmail.st
-rw-r-----  1 root        wheel            0 Nov  9 17:00 sendmail.st.0
-rw-r-----  1 root        wheel            0 Jan  1  2009 sendmail.st.1
-rw-------  1 root        wheel          314 Nov  9 17:23 userlog
-rw-r--r--  1 root        wheel          197 Nov 25 20:47 utx.lastlogin
-rw-r--r--  1 root        wheel         7662 Nov 25 20:47 utx.log
-rw-------  1 root        wheel           65 Jan  1  2009 xferlog
total 588
-rw-------  1 root        wheel        29026 Nov 25 20:48 auth.log
-rw-------  1 root        wheel        56481 Nov 25 20:55 cron
-rw-------  1 root        wheel           65 Jan  1  2009 debug.log
drwxr-xr-x  2 www         www            512 Nov 13 18:43 httpd
-rw-r--r--  1 root        wheel         1188 Nov 15 16:08 httpd-access.log
-rw-r--r--  1 root        wheel        25535 Nov 25 20:44 httpd-error.log
-rw-r--r--  1 root        wheel            0 Nov 15 17:30 httpd-ssl_request.log
-rw-r--r--  1 root        wheel           65 Jan  1  2009 lpd-errs
-rw-r-----  1 root        wheel       259218 Nov 25 20:55 maillog
-rw-r--r--  1 root        wheel        86773 Nov 25 20:48 messages
-rw-r--r--  1 root        wheel        10225 Nov 15 16:00 messages.0.bz2
-rw-r--r--  1 root        wheel         8173 Nov 12 08:00 messages.1.bz2
-rw-r--r--  1 root        wheel         9364 Nov 10 16:00 messages.2.bz2
-rw-r--r--  1 root        wheel         9794 Nov 10 09:00 messages.3.bz2
-rw-r--r--  1 root        wheel        10732 Nov 10 08:00 messages.4.bz2
-rw-r-----  1 root        network         65 Jan  1  2009 ppp.log
drwx------  2 freeradius  freeradius     512 Nov  9 17:23 radacct
-rw-r-----  1 freeradius  freeradius   17137 Nov 25 20:44 radius.log
-rw-------  1 root        wheel           65 Jan  1  2009 security
-rw-r-----  1 root        wheel          728 Nov 25 20:55 sendmail.st
-rw-r-----  1 root        wheel            0 Nov  9 17:00 sendmail.st.0
-rw-r-----  1 root        wheel            0 Jan  1  2009 sendmail.st.1
-rw-------  1 root        wheel          314 Nov  9 17:23 userlog
-rw-r--r--  1 root        wheel          197 Nov 25 20:47 utx.lastlogin
-rw-r--r--  1 root        wheel         7662 Nov 25 20:47 utx.log
-rw-------  1 root        wheel           65 Jan  1  2009 xferlog

StartTest
Сообщения: 15
Зарегистрирован: Пн ноя 11, 2013 6:11 pm

Re: Проблемы с Apache

Сообщение StartTest »

Тему можно закрывать.
проблема была в конфиге perl.

Makioro
Сообщения: 241
Зарегистрирован: Ср апр 27, 2011 11:09 am

Re: Проблемы с Apache

Сообщение Makioro »

StartTest писал(а):Тему можно закрывать.
проблема была в конфиге perl.
Хоть бы отписались, что именно не так было, чтоб те, кто нагуглит эту тему узнали ответ

Ответить