Skip to main content

httpd and mariadb are down



  • rbairwell

    Does "journalctl -u mariadb.service" give any indication as to why (same with "journalctl -u httpd.service").

    I take it you've tried the simple solution of just restarting the server? If you do get "Disk full" issues, it can leave Linux in a very "odd" state and rebooting is usually the easiest/quickest way of resolving (at least it's not as bad as Windows if the boot drive isn't writable..).

  • MilesWeb

    Execute the following command to obtain the log-error file path for MariaDB. Review the error logs during the service startup to obtain precise details about the service failure.
    cat /etc/my.cnf

    The output for the file should be like this:

    !includedir /etc/my.cnf.d

    log-error = /var/log/mysqld.log
    performance-schema = 0
    innodb_buffer_pool_size = 134217728
    max_allowed_packet = 268435456
    open_files_limit = 40000
    innodb_file_per_table = 1
    unix_socket = OFF

    tail -f /var/log/mysqld.log

    Likewise, examine the error logs to access Apache failure records, enabling you to pinpoint and address specific issues for both services.
    tail -f /usr/local/apache/logs/error_log


Please sign in to leave a comment.