Operating System - HP-UX
1833767 Members
2054 Online
110063 Solutions
New Discussion

swinstall freeze at the end of installation

 
Herve BRANGIER
Respected Contributor

swinstall freeze at the end of installation

Hi,

I made a product with SDUX and now I want to
install it. Last revision works well and I just
change a file on the new version.

Now when I install from my depots' server it
works well but when I put it on a file (depot
with some product on it, with swpackage ... -x
target_type=tape ....) swinstall doesn't work.
Sometimes installation is 2/3 minutes long (for
41Ko !!!) and sometimes it is hang !!!

I think the problem comes from tlinstall, but
I don't know what it do and how it works ?

Thanks by advance for you ideas,

Herv?

7 REPLIES 7
Herve BRANGIER
Respected Contributor

Re: swinstall freeze at the end of installation

I forgot...

I use HPUX 11.00

Herv?
eran maor
Honored Contributor

Re: swinstall freeze at the end of installation

Hi

check first if you can run swlist to this depot - # swlist -s /depot_name .

if you are package a software with swcopy and swpackage on system 10.20 and this product is for 11.00 you need to use in the swcopy an option explen with command :

swcopy -x layout_version=0.8 -s /cdrom
swpackage -d /name_depot.depot -s /source -x target_type=tape for depot .

try it , if i understand you this option layout_version will solve your problem .
love computers
Herve BRANGIER
Respected Contributor

Re: swinstall freeze at the end of installation

Hi,

I made my depot in an HPUX 11.00 system so I
think the layout version's value is 1.0

Better description of my problem :

1) I made a new version of a product
(modifying a file but nothing in PSF or postinstall)

2) swpackage to a depot server
3) Try to install from this server : OK
4) use swpackage to make a depot :
swpackage -s -x target_type= tape

5) Try to install from this depot : sometimes
it make a long time or hang swinstall command !
Swinstall is freeze at the "execution begining"

6) If I make Ctrl+C installation is OK !!!
But there is an error AFTER the end of the installation :


===============================================
* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 6
* Kbytes: 41
* Installing fileset "InstallHPUX11.OutilsInstalls,r=2.1" (1 of
1).
NOTE: Changement des droits en 777
* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Execution Phase succeeded.

ERROR: Commit of job status information failed. Interim status can
not be retrieved using the "swjob" command.
===============================================

All operations where made on HPUX 11.00 systems.

Thx

Herv?


eran maor
Honored Contributor

Re: swinstall freeze at the end of installation

Hi

this is a diff. issue .
i will start with
1. killing the swinstall ( if exist )
2. kill the swagent and then restart him .
3. try to move the depot to a diff. system to see if it a computer problem or the depot is not good .
4. check the swagant.log , swinstall.log for error .
5. check to see that you have all the SD_UX patches install
PHCO_23578
PHCO_23966

the problem that you have can happen with promision problem with the SD-UX or problem that you have with installing in the past products or patches .

cant think about somethink else .
love computers
Herve BRANGIER
Respected Contributor

Re: swinstall freeze at the end of installation

Hi

I try and verify your differents points...
But nothing change !

I saw something : there is a long time for the
execution of tlinstall
In swagent.log I saw :


* Running install clean command /usr/lbin/sw/install_clean.
NOTE: tlinstall is searching filesystem - please be patient

==+>>>>> Not log but comments : wait 1 to more
than 10 minutes....

NOTE: Successfully completed

Ok it's seems to works sometimes but sometimes
swinstall is hang...

Regards,

Herv?
Sridhar Bhaskarla
Honored Contributor

Re: swinstall freeze at the end of installation

While the tinstall is hanging, try to do a bdf on the system. I observed most of the times that due to NFS problems, tinstall was hung. I had to fix the NFS problem before I could get it going.

Also, the installation is dependent on pre and post installation scripts. Check those scripts for any problems.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Wodisch
Honored Contributor

Re: swinstall freeze at the end of installation

Hello,

IIRC then the option "-d" was never working reliably!
Change your syntax to something like
swpackage -s /depot YOURAPPNAME -x... @ /target

and test it now - this should be working!
Of course, you may check for patches ;-)

HTH,
Wodisch