Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 01:31:56

Author Topic: problems nginx down  (Read 1835 times)

0 Members and 1 Guest are viewing this topic.

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
problems nginx down
« on: 2016-01-03, 11:28:50 »
Hi mrat

everyday at the night nginx down, i see these errors

2016/01/03 04:54:06 [crit] 821#821: *4817 open() "/home/httpd/laxxxxx.com/stats/xxxxx.com-custom_log" failed (13: Permission denied) while logging request, client: 198.91.87.33, server: xxxxxx, request: "POST /wp-cron.php?doing_wp_cron=1451793246.0120749473571777343750 HTTP/1.0", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/xxxxx.sock", host: "xxxxxx.com"
2016/01/03 04:54:07 [crit] 821#821: *4815 open() "/home/httpd/xxxxxxx/stats/xxxxxx-custom_log" failed (13: Permission denied) while logging request, client: 47.60.34.37, server: xxxxxx.com, request: "GET /bolsas-de-labores/ HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/xxxxxxl.sock", host: "www.xxxxxx.com"
2016/01/03 04:54:08 [crit] 821#821: *4815 open()
"/home/httpd/xxxxx/stats/xxxxx.com-custom_log" failed (13: Permission denied) while logging request, client: 47.60.34.37, server:xxxxxx, request: "GET /wp-content/cache/head-cleaner/js/48a9786eaccde975e7301e608ae23af1.js HTTP/1.1", host: "xxxxxx", referrer: "http://xxxxxxx/bolsas-de-labores/"
2016/01/03 04:57:51 [emerg] 29404#29404: malloc(2375680) failed (12: Cannot allocate memory)
2016/01/03 04:57:51 [emerg] 29403#29403: malloc(2375680) failed (12: Cannot allocate memory)
2016/01/03 04:57:51 [alert] 29405#29405: pthread_create() failed (11: Resource temporarily unavailable)
2016/01/03 04:57:51 [emerg] 29402#29402: malloc(2375680) failed (12: Cannot allocate memory)
2016/01/03 04:57:51 [alert] 816#816: worker process 29402 exited with fatal code 2 and cannot be respawned
2016/01/03 04:57:51 [alert] 816#816: worker process 29403 exited with fatal code 2 and cannot be respawned
2016/01/03 04:57:51 [alert] 816#816: worker process 29404 exited with fatal code 2 and cannot be respawned
2016/01/03 04:57:51 [alert] 816#816: worker process 29405 exited with fatal code 2 and cannot be respawned

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #1 on: 2016-01-03, 11:29:51 »
and this acceess log...

