Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
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:
Click Here
Please login or register. 2024-04-29, 00:34:44

Author Topic: DB switch  (Read 5293 times)

0 Members and 1 Guest are viewing this topic.

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
DB switch
« on: 2015-08-25, 14:55:43 »
How I can switch Mysql db to Maria db
Code: [Select]
sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015081601
   - Web: hiawatha-9.14.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.44-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: server1.como.cricket
C. Services:
   1. MySQL: mysql55-5.5.45-1.ius.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.44-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.4-1.el6.ngx.i386
   7. Cache: trafficserver-5.3.0-1.el6.i686
   8. Dns: nsd-4.1.3-1.mr.el6.i386
   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:           512        403        108         28          0        269
   -/+ buffers/cache:        134        377
   Swap:          512         68        443
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       50G  1.6G   49G   4% /

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #1 on: 2015-08-25, 14:56:45 »
Use 'sh /script/mysql-to-mariadb'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: DB switch
« Reply #2 on: 2015-08-25, 15:20:10 »
Thanks,but there are errors with other services.

I tried to switch programs,also stater and restart with no success.     

Code: [Select]
** Restart services - BEGIN ***
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------
Shutting down MySQL... SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------
Stopping php-fpm:                                          [FAILED]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------
Stopping httpd:                                            [FAILED]
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 91 of /etc/httpd/conf.d/~lxcenter.conf: Include directory '/home/apache/conf/defaults' not found
                                                           [FAILED]
-------------------------------------------------------------------


Code: [Select]
sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015081601
   - Web: hiawatha-9.14.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.44-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: server1.como.cricket
C. Services:
   1. MySQL: MariaDB-server-10.0.21-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.44-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   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:           512        474         37          2          0        292
   -/+ buffers/cache:        181        330
   Swap:          512         39        473
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       50G  1.8G   49G   4% /


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #3 on: 2015-08-25, 15:49:56 »
Try 'sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #4 on: 2015-08-25, 15:51:36 »
For httpd (aka apache), try choose 'none' and then back to choose apache (or nginx-proxy) in 'switch programs'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: DB switch
« Reply #5 on: 2015-08-26, 08:57:57 »
Try 'sh /script/cleanup'.
For httpd (aka apache), try choose 'none' and then back to choose apache (or nginx-proxy) in 'switch programs'.
same error
Code: [Select]
*** Restart services - BEGIN ***
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------
Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
-------------------------------------------------------------------
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 91 of /etc/httpd/conf.d/~lxcenter.conf: Include directory '/home/apache/conf/defaults' not found
                                                           [FAILED]
-------------------------------------------------------------------

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #6 on: 2015-08-26, 09:17:32 »
Go to 'webserver configure' and select 'medium' or 'high' in 'apache optimize'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: DB switch
« Reply #7 on: 2015-08-27, 10:10:05 »
Go to 'webserver configure' and select 'medium' or 'high' in 'apache optimize'.
I tried many things 'webserver configure' and ' switch program '

Code: [Select]
*** Restart services - BEGIN ***
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------
Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------
Stopping Djbdns for:
  - axfrdns    [  OK  ]
  - tinydns    [  OK  ]
Starting Djbdns for:
  - axfrdns    [FAILED]
  - tinydns    [FAILED]
-------------------------------------------------------------------
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------
Stopping nginx:                                            [FAILED]
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
                                                           [FAILED]
-------------------------------------------------------------------
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  ]
-------------------------------------------------------------------
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
*** Restart services - END ***

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #8 on: 2015-08-27, 10:42:11 »
Try reboot or 'pkill -9 nginx; sh /script/restart-all -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: DB switch
« Reply #9 on: 2015-08-27, 17:42:51 »
Try reboot or 'pkill -9 nginx; sh /script/restart-all -y'.
I switch to hiawathaproxy and working. but webmail for custom not working 'Server not found'

webmail for admin domain working good' http://webmail.como.cricket/ '

also phpinfo work for admin only.
 
« Last Edit: 2015-08-27, 17:45:45 by hoop »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #10 on: 2015-08-27, 17:51:58 »
What's you mean 'webmail for custom'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hoop

  • Valuable Member
  • *
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: DB switch
« Reply #11 on: 2015-08-27, 18:01:34 »
What's you mean 'webmail for custom'.
Sorry,for customer 'All Clients Under admin'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DB switch
« Reply #12 on: 2015-08-27, 19:06:37 »
No reason for domains under client not work for webmail or cp except something wrong for their dns setting.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.075 seconds with 18 queries.

web stats analysis