Database Error!

DATABASE ERROR!

Unable to connect to the database!
Please contact your server-administrator.

The disk has 0.00 GB space remaining.

One email was used in spamming.

How can I free up disk space?

root@box:/home/user-data/mail/mailboxes# sudo du -h /var/log/* --exclude=/proc --max-depth=3 | sort -hr | head
7.1G /var/log/mail.log
1.5G /var/log/syslog.1
1.2G /var/log/journal/3dee855d46d8497bba708e118a8c96c5
1.2G /var/log/journal
625M /var/log/syslog
318M /var/log/syslog.2.gz
60M /var/log/syslog.3.gz
15M /var/log/installer
14M /var/log/installer/cdebconf
13M /var/log/btmp.1

We have 25G disk capacity

I’d delete /var/log/mail.log (copy off of the server first if you want to inspect the log) and reboot. That should free up enough to get you running again. Make sure to monitor the server for runaway logs.

Looking at the size of syslog and mail.log you have either a very active server (how many users do you have?) or perhaps lots of tries from unknown parties trying to log into your server. If you have a lot of active servers, increasing the available disk space might help. You might also want to look into logrotate settings, e.g. don’t keep logs for a long time.
I also advice to look into those very large logs and check if there is some recurring pattern there that might indicate an error or another issue that you can actively work on.