Hi , we are unable to connect with our website it show connection refused

Keywords: Magento - AWS - Technical issue - Other

bnsupport ID: 65602f1c-6e1e-bcf5-f649-32cc9ecd265d

bndiagnostic output:

? Apache: Found possible issues
? Mariadb: Found possible issues
? Connectivity: Found possible issues
? Resources: Found possible issues

bndiagnostic failure reason: The suggested guides are not related with my issue

2 exception(s):
Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] Connection refused
Exception #1 (PDOException): SQLSTATE[HY000] [2002] Connection refused

Hello @geeks9,

It seems you have no disk space left in your instance:


Found recent error or warning messages in the Apache error log.

[Sat Jul 10 18:28:17.204624 2021] [proxy_fcgi:error] [pid 2094:tid 139932215162624] [client **ip_address**:62635] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Warning: SessionHandler::write(): write failed: No space left on device (28) in /bitnami/magento/vendor/magento/framework/Session/SaveHandler.php on line 139 in /bitnami/magento/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler()
#1 /bitnami/magento/vendor/magento/framework/Session/SaveHandler.php(139): SessionHandler->write()
#2 /bitnami/magento/vendor/magento/framework/Session/SaveHandler.php(96): Magento\Framework\Session\SaveHandler->callSafely()
#3 [internal function]: Magento\Framework\Session\SaveHandler->write()
#4 /bitnami/magento/vendor/magento/framework/Session/SessionManager.php(151): session_write_close()
#5 /bitnami/magento/generated/code/Magento/Framework/Session/Generic/Interceptor.php(23): Magento\Framework\Session\SessionManager->writeClose()
#6 [internal function]: Magento\Framework\Session\Generic\Interceptor->writeClose()
#7 {main}
 thrown in /bitnami/mag...'
 [Sat Jul 10 18:28:18.477606 2021] [proxy:error] [pid 2094:tid 139932198377216] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/bitnami/php/var/run/www.sock (www-fpm) failed
 [Sat Jul 10 18:28:18.477663 2021] [proxy_fcgi:error] [pid 2094:tid 139932198377216] [client **ip_address**:62635] AH01079: failed to make connection to backend: httpd-UDS


Found recent error messages in the MariaDB error log:

2021-07-10 18:28:24 0 [ERROR] InnoDB: Cannot write to '/bitnami/mariadb/data/ib_buffer_pool.incomplete': No space left on device


Your disk is almost full: You could try to increase your instance’s storage.

Filesystem Size Used Avail Use% Mounted on /dev/xvda1 9.7G 9.3G 0 100% /

You can check how to increase your instance’s disk space in the following guide:


After that, please restart your whole instance and the services later if necessary. That should solve your issues.

Francisco de Paz

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.