MRatWork Forum by Mustafa Ramadhan - httpd tidak mau jalan

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, 17:28:50

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- httpd tidak mau jalan

« previous next »

- Print

Pages: [1] 2 Go Down

### Author Topic: httpd tidak mau jalan (Read 920 times)

0 Members and 2 Guests are viewing this topic.

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### httpd tidak mau jalan

« on: 2017-03-17, 17:28:46 »
malam, saya mau menanyakan perihal httpd yang tidak mau jalan.
Code: [Select]

    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/define.conf: Cannot load /etc/httpd/modules/mod_define.so into server: /etc/httpd/modules/mod_define.so: cannot open shared object file: No such file or directory
                                                               [FAILED]

Hasil sh /script/sysinfo
Code: [Select]

    A. Control Panel:
       - Kloxo-MR: 7.0.0.c-2017031601
       - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
       - PHP: php54s-5.4.45-1.ius.centos6 (fpm mode)
    B. Plateform:
       - OS: CentOS release 6.8 (Final) x86_64
       - Hostname: server.1ori.com
    C. Services:
       1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
       2. PHP:
          - Installed:
            - Branch: php54-cli-5.4.45-1.ius.centos6.x86_64
            - Multiple:
              * php52m-5.2.17-102.mr.el6
              * php53m-5.3.29-1.ius.centos6
              * php54m-5.4.45-1.ius.centos6
              * php55m-5.5.38-1.ius.centos6
              * php56m-5.6.30-1.ius.el6
              * php70m-7.0.16-1.ius.el6
              * php71m-7.1.2-1.ius.el6
          - Used: php54m-fpm
          - Multiple: disable
       3. Web Used: nginx
         - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
         - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
         - Nginx: nginx-1.11.10-1.el6.ngx.x86_64
         - Apache: httpd-2.2.31-1.mr.el6.x86_64
           - PHP Type: php-fpm_event
           - Secondary PHP: off
       4. WebCache: none
         - ATS: --uninstalled--
         - Squid: --uninstalled--
         - Varnish: --uninstalled--
       5. Dns: bind
         - Bind: bind-9.9.7-1.mr.el6.x86_64
         - DJBDns: --uninstalled--
         - NSD: --uninstalled--
         - PowerDNS: --uninstalled--
         - Yadifa: --uninstalled--
       6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
          - pop3/imap4: none
          - smtp: none
          - spam: bogofilter-1.2.4-1.el6.x86_64
       7. Stats: awstats
    D. Memory:
                 total       used       free     shared    buffers     cached
    Mem:       8388607       3720    8384887         56          0       1342
    -/+ buffers/cache:       2378    8386229
    Swap:            0          0          0
    E. Disk Space:
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/simfs       20G  4.0G   17G  20% /

    *** Process Time: 00:00:00:15.15748 (dd:hh:mm:ss:xxxxxx) ***

    * Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
            (importance after Kloxo-MR update)