185.130.5.224 - - [02/Jan/2016:12:36:42 +0100] "GET /server-status?HTTP_POST=%\x22%6346#%#/ˠ%\x22#423|;&HTTP_CGI_GET=GRESYYK\x22K&J\x22#L523D2G23H23 HTTP/1.0" 200 3074 "-" "apache 0day by @hxmonsegur" "-"
153.122.8.97 - - [02/Jan/2016:14:03:58 +0100] "GET /cgi-bin/test-cgi HTTP/1.1" 200 3086 "-" "the beast" "-"
185.130.5.224 - - [02/Jan/2016:14:50:01 +0100] "GET /server-status?HTTP_POST=%\x22%6346#%#/ˠ%\x22#423|;&HTTP_CGI_GET=GRESYYK\x22K&J\x22#L523D2G23H23 HTTP/1.0" 200 3074 "-" "apache 0day by @hxmonsegur" "-"
185.130.5.224 - - [02/Jan/2016:15:34:36 +0100] "GET /server-status?HTTP_POST=%\x22%6346#%#/ˠ%\x22#423|;&HTTP_CGI_GET=GRESYYK\x22K&J\x22#L523D2G23H23 HTTP/1.0" 200 3074 "-" "apache 0day by @hxmonsegur" "-"
198.20.69.98 - - [02/Jan/2016:18:28:13 +0100] "GET / HTTP/1.1" 200 3086 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:13 +0100] "GET /robots.txt HTTP/1.1" 200 25 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:13 +0100] "GET /sitemap.xml HTTP/1.1" 200 3086 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:14 +0100] "" 400 0 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:14 +0100] "" 400 0 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:18 +0100] "quit" 400 172 "-" "-" "-"
198.20.69.98 - - [02/Jan/2016:18:28:18 +0100] "" 400 0 "-" "-" "-"
185.106.92.44 - - [02/Jan/2016:18:32:10 +0100] "HEAD / HTTP/1.1" 200 0 "-" "curl/7.38.0" "-"
199.115.117.117 - - [02/Jan/2016:19:49:44 +0100] "GET /themes/elastixneo/ie.css HTTP/1.1" 200 1166 "-" "python-requests/2.8.0" "-"
169.229.3.91 - - [02/Jan/2016:23:55:19 +0100] "\xC5\xFD\x16G\x04\xDE\x81B\xD9\x97\xD2\xB8:\x02\xE9\xB8\xD7\x9A\x84ib\xA9\xA7/\xA3\x15o\xC3W\xD8b&\xFB-\x8E\x8A\xD8\xC4\xAA\x11\x05\xE0\x15/\xA1m1bNf\xC0\xB0G\xB8\xF6L\xB5\xEB\x03\xDF\xE4'\x87\xEE" 400 172 "-" "-" "-"
199.115.117.117 - - [03/Jan/2016:02:14:31 +0100] "GET /themes/elastixneo/ie.css HTTP/1.1" 200 1166 "-" "python-requests/2.8.0" "-"
185.25.148.240 - - [03/Jan/2016:03:50:19 +0100] "GET http://testp2.czar.bielawa.pl/testproxy.php HTTP/1.1" 404 168 "-" "Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20100101 Firefox/31.0" "-"

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #2 on: 2016-01-03, 12:01:13 »
[xxxxxx@server1 ~]$ sudo yum update
Loaded plugins: priorities, protectbase, replace
Webmin                                                   | 1.0 kB     00:00
Webmin/primary                                           |  30 kB     00:00
Webmin                                                                  235/235
addons                                                   | 1.9 kB     00:00
addons/primary_db                                        | 1.1 kB     00:00
base                                                     | 1.1 kB     00:00
base/primary                                             | 996 kB     00:00
base                                                                  2791/2791
extras                                                   | 2.1 kB     00:00
extras/primary_db                                        | 164 kB     00:00
mratwork-epel/metalink                                   |  10 kB     00:00
mratwork-epel                                            | 3.6 kB     00:00
mratwork-epel/primary_db                                 | 2.5 MB     00:00
mratwork-ius-archive                                     | 2.3 kB     00:00
mratwork-ius-archive/primary_db                          | 1.7 MB     00:00
mratwork-ius-stable                                      | 2.2 kB     00:00
mratwork-ius-stable/primary_db                           |  41 kB     00:00
mratwork-mariadb-32                                      | 2.5 kB     00:00
mratwork-mariadb-32/primary_db                           |  19 kB     00:00
mratwork-mariadb-64                                      | 2.5 kB     00:00
mratwork-mariadb-64/primary_db                           |  19 kB     00:00
mratwork-nginx                                           | 2.5 kB     00:00
mratwork-nginx/primary_db                                |  15 kB     00:00
mratwork-nginx-stable                                    | 2.4 kB     00:00
mratwork-nginx-stable/primary_db                         | 6.2 kB     00:00
mratwork-release-neutral-noarch                          |  951 B     00:00
mratwork-release-neutral-noarch/primary                  |  69 kB     00:00
mratwork-release-neutral-noarch                                         236/236
mratwork-release-version-arch                            |  951 B     00:00
mratwork-release-version-arch/primary                    |  97 kB     00:00
mratwork-release-version-arch                                           263/263
mratwork-varnish-3.0                                     |  951 B     00:00
mratwork-varnish-3.0/primary                             |  12 kB     00:00
mratwork-varnish-3.0                                                      48/48
mratwork-webtatic                                        | 2.5 kB     00:00
mratwork-webtatic/primary_db                             |  87 kB     00:00
updates                                                  | 1.9 kB     00:00
updates/primary_db                                       | 533 kB     00:00
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - a    rch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - ar    ch
Finished
Excluding Packages from MRatWork - Webtatic for CentOS 5 - i386
Finished
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kloxomr7.noarch 0:7.0.0.b-2016010201.mr set to be updated
---> Package webmin.noarch 0:1.780-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version                  Repository                       Size
================================================================================
Updating:
 kloxomr7 noarch 7.0.0.b-2016010201.mr    mratwork-release-neutral-noarch 6.5 M
 webmin   noarch 1.780-1                  Webmin                           27 M

Transaction Summary
================================================================================
Install       0 Package(s)
Upgrade       2 Package(s)

Total download size: 34 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): kloxomr7-7.0.0.b-2016010201.mr.noarch.rpm         | 6.5 MB     00:00
(2/2): webmin-1.780-1.noarch.rpm                         |  27 MB     00:04
--------------------------------------------------------------------------------
Total                                           5.7 MB/s |  34 MB     00:05
Running rpm_check_debug
Running Transaction Test
memory alloc (33554432 bytes) returned NULL.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problems nginx down
« Reply #3 on: 2016-01-03, 14:54:52 »
Inform here 'df -h; df -ih'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #4 on: 2016-01-03, 19:50:39 »
[xxxxx@server1 ~]$ df -h; df -ih
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs             30G   18G   13G  58% /
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/simfs               15M    372K     15M    3% /

xxxxx@server1 ~]$ sh sysinfo
PHP Fatal error:  Out of memory (allocated 110100480) (tried to allocate 225 bytes) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/lxlib.php on line 552
*** Please wait...***
*** Process Time: 00:00:00:06.6689 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

and

[xxxx@server1 script]$ free -m -t
             total       used       free     shared    buffers     cached
Mem:          1024        363        660          0          0        283
-/+ buffers/cache:         79        944
Swap:            0          0          0
Total:        1024        363        660
« Last Edit: 2016-01-03, 19:54:00 by dacapel »

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problems nginx down
« Reply #5 on: 2016-01-04, 02:49:47 »
Try run 'sh /script/cleanup'. Better reboot first.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #6 on: 2016-01-04, 10:51:27 »
i made it


Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problems nginx down
« Reply #7 on: 2016-01-04, 11:14:54 »
Better try reinstall with 'sh /script/upcp -y'. Look like your server missing something (directory or file).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #8 on: 2016-01-04, 13:53:20 »
i make it, all process ok

now i make test and say you results

thankls
« Last Edit: 2016-01-04, 14:26:58 by dacapel »

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: problems nginx down
« Reply #9 on: 2016-01-04, 18:44:37 »
now

[xxxx@server1 script]$  sh sysinfo

A. Kloxo-MR: 7.0.0.b-2016010404
   - Web: hiawatha-10.0.0-f.6.mr.el5
   - PHP: php54s-5.4.45-2.w5 (cgi mode)
B. Plateform:
   - OS: CentOS release 5.11 (Final) i686
   - Hostname: server1.xxxxx.com
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el5
      - Multiple:
        * php52m-5.2.17-102.mr.el5
        * php53m-5.3.29-1.ius.el5
        * php54m-5.4.45-2.w5
      - Used: php54m
   3. Httpd: --uninstalled--
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.9-1.el5.ngx
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        256        767          0          0        160
   -/+ buffers/cache:         96        927
   Swap:            0          0          0
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/simfs             30G   20G   11G  65% /

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.044 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM