J
jshanley
Guest
1) Update your ports tree.
2) install Perl 5.8.6 (required for Plesk 7.5.3):
3) Install needed Perl modules.
Here's a list that I use; some are used by SpamAssassin, some are used by others.
Note: Text::Iconv is a -new- requirement for Plesk when using Perl 5.8.6
4) Backup your Plesk installation.
5) Download Plesk 7.5.3 and install it FROM THE COMMANDLINE (not through the web interface).
6) Download and re-install the ioncube loaders IF you
use any 3rd party products that require it (like the 4PSA products); the Plesk upgrade will remove the zend_encoder = <blah> line that used to be there..
7) check to see if syslogd is still running; when I upgraded, plesk had killed it - so SpamAssassin wouldn't actually start. If it's not running, restart it. Both times I did the upgrade on FreeBSD 5.3, it did NOT restart syslogd. You can tell because during the last part of the install, you'll see something like this:
Plesk: Apache server has been started
Plesk: Qmail has been started
psa: Courier-IMAP server has been started
Plesk: pgsql has been started
unix dgram connect: No such file or directory at /usr/local/psa/spamassassin/bin/spamd line 310
unix dgram connect: No such file or directory at /usr/local/psa/spamassassin/bin/spamd line 310
Plesk: SpamAssassin has been started
In reality, spamassassin was not started, because it couldn't open the logfile, because syslogd was not running.
Restart syslogd with:
# /usr/sbin/syslogd -ss
.. and then restart plesk
# /usr/local/psa/rc.d/psa restart
8) If necessary, restart the machine.
If you find any problems/bugs with the Plesk 7.5.3 update, It'd be good to post them here to make it easy to find.
Interesting note: Plesk is using PHP 4.3.10 for the admin interface, and 4.3.11 for the standard webserver. Not sure why, but anyway..
www# /usr/local/psa/admin/bin/php -v
PHP 4.3.10 (cli) (built: May 9 2005 15:08:23)
www# /usr/local/psa/apache/bin/php -v
PHP 4.3.11 (cli) (built: May 9 2005 15:26:49)
-J
2) install Perl 5.8.6 (required for Plesk 7.5.3):
PHP:
cd /usr/ports/lang/perl5.8 && make && make deinstall && make install
PHP:
# cpan
<run through cpan configuration>
Here's a list that I use; some are used by SpamAssassin, some are used by others.
Note: Text::Iconv is a -new- requirement for Plesk when using Perl 5.8.6
PHP:
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install Getopt::Long File::Copy Digest::Nilsimsa URI::Escape \
Net::Ping Digest::MD5 Digest::SHA1 Digest::HMAC HTML::Parser \
HTML::Tagset IO::Stringy MIME::Base64 Mail::Internet MIME::Entity Net::DNS \
Time::HiRes Mail::Audit Mail::POP3Client Cwd File::Spec DB_File Mail::Audit \
Term::ANSIColor Pod::Man Digest::BubbleBabble \
ExtUtils::MakeMaker Pod::Usage Net::SMTP Net::Ident Text::Iconv
4) Backup your Plesk installation.
5) Download Plesk 7.5.3 and install it FROM THE COMMANDLINE (not through the web interface).
6) Download and re-install the ioncube loaders IF you
use any 3rd party products that require it (like the 4PSA products); the Plesk upgrade will remove the zend_encoder = <blah> line that used to be there..
7) check to see if syslogd is still running; when I upgraded, plesk had killed it - so SpamAssassin wouldn't actually start. If it's not running, restart it. Both times I did the upgrade on FreeBSD 5.3, it did NOT restart syslogd. You can tell because during the last part of the install, you'll see something like this:
Plesk: Apache server has been started
Plesk: Qmail has been started
psa: Courier-IMAP server has been started
Plesk: pgsql has been started
unix dgram connect: No such file or directory at /usr/local/psa/spamassassin/bin/spamd line 310
unix dgram connect: No such file or directory at /usr/local/psa/spamassassin/bin/spamd line 310
Plesk: SpamAssassin has been started
In reality, spamassassin was not started, because it couldn't open the logfile, because syslogd was not running.
Restart syslogd with:
# /usr/sbin/syslogd -ss
.. and then restart plesk
# /usr/local/psa/rc.d/psa restart
8) If necessary, restart the machine.
If you find any problems/bugs with the Plesk 7.5.3 update, It'd be good to post them here to make it easy to find.
Interesting note: Plesk is using PHP 4.3.10 for the admin interface, and 4.3.11 for the standard webserver. Not sure why, but anyway..
www# /usr/local/psa/admin/bin/php -v
PHP 4.3.10 (cli) (built: May 9 2005 15:08:23)
www# /usr/local/psa/apache/bin/php -v
PHP 4.3.11 (cli) (built: May 9 2005 15:26:49)
-J