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-19, 03:01:41

Author Topic: httpd tidak bisa restart  (Read 2203 times)

0 Members and 1 Guest are viewing this topic.

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
httpd tidak bisa restart
« on: 2015-06-28, 09:18:51 »
saya pake nginxproxy di kloxomr
tiba2 aja error 504 gateway timeout

waktu run 'sh /script/restart-web'
muncul error begini pak

Code: [Select]
[root@node-sg1 script]# sh restart-web

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

*** Process for NGINX service ***
Starting nginx:                                            [  OK  ]
  - Process: reload
Reloading nginx:                                           [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
  - Process with 'apachectl': graceful
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
No message for graceful
-------------------------------------------------------------------

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

sysinfo
Code: [Select]
[root@node-sg1 script]# sh sysinfo

A. Kloxo-MR: 7.0.0.b-2015062501
   - Web:
   - PHP: php54s-5.4.41-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: node-sg1.satriyowibowo.my.id
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.41-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.29-2.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --uninstalled--
   6. Nginx: nginx-1.9.2-1.el6.ngx.i386
   7. Cache: --uninstalled--
   8. Dns: djbdns-1.05-17.4.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           498        450         48          0         49        215
   -/+ buffers/cache:        185        313
   Swap:         1023         14       1009
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G  3.4G   16G  18% /

[root@node-sg1 script]#
padahal dari kemarin jalan normal ga ada masalah
sudah jalankan 'sh /script/cleanup' dan 'sh /script/fix-all' juga masih muncul error yg sama pak

oia pak, kalo nginxproxy itu defaultnya pake apache 2.2 ya?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd tidak bisa restart
« Reply #1 on: 2015-06-28, 09:36:47 »
Tidak ada masalah proxy pakai apache 2.4. Masalahnya kadangkala tidak normal ketika direstart.

Coba lakukan 'yum reinstall httpd24u* mod24u_* -y; pkill -9 httpd; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: httpd tidak bisa restart
« Reply #2 on: 2015-06-28, 09:49:42 »
sudah pak
bisa jalan normal lagi

itu tadi bisa seperti itu kenapa ya pak?
mendadak error

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd tidak bisa restart
« Reply #3 on: 2015-06-28, 11:55:24 »
Mungkin masih ada bug dari rpm untuk httpd24u sehingga perlu dilakukan 'yum reinstall'. Kadangkala proses restart gagal sehingga service perlu 'dibunuh' memakai 'pkill -9'.
..:: 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.037 seconds with 21 queries.

web stats analysis