View Single Post
  #3  
Old 1st May 2010, 09:34
CSsab CSsab is offline
Senior Member
 
Join Date: Apr 2010
Posts: 174
Thanks: 19
Thanked 32 Times in 27 Posts
Default Troubleshooting ISPConfig 3 Multiserver setups.

Hi,
I hope by showing you my working multiserver setup and explaining what I did that you may be able to troubleshoot why you are having problems.

1. On the primary server I (server1.example.com) installed ISPConfig 3 in standard mode and named the database dbispconfig1. You can leave this as default "dbispconfig" - I changed mine in order to make future database replication easier for myself.

2. Log in to phpmyadmin from your workstation, click on the "PRIVILEGES" tab and select "create new user" .. check all privileges. You should create two of these users temporarily - one for the IP of your second server and one for the hostname of your second server. Remember to delete these users when you have completely finished setting up your second server. You may also need to make a hosts file entry for server2 depending on how your network is set up.

3. On the second server (server2.example.com) I installed ISPConfig 3 in expert mode and answered the questions as follows:

server2.example.com ISPConfig3 install log.

--------------------------------------------------------------------------------
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Debian Squeeze/Sid or compatible

Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:

Installation mode (standard,expert) [standard]: expert

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [server2.example.com]:

MySQL server hostname [localhost]:

MySQL root username [root]:

MySQL root password []: XXXXXX

MySQL database to create [dbispconfig]: dbispconfig2

MySQL charset [utf8]:

Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: y

MySQL master server hostname []: server1.example.com <- This is the hostname of your master server.

MySQL master server root username [root]:

MySQL master server root password []: XXXXXX <- This is the password of the database on your master server.

MySQL master server database name [dbispconfig]: dbispconfig1 <- This is whatever you have called the ISPConfig3 database on your first server.

Adding ISPConfig server record to database.

Configure Mail (y,n) [y]: y

Configuring Postfix
Generating a 2048 bit RSA private key
..............+++
.................................................. .+++
writing new private key to 'smtpd.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
Configuring SASL
Configuring PAM
Configuring Courier
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
* Stopping Postfix Mail Transport Agent postfix
...done.
* Starting Postfix Mail Transport Agent postfix
...done.
* Stopping SASL Authentication Daemon saslauthd
...done.
* Starting SASL Authentication Daemon saslauthd
...done.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
* Stopping ClamAV daemon clamd
...done.
* Starting ClamAV daemon clamd
...done.
* Stopping Courier authentication services authdaemond
...done.
* Starting Courier authentication services authdaemond
...done.
* Stopping Courier IMAP server...
...done.
* Starting Courier IMAP server...
...done.
* Stopping Courier IMAP-SSL server...
...done.
* Starting Courier IMAP-SSL server...
...done.
* Stopping Courier POP3 server...
...done.
* Starting Courier POP3 server...
...done.
* Stopping Courier POP3-SSL server...
...done.
* Starting Courier POP3-SSL server...
...done.
Configure Jailkit (y,n) [y]: y

Configuring Jailkit
Configure FTP Server (y,n) [y]: y

Configuring Pureftpd
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql :/etc/pure-ftpd/db/mysql.conf -l pam -O clf:/var/log/pure-ftpd/transfer.log -8 U TF-8 -H -b -E -A -u 1000 -B
Configure DNS Server (y,n) [y]: y

Configuring MyDNS

Hint: If this server shall run the ispconfig interface, select 'y' in the 'Configure Apache Server' option

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

Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configure Firewall Server (y,n) [y]: y

Configuring Firewall
Install ISPConfig Web-Interface (y,n) [y]: n
Attached Images
 

Last edited by CSsab; 1st May 2010 at 10:18. Reason: correction
Reply With Quote