-
ارور VirtualHost بعد از ریستارت httpd
دوستان ارور زیر چطور میشه رفع کنیم
- :(
کد PHP:
Stopping httpd: [ OK ]
Starting httpd: [Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with VirtualHost 207.182.146.29:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:443 overlaps with V irtualHost 207.182.146.29:443, the first has precedence, perhaps you need a Name VirtualHost directive
[Fri May 03 21:51:09 2013] [warn] VirtualHost 207.182.146.29:80 overlaps with Vi rtualHost 207.182.146.29:80, the first has precedence, perhaps you need a NameVi rtualHost directive
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
احتمالا شما از وب سروری مثل nginx بصورت bing port و reverse در کنار اپاچی استفاده میکنید
error فوق به دلیل مشکل در rebuild شدن نا صحیح Virtualhost فایل ها می باشد
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
خط های موجود در httpd.cnf
کد PHP:
#
# 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
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>
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
بله انجیکس محلتش تمام شده و این مشکل به وجود امده و پاک هم کردیم مشکل حل نشد چه باید کرد
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
سلام
سادست دوست خوبم برای من هم این مشکل پیش اومد VirtualHost هارو ریسرت کنید
دو راه داره
اول راه فورس ماژور:
کد PHP:
nano /etc/httpd/conf/ips.conf
حالا اینجا اون 8888 رو کنید 80
و ریسرت کنید httpd رو
راه اصلی و دائم:
این تغییر رو بدید و یکبار
httpd مجدد بسازید یا اینکه VirtualHost های کل سایت هارو ریسرت کنید
موفق باشید
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
اینم برای ساخت مجدد مجازی ها
Why do I see the "Apache is functioning normally" page instead of my domain? (sometimes: "Hey it worked!")
این مشکل برای خودم پیش اومد هیچ راه حل مناسبی نبود در این انجمن قصد داشتم بزارم وقت نشد
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
ممنون
اما وقتی
nano /etc/httpd/conf/ips.conf
بجز چند خط زیر چیزی نبود
# Auto generated apache config file by DirectAdmin version 1.43.0
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.
LogFormat "%O \"%r\"" homedir
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
همه یوزر ها هستند من انجام دادم فقط مشکل ما از httpd.cnf i هست
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
اینطور تغییر بدید و ذخیره کنید و بعد ریستارت اپاچی
کد PHP:
# Auto generated apache config file by DirectAdmin version 1.43.0
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.
LogFormat "%O \"%r\"" homedir
NameVirtualHost ip server:80
NameVirtualHost ip server:443
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
انجام دادم httpd ریستارت زدم پیغام زیر اومد
Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: /usr/lib/apache/mod_mpm_prefork.so: cannot open shared object file: No such file or directory
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
راه دوم رو تست کنید و کلا یکبار اپاچیتون رو نو سازی کنید
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
راه دوم چطور باید انجام بدم ؟
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
این رور میاد بعد از ریستارت
Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: /usr/lib/apache/mod_mpm_prefork.so: cannot open shared object file: No such file or directory
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
الان استارت میزنیم پیغام زیر میاد
Starting httpd: httpd: Syntax error on line 16 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
دوستان کسی تا بحال به این مشکل نخورده ؟
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
در صورت تمایل با صرف هزینه مشکل شما بررسی و حل خواهد شد
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
نقل قول:
نوشته اصلی توسط
khanihost.com
لطفا هزینه رو بفرمایید؟
کلیه خدمات خارج از انجمن مشمول هزینه خواهد بود لطفا در مورد هزینه اینجا سوال نفرمایید در یاهو در یا از طریق تیکت در سایت در تماس باشید
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
-
پاسخ : ارور VirtualHost بعد از ریستارت httpd
هنگام مشکل دستور زیر را اجرا نمایید:
/usr/local/directadmin/scripts/rebuildnginxvhost
سپس nginx و httpd را restart نمایید