Comments (6)
I would like to add we had another site with same issue last week. MariaDB would not restart, in the end we ditched the instance and relaunched a new one. We setup an alarm on it to reboot. Even that new instance reboots several times a day.
from vms.
Bit more info after a failed mariadb restart:
2024-02-19 11:27:11 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 4436
2024-02-19 11:27:11 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 11:27:11 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 11:27:11 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 11:27:11 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 11:27:11 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:27:11 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:27:11 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 11:27:11 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 11:27:11 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 11:27:11 0 [ERROR] Failed to initialize plugins.
2024-02-19 11:27:11 0 [ERROR] Aborting
2024-02-19 11:28:38 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 4440
2024-02-19 11:28:38 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 11:28:38 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 11:28:38 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 11:28:38 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 11:28:38 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:28:38 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:28:38 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 11:28:38 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 11:28:38 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 11:28:38 0 [ERROR] Failed to initialize plugins.
2024-02-19 11:28:38 0 [ERROR] Aborting
2024-02-19 11:47:54 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 2977
2024-02-19 11:47:54 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 11:47:54 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 11:47:54 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 11:47:54 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 11:47:55 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:47:55 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 11:47:55 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 11:47:55 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 11:47:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 11:47:55 0 [ERROR] Failed to initialize plugins.
2024-02-19 11:47:55 0 [ERROR] Aborting
2024-02-19 12:00:52 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 3055
2024-02-19 12:00:52 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 12:00:52 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 12:00:52 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 12:00:52 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 12:00:52 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 12:00:52 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 12:00:52 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 12:00:52 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 12:00:52 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 12:00:52 0 [ERROR] Failed to initialize plugins.
2024-02-19 12:00:52 0 [ERROR] Aborting
2024-02-19 12:26:46 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 3425
2024-02-19 12:26:46 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 12:26:46 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 12:26:46 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 12:26:46 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 12:26:46 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 12:26:46 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 12:26:46 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 12:26:46 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 12:26:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 12:26:46 0 [ERROR] Failed to initialize plugins.
2024-02-19 12:26:46 0 [ERROR] Aborting
2024-02-19 13:53:38 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 4859
2024-02-19 13:53:38 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 13:53:38 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 13:53:38 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 13:53:38 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 13:53:38 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 13:53:38 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-19 13:53:38 0 [ERROR] Aborting
2024-02-19 13:54:45 0 [Note] Starting MariaDB 10.6.12-MariaDB source revision 4c79e15cc3716f69c044d4287ad2160da8101cdc as process 4862
2024-02-19 13:54:45 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 13:54:45 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 13:54:45 0 [ERROR] Plugin 'InnoDB' init function returned error.
2024-02-19 13:54:45 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-02-19 13:54:45 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-02-19 13:54:45 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-02-19 13:54:45 0 [ERROR] Aborting
from vms.
we now have an issue with a 3rd t3a.medium instance. That's 3 in a week (bitnami/wordpress stack)
Excerpt from daemon.log....
.....
Startup finished in 2.951s (kernel) + 31.931s (userspace) = 34.882s.
Feb 20 10:42:46 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 34290ms.
Feb 20 10:43:21 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 69480ms.
Feb 20 10:44:30 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 111690ms.
Feb 20 10:46:22 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 120730ms.
Feb 20 10:48:23 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 127850ms.
Feb 20 10:50:30 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 116700ms.
Feb 20 10:52:27 ip-172-31-28-30 dhclient[489]: XMT: Solicit on ens5, interval 120690ms.
Feb 20 10:53:56 ip-172-31-28-30 systemd[1]: bitnami.service: A process of this unit has been killed by the OOM killer.
Feb 20 10:53:57 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:53:57.681Z - info: Saving configuration info to disk
Feb 20 10:53:58 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:53:58.930Z - info: Stop monitoring services from gonit
Feb 20 10:53:59 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:53:59.020Z - info: Performing service stop operation for php
Feb 20 10:54:00 ip-172-31-28-30 bitnami[2015]: #33[38;5;6mphp #33[38;5;5m10:54:00.95 #33[0m#033[38;5;2mINFO #33[0m ==> php-fpm stopped
Feb 20 10:54:00 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:54:00.955Z - info: Performing service stop operation for mariadb
Feb 20 10:54:01 ip-172-31-28-30 bitnami[2015]: #33[38;5;6mmariadb #33[38;5;5m10:54:01.46 #33[0m#033[38;5;2mINFO #33[0m ==> mariadb is not running
Feb 20 10:54:01 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:54:01.462Z - info: Performing service stop operation for apache
Feb 20 10:54:02 ip-172-31-28-30 bitnami[2015]: #33[38;5;6mapache #33[38;5;5m10:54:02.99 #33[0m#033[38;5;2mINFO #33[0m ==> apache stopped
Feb 20 10:54:02 ip-172-31-28-30 bitnami[2015]: 2024-02-20T10:54:02.993Z - info: Skipping service stop operation for varnish
Feb 20 10:54:03 ip-172-31-28-30 systemd[1]: bitnami.service: Failed with result 'oom-kill'.
oom-kill?
from vms.
Hi @NEOROMAH,
2024-02-19 12:00:52 0 [ERROR] mysqld: File '/opt/bitnami/mariadb/data/aria_log_control' not found (Errcode: 13 "Permission denied")
2024-02-19 12:00:52 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/opt/bitnami/mariadb/data/aria_log_control'
2024-02-19 12:00:52 0 [ERROR] Plugin 'Aria' init function returned error.
2024-02-19 12:00:52 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-02-19 12:00:52 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
2024-02-19 12:00:52 0 [ERROR] InnoDB: The data file './ibdata1' must be writable
It seems you broke the permissions configuration. I suggest you launch a fresh VM (either in the cloud or locally) and compare the permissions configuration of the /opt/bitnami/mariadb/data folder between the 2 instances.
Thanks
from vms.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
from vms.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
from vms.
Related Issues (20)
- [ProcessMaker] Connection to Maria DB on process maker ver.4 HOT 6
- [bitnami redmine] Can I have the bitnami redmine 4.1.1-8 for windows server ? HOT 10
- AWS LAMP Server getting slow HOT 5
- [Dolibarr] - Unable to connect to Dolibarr VM HOT 6
- [Redmine] how to copy key file from Linux VM to windows computer HOT 13
- [Silverstripe] Bitnami image - Php-fpm out of memory HOT 5
- [<Apache Kafka>] <SSL Handshake Unable to Authenticate> HOT 1
- [AWS LightSail Bitnami Apache] Unable to start Apache (SSL Issue) HOT 2
- Failed to start LSB: bitmani init script. HOT 1
- Bitnami Google Cloud not working after changing CPU from e2 Micro to N2 HOT 5
- [WordPress] Bitnami nginx - how to configure access to wp-admin for whitelisted IP addresses HOT 4
- Bitnami On Compute Engine - Maria DB not starting HOT 3
- HELP! Bitnami login for WP site is not recognized. HOT 8
- [SuiteCRM] no error logs in any PHP based image HOT 5
- Bitnami ELK HOT 5
- Older Bitnami Wordpress Stacks HOT 6
- Wordpress AWS Lightsail Letscert SSL Error HOT 5
- [Wordpress] SSH key rejected after launching new instances HOT 3
- [Sonarqube] bitnami.service restart failing HOT 9
- [<Bitnami-ERPNEXT>] <Unable to access> HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vms.