Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When I run: systemctl status mariadb monit - I receive the following set of errors:
- > ● mariadb.service - MariaDB 10.6.22 database server
- Loaded: loaded (/usr/lib/systemd/system/./mariadb.service; enabled; vendor preset: disabled)
- Drop-In: /etc/systemd/system/mariadb.service.d
- └─migrated-from-my.cnf-settings.conf, override.conf
- Active: failed (Result: exit-code) since Sun 2025-07-13 04:25:49 CDT; 4s ago
- Docs: man:mariadbd(8)
- https://mariadb.com/kb/en/library/systemd/
- Process: 3001290 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, s>
- Process: 3001287 ExecStartPre=/etc/systemd/user/mysqlcheck.sh (code=exited, status=0/SUCCESS)
- Process: 3001224 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery>
- Process: 3001223 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUC>
- Main PID: 3001290 (code=exited, status=1/FAILURE)
- Status: "MariaDB server is down"
- > Jul 13 04:25:46 ktulu.co systemd[1]: Starting MariaDB 10.6.22 database server...
- Jul 13 04:25:49 ktulu.co systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
- Jul 13 04:25:49 ktulu.co systemd[1]: mariadb.service: Failed with result 'exit-code'.
- Jul 13 04:25:49 ktulu.co systemd[1]: Failed to start MariaDB 10.6.22 database server.
- > ● monit.service - Pro-active monitoring utility for unix systems
- Loaded: loaded (/usr/lib/systemd/system/monit.service; enabled; vendor preset: disabled)
- Active: active (running) since Mon 2025-04-21 21:18:08 CDT; 2 months 21 days ago
- Docs: man:monit(1)
- https://mmonit.com/wiki/Monit/HowTo
- Main PID: 3035 (monit)
- Tasks: 2 (limit: 12378)
- Memory: 13.2M
- CGroup: /system.slice/monit.service
- └─3035 /usr/bin/monit -I
- > Jul 13 04:17:12 ktulu.co monit[3035]: 'mysqlconn' stop: '/etc/monit.d/bins/mysqlkill.sh'
- Jul 13 04:17:12 ktulu.co monit[3035]: 'mysql' start: '/usr/bin/systemctl start mariadb'
- Jul 13 04:22:19 ktulu.co monit[3035]: 'mysql' failed to start (exit status 1) -- '/usr/bin/systemctl start mariadb': Jo>
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- Jul 13 04:24:49 ktulu.co monit[3035]: Mail: Error receiving data from the mailserver -- Resource temporarily unavailable
- Jul 13 04:24:49 ktulu.co monit[3035]: Alert handler failed, retry scheduled for next cycle
- Jul 13 04:25:20 ktulu.co monit[3035]: 'postfix' failed protocol test [SMTP] at [localhost]:25 [TCP/IP] -- Error receivi>
- Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' process is not running
- Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' trying to restart
- Jul 13 04:25:46 ktulu.co monit[3035]: 'mysqlconn' stop: '/etc/monit.d/bins/mysqlkill.sh'
- Jul 13 04:25:46 ktulu.co monit[3035]: 'mysql' start: '/usr/bin/systemctl start mariadb'
- When I run: systemctl restart mariadb - I receive this:
- >Job for mariadb.service failed because the control process exited with error code.
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- I then ran journalctl -xe and get this:
- > Jul 13 04:30:40 ktulu.co bash[3002116]: [/usr/local/apnscp/artisan:69]
- Jul 13 04:30:40 ktulu.co bash[3002116]: Migrations have not completed yet. Update cannot proceed!
- Jul 13 04:30:40 ktulu.co bash[3002116]: Run the following command to apply migrations, correcting failure as necessary:
- Jul 13 04:30:40 ktulu.co bash[3002116]: cd /usr/local/apnscp && ./artisan migrate --force
- Jul 13 04:30:40 ktulu.co bash[3002116]: To force an update to latest code, run the following command:
- Jul 13 04:30:40 ktulu.co bash[3002116]: cd /usr/local/apnscp && upcp -f && ./artisan migrate --force
- Jul 13 04:30:40 ktulu.co cp/cli[3002146]: Login succeeded 127.0.0.1 - ktulu/NULL
- Jul 13 04:30:40 ktulu.co kernel: traps: apnscp_php[3002149] general protection fault ip:7e0d82 sp:7ffcc8efc710 error:0 >
- Jul 13 04:30:40 ktulu.co systemd[1]: apnscp-flare-check.service: Succeeded.
- -- Subject: Unit succeeded
- -- Defined-By: systemd
- -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- The unit apnscp-flare-check.service has successfully entered the 'dead' state.
- Jul 13 04:30:40 ktulu.co systemd[1]: Started apnscp emergency update check.
- -- Subject: Unit apnscp-flare-check.service has finished start-up
- -- Defined-By: systemd
- -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit apnscp-flare-check.service has finished starting up.
- --
- -- The start-up result is done.
- Jul 13 04:30:51 ktulu.co postfix/proxymap[3002153]: fatal: error [-30986] seeking /var/lib/postfix/smtpd_scache.db: App>
- Jul 13 04:30:52 ktulu.co postfix/tlsmgr[3791]: warning: dict_proxy_sequence: service proxywrite: Application error
- Jul 13 04:30:52 ktulu.co postfix/master[2768]: warning: process /usr/libexec/postfix/proxymap pid 3002153 exit status 1
- Jul 13 04:30:52 ktulu.co postfix/master[2768]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
- Jul 13 04:30:53 ktulu.co monit[3035]: 'mysql' failed to start (exit status 1) -- '/usr/bin/systemctl start mariadb': Jo>
- See "systemctl status mariadb.service" and "journalctl -xe" for details.
- 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