Page 1 of 2
Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 00:16
by swinstu
Hi,
I would like to know if there is an easy way of performing an end task (kill) on the application that runs "Swinst Options", as I have encountered a few systems that seem to lock up swinst from time to time, mainly Release 7.1 OXE systems. Any feedback would be appreciated. Thanks
Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 02:29
by Eliott_DUP
lock up swinst
Can you describe the behavior more detailed?
"Swinst" is not a single process.
It's a collection of scripts and binaries (see /DHS3bin/soft_install/bin/ directory)
Normally the only option which makes trouble is the backup but in R7.1 there should be the option to override the lockfile.
In older versions you have to enter
rm -rf BCK_working in the tmp or tmpd directory. (check which one before)
If you have other trouble, you could try a "trace":
Switch to user root
Edit the file /DHS3bin/soft_install/bin/bck and add a line
set -x at the beginning of the file
Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 10:41
by cavagnaro

Elliot by a chance you helped on OXE development at some time????
Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 10:52
by knightr1der
cavagnaro wrote:
Elliot by a chance you helped on OXE development at some time????
Yeah - in his sleep
Just don't forget who Eliott works for Cav - Europe's premier Alcatel BP

same as errrrrrrrmmmmmm

Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 10:57
by cavagnaro
Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 11:44
by knightr1der
Nothing can e
Xplain y
Our stupidity!

Re: Swinst locked or does not load with easy and expert options
Posted: 21 Apr 2008 15:03
by Eliott_DUP
cavagnaro wrote:
Elliot by a chance you helped on OXE development at some time????
No. Just more than 10 years experience...
Re: Swinst locked or does not load with easy and expert options
Posted: 22 Apr 2008 01:31
by swinstu
Can you describe the behavior more detailed?
"Swinst" is not a single process.
It's a collection of scripts and binaries (see /DHS3bin/soft_install/bin/ directory)
Normally the only option which makes trouble is the backup but in R7.1 there should be the option to override the lockfile.
In older versions you have to enter rm -rf BCK_working in the tmp or tmpd directory. (check which one before)
If you have other trouble, you could try a "trace":
Switch to user root
Edit the file /DHS3bin/soft_install/bin/bck and add a line set -x at the beginning of the file
Thanks for the quick reponse Elliot. I am only talking about the part whereby we can access the swinst menu after entering the swinst command and password which loads with Easy and Expert Menu and since this menu does not load, even after a 20 minutes, I am unable to perform immediate backups. An example of what loads is
below:
(Note: this is from a release 6.1 system)
Alcatel OmniPCX Enterprise
standard installation last performed: 29-Jan-1992 06:05:59
# The role of the CPU is MAIN
Application software identity
R6.1.1-f2.502-12-d-as-c80s1
Business identification: R6.1.1
Release:
DELIVERY f2.502
Patch identification: 12
Dynamic patch identification: d
Country: as
Cpu: c80s1
ACD VERSION
release : 6
bug_fixing : 1
protocol_id : 90
version_dy_hr_stat : 11
(31)xa000000> swinst
Password:
Last installed delivery
DELIVERY f2.502.12.d
Is there any means of resolving this issue. A colleague of mine suggested: su swinst (password) then Cntrl+D and then swinst (password) but this does not work all the time.
Thanks once again.
Cheers
Re: Swinst locked or does not load with easy and expert options
Posted: 22 Apr 2008 01:46
by Eliott_DUP
Try this:
su <Return> (and enter root password)
vi /usr2/soft_install/bin/.profile <Return>
i (for insert)
set -x <Return> (add this line)
<ESC> :wq <Return> (ESCape for command mode and :wq for write and quit)
Then type swinst and post the output.
To remove the set -x line:
vi /usr2/soft_install/bin/.profile <Return>
dd (for delete line)
<ESC> :wq <Return> (ESCape for command mode and :wq for write and quit)
If you do a mistake, cancel the vi with
<ESC> :q! <Return> (ESCape for command mode and :q! for quit w/o writing)
Re: Swinst locked or does not load with easy and expert options
Posted: 23 Apr 2008 07:04
by swinstu
Thank you very much, I will give that ago next time I come across any issues relating to swinst menu.