Posts

Remember the path young Padawan

Always remember to use the complete path in your CRON scripts.  The script below will check to see if your server can ping a router, if it fails it will restart your network.  This scripts works on Red Hat based Linux systems like CentOS and Fedora. #!/bin/bash ROUTER_IP=XXX.XXX.XXX.XXX ( ! /bin/ping -c1 $ROUTER_IP >/dev/null 2>&1 ) && /etc/rc.d/init.d/./network restart I am posting this to my blog as a reminder to myself (and others if this shows up in a search) to always use the full path to files when you use them in a CRON.  You can always run the script the command line as some user and it will work.  When you put it in the CRON it will fail. What the heck is a Padawan ?

Speed Test in Leesburg from 173.20.77.86

Image
[caption id="" align="alignnone" width="300" caption="Birchwood Speed Test"] [/caption] Really slow connection here at Leesburg, GA using Mediacom [caption id="" align="alignnone" width="300" caption="Leesburg to Dallas Speed Test"] [/caption]

Oracle® Database Backup and Recovery User's Guide 11g

Scripting RMAN Operations RMAN supports the use of command files to manage recurring tasks such as weekly backups. A command file is a client-side text file containing RMAN commands, exactly as you enter them at the RMAN prompt. You can use any file extension.The RUN command provides a degree of flow-of-control in your scripts. To create and run a command file: 1.Use a text editor to create a command file. For example, create a command file with the following contents: # my_command_file.txt CONNECT TARGET / BACKUP DATABASE PLUS ARCHIVELOG; LIST BACKUP; EXIT; 2.Start RMAN and then execute the contents of a command file by running the@ command at the RMAN prompt: % rman RMAN> @/my_dir/my_command_file.txt # runs specified command file You can also launch RMAN with a command file to run, as shown here: % rman @/my_dir/my_command_file.txt Reporting on RMAN Operations The RMANLIST andREPORT commands generate reports on backup activities based on the RMAN repository. Use the SHOW ALL comma...

Pandora Radio playing Dido's Thank-You

Image
[caption id="attachment_1877" align="alignleft" width="251" caption="Pandora Radio playing Dido's Thank-You"] [/caption] This song was on a CD of music that my wife gave to me.

Paragon Square Porcelain White Coupe Plate

Image
I have always admired restaurant quality construction and dinnerware. This afternoon when Sylvia and I were eating in a Ruby Tuesday's in Americas, GA I found myself admiring the square dinner plates. I have always noticed square dinner plates. So I decided to search them out on the Internet and post them on my blog as a reference for later shopping use. This Paragon Square Coupe Plate is sure to enhance your tabletop and food presentations.  Also compliments the Dover, Bristol, Coupe and Quad lines and all our other shaped restaurant dinnerware lines. The Paragon Square Coupe white plate is sure to spice up any tabletop. Vitrified chinaware for commercial foodservice durability makes our restaurant dinnerware the top choice for restaurants. via Paragon Square Porcelain White Coupe Plate .

Linux Bugs

I was trying to restart my network on my Fedore14 box with a crontab. I got this error /etc/init.d/functions: line 51: /dev/stderr: Permission denied Apparently I have fallen prey to an official bug Bug 650103 - /etc/init.d/functions: line 51: /dev/stderr: Permission denied I like it when I discover that I am not doing anything wrong and it is the software that is at fault.

Pandora Radio

Image
Finally after over 20 years on the Internet I have paid for an Internet Radio service.