MRatWork Forum by Mustafa Ramadhan

Language Specific Discussions => Indonesia Users => Topic started by: ar1246 on 2015-07-02, 11:38:16

Title: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-07-02, 11:38:16
Code: [Select]
[root@property ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015070101
   - Web: hiawatha-9.13.0-f.6.mr.el6.i386
   - PHP: php53s-5.3.29-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: property.arif.awalud.in
C. Services:
   1. MySQL: mysql55-5.5.44-2.ius.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.42-1.ius.el6.i686
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.41-1.ius.el6
        * php55m-5.5.25-1.ius.el6
        * php56m-5.6.9-1.ius.el6
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.29-2.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.13.0-f.6.mr.el6.i386
   6. Nginx: tengine-2.1.0-2.mr.el6.i386
   7. Cache: --uninstalled--
   8. Dns: --uninstalled--
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893        517       1376         27         63        246
   -/+ buffers/cache:        206       1686
   Swap:          255          0        255
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G   12G  6.6G  65% /

Tadi malem saya update kloxo mr
tp, pagi saya cek 1 web katanya ioncube gk ada, padahal sblumnya saya install.
Trus saya install ioncube d php54

tp ternyata ada web lain yang eror.
yg pake joomla 3 erornya:
Code: [Select]
Error displaying the error page: Application Instantiation Error: The MySQL adapter mysqli is not available
yg wordpress tulisannya:
Code: [Select]
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
yg php biasa blank tampilannya

munginkah karena install ioncube d php54?
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-07-02, 11:58:14
Gunakan 'php54m' pada 'php used' di 'webserver configure'.

Jika ingin aktifkan module tertentu (misalnya ioncube) yang semula tidak aktif, pergi ke /opt/php54m/etc/php.d dan copy ioncube-loader.nonini ke ioncube-loader_used.ini dan kemudian 'sh /script/restart-web -y'.

Update untuk phpXYm adalah 'sh /script/phpm-updater'.
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-07-03, 08:09:36
Terima Kasih Banyak Pak MR  :)
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-07, 03:43:28
Pak masalah yg ini muncul lg.
Web sering dowen karena mysql, sp masalah d post 1.
Tp gk bisa select phpbranch
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-07, 04:28:02
Pak masalah yg ini muncul lg.
Web sering dowen karena mysql, sp masalah d post 1.
Tp gk bisa select phpbranch
Ini berarti ada masalah pada proses 'yum'. Coba lakukan lagi 'yum clean all; yum update'.
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-07, 08:37:34
Sya coba sh /script/upcp -y
Trus sya cleanup, ada eror
Sya coba restart-all -y
Erornya sama:
Code: [Select]
[root@property ~]# sh /script/restart-all -y

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping nsd:                                              [  OK  ]
Starting nsd:                                              [  OK  ]
-------------------------------------------------------------------

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
Stopping kloxo-hiawatha: supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
                                                           [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
[root@property ~]# supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist
supervise: fatal: unable to start clamd/run: file does not exist
supervise: fatal: unable to start log/run: file does not exist

Panjaaaang bgt
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-07, 09:59:00
Kalau urusan 'supervise' (dari qmail) biasanya cukup dengan reboot.
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-07, 11:23:49
Sudah sya reboot pak tp masih ttp gk mau
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-07, 12:20:47
Coba lakukan 'mv -r /var/qmail/supervise/clamd/run /var/qmail/supervise/clamd/down'.
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 04:30:53
Coba lakukan 'mv -r /var/qmail/supervise/clamd/run /var/qmail/supervise/clamd/down'.
Pak itu maksudnya -r ato it?
kayanya gk ada -r
Saya coba pake -t
Code: [Select]
[root@property ~]# mv -t /var/qmail/supervise/clamd/run /var/qmail/supervise/clamd/down
mv: accessing `/var/qmail/supervise/clamd/run': No such file or directory
[root@property ~]#
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 05:11:21
Ganti 'r' dengan '-f' (atau '--force').
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 05:36:11
Code: [Select]
[root@property ~]# mv -f /var/qmail/supervise/clamd/run /var/qmail/supervise/clamd/down
mv: cannot stat `/var/qmail/supervise/clamd/run': No such file or directory
[root@property ~]#


sya cek:
Code: [Select]
[root@property ~]# cd /var/qmail/
[root@property qmail]# ls
alias  bin  boot  control  doc  man  queue  rc  spamdyke  supervise  users
[root@property qmail]# cd supervise
[root@property supervise]# ls
authlib  clamd  imap4  imap4-ssl  pop3  pop3-ssl  send  smtp  smtp-ssl  submission
[root@property supervise]# cd clamd
[root@property clamd]# ls
log  supervise
[root@property clamd]#
berarti gk ada "run" y pak?
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 07:26:08
Infokan 'dir -l /var/qmail/supervise/clamd/'
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 09:06:27
Code: [Select]
[root@property clamd]# dir -l /var/qmail/supervise/clamd/
total 8
drwx------ 3 qmaill qmail 4096 Sep  6 18:24 log
drwx------ 2 root   root  4096 Sep  7 23:34 supervise
[root@property clamd]#
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 10:33:19
COba jalankan 'echo "" > /var/qmail/supervise/clamd/down'
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 10:53:30
COba jalankan 'echo "" > /var/qmail/supervise/clamd/down'

Code: [Select]
Last login: Tue Sep  8 00:02:04 2015 from 36.72.25.18
[root@property ~]# echo "" > /var/qmail/supervise/clamd/down
[root@property ~]# echo "" > /var/qmail/supervise/clamd/down
[root@property ~]# dir -l /var/qmail/supervise/clamd/
total 12
-rw-r--r-- 1 root   root     1 Sep  8 01:20 down
drwx------ 3 qmaill qmail 4096 Sep  6 18:24 log
drwx------ 2 root   root  4096 Sep  8 01:20 supervise
[root@property ~]#/code]
Gk ada apa apa pak

Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 12:01:53
semestinya tidak akan muncul error untuk qmail jika jalankan 'sh /script/restart-all -y' (jika perlu di-reboot saja).
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 12:14:22
Tp ini masih eror meski d reboot pak :(
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 12:57:06
Wah lupa. Perlu juga 'echo "" > /var/qmail/supervise/clamd/log/down'
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: ar1246 on 2015-09-08, 13:18:33
Waw
Quote
Last login: Tue Sep  8 02:36:19 2015 from 114.121.159.236
[root@property ~]# echo "" > /var/qmail/supervise/clamd/log/down
[root@property ~]# cd /var/qmail/supervise/clamd/log/
[root@property log]# ls
down  supervise
[root@property log]# sh /script/restart-all -y

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping nsd:                                              [  OK  ]
Starting nsd:                                              [  OK  ]
-------------------------------------------------------------------

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

* kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------7
[root@property log]#

Lancar

Tp sbnrnya in fenomena apa sih pak?
Title: Re: Error displaying the error page: Application Instantiation Error: The MySQL adap
Post by: MRatWork on 2015-09-08, 13:47:56
Ini mungkin karena sebelumnya pakai clamav dan kemudian di-remove.