1831651 Members
2049 Online
110029 Solutions
New Discussion

Re: swinstall hangs

 
Ravi_29
Occasional Contributor

swinstall hangs

Hi,

I am trying to install a software depot on an A-Class m/c (OS 11.11). swinstall hangs after the target connection phase. i.e., it hangs after giving the following prints :

02/17/03 19:09:21 IST BEGIN swinstall SESSION
(non-interactive) (jobid=aph-a2-0213)

* Session started for user "root@aph-a2".

* Beginning Selection
* Target connection succeeded for "aph-a2:/".


Can somebody help me in debugging this problem ?

Thanks in advance
mrpr
Query
6 REPLIES 6
Chris Vail
Honored Contributor

Re: swinstall hangs

We'll need more details: are you trying to install from tape, from a CD, from a depot? What exact command did you type to start this process?



Chris
Jerome Baron
Respected Contributor

Re: swinstall hangs

Hi,

It's possible hang if you have the option mount_all_filesystems=true and some problem in /etc/fstab file.
Can you check if is fstab file correct ?

What's version of swinstall are you using ?
Have you a message in swagent.log ?

Regards,
Jerome
Ravi_29
Occasional Contributor

Re: swinstall hangs

Hi Chris & Jerome,

Thanks a lot for the inputs. I was trying to install a depot. The depot is in a directory which is NFS mounted on the system. I used the following option :

swinstall -s /aph-cvs1/CPQswsp.depot CPQswsp

where /aph-cvs1 is a NFS mountpoint.

swinstall hung when i did the above.

I copied the depot to a local directory on the system and swinstall worked fine !!! So my problem is resolved in this way. But i am curious to know why it hung when I tried to install the depot which is in the NFS mounted directory.

Also i checked the fstab file and everything looked fine ( I confirmed it by doing "mountall" command.)

Thanks again
mrpr
Query
Ravi_8
Honored Contributor

Re: swinstall hangs

Hi,

could you post /var/adm/sw/swinstall.log file.

problem seems to be all the file systems in fstab are not mounted
never give up
Ravi_29
Occasional Contributor

Re: swinstall hangs

Hi,

I am attaching the swagent.log, swinstall.log and swagentd.log files.

I have mounted all the filesystems specified in the /etc/fstab ( using mountall command.).
Also one more observation, the NFS mounts that are specified in the /etc/fstab are not getting mounted after reboot, i have to mount them explicitly using mountall command. Is it in some way related to the swinstall hang ?

Also i tried to install specifying mount_all_filesystems=false, still the hang problem is there.

Thanks & Regards
mrpr

----------- swagentd.log------------------------
======= 02/18/03 12:32:06 IST BEGIN swagentd (pid = 1237).

* Checking job queue at 1 minute intervals.
* Started install agent on "/" for root@aph-a2.india.hp.com,
pid=4370, 02/18/03 13:24:29 IST
* Started source agent on
"/aph-cvs1/users/mrpr/3.0b_dlkm_pt_evalit/feb_11/CPQswsp.11_11_64.NOT_FOR_DISTRIBUTION.030481548.depot"
for root@aph-a2.india.hp.com, pid=4373, 02/18/03 13:24:30 IST

-------------End swagentd.log------------------------

---------- Start swagent.log------------------------

====== 02/18/03 13:24:29 IST BEGIN install AGENT SESSION (pid=4370)
(jobid=aph-a2-0219)

* Agent session started for user "root@aph-a2.india.hp.com".
(pid=4370)

---------- End swagent.log------------------------

---------- Start swinstall.log------------------------
======= 02/18/03 13:24:28 IST BEGIN swinstall SESSION
(non-interactive) (jobid=aph-a2-0219)

* Session started for user "root@aph-a2".

* Beginning Selection
* Target connection succeeded for "aph-a2:/".

---------- End swinstall.log------------------------
Query
Jerome Baron
Respected Contributor

Re: swinstall hangs

Hi,

To allow swinstall to install files to a nfs mounted filesystem:

1) verify superuser can write to the remote filesystem

2) start swinstall using -x write_remote_files=true
swinstall -x write_remote_files=true

Regards,
Jerome