-
July 8th, 2014, 10:37
#11
عضو دائم
پاسخ : ارور آپاچی در دایرکت ادمین
جایگزین و سرویس آپاچی رو ری استارت کنید :
کد:
## 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.
ServerRoot "/etc/httpd"
Listen 80
#LoadModule dummy_module /usr/lib/apache/mod_dummy.so
LoadModule ruid2_module /usr/lib/apache/mod_ruid2.so
Include /etc/httpd/conf/extra/httpd-phpmodules.conf
User apache
Group apache
ServerAdmin admin@localhost
DocumentRoot "/var/www/html"
# Options and AllowOverrides
Include conf/extra/httpd-directories.conf
<IfModule dir_module>
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog /var/log/httpd/error_log
LogLevel warn
<IfModule log_config_module>
#replace %b with %O for more accurate logging
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%O %I" bytes
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/httpd/access_log common
</IfModule>
<IfModule alias_module>
# Include some DirectAdmin alias
Include conf/extra/httpd-alias.conf
</IfModule>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-gzip .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType video/x-ms-asf .avi
AddType video/mpeg .mpg
AddType video/mpeg .mpeg
AddType video/quicktime .mov
AddType video/x-ms-wmv .wmv
</IfModule>
#EnableMMAP off
#EnableSendfile off
################################################## #####################################
# For user configurations not maintained by DirectAdmin. Empty by default.
################################################## #####################################
Include conf/extra/httpd-includes.conf
################################################## #####################################
# Do not change anything in included files, because they are rewritten by DirectAdmin #
################################################## #####################################
# This is needed for PHP
Include conf/extra/httpd-php-handlers.conf
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
# Deflate module settings
Include conf/extra/httpd-deflate.conf
# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf
# All suPHP directives
Include conf/extra/httpd-suphp.conf
################################################## #####################################
# End of included files that are rewritten by DirectAdmin #
################################################## #####################################
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid user user
RGroups apache access
</IfModule>
حل نشد ، یکبار rewrite_confs , Apache و PHP (و اگر suPHP دارید و suPHP) رو rebuild کنید .
ویرایش توسط OmidX : July 8th, 2014 در ساعت 11:03
-
-
July 8th, 2014 10:37
# ADS
-
July 8th, 2014, 12:42
#12
پاسخ : ارور آپاچی در دایرکت ادمین

نوشته اصلی توسط
Yas-Host
دسترسی رو ارسال کنید.
بیشتر از 5 بار این مشکل بر خوردیم براحتی حل شده است.
دسترسی ارسال شد
- - - Updated - - -

نوشته اصلی توسط
OmidX
جایگزین و سرویس آپاچی رو ری استارت کنید :
کد:
## 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.
ServerRoot "/etc/httpd"
Listen 80
#LoadModule dummy_module /usr/lib/apache/mod_dummy.so
LoadModule ruid2_module /usr/lib/apache/mod_ruid2.so
Include /etc/httpd/conf/extra/httpd-phpmodules.conf
User apache
Group apache
ServerAdmin admin@localhost
DocumentRoot "/var/www/html"
# Options and AllowOverrides
Include conf/extra/httpd-directories.conf
<IfModule dir_module>
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog /var/log/httpd/error_log
LogLevel warn
<IfModule log_config_module>
#replace %b with %O for more accurate logging
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%O %I" bytes
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog /var/log/httpd/access_log common
</IfModule>
<IfModule alias_module>
# Include some DirectAdmin alias
Include conf/extra/httpd-alias.conf
</IfModule>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-gzip .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType video/x-ms-asf .avi
AddType video/mpeg .mpg
AddType video/mpeg .mpeg
AddType video/quicktime .mov
AddType video/x-ms-wmv .wmv
</IfModule>
#EnableMMAP off
#EnableSendfile off
################################################## #####################################
# For user configurations not maintained by DirectAdmin. Empty by default.
################################################## #####################################
Include conf/extra/httpd-includes.conf
################################################## #####################################
# Do not change anything in included files, because they are rewritten by DirectAdmin #
################################################## #####################################
# This is needed for PHP
Include conf/extra/httpd-php-handlers.conf
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
# Deflate module settings
Include conf/extra/httpd-deflate.conf
# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf
# All suPHP directives
Include conf/extra/httpd-suphp.conf
################################################## #####################################
# End of included files that are rewritten by DirectAdmin #
################################################## #####################################
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid user user
RGroups apache access
</IfModule>
حل نشد ، یکبار rewrite_confs , Apache و PHP (و اگر suPHP دارید و suPHP) رو rebuild کنید .
اصلا آپاچی رو هم ریستارت نمیکنه اینو میگه
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 20 of /usr/local/directadmin/data/users/anlichat/httpd.conf:
Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration
-
-
July 8th, 2014, 13:44
#13
پاسخ : ارور آپاچی در دایرکت ادمین

نوشته اصلی توسط
mossidanger
دسترسی ارسال شد
- - - Updated - - -
اصلا آپاچی رو هم ریستارت نمیکنه اینو میگه
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 20 of /usr/local/directadmin/data/users/anlichat/httpd.conf:
Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration
مشکل شما حل گردید :
Apache is functioning normally
و
httpd (pid 11090) is running...
موفق باشید.
-
تعداد تشکر ها از Yas-Host به دلیل پست مفید
-
July 8th, 2014, 14:47
#14
پاسخ : ارور آپاچی در دایرکت ادمین

نوشته اصلی توسط
Yas-Host
مشکل شما حل گردید :
Apache is functioning normally
و
httpd (pid 11090) is running...
موفق باشید.
خیلی ممنون عزیز لطف کردید
-
-
October 9th, 2014, 23:36
#15
پاسخ : ارور آپاچی در دایرکت ادمین
بهتر نبود راه حل رو میگفتید؟
Code:
grep BUILDSCRIPT_VER= /usr/local/directadmin/custombuild/build
I guess, you need to switch back to 1.1.x or 1.2.x in /usr/local/directadmin/custombuild/options.conf and run
./build update
./build apache
./build php d
منم به همین مشکل برخورد کرده بودم تو گوگل زدم این صفحه اومد ولی مشکلم رو با یه سایت خارجی حل کردم امیدوارم به درد کسایی که به این مشکل برخورد میکننو به این پیج میرسن بخوره
به تاریخ پست هم کار یندارم قدیمی باشه یا جدید باید کار مردم راه انداخته بشه تالار برای همینه
-