Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd July 2009, 23:58
centosarus centosarus is offline
Member
 
Join Date: Apr 2009
Posts: 46
Thanks: 9
Thanked 4 Times in 3 Posts
Default Problems with a multi-server setup

When I create a site on the slave server using the master's web interface, nothing gets created on the slave. There are no directories, no files anywhere on the slave that would show that the slave server was even touched?

I do see however the new site's info in both the master's and the slave's databases.

How is this supposed to work? Are ssh/scp/rlogin/rsh/rcp/rdist/ used during this process? Are there settings/permissions that need to be in place on the servers to allow that communication?

Or do I get this completely wrong?

Thanks for any help.
Reply With Quote
Sponsored Links
  #2  
Old 3rd July 2009, 11:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,561
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

Quote:
How is this supposed to work? Are ssh/scp/rlogin/rsh/rcp/rdist/ used during this process?
No.

Quote:
Are there settings/permissions that need to be in place on the servers to allow that communication?
No. As you see the data in both databases, the mysql permissions are correct. Or have you setup mysql replication between your databases?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd July 2009, 18:07
centosarus centosarus is offline
Member
 
Join Date: Apr 2009
Posts: 46
Thanks: 9
Thanked 4 Times in 3 Posts
Default

No, I haven't setup mysql replication. From the databases standpoint, it all looks good. I was wondering why the sites are not created in the /var/www directory on the slave server. There are no clients directory. There are no sites-enabled directory in the /etc/httpd/conf directory. Since these directories are not being created on the slave server, I was wondering if I needed to setup some sort of firewall rules or directory permissions or anything to allow the master server to create these directories on the slave server.

Isn't everything being initiated from the master's Interface? When we try to create a site on the slave server using the master's interface, how does that work? Shouldn't all the directories I mentioned above be created on the slave server? Am I wrong to think that's the way it works?

Can anyone please explain in a nutshell, how this works?

Thanks.
Reply With Quote
  #4  
Old 4th July 2009, 12:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,561
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

And you are sure that you installed ispconfig 3 on the salve server? The sites-enabled directories were created by the ispconfig installer, if they are not there, then ispconfig is not installed completely on this server.

Quote:
Isn't everything being initiated from the master's Interface?
no. The master interface is not accessing the slave server in any kind.

Quote:
When we try to create a site on the slave server using the master's interface, how does that work?
The slave server checks the master database every minute for noe or updated records, then it will replicate the records to the local database and write the config files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
centosarus (4th July 2009)
  #5  
Old 4th July 2009, 23:26
centosarus centosarus is offline
Member
 
Join Date: Apr 2009
Posts: 46
Thanks: 9
Thanked 4 Times in 3 Posts
Default Solved

Thanks so much.

This is what confused me. I have been reading that the slave server should not run the ISPConfig Web interface, so when I saw the following as I was installing ISPConfig in expert mode:

"Hint: If this server shall run the ispconfig interface, select 'y' in the next option.

Configure Apache Server (y,n) [y]:"

I selected "n", thinking I am not going to run the ISPC interface on the slave. But it should be "y".

Further down the installation, I got:
"Install ISPConfig Web-Interface (y,n) [y]:"
That's where I needed to select "n". So I did that and it's all working beautifully.

Thanks again.
Reply With Quote
  #6  
Old 15th October 2009, 15:19
conx conx is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

---- Please Delete -> Wrong Theard ---

hi,

i got this problem with the salve server too.
I updated the master frist.

Frist error in line 157.
After i saw the post i tried SVN, but i get this Problem:

Notice: Uninitialized string offset: 0 in /tmp/trunk/install/update.php on line 208

Fatal error: Cannot use string offset as an array in /tmp/trunk/install/update.php on line 208



Sorry i posted in the wrong theard. This theard make more sense: http://www.howtoforge.com/forums/showthread.php?t=40038

Last edited by conx; 16th October 2009 at 10:18.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Going to setup a small company server... but how? LINUXstarter Server Operation 13 23rd December 2007 18:33
DNS server problems sulfuric Installation/Configuration 1 8th October 2007 17:17
Proper Environment Setup fishtenors Installation/Configuration 1 28th September 2007 18:09


All times are GMT +2. The time now is 09:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.