[pca] trying unsuccesfully to run pca on a jumpstart finish script
Martin Paul
martin at par.univie.ac.at
Thu Dec 18 11:31:46 CET 2008
Hi,
> While installing solaris10 u6, in the jumpstart finish script I'm
> trying to run pca to install from my local proxy all the patchs taken
> from the latest patchdiag.xref
I'm doing the same here, so I can confirm that it works.
> Here is what I put in my finish script (previously pca had been
> copied to /usr/sbin and BASE had been set to /a) :
The first advice is to add "--debug" before trying the next time, as
this will provide more information about what failed. And testing
jumpstart finish scripts is tedious enough.
> ${BASE}/usr/sbin/pca --install --wget=${BASE}/usr/sfw/bin/wget \
> --root=${BASE} --patchdir=${BASE}/tmp --xrefdir=${BASE}/tmp \
> --xrefurl="http://server.domain/cgi-bin/pca-proxy.cgi" \
> --patchurl="http://server.domain/cgi-bin/pca-proxy.cgi"
Have you checked the apache access log files on the local proxy to see
whether the client actually connected? Most probably the problem is that
you are using "server.domain" where you should use the IP address of the
server instead. During install the naming services might not be running
in the same complete way as after the first reboot after installation.
I think that it should be OK to use ${BASE}/usr/sfw/bin/wget, although
I'm using a copy which I put into the same directory as the finish
script and use it with "--wget=./wget".
Otherwise it looks fine. If it's not the naming issue mentioned above,
debug output should provide more insight in what's going wrong.
Hope that helps,
Martin.
More information about the pca
mailing list