Migrating Lenny to Squeeze

Discussion in 'Installation/Configuration' started by Norman, Feb 12, 2011.

  1. Norman

    Norman Member HowtoForge Supporter

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

    Migrating Lenny to Squeeze with ISPConfig 3 and ISPconfig 2.
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Norman

    Norman Member HowtoForge Supporter

    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.
     
  4. Norman

    Norman Member HowtoForge Supporter

    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.
     
  5. Norman

    Norman Member HowtoForge Supporter

    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?
     
    Last edited: Feb 17, 2011
  6. voidzero

    voidzero New Member

    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/
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Please set
    Code:
    error_reporting = E_ALL & ~E_NOTICE
    in your php.ini and restart Apache.
     
  8. voidzero

    voidzero New Member

    Sorry for my delayed response, and thank you for helping :)
     

Share This Page