• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

ERROR: PleskFatalException

LeonardoD

New Pleskian
I Have this error:

ERROR: PleskFatalException

0: common_func.php3:146
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)')
1: auth.php3:93


How i can fix ?

Configs:
Version Plesk: 9.5.2
Linux 2.6.26-2-xen-amd64
GenuineIntel, Intel(R) Xeon(R)CPU L5530 @ 2.40GHz
Debian 5.0.8 64bits
 
Make sure that you MySQL server is started with

# /etc/init.d/mysqld status
mysqld (pid 1822) is running...

Try to start it if it is stopped with
# /etc/init.d/mysqld start

If you have problems with starting try to investigate MySQL server log /var/log/mysqld.log
 
Make sure that you have enough free diskspace on disk partition where /var/lib/mysql directory located.
 
Check that you have enough inodes for this partition with

df -i
 
I have this:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/debian-root
50873172 50848376 0 100% /
tmpfs 522476 0 522476 0% /lib/init/rw
udev 10240 492 9748 5% /dev
tmpfs 522476 0 522476 0% /dev/shm
/dev/xvda1 233335 17927 202960 9% /boot
overflow 1024 0 1024 0% /tmp
tmpfs 522476 0 522476 0% /opt/psa/handlers/before-local
tmpfs 522476 0 522476 0% /opt/psa/handlers/before-queue
tmpfs 522476 0 522476 0% /opt/psa/handlers/before-remote
tmpfs 522476 784 521692 1% /opt/psa/handlers/info
tmpfs 522476 0 522476 0% /opt/psa/handlers/spool

you can help-me ?
 
df -h :


Filesystem Size Used Avail Use% Mounted on
/dev/mapper/debian-root
49G 49G 0 100% /
tmpfs 511M 0 511M 0% /lib/init/rw
udev 10M 492K 9.6M 5% /dev
tmpfs 511M 0 511M 0% /dev/shm
/dev/xvda1 228M 18M 199M 9% /boot
overflow 1.0M 0 1.0M 0% /tmp
tmpfs 511M 0 511M 0% /opt/psa/handlers/before-local
tmpfs 511M 0 511M 0% /opt/psa/handlers/before-queue
tmpfs 511M 0 511M 0% /opt/psa/handlers/before-remote
tmpfs 511M 784K 510M 1% /opt/psa/handlers/info
tmpfs 511M 0 511M 0% /opt/psa/handlers/spool
 
Remove some extra directories or files, buy and replace hard disk with more capacity...
 
Back
Top