[HELP][ERROR]

  • Affected Version
    WoltLab Suite 3.1

    Hey guys,

    For about 15 seconds today something happened on my website. Out of the blue this occurred:

    It resolved itself immediately after about 15 seconds. For about 15 seconds, every page on the website was an error page.

    Anyone able to determine what this is related to? Attached is the Error Log as well: 2018-10-04.txt

    Display Spoiler

    Error pages:

    An error has occurred

    Internal error code: 248379764117b4c403213ebeee5b53e33f6fddbb

    What happened?

    An error has occured while trying to handle your request and execution has been terminated. Please forward the above error code to the site administrator.

    The error code can be used by an administrator to lookup the full error message in the Administration Control Panel via “Logs » Errors”. In addition the error has been written to the log file located at */log/2018-10-04.txt and can be accessed with a FTP program or similar.

    Notice: The error code was randomly generated and has no use beyond looking up the full message.

    System Information

    • PHP Version:
    • 5.6.36
    • WoltLab Suite Core:
    • 3.1.5 pl 1
    • Peak Memory Usage:
    • 0.424/128 MiB
    • Request URI:
    • /
    • Referrer:
    • https://gamedevhq.com/forums/thread/…nes/?postID=335
    • User Agent:
    • Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

    Original Error

    • Error Type:
    • PDOException
    • Error Message:
    • SQLSTATE[HY000] [2002] No such file or directory
    • Error Code:
    • 2002
    • File:
    • */lib/system/database/MySQLDatabase.class.php (45)
    • Stack Trace:
    • #0 */lib/system/database/MySQLDatabase.class.php (45):
    • PDO->__construct('[redacted]', '[redacted]', '[redacted]', '[redacted]')
    • #1 */lib/system/database/Database.class.php (119):
    • wcf\system\database\MySQLDatabase->connect()
    • #2 */lib/system/WCF.class.php (359):
    • wcf\system\database\Database->__construct('[redacted]', '[redacted]', '[redacted]', '[redacted]', '[redacted]')
    • #3 */lib/system/WCF.class.php (164):
    • wcf\system\WCF->initDB()
    • #4 */global.php (13):
    • wcf\system\WCF->__construct()
    • #5 */index.php (10):
    • require_once('*/global.php')

    Final Error

    • Error Type:
    • wcf\system\database\exception\DatabaseException
    • Error Message:
    • Connecting to MySQL server 'localhost' failed
    • Error Code:
    • 2002
    • File:
    • */lib/system/database/MySQLDatabase.class.php (65)
    • Stack Trace:
    • #0 */lib/system/database/Database.class.php (119):
    • wcf\system\database\MySQLDatabase->connect()
    • #1 */lib/system/WCF.class.php (359):
    • wcf\system\database\Database->__construct('[redacted]', '[redacted]', '[redacted]', '[redacted]', '[redacted]')
    • #2 */lib/system/WCF.class.php (164):
    • wcf\system\WCF->initDB()
    • #3 */global.php (13):
    • wcf\system\WCF->__construct()
    • #4 */index.php (10):
    • require_once('*/global.php')
  • Hi

    the unix domain socket that is used to connect to the MySQL server did not exist. Possibly because the MySQL server was being restarted at that point in time.


    Hey tim! Thanks for the response! That makes sense. Question. During this time, I was modifying some CSS in the style sheets. Does hitting submit on that reset anything on the website?

    It happened almost immediately after i updated some color via css.

  • Hi

    Does hitting submit on that reset anything on the website?

    it resets some internal caches, but this must not cause this error message to appear.

    Anything that leads to the unix domain socket being unavailable (apart from intentional restarts of the MySQL server) is a gross misconfiguration of the server. You might want to check the MySQL server logs / check with your server administrator.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!