Guest User

Untitled

a guest
Jul 13th, 2025
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. When I run: systemctl status mariadb monit - I receive the following set of errors:
  2.  
  3. > ● mariadb.service - MariaDB 10.6.22 database server
  4. Loaded: loaded (/usr/lib/systemd/system/./mariadb.service; enabled; vendor preset: disabled)
  5. Drop-In: /etc/systemd/system/mariadb.service.d
  6. └─migrated-from-my.cnf-settings.conf, override.conf
  7. Active: failed (Result: exit-code) since Sun 2025-07-13 04:25:49 CDT; 4s ago
  8. Docs: man:mariadbd(8)
  9. https://mariadb.com/kb/en/library/systemd/
  10. Process: 3001290 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, s>
  11. Process: 3001287 ExecStartPre=/etc/systemd/user/mysqlcheck.sh (code=exited, status=0/SUCCESS)
  12. Process: 3001224 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery>
  13. Process: 3001223 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUC>
  14. Main PID: 3001290 (code=exited, status=1/FAILURE)
  15. Status: "MariaDB server is down"
  16.  
  17. > Jul 13 04:25:46 ktulu.co systemd[1]: Starting MariaDB 10.6.22 database server...
  18. Jul 13 04:25:49 ktulu.co systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
  19. Jul 13 04:25:49 ktulu.co systemd[1]: mariadb.service: Failed with result 'exit-code'.
  20. Jul 13 04:25:49 ktulu.co systemd[1]: Failed to start MariaDB 10.6.22 database server.
  21.  
  22. > ● monit.service - Pro-active monitoring utility for unix systems
  23. Loaded: loaded (/usr/lib/systemd/system/monit.service; enabled; vendor preset: disabled)
  24. Active: active (running) since Mon 2025-04-21 21:18:08 CDT; 2 months 21 days ago
  25. Docs: man:monit(1)
  26. https://mmonit.com/wiki/Monit/HowTo
  27. Main PID: 3035 (monit)
  28. Tasks: 2 (limit: 12378)
  29. Memory: 13.2M
  30. CGroup: /system.slice/monit.service
  31. └─3035 /usr/bin/monit -I
  32.  
  33. > Jul 13 04:17:12 ktulu.co monit[3035]: 'mysqlconn' stop: '/etc/monit.d/bins/mysqlkill.sh'
  34. Jul 13 04:17:12 ktulu.co monit[3035]: 'mysql' start: '/usr/bin/systemctl start mariadb'
  35. Jul 13 04:22:19 ktulu.co monit[3035]: 'mysql' failed to start (exit status 1) -- '/usr/bin/systemctl start mariadb': Jo>
  36. See "systemctl status mariadb.service" and "journalctl -xe" for details.
  37. Jul 13 04:24:49 ktulu.co monit[3035]: Mail: Error receiving data from the mailserver -- Resource temporarily unavailable
  38. Jul 13 04:24:49 ktulu.co monit[3035]: Alert handler failed, retry scheduled for next cycle
  39. Jul 13 04:25:20 ktulu.co monit[3035]: 'postfix' failed protocol test [SMTP] at [localhost]:25 [TCP/IP] -- Error receivi>
  40. Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' process is not running
  41. Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' trying to restart
  42. Jul 13 04:25:46 ktulu.co monit[3035]: 'mysqlconn' stop: '/etc/monit.d/bins/mysqlkill.sh'
  43. Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' start: '/usr/bin/systemctl start mariadb'
  44.  
  45.  
  46. When I run: systemctl restart mariadb - I receive this:
  47.  
  48. >Job for mariadb.service failed because the control process exited with error code.
  49. See "systemctl status mariadb.service" and "journalctl -xe" for details.
  50.  
  51.  
  52. I then ran journalctl -xe and get this:
  53.  
  54. > Jul 13 04:30:40 ktulu.co bash[3002116]: [/usr/local/apnscp/artisan:69]
  55. Jul 13 04:30:40 ktulu.co bash[3002116]: Migrations have not completed yet. Update cannot proceed!
  56. Jul 13 04:30:40 ktulu.co bash[3002116]: Run the following command to apply migrations, correcting failure as necessary:
  57. Jul 13 04:30:40 ktulu.co bash[3002116]: cd /usr/local/apnscp && ./artisan migrate --force
  58. Jul 13 04:30:40 ktulu.co bash[3002116]: To force an update to latest code, run the following command:
  59. Jul 13 04:30:40 ktulu.co bash[3002116]: cd /usr/local/apnscp && upcp -f && ./artisan migrate --force
  60. Jul 13 04:30:40 ktulu.co cp/cli[3002146]: Login succeeded 127.0.0.1 - ktulu/NULL
  61. Jul 13 04:30:40 ktulu.co kernel: traps: apnscp_php[3002149] general protection fault ip:7e0d82 sp:7ffcc8efc710 error:0 >
  62. Jul 13 04:30:40 ktulu.co systemd[1]: apnscp-flare-check.service: Succeeded.
  63. -- Subject: Unit succeeded
  64. -- Defined-By: systemd
  65. -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
  66. --
  67. -- The unit apnscp-flare-check.service has successfully entered the 'dead' state.
  68. Jul 13 04:30:40 ktulu.co systemd[1]: Started apnscp emergency update check.
  69. -- Subject: Unit apnscp-flare-check.service has finished start-up
  70. -- Defined-By: systemd
  71. -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
  72. --
  73. -- Unit apnscp-flare-check.service has finished starting up.
  74. --
  75. -- The start-up result is done.
  76. Jul 13 04:30:51 ktulu.co postfix/proxymap[3002153]: fatal: error [-30986] seeking /var/lib/postfix/smtpd_scache.db: App>
  77. Jul 13 04:30:52 ktulu.co postfix/tlsmgr[3791]: warning: dict_proxy_sequence: service proxywrite: Application error
  78. Jul 13 04:30:52 ktulu.co postfix/master[2768]: warning: process /usr/libexec/postfix/proxymap pid 3002153 exit status 1
  79. Jul 13 04:30:52 ktulu.co postfix/master[2768]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
  80. Jul 13 04:30:53 ktulu.co monit[3035]: 'mysql' failed to start (exit status 1) -- '/usr/bin/systemctl start mariadb': Jo>
  81. See "systemctl status mariadb.service" and "journalctl -xe" for details.
  82. Jul 13 04:30:53 ktulu.co dovecot[3102]: imap-login: Disconnected: Aborted login by logging out (no auth attempts in 0 s>
Advertisement
Add Comment
Please, Sign In to add comment