MRatWork Forum by Mustafa Ramadhan - (ASK) httpd failed 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, 19:40:24

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- (ASK) httpd failed restart

« previous next »

- Print

Pages: [1] 2 Go Down

### Author Topic: (ASK) httpd failed restart (Read 4384 times)

0 Members and 1 Guest are viewing this topic.

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### (ASK) httpd failed restart

« on: 2013-09-01, 22:03:03 »
Quote

> web : nginproxy
> dns : bind
> Php Branch : php53u
> php type : php-fpm_event
> mysql convert : myisam

Quote

> [root@mail ~]# sh /script/restart-all
> Stopping named: . [ OK ]
> Starting named: [ OK ]
> Stopping httpd: [FAILED]
> Starting httpd: [FAILED]
> Stopping nginx:. [ OK ]
> Starting nginx: [ OK ]
> Stopping php-fpm: [FAILED]
> Starting php-fpm: [01-Sep-2013 19:45:37] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
> [01-Sep-2013 19:45:37] ERROR: FPM initialization failed
> [FAILED]
> Restarting qmail:
> * Stopping qmail-smtpd.
> * Sending qmail-send SIGTERM and restarting.
> * Restarting qmail-smtpd.
> Stopping xinetd: [ OK ]
> Starting xinetd: [ OK ]
> Stopping mysqld: [ OK ]
> Starting mysqld: [ OK ]
> Stopping kloxo-phpcgi: [ OK ]
> Starting kloxo-phpcgi: [ OK ]
> Stopping kloxo-hiawatha: [ OK ]
> Starting kloxo-hiawatha: [ OK ]
> [root@mail ~]#

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #1 on: 2013-09-02, 03:19:04 »
Coba jalankan:
Code: [Select]

    sh /script/fix-all
    sh /script/restart-all

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #2 on: 2013-09-02, 06:09:23 »
Quote

> sh /script/fix-all

ada pesan ini
Quote

> Horde webmail no exists
> Preparing RoundCube database
> - Mysql root password incorrect

Quote

> [root@mail ~]# sh /script/restart-all
> Stopping named: . [ OK ]
> Starting named: [ OK ]
> Stopping httpd: [FAILED]
> Starting httpd: [FAILED]
> Stopping nginx:. [ OK ]
> Starting nginx: [ OK ]
> Stopping php-fpm: [ OK ]
> Starting php-fpm: [ OK ]
> Restarting qmail:
> * Stopping qmail-smtpd.
> * Sending qmail-send SIGTERM and restarting.
> * Restarting qmail-smtpd.
> Stopping xinetd: [ OK ]
> Starting xinetd: [ OK ]
> Stopping mysqld: [ OK ]
> Starting mysqld: [ OK ]
> Stopping kloxo-phpcgi: [ OK ]
> Starting kloxo-phpcgi: [ OK ]
> Stopping kloxo-hiawatha: [ OK ]
> Starting kloxo-hiawatha: [ OK ]
> [root@mail ~]#

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #3 on: 2013-09-02, 07:52:50 »
sudah dicoba switch program beberapa kali lighttpd <-> nginxproxy tapi belum berhasil
Quote

> [root@mail ~]# httpd -t
> Syntax OK
> [root@mail ~]# service httpd status
> httpd is stopped
> [root@mail ~]# chkconfig --list httpd
> httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> [root@mail ~]# ls /var/log/httpd/
> access_log access_log.2 access_log.4 error_log.1 error_log.3 fastcgi
> access_log.1 access_log.3 error_log error_log.2 error_log.4

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #4 on: 2013-09-02, 17:01:32 »
Untuk masalah mysql root password coba lakukan penggantian password dari panel pada 'mysql password reset'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #5 on: 2013-09-02, 21:01:24 »
mysql root password beres
namun, httpd masih failed restart.
saya sudah coba beberapa kali
Code: [Select]

    sh /script/cleanup
    sh /script/fix-all
    sh /script/restart-all

Code: [Select]

    sh /script/fixweb; sh /script/fixdns ; sh /script/fixmail

gonta ganti nginxproxy ke lighttpd dan akhirnya kembali lagi ke nginxproxy
gonta ganti php-fpm_event ke suphp dan akhirnya kembali lagi ke php-fpm_event
setelah itu
Code: [Select]

    Fix All 'ownership' And 'permissions'

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #6 on: 2013-09-02, 21:09:48 »
Kelihatannya ada yang berubah di httpd sendiri sehingga config bawaan Kloxo-MR bermasalah.
Coba jalan 'sh /script/fixweb; sh /script/restart-web'. Atau coba reboot.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #7 on: 2013-09-02, 21:34:56 »
Quote from: "MRatWork"

> Kelihatannya ada yang berubah di httpd sendiri sehingga config bawaan Kloxo-MR bermasalah.
> Coba jalan 'sh /script/fixweb; sh /script/restart-web'. Atau coba reboot.

