I am trying to log the kernel logs when it crashes, however the configuration is not working for me.
I tried with netcat if the communication worked, and yes, I was able to connect to port 5555 by UDP.
Server 1
# cat /etc/default/grub
--
Server 2
# screen nc -l -p 5555 -u
--
Server 1
# reboot
--
Server 2
I do all the steps as explained in the guide but I can't get the file to be saved
I tried with netcat if the communication worked, and yes, I was able to connect to port 5555 by UDP.
Server 1
# cat /etc/default/grub
Bash:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet netconsole=5555@152.128.0.4/eth0,5555@162.128.0.14/08:00:27:d4:f5:ae loglevel=7"
GRUB_CMDLINE_LINUX=""
--
Server 2
# screen nc -l -p 5555 -u
--
Server 1
# reboot
--
Server 2
Bash:
root@test2:~# cat /var/log/netconsole/152.128.0.4.log
cat: /var/log/netconsole/152.128.0.4.log: No such file or directory
I do all the steps as explained in the guide but I can't get the file to be saved
Last edited: