MRatWork Forum by Mustafa Ramadhan - [HELP] Error Setelah Update 6.5.1.b-2014041802

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:03:54

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [HELP] Error Setelah Update 6.5.1.b-2014041802

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [HELP] Error Setelah Update 6.5.1.b-2014041802 (Read 1660 times)

0 Members and 1 Guest are viewing this topic.

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### [HELP] Error Setelah Update 6.5.1.b-2014041802

« on: 2014-05-11, 04:22:49 »
setalh saya lakukan instruksi sesuai di sini kloxo-mr-releases-and-announcements28update29-please-update-to-6-5-0-f6-5-1-b-to-201405102201405104.html kloxonya malah error Kloxo-MR: error 503 found!
pas menjalankan 'sh: /script/php54s-installer' malah keluar sh: /script/php54s-installer: No such file or directory
sedangkan webnya juga di beberapa halaman juga mengalami 500 internal server error, bisa cek di http://mp3days.com
sudah cleanup, restart-all, reboot tetep aja masih error...
Code: [Select]

    A. Kloxo-MR: 6.5.1.b-2014041802

    B. OS: CentOS release 6.5 (Final) i686

    C. Apps:
       1. MySQL: mysql55-5.5.37-1.ius.el6.i686
       2. PHP: php54-5.4.28-1.ius.el6.i686
       3. Httpd: httpd-2.2.27-1.el6.i686
       4. Lighttpd: --uninstalled--
       5. Hiawatha: hiawatha-9.5-2.mr.el6.i386
       6. Nginx: nginx-1.7.0-1.el6.i686
       7. Cache: --uninstalled--
       8. Dns: bind-9.9.5-1.el6.i686
       9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.i386
          - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.i386

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

    E. Memory:
                    total       used       free     shared    buffers     cached
       Mem:          1006        609        396          0        100        287
       -/+ buffers/cache:        222        784
       Swap:            0          0          0

terimakasih
Logged

#### MRatWork

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

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #1 on: 2014-05-11, 04:37:31 »
Artinya urutannya dibalik. Update dulu baru lakukan php54s-installer.
Php54s-installer hanya diperlukan jika anda pakai mariadb dan bukan mysql.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #2 on: 2014-05-11, 04:50:29 »
Quote from: MRatWork on 2014-05-11, 04:37:31

> Artinya urutannya dibalik. Update dulu baru lakukan php54s-installer.
> Php54s-installer hanya diperlukan jika anda pakai mariadb dan bukan mysql.

maksudnya dibalik gimana?
saya juga clean all dulu baru update...
terus itu masalah kloxo yg Kloxo-MR: error 503 found! akibat apa?
sama halaman mengalami 500 internal server error itu gimana?
soalnya tidak semua halaman mengalami error seperti itu...
Logged

#### MRatWork

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

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #3 on: 2014-05-11, 05:03:16 »
Kan sudah dijelaskan kalau anda pakai php 5.3/5.4 yang -28 akan muncul error itu.
Baca kembali linknya (karena sudah diedit).
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #4 on: 2014-05-11, 05:14:14 »
Quote from: MRatWork on 2014-05-11, 05:03:16

> Kan sudah dijelaskan kalau anda pakai php 5.3/5.4 yang -28 akan muncul error itu.
> Baca kembali linknya (karena sudah diedit).

ok sudah saya baca kembali
tapi belum mengerti maksudnya yang ini harus bagaimana?
"In every php-fpm pool, must exists 'listen.owner', 'listen.group' and 'listen.mode' parameters. Without this parameters, we will see 'error 500' in website and panel."
Logged

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #5 on: 2014-05-11, 05:22:29 »
ini isi dari custom.php53-fpm-pool.conf.tpl
Code: [Select]

    <?php
        $userinfo = posix_getpwnam($user);

        if ($user === 'apache') {
            // MR -- for future purpose, apache user have uid 50000
            $fpmport = 50000;
            $openbasedir = "/home/kloxo/httpd/:/tmp/:/usr/share/pear/:/var/lib/php/session/";
        } else {
            $userinfo = posix_getpwnam($user);
            $fpmport = (50000 + $userinfo['uid']);
            $openbasedir = "/home/$user/:/tmp/:/usr/share/pear/:/var/lib/php/session/:".
    		"/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/";
        }

        if ($user == 'apache') {
            $pool = 'default';
        } else {
            $pool = $user;
        }

       if ($user === 'apache') {
            $startservers = '6';
            $minspareservers = '4';
            $maxspareservers = '6';
            $maxchildren = '8';
        } else {
            $startservers = '10';
            $minspareservers = '6';
            $maxspareservers = '10';
            $maxchildren = '15';
        }
    ?>
    [<?php echo $pool; ?>]
    ;listen = 127.0.0.1:<?php echo $fpmport; ?>

    listen = /home/php-fpm/sock/<?php echo $user; ?>.sock
    listen.backlog = -1
    listen.allowed_clients = 127.0.0.1
    user = <?php echo $user; ?>

    group = <?php echo $user; ?>

    pm = dynamic
    pm.max_children = <?php echo $maxchildren; ?>

    pm.start_servers = <?php echo $startservers; ?>

    pm.min_spare_servers = <?php echo $minspareservers; ?>

    pm.max_spare_servers = <?php echo $maxspareservers; ?>

    pm.max_requests = 1000
    ;pm.status_path = /status
    ;ping.path = /ping
    ;ping.response = pong
    request_terminate_timeout = 120s
    request_slowlog_timeout = 30s
    slowlog = /var/log/php-fpm/slow.log
    rlimit_files = 1024
    rlimit_core = 0
    ;chroot =
    ;chdir = /var/www
    catch_workers_output = yes
    security.limit_extensions = .php .php3 .php4 .php5

    env[HOSTNAME] = $HOSTNAME
    env[PATH] = /usr/local/bin:/usr/bin:/bin
    env[TMP] = /tmp
    env[TMPDIR] = /tmp
    env[TEMP] = /tmp

    ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f webmaster@domain.com
    ;php_flag[display_errors] = off
    php_admin_value[error_log] = /var/log/php-fpm/error.log
    php_admin_value[session.save_path] = /var/lib/php/session
    php_admin_flag[log_errors] = on
    ;php_admin_value[memory_limit] = 64M
    php_admin_value[open_basedir] = <?php echo $openbasedir; ?>

Logged

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #6 on: 2014-05-11, 05:53:16 »
sudah saya tambah
listen.owner = <?php echo $user; ?>
listen.group = <?php echo $user; ?>
listen.mode = 0660
tetep error
malah gk bisa di restar php fpmnya
Logged

#### MRatWork

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

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #7 on: 2014-05-11, 06:00:21 »
Harus diubah 'Listen.mode=0666' dan lakukan 'sh /script/fixphp'.
Untuk masalah anda, update dulu php53s dengan 'php53s-installer' lagi dan kemudian update kloxomr. Ingat versi terakhir adalah 2014051004.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [HELP] Error Setelah Update 6.5.1.b-2014041802

« Reply #8 on: 2014-05-11, 06:22:55 »
wahhh iya ternyata kesalahan saya ada pada versi kloxo, saya kira setelah saya update sudah versi terakhir...
ternyata pas di lihat kok editan reponya berubah sendiri, abis yum replace mratwork-release --replace-with=mratwork-testing
sudah gk ada masalah
termakasih
Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [HELP] Error Setelah Update 6.5.1.b-2014041802

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

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

Page created in 0.043 seconds with 16 queries.

Mirror created by MasterkinG32.CoM