Page 1 of 1

php errors when attempting to log onto eve-ng console

Posted: Sun Nov 28, 2021 9:21 pm
by gpapison
Hardware:AMD64 2700x 8 core with 32 GB RAM 1TB HDD IEthernet/1 WiFi
EVE-NG PRO running on VMWare Workstation 16
AMD-V enabled in Hardware and VMWare

EVE-NG-PRO VM worked correctly yesterday, no changes since last log off

root@eve-ng:/opt/unetlab/data/Logs# sudo less php_errors.txt Tail

#0 /opt/unetlab/html/api.php(102): updateDatabase(false)
#1 {main}
thrown in /opt/unetlab/html/includes/functions.php on line 1224
[28-Nov-2021 15:50:38 America/New_York] Nov 28 15:50:38 ERROR: Database error (90003).
[28-Nov-2021 15:50:38 America/New_York] Nov 28 15:50:38 PDOException: SQLSTATE[HY000] [2002] No such file or directory in /opt/unetlab/html/includes/functions.php:95
Stack trace:
#0 /opt/unetlab/html/includes/functions.php(95): PDO->__construct('mysql:host=loca...', 'eve-ng', 'eve-ng')
#1 /opt/unetlab/html/api.php(75): checkDatabase()
#2 {main}
[28-Nov-2021 15:50:38 America/New_York] Nov 28 15:50:38 ERROR: Database error (90003).
[28-Nov-2021 15:50:38 America/New_York] Nov 28 15:50:38 PDOException: SQLSTATE[HY000] [2002] No such file or directory in /opt/unetlab/html/includes/functions.php:1996
Stack trace:
#0 /opt/unetlab/html/includes/functions.php(1996): PDO->__construct('mysql:host=loca...', 'guacuser', 'eve-ng')
#1 /opt/unetlab/html/api.php(88): html5_checkDatabase()
#2 {main}
[28-Nov-2021 15:50:38 America/New_York] PHP Fatal error: Uncaught Error: Call to a member function prepare() on boolean in /opt/unetlab/html/includes/functions.php:1224
Stack trace:
#0 /opt/unetlab/html/api.php(102): updateDatabase(false)
#1 {main}
thrown in /opt/unetlab/html/includes/functions.php on line 1224

I readily admit I have neither a Linux, nor php, experience. How do I resolve this issue?

Cheers

George

Re: php errors when attempting to log onto eve-ng console

Posted: Mon Nov 29, 2021 7:16 pm
by Uldis (UD)
Visit eve live chat for more consultation
https://www.eve-ng.net/index.php/live-helpdesk/