
27th July 2009, 11:05
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ispconfig3 web / mysql on different servers does not work
Hi there,
I have an installation of ispconfig 3.0.1.3 on two Ubuntu Jaunty servers, one of them for web, mail, ftp and everything and the second one only for mysql. On the web server I installed ispconfig 3.0.1.3 and defined both servers in the configuration. Both servers are displayed correctly. If I open a ssh shell to the web server, I can connect to the mysql server from there by using the root account with a password.
But if I define a new database within ispconfig, it doesn't show up on the mysql server. It just happens nothing. By using tcpdump, I found out that the web servers doesn't even try to connect to the mysql-server. The newly defined database is shown in ispconfig, but that's it. (It also does not show up on the local web server mysql database, jut for clarification)
How to track down the problem, any hint would be fine. I'm not sure if I made a mistake and if so, how to find out which mistake.
Marco
|

27th July 2009, 11:12
|
|
Senior Member
|
|
Join Date: Sep 2008
Location: The Netherlands
Posts: 911
Thanks: 12
Thanked 95 Times in 92 Posts
|
|
Are the newly created databases created on the server itself instead of the other server?
or are they nowhere to be found?
|

27th July 2009, 11:13
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
they are nowhere. I checked the web and the db-server. They only show up on the admin interface.
Marco
|

27th July 2009, 12:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,899
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
How did you add the second server to the ispconfig installation?
|

27th July 2009, 12:13
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I added the second (mysql) server by browsing to the first server (web) and from there:
System -> Edit Server -> Add a new Server
As the server name, I entered the FQDN and checked "DB-Server". After this, I edited the Web Server and unchecked "DB-Server" so that I just have one mysql server for customers.
Thanks,
Marco
|

27th July 2009, 12:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,899
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Servers can not be added in ispconfig like this, the server ahs to be added by the ispconfig installer during the installation of the second server. You will have to uninstall ispconfig from the second server and then reinstall it using expert mode and then enter the mysql login details of the master server when you get asked if you want to join a master server.
|

27th July 2009, 12:23
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That explains everything. I don't even have ispconfig on the mysql-server as I just didn't know that I needed it.
There is not much documentation for ispconfig3 at the moment. At least, I couldn't find it.
Thanks,
Marco
|

31st July 2009, 15:53
|
|
Junior Member
|
|
Join Date: Jul 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
tried it that way now, but still doesn't work.
I installed ispconfig3 on the mysql server in expert mode, joined the main ispconfig server database and set up everything.
but when I create a new database on the main instance (webserver), it is shown in the ispconfig web page, but on the mysqlserver nothing happens. I thought that there should be created a database then, but even this doesn't happen.
any hints?
thanks,
marco
|

1st August 2009, 10:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,899
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Then you have most likely a permission problem. This happens e.g. when the hostnames of all servers are not registered in dns and so the master server is not able to resolve the hostname of the slave.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 17:20.
|
Recent comments
11 hours 32 min ago
18 hours 13 min ago
22 hours 4 min ago
23 hours 42 min ago
1 day 8 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 2 hours ago