Super short post today. To troubleshoot syslog message you can use tcpdump. You will need to use -A option so that you can view the message
# tcpdump -A -i eth0 port 601
Super short post today. To troubleshoot syslog message you can use tcpdump. You will need to use -A option so that you can view the message
# tcpdump -A -i eth0 port 601
When the logical volume is 100% used and you try to extend the logical volume, you will likely encounter the following error.
# lvextend -L+5G /dev/mapper/vgname_lvname
Couldn't create temporary archive name.
Volume group "vgname" metadata archive failed.
A quick way to extend even when the volume is 100% utilize is by disabling autobackup (using -An)
# lvextend -An -L+5G /dev/mapper/vgname_lvname
Until next time!!!
Recently I saw an application that run on 127.0.0.1 port 8080 on the server that I need to access from my workstation. The easiest way to access this is to use ssh tunneling.
To tunnel remote port to local machine, you can just perform the following:
ssh -g -L 9999:localhost:8080 -f -N username@remoteip
This will allow your local machine port 9999 to be tunneled to the remote machine application on port 8080
Launch your browser and login to http://localhost:9999 and you will be accessing the application running on the server localhost.
Until next time :)