php errors when attempting to log onto eve-ng console

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
gpapison
Posts: 13
Joined: Mon Nov 15, 2021 4:09 pm

php errors when attempting to log onto eve-ng console

Post by gpapison » Sun Nov 28, 2021 9:21 pm

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

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

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

Post by Uldis (UD) » Mon Nov 29, 2021 7:16 pm

Visit eve live chat for more consultation
https://www.eve-ng.net/index.php/live-helpdesk/

Post Reply