MRatWork Forum by Mustafa Ramadhan - httpd tidak bisa restart

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 23:43:02

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- httpd tidak bisa restart

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: httpd tidak bisa restart (Read 984 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### 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?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### 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'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### 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
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### 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'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- httpd tidak bisa restart

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

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.045 seconds with 17 queries.

Mirror created by MasterkinG32.CoM