1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ERROR: PleskFatalException

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by LeonardoD, Oct 16, 2011.

  1. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    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
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Make sure that you MySQL server is started with

    Try to start it if it is stopped with
    If you have problems with starting try to investigate MySQL server log /var/log/mysqld.log
     
  3. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    When I run the following error occurs:
    ERROR: The partition with / var / lib / mysql is too full! failed!
     
  4. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    Already increased the storage capacity and also did not work ...
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Make sure that you have enough free diskspace on disk partition where /var/lib/mysql directory located.
     
  6. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    I have free diskspace in this directory... :(
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Check that you have enough inodes for this partition with

    df -i
     
  8. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    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 ?
     
  9. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    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
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Root partition / where /var/lib/mysql directory located is full:

     
  11. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    If I free up disk space problem will be solved?
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    You can have a lot of other problems due to lack of free diskspace on root disk partition.
     
  13. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    How can I make more space? In plesk panel indicated 21GB free
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Remove some extra directories or files, buy and replace hard disk with more capacity...
     
  15. LeonardoD

    LeonardoD New Pleskian

    13
    35%
    Joined:
    Oct 16, 2011
    Messages:
    13
    Likes Received:
    0
    Thank you, you solved my problem! =D
     
Loading...