Kira-kira kenapa ya? Thank you
Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #1 on: 2017-03-17, 17:59:53 »
Jalankan 'sh /script/cleanup'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #2 on: 2017-03-17, 18:09:45 »
sudah pak MR, tapi masih sama errornya
Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #3 on: 2017-03-17, 18:51:17 »
Masalahnya, keterangan dari sysinfo menunjukkan anda pakai nginx. Sedangkan error anda adalah httpd. Jika benar pakai nginx, lakukan 'chkconfig httpd off; sh /script/restart-web'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #4 on: 2017-03-17, 20:22:20 »
saya sudah reinstall kloxo mrnya pak, saat coba start httpd start malah dapet gini.
Code: [Select]

    [root@server ~]# service httpd start
    Starting httpd: no listening sockets available, shutting down
    AH00015: Unable to open logs
                                                               [FAILED]

Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #5 on: 2017-03-17, 20:24:13 »
Ulangi petunjuk-petunjuk diatas.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #6 on: 2017-03-17, 20:39:32 »
sudah pak MR. hasilnya masih tetap tidak bisa.
Code: [Select]

    [root@server ~]# service httpd start
    Starting httpd: Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
    Invalid command 'ErrorLogFormat', perhaps misspelled or defined by a module not included in the server configuration
                                                               [FAILED]
    [root@server ~]# chkconfig httpd off; sh /script/restart-web

    Stopping php54m-fpm (PHP Used):                            [  OK  ]
    Starting php54m-fpm (PHP Used):                            [  OK  ]
    -------------------------------------------------------------------

    Stopping php52m-fpm (Multiple Php):                        [  OK  ]
    Starting php52m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php53m-fpm (Multiple Php):                        [  OK  ]
    Starting php53m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php54m-fpm (Multiple Php):                        [  OK  ]
    Starting php54m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php55m-fpm (Multiple Php):                        [  OK  ]
    Starting php55m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php56m-fpm (Multiple Php):                        [  OK  ]
    Starting php56m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php70m-fpm (Multiple Php):                        [  OK  ]
    Starting php70m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php71m-fpm (Multiple Php):                        [  OK  ]
    Starting php71m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    - For help, type '/script/restart-web [--help|-h]'
    [root@server ~]# ^C
    [root@server ~]# chkconfig httpd off
    [root@server ~]# chkconfig httpd on
    [root@server ~]# chkconfig httpd off
    [root@server ~]#
    [root@server ~]# sh /script/restart-web

    Stopping php54m-fpm (PHP Used):                            [  OK  ]
    Starting php54m-fpm (PHP Used):                            [  OK  ]
    -------------------------------------------------------------------

    Stopping php52m-fpm (Multiple Php):                        [  OK  ]
    Starting php52m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php53m-fpm (Multiple Php):                        [  OK  ]
    Starting php53m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php54m-fpm (Multiple Php):                        [  OK  ]
    Starting php54m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php55m-fpm (Multiple Php):                        [  OK  ]
    Starting php55m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php56m-fpm (Multiple Php):                        [  OK  ]
    Starting php56m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php70m-fpm (Multiple Php):                        [  OK  ]
    Starting php70m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    Stopping php71m-fpm (Multiple Php):                        [  OK  ]
    Starting php71m-fpm (Multiple Php):                        [  OK  ]
    -------------------------------------------------------------------

    - For help, type '/script/restart-web [--help|-h]'
    [root@server ~]# service httpd start
    Starting httpd: Syntax error on line 43 of /etc/httpd/conf/httpd.conf:
    Invalid command 'ErrorLogFormat', perhaps misspelled or defined by a module not included in the server configuration
                                                               [FAILED]
    [root@server ~]#

Btw, berikut hasil sh /script/sysinfo
Code: [Select]

    A. Control Panel:
       - Kloxo-MR: 7.0.0.c-2017031601
       - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
       - PHP: php56s-5.6.30-1.ius.centos6 (fpm mode)
    B. Plateform:
       - OS: CentOS release 6.8 (Final) x86_64
       - Hostname: server.1ori.com
    C. Services:
       1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
       2. PHP:
          - Installed:
            - Branch: php54-cli-5.4.45-1.ius.centos6.x86_64
            - Multiple:
              * php52m-5.2.17-102.mr.el6
              * php53m-5.3.29-1.ius.centos6
              * php54m-5.4.45-1.ius.centos6
              * php55m-5.5.38-1.ius.centos6
              * php56m-5.6.30-1.ius.centos6
              * php70m-7.0.16-1.ius.centos6
              * php71m-7.1.2-1.ius.centos6
          - Used: php54m-fpm
          - Multiple: disable
       3. Web Used: apache
         - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
         - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
         - Nginx: nginx-1.11.10-1.el6.ngx.x86_64
         - Apache: httpd-2.2.31-1.mr.el6.x86_64
           - PHP Type: php-fpm_event
           - Secondary PHP: off
       4. WebCache: none
         - ATS: --uninstalled--
         - Squid: --uninstalled--
         - Varnish: --uninstalled--
       5. Dns: bind
         - Bind: bind-9.9.7-1.mr.el6.x86_64
         - DJBDns: --uninstalled--
         - NSD: --uninstalled--
         - PowerDNS: --uninstalled--
         - Yadifa: --uninstalled--
       6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
          - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
          - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
          - spam: bogofilter-1.2.4-1.el6.x86_64
       7. Stats: awstats
    D. Memory:
                 total       used       free     shared    buffers     cached
    Mem:       8388607       3092    8385515          2          0       2822
    -/+ buffers/cache:        270    8388337
    Swap:            0          0          0
    E. Disk Space:
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/simfs       20G  3.3G   17G  17% /

    *** Process Time: 00:00:00:15.15121 (dd:hh:mm:ss:xxxxxx) ***

    * Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
            (importance after Kloxo-MR update)

