[clug] logging installation steps

Nerdvana - Steve Walsh S.walsh at nerdvana.com.au
Mon Aug 15 08:34:12 GMT 2005

Hello Cluggers

I have the need to monitor the running of a shell script to ensure
successful installation. What I do now is;

#mkdir /home/whm
#cd /home/whm
#wget http://install.example.com/latest
#sh latest

Now, last time I ran this script it got locked up on MySQL when the script
referred to a domain that expired and was trying to download a page full of
JavaScript as an RPM (the programmer had for some reason decided that the
internet is a fairly static kinda thing, and therefore he wouldn't need to
check that the files he was downloading were actually a valid RPM).

Now, before I kick this off again, I want to make sure that I have a log of
everything that happened after I start this off (it normally takes about 9
hours). Now, I can also log in with Putty and enable logging, but I get a
whole bunch of unprintable characters in the middle which I don't want to
wade through, as well as risk losing important information if the connection
is lost for some reason. I would prefer to be able to do it at the host on
VC/1 where possible.

Does anyone have ideas on the best way to log something like this for later

Stephen Walsh
Nerdvana Systems Pty Ltd
Ph:02 626 22 555

<snip legal>

More information about the linux mailing list