Although it was not my problem a very good explanation came from "Parkes, Lloyd" <lloyd.parkes@eds.com> what can cause jumpstart to break, by redirecting the postinstall script output to a log file. %------------------------------------------------------------------------- From: "Parkes, Lloyd" <lloyd.parkes@eds.com> I had this same problem. At least I think so. I haven't seen your original message, only the subject line. It was caused by me trying to redirect the postinstall script output to a log file with a command like "exec > /a/var/tmp/logfile 2>&1". The reason for this is that the postinstall script is run in a pipeline and as soon as the script redirects its output the pipeline is broken and the process at the end of the pipeline terminates. The Solaris installer reboots the system as soon as the pipeline terminates, even though your script is still running. The answer is to stop trying to log the output from your script. It turns out that this pipeline is only there to feed the postinstall script output through tee(1) so that it can be logged anyway. The log file gets put under /var/sadm on the machine being jumpstarted, but it took be a while to find it. I can never remember the difference between /var/sadm/system/logs and /var/sadm/install/logs. Cheers, Lloyd Parkes %------------------------------------------------------------------------- > > On Wed, Jun 25, 2003 at 07:42:04PM +0200, Andreas Klemm wrote: > > Sun V240 and V210 simply seem to reset spontaneously during jumpstart > > according to my logfile. > > > > A friend of mine told me, that he made in the past similar experience > > with other SUN hardware platforms. JS server runs, but not with some > > kind of machine, i.e. SS5. > > > > In my case the JS server runs fine with a sun clone (e450 clone), > > a netra, and a 220R, only BIG difference is, that I used Solaris 8 7/02 > > for the old hardware platforms. > > > > With the new machines V210 and V240 I needed Solaris 8 12/02 because > > of the needed hardware support. > > > > Maybe there is a bug in Solaris 12/02 ? > > > > Tomorrow I will have time to install the older machines with the > > new Solaris, to test, if its simply a jumpstart bug in Solaris 8 12/02. > > > > I'd like to hear your experiences, if you had similar results with > > the new machines. > > > > How my jumpstart scripts look like ? See here: > > > > I have one master postinstall script: > > /export/jumpstart/POSTINSTALL/postinstall_didata > > > > Within this script I execute about 26 shell scripts > > Roughly this form: > > > > #! /bin/sh > > # suck in global config > > . $SI_CONFIG_DIR/config.sh > > # suck in machine specific config > > . $SI_CONFIG_DIR/SYSIDCFG/`hostname`/config.sh > > /bin/sh $SI_CONFIG_DIR/POSTINSTALL/01-set_root_password > > /bin/sh $SI_CONFIG_DIR/POSTINSTALL/02-create_toor_account > > [...] > > /bin/sh $SI_CONFIG_DIR/POSTINSTALL/27-foo_bar > > /bin/sh $SI_CONFIG_DIR/POSTINSTALL/99-copy_reboot_stage1_to_jsclient > > > > I started 3 jumpstart runs in parallel > > e450 booting with Solaris 8 07/02 > > v210 booting with Solaris 8 12/02 > > v240 booting with Solaris 8 12/02 > > > > All machines use the same postinstall scripts. > > > > e450 runs fine, no problems. > > v210 resets after postinstall script 09 > > v240 resets after postinstall script 14 > > > > So it doesn't seem to be a script problem. > > It more seems for me to be a "random" problem. > > Additionally the same machine doesn't reset at the same > > script like before ... > > > > Hardware failure ??? > > > > But AFTER installation during normal runtime the machine is > > stable ... strange ... isn't it ??? > > > > Thanks for any pointer ! > > > > Andreas /// > > > > -- > > Andreas Klemm > > Apsfilter Homepage http://www.apsfilter.org > > Support over mailing-lists (only!) http://www.apsfilter.org/support > > Mailing-list archive http://www.apsfilter.org/Lists-Archives > > _______________________________________________ > > sunmanagers mailing list > > sunmanagers@sunmanagers.org > > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > > > > > > > Andreas /// > > -- > Andreas Klemm > Apsfilter Homepage http://www.apsfilter.org > Support over mailing-lists (only!) http://www.apsfilter.org/support > Mailing-list archive http://www.apsfilter.org/Lists-Archives > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Fri Jun 27 02:48:19 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:14 EST