If you need to automatically fill in inputs on shell scripts you can’t use echo as it will pass it as an argument to the shell script instead of writing it to stdin for the script. Instead use printf. Below is an example of using it for an OSSEC install: # printf “en\n\nlocal\n\nn\n\n\n\n\n\n\n\n\n” | ./install.sh
If you are using CentOS rescue to fix a server and it can not automatically map/find/rebuild/whatever the directory structure correctly you may find this useful. Using chroot after fixing everything yourself does not populate the /dev /proc and /sys directories so you need to do it yourself, if the rescue image finds the install automatically […]
Cisco devices by default use PAgP (Port Aggregation Protocol) when establishing EtherChannel connections between devices. PAgP is a proprietary protocol that is exclusive to Cisco systems. LACP is a protocol that accomplishes the same thing but is universal and thus available on Juniper devices. Here’s how to set them up. Cisco side. Here’s the configuration […]
THE RESOLUTION OF THIS PROBLEM IN THIS POST IS DIRECTLY RELATED TO SYSTEMS RUNNING ARECA RAID CONTROLLERS BUT MAY APPLY TO OTHER SYSTEMS REQUIRING DISK RELATED DRIVERS. Upon booting a server after a CentOS kernel upgrade it was no longer able to boot. The update was specifically from kernel 3.10.0-123.el7.x86_64 to 3.10.0-229.11.1.el7.x86_64 but these details have nothing […]
This error was showing in the R1soft/CDP/Idera (whatever you want to call it) server.log when trying to pull all of our Disk Safe data using the API: The conglomerate (2,849) requested does not exist It was causing the API call to fail and our script to stop functioning. After some investigation I deduced that R1soft […]
I’m blogging now.