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. 2024-03-28, 22:54:37

Author Topic: error di ip  (Read 19096 times)

0 Members and 1 Guest are viewing this topic.

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #15 on: 2013-08-10, 04:54:50 »
halo sory baru bangun tidur :)


webmail.abenetworkshop.com
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline nusapenida

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • http://www.sukandia.com
Re: error di ip
« Reply #16 on: 2013-08-10, 06:25:10 »
Quote from: "MRatWork"
Tanda 'FastCGI: server "/home/admin/username/domain.com.0fake" stderr:' artinya php-fpm anda masih pakai ip-port dan seharusnya sudah ganti ke socket. Ini anda ada pakai file custom di apache dan atau php-fpm. File custom ini harus anda sesuaikan dengan file originalnya.

pak,
setelah cek, saya belum menggunakan custom file baik di apache, php-fpm ataupin di nginx (/home/apache/tpl)

ada solusi?

thanks
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #17 on: 2013-08-11, 06:41:44 »
iya sama
kok aneh ya

Code: [Select]
[Sun Aug 11 00:39:32 2013] [error] [client 192.254.73.242] (111)Connection refused: FastCGI: failed to connect to server "/home/xxxx/xxxx/xxxx.com.0fake": connect() failed
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #18 on: 2013-08-11, 06:52:10 »
Isi /home/php-fpm/sock sama tidak namanya (tidak termasuk extension) dengan /etc/php-fpm/conf.d
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #19 on: 2013-08-11, 07:53:26 »
gini isinya

Code: [Select]
[root@pegasus ~]# dir /home/php-fpm/sock
abe.sock       apache.sock    download.sock  jjomobi.sock   romneyks.sock
admin.sock     blogbola.sock  homemade.sock  lishuiec.sock  techgela.sock
animalia.sock  ditusuk.sock   homesdes.sock  rohan.sock
[root@pegasus ~]# dir /etc/php-fpm/conf.d
dir: cannot access /etc/php-fpm/conf.d: No such file or directory
[root@pegasus ~]#

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #20 on: 2013-08-11, 08:18:31 »
Maaf, mestinya di '/etc/php-fpm.d'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #21 on: 2013-08-11, 12:01:25 »
sory baru bales. keknya sama deh :

Code: [Select]
[root@pegasus ~]# dir /etc/php-fpm.d
abe.conf       blogbola.conf  download.conf  jjomobi.conf   romneyks.conf
admin.conf     default.conf   homemade.conf  lishuiec.conf  techgela.conf
animalia.conf  ditusuk.conf   homesdes.conf  rohan.conf     www.nonconf
[root@pegasus ~]# dir /home/php-fpm/sock
abe.sock       apache.sock    download.sock  jjomobi.sock   romneyks.sock
admin.sock     blogbola.sock  homemade.sock  lishuiec.sock  techgela.sock
animalia.sock  ditusuk.sock   homesdes.sock  rohan.sock
[root@pegasus ~]#


tapi anehnya internal error itu
fix kalo di restart :)
tapi masak mau di restart terus ya :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #22 on: 2013-08-11, 12:33:45 »
Apa yang perlu direstart?. Mestinya terkait webserver atau php-fpm. Coba saja perhatikan apa yang jadi masalah (webserver atau php-fpm).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #23 on: 2013-08-11, 12:40:55 »
kemungkinan sih php-fpm :D
karena ketika saya restart-services
maka yg akan muncul

Code: [Select]
Stopping php-fpm:                                          [FAILED]
Starting php-fpm: [11-Aug-2013 13:10:22] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
[09-Aug-2013 13:30:38] ERROR: FPM initialization failed
                                                           [FAILED]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #24 on: 2013-08-11, 13:40:14 »
Bisa jadi php-fpm instance lama (pakai ip-port) masih jalan kemudian dicoba restart php-fpm baru (pakai socket). Jelas conflict.

Coba jalankan:
Code: [Select]
killall php-fpm
service php-fpm restart

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

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #25 on: 2013-08-11, 14:03:31 »
untuk cara fix nya gimana ya yang bener?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #26 on: 2013-08-11, 14:06:47 »
Jika sesuai dugaan saya, cukup reboot maka akan beres.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #27 on: 2013-08-11, 14:14:36 »
iya beres, mas :D
tapi bakal muncul internal error lagi lama kelamaan :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: error di ip
« Reply #28 on: 2013-08-11, 14:27:06 »
Quote from: "goblog"
iya beres, mas :D
tapi bakal muncul internal error lagi lama kelamaan :)

Mestinya tidak lagi sepanjang php-fpm sudah pakai socket. Yang perlu dicermati apakah di /etc/sysctl.conf ada 'fs.file-max = 209708'.

Jika belum ada tambahkan tapi jika ada lebih dari 1 maka hilang duplikasinya.

Parameter ini penting untuk php-fpm yang pakai socket dimana bila tidak ada maka website 'temporary unavailable'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: error di ip
« Reply #29 on: 2013-08-11, 14:54:41 »
nah saya kebetulan ada2 nih

Code: [Select]
[root@pegasus ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) 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
fs.file-max = 209708
fs.file-max = 209708
[root@pegasus ~]#

so solusinya dihilangkan 1 ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


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

Page created in 0.032 seconds with 21 queries.

web stats analysis