MRatWork Forum by Mustafa Ramadhan - httpd mendadak error (gagal 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, 21:00:06

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- httpd mendadak error (gagal restart)

« previous next »

- Print

Pages: [1] 2 3 Go Down

### Author Topic: httpd mendadak error (gagal restart) (Read 7172 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

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

##### httpd mendadak error (gagal restart)

« on: 2016-05-23, 18:37:41 »
barusan saya coba pindah dari nginxproxy ke hiawathaproxy
jadinya malah muncul error seperti ini waktu restart
Code: [Select]

    Stopping httpd:                                            [FAILED]
    Starting httpd: AH00526: Syntax error on line 54 of /opt/configs/apache/conf/domains/hostmikro.com.conf:
    FastCgiExternalServer /home/kloxo/httpd/cp/cp.hostmikro.com.0fake: invalid option: Branch---apache.sock

Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #1 on: 2016-05-23, 19:19:26 »
Perlihatkan saja baris 64 dari file /opt/configs/apache/conf/domains/hostmikro.com.conf
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

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

##### Re: httpd mendadak error (gagal restart)

« Reply #2 on: 2016-05-24, 03:33:53 »
Quote from: MRatWork on 2016-05-23, 19:19:26

> Perlihatkan saja baris 64 dari file /opt/configs/apache/conf/domains/hostmikro.com.conf

ternyata ini pak penyebabnya
FastCGIExternalServer "/home/kloxo/httpd/cp/cp.hostmikro.com.0fake" -socket /opt/configs/php-fpm/sock/--PHP Branch---apache.sock -idle-timeout
dan itu ada di beberapa baris
sayu sudah coba hapus manual, tapi setelah menjalankan 'sh /script/fixweb -y' value '--PHP Branch---apache.sock' ditulis lagi
atau setelah server berjalan beberapa saat (mungkin daemon kloxomr yg menulis'
valuenya ada di beberapa tempat pak
baris 159
Code: [Select]

    <IfModule mod_fastcgi.c>
                            Alias /webmail.hostmikro.com.0fake "/home/kloxo/httpd/webmail/webmail.hostmikro.com.0fake"
                            #FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.hostmikro.com.0fake" -host 127.0.0.1:50000 -idle-timeout 300 -pass-header Authorizati$
                            FastCGIExternalServer "/home/kloxo/httpd/webmail/webmail.hostmikro.com.0fake" -socket /opt/configs/php-fpm/sock/--PHP Branch---apache.sock -

baris 276
Code: [Select]

                    <IfModule mod_fastcgi.c>
                            Alias /hostmikro.com.0fake "/home/username/hostmikro.com/hostmikro.com.0fake"
                            #FastCGIExternalServer "/home/username/hostmikro.com/hostmikro.com.0fake" -host 127.0.0.1:57798 -idle-timeout 300 -pass-header Authorization
                            FastCGIExternalServer "/home/username/hostmikro.com/hostmikro.com.0fake" -socket /opt/configs/php-fpm/sock/--PHP Branch---username.sock

kalo diliat dari template config apache di
/opt/configs/apache/tpl/domains.conf.tpl baris ke 258
Code: [Select]

    FastCGIExternalServer "<?php echo $disablepath; ?>/webmail.<?php echo $domainname; ?>.<?php echo $count; ?>fake" -socket /opt/configs/php-fpm/sock/<?php echo $phpselected; ?>-apache.sock -idle-timeout <?php echo $timeout; ?> -pass-header Authorization

munculnya value '--PHP Branch--' karena dipanggil oleh fungsi '<?php echo $phpselected; ?>'
Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #3 on: 2016-05-24, 04:29:00 »
Yes, akan diperbaiki untuk update selanjutnya. Juga, 'multiple php sudah bisa jalan.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

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

##### Re: httpd mendadak error (gagal restart)

« Reply #4 on: 2016-05-24, 04:42:19 »
Quote from: MRatWork on 2016-05-24, 04:29:00

> Yes, akan diperbaiki untuk update selanjutnya. Juga, 'multiple php sudah bisa jalan.

terus untuk kasus saya ini gimana pak?
website di dalam vps saya bisa dibilang 'mati total' karena apache gak bisa running
dihapus manual pun cuma bertahan sementara sampai kloxomr menulis ulang config file nya
Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #5 on: 2016-05-24, 04:44:37 »
Tunggu sekitar 1 jam dan kemudian lakukan 'yum clean all; yum update -y' dan kemudian 'sh /script/cleanup'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

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

##### Re: httpd mendadak error (gagal restart)

« Reply #6 on: 2016-05-24, 04:59:21 »
Quote from: MRatWork on 2016-05-24, 04:44:37

> Tunggu sekitar 1 jam dan kemudian lakukan 'yum clean all; yum update -y' dan kemudian 'sh /script/cleanup'.

di inject update ya pak?
siap pak, saya tunggu
Logged

#### Hanuar

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

##### Re: httpd mendadak error (gagal restart)

« Reply #7 on: 2016-05-26, 22:46:55 »
Saya pun mengalami seperti ini dan masih lagi Error 500 - Internal Server Error. Saya sudah lakukan semua tip dalam page ini.
Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #8 on: 2016-05-27, 03:47:25 »
Yakin kan versi Kloxo-MR 7 adalah 7.0.0.b-2016052507 atau lebih. JIka perlu lakukan reboot karena update kadangkala gagal untuk menyesuaikan php.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Hanuar

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

##### Re: httpd mendadak error (gagal restart)

« Reply #9 on: 2016-05-29, 07:20:22 »
Installed RPM VErsion: 7.0.0.b-2016052507
Quote

> [root@CentOS-67-64-minimal ~]# yum clean all
> Loaded plugins: fastestmirror, priorities, protectbase, replace
> Cleaning repos: base epel extras mratwork-epel mratwork-google-mod-pagespeed
> : mratwork-ius-archive mratwork-ius-stable mratwork-mariadb-32
> : mratwork-mariadb-64 mratwork-nginx mratwork-nginx-stable
> : mratwork-release-neutral-noarch mratwork-release-version-arch
> : mratwork-varnish-3.0 mratwork-webtatic updates
> Cleaning up Everything
> Cleaning up list of fastest mirrors

Quote

> [root@CentOS-67-64-minimal ~]# yum update -y
> Loaded plugins: fastestmirror, priorities, protectbase, replace
> Setting up Update Process
> Determining fastest mirrors
> epel/metalink | 23 kB 00:00
> mratwork-epel/metalink | 23 kB 00:00
> * base: centosmirror.netcup.net
> * epel: mirrors.n-ix.net
> * extras: centosmirror.netcup.net
> * mratwork-epel: mirrors.n-ix.net
> * mratwork-ius-stable: mirror.amsiohosting.net
> * mratwork-webtatic: uk.repo.webtatic.com
> * updates: centosmirror.netcup.net
> base | 3.7 kB 00:00
> base/primary_db | 4.7 MB 00:00
> epel | 4.3 kB 00:00
> epel/primary_db | 5.8 MB 00:00
> extras | 3.4 kB 00:00
> extras/primary_db | 36 kB 00:00
> mratwork-epel | 4.3 kB 00:00
> mratwork-epel/primary_db | 5.8 MB 00:00
> mratwork-google-mod-pagespeed | 951 B 00:00
> mratwork-google-mod-pagespeed/primary | 3.5 kB 00:00
> mratwork-google-mod-pagespeed 22/22
> mratwork-ius-archive | 2.3 kB 00:00
> mratwork-ius-archive/primary_db | 3.4 MB 00:09
> mratwork-ius-stable | 2.2 kB 00:00
> mratwork-ius-stable/primary_db | 198 kB 00:00
> mratwork-mariadb-32 | 2.9 kB 00:00
> mratwork-mariadb-32/primary_db | 21 kB 00:00
> mratwork-mariadb-64 | 2.9 kB 00:00
> mratwork-mariadb-64/primary_db | 22 kB 00:00
> mratwork-nginx | 2.9 kB 00:00
> mratwork-nginx/primary_db | 32 kB 00:00
> mratwork-nginx-stable | 2.9 kB 00:00
> mratwork-nginx-stable/primary_db | 12 kB 00:00
> mratwork-release-neutral-noarch | 951 B 00:00
> mratwork-release-neutral-noarch/primary | 86 kB 00:00
> mratwork-release-neutral-noarch 287/287
> mratwork-release-version-arch | 951 B 00:00
> mratwork-release-version-arch/primary | 111 kB 00:00
> mratwork-release-version-arch 277/277
> mratwork-varnish-3.0 | 951 B 00:00
> mratwork-varnish-3.0/primary | 9.4 kB 00:00
> mratwork-varnish-3.0 40/40
> mratwork-webtatic | 3.6 kB 00:00
> mratwork-webtatic/primary_db | 137 kB 00:00
> updates | 3.4 kB 00:00
> updates/primary_db | 89 kB 00:00
> 0 packages excluded due to repository protections
> No Packages marked for Update

[root@CentOS-67-64-minimal ~]#sh /script/cleanup
[root@CentOS-67-64-minimal ~]#reboot
Masih Error 500
Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #10 on: 2016-05-29, 08:29:24 »
Infokan 'sh /script/sysinfo'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Hanuar

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

##### Re: httpd mendadak error (gagal restart)

« Reply #11 on: 2016-05-29, 08:58:59 »
Ini hasilnya:
Quote

> cat: /etc/rc.d/init.d/php-fpm: No such file or directory
> *** Please wait...***
> A. Control Panel:
> - Kloxo-MR: 7.0.0.b-2016052507
> - Web: hiawatha-10.2.0-f.6.mr.el6.x86_64
> - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
> B. Plateform:
> - OS: CentOS release 6.8 (Final) x86_64
> - Hostname: CentOS-67-64-minimal
> C. Services:
> 1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
> 2. PHP:
> - Branch: php-cli-5.3.3-47.el6.x86_64
> - Multiple:
> * php53m-5.3.29-1.ius.el6
> * php54m-5.4.45-1.ius.el6
> - Used: --Use PHP Branch--
> 3. Web Used: apache
> - Hiawatha: --unused--
> - Lighttpd: --uninstalled--
> - Nginx: --uninstalled--
> - Httpd: httpd-2.2.31-1.mr.el6.x86_64
> - PHP Type: php-fpm_event
> 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.18.mr.el6.x86_64
> - spam: bogofilter
> D. Memory:
> total used free shared buffers cached
> Mem: 15638 676 14962 2 20 239
> -/+ buffers/cache: 416 15222
> Swap: 8191 0 8191
> E. Disk Space:
> Filesystem Size Used Avail Use% Mounted on
> /dev/md2 1008G 5.0G 952G 1% /
> *** Process Time: 00:00:00:01.1217 (dd:hh:mm:ss:xxxxxx) ***
> * Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
> (importance after Kloxo-MR update)

Logged

#### Hanuar

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

##### Re: httpd mendadak error (gagal restart)

« Reply #12 on: 2016-05-29, 09:35:54 »
Sekali lagi saya run sh /script/sysinfo
Quote

> [root@CentOS-67-64-minimal ~]# sh /script/sysinfo
> A. Control Panel:
> - Kloxo-MR: 7.0.0.b-2016052507
> - Web: hiawatha-10.2.0-f.6.mr.el6.x86_64
> - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
> B. Plateform:
> - OS: CentOS release 6.8 (Final) x86_64
> - Hostname: CentOS-67-64-minimal
> C. Services:
> 1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
> 2. PHP:
> - Branch: php-cli-5.3.3-47.el6.x86_64
> - Multiple:
> * php53m-5.3.29-1.ius.el6
> * php54m-5.4.45-1.ius.el6
> - Used: --Use PHP Branch--
> 3. Web Used: apache
> - Hiawatha: --unused--
> - Lighttpd: --uninstalled--
> - Nginx: --uninstalled--
> - Httpd: httpd-2.2.31-1.mr.el6.x86_64
> - PHP Type: php-fpm_event
> 4. WebCache: none
> - ATS: --uninstalled--
> - Squid: --uninstalled--
> - Varnish: varnish-3.0.7-1.el6.x86_64
> 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.18.mr.el6.x86_64
> - spam: bogofilter
> D. Memory:
> total used free shared buffers cached
> Mem: 15638 808 14829 2 28 353
> -/+ buffers/cache: 427 15211
> Swap: 8191 0 8191
> E. Disk Space:
> Filesystem Size Used Avail Use% Mounted on
> /dev/md2 1008G 5.1G 952G 1% /
> *** Process Time: 00:00:00:01.1444 (dd:hh:mm:ss:xxxxxx) ***
> * Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
> (importance after Kloxo-MR update)

Sekarang saya mau pergi ke bandar ada urusan. Nanti malam lagi saya datang sini.
Logged

#### MRatWork

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

##### Re: httpd mendadak error (gagal restart)

« Reply #13 on: 2016-05-29, 10:25:35 »
Coba 'yum reinstall httpd* mod_* -y; sh /script/fixweb; sh /script/restart-web -y'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Hanuar

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

##### Re: httpd mendadak error (gagal restart)

« Reply #14 on: 2016-05-31, 07:28:35 »
Sudah selesai. Peliknya, Mysql telah uninstalled. Selepas reinstall mysql, kembali pulih.
Logged

- Print

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

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- httpd mendadak error (gagal 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.06 seconds with 18 queries.

Mirror created by MasterkinG32.CoM