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.
Long time no see.
Can you please post exactly what you did to upgrade the Debian server to Squeeze?
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.
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 install dpkg aptitude apt
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.
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.
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.
I understand, but the site(s) showing the warning(s) stopped doing what they were supposed to do.
I will 1st do some more testing and make the needed PHP code changes before updating the live server.
@Edge, i'm glad you can rollback to the previous setup!
I don't use Xenserver, but Xen from the Debian repository and the setup is described here: http://www.howtoforge.com/virtualiza...an-lenny-amd64
I must be aware of several things as well as you can see here: http://www.debian.org/releases/stabl...l#xen-upgrades
It will take some time for me to find out how i can perform an upgrade in the best way. (Until now i only upgraded testing servers, but the xen environment is a little more complicated).
|All times are GMT +2. The time now is 02:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.