Hi, I had to reïnstall our server from Fedora Core4 to Debian 3.1r4 since I'm not that keen of fedora anymore. I looked trough the forum and saw that some people were trying similar things moving their ISPConfig install from server A to server B. Learned of some of the mistakes that they made and it all worked out pretty ok. Everything is working almost fine apart from a few errors. These errors seem logical to me tough since I switched to an entirely different distro. These are some errors that i receive, it seems ISPConfig's config is a little messed up and trying to restart the old distro's services. e.g.: Fedora uses httpd; Debian uses apache2 instead to reload apache. This and some errors about not finding stuff or trying to create a standard index.html file in a wrong directory. Is there any way I could solve these? tail -n 1000 /home/admispconfig/ispconfig/ispconfig.log | grep WARN Code: 20.12.2006 - 06:24:43 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 772: query result empty 20.12.2006 - 06:24:43 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 844: WARNING: could not cp -fr /root/ispconfig/isp/user_standard_index.html_en /home/www/web/user/web55_username/web/index.html 20.12.2006 - 06:24:43 => WARN - WARNING: could not open file /home/www/web/user/web55_username/web/index.html 20.12.2006 - 06:24:59 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 772: query result empty 20.12.2006 - 06:25:24 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 772: query result empty 20.12.2006 - 06:25:56 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 772: query result empty 20.12.2006 - 06:38:36 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1545: WARNING: could not mv /home/www/web27/ssl/*.crt /home/www/web27/ssl/www.domain.tld.crt &> /dev/null 20.12.2006 - 06:38:36 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1546: WARNING: could not mv /home/www/web27/ssl/*.key /home/www/web27/ssl/www.domain.tld.key &> /dev/null 20.12.2006 - 06:38:36 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1547: WARNING: could not mv /home/www/web27/ssl/*.key.org /home/www/web27/ssl/www.domain.tld.key.org &> /dev/null 20.12.2006 - 06:38:36 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1548: WARNING: could not mv /home/www/web27/ssl/*.csr /home/www/web27/ssl/www.domain.tld.csr &> /dev/null 20.12.2006 - 06:38:41 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /postfix stop &> /dev/null 20.12.2006 - 06:38:41 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /postfix start &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /bastille-firewall restart &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /httpd restart &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /postfix stop &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /postfix start &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /named restart &> /dev/null 20.12.2006 - 10:39:26 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /proftpd restart &> /dev/null 20.12.2006 - 10:42:12 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /named restart &> /dev/null 20.12.2006 - 10:47:34 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /named restart &> /dev/null 20.12.2006 - 10:48:05 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /named restart &> /dev/null 20.12.2006 - 10:48:47 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /httpd reload &> /dev/null 20.12.2006 - 10:48:47 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /named restart &> /dev/null 20.12.2006 - 10:50:09 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: WARNING: could not /httpd reload &> /dev/null All services are working fine tough and ISPConfig is still updating the various sites apache, proftpd, postfix and bind config. I love the way ISPConfig works, it's so flexible Tought I was gonna run into more problems switching distro's ! Turned out it took me only 12 hours last night (including copying the 60Gb's of sites to new hard disks and setting up soft raid for these new disks )
Did you overwrite the table isp_server with data from your old server? If yes, do you have a copy from the initial database that the ISPConfig installer created on the new server before you replaced it?
Yes I did It was getting late I have the original MySQL DB files, not the SQL query ones, but the actual DB files from the original ISPConfig I'll check it out if i can put em back, thx Till
Lol, i was trying to upgrade from version 2.2.8 to 2.2.9 before trying this and got the following errors at the end: Code: All prerequisites are fulfilled. Here we go... Connected successfully to db db_ispconfig Restarting some services... ./setup2: line 1133: /ispconfig_server: No such file or directory Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot. hosting:~/install_ispconfig# /etc/init.d/ispconfig_server restart shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory Shutting down ISPConfig system... shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory /root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running ISPConfig system stopped! shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory Starting ISPConfig system... shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory /root/ispconfig/httpd/bin/apachectl startssl: httpd started shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory ISPConfig system is now up and running! hosting:~/install_ispconfig# Help?
This is just because your are still in the installation directory which has been erased after the install. Cd to another directory should resolve your problem. Code: cd