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 7th February 2011, 14:21
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default Upgrading an ISPConfig3 server from Debian Lenny to Squeeze

During the upgrade of my ISPConfig3 testing-server from Debian Lenny to Squeeze, one problem occurred:
MySQL-server-5.1 could not start.

This happend, because during the upgrade to MySQL-server5.1, i chose to keep my own /etc/my.cnf file.
After some investifation, i found out that that the line "skip-bdb" within this file was the cause of this.

So, if you prepair an upgrade from Lenny to Squeeze and your /etc/my.cnf file contains the line "skip-bdb", please comment it out by placing a hash-tag (#) in front of this line.
Then your upgrade to MySQL-server5.1 will be succesful!

Hope this info will help others too.
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
The Following User Says Thank You to Hans For This Useful Post:
falko (8th February 2011)
Sponsored Links
  #2  
Old 7th February 2011, 14:34
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

Hi Hans,

Long time no see.
Can you please post exactly what you did to upgrade the Debian server to Squeeze?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 7th February 2011, 15:23
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

@edge,

Within /etc/apt/sources.list i changed every single word "lenny" into "squeeze".

I also removed the the line:
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

Because the sequrity upgrades will now come from the main repositories itself.
Reference: http://lists.debian.org/debian-volat.../msg00000.html

Instead of that i added the lines:

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main


After that, did an:
apt-get update

Then:
apt-get install dpkg aptitude apt


And finally:
apt-get dist-upgrade

That's it!
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 15th February 2011 at 14:29.
Reply With Quote
The Following 2 Users Say Thank You to Hans For This Useful Post:
edge (7th February 2011), Turbanator (1st November 2011)
  #4  
Old 7th February 2011, 19:01
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

After having a closer look to the testing server.

You can also remove the file remove the file /etc/environment because ons Squeeze you need to use /etc/default/locale instead. The locales can be the same as they where in /etc/environment.

It's also save to remove the file /etc/network/options
(This file will be ingored by Debian Squeeze)

If you don't remove /etc/environment and /etc/network/options, some warning appear during boot time.
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 7th February 2011 at 19:04.
Reply With Quote
  #5  
Old 7th February 2011, 22:25
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

Wow.. Just done an update, but lot's of sites stopped working, so I reversed back to the old setup (Thank God for XenServer)

PHP problems like: Deprecated: Function eregi(), warning: function.getimagesize, warning: function.filesize, and lots more.

I will 1st need to fix the PHP problems on a test server and than go live with it.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #6  
Old 7th February 2011, 22:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

The deprecated warnings do not indicate that something will not work in the current install. They are just for developers so that they get aware that these functions will get removed in future php versions. On a production system you should disable them in the php.ini file by setting the error level to show only errors abd warnings but no notices or deprecated messages.
__________________
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
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 17:25
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3] husskii HOWTO-Related Questions 5 8th January 2010 15:44
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 23:53
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 13:24.


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