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. 2017-11-08, 01:52:07

Author Topic: problem while adding a slave server  (Read 642 times)

0 Members and 1 Guest are viewing this topic.

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
problem while adding a slave server
« on: 2015-10-14, 13:37:26 »
Hello, MR
I really like Kloxo-MR thanks a lot for this <3
Today, I installed kloxo-mr 7 as slave,
Installed as MASTER then changed to slave by running this 'sh /script/make-slave' I got an error : "/script/make-slave: line 4: /script/restart: Permission denied
"
So, I run 'sh /script/restart' and it works !
On the MASTER server I tried to add the slave but it says ' Could not Connect to the server 167.160.***.***. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 777* '.
I run this in the slave ' telnet slave-id 777*'
The result "[root@server script]# telnet slave-id 777*
Trying 162.***.**1.2**...
telnet: connect to address 162.***.**1.2**: Connection timed out".
Any help?
Thanks in advance.

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: problem while adding a slave server
« Reply #1 on: 2015-10-14, 13:47:56 »
I forgot to say that iam using a custom ports " 2020 for non-ssl,2021 for ssl' .
http://oldwiki.lxcenter.org/How+to+secure+your+Kloxo+with+IPTABLES
« Last Edit: 2015-10-14, 13:49:36 by medo.mine1 »

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: problem while adding a slave server
« Reply #2 on: 2015-10-14, 14:40:00 »
I got it fixed!
I added a new rule to the firewall configuration
'
# Slave
iptables -t filter -A INPUT -p tcp --dport 7779:7781  -j ACCEPT
iptables -t filter -A OUTPUT -p tcp --dport 7779:7781 -j ACCEPT'
hope it helps.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.044 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM