#1  
Old 12th February 2011, 15:39
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default Migrating Lenny to Squeeze

Any recommended ways to do this and to make sure the installation remains sane?

Migrating Lenny to Squeeze with ISPConfig 3 and ISPconfig 2.
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2011, 20:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Take a look here: http://www.howtoforge.com/upgrade-de...w-simple-steps
__________________
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
  #3  
Old 16th February 2011, 22:45
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Documenting my upgrade path:

parseline has to be fixed in stdio.h (critical to be fixed or compile fails)

Some packages from lennys ispconfig 2 guide differ and has to be added in squeeze.
__________________
http://www.xh.se
Reply With Quote
The Following User Says Thank You to Norman For This Useful Post:
falko (17th February 2011)
  #4  
Old 17th February 2011, 00:31
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Update:

if you got greylisting installed, make sure to edit port 60000 to 10023 in main.cf in your postfix configuration.

dist-upgrading to mysql-server-5.1 will break the mysql server (temporarily)

MySQL will fail to start due to missing a few packages + old config simply wont work.
cp /etc/mysql/my.cnf /etc/mysql/my.cnf-5.0
cp /etc/mysql/my.cnf.dpkg-dist /etc/mysql/my.cnf

Then edit the new my.cnf accordingly after doing a dist-upgrade and upgrading mysql-server.
__________________
http://www.xh.se
Reply With Quote
The Following User Says Thank You to Norman For This Useful Post:
falko (17th February 2011)
  #5  
Old 17th February 2011, 00:56
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

One problem remains so far:

Code:
Unable to migrate to dependency-based boot system                                                                                           │
 │                                                                                                                                             │
 │ Tests have determined that problems in the boot system exist which prevent migration to dependency-based boot sequencing:                   │
 │                                                                                                                                             │
 │ insserv: warning: script 'S99ispconfig_server' missing LSB tags and overrides, insserv: warning: script 'bastille-firewall' missing LSB     │
 │ tags and overrides, insserv: warning: script 'ispconfig_server' missing LSB tags and overrides, insserv: There is a loop between service    │
 │ munin-node and checkroot if started, insserv: loop involving service checkroot at depth 5, insserv: loop involving service hostname at      │
 │ depth 4, insserv: There is a loop between service munin-node and mountnfs if started, insserv: loop involving service mountnfs at depth 9,  │
 │ insserv: loop involving service networking at depth 8, insserv: loop involving service quota at depth 12, insserv: There is a loop between  │
 │ service munin-node and mountoverflowtmp if started, insserv: loop involving service mountoverflowtmp at depth 9, insserv: loop involving    │
 │ service mountall-bootclean at depth 8, insserv: loop involving service checkfs at depth 6, insserv: There is a loop between service         │
 │ munin-node and ifupdown-clean if started, insserv: loop involving service ifupdown-clean at depth 6, insserv: There is a loop between       │
 │ service ispconfig_server and mountdevsubfs if started, insserv: loop involving service mountdevsubfs at depth 2, insserv: loop involving    │
 │ service udev at depth 1, insserv: loop involving service mtab at depth 6, insserv: loop involving service cron at depth 1, insserv: loop    │
 │ involving service bootlogd at depth 4, , package mysql-server-5.0 removed but not purged                                                    │
 │                                                                                                                                             │
 │ If the reported problem is a local modification, it needs to be fixed manually. If it's a bug in the package, it should be reported to the  │
 │ BTS and fixed in the package. See http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot for more information about how to fix the       │
 │ problems preventing migration.                                                                                                              │
 │                                                                                                                                             │
 │ To reattempt the migration process after the problems have been fixed, run "dpkg-reconfigure sysv-rc".                                      │
 │                                                                                                                                             │
 │                                                                   <Ok>
Any ideas from ISPconfig people?

Update: large part of error message is due to some bug with munin-node .
Rest of the issue is ispconfig 2 and bastille-firewall which doesnt have LSB headers.

Anyone got LSB headers for squeeze?
__________________
http://www.xh.se

Last edited by Norman; 17th February 2011 at 02:23.
Reply With Quote
  #6  
Old 25th February 2011, 00:25
voidzero voidzero is offline
HowtoForge Supporter
 
Join Date: Mar 2009
Posts: 63
Thanks: 11
Thanked 3 Times in 3 Posts
Default

After upgrading from lenny to squeeze I can't reproduce the mysql errors. However, these php errors do pop up in my syslog now (i have manually enabled syslogging errors) -- I am using a (merged) Dutch translation.

Code:
PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: https://mybox:8080/
PHP Notice:  Undefined variable: html_server in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 237, referer: https://mybox:8080/
PHP Notice:  Undefined index: onbekend in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 255, referer: https://mybox:8080/
PHP Notice:  Undefined index: info in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 256, referer: https://mybox:8080/
PHP Notice:  Undefined index: kritiek in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 258, referer: https://mybox:8080/
PHP Notice:  Undefined index: fout in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 259, referer: https://mybox:8080/
PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 72, referer: https://mybox:8080/
Reply With Quote
  #7  
Old 25th February 2011, 15:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please set
Code:
error_reporting = E_ALL & ~E_NOTICE
in your php.ini and restart Apache.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
voidzero (4th March 2011)
  #8  
Old 4th March 2011, 21:10
voidzero voidzero is offline
HowtoForge Supporter
 
Join Date: Mar 2009
Posts: 63
Thanks: 11
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by falko View Post
Please set
Code:
error_reporting = E_ALL & ~E_NOTICE
in your php.ini and restart Apache.
Sorry for my delayed response, and thank you for helping
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
Upgrading Debian Lenny ISPConfig2 server to Debian Squeeze. Hans Installation/Configuration 1 13th February 2011 13:18
Debian Lenny howtos to be updated and reflect Squeeze flojo Suggest HOWTO 2 9th February 2011 23:10
Upgrading an ISPConfig3 server from Debian Lenny to Squeeze Hans Installation/Configuration 8 7th February 2011 23:22
Migrating Production Server to Lenny and ISPConfig3 atjensen11 Server Operation 3 30th March 2009 14:59
Howto upgrade from Debian 4 (Etch) to Debian 5 (Lenny) Hans Tips/Tricks/Mods 2 2nd December 2008 00:40


All times are GMT +2. The time now is 18:41.


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