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

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

Hybrid View

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

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

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

  2. #2
    عضو جدید
    تاریخ عضویت
    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

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

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

در حال حاضر 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

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

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