HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Migrating Lenny to Squeeze (http://www.howtoforge.com/forums/showthread.php?t=51411)

Norman 12th February 2011 14:39

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.

falko 13th February 2011 19:49

Take a look here: http://www.howtoforge.com/upgrade-de...w-simple-steps

Norman 16th February 2011 21:45

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.

Norman 16th February 2011 23:31

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.

Norman 16th February 2011 23:56

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?

voidzero 24th February 2011 23:25

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/


falko 25th February 2011 14:03

Please set
Code:

error_reporting = E_ALL & ~E_NOTICE
in your php.ini and restart Apache.

voidzero 4th March 2011 20:10

Quote:

Originally Posted by falko (Post 252136)
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 :)


All times are GMT +2. The time now is 07:16.

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