نمایش نتایج: از شماره 1 تا 9 , از مجموع 9

موضوع: استارت نشدن آپاچی دایرکت ادمین

  1. #1
    کاربر اخراج شده
    تاریخ عضویت
    Dec 2010
    محل سکونت
    تبریز
    نوشته ها
    76
    تشکر تشکر کرده 
    29
    تشکر تشکر شده 
    51
    تشکر شده در
    47 پست

    پیش فرض استارت نشدن آپاچی دایرکت ادمین

    سلام دوستان
    من هر چی میخوام آپاچی رو ران کنم نمیشه این دستور رو که میزنم
    service httpd start

    این ارور رو میده:

    Starting httpd: httpd: Syntax error on line 61 of /etc/httpd/conf/httpd.conf: /etc/httpd/conf/httpd.conf <Directory> was not closed.

  2. # ADS




     

  3. #2
    عضو انجمن novin-web آواتار ها
    تاریخ عضویت
    Dec 2013
    محل سکونت
    Tehran
    نوشته ها
    562
    تشکر تشکر کرده 
    150
    تشکر تشکر شده 
    2,754
    تشکر شده در
    2,396 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    سلام
    دوباره کامپایل رو انجام بدید اکی میشه:

    cd /usr/local/directadmin/custombuild/
    ./build clean
    ./build update
    ./build set php5_cgi yes
    ./build set php5_cli no
    ./build all d
    ./build rewrite_confs
    ./build roundcube
    ./build squirrelmail
    ./build phpmyadmin
    سرور مجازی | سرور اختصاصی
    تلفن: (66015891)021 ~ تلگرام:09213601063
    سرور مجازی, سرور اختصاصی, هاست|نوین هاست

  4. #3
    کاربر اخراج شده
    تاریخ عضویت
    Dec 2010
    محل سکونت
    تبریز
    نوشته ها
    76
    تشکر تشکر کرده 
    29
    تشکر تشکر شده 
    51
    تشکر شده در
    47 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط novin-web نمایش پست ها
    سلام
    دوباره کامپایل رو انجام بدید اکی میشه:

    cd /usr/local/directadmin/custombuild/
    ./build clean
    ./build update
    ./build set php5_cgi yes
    ./build set php5_cli no
    ./build all d
    ./build rewrite_confs
    ./build roundcube
    ./build squirrelmail
    ./build phpmyadmin
    متاسفانه چندین بار این کار رو انجام دادم نتیجه نداد
    من میخواستم انجینکس رو به همراه آپاچی نصب کنم که این اتفاق افتاد الان انجینکس فعاله ولی آپاچی از کار افتاده

  5. #4
    عضو انجمن novin-web آواتار ها
    تاریخ عضویت
    Dec 2013
    محل سکونت
    Tehran
    نوشته ها
    562
    تشکر تشکر کرده 
    150
    تشکر تشکر شده 
    2,754
    تشکر شده در
    2,396 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    انیستال کنید و کامپابل کنید
    ببینید درست میشه یا نه
    سرور مجازی | سرور اختصاصی
    تلفن: (66015891)021 ~ تلگرام:09213601063
    سرور مجازی, سرور اختصاصی, هاست|نوین هاست

  6. #5
    کاربر اخراج شده
    تاریخ عضویت
    Dec 2010
    محل سکونت
    تبریز
    نوشته ها
    76
    تشکر تشکر کرده 
    29
    تشکر تشکر شده 
    51
    تشکر شده در
    47 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط novin-web نمایش پست ها
    انیستال کنید و کامپابل کنید
    ببینید درست میشه یا نه
    متاسفانه هیچ فرقی نمیکنه

  7. #6
    عضو دائم
    تاریخ عضویت
    Sep 2012
    محل سکونت
    hetzners rack
    نوشته ها
    2,739
    تشکر تشکر کرده 
    2,675
    تشکر تشکر شده 
    6,577
    تشکر شده در
    3,502 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط python نمایش پست ها
    سلام دوستان
    من هر چی میخوام آپاچی رو ران کنم نمیشه این دستور رو که میزنم
    service httpd start

    این ارور رو میده:

    Starting httpd: httpd: Syntax error on line 61 of /etc/httpd/conf/httpd.conf: /etc/httpd/conf/httpd.conf <Directory> was not closed.
    در این ارور کاملا مشخص هست که شما در فایل httpd.conf در خط 61 یک کد <Directory> قرار داده اید و آن را نبستید!

    باید بعد از رول های مربوط به اون دایرکتوری اقدام به قرار دادن <Directory/> نمایید.

    در صورت نیاز دسترسی ارسال فرمایید بررسی و حل میگردد.

  8. #7
    کاربر اخراج شده
    تاریخ عضویت
    Dec 2010
    محل سکونت
    تبریز
    نوشته ها
    76
    تشکر تشکر کرده 
    29
    تشکر تشکر شده 
    51
    تشکر شده در
    47 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط Yas-Host نمایش پست ها
    در این ارور کاملا مشخص هست که شما در فایل httpd.conf در خط 61 یک کد <Directory> قرار داده اید و آن را نبستید!

    باید بعد از رول های مربوط به اون دایرکتوری اقدام به قرار دادن <Directory/> نمایید.

    در صورت نیاز دسترسی ارسال فرمایید بررسی و حل میگردد.
    نمیشه راهنمایی کنید خودم حلش کنم؟

  9. #8
    عضو دائم
    تاریخ عضویت
    Sep 2012
    محل سکونت
    hetzners rack
    نوشته ها
    2,739
    تشکر تشکر کرده 
    2,675
    تشکر تشکر شده 
    6,577
    تشکر شده در
    3,502 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط python نمایش پست ها
    نمیشه راهنمایی کنید خودم حلش کنم؟
    محتویات فایل httpd.conf را در اینجا قرار دهید

  10. #9
    کاربر اخراج شده
    تاریخ عضویت
    Dec 2010
    محل سکونت
    تبریز
    نوشته ها
    76
    تشکر تشکر کرده 
    29
    تشکر تشکر شده 
    51
    تشکر شده در
    47 پست

    پیش فرض پاسخ : استارت نشدن آپاچی دایرکت ادمین

    نقل قول نوشته اصلی توسط Yas-Host نمایش پست ها
    محتویات فایل 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.4> for detailed information. 
    # In particular, see 
    # <URL:http://httpd.apache.org/docs/2.4/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: 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 specify a local disk on the 
    # Mutex directive, if file-based mutexes are used.  If you wish to share 
    # the same ServerRoot for multiple httpd daemons, you will need to 
    # change at least PidFile.
    #
    ServerRoot "/etc/httpd"
    
    #
    # 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 8080
    
    <IfModule unixd_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 apache
    Group apache
    </IfModule>
    
    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    #LoadModule ruid2_module       /usr/lib/apache/mod_ruid2.so
    #LoadModule aclr_module        /usr/lib/apache/mod_aclr2.so
    #LoadModule php5_module        /usr/lib/apache/libphp5.so
    Include    /etc/httpd/conf/extra/httpd-phpmodules.conf
    
    #
    # 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 admin@localhost
    <Directory ./var/www/html.>
    
    <IfModule dir_module>
        DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
    </IfModule>
    #
    # The following lines prevent .htaccess and .htpasswd files from being 
    # viewed by Web clients. 
    #
    <Files ".ht*">
        Require all denied
    </Files>
    
    #
    # 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>
        #replace %b with %O for more accurate logging
        <IfModule mod_logio.c>
          LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
          LogFormat "%a %l %u %t \"%r\" %>s %O" common
          LogFormat "%O %I" bytes
    
          LogFormat "%a %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>
    #
    # 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 may be used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted 
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #
    #EnableMMAP off
    #EnableSendfile off
    
    #######################################################################################
    # For user configurations not maintained by DirectAdmin. Empty by default.
    #######################################################################################
    
    Include conf/extra/httpd-includes.conf
    
    #######################################################################################
    # Supplemental configuration
    #######################################################################################
    
    # Options and AllowOverrides
    Include conf/extra/httpd-directories.conf
    
    # Nginx reverse ***** configuration
    Include conf/extra/httpd-nginx.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
    
    # Suphp
    Include conf/extra/httpd-suphp.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
    
    #######################################################################################
    # Do not change anything in files below, because they are rewritten by DirectAdmin    #
    #######################################################################################
    
    # This is needed for PHP
    Include conf/extra/httpd-php-handlers.conf
    
    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf
    
    # All the DirectAdmin vhosts
    Include conf/extra/directadmin-vhosts.conf
    
    #######################################################################################
    # End of included files that are rewritten by DirectAdmin                             #
    #######################################################################################
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. پاسخ ها: 0
    آخرين نوشته: December 17th, 2016, 18:44
  2. پاسخ ها: 2
    آخرين نوشته: August 19th, 2016, 01:10
  3. پاسخ ها: 6
    آخرين نوشته: April 21st, 2016, 02:00
  4. پاسخ ها: 0
    آخرين نوشته: January 1st, 2014, 11:33

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •