Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [2002] No such file or directory in lock_may_be_available() (line 167 of /opt/bitnami/apps/drupal/htdocs/includes/lock.inc).

Additional

PDOException: SQLSTATE[HY000] [2002] No such file or directory in system_list() (line 165 of /opt/bitnami/apps/drupal/htdocs/includes/module.inc).