Posts Tagged “Plesk”

If you recently had Plesk upgrade and you notice that the address book in horde is no longer showing, chances are the PSA-Turba file is missing or was never updated. You can take your chances with the plesk updater or you can attempt the following;

1) First of all, make sure that 'psa-turba' RPM is installed:

rpm -q psa-turba
If it is not, you can install it with autoupdater or manually from the opt/horde/ directory in Plesk distributive tree.

/root/psa/PSA_8.0.1/dist-rpm-FedoraCore-2-i386/opt/horde
 If the file is not there, you can get it from http://autoinstall.plesk.com/PSA_8.0.1/dist-rpm-FedoraCore-2-i386/opt/horde/psa-turba-2.1.1-fc2.build80060613.20.noarch.rpm
Type wget http://autoinstall.plesk.com/PSA_8.0.1/dist-rpm-FedoraCore-2-i386/opt/horde/psa-turba-2.1.1-fc2.build80060613.20.noarch.rpm to grab it
rpm -ivh  psa-turba-2.1.1-fc2.build80060613.20.noarch.rpm to install it.
 2) Records in 'My AddressBook' are not shown.

# cat /usr/share/psa-horde/turba/scripts/upgrades/1.2_to_2.0.mysql.sql | mysql -uadmin -p`cat /etc/psa/.psa.shadow` horde

3) Records in 'Private' or additional AddressBooks are not shown.

To fix it, please, download the attached sources.php.gz file, gunzip it and replace the file

/etc/psa-horde/turba/sources.php

with the new copy.

attached files: sources.php.gz
Tags: , ,

Comments No Comments »

If you simply want to remove the open_basedir restrictions for one account in plesk, you will need to create a vhost.conf file in the conf directory in plesk for that domain. So if my account was located in /var/www/vhosts/testme.com/, the conf directory would be /var/www/vhosts/testme.com/conf.

Here you will see the httpd.include, however you aren’t really supposed to tamper with this, this is why you create the vhost.conf.   Navigate to /home/httpd/vhosts/[domain]/conf/vhost.conf and create the vhost.conf file with the following.

<Directory /var/www/vhosts/testme.com/httpdocs/>
php_admin_value open_basedir none
</Directory>

Save the file and then run the following  command;

/usr/local/psa/admin/sbin/websrvmng -v -a

And finally restart apache;

service httpd restart

If you want to remove all of the open_basedir restrictions for all sites in Plesk, simply create a file called /etc/httpd/conf.d/zzz_openbasedir_removal.conf and add this text within it:

<DirectoryMatch /var/www/vhosts/(.*)/httpdocs/>
php_admin_value open_basedir none
</DirectoryMatch>

Just a friendly reminder. Doing this isn’t exactly a good thing to do, from a security standpoint. You have been warned!!!

Tags: ,

Comments No Comments »