rdeussen
13th November 2006, 16:25
Hi All,
I've created a backup of alle the needed files using some simple scripts;
/bin/tar cpvzf /root/backup/mysql-data.tgz /var/lib/mysql
/bin/tar cpvzf /root/backup/system-files.tgz /root/ispconfig/ /home/admispconfig/ /home/www/ /var/www/ /var/lib/named/etc/bind/ /var/mail/ /etc/
mysqldump -h localhost -u root -ppassword -c --add-drop-table --add-locks --all --quick --lock-tables db_ispconfig > /root/backup/sqldump.sql
I configured and installed vmware + ispconfig image (downloaded from the web)
and now the migration process starts ...
differences between my orginal ispconfig and the new one;
- older os and packages.
- different db name (db_ispconfig is used on my old system, dbispconfig on the vmware image)
- in the vmware there are minor changes regarding php for example (it's wrapped)
- I'm using a private ip now instead of public. NAT is used for the public > private mapping
so i followed:
http://www.howtoforge.com/forums/showpost.php?p=16488&postcount=2
but ...
i get stuck into the apache2 messages":
/etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 99 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
so i followed:
http://www.howtoforge.de/forums/showthread.php?p=23792
rm -f /etc/apache2/mods-enabled/php4.conf
a2enmod php4
this command shows:
This module does not exist!
/etc/init.d/apache2 restart display's ofcourse the same error.
What am i doing wrong?
I've created a backup of alle the needed files using some simple scripts;
/bin/tar cpvzf /root/backup/mysql-data.tgz /var/lib/mysql
/bin/tar cpvzf /root/backup/system-files.tgz /root/ispconfig/ /home/admispconfig/ /home/www/ /var/www/ /var/lib/named/etc/bind/ /var/mail/ /etc/
mysqldump -h localhost -u root -ppassword -c --add-drop-table --add-locks --all --quick --lock-tables db_ispconfig > /root/backup/sqldump.sql
I configured and installed vmware + ispconfig image (downloaded from the web)
and now the migration process starts ...
differences between my orginal ispconfig and the new one;
- older os and packages.
- different db name (db_ispconfig is used on my old system, dbispconfig on the vmware image)
- in the vmware there are minor changes regarding php for example (it's wrapped)
- I'm using a private ip now instead of public. NAT is used for the public > private mapping
so i followed:
http://www.howtoforge.com/forums/showpost.php?p=16488&postcount=2
but ...
i get stuck into the apache2 messages":
/etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 99 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
so i followed:
http://www.howtoforge.de/forums/showthread.php?p=23792
rm -f /etc/apache2/mods-enabled/php4.conf
a2enmod php4
this command shows:
This module does not exist!
/etc/init.d/apache2 restart display's ofcourse the same error.
What am i doing wrong?