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

موضوع: httpd , nginx در دایرکت

  1. #1
    عضو جدید
    تاریخ عضویت
    Oct 2020
    نوشته ها
    5
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض httpd , nginx در دایرکت

    درود به دوستان و اساتید
    میشه دوستان راهنمایی کنن چرا این دو سرویس بالا نمیان؟
    httpd , nginx

  2. # ADS




     

  3. #2
    عضو انجمن SaeedFazlollahzadeh آواتار ها
    تاریخ عضویت
    Jan 2015
    محل سکونت
    تهران
    نوشته ها
    487
    تشکر تشکر کرده 
    1,058
    تشکر تشکر شده 
    690
    تشکر شده در
    483 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    این دستورات رو بزنید خروجی ها رو ببینید چه خطایی نمایش میدن:
    کد:
    systemctl restart httpd
    systemctl status httpd
    systemctl restart nginx
    systemctl status nginx
    nginx -t

  4. #3
    عضو جدید
    تاریخ عضویت
    Oct 2020
    نوشته ها
    5
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط SaeedFazlollahzadeh نمایش پست ها
    این دستورات رو بزنید خروجی ها رو ببینید چه خطایی نمایش میدن:
    کد:
    systemctl restart httpd
    systemctl status httpd
    systemctl restart nginx
    systemctl status nginx
    nginx -t

    درود به شما

    به ترتیب دستوراتی که دادید:

    [root@server ~]# systemctl restart httpd
    Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.


    [root@server ~]# systemctl status httpd
    ● httpd.service - The Apache HTTP Server
    Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Wed 2020-10-14 13:10:06 +0330; 9s ago
    Process: 27864 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
    Main PID: 27864 (code=exited, status=1/FAILURE)
    Status: "Reading configuration..."

    Oct 14 13:10:06 server.makoranhost.net systemd[1]: Starting The Apache HTTP S...
    Oct 14 13:10:06 server.makoranhost.net httpd[27864]: AH00526: Syntax error on...
    Oct 14 13:10:06 server.makoranhost.net httpd[27864]: SSLCertificateFile: file...
    Oct 14 13:10:06 server.makoranhost.net systemd[1]: httpd.service: main proces...
    Oct 14 13:10:06 server.makoranhost.net systemd[1]: Failed to start The Apache...
    Oct 14 13:10:06 server.makoranhost.net systemd[1]: Unit httpd.service entered...
    Oct 14 13:10:06 server.makoranhost.net systemd[1]: httpd.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.


    [root@server ~]# systemctl restart nginx
    Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.


    [root@server ~]# systemctl status nginx
    ● nginx.service - The nginx HTTP and reverse proxy server
    Loaded: loaded (/etc/systemd/system/nginx.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Wed 2020-10-14 13:11:12 +0330; 329ms ago
    Process: 28122 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

    Oct 14 13:11:12 server.makoranhost.net systemd[1]: Starting The nginx HTTP an...
    Oct 14 13:11:12 server.makoranhost.net nginx[28122]: nginx: [emerg] unknown d...
    Oct 14 13:11:12 server.makoranhost.net nginx[28122]: nginx: configuration fil...
    Oct 14 13:11:12 server.makoranhost.net systemd[1]: nginx.service: control pro...
    Oct 14 13:11:12 server.makoranhost.net systemd[1]: Failed to start The nginx ...
    Oct 14 13:11:12 server.makoranhost.net systemd[1]: Unit nginx.service entered...
    Oct 14 13:11:12 server.makoranhost.net systemd[1]: nginx.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.


    [root@server ~]# nginx -t
    nginx: [emerg] unknown directive "ServerAlias" in /usr/local/directadmin/data/users/rcpahreh/nginx.conf:14
    nginx: configuration file /etc/nginx/nginx.conf test failed

  5. #4
    عضو انجمن SaeedFazlollahzadeh آواتار ها
    تاریخ عضویت
    Jan 2015
    محل سکونت
    تهران
    نوشته ها
    487
    تشکر تشکر کرده 
    1,058
    تشکر تشکر شده 
    690
    تشکر شده در
    483 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    سلام
    البته برای خوانایی بیشتر بهتر هست که کد ها رو داخل تگ کد قرار بدید مثل من که نوشتم.
    اما در خصوص مشکل تون، برای آپاچی این کامند رو بزنید و خروجی رو بفرمایید:
    کد:
    journalctl -xe | grep httpd
    و برای nginx هم فایل /etc/nginx/nginx.conf رو باز کنید و خط ۱۴ رو چک کنید.

  6. #5
    عضو جدید
    تاریخ عضویت
    Oct 2020
    نوشته ها
    5
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط SaeedFazlollahzadeh نمایش پست ها
    سلام
    البته برای خوانایی بیشتر بهتر هست که کد ها رو داخل تگ کد قرار بدید مثل من که نوشتم.
    اما در خصوص مشکل تون، برای آپاچی این کامند رو بزنید و خروجی رو بفرمایید:
    کد:
    journalctl -xe | grep httpd
    و برای nginx هم فایل /etc/nginx/nginx.conf رو باز کنید و خط ۱۴ رو چک کنید.
    کد HTML:
    [root@server ~]# journalctl -xe | grep httpd
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:49:51 server.makoranhost.net httpd[9207]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:49:51 server.makoranhost.net httpd[9207]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service failed.
    Oct 14 13:50:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:02 server.makoranhost.net httpd[10383]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:02 server.makoranhost.net httpd[10383]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:02 server.makoranhost.net httpd[10485]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:02 server.makoranhost.net httpd[10485]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:07 server.makoranhost.net httpd[11832]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:07 server.makoranhost.net httpd[11832]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:46 server.makoranhost.net httpd[16060]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:46 server.makoranhost.net httpd[16060]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service failed.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:01 server.makoranhost.net httpd[17647]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:01 server.makoranhost.net httpd[17647]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:02 server.makoranhost.net httpd[17687]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:02 server.makoranhost.net httpd[17687]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:07 server.makoranhost.net httpd[17696]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:07 server.makoranhost.net httpd[17696]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:52:01 server.makoranhost.net httpd[17851]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:52:01 server.makoranhost.net httpd[17851]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:52:06 server.makoranhost.net httpd[17879]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:52:06 server.makoranhost.net httpd[17879]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:53:02 server.makoranhost.net httpd[18043]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:53:02 server.makoranhost.net httpd[18043]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:53:07 server.makoranhost.net httpd[18069]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:53:07 server.makoranhost.net httpd[18069]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service failed.

    =================
    برای nginx نتونستم این پاسخ رو داد

    [root@server ~]# /etc/nginx/nginx.conf
    -bash: /etc/nginx/nginx.conf: Permission denied

  7. #6
    عضو انجمن SaeedFazlollahzadeh آواتار ها
    تاریخ عضویت
    Jan 2015
    محل سکونت
    تهران
    نوشته ها
    487
    تشکر تشکر کرده 
    1,058
    تشکر تشکر شده 
    690
    تشکر شده در
    483 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط mesazvar نمایش پست ها
    کد HTML:
    [root@server ~]# journalctl -xe | grep httpd
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:49:51 server.makoranhost.net httpd[9207]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:49:51 server.makoranhost.net httpd[9207]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service failed.
    Oct 14 13:50:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:02 server.makoranhost.net httpd[10383]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:02 server.makoranhost.net httpd[10383]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:02 server.makoranhost.net httpd[10485]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:02 server.makoranhost.net httpd[10485]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:07 server.makoranhost.net httpd[11832]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:07 server.makoranhost.net httpd[11832]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:50:46 server.makoranhost.net httpd[16060]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:50:46 server.makoranhost.net httpd[16060]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service failed.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:01 server.makoranhost.net httpd[17647]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:01 server.makoranhost.net httpd[17647]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:02 server.makoranhost.net httpd[17687]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:02 server.makoranhost.net httpd[17687]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:51:07 server.makoranhost.net httpd[17696]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:51:07 server.makoranhost.net httpd[17696]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:52:01 server.makoranhost.net httpd[17851]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:52:01 server.makoranhost.net httpd[17851]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:52:06 server.makoranhost.net httpd[17879]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:52:06 server.makoranhost.net httpd[17879]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:53:02 server.makoranhost.net httpd[18043]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:53:02 server.makoranhost.net httpd[18043]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service failed.
    -- Subject: Unit httpd.service has begun start-up
    -- Unit httpd.service has begun starting up.
    Oct 14 13:53:07 server.makoranhost.net httpd[18069]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
    Oct 14 13:53:07 server.makoranhost.net httpd[18069]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    -- Subject: Unit httpd.service has failed
    -- Unit httpd.service has failed.
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
    Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service failed.

    =================
    برای nginx نتونستم این پاسخ رو داد

    [root@server ~]# /etc/nginx/nginx.conf
    -bash: /etc/nginx/nginx.conf: Permission denied
    سلام
    هم فایل nginx و هم فایل آپاچی تون خطای سینتکس و دستوری داره.

    مایل بودید دسترسی روت سرور رو در تلگرام یا از طریق تیکت به واحد فروش ارسال کنید، به جهت این که بررسی فنی نیاز داره با هزینه قابل رفع هست.

  8. #7
    عضو جدید
    تاریخ عضویت
    Oct 2020
    نوشته ها
    5
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط SaeedFazlollahzadeh نمایش پست ها
    سلام
    هم فایل nginx و هم فایل آپاچی تون خطای سینتکس و دستوری داره.

    مایل بودید دسترسی روت سرور رو در تلگرام یا از طریق تیکت به واحد فروش ارسال کنید، به جهت این که بررسی فنی نیاز داره با هزینه قابل رفع هست.

    درود
    هزینه ش چقد میشه سعید جان
    تلگرام بنده: @makorani

  9. #8
    عضو انجمن SaeedFazlollahzadeh آواتار ها
    تاریخ عضویت
    Jan 2015
    محل سکونت
    تهران
    نوشته ها
    487
    تشکر تشکر کرده 
    1,058
    تشکر تشکر شده 
    690
    تشکر شده در
    483 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط mesazvar نمایش پست ها
    درود
    هزینه ش چقد میشه سعید جان
    تلگرام بنده: @makorani
    سلام
    پیام ارسال شد.
    دسترسی ارسال کنید بررسی بشه ابتدا، بعد خدمت تون عرض میشه.

  10. #9
    عضو انجمن tpark آواتار ها
    تاریخ عضویت
    Apr 2014
    محل سکونت
    تلگرام: @sibhost
    نوشته ها
    239
    تشکر تشکر کرده 
    64
    تشکر تشکر شده 
    200
    تشکر شده در
    156 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط mesazvar نمایش پست ها
    درود به دوستان و اساتید
    میشه دوستان راهنمایی کنن چرا این دو سرویس بالا نمیان؟
    httpd , nginx
    درود بر شما
    اگر شخصی سازی روی وب سرور انجام ندادید و منابع آزاد هم وجود داره میتونید همه چیز مرتبط با وب سرور رو از نو build کنید:
    کد:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build update_da
    ./build set webserver nginx_apache
    ./build nginx_apache
    ./build rewrite_confs
    موفق و پیروز باشید.
    ویرایش توسط tpark : October 14th, 2020 در ساعت 18:13
    هاست ووکامرس
    شگفت انگیز!

  11. #10
    عضو جدید
    تاریخ عضویت
    Oct 2020
    نوشته ها
    5
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض پاسخ : httpd , nginx در دایرکت

    نقل قول نوشته اصلی توسط tpark نمایش پست ها
    درود بر شما
    اگر شخصی سازی روی وب سرور انجام ندادید و منابع آزاد هم وجود داره میتونید همه چیز مرتبط با وب سرور رو از نو build کنید:
    کد:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build update_da
    ./build set webserver nginx_apache
    ./build nginx_apache
    ./build rewrite_confs
    موفق و پیروز باشید.

    درود دوست عزیز
    متاسفانه با این دستورات نشد به نتیجه نرسیدم

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

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

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

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

  1. پاسخ ها: 1
    آخرين نوشته: April 9th, 2018, 08:06
  2. پاسخ ها: 96
    آخرين نوشته: September 10th, 2016, 21:36
  3. درخواست اموزش رفع Nginx is functioning normally بعداز نصب وب سرور nginx
    توسط sms.bartarhost در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 0
    آخرين نوشته: February 25th, 2015, 15:51
  4. پاسخ ها: 3
    آخرين نوشته: February 15th, 2015, 18:50
  5. نصب nginx یا httpd
    توسط irantcom در انجمن سی پنل CPanel
    پاسخ ها: 3
    آخرين نوشته: February 20th, 2011, 01:02

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

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