MRatWork Forum by Mustafa Ramadhan

Language Specific Discussions => Indonesia Users => Topic started by: itx on 2015-10-08, 07:49:33

Title: server down setelah fix-all
Post by: itx on 2015-10-08, 07:49:33
kmaren nambah satu domain, entah kenapa gak bisa seakan2 dns-nya blm disetting di server. padahal settingannya kukira sudah benar, biasanya sih lancar2 saja.
setelah itu aku coba fix-all, tapi malah server down beneran.

udah kulakukan switch program, upcp, fix-all, restart-all .... masih tetap gagal.

Kondisi terakhir: 502 Bad Gateway

apache gak bisa start

Quote
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015092401
   - Web: hiawatha-9.14.0-f.6.mr.el6.x86_64
   - PHP: php53s-5.3.29-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: slamet
C. Services:
   1. MySQL: mysql55-5.5.45-1.ius.el6.x86_64
   2. PHP:
      - Branch: php53u-cli-5.3.29-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.5-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          3072        670       2401         46          0        513
   -/+ buffers/cache:        157       2914
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       75G   47G   29G  63% /
Quote
sh /script/restart-web

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php-fpm:                                         [FAILED]
-------------------------------------------------------------------

*** Process for NGINX service ***
  - No need started
  - Process: reload
Reloading nginx:                                           [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
/usr/local/lxlabs/kloxo/etc/process/httpd: /etc/rc.d/init.d/httpd: /bin/bash^M: bad interpreter: No such file or directory
  - Process with 'httpd': restart
/usr/local/lxlabs/kloxo/etc/process/httpd: /etc/rc.d/init.d/httpd: /bin/bash^M: bad interpreter: No such file or directory
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

Title: Re: server down setelah fix-all
Post by: itx on 2015-10-08, 07:58:47
setelah reinstal httpd , lalu restart muncul ini:
Quote
sh /script/restart-web

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php-fpm:                                         [  OK  ]
-------------------------------------------------------------------

*** Process for NGINX service ***
  - No need started
  - Process: reload
Reloading nginx:                                           [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 91 of /etc/httpd/conf.d/~lxcenter.conf: Include directory '/home/apache/conf/defaults' not found
                                                           [FAILED]
  - Process with 'httpd': restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 91 of /etc/httpd/conf.d/~lxcenter.conf: Include directory '/home/apache/conf/defaults' not found
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

Title: Re: server down setelah fix-all
Post by: MRatWork on 2015-10-08, 12:30:36
Coba 'yum reinstall httpd -y; sh /script/restart-web -y'.
Title: Re: server down setelah fix-all
Post by: itx on 2015-10-08, 13:50:02
sudah reinstal dan restart web.
hasilnya nampak pada reply#1
Title: Re: server down setelah fix-all
Post by: itx on 2015-10-23, 17:09:58
bagaimana, ada solusi?
sementara aku pakai hiawatha, tapi sayang ada bbrp redirect lewat htaccess yg gak bisa dipakai jd terpaksa gak pakai friendly url. trus sekarang beberapa kali error programnya (prestashop) kadang cart yang tercatat tidak sesuai dengan yang dilihat oleh pengguna, atau pernah juga ongkir jadi gak sesuai dengan yang ada di database.
Title: Re: server down setelah fix-all
Post by: noob on 2015-10-24, 08:40:58
coba servernya di-reboot gan. barusan error juga di httpd, pas di-reboot lancar semua.
Title: Re: server down setelah fix-all
Post by: MRatWork on 2015-10-25, 10:50:28
Dalam banyak kasus, reboot adalah solusi yang paling gampang. Kadangkala, apabila ada update httpd misalnya, proses restart tidak berjalan mulus. Jika httpd, sebelum restart maka lakukan 'pkill -9 httpd'.