04-23-2019, 09:56 AM
Unfortunately these mysql logs were also empty. Rather sadly. I managed to find hints in /var/log/daemon.log though and here is the interesting part.
And then I just executed "df -h" to see if we had free space on the disk. What a surprise! We have 0% free disk space. One good (kinda) thing though. We have plenty of inodes left .
Disk space:
iNodes:
The MariaDB database server cannot start because it cannot write necessary files due to lack of disk space.
I freed up about 100 MB by deleting old logs. I checked what is eat all the space and /home/* is using 17 GB of the 20 GB already. The rest is most likely used up by the OS and installed packages. Most space is used up by /home/ogp_agent/OGP_User_Files.
I guess you have to clean up or get a VPS with a much bigger disk than 20 GB.
EDIT: I used the "du" command to figure out where the most space was used. Example "du -h /" will create a list of all directories with their size in readable values like MB/GB and etc. I then just scrolled through the list and found the directories with the most used space.
Code: (Select All)
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 7f5698726d80 InnoDB: Error: Write to file ./ib_logfile101 failed at offset 0.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: 1048576 bytes should have been written, only 0 were written.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: Operating system error number 28.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: Check that your OS and file system support files of this size.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: Check also that the disk is not full or a disk quota exceeded.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: Error number 28 means 'No space left on device'.
Apr 23 11:41:42 vps570089 mysqld: InnoDB: Some operating system error numbers are described at
Apr 23 11:41:42 vps570089 mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [ERROR] InnoDB: Cannot set log file ./ib_logfile101 to size 48 MB
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [ERROR] Plugin 'InnoDB' init function returned error.
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [Note] Plugin 'FEEDBACK' is disabled.
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [ERROR] Unknown/unsupported storage engine: InnoDB
Apr 23 11:41:42 vps570089 mysqld: 2019-04-23 11:41:42 140009901550976 [ERROR] Aborting
Apr 23 11:41:42 vps570089 mysqld:
Apr 23 11:41:42 vps570089 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
And then I just executed "df -h" to see if we had free space on the disk. What a surprise! We have 0% free disk space. One good (kinda) thing though. We have plenty of inodes left .
Disk space:
Code: (Select All)
Filesystem Size Used Avail Use% Mounted on
udev 968M 0 968M 0% /dev
tmpfs 196M 7.8M 188M 4% /run
/dev/sda1 20G 19G 0 100% /
tmpfs 979M 0 979M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 979M 0 979M 0% /sys/fs/cgroup
iNodes:
Code: (Select All)
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 247559 309 247250 1% /dev
tmpfs 250415 351 250064 1% /run
/dev/sda1 1280000 69777 1210223 6% /
tmpfs 250415 1 250414 1% /dev/shm
tmpfs 250415 3 250412 1% /run/lock
tmpfs 250415 15 250400 1% /sys/fs/cgroup
The MariaDB database server cannot start because it cannot write necessary files due to lack of disk space.
I freed up about 100 MB by deleting old logs. I checked what is eat all the space and /home/* is using 17 GB of the 20 GB already. The rest is most likely used up by the OS and installed packages. Most space is used up by /home/ogp_agent/OGP_User_Files.
I guess you have to clean up or get a VPS with a much bigger disk than 20 GB.
EDIT: I used the "du" command to figure out where the most space was used. Example "du -h /" will create a list of all directories with their size in readable values like MB/GB and etc. I then just scrolled through the list and found the directories with the most used space.