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-27, 19:27:15

Author Topic: Can't make it slave  (Read 2570 times)

0 Members and 1 Guest are viewing this topic.

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Can't make it slave
« on: 2016-01-06, 07:07:15 »
Hello,
I just installed kloxo mr 7 in a completely new VPS with centos 6, all good during the installation, but I want to use it as slave to my master server, but when I try to run the command "sh /script/make-slave" I get this error:

Code: [Select]
[root@mysql ~]# sh /script/make-slave
/script/make-slave: line 6: syntax error near unexpected token `else'
/script/make-slave: line 6: `else'

This is my sysinfo:
Code: [Select]
A. Kloxo-MR: 7.0.0.b-2016010501
   - Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: mysql.tegarte.com
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: [unknown]
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829       1084        744          0         37        772
   -/+ buffers/cache:        274       1554
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1       9.8G  2.2G  7.1G  24% /


*** Process Time: 00:00:00:01.1487 (dd:hh:mm:ss:xxxxxx) ***

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Can't make it slave
« Reply #1 on: 2016-01-06, 07:21:30 »
Edit /script/make-slave where change 'if [ "$1" == "reverse" ] ;' to 'if [ "$1" == "reverse" ] ; then'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: Can't make it slave
« Reply #2 on: 2016-01-06, 07:24:33 »
thanks, that fixed.

 


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

Page created in 0.041 seconds with 18 queries.

web stats analysis