Error
Error Code:
1098
MariaDB Error 1098: Unable to Create Unique Log File
Description
This error indicates that MariaDB cannot generate a new, unique log file in its designated directory. This typically happens when the server attempts to rotate logs or create new ones for auditing or general logging, but fails to write them to the filesystem.
Error Message
Can't generate a unique log-filename %s.(1-999)
Known Causes
4 known causesInsufficient Disk Space
The disk partition where MariaDB attempts to write log files is full or critically low on space, preventing new files from being created.
Incorrect File Permissions
The MariaDB user account lacks the necessary write permissions for the directory designated to store log files, preventing the server from creating new ones.
Invalid Log Directory Path
The configured log directory in MariaDB's settings (e.g., my.cnf) is incorrect, non-existent, or inaccessible to the server process.
Inode Exhaustion
Even with available disk space, the filesystem may have run out of inodes, which are essential for creating new files and directories.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service