I am trying to upgrade from ISPConfig 2.0.7 to 2.2.6, and got the following error: Code: ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here! I tried the install again and got the same error. My mail seems to work using a client, but I can't log onto ISPConfig. I also couldn't find any backup files in the tmp folder with today's date. Please help! Thank you.
There must be some errors in the compile output above this line. Please post these errors. Did restore the backup files in /tmp before you run the second install attempt?
This is the complete set of errors as far as I can tell. I did not restore the backup before the second attempt. The only backup files in the database are from six months ago when I last updated ISPConfig. Is it still possible to use these (It would be better than starting from scratch). Code: *************************************************************************** ERROR: the required HTML::Parser (version 3.24) module is not installed. Version 3.31 or later is recommended. HTML is used for an ever-increasing amount of email so this dependency is unavoidable. Run "perldoc -q html" for additional information. *************************************************************************** NOTE: the optional DB_File module is not installed. Used to store data on-disk, for the Bayes-style logic and auto-whitelist. *Much* more efficient than the other standard Perl database packages. Strongly recommended. *************************************************************************** NOTE: the optional Net::DNS (version 0.34) module is not installed. Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.), perform MX checks, and is also used when manually reporting spam to SpamCop. Recommended. If this is installed and you are using network tests of any variety (which is the default), then you need to make sure the Net::DNS version is sufficiently up-to-date: - version 0.34 or higher on Unix systems - version 0.46 or higher on Windows systems *************************************************************************** NOTE: the optional Mail::SPF::Query module is not installed. Used to check DNS Sender Policy Framework (SPF) records to fight email address forgery and make it easier to identify spams. *************************************************************************** NOTE: the optional IP::Country module is not installed. Used by the RelayCountry plugin (not enabled by default) to determine the domain country codes of each relay in the path of an email. *************************************************************************** NOTE: the optional Razor2 (version 2.61) module is not installed. Used to check message signatures against Vipul's Razor collaborative filtering network. Razor has a large number of dependencies on CPAN modules. Feel free to skip installing it, if this makes you nervous; SpamAssassin will still work well without it. More info on installing and using Razor can be found at http://wiki.apache.org/spamassassin/InstallingRazor . *************************************************************************** NOTE: the optional Net::Ident module is not installed. If you plan to use the --auth-ident option to spamd, you will need to install this module. *************************************************************************** NOTE: the optional IO::Socket::INET6 module is not installed. This is required if the first nameserver listed in your IP configuration or /etc/resolv.conf file is available only via an IPv6 address. *************************************************************************** NOTE: the optional IO::Socket::SSL module is not installed. If you wish to use SSL encryption to communicate between spamc and spamd (the --ssl option to spamd), you need to install this module. (You will need the OpenSSL libraries and use the ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL compatibile spamc.) *************************************************************************** NOTE: the optional Archive::Tar module is not installed. The "sa-update" script requires this module to access tar update archive files. *************************************************************************** NOTE: the optional IO::Zlib module is not installed. The "sa-update" script requires this module to access compressed update archive files. REQUIRED module missing: HTML::Parser optional module missing: DB_File optional module missing: Net::DNS optional module missing: Mail::SPF::Query optional module missing: IP::Country optional module missing: Razor2 optional module missing: Net::Ident optional module missing: IO::Socket::INET6 optional module missing: IO::Socket::SSL optional module missing: Archive::Tar optional module missing: IO::Zlib warning: some functionality may not be available, please read the above report before continuing! ERROR: Could not configure SpamAssassin cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory mv: cannot stat `binaries/aps.tar.gz': No such file or directory mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory mv: cannot stat `binaries/clamav.tar.gz': No such file or directory mv: cannot stat `binaries/cronolog': No such file or directory mv: cannot stat `binaries/cronosplit': No such file or directory mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory mv: cannot stat `binaries/zip': No such file or directory mv: cannot stat `binaries/unzip': No such file or directory tar: spamassassin.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors mv: cannot stat `spamassassin': No such file or directory tar: uudeview.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors mv: cannot stat `uudeview': No such file or directory tar: clamav.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors mv: cannot stat `clamav': No such file or directory tar: aps.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors ./setup2: line 816: ispconfig_tmp/php/bin/php: No such file or directory ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
The following perl modules are missing: I think it fits installing onyl the required one... but for more you should take a look at the perfect install guides for your linux brand here. Or short just type cpan in the console and answer the configuration questions if not already configured. Most of the time you can hust hint enter. then update cpan itself the the packages because of breaking package dependencies. The run install HTML:arser in the console... After installation was fine you shoudl retry your upgrade process.
ISPConfig currently isn't working at all, but mail still seems to be working. When I continue with the upgrade, will it restore everything I had before? Thanks.
Have a look at the appropriate "Perfect Setup" for your distribution here on HowtoForge. They have a section at the end that describes how to install the required Perl modules.
Thanks, Falko. I think I understand how to install the PERL modules, but I'm worried about my ISPConfig setup. When I attempted to upgrade the second time, it was as though I was doing a clean install?
This means that the directories /root/ispconfig and/or /home/admispconfig were missing because otherwise the installer would have recognized an existing ISPConfig installation and would have performed an update.
Exactly. So, if I install the PERL modules and re-run the setup, what will happen with the email accounts (I'm only using this as a mail server) I had setup on ISPConfig? The email accounts still work using a client. http://howtoforge.com/forums/showthread.php?t=6572&highlight=restore+backup
It depends. If your ISPConfig database is still existing with all records, then there's a solution. First, I'd make a backup of the database, then rename it to ispconfigdb_backup, for example. Afterwards install ISPConfig, then delete the new ISPConfig database and rename ispconfigdb_backup to the new database name.
That makes sense. If the database no longer exists, can I restore the backup made when I updated ISPConfig seven months ago (It's still better than starting from scratch)? If so, can you point me to a thread that tells how to do that.
So, do you suggest I do an SQL dump, reinstall ISPConfig, then restore the SQL dump using the link above? Will this preserve the users that currently exist even though ISPConfig is not working? How do I do an SQL dump?
http://www.howtoforge.com/forums/showpost.php?p=39550&postcount=10 Yes. Have a look here: http://www.howtoforge.com/faq/6_3_en.html