bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

[WordPress] Failed to start LSB: bitnami init script #954

Closed Ivaan09 closed 1 year ago

Ivaan09 commented 1 year ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

3acae087-112d-2c6c-ff64-3705d5cac13f

bndiagnostic output

===== Begin of bndiagnostic tool output =====

? Apache: Found possible issues
? Mariadb: Found possible issues
? Connectivity: Found possible issues
✓ Wordpress: No issues found
✓ Resources: No issues found
✓ Processes: No issues found
✓ Php: No issues found

[Apache]

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

[Tue May 30 06:30:33.827839 2023] [autoindex:error] [pid 1732:tid 
140661084894976] [client **ip_address**:64468] AH01276: Cannot serve directory 
/opt/bitnami/wordpress/wp-admin/css/: No matching DirectoryIndex 
(index.html,index.html,index.htm,index.php) found, and server-generated 
directory index forbidden by Options directive, referer: binance.com
Press [Enter] to continue:
 [Tue May 30 06:34:34.760419 2023] [authz_core:error] [pid 1733:tid 
140660732401408] [client **ip_address**:52096] AH01630: client denied by server 
configuration: /opt/bitnami/apache/cgi-bin
 [Tue May 30 22:47:11.103348 2023] [proxy_fcgi:error] [pid 1732:tid 
140660917040896] [client **ip_address**:50845] AH01071: Got error 'PHP message: 
PHP Warning: Undefined array key "HTTP_HOST" in /bitnami/wordpress/wp-config.php 
on line 173PHP message: PHP Warning: Undefined array key "HTTP_HOST" in 
/bitnami/wordpress/wp-config.php on line 174'

Please check the following guide to troubleshoot server issues:

https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/

[Mariadb]

Found recent error messages in the MariaDB error log: 2023-05-31 9:56:38 0 [ERROR] Aborting


Please check the following guide to troubleshoot MariaDB issues:
Press [Enter] to continue:

https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-m
ariadb/

[Connectivity]

Server ports 22, 80 and/or 443 are not publicly accessible. Please check the 
following guide to open server ports for remote access:

https://docs.bitnami.com/general/faq/administration/use-firewall/

===== End of bndiagnostic tool output =====

### bndiagnostic was not useful. Could you please tell us why?

.

### Describe your issue as much as you can

bitnami@ip-172-26-10-171:/opt/bitnami$ systemctl status bitnami.service
● bitnami.service - LSB: bitnami init script
   Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2023-05-31 08:34:10 UTC; 52min ago
  Process: 1140 ExecStart=/etc/init.d/bitnami start (code=exited, status=1/FAILURE)
    Tasks: 21 (limit: 2373)
   Memory: 174.4M
   CGroup: /system.slice/bitnami.service
           ├─649 php-fpm: master process (/opt/bitnami/php/etc/php-fpm.conf)
           ├─653 php-fpm: pool www
           ├─654 php-fpm: pool www
           ├─655 php-fpm: pool www
           ├─656 php-fpm: pool www
           ├─657 php-fpm: pool www
           ├─658 php-fpm: pool www
           ├─659 php-fpm: pool www
           ├─660 php-fpm: pool www
           ├─661 php-fpm: pool www
           ├─662 php-fpm: pool www
           ├─663 php-fpm: pool www
           ├─664 php-fpm: pool www
           ├─665 php-fpm: pool www
           ├─666 php-fpm: pool www
           ├─667 php-fpm: pool www
           ├─668 php-fpm: pool www
           ├─669 php-fpm: pool www
           ├─670 php-fpm: pool www
           ├─671 php-fpm: pool www
           └─672 php-fpm: pool www
ay 31 08:34:09 ip-172-26-10-171 bitnami[1140]: mariadb 08:34:09.96 ERROR ==> mariadb did not start
May 31 08:34:09 ip-172-26-10-171 bitnami[1140]: 2023-05-31T08:34:09.970Z - error: Unable to perform start operation Export start for mariadb failed with exit code 1
May 31 08:34:10 ip-172-26-10-171 bitnami[1140]: ## 2023-05-31 08:34:10+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_bitnami_agent_extra...
May 31 08:34:10 ip-172-26-10-171 bitnami[1140]: ## 2023-05-31 08:34:10+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_agent...
May 31 08:34:10 ip-172-26-10-171 bitnami[1140]: ## 2023-05-31 08:34:10+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_update_welcome_file...
May 31 08:34:10 ip-172-26-10-171 bitnami[1140]: ## 2023-05-31 08:34:10+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_bitnami_credentials_file...
May 31 08:34:10 ip-172-26-10-171 bitnami[1140]: ## 2023-05-31 08:34:10+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_clean_metadata...
May 31 08:34:10 ip-172-26-10-171 systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
May 31 08:34:10 ip-172-26-10-171 systemd[1]: bitnami.service: Failed with result 'exit-code'.
May 31 08:34:10 ip-172-26-10-171 systemd[1]: Failed to start LSB: bitnami init script.
jotamartos commented 1 year ago

As the tool warned you, it seems there is an error in the MariaDB's log. Can you take a look at that file and find what's happening? You can follow the instructions in this guide

https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/debug-errors-mariadb/

Ivaan09 commented 1 year ago

This is the O/P of mysqld.log

2023-05-28 8:34:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 8:34:45 0 [Note] InnoDB: Number of pools: 1 2023-05-28 8:34:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 8:34:45 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 8:34:45 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 8:34:45 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 8:34:45 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 8:34:45 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 8:34:45 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 8:34:45 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 8:34:45 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 8:34:45 0 [Note] InnoDB: Starting shutdown... 2023-05-28 8:34:45 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 8:34:45 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 8:34:45 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 8:34:45 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 8:34:45 0 [ERROR] Aborting 2023-05-28 8:37:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 8:37:07 0 [Note] InnoDB: Number of pools: 1 2023-05-28 8:37:07 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 8:37:07 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 8:37:07 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 8:37:07 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 8:37:07 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 8:37:07 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 8:37:07 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 8:37:07 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 8:37:07 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 8:37:07 0 [Note] InnoDB: Starting shutdown... 2023-05-28 8:37:07 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 8:37:07 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 8:37:07 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 8:37:07 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 8:37:07 0 [ERROR] Aborting 2023-05-28 8:39:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 9:35:41 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 9:35:41 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 9:35:41 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 9:35:41 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 9:35:41 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 9:35:41 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 9:35:41 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 9:35:41 0 [Note] InnoDB: Starting shutdown... 2023-05-28 9:35:41 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 9:35:41 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 9:35:41 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 9:35:41 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 9:35:41 0 [ERROR] Aborting 2023-05-28 9:38:10 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 9:38:10 0 [Note] InnoDB: Number of pools: 1 2023-05-28 9:38:10 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 9:38:10 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 9:38:10 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 9:38:10 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 9:38:10 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 9:38:10 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 9:38:10 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 9:38:10 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 9:38:10 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 9:38:10 0 [Note] InnoDB: Starting shutdown... 2023-05-28 9:38:10 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 9:38:10 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 9:38:10 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 9:38:10 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 9:38:10 0 [ERROR] Aborting 2023-05-28 9:39:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 9:39:50 0 [Note] InnoDB: Number of pools: 1 2023-05-28 9:39:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 9:39:50 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 9:40:52 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 9:40:52 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 9:40:52 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 9:40:52 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 9:40:52 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 9:40:52 0 [Note] InnoDB: Starting shutdown... 2023-05-28 9:40:52 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 9:40:52 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 9:40:52 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 9:40:52 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 9:40:52 0 [ERROR] Aborting 2023-05-28 9:46:33 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 9:46:33 0 [Note] InnoDB: Number of pools: 1 2023-05-28 9:46:33 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 9:46:33 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 9:46:33 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 9:46:33 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 9:46:33 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-28 9:46:33 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-28 9:46:33 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-28 9:46:33 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-28 9:46:33 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-28 9:46:33 0 [Note] InnoDB: Starting shutdown... 2023-05-28 9:46:33 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-28 9:46:33 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-28 9:46:33 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-28 9:46:33 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-28 9:46:33 0 [ERROR] Aborting 2023-05-28 9:55:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-28 9:55:17 0 [Note] InnoDB: Number of pools: 1 2023-05-28 9:55:17 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-28 9:55:17 0 [Note] InnoDB: Using Linux native AIO 2023-05-28 9:55:17 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-28 9:55:17 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-28 9:55:17 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-31 8:33:10 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-31 8:33:10 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-31 8:33:10 0 [ERROR] Aborting 2023-05-31 9:56:37 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-31 9:56:37 0 [Note] InnoDB: Number of pools: 1 2023-05-31 9:56:37 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-31 9:56:37 0 [Note] InnoDB: Using Linux native AIO 2023-05-31 9:56:37 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-31 9:56:37 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-31 9:56:37 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-31 9:56:37 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-31 9:56:37 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-31 9:56:37 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-31 9:56:37 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-31 9:56:37 0 [Note] InnoDB: Starting shutdown... 2023-05-31 9:56:38 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-31 9:56:38 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-31 9:56:38 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-31 9:56:38 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-31 9:56:38 0 [ERROR] Aborting 2023-05-31 10:38:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-31 10:38:24 0 [Note] InnoDB: Number of pools: 1 2023-05-31 10:38:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-31 10:38:24 0 [Note] InnoDB: Using Linux native AIO 2023-05-31 10:38:24 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-31 10:38:24 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-31 10:38:24 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-31 10:38:24 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-31 10:38:24 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-31 10:38:24 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-31 10:38:24 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-31 10:38:24 0 [Note] InnoDB: Starting shutdown... 2023-05-31 10:38:24 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-31 10:38:24 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-31 10:38:24 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-31 10:38:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-05-31 10:38:24 0 [Note] InnoDB: Number of pools: 1 2023-05-31 10:38:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-05-31 10:38:24 0 [Note] InnoDB: Using Linux native AIO 2023-05-31 10:38:24 0 [Note] InnoDB: Initializing buffer pool, total size = 268435456, chunk size = 134217728 2023-05-31 10:38:24 0 [Note] InnoDB: Completed initialization of buffer pool 2023-05-31 10:38:24 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=11186502092,11186502092 2023-05-31 10:38:24 0 [ERROR] InnoDB: Malformed log record; set innodb_force_recovery=1 to ignore. 2023-05-31 10:38:24 0 [Note] InnoDB: Dump from the start of the mini-transaction (LSN=11186502092) to 100 bytes after the record: len 103; hex 2261726773223b613a303a7b7d733a383a22696e74657276616c223b693a333630303b7d7d7d693a313638353039323034393b613a313a7b733a34363a2266616365626f6f6b5f666f725f776f6f$ 2023-05-31 10:38:24 0 [Warning] InnoDB: Log scan aborted at LSN 11186557952 2023-05-31 10:38:24 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error 2023-05-31 10:38:24 0 [Note] InnoDB: Starting shutdown... 2023-05-31 10:38:24 0 [ERROR] Plugin 'InnoDB' init function returned error. 2023-05-31 10:38:24 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-05-31 10:38:24 0 [Note] Plugin 'FEEDBACK' is disabled. 2023-05-31 10:38:24 0 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-05-31 10:38:24 0 [ERROR] Aborting

jotamartos commented 1 year ago

You are getting a "Malformed log record" error message. There are similar tickets in this forum regarding this issue, please take a look at them.

https://github.com/bitnami/vms/issues?q=is%3Aissue+%22Malformed+log+record%22

Ivaan09 commented 1 year ago

Nothing work

bitnami@ip-172-26-10-171:~$ wp plugin deactivate --all
 18:51:13.25 ERROR ==> Please run this script as a superuser, to be able to execute WordPr
ess CLI with the proper user
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ sudo wp plugin deactivate --all
Error: Error establishing a database connection.
bitnami@ip-172-26-10-171:~$ sudo /opt/bitnami/ctlscript.sh restart mariadb

Failed to restart mariadb: Failed to restart mariadb
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ mysql -uroot -p... -e"SET GLOBAL innodb_fast_shutdown = 0"
ERROR 2002 (HY000): Can't connect to local server through socket '/opt/bitnami/mariadb/tmp
/mysql.sock' (111)
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ service mysql stop
-bash: service: command not found
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ mv /var/lib/mysql/ib_logfile[01] /tmp
mv: cannot stat '/var/lib/mysql/ib_logfile[01]': No such file or directory
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ service mysql start
-bash: service: command not found
bitnami@ip-172-26-10-171:~$ sudo mysql -uroot -p... -e"SET GLOBAL innodb_fast_shutdown = 0
"
ERROR 2002 (HY000): Can't connect to local server through socket '/opt/bitnami/mariadb/tmp
/mysql.sock' (111)
bitnami@ip-172-26-10-171:~$ 
bitnami@ip-172-26-10-171:~$ 
Ivaan09 commented 1 year ago

Applied everything but unable to start mariaDB urgent help needed in this ....

jotamartos commented 1 year ago

What changes did you apply to the database? From your commands, you are just trying to access the database, but I do not know if you set the innodb_force_recovery parameter in the database's configuration file.

As I mentioned above, there are several cases that explain how to solve this. Please follow them and apply the required changes before trying to start the database. You can also take a look at the database's official documentation to know more about how to recover the database

github-actions[bot] commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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.