ada pesan
Quote

> sh: /script/restart-web: No such file or directory

sudah reboot, httpd masih belum mau juga
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #8 on: 2013-09-02, 21:37:36 »
Jika file /script/restart-web tidak ada rasanya anda pakai versi lama. Perlu update Kloxo-MR nya.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #9 on: 2013-09-03, 14:09:27 »
sudah saya update
Code: [Select]

    [root@mail ~]# sh /script/sysinfo

    A. Kloxo-MR: 6.5.0.f-2013090201

    B. OS: CentOS release 5.9 (Final) i686

    C. Apps:
       1. MySQL: mysql-5.0.95-5.el5_9
       2. PHP: php53u-5.3.27-1.ius.el5
       3. Httpd: httpd-2.2.25-1.el5
       4. Lighttpd: --uninstalled--
       5. Nginx: nginx-1.5.4-1.el5
       6. Qmail: qmail-toaster-1.03-1.3.27.mr.el5
          - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
       7. Dns: bind-9.9.3-5.P2.el5

    D. Php-type (for Httpd/proxy): php-fpm_event

    E. Memory:
                    total       used       free     shared    buffers     cached
       Mem:           512        494         17          0          0        175
       -/+ buffers/cache:        318        193

setelah itu
Code: [Select]

    sh /script/cleanup
    sh /script/fix-all
    sh /script/restart-all

dan saya switch beberapa kali antara nginxproxy dan lighttpd,
begitu juga saya rubah beberapa kali php branch, php type lalu Fix All 'ownership' And 'permissions'
Hasil seperti ini
Code: [Select]

    [root@mail ~]# sh /script/restart-all
    Stopping named: .                                          [  OK  ]
    Starting named:                                            [  OK  ]
    Stopping httpd:                                            [FAILED]
    Starting httpd:                                            [FAILED]
    Stopping nginx:.                                           [  OK  ]
    Starting nginx:                                            [  OK  ]
    Stopping php-fpm:                                          [FAILED]
    Starting php-fpm: [03-Sep-2013 12:08:18] ERROR: An another FPM instance seems to already listen on /home/php-fpm/sock/apache.sock
    [03-Sep-2013 12:08:18] ERROR: FPM initialization failed
                                                               [FAILED]
    Stopping qmail-toaster: svscan qmail logging.
    qmail-send: no process killed
    Starting qmail-toaster: svscan.
    Stopping xinetd:                                           [  OK  ]
    Starting xinetd:                                           [  OK  ]
    Stopping mysqld:                                           [  OK  ]
    Starting mysqld:                                           [  OK  ]
    Stopping kloxo-phpcgi:                                     [  OK  ]
    Starting kloxo-phpcgi:                                     [  OK  ]
    Stopping kloxo-hiawatha:                                   [  OK  ]
    Starting kloxo-hiawatha:                                   [  OK  ]
    [root@mail ~]#

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #10 on: 2013-09-03, 14:17:30 »
Php-fpm gagal start karena ada php-fpm lama yang ngeyel. Coba saja reboot.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #11 on: 2013-09-03, 14:21:49 »
Quote from: "MRatWork"

> Php-fpm gagal start karena ada php-fpm lama yang ngeyel. Coba saja reboot.

iya pak, setelah reboot php-fpm dah mau OK.
httpd yang masih belum, tetep ngeyel :lol:
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #12 on: 2013-09-03, 14:41:28 »
Coba lihat di /home/apache/conf/domains apa file-file yang ada sudah sesuai dengan website yang dimiliki?.
Sekali lagi, coba 'sh /script/fixweb; sh /script/restart-services'.
Oh ya, jangan-jangan ada conflict ketika jalankan yum. Coba jalankan 'yum clean all; yum update'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### arwa99

- Junior Member
- Posts: 40
- Karma: +0/-0

##### Re: (ASK) httpd failed restart

« Reply #13 on: 2013-09-03, 15:04:36 »
Quote

> /home/apache/conf/domains

sudah sama pak,
isinya seperti ini ya?
namadomainsaya1.com.conf
namadomainsaya2.com.conf
Code: [Select]

    sh /script/fixweb; sh /script/restart-services
    yum clean all; yum update

saya ulangi
Code: [Select]

    sh /script/cleanup
    sh /script/fix-all
    sh /script/restart-all
    reboot

hasilnya httpd masih FAILED :lol:
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### MRatWork

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

##### Re: (ASK) httpd failed restart

« Reply #14 on: 2013-09-03, 15:13:44 »
Informasikan:
Code: [Select]

    ls -l /home/apache/conf/defaults
    ls -l /home/apache/conf/domains
    ls -l /home/apache/tpl
    ls -l /etc/httpd/conf
    ls -l /etc/httpd/conf.d
    sh /script/sysinfo

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] 2 Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- (ASK) httpd failed 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.05 seconds with 18 queries.

Mirror created by MasterkinG32.CoM