Bài đăng phổ biến

Sunday, December 25, 2011

[solved] Directadmin : Error opening ../data/default_pref

You must update squirrelmail:

cd /usr/local/directadmin/custombuild
./build update
./build squirrelmail

if that doesnt fix it then just try:

touch /var/www/html/squirrelmail/data/default_pref
chown apacheuser:apacheuser /var/www/html/squirrelmail/data/default_pref
chmod 600 /var/www/html/squirrelmail/data/default_pref

replace apacheuser as the actual user your webserver runs as.

(To install custombuild you have to do:

cd /usr/local/directadmin
wget "http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz"
tar xvzf custombuild.tar.gz
cd custombuild