CDbConnection failed to open the DB connection after cache clear

Discussion in 'Common issues' started by mailmole, Mar 15, 2019 at 9:26 PM.

  1. mailmole

    mailmole Member

    Joined:
    Aug 8, 2017
    Messages:
    93
    Likes Received:
    4
    S.E:
    2019-09-13 16:13:27
    L.T:
    Regular
    L.C:
    2
    I started to have issues with my Mailwizz. At some point, I was no longer able to even create and test a campaign. I would get Error 400 every time I would try to set up a campaign. Here's the screenshot of the error:
    [​IMG]

    Then, I went to the backend to check the delivery logs and ran into another error, now 500 this time. Here's the screenshot:
    [​IMG]

    I did some research and found here the suggestion to clear the cache. I went to var/www/mymailwizz/apps/common/runtime/cache and ran rm on all files. Then, I rebooted the server and after some time went to my mailwizz page only to find out that it's no longer working.

    Then, I went to the server and enabled debugging in apps/init.php.

    Upon my check, I've got a page with errors detailed in my followup reply in this thread.
     
    Last edited: Mar 15, 2019 at 9:45 PM
  2. mailmole

    mailmole Member

    Joined:
    Aug 8, 2017
    Messages:
    93
    Likes Received:
    4
    S.E:
    2019-09-13 16:13:27
    L.T:
    Regular
    L.C:
    2
    And, if this is of any help, here are the specifications of the server:

    CPU: Intel Xeon E3-1270v6 - 4c/8t - 3.8GHz /4.2GHz
    RAM: 32GB DDR4 ECC 2400 MHz
    500 GB of storage space
    Control Panel
    API
    Root access to the server
    Access via the KVM/IP graphic console
    Anti-DDoS Pro included

    Here's current disk space on the server:

    [​IMG]
     
  3. mailmole

    mailmole Member

    Joined:
    Aug 8, 2017
    Messages:
    93
    Likes Received:
    4
    S.E:
    2019-09-13 16:13:27
    L.T:
    Regular
    L.C:
    2
    Found a fix on my own. The issue was that the space on the partition where mailwizz is placed was out of space.
     
  4. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    9,932
    Likes Received:
    2,325
    @mailmole - take a look at the image you have attached first:
    Screenshot 2019-03-18 11.53.07.png
    It said that there is no more space left on the device... :D
     
  5. mailmole

    mailmole Member

    Joined:
    Aug 8, 2017
    Messages:
    93
    Likes Received:
    4
    S.E:
    2019-09-13 16:13:27
    L.T:
    Regular
    L.C:
    2
    @twisted1919, yes, indeed, but I needed to confirm that it was the only cause behind the crash.
     
    twisted1919 likes this.

Share This Page