Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000] [1040] Too many connections in db_select() (line 2579 of /data/www/drupal/includes/database/database.inc).

Additional

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dabar.semaphore' doesn't exist: SELECT expire, value FROM {semaphore} WHERE name = :name; Array ( [:name] => rules_get_cacherules_event_whitelist ) in lock_may_be_available() (line 167 of /data/www/drupal/includes/lock.inc).


Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 DELETE command denied to user 'normatives_r'@'localhost' for table 'semaphore': DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 2666799165ceb2df93714c4.33410997 ) in lock_release_all() (line 269 of /data/www/drupal/includes/lock.inc).