提供:すだちWiki
移動先: 案内検索

ヘルプ:サーバーエラーログ

メインページ > ヘルプ:目次 > ヘルプ:自宅サーバーの管理(CentOS7)  > サーバーエラーログ

Apacheのエラーログ

  • sudachi.jp
[root@host3 ~]# tail -f /var/log/httpd/error_log
[root@host3 ~]# tail -f /var/log/httpd/ssl_error_log

停止は「Ctrl」キーを押しながら「c」キーを押す。

バーチャルホストのエラーログ

  • awajp.com
[root@host3 ~]# tail -f /var/log/httpd/awajp.com-error_log
[root@host3 ~]# tail -f /var/log/httpd/awajp.com-ssl_error_log
  • sudachiweb.com
[root@host3 ~]# tail -f /var/log/httpd/sudachiweb.com-error_log
[root@host3 ~]# tail -f /var/log/httpd/sudachiweb.com-ssl_error_log
  • sudachi-net.com
[root@host3 ~]# tail -f /var/log/httpd/sudachi-net.com-error_log
[root@host3 ~]# tail -f /var/log/httpd/sudachi-net.com-ssl_error_log

データベースサーバー(MariaDB)

[root@host3 ~]# tail -f /var/log/mariadb/mariadb.log

停止は「Ctrl」キーを押しながら「c」キーを押す。

メールサーバー(postfix)

[root@host3 ~]# tail -f /var/log/maillog

停止は「Ctrl」キーを押しながら「c」キーを押す。

yum ログ

[root@host3 ~]# cat /var/log/yum.log