« Last Edit: 2017-03-17, 20:41:39 by flameblue59 »
Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #7 on: 2017-03-17, 20:57:04 »
Anda tidak perlu jalankan 'chkconfig httpd off' jika memang pilihan adalah apache (terlihat di 'sysinfo').
Coba jalankan 'sh /script/cleanup; sh /script/fixweb; sh /script/restart-web'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #8 on: 2017-03-18, 03:43:47 »
Sudah bisa pak MR
Logged

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #9 on: 2017-03-19, 15:32:56 »
pak, ini httpd saya tidak mau jalan lagi. Status saya pakai nginxproxy. Sudah lakukan
sh /script/cleanup; sh /script/fixweb; sh /script/restart-web
hasilnya
Code: [Select]

    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 131 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory
                                                               [FAILED]

kemudian juga saya reboot. Tapi masih ga mau, apa ada solusi pak?
« Last Edit: 2017-03-19, 15:39:42 by flameblue59 »
Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #10 on: 2017-03-19, 15:55:07 »
Infokan 'yum list installed httpd* mod*'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #11 on: 2017-03-19, 15:57:41 »
Quote from: MRatWork on 2017-03-19, 15:55:07

> Infokan 'yum list installed httpd* mod*'.

ini pak
Code: [Select]

    [root@server ~]# yum list installed httpd* mod*
    Loaded plugins: fastestmirror, presto, priorities, protectbase, replace
    Loading mirror speeds from cached hostfile
     * base: centos.firehosted.com
     * extras: bay.uchicago.edu
     * mratwork-epel: kdeforge2.unl.edu
     * mratwork-ius-archive: dfw.mirror.rackspace.com
     * mratwork-ius-stable: dfw.mirror.rackspace.com
     * mratwork-release-neutral-noarch: rpms.mustafa.id
     * mratwork-release-version-arch: rpms.mustafa.id
     * mratwork-webtatic: us-east.repo.webtatic.com
     * updates: repo.us.bigstepcloud.com
    0 packages excluded due to repository protections
    Installed Packages
    httpd-tools.x86_64         2.2.31-1.mr.el6        @mratwork-release-version-arch
    httpd24u.x86_64            2.4.25-3.ius.centos6   @mratwork-ius-stable
    mod_ssl.x86_64             1:2.2.31-1.mr.el6      installed
    module-init-tools.x86_64   3.9-25.el6             installed
    [root@server ~]#

Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #12 on: 2017-03-19, 16:00:21 »
Lakukan 'yum clean all; yum update -y; yum reinstall kloxomr7 -y; yum remove httpd-tools -y; sh /script/cleanup'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### flameblue59

- Senior Member
- Posts: 172
- Karma: +0/-0

##### Re: httpd tidak mau jalan

« Reply #13 on: 2017-03-19, 16:11:11 »
Quote from: MRatWork on 2017-03-19, 16:00:21

> Lakukan 'yum clean all; yum update -y; yum reinstall kloxomr7 -y; yum remove httpd-tools -y; sh /script/cleanup'.

sudah pak, tapi saat coba restart httpd masih seperti ini
Code: [Select]

    [root@server ~]# service httpd restart
    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 131 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory
                                                               [FAILED]

Logged

#### MRatWork

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

##### Re: httpd tidak mau jalan

« Reply #14 on: 2017-03-19, 16:53:54 »
Lakukan:
Code: [Select]

    yum remove httpd-* mod_* -y
    yum install -y httpd24u httpd24u-tools httpd24u-filesystem httpd24u-mod_security2
    yum install -y mod24u_ssl mod24u_session mod24u_suphp mod24u_ruid2
    yum install -y mod24u_fcgid mod24u_fastcgi mod24u_evasive
    cat '' > /usr/local/lxlabs/kloxo/etc/flag/use_apache24.flg
    sh /script/cleanup

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 »
- httpd tidak mau jalan

Top 4 Global Search Engines: Google Bing Baidu Yahoo

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

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

Page created in 0.041 seconds with 17 queries.

Mirror created by MasterkinG32.CoM