Plesk 10 errors ...help, pulling my hair out :(
Problem solved it was the tmp folders.
I would advice to stay away from plesk on Linux.
Hi,
It was but I had it symlinked yesterday -
Plesk, moved /usr/local/psa to /var/psa, symlinked and Plesk restarted
The person that did said it sounds like a plesk licensing error and not to do with the symlink but I'm not convinced as I don't think that that would affect crons, unfortunately I didn't try to do change the passwords/crons etc before hand
Is this a bog-standard OVH install? I'd point my finger on the directory permissions vs. PHP/Apache permission (read/write access to the tmp directory as www-data).
Hi,
Yes I saw the thread, there's a tmp folder in var but not a symlink and I couldn't find anything that looked symlinked in the psa.conf - this is the psa.conf:
# Plesk tree
PRODUCT_ROOT_D /usr/local/psa
# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d
# Directory for config files
PRODUCT_ETC_D /usr/local/psa/etc
# Directory for service utilities
PLESK_LIBEXEC_DIR /usr/lib64/plesk-9.0
# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts
# Apache configuration files directory
HTTPD_CONF_D /etc/httpd/conf
# Apache include files directory
HTTPD_INCLUDE_D /etc/httpd/conf.d
# Apache binary
HTTPD_BIN /usr/sbin/httpd
#Apache log files directory
HTTPD_LOG_D /var/log/httpd
#apache startup script
HTTPD_SERVICE httpd
# Qmail directory
QMAIL_ROOT_D /var/qmail
# Location of qmail maildirs
PLESK_MAILNAMES_D /var/qmail/mailnames
# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd
# Courier-IMAP
COURIER_IMAP_ROOT_D /
# Proftpd
FTPD_CONF /etc/proftpd.conf
FTPD_CONF_INC /etc/proftpd.include
FTPD_BIN_D /usr/bin
FTPD_VAR_D /var/run/proftpd
FTPD_SCOREBOARD /var/run/proftpd/scoreboard
# Bind
NAMED_RUN_ROOT_D /var/named/run-root
# Webalizer
WEB_STAT /usr/bin/webalizer
# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin
# PostgreSQL
PGSQL_DATA_D /var/lib/pgsql/data
PGSQL_CONF_D /var/lib/pgsql/data
PGSQL_BIN_D /usr/bin
# Backups directory
DUMP_D /var/lib/psa/dumps
DUMP_TMP_D /tmp
# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman
# Python binary
PYTHON_BIN /usr/bin/python2.4
# Tomcat root directory
CATALINA_HOME /usr/share/tomcat5
# DrWeb
DRWEB_ROOT_D /opt/drweb
DRWEB_ETC_D /etc/drweb
# GnuPG binary
GPG_BIN /usr/bin/gpg
# Tar binary
TAR_BIN /bin/tar
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /var/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /var/www/html/awstats
# openssl binary
OPENSSL_BIN /usr/bin/openssl
LIB_SSL_PATH /lib/libssl.so
LIB_CRYPTO_PATH /lib/libcrypto.so
CLIENT_PHP_BIN /usr/local/psa/bin/php-cli
# SNI
SNI_SUPPORT false
Did you see
http://forum.parallels.com/showthread.php?t=84744 ? Check if your /tmp directory is setup correctly.
I've just got a new server Super Plan best of 2011 and am having problems with Plesk 10, I can't set up or modify any cron jobs or change the admin password or use watchdog. i need to migrate from the old server but need the cron working first but I'm at a complete loss.
If you click on the Watchdog module it gives:
ERROR: WDCPExc
Changing of crontab configuration failed.
0: wdcplib.php:137
set_cronjob_task(string '/usr/local/psa/libexec/modules/watchdog/cp/secur-check', string 'root', array)
1: wdcplib.php:33
set_secur_scan_cronjob(string 'weekly')
2: configure.php:20
require_once(string '/var/psa/admin/plib/modules/watchdog/configure.php')
3: wdcplib.php:212
wd__require_once(string 'configure.php')
4: preaction.php:17
require_once(string '/var/psa/admin/plib/modules/watchdog/preaction.php')
5: index.php:3
If you try to set up or modify any cron:
ERROR: PleskFatalException
Crontab->export() failed: plesk_tempnam() failed: tempnam failed:Incorrect temporary file name generated.
0: CrontabPropertiesUIPointer.php:57
CrontabPropertiesUIPointer->accessItem(string 'POST', NULL null)
1: UIPointer.php:595
UIPointer->access(string 'POST')
2: plesk.php:42
If you try to change the admin password:
ERROR: PleskFatalException
plesk_tempnam() failed: tempnam failed:Incorrect temporary file name generated.
0: cmd_server.php3:55
ch_admin_pass(string '************************', string '************')
1: admin-password.php:54
plesk__admin_password->accessItem(string 'POST', NULL null)
2: UIPointer.php:595
UIPointer->access(string 'POST')
3: plesk.php:42