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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th March 2008, 07:01
cambo cambo is offline
Member
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 53
Thanks: 5
Thanked 1 Time in 1 Post
Default ISPConfig migration to new server.

Hi. I have found some threads on migrating ISPConfig to a new server (including Falko's great post) but I can't quite work out a clear answer to this question.

Should I upgrade the ISPConfig installation on the current server to the current version of ISPConfig and then transfer everything, or should I install the version I have installed on the current server (which I still have archived) on the new server, transfer everything, and then upgrade it?

The current server is live and running over 30 websites, databases, email. I am using a separate server for DNS.

The old server is Perfect Mandriva 2007+ ISPConfig 2.2.6, the new server is Perfect Mandriva 2008. (I haven't installed ISPConfig on it yet.)
I am running Dovecot for IMAP.

Thanks
Cambo

ps. Is there a how-to for migrating ISPConfig?
Reply With Quote
Sponsored Links
  #2  
Old 12th March 2008, 07:42
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

There is no howto available to move ISPConfig to another server, but this thread will help you.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 13th March 2008, 08:00
cambo cambo is offline
Member
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 53
Thanks: 5
Thanked 1 Time in 1 Post
Default Jumped right in.

Ok, I decided to go ahead with Falko's instructions on the above thread.
Everything seemd to go way to well, as yes it was too good to be true.

When I try to go to a site www.tuxtop.com I get this:

Code:
Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Any clues as to where to start looking?

Thanks
Cambo
Reply With Quote
  #4  
Old 13th March 2008, 10:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Have a look in the error log of the wesbite.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th March 2008, 00:15
cambo cambo is offline
Member
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 53
Thanks: 5
Thanked 1 Time in 1 Post
Default

Ok. It seems that when I edit VHosts_ispconfig.conf manually and change the IP's to the new one, they are being overwritten again with the old IP's. I don't understand how that is happening, but here is some logs:

Error Log

Code:
[Fri Mar 14 04:23:20 2008] [warn] VirtualHost 192.168.0.230:80 overlaps with VirtualHost 192.168.0.230:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Mar 14 04:23:20 2008] [warn] VirtualHost 192.168.0.230:80 overlaps with VirtualHost 192.168.0.230:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Mar 14 04:23:21 2008] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 14 04:23:21 2008] [notice] Digest: done
[Fri Mar 14 04:23:22 2008] [notice] Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_ssl/2.2.6 OpenSSL/0.9.8e mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Fri Mar 14 04:23:22 2008] [warn] long lost child came home! (pid 8707)
[Fri Mar 14 05:07:04 2008] [error] [client 192.168.0.210] File does not exist: /var/www/sharedip/squid-internal-dynamic
[Fri Mar 14 06:25:45 2008] [error] [client 192.168.0.210] File does not exist: /var/www/sharedip/squid-internal-dynamic
[Fri Mar 14 07:32:56 2008] [error] [client 192.168.0.210] File does not exist: /var/www/sharedip/squid-internal-dynamic
[Fri Mar 14 09:00:23 2008] [notice] caught SIGTERM, shutting down
[Fri Mar 14 10:02:29 2008] [notice] core dump file size limit raised to 4294967295 bytes
[Fri Mar 14 10:02:30 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Mar 14 10:02:33 2008] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 14 10:02:33 2008] [notice] Digest: done
[Fri Mar 14 10:02:34 2008] [notice] Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_ssl/2.2.6 OpenSSL/0.9.8e mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Fri Mar 14 10:02:40 2008] [notice] caught SIGTERM, shutting down
[Fri Mar 14 10:02:41 2008] [notice] core dump file size limit raised to 4294967295 bytes
[Fri Mar 14 10:02:42 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Mar 14 10:02:42 2008] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 14 10:02:42 2008] [notice] Digest: done
[Fri Mar 14 10:02:43 2008] [notice] Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_ssl/2.2.6 OpenSSL/0.9.8e mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
Access Log

Code:
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [13/Mar/2008:18:05:27 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
192.168.0.210 - - [13/Mar/2008:18:43:48 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [13/Mar/2008:20:01:02 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [13/Mar/2008:20:41:43 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [13/Mar/2008:21:58:39 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [13/Mar/2008:23:01:29 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:00:12:41 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:00:13:43 +1100] "GET /robots.txt HTTP/1.0" 403 - "-" "Gigabot/3.0 (http://www.gigablast.com/spider.html)"
192.168.0.210 - - [14/Mar/2008:00:13:43 +1100] "GET / HTTP/1.0" 403 - "-" "Gigabot/3.0 (http://www.gigablast.com/spider.html)"
192.168.0.210 - - [14/Mar/2008:01:19:55 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:02:04:56 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:03:05:16 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:03:59:00 +1100] "GET /phpAds/ HTTP/1.0" 403 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
192.168.0.210 - - [14/Mar/2008:04:20:26 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
127.0.0.1 - - [14/Mar/2008:04:23:19 +1100] "GET / HTTP/1.0" 200 44 "-" "Apache/2.2.6 (Mandriva Linux/PREFORK-8.1mdv2008.0) (internal dummy connection)"
192.168.0.210 - - [14/Mar/2008:05:07:04 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:06:25:45 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:07:32:56 +1100] "GET /squid-internal-dynamic/netdb HTTP/1.0" 404 1010 "-" "-"
192.168.0.210 - - [14/Mar/2008:07:38:19 +1100] "GET / HTTP/1.0" 403 - "http://www.howtoforge.com/forums/showthread.php?p=113076" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-0etch1)"
192.168.0.210 - - [14/Mar/2008:07:38:20 +1100] "GET /favicon.ico HTTP/1.0" 403 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-0etch1)"
All request go through a Squid accelerator (reverse proxy)
The live server is still running on the network at 192.168.0.230 and the new server is 192.168.0.240


Thanks
Cambo
Reply With Quote
  #6  
Old 14th March 2008, 13:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Can you go to the directory where Vhosts_ispconfig.conf is located and check if there are other files there that begin with Vhosts_ispconfig.conf and end with a date? If so, try this: http://www.howtoforge.com/forums/showthread.php?t=7719
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 17th March 2008, 00:35
cambo cambo is offline
Member
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 53
Thanks: 5
Thanked 1 Time in 1 Post
Default

I checked and there is only 1 Vhosts... file. I tried manually editing again and same thing overwritten.
Does having the current webserver running on the same subnet affect the new installation. ie is it somehow syncing or something?
Also, where do you manage the individual site databases now? I can't find it on any tab in the ISP Manager ??
Thanks
Reply With Quote
  #8  
Old 17th March 2008, 09:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Quote:
I checked and there is only 1 Vhosts... file. I tried manually editing again and same thing overwritten.
Thats fine and the normal behavoiur. The Vhost_ispconfig.conf file is not for manual editing.

Quote:
Does having the current webserver running on the same subnet affect the new installation. ie is it somehow syncing or something?
No.

Quote:
Also, where do you manage the individual site databases now? I can't find it on any tab in the ISP Manager ??
Thanks
It's in the same place then before, on the options tab of the website. If you dont see it there, make sure that you enabled databases for the reseller and in the website settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 19th March 2008, 00:05
cambo cambo is offline
Member
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 53
Thanks: 5
Thanked 1 Time in 1 Post
Default

Hi Till
Thanks.

>make sure that you enabled databases for the reseller
I hadn't created a reseller, so that was why it wasn't coming up.

I dont understand where the Vhosts file is getting it's setting from. You said it is automatically overwritten. When I look in ISPConfig setting the new IP is there but the file gets written over with the old IP settings??

Anyway, I decided to start again and test a few scenarios, such as installing the exact same version of Mandriva and ISPConfig that was on the old server. I got the same result. Not working. Wierd.

End Result - I have learnt a lot more about the systems and how they work. I decided to do a clean install with the latest versions of Mandriva and ISPConfig. Installation still had that problem that the doctype table was corrupted in a fresh install. I fixed that by dumping the doctype table from my current ISPConfig system (Ver 2.2.6) and imported that over the new one(Ver. 2.2.21). Everything seems to work OK with that.

I am now going to create each web again in the ISPConfig and then transfer each webs files and Db's over one at at time. It is going to take a bit longer (I have 35 webs with users, ftp,email,etc) but I want to make sure I have a system that is going to run for the next 3 years without any problems. My current ISPConfig system has been running for 2 years without a drama since its intial setup.

While I didn't actually resolve why I couldn't achieve a successful transfer from the old system to the new system using Falko's instructions (which I followed to the letter as I know Falko knows a lot more than I do), I will consider this thread closed.

I hope some-one else can get some benefit from it.

Thanks for everyone's help.
Reply With Quote
  #10  
Old 19th March 2008, 10:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
 
Default

The vhosts file is written from the ISPConfig database settings. You will have to select the new IP in the site settings of the website and then click on save.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Possible to install backup DNS or better backup whole ISPconfig server ? Snowman General 1 2nd May 2007 14:01
Need a Server to run ISPCONFIG on ! Look Here... jockstrap Tips/Tricks/Mods 23 27th July 2006 11:46
How set DNS entry for different server? SupuS Installation/Configuration 1 12th June 2006 09:48
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 20:44.


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