MRatWork Forum by Mustafa Ramadhan - Error establishing a database connection Berulang-ulang

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:32:21

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Error establishing a database connection Berulang-ulang

« previous next »

- Print

Pages: [1] 2 Go Down

### Author Topic: Error establishing a database connection Berulang-ulang (Read 2329 times)

0 Members and 1 Guest are viewing this topic.

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Error establishing a database connection Berulang-ulang

« on: 2016-04-07, 10:03:30 »
tidak bisa login ke panel
tidak bisa login dan domain tidak bisa di akses
bisa diatasi dgn 'sh /script/restart-all -y' or 'reboot'
tapi permasalahannya sering terjadi hal tersebut
kadang baru jg beberapa menit terjadi lg "Error establishing a database connection"
mohon petunjuk untuk solusinya
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #1 on: 2016-04-07, 10:15:30 »
Coba uji dengan menjalankan 'top' dan 'iotop' (perlu install dengan 'yum install iotop'). Masing-masing 'top' dan 'iotop' dijalankan melalui terminal ssh sendiri-sendiri.
Perhatikan bagian mana yang 'memberatkan'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #2 on: 2016-04-07, 10:34:16 »
saya tdk tahu / blm mengerti bagian mana yg memberatkan
ini pak hasil 'top' nya
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #3 on: 2016-04-07, 11:29:04 »
Pemakaian CPU cukup tinggi pada proses php. Bisa jadi anda belum/tidak menginstall cache module untuk php dan juga aplikasi tanpa plugins untuk cache.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #4 on: 2016-04-07, 12:09:52 »
gimana pak install cache module untuk php?
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #5 on: 2016-04-07, 13:05:35 »
Infokan dulu 'sh /script/sysinfo'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #6 on: 2016-04-07, 14:46:12 »
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #7 on: 2016-04-07, 15:10:56 »
Coba 'yum install php53u-pecl-apc mod-pagespeed-stable -y'
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #8 on: 2016-04-07, 15:30:56 »
Quote from: MRatWork on 2016-04-07, 15:10:56

> Coba 'yum install php53u-pecl-apc mod-pagespeed-stable -y'

Ok terimakasih pak.....saya coba dulu
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #9 on: 2016-04-07, 15:43:15 »
Jangan lupa direstart dengan 'sh /script/restart-web' setelah install.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #10 on: 2016-04-08, 17:48:00 »
Quote from: MRatWork on 2016-04-07, 15:43:15

> Jangan lupa direstart dengan 'sh /script/restart-web' setelah install.

Masih aja ada "Error establishing a database connection" pak, meski tak sesering kemarin
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #11 on: 2016-04-08, 18:00:49 »
Apa sudah dipilih 'optimize' untuk 'apache optimize' di 'webserver config'?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #12 on: 2016-04-08, 20:55:25 »
Quote from: MRatWork on 2016-04-08, 18:00:49

> Apa sudah dipilih 'optimize' untuk 'apache optimize' di 'webserver config'?.

Tidak ada fitur itu pak di 'webserver config'
Logged

#### MRatWork

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

##### Re: Error establishing a database connection Berulang-ulang

« Reply #13 on: 2016-04-08, 21:04:53 »
Bukankah anda pakai nginx-proxy (yang artinya nginx + apache)?. Semestinya ada 'apache optimize (begitu juga 'php type' tentunya yang hanya ada jika anda pilih apache atau lighttpd-/nginx-proxy).
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### hamzun

- Valuable Member
- Posts: 56
- Karma: +0/-0

##### Re: Error establishing a database connection Berulang-ulang

« Reply #14 on: 2016-04-08, 21:40:15 »
Quote from: MRatWork on 2016-04-08, 21:04:53

> Bukankah anda pakai nginx-proxy (yang artinya nginx + apache)?. Semestinya ada 'apache optimize (begitu juga 'php type' tentunya yang hanya ada jika anda pilih apache atau lighttpd-/nginx-proxy).

Tidak pak....Saya cuma pake "nginx"
apa hrus/lebih baik ganti "nginx-proxy"?
Logged

- Print

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

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Error establishing a database connection Berulang-ulang

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

..:: Monetize Your Website with ylliXmedia ::.. ..:: Online Advertising that Sale Anything with ylliXmedia ::..

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

Page created in 0.051 seconds with 17 queries.

Mirror created by MasterkinG32.CoM