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

موضوع: مشکل در اجرای nginx

  1. #1
    عضو انجمن 405 آواتار ها
    تاریخ عضویت
    Mar 2020
    نوشته ها
    111
    تشکر تشکر کرده 
    173
    تشکر تشکر شده 
    26
    تشکر شده در
    23 پست

    پیش فرض مشکل در اجرای nginx

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

  2. # ADS




     

  3. #2
    عضو دائم
    تاریخ عضویت
    Oct 2008
    محل سکونت
    Neverland
    نوشته ها
    3,019
    تشکر تشکر کرده 
    1,897
    تشکر تشکر شده 
    8,821
    تشکر شده در
    4,186 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

    journalctl -xe

    ببین ارور چی میگیری

  4. #3
    عضو انجمن 405 آواتار ها
    تاریخ عضویت
    Mar 2020
    نوشته ها
    111
    تشکر تشکر کرده 
    173
    تشکر تشکر شده 
    26
    تشکر شده در
    23 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

    نقل قول نوشته اصلی توسط 1eng.ir نمایش پست ها
    journalctl -xe

    ببین ارور چی میگیری
    کد:
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit session-c44.scope has finished starting up.
    --
    -- The start-up result is done.
    Mar 07 04:01:49 ip208.ip-79-137-121.eu sshd[9816]: pam_unix(sshd:session): session opened for user root by (uid=0)
    Mar 07 04:01:50 ip208.ip-79-137-121.eu sshd[9813]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhos
    Mar 07 04:01:50 ip208.ip-79-137-121.eu sshd[9813]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Mar 07 04:01:50 ip208.ip-79-137-121.eu sshd[9820]: Accepted password for root from 83.121.118.243 port 28573 ssh2
    Mar 07 04:01:50 ip208.ip-79-137-121.eu systemd[1]: Started Session c45 of user root.
    -- Subject: Unit session-c45.scope has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit session-c45.scope has finished starting up.
    --
    -- The start-up result is done.
    Mar 07 04:01:50 ip208.ip-79-137-121.eu systemd-logind[752]: New session c45 of user root.
    -- Subject: A new session c45 has been created for user root
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
    --
    -- A new session with the ID c45 has been created for the user root.
    --
    -- The leading process of the session is 9820.
    Mar 07 04:01:50 ip208.ip-79-137-121.eu sshd[9820]: pam_unix(sshd:session): session opened for user root by (uid=0)
    Mar 07 04:01:50 ip208.ip-79-137-121.eu dbus[723]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
    Mar 07 04:01:50 ip208.ip-79-137-121.eu dbus[723]: [system] Activated service 'org.freedesktop.problems' failed: The permission of the set
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Failed password for root from 198.199.124.109 port 60351 ssh2
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Received disconnect from 198.199.124.109 port 60351:11: Bye Bye [preauth]
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Disconnected from 198.199.124.109 port 60351 [preauth]
    Mar 07 04:01:53 ip208.ip-79-137-121.eu PAM-hulk[9894]: Brute force detection active: 550 LOGIN DENIED -- TOO MANY FAILURES
    Mar 07 04:01:53 ip208.ip-79-137-121.eu sshd[9894]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhos
    Mar 07 04:01:53 ip208.ip-79-137-121.eu sshd[9894]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    
    [root@ip208 ~]# clear
    [root@ip208 ~]#  journalctl -xe
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
    --
    -- A new session with the ID c45 has been created for the user root.
    --
    -- The leading process of the session is 9820.
    Mar 07 04:01:50 ip208.ip-79-137-121.eu sshd[9820]: pam_unix(sshd:session): session opened for user root by (uid=0)
    Mar 07 04:01:50 ip208.ip-79-137-121.eu dbus[723]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
    Mar 07 04:01:50 ip208.ip-79-137-121.eu dbus[723]: [system] Activated service 'org.freedesktop.problems' failed: The permission of the set
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Failed password for root from 198.199.124.109 port 60351 ssh2
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Received disconnect from 198.199.124.109 port 60351:11: Bye Bye [preauth]
    Mar 07 04:01:52 ip208.ip-79-137-121.eu sshd[9813]: Disconnected from 198.199.124.109 port 60351 [preauth]
    Mar 07 04:01:53 ip208.ip-79-137-121.eu PAM-hulk[9894]: Brute force detection active: 550 LOGIN DENIED -- TOO MANY FAILURES
    Mar 07 04:01:53 ip208.ip-79-137-121.eu sshd[9894]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhos
    Mar 07 04:01:53 ip208.ip-79-137-121.eu sshd[9894]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Mar 07 04:01:55 ip208.ip-79-137-121.eu sshd[9894]: Failed password for root from 206.189.148.203 port 54204 ssh2
    Mar 07 04:01:55 ip208.ip-79-137-121.eu sshd[9894]: Received disconnect from 206.189.148.203 port 54204:11: Bye Bye [preauth]
    Mar 07 04:01:55 ip208.ip-79-137-121.eu sshd[9894]: Disconnected from 206.189.148.203 port 54204 [preauth]
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9928]: Invalid user shangzengqiang from 202.175.46.170 port 53676
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9928]: input_userauth_request: invalid user shangzengqiang [preauth]
    Mar 07 04:01:57 ip208.ip-79-137-121.eu PAM-hulk[9928]: Brute force detection active: 580 LOGIN DENIED -- EXCESSIVE FAILURES -- IP TEMP BA
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9928]: pam_unix(sshd:auth): check pass; user unknown
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9928]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhos
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9915]: Invalid user anil from 37.71.147.146 port 52119
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9915]: input_userauth_request: invalid user anil [preauth]
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9915]: pam_unix(sshd:auth): check pass; user unknown
    Mar 07 04:01:57 ip208.ip-79-137-121.eu sshd[9915]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhos
    Mar 07 04:01:59 ip208.ip-79-137-121.eu sshd[9928]: Failed password for invalid user shangzengqiang from 202.175.46.170 port 53676 ssh2
    Mar 07 04:01:59 ip208.ip-79-137-121.eu sshd[9915]: Failed password for invalid user anil from 37.71.147.146 port 52119 ssh2
    Mar 07 04:01:59 ip208.ip-79-137-121.eu sshd[9915]: Received disconnect from 37.71.147.146 port 52119:11: Bye Bye [preauth]
    Mar 07 04:01:59 ip208.ip-79-137-121.eu sshd[9915]: Disconnected from 37.71.147.146 port 52119 [preauth]
    Mar 07 04:02:00 ip208.ip-79-137-121.eu sshd[9928]: Received disconnect from 202.175.46.170 port 53676:11: Bye Bye [preauth]
    Mar 07 04:02:00 ip208.ip-79-137-121.eu sshd[9928]: Disconnected from 202.175.46.170 port 53676 [preauth]
    Mar 07 04:02:05 ip208.ip-79-137-121.eu sshd[9927]: Connection closed by 140.143.226.19 port 60918 [preauth]
    Mar 07 04:02:17 ip208.ip-79-137-121.eu sshd[9736]: Connection closed by 14.29.184.152 port 52002 [preauth]
    Mar 07 04:02:24 ip208.ip-79-137-121.eu PAM-hulk[10097]: Brute force detection active: 580 LOGIN DENIED -- EXCESSIVE FAILURES -- IP TEMP B
    Mar 07 04:02:24 ip208.ip-79-137-121.eu sshd[10097]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rho
    Mar 07 04:02:24 ip208.ip-79-137-121.eu sshd[10097]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "daemon"
    lines 1360-1396/1396 (END)

  5. #4
    عضو دائم
    تاریخ عضویت
    Oct 2008
    محل سکونت
    Neverland
    نوشته ها
    3,019
    تشکر تشکر کرده 
    1,897
    تشکر تشکر شده 
    8,821
    تشکر شده در
    4,186 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

    دو دستور زیر رو به ترتیب بزنید مجدد و خروجی رو بفرستید.

    systemctl status nginx

    journalctl -xe

  6. #5
    عضو انجمن
    تاریخ عضویت
    Feb 2011
    نوشته ها
    558
    تشکر تشکر کرده 
    530
    تشکر تشکر شده 
    672
    تشکر شده در
    446 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

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

    journalctl -u nginx
    وب سایت شخصی: www.hassansh.ir


  7. #6
    عضو انجمن 405 آواتار ها
    تاریخ عضویت
    Mar 2020
    نوشته ها
    111
    تشکر تشکر کرده 
    173
    تشکر تشکر شده 
    26
    تشکر شده در
    23 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

    نقل قول نوشته اصلی توسط 1eng.ir نمایش پست ها
    دو دستور زیر رو به ترتیب بزنید مجدد و خروجی رو بفرستید.

    systemctl status nginx

    journalctl -xe
    خروجی ها به ترتیب

    کد:
    [root@ip208 ~]#  journalctl -u nginx
    -- No entries --
    [root@ip208 ~]#  systemctl status nginx
    ● nginx.service - nginx - high performance web server
       Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
       Active: inactive (dead)
         Docs: http://nginx.org/en/docs/
    کد:
    [root@ip208 ~]#  journalctl -xe
    Mar 07 11:56:51 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
    Mar 07 11:56:51 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
    Mar 07 11:56:52 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on ::1 failed, retrying (#2 of 3): Connection refused
    Mar 07 11:56:52 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
    Mar 07 11:56:53 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on ::1 failed, retrying (#3 of 3): Connection refused
    Mar 07 11:56:53 ip208.ip-79-137-121.eu spamc[53006]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused
    Mar 07 11:56:53 ip208.ip-79-137-121.eu spamc[53006]: connection attempt to spamd aborted after 3 retries
    Mar 07 11:56:53 ip208.ip-79-137-121.eu systemd[1]: Starting Apache SpamAssassin™ deferral daemon...
    -- Subject: Unit spamd.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit spamd.service has begun starting up.
    Mar 07 11:56:54 ip208.ip-79-137-121.eu spamd[53037]: config: no rules were found! Do you need to run 'sa-update'?
    Mar 07 11:57:03 ip208.ip-79-137-121.eu systemd[1]: Can't open PID file /var/run/spamd.pid (yet?) after start: No such file or directory
    Mar 07 11:57:03 ip208.ip-79-137-121.eu systemd[1]: Failed to start Apache SpamAssassin™ deferral daemon.
    -- Subject: Unit spamd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit spamd.service has failed.
    --
    -- The result is failed.
    Mar 07 11:57:03 ip208.ip-79-137-121.eu systemd[1]: Unit spamd.service entered failed state.
    Mar 07 11:57:03 ip208.ip-79-137-121.eu systemd[1]: spamd.service failed.
    Mar 07 11:57:04 ip208.ip-79-137-121.eu dovecot[1531]: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip
    Mar 07 11:57:05 ip208.ip-79-137-121.eu dovecot[1531]: lmtp(53133): Connect from local
    Mar 07 11:57:05 ip208.ip-79-137-121.eu dovecot[1531]: lmtp(53133): Disconnect from local: Client has quit the connection (state=READY)
    Mar 07 11:57:05 ip208.ip-79-137-121.eu dovecot[1531]: imap-login: Login: user=<__cpanel__service__auth__imap__i_kedeuv62b337lc>, method=P
    Mar 07 11:57:05 ip208.ip-79-137-121.eu dovecot[1531]: imap(__cpanel__service__auth__imap__i_kedeuv62b337lc)<53139><SkkCiT+gXLp/AAAB>: Log
    Mar 07 11:57:13 ip208.ip-79-137-121.eu sshd[53220]: Invalid user bob from 185.162.235.213 port 46230
    Mar 07 11:57:13 ip208.ip-79-137-121.eu sshd[53220]: input_userauth_request: invalid user bob [preauth]
    Mar 07 11:57:13 ip208.ip-79-137-121.eu sshd[53220]: pam_unix(sshd:auth): check pass; user unknown
    Mar 07 11:57:13 ip208.ip-79-137-121.eu sshd[53220]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rho
    Mar 07 11:57:16 ip208.ip-79-137-121.eu sshd[53220]: Failed password for invalid user bob from 185.162.235.213 port 46230 ssh2
    Mar 07 11:57:16 ip208.ip-79-137-121.eu sshd[53220]: Received disconnect from 185.162.235.213 port 46230:11: Bye Bye [preauth]
    Mar 07 11:57:16 ip208.ip-79-137-121.eu sshd[53220]: Disconnected from 185.162.235.213 port 46230 [preauth]

    و الان اصلا کار نمیکنه سی پنل

    - - - Updated - - -

    نقل قول نوشته اصلی توسط hassanshaikhi نمایش پست ها
    فکر کنم استفاده از این دستور بهتر باشه

    journalctl -u nginx
    اینم خروجی دستور شما

    کد:
    [root@ip208 ~]#  journalctl -u nginx
    -- No entries --

  8. #7
    عضو انجمن 405 آواتار ها
    تاریخ عضویت
    Mar 2020
    نوشته ها
    111
    تشکر تشکر کرده 
    173
    تشکر تشکر شده 
    26
    تشکر شده در
    23 پست

    پیش فرض پاسخ : مشکل در اجرای nginx

    .......up

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

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

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

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

  1. مشکل نمایش محتویات nginx.conf در سایت ایجاد شده در nginx
    توسط unix_magnet در انجمن سوالات و مشکلات
    پاسخ ها: 2
    آخرين نوشته: December 11th, 2018, 23:26
  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. کدام یک ؟ apache+nginx یا nginx به تنهایی ؟
    توسط yas701 در انجمن وب سرورها
    پاسخ ها: 14
    آخرين نوشته: September 2nd, 2012, 00:59

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

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