MRatWork Forum by Mustafa Ramadhan - Starting nginx: nginx: [emerg] unknown "fpmport" variable

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, 16:32:47

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Starting nginx: nginx: [emerg] unknown "fpmport" variable

« previous next »

- Print

Pages: 1 [2] Go Down

### Author Topic: Starting nginx: nginx: [emerg] unknown "fpmport" variable (Read 5535 times)

0 Members and 1 Guest are viewing this topic.

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #15 on: 2013-03-26, 00:59:57 »
Jalankan 'sh /script/fixweb; sh /script/restart-services'. Dalam fixweb sudah termasuk 'fixphpfpm'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #16 on: 2013-03-26, 10:50:31 »
Udah saya jalankan.
Tapi masih sama ajah, gk ada perubahan
Malah web masih susah diakses
Ada solusi ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #17 on: 2013-03-26, 10:57:42 »
Ini aneh karena di 'domains.conf.tpl' sudah ada declare soal ini (lihat '$userinfo = posix_getpwnam($user);'). Mestinya fixweb akan perbarui configs ini.
Bisa jadi karena salah satu '$user' terhapus dari server anda sehingga ketika process '$userinfo = posix_getpwnam($user);' terjadi kesalahan.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #18 on: 2013-03-26, 13:01:35 »
Quote from: "MRatWork"

> Ini aneh karena di 'domains.conf.tpl' sudah ada declare soal ini (lihat '$userinfo = posix_getpwnam($user);'). Mestinya fixweb akan perbarui configs ini.
> Bisa jadi karena salah satu '$user' terhapus dari server anda sehingga ketika process '$userinfo = posix_getpwnam($user);' terjadi kesalahan.

So ada saran lain ?
Saya lom ada hapus user . Ato saya bisa bantu hire pak mustafa
Buat obok obok server saya
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #19 on: 2013-03-26, 13:32:55 »
Maksudnya, memang anda tidak hapus user di panel tapi karena sesuatu hal ada yang lakukan 'userdel usertentu' di ssh sehingga ketika fixweb (juga fixphpfpm) 'usertentu' ini tidak terdeteksi. Begitu kemungkinannya.
Coba periksa di panel, apa saja user yang dibuat (tentunya admin juga) dan kemudian coba lakukan (misalnya untuk admin):
Code: [Select]

    > id -u admin
    1006

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #20 on: 2013-03-26, 15:26:28 »
ini hasilnya
Code: [Select]

    [root@shack ~]# id -u admin
    1006
    [root@shack ~]# id -u rohan
    7797
    [root@shack ~]# id -u dafa
    1008
    [root@shack ~]# id -u reynaldie
    1007
    [root@shack ~]#

btw terkadang server saya kok sering stuck ya
setelah restart nginx + httpd baru normal (saya sudah run apache-optimize )
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #21 on: 2013-03-26, 15:29:40 »
Kalau anda pakai nginx-proxy malahan 'apache-optimize' diset ke 'default' (bukan 'optimize'). Karena di nginx-proxy tidak perlu 'optimize' untuk apache dan kadang malah bikin pemakaian ram menjadi over.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #22 on: 2013-03-26, 15:33:05 »
untuk php-fpm gimana :hammer:
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #23 on: 2013-03-26, 15:36:19 »
Sebenarnya jalankan fixweb pertamakali detek id dari user yang kemudian dipakai untuk fpmport (dimana 50000 + user id).
Untuk kasus anda, fpmport untuk 'rohan' adalah '57797' dan 'admin' adalah '51006'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #24 on: 2013-03-26, 15:43:44 »
Jika pakai php-fpm usahakan jumlah user sekecil mungkin. Jika bisa pakai 'admin' saja. Semakin banyak user maka akan semakin besar pemakaian php-fpm.
Tergantung ram anda. Jika 512MB maka total php-fpm jangan lebih daripada 20 (dengan asumsi setiap php thread butuh 16MB) dimana masing-masing user diset default pakai max 6 php-fpm children.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #25 on: 2013-03-26, 16:00:23 »
msalah kemungkinan baru ketemu nih,,
ketika saya menjalankan "sh /script/fixweb"
yang di fix hanya domain yang berada di user "admin" dan "dafa"
tetapi untuk user "rohan dan reynaldie" tidak ada fix domain
ada clue ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### MRatWork

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #26 on: 2013-03-26, 16:23:48 »
Coba saja 'change owner' untuk domain dibawah rohan dan reynaldie ke user lain dan kemudian jalankan fixweb lagi. Lihat hasilnya. Jika sudah benar, kembalikan 'change owner' ke 'pemilik' semula dan periksa dengan fixweb.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### prandah

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

##### Re: Starting nginx: nginx: [emerg] unknown "fpmport" variabl

« Reply #27 on: 2013-03-26, 20:02:47 »
ternyata gara gara tidak bisa fixweb dikarenakan server mail nya ada di slave server
nah stelah saya fixweb kemudian saya malakukan service nginx start
Code: [Select]

    [root@shack domains]# service nginx start
    Starting nginx: nginx: [emerg] unknown "fpmport" variable
                                                               [FAILED]
    [root@shack domains]#

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

- Print

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

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Starting nginx: nginx: [emerg] unknown "fpmport" variable

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

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

Page created in 0.042 seconds with 16 queries.

Mirror created by MasterkinG32.CoM