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-24, 13:49:40

Author Topic: Slave scripts  (Read 2537 times)

0 Members and 1 Guest are viewing this topic.

Offline mvillanueva

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Slave scripts
« on: 2014-06-16, 10:38:39 »
Hi all.

After my personal server apocalypse, I am working now in trying to get my slave(s) to work with scripts.

Anyway, anytime I want to run /script/fix-chownchmod or /mysql-convert for my slave(s),
a) if in Master, there's no way to run this on slaves.
b) if in Slave, got "This is a Slave Server. Operate it at the Master server." error.

Sysinfo any of my slaves:
Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014051901

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-4.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
   7. Dns: djbdns-1.05-17.3.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        419         92          0          0         45
   -/+ buffers/cache:        373        138
   Swap:            0          0          0

And for Master:

Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014051901

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-4.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64
   7. Dns: bind-9.8.2-0.23.rc1.el6_5.1.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        448         63          0          0        131
   -/+ buffers/cache:        317        194
   Swap:            0          0          0

Thank you guys!

Edit:
Fixed by: /script/fix-all; /script/fix-services-list; /script/cleanup
« Last Edit: 2014-06-16, 10:48:48 by mvillanueva »

 


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

Page created in 0.032 seconds with 18 queries.

web stats analysis