fbpx

Solutions

How to configure netconsole under Rocky Linux 8 ?

by ,


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

Operating System and Software

  • Rocky Linux 8
    • netconsole-service

Problem

  • How to configure netconsole under Rocky Linux 8 ?

How to Fix

  • netconsole is configured via the file /etc/sysconfig/netconsole, which is part of the netconsole-service package.
  • This package needs to be installed which provides the netconsole service.
# yum install netconsole-service
  • Once package is installed set the variable SYSLOGADDR to the IP address of the syslogd server In the /etc/sysconfig/netconsole file
SYSLOGADDR=192.168.0.1
  • Restart the netconsole.service for the changes to take effect
# systemctl restart netconsole.service
  • Enable netconsole.service to run after rebooting the system
# systemctl enable netconsole.service
  • The netconsole messages from the client logged in the /var/log/messages file (default) or in the file specified in rsyslog.conf.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.