Problema Plesk: “New configuration files for the Apache web server were not created due to the errors in configuration templates: mkdir: cannot create directory …”

Ecco un problema che si è presentato su Plesk (versione 12.0.18) rinominando, in una sottoscrizione, un dominio utilizzando la scheda Hosting Settings presente in Websites and Domains. Per esempio ipotizzeremo di rinominare il dominio simonezanella.com in simonezanella.it: Dopo l’operazione, Plesk mostra questo errore: New configuration files for the Apache web server were not created due to the errors in configuration templates: mkdir: cannot create directory `/var/www/vhosts/system/simonezanella.it/conf’: No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/simonezanella.it/conf/httpd.conf.XXXXXX’: No such file or directory Can not create temporary file . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. Cliccando come suggerito i problemi non vengono corretti, ma si visualizza il seguente errore: Unable to configure the web server: … Leggi tutto

Mysql problema connessione upgrade php Linux Centos

Succede spesso sui server con sistema oeprativo Linux Centos un problema di connessione a MySql dopo l’upgrade di PHP e MYSQL. Gli errori a video sono: MySQL Daemon failed to start. ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ Si risolve nel seguente modo: cercare il file my.cnf, si trova in /etc/my.cnf sostituire il contenuto con: [mysql.server] user=mysql [mysqld] local-infile=0 datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql old_passwords=1 #skip-bdb innodb_buffer_pool_size=2M innodb_additional_mem_pool_size=500K innodb_log_buffer_size=500K innodb_thread_concurrency=2 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid dopodichè lanciare il comando per far ripartire MySql: service mysqld restart   MySQL Daemon failed to start.