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-04-27, 15:55:33

Author Topic: httpd error web tidak bisa terload  (Read 7750 times)

0 Members and 1 Guest are viewing this topic.

Offline heryarts

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Gender: Male
    • View Profile
httpd error web tidak bisa terload
« on: 2014-03-26, 09:38:12 »
Selamat siang mimin dan momod sekalian..pertama2 ane mau ucapkan terimakasih untuk pak mustafa ya akhirnya bisa gabung diforum kloxo-mr :)

ane ingin sedikit curhat nih dengan sepuh-sepuh sekalian disini, kebetulan ane sedang ada trouble dengan web ane semenjak kemarin sore. ane sudah coba utak utik nyari letak slhnya tapi akhirnya nyerah juga. barangkali nantinya agan-agan bisa bantu ane kali aja ada yang kelewatan pas ane coba-coba dari kemarin.

pertama-tama indikasi trouble yg ane alami kayanya ada slh satu plugin dari cms yg ane pakai yg membuat server overload. terlihat saat ane cek solus vm vps ane memory nya tiba2 langsung merah hampir 100% dan juga swap memorynya hampir 100%. melihat hal itu ane coba shutdown dulu vps ane agar kembali ke kondisi normal. nah masalah muncul pada saat ane ingin boot kembali vps tiba-tiba saja tdk bisa terbuka halaman webnya. ane coba cek dari panel kloxonya ternyata httpd dlm keadaan tdk berwarna hijau. setelah ane itu ane coba masuk ke switch program untuk mengubah ke apache (kondisi awal nginxproxy dengan suphp worker). Setelah ane ubah ternyata alhasil tetap saja tidak terbuka juga web ane. ane coba sh /script/restart-all pun tetap saja tdk berhasil.

ada 1 keanehan yg tdk seperti biasanya saat ane buka kloxo mr semenjak kemarin. yaitu pd saat ane coba switch program teryata saat ane klik tombol untuk mengubahnya membutuhkan waktu yg lama sekali, biasanya jika sy switch waktunya tdk sampai 1 menit sdh bisa keubah. begitupun klo pas saya ingin mengubah web server dari suphp worker ke php-fpm worker ataupun lainnya.

Dengan ane melihat keanehan diatas ane coba simpulkan jng2 ini kloxo mr ane di vps ada mslh jd ane ingin coba instal ulang, lagi-lagi kendala pun muncul pas ane mau reinstal ntah kenapa saat ane coba reinstal muncul bnyk pesan klo repository tdk dapat konek long respond blablabla..

kira-kira dimana ya agan-agan sekalian trouble yg harus ane lakukan lagi dengan kondisi error tesebut.

settingan biasa ane :
php branch : php53u
php type : suphp event
program : ngingxproxy
dns : bind
spam : bogofilter

ane sdh hampir 2-3 bulan pakai settingan ini cocok sekali dan ram pun stabil hanya 12% an, jika pakai settingan lain malah mendadak bisa naik hingga 80-90%

berikut report error httpnya  :

Code: [Select]
[Tue Mar 25 15:15:17 2014] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Mar 25 15:15:17 2014] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Mar 25 15:15:17 2014] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Mar 25 15:15:17 2014] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Tue Mar 25 15:15:17 2014] [notice] Apache/2.2.26 (Unix) DAV/2 mod_rpaf/0.6 mod_ssl/2.2.26 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Tue Mar 25 15:16:16 2014] [notice] caught SIGTERM, shutting down


pesan error saat direstart all :

Code: [Select]
[root@bluhtv ~]# sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
/script/restart-all: line 23: /etc/init.d/httpd: Permission denied
/script/restart-all: line 23: /etc/init.d/nginx: Permission denied
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm: [26-Mar-2014 11:57:01] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ssh2.so' - /usr/lib/php/modules/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ssh2.so' - /usr/lib/php/modules/ssh2.so: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
                                                           [  OK  ]
« Last Edit: 2014-03-26, 10:00:18 by heryarts »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd error web tidak bisa terload
« Reply #1 on: 2014-03-26, 10:50:13 »
Coba periksa ke /var/lib/mysql yang bisa jadi ada file besar yang mencurigakan.

Terlihat ada yang 'corrupt' pada OS anda, terbukti 'httpd' dan 'nginx' jadi 'permission denied'.

Salah satu cara adalah me-reinstall bagian-bagian tertentu dengan 'yum reinstall httpd* nginx* mysql*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline heryarts

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: httpd error web tidak bisa terload
« Reply #2 on: 2014-03-26, 10:58:19 »
Coba periksa ke /var/lib/mysql yang bisa jadi ada file besar yang mencurigakan.

Terlihat ada yang 'corrupt' pada OS anda, terbukti 'httpd' dan 'nginx' jadi 'permission denied'.

Salah satu cara adalah me-reinstall bagian-bagian tertentu dengan 'yum reinstall httpd* nginx* mysql*'.

maaf pak mustafa jika proses reinstal apakah nantinya ada isi data yg terhapus ga ya? semisal data2 cms yang ada di mysql? :)


oh iya pak yg membuat sy bingung kenapa ya pak setiap sy akan yum update/ reinstal selalu time out terus repositorynya :)
notifnya seperti ini pak mustafa :)

Code: [Select]
[root@bluhtv ~]# yum reinstall httpd* nginx* mysql
Loaded plugins: fastestmirror, protectbase, replace
Repository mratwork-release-neutral-noarch is listed more than once in the configuration
Repository mratwork-release-neutral-arch is listed more than once in the configuration
Repository mratwork-release-version-noarch is listed more than once in the configuration
Repository mratwork-release-version-arch is listed more than once in the configuration
Repository mratwork-testing-neutral-noarch is listed more than once in the configuration
Repository mratwork-testing-neutral-arch is listed more than once in the configuration
Repository mratwork-testing-version-noarch is listed more than once in the configuration
Repository mratwork-testing-version-arch is listed more than once in the configuration
Repository mratwork-srpms is listed more than once in the configuration
Repository mratwork-centalt is listed more than once in the configuration
Repository mratwork-ius is listed more than once in the configuration
Repository mratwork-ius-c5 is listed more than once in the configuration
Repository mratwork-epel is listed more than once in the configuration
Repository mratwork-varnish-3.0 is listed more than once in the configuration
Repository mratwork-centosec is listed more than once in the configuration
Repository mratwork-nginx is listed more than once in the configuration
Repository mratwork-mariadb is listed more than once in the configuration
Repository mratwork-atrpms is listed more than once in the configuration
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el5&arch=i386 error was
[Errno 12] Timeout: <urlopen error timed out>
 * addons: centos.mirror.constant.com
 * base: mirror.es.its.nyu.edu
 * extras: centos.mirror.nac.net
 * mratwork-epel: mirror.symnds.com
 * rpmforge: mirror.us.leaseweb.net
 * update: mirror.trouble-free.net
http://vault.centos.org/5.4/os/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://vault.centos.org/5.4/centosplus/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://centos.alt.ru/repository/centos/5/i386/repodata/primary.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: failure: repodata/primary.xml.gz from mratwork-centalt: [Errno 256] No more mirrors to try.
« Last Edit: 2014-03-26, 11:05:38 by heryarts »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd error web tidak bisa terload
« Reply #3 on: 2014-03-26, 15:16:45 »
Ya tidak (pastinya yang untuk nginx dan httpd). Sepanjang pengalaman saya reinstall mysql juga tidak 'merusak' database.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: httpd error web tidak bisa terload
« Reply #4 on: 2014-03-27, 00:11:57 »
kalau time out mungkin itu ke block...
dan hal ini mungkin yg menyebabkan masalah pada saat install...

service iptables stop
chkconfig iptables off


Offline heryarts

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: httpd error web tidak bisa terload
« Reply #5 on: 2014-03-27, 01:41:47 »
Ya tidak (pastinya yang untuk nginx dan httpd). Sepanjang pengalaman saya reinstall mysql juga tidak 'merusak' database.

kmrin sy coba backup2 dulu pak sambil nunggu confirm pak mustafa...:D tetapi pas ditest tetep stack juga kena timeout..mulai agak puyeng member ga bs ngakses web :D

Offline heryarts

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: httpd error web tidak bisa terload
« Reply #6 on: 2014-03-27, 01:45:19 »
kalau time out mungkin itu ke block...
dan hal ini mungkin yg menyebabkan masalah pada saat install...

service iptables stop
chkconfig iptables off

tetep nih gan GentZu,yg anehnya itu gan klo update/ reinstal muncul notif timeout, nah klo pas ane mau switch program via kloxo mrnya prosesnya pas ngubah bisa sampai lebih dari 1 menit dan lalu muncul pesan long respond (seperti pd gambar dipost 1) dan juga sama klo pas ane mau ganti web servernya, biasanya kdng ga sampai 1 menit sdh langsung keubah.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd error web tidak bisa terload
« Reply #7 on: 2014-03-27, 05:17:08 »
Switch dan change pada php-branch dan php-type akan memerlukan install lagi service yang dibutuhkan. Kalau IIX ya begitu lah.

Kalau respon panel lambat, bisa jadi ada yang tidak pas pada mysql.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: httpd error web tidak bisa terload
« Reply #8 on: 2014-03-29, 18:59:42 »
itu pakek kloxo 6.5.0.f apa 6.5.1.b?
saya juga ada masalah yg gk bisa di fix di 6.5.0f terus nyoba 6.5.1.b lancar semua...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd error web tidak bisa terload
« Reply #9 on: 2014-03-29, 19:21:00 »
Kloxo-MR 6.5.0.f tidak akan lagi ada update baru kecuali terkait masalah security.

Sekarang saya konsentrasi di 6.5.1 agar segera bisa selesai (final release).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.031 seconds with 19 queries.

web stats analysis