MRatWork Forum by Mustafa Ramadhan - Error Nginx

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 23:11:18

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Error Nginx

« previous next »

- Print

Pages: [1] 2 Go Down

### Author Topic: Error Nginx (Read 3388 times)

0 Members and 1 Guest are viewing this topic.

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Error Nginx

« on: 2015-09-13, 09:57:08 »
halo semua..
ini kenapa yah waktu restart kok nginx nya failed, muncul ky gini :
Quote

> *** Process for NGINX service ***
> Starting nginx: [ OK ]
> nginx: [emerg] open() "/var/run/nginx.pid" failed (28: No space left on device)
> touch: cannot touch `/var/lock/subsys/nginx': No space left on device
> - Process: reload
> Reloading nginx: [FAILED]

mohon solusi nya. thanks
Logged

#### ar1246

- Senior Member
- Posts: 234
- Karma: +0/-0
- Gender:

##### Re: Error Nginx

« Reply #1 on: 2015-09-13, 12:59:19 »
Coba cek space hdd nya denan "df -h"
kayanya penuh
Logged

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #2 on: 2015-09-13, 15:59:35 »
ini gan ..
Quote

> Filesystem Size Used Avail Use% Mounted on
> rootfs 20G 11G 7.9G 58% /
> /dev/root 20G 11G 7.9G 58% /
> devtmpfs 7.8G 320K 7.8G 1% /dev
> /dev/sda2 898G 41G 811G 5% /home
> tmpfs 7.8G 0 7.8G 0% /dev/shm

eh sekarang malah ky gini :
Quote

> *** Process for PHP-FPM service ***
> - Process: restart
> Stopping php54m-fpm: [FAILED]
> Starting php54m-fpm: [13-Sep-2015 12:23:16] ERROR: Unable to create the PID file (/var/run/php-fpm/php-fpm.pid).: No space left on device (28)
> [13-Sep-2015 12:23:16] ERROR: FPM initialization failed
> [FAILED]

mohon solusinya. thanks
« Last Edit: 2015-09-13, 18:21:05 by laziale »
Logged

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: Error Nginx

« Reply #3 on: 2015-09-14, 00:40:48 »
killall -9 php-fpm
service php-fpm restart
sh /script/restart-web
Logged
belajar yang banyak, masih goblok soalnya...

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #4 on: 2015-09-14, 02:50:59 »
tetep aja gan, msh error :
Quote

> [root@ns501019 ~]# killall -9 php-fpm
> php-fpm: no process killed
> [root@ns501019 ~]# service php-fpm restart
> Stopping php54m-fpm: [FAILED]
> Starting php54m-fpm: [13-Sep-2015 20:53:00] ERROR: Unable to create the PID file (/var/run/php-fpm/php-fpm.pid).: No space left on device (28)
> [13-Sep-2015 20:53:00] ERROR: FPM initialization failed
> [FAILED]
> [root@ns501019 ~]# sh /script/restart-web
> *** Process for PHP-FPM service ***
> - Process: restart
> Stopping php54m-fpm: [FAILED]
> Starting php54m-fpm: [13-Sep-2015 20:53:05] ERROR: Unable to create the PID file (/var/run/php-fpm/php-fpm.pid).: No space left on device (28)
> [13-Sep-2015 20:53:05] ERROR: FPM initialization failed
> [FAILED]
> -------------------------------------------------------------------
> *** Process for NGINX service ***
> - No need started
> - Process: reload
> Reloading nginx: [ OK ]
> -------------------------------------------------------------------

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Error Nginx

« Reply #5 on: 2015-09-14, 03:05:58 »
Masalah ini terjadi pada install lama atau baru?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #6 on: 2015-09-14, 03:21:17 »
install lama pak, ini terjadi sewaktu pindah dr nginx ke nginxproxy terus pindah lagi ke nginx dan normal, ketika traffic tinggi lalu error seperti ini.. ini kenapa yah pak?
« Last Edit: 2015-09-14, 03:23:07 by laziale »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Error Nginx

« Reply #7 on: 2015-09-14, 03:48:36 »
Quote from: laziale on 2015-09-14, 03:21:17

> install lama pak, ini terjadi sewaktu pindah dr nginx ke nginxproxy terus pindah lagi ke nginx dan normal, ketika traffic tinggi lalu error seperti ini.. ini kenapa yah pak?

Coba naikkan 'fastcgi chidrens' pada 'limit' untuk user terkait. Unlimited artinya 6.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #8 on: 2015-09-14, 08:08:57 »
saya tidak bisa login ke panel nya pak..login error pak.
pas restart sering berubah2, skrng seperti ini :
Quote

> [root@ns501019 ~]# sh /script/restart-all
> Shutting down system logger: [FAILED]
> Starting system logger: Can't open or create /var/run/syslogd.pid.
> Can't write pid.
> [FAILED]
> -------------------------------------------------------------------
> *** Process for MYSQL/MARIADB service ***
> Starting MySQL SUCCESS!
> - Process: reload
> SUCCESS! Reloading service MySQL
> No message for reload
> -------------------------------------------------------------------
> *** Process for NSD service ***
> - No need started
> - Process with 'nsd-control': transfer + write + reload + notify
> - transfer: ok, 0 zones
> - write: ok
> - reload: ok
> - notify: ok
> -------------------------------------------------------------------
> *** Process for PHP-FPM service ***
> - Process: restart
> Stopping php54m-fpm: [ OK ]
> Starting php54m-fpm: [ OK ]
> -------------------------------------------------------------------
> *** Process for NGINX service ***
> - No need started
> - Process: reload
> Reloading nginx: [ OK ]
> -------------------------------------------------------------------
> *** Process for XINETD (including Pure-FTPd) service ***
> - No need started
> - Process: reload
> Reloading configuration: [ OK ]
> -------------------------------------------------------------------
> *** Process for KLOXO service ***
> - No need started
> - Process: reload
> Reloading kloxo-phpcgi: [ OK ]
> Reloading kloxo-hiawatha: [ OK ]
> -------------------------------------------------------------------

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Error Nginx

« Reply #9 on: 2015-09-14, 10:30:34 »
Coba tampilkan hasil 'cat /etc/sysctl.conf'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #10 on: 2015-09-14, 11:22:40 »
ini pak hasilnya :
Quote

> [root@ns501019 ~]# cat /etc/sysctl.conf
> # Kernel sysctl configuration file for Red Hat Linux
> #
> # For binary values, 0 is disabled, 1 is enabled. See sysctl( and
> # sysctl.conf(5) for more details.
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 0
> # Controls source route verification
> net.ipv4.conf.default.rp_filter = 1
> # Do not accept source routing
> net.ipv4.conf.default.accept_source_route = 0
> # Controls the System Request debugging functionality of the kernel
> kernel.sysrq = 0
> # Controls whether core dumps will append the PID to the core filename.
> # Useful for debugging multi-threaded applications.
> kernel.core_uses_pid = 1
> # Controls the use of TCP syncookies
> net.ipv4.tcp_syncookies = 1
> # Disable netfilter on bridges.
> net.bridge.bridge-nf-call-ip6tables = 0
> net.bridge.bridge-nf-call-iptables = 0
> net.bridge.bridge-nf-call-arptables = 0
> # Controls the default maxmimum size of a mesage queue
> kernel.msgmnb = 65536
> # Controls the maximum size of a message, in bytes
> kernel.msgmax = 65536
> # Controls the maximum shared segment size, in bytes
> kernel.shmmax = 68719476736
> # Controls the maximum number of shared memory segments, in pages
> kernel.shmall = 4294967296
> # Disable IPv6 autoconf
> net.ipv6.conf.all.autoconf = 0
> net.ipv6.conf.default.autoconf = 0
> net.ipv6.conf.eth0.autoconf = 0
> net.ipv6.conf.all.accept_ra = 0
> net.ipv6.conf.default.accept_ra = 0
> net.ipv6.conf.eth0.accept_ra = 0
> ### begin -- add by Kloxo-MR
> fs.aio-max-nr = 1048576
> fs.file-max = 1048576
> net.ipv4.tcp_syncookies = 1
> net.ipv4.tcp_max_syn_backlog = 2048
> #vm.swappiness = 10
> #vm.vfs_cache_pressure = 100
> #vm.dirty_background_ratio = 15
> #vm.dirty_ratio = 5
> ### end -- add by Kloxo-MR

Logged

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #11 on: 2015-09-15, 14:01:16 »
sepertinya ini karena no space, betul tidak?
file apa aja yg mesti di hapus yah pak?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Error Nginx

« Reply #12 on: 2015-09-15, 14:24:09 »
Quote from: laziale on 2015-09-15, 14:01:16

> sepertinya ini karena no space, betul tidak?
> file apa aja yg mesti di hapus yah pak?

Penyebab 'no space' ada 2 yaitu space memang sudah habis atau inode ('jumlah file') sudah terlampaui
« Last Edit: 2015-09-15, 14:28:26 by MRatWork »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### laziale

- Valuable Member
- Posts: 51
- Karma: +0/-0

##### Re: Error Nginx

« Reply #13 on: 2015-09-16, 08:06:03 »
cara ngecek jumlah inode bagaimana pak?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Error Nginx

« Reply #14 on: 2015-09-16, 08:34:47 »
COba saja 'df -i'. Kalau space kan pakai 'df -h'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] 2 Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Error Nginx

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

..:: Monetize Your Website with ylliXmedia ::.. ..:: Online Advertising that Sale Anything with ylliXmedia ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.038 seconds with 18 queries.

Mirror created by MasterkinG32.CoM