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, 18:39:01

Author Topic: apache sering mati sendiri  (Read 13210 times)

0 Members and 1 Guest are viewing this topic.

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #15 on: 2015-04-11, 12:05:27 »
Saya pake vps, dan sebelumnya ada pernah install webuzo di vps dg provider yang sama. Sebelumnya install webuzo, tapi kasusnya kok sama. apache bermasalah, akhire 500error juga. ganti nginx baru berkerja, mirip kasus sekarang'
apa ada masalah ma OS saya ya?
Mungkin tidak. Ini karena apache dalam 'melayani' request melalui 'instance' (bayangkan saja anda buka beberapa 'windows' dari firefox). Sedangkan nginx/hiawatha/lighttpd melalui 'thread' dan 'children' (bayangkan membuka beberapa 'tab' di firefox). Jelas 'tab' lebih hemat memory daripada 'windows' (ini salahsatu 'kelebihan' nginx cs dibanding apache).

Saya dah coba pak restart-web tetep 500error juga. kalau pake Nginx tadi saya coba bisa, tapi ya itu, awam pake nginx

Yang membuat bingung adalah saat reinstall webuzo 3x masalahnya juga sama yaitu error 500 saat pakai apache. saya dah gunakan centos 6 dan 5
Nah kalau Kloxo MR saya juga belum coba reinstall. Soalnya kalau saya install biasanya langsung bisa. kalau error atau aneh dri awal, saya akan coba reinstall dengan centos yang sama maupun versi beda.
Tapi saat menggunakan XEN+centos6 ini, di provider ini saya belum coba reinstall apakah Fix.
SAYa takutnya template OS centos provider yg saya gunakan bermasalah sih pak. Bingung mo ngecek apanya yang dicek jg gtau.


Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #16 on: 2015-04-11, 12:31:04 »
Sepertinya saya nemu masalah aaneh disini pak. 500 error ternyata hanya muncul pada http, sedang pada whmcs yang menggunakan https, script bisa berjalan dengan baik

Kira2 kenapa ya pak.
saya sudah menggunakan kembali apachenya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache sering mati sendiri
« Reply #17 on: 2015-04-11, 12:42:55 »
Sepertinya saya nemu masalah aaneh disini pak. 500 error ternyata hanya muncul pada http, sedang pada whmcs yang menggunakan https, script bisa berjalan dengan baik

Kira2 kenapa ya pak.
saya sudah menggunakan kembali apachenya
Saya pikir masalahnya bukan http atau https. Bisa jadi error 500 karena ada sebab dalam aplikasi sendiri, misalnya coba menjangkau directory yang tidak diizinkan (luar batas open_basedir atau menulis sesuatu ke directory yang tidak diizinkan karena beda ownership atau permissions). Bisa jadi memerlukan module yang tidak ada. Coba enable 'display error' dan 'error log' pada 'php configure'.

Terkait ownership dan permissions, apa sudah coba 'sh /script/fix-chownchmod'?.

Jika boleh tahu, aplikasinya apa?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #18 on: 2015-04-11, 13:07:08 »
INI screenshoot error 500 http://prntscr.com/6sdqln

Sudah saya cek pak, tapi belum muncul errornya dimana saat saya bukak web
Oya yang 500error adalah wordpress dan yang lebih bingung lagi, halaman depan yang berupa file html alias staticjuga error 500 pak

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache sering mati sendiri
« Reply #19 on: 2015-04-11, 13:27:34 »
Error 500 memang bikin pusing. Tidak akan tahu persis penyebabnya. Enak error 502 untuk ditelusuri.

Kalau dari log di 'log manager' bagaimana?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #20 on: 2015-04-11, 14:01:02 »
Httpd error terakhir

Code: [Select]
[Sat Apr 11 11:17:57 2015] [error] [client 101.226.166.240] File does not exist: /home/kloxo/httpd/default/zhutou-55199.html, referer: http://www.khgkg.com/zhutou-55199.html
[Sat Apr 11 11:18:05 2015] [error] [client 101.226.167.210] File does not exist: /home/kloxo/httpd/default/zhutou-90095.html, referer: http://www.khgkg.com/zhutou-90095.html
[Sat Apr 11 11:19:30 2015] [error] [client 101.226.166.210] File does not exist: /home/kloxo/httpd/default/zhutou-98348.html, referer: http://www.khgkg.com/zhutou-98348.html
[Sat Apr 11 11:19:45 2015] [error] [client 182.118.20.173] File does not exist: /home/kloxo/httpd/default/zhutou-86324.html, referer: http://www.khgkg.com/zhutou-86324.html
[Sat Apr 11 11:20:23 2015] [error] [client 182.118.25.211] File does not exist: /home/kloxo/httpd/default/zhutou-78590.html, referer: http://www.khgkg.com/zhutou-78590.html
[Sat Apr 11 11:20:45 2015] [error] [client 182.118.22.220] File does not exist: /home/kloxo/httpd/default/zhutou-82871.html, referer: http://www.khgkg.com/zhutou-82871.html
[Sat Apr 11 11:20:57 2015] [error] [client 101.226.167.217] File does not exist: /home/kloxo/httpd/default/zhutou-94260.html, referer: http://www.khgkg.com/zhutou-94260.html
[Sat Apr 11 11:21:02 2015] [error] [client 182.118.22.244] File does not exist: /home/kloxo/httpd/default/zhutou-94042.html, referer: http://www.khgkg.com/zhutou-94042.html
[Sat Apr 11 11:21:13 2015] [error] [client 101.226.169.216] File does not exist: /home/kloxo/httpd/default/zhutou-79600.html, referer: http://www.khgkg.com/zhutou-79600.html
[Sat Apr 11 11:21:14 2015] [error] [client 182.118.25.212] File does not exist: /home/kloxo/httpd/default/zhutou-86274.html, referer: http://www.khgkg.com/zhutou-86274.html
[Sat Apr 11 11:21:25 2015] [error] [client 182.118.25.240] File does not exist: /home/kloxo/httpd/default/zhutou-79909.html, referer: http://www.khgkg.com/zhutou-79909.html
[Sat Apr 11 11:21:49 2015] [error] [client 182.118.25.240] File does not exist: /home/kloxo/httpd/default/zhutou-86995.html, referer: http://www.khgkg.com/zhutou-86995.html
[Sat Apr 11 11:25:07 2015] [error] [client 180.76.5.170] File does not exist: /home/kloxo/httpd/default/js
[Sat Apr 11 11:25:34 2015] [error] [client 123.125.71.60] File does not exist: /home/kloxo/httpd/default/pics/90fb60530ba449908aa3deafda5f6c4c.jpg, referer: http://image.baidu.com/i?ct=503316480&z=0&tn=baiduimagedetail
[Sat Apr 11 11:37:27 2015] [error] [client 123.125.71.75] File does not exist: /home/kloxo/httpd/default/pics/P_164_200.jpg, referer: http://image.baidu.com/i?ct=503316480&z=0&tn=baiduimagedetail
[Sat Apr 11 11:49:22 2015] [notice] SIGUSR1 received.  Doing graceful restart
[Sat Apr 11 11:49:22 2015] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Sat Apr 11 11:49:22 2015] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Sat Apr 11 11:49:22 2015] [notice] Digest: generating secret for digest authentication ...
[Sat Apr 11 11:49:22 2015] [notice] Digest: done
[Sat Apr 11 11:49:22 2015] [notice] FastCGI: process manager initialized (pid 12815)
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate CommonName (CN) `menyohost.com' does NOT match server name!?
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate CommonName (CN) `menyohost.com' does NOT match server name!?
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate CommonName (CN) `client.menyohost.com' does NOT match server name!?
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate CommonName (CN) `client.menyohost.com' does NOT match server name!?
[Sat Apr 11 11:49:23 2015] [warn] RSA server certificate wildcard CommonName (CN) `*.lxlabs.com' does NOT match server name!?
[Sat Apr 11 11:49:23 2015] [notice] Apache/2.2.29 (Unix) DAV/2 mod_fastcgi/2.4.7 mod_rpaf/0.6 mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations



PHP error
Quote
[11-Apr-2015 01:42:03 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/xsl.so' - /opt/php54s/usr/lib/php/modules/xsl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:42:03 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/zip.so' - /opt/php54s/usr/lib/php/modules/zip.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/curl.so' - /opt/php54s/usr/lib/php/modules/curl.so: undefined symbol: php_output_write in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/dom.so' - /opt/php54s/usr/lib/php/modules/dom.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/fileinfo.so' - /opt/php54s/usr/lib/php/modules/fileinfo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: geoip: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: imap: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/intl.so' - /opt/php54s/usr/lib/php/modules/intl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/json.so' - /opt/php54s/usr/lib/php/modules/json.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/mbstring.so' - /opt/php54s/usr/lib/php/modules/mbstring.so: undefined symbol: zend_multibyte_set_functions in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: mysqlnd: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/mysqlnd_ms.so' - /opt/php54s/usr/lib/php/modules/mysqlnd_ms.so: undefined symbol: mysqlnd_globals in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/mysqlnd_mysql.so' - /opt/php54s/usr/lib/php/modules/mysqlnd_mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/mysqlnd_mysqli.so' - /opt/php54s/usr/lib/php/modules/mysqlnd_mysqli.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/pdo.so' - /opt/php54s/usr/lib/php/modules/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/pdo_mysqlnd.so' - /opt/php54s/usr/lib/php/modules/pdo_mysqlnd.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/pdo_sqlite.so' - /opt/php54s/usr/lib/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/phar.so' - /opt/php54s/usr/lib/php/modules/phar.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: posix: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: pspell: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: recode: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/snmp.so' - /opt/php54s/usr/lib/php/modules/snmp.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/soap.so' - /opt/php54s/usr/lib/php/modules/soap.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/sqlite3.so' - /opt/php54s/usr/lib/php/modules/sqlite3.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: sysvmsg: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: sysvsem: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: sysvshm: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/tidy.so' - /opt/php54s/usr/lib/php/modules/tidy.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: wddx: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/xmlreader.so' - /opt/php54s/usr/lib/php/modules/xmlreader.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/xmlwriter.so' - /opt/php54s/usr/lib/php/modules/xmlwriter.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/xsl.so' - /opt/php54s/usr/lib/php/modules/xsl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
[11-Apr-2015 01:55:57 Europe/London] PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/zip.so' - /opt/php54s/usr/lib/php/modules/zip.so: undefined symbol: zend_new_interned_string in Unknown on line

Pusing pak,makanya saya bingung, cos udah ganti2 juga eror, ane takutnya template centos di XEN ini yang bermasalah.

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #21 on: 2015-04-11, 14:03:37 »
yang paling membingungkan adalah Sya add subdomain sebagai domain
Kok bisa gak error 500 nah domain utama n directorynya error
Bingung bingits... :o ;D ;D

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache sering mati sendiri
« Reply #22 on: 2015-04-11, 14:10:09 »
Coba 'change owner' domainnya ke client lain.

Bisa jadi ceritanya sama dengan http://forum.mratwork.com/kloxo-mr-technical-helps/file-does-not-exist-in-the-httpd-under-home-kloxo/ tapi mungkin untuk plugin berbeda.

Oh ya, setelah pilih 'php54m' di 'php used' apa error 'PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/php54s/usr/lib/php/modules/...' masih ada?. Jika perlu hapus file log-nya untuk lebih yakin.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #23 on: 2015-04-11, 14:58:29 »
Nah mulai terkuakk tapi msih aneh
Jadi wordpress di subdirectory sudah terbaca.
domain.com/blog/ bisa dibuka
Tapi justru file statis html gak terbaca di bagian directory utama.

Oya saya lihat d subdirectory, wordpress foldernya tidak terproteksi, apa karena ini http://prntscr.com/6seqec

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: apache sering mati sendiri
« Reply #24 on: 2015-04-11, 15:30:19 »
Tidak terpoteksi bagaimana?. Dalam banyak kasus maka 'sh /script/fix-chownchmod' menyelesaikan masalah ownership dan permissions.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #25 on: 2015-04-11, 15:43:35 »
Gak tau pak. cuma not protected aja tulisannya kaya di ss
itu kira2 knpa ya pak klo html malah error 500, padahal subdirectory oke2 aja

Offline menyo

  • Senior Member
  • *
  • Posts: 157
  • Karma: +0/-0
    • View Profile
Re: apache sering mati sendiri
« Reply #26 on: 2015-04-11, 15:45:34 »
update pak. ternyata ketika saya buka langsung index.html mau buka sekarang
namun kok kenapa ya klo dibuka domain.com malah eror 500 gak otomatis open index.


Update pak, fix baca index ane kasih DirectoryIndex index.html index.htm default.htm index.php index.php3 index.phtml index.php5 index.shtml mwindex.phtml di htaccess.

terimakasih
« Last Edit: 2015-04-11, 15:48:51 by menyo »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.06 seconds with 20 queries.

web stats analysis