I am trying to upgrade from ISPConfig 2.0.7 and am wondering what intermediary versions are necessary to install before version 2.2.9 and any other software, tips, tricks, etc. Thanks.
You can go directly from 2.2.7 to 2.2.9. Make sure that you have a c++ compiler installed, this is a prerequisite since ISPConfig 2.2.8. I recommend this backup procedure: 1) Make a backip directory in a place, wehere you have enough space (about 200 MB are enough in most cases). mkdir /home/backup 2) Make backups of the directories /home/admispconfig and /root/ispconfig tar pcfz /home/backup/ispconfig_root.tar.gz /root/ispconfig/ tar pcfz /home/backup/ispconfig_home.tar.gz /home/admispconfig/ 3) Make a backup of your ISPConfig mysql database with e.g. mysqldump mysqldump -u root -p db_ispconfig > /home/backup/ispconfig_database.sql (make sure that you use the correct database name for your installation, in case you select a other name for the DB then db_ispconfig) 4) Download and run the update. In case anything goes wrong, you can restore everything that ISPConfig replaces during a update with the working version you had before.
How do I install a c++ compiler? So, logged in as root, I download the latest ISPConfig, put it in my home folder, unpack it, and run setup. The exact same thing I did to install it in the first place? How do I know if it's doing a fresh install rather than simply updating it?
By using an installer that is part of your distribution. E.g. apt-get (or dselect) for Debian/Ubuntu, rpm for Redhat ES or Yum for FC. I believe Suse uses Yast, but I never used Suse. C++ is not part of ISPconfig and it has no relation with ISPConfig. If you did not remove your previous installation this will update your ISPConfig (and I assume you didn't delete the previous version, as that will remove anything you ever installed/configured, including your websites).
I usually use apt-get . . . so can I just do apt-get c++? Is there a step of the setup that would let me know that it's doing a fresh install rather than updating it -- so I can stop it.
Code: apt-get install gobjc++ would be a suggestion, as this is the package on my Ubuntu 6.10 environment and Debian Etch system. The setup script of ISPConfig does an update if it finds a previous version and if not, it will do a fresh install. If you want to start with removing everything, you need to un-install ISPConfig 1st. IIRC there's a command for that somewhere, but I don't recall that right now. But again, un-installing will remove EVERYTHING you have done before (users, websites, ftp config, spamassassin updates, etc, etc.) Why do you want to remove before update/re-install? An update should fix anything that's broken normally.
If you have a debian or ubuntu system, use: apt-get install cpp g++ If the installer asks you to choose between expert and standard installation, then it is not a update.
I backed everything up, but got the following error when I tried installing ISPConfig 2.2.9. Should I restore everything OR should I install the missing modules then try installing 2.2.9 again? I'm not sure how to proceed either way. PLEEASE HELP. Code: *************************************************************************** ERROR: the required Digest::SHA1 module is not installed. The Digest::SHA1 module is used as a cryptographic hash for some tests and the Bayes subsystem. It is also used by Razor2. *************************************************************************** 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 (version 1.23) module is not installed. The "sa-update" script requires this module to access tar update archive files. *************************************************************************** NOTE: the optional IO::Zlib (version 1.04) module is not installed. The "sa-update" script requires this module to access compressed update archive files. REQUIRED module missing: Digest::SHA1 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 860: 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!
Please install the missing modules, then run make the following folder: mkdir /root/ispconfig and unpack and run the installer again.
I tried installing what I thought it was missing and got the same errors. I did run mkdir /root/ispconfig/ first. Now what? Please please help. I'm running SuSe 9.2. Code: *************************************************************************** ERROR: the required Digest::SHA1 module is not installed. The Digest::SHA1 module is used as a cryptographic hash for some tests and the Bayes subsystem. It is also used by Razor2. *************************************************************************** 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 (version 1.23) module is not installed. The "sa-update" script requires this module to access tar update archive files. *************************************************************************** NOTE: the optional IO::Zlib (version 1.04) module is not installed. The "sa-update" script requires this module to access compressed update archive files. REQUIRED module missing: Digest::SHA1 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 860: 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! rmmail:~/install_ispconfig #
You can install the missing perl modules like described below. Dont forget to create the /root/ispconfig directory before you try to update ISPConfig again. All these prerequisitesa re not new, so the perl must have been removed from your system after your initial ISPConfig installation. -- Install some Perl Modules needed by SpamAssassin (comes with ISPConfig) Installation using the Perl Shell Login to your command line as root and run the following command to start the Perl shell: perl -MCPAN -e shell If you run the Perl shell for the first time you will be asked some questions. In most cases the default answers are ok. Please note: If you run a firewall on your system you might have to turn it off while working on the Perl shell in order for the Perl shell to be able to fetch the needed modules without a big delay. You can switch it on afterwards. The big advantage of the Perl shell compared to the two other methods described here is that it cares about dependencies when installing new modules. I.e., if it turns out that a prerequisite Perl module is missing when you install another module the Perl shell asks you if it should install the prerequisite module for you. You should answer that question with "Yes". Run the following commands to install the modules needed by SpamAssassin: install HTML:arser install Digest::SHA1 install DB_File install Net:NS (when prompted to enable tests, choose no) q (to leave the Perl shell) If a module is already installed on your system you will get a message similar to this one: HTML:arser is up to date. Successful installation of a module looks like this: /usr/bin/make install -- OK
Install the pre-req's first, then re-install ISPConfig. I always try to stick to the distribution packages only and not to mix CPAN and package installs. The latter will bite you somewhere sometime. On my Ubuntu 6.10 system I've used Code: apt-get install libdigest-sha1-perl libhtml-parser-perl libnet-dns-perl libmail-spf-query-perl razor libnet-ident-perl libio-socket-ssl-perl libwww-perl libdate-manip-perl libtimedate-perl libarchive-tar-perl webalizer to get the ISPConfig pre-requisites right.
1) It couldn't find the first four packages . . . 2) Will ISPConfig still detect an existing version and update it (Please say yes)? Thanks.
Please use Till's way to install the packages because you use SuSE, not Ubuntu. Yes, if /root/ispconfig, /home/admispconfig, and the ISPConfig database exist.
I tried using the commands and it still gave me the error. Finally, I updated the modules using Yast and it worked . . . Thanks.