SYMPTOMS

Trying to access Plesk CP login page and get the error:

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening ‘auth.php3′ for inclusion (include_path=’.:’) in Unknown on line 0

CAUSE

This error means that Plesk cannot find needed PHP files for inclusion in the current include_path. Usually the problem is in damaged Plesk configuration files.

RESOLUTION

Make sure that there is no php.ini file in the root directory on the server:

ls -al /php.ini

Rename or move it from the ‘/’ directory if you found it, restart Plesk and try to login again.

Also check that httpsd.conf and php.ini files exist in $PRODUCT_ROOT_D/admin/conf/ directory and they have not zero size:

# ls -la /usr/local/psa/admin/conf/
-rw-r–r– 1 root root  15276 2008-01-31 11:42 /usr/local/psa/admin/conf/httpsd.conf
-rw-r–r– 1 root psaadm 48715 2008-02-26 17:40 /usr/local/psa/admin/conf/php.ini
If you feel that these files are damaged, you can copy them from another working Plesk server, that has the same Plesk version installed. Restart Plesk and check if it works.

Leave a Reply