Operating System - HP-UX
1834142 Members
2167 Online
110064 Solutions
New Discussion

Re: swinstall command fails.

 
gurpreet_1
Occasional Advisor

swinstall command fails.

Last step during clearcase 2003.06 installation.

/usr/sbin/swinstall -s /usr/conf/mvfs/CCASE-MVFS -S /usr/conf/mvfs/hpux10_session

======= 03/12/04 21:29:49 MST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@hpb45".

* Beginning Selection
* Target connection succeeded for "hpb45:/".
WARNING: The software specified contains a fileset that changes the
kernel. Either the attribute dynamic_module, used for dynamic
changes, is specified, or the is_kernel attribute, used for
static changes, is set to true.
* Source: /usr/conf/mvfs/CCASE-MVFS
* Targets: hpb45:/
* Software selections:
CCASE-MVFS.ccase-mvfs,a=S700/S800_HP-UX_11.0
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* "hpb45:/": There will be no attempt to mount filesystems that
appear in the filesystem table.
* Analysis succeeded.


* Beginning Execution
ERROR: "hpb45:/": The kernel build script failed.
* The execution phase failed for "hpb45:/".
* Execution had errors.

Hpux machine details:

# uname -a
HP-UX hpb45 B.11.00 U 9000/785 2011711922 unlimited-user license
15 REPLIES 15
AwadheshPandey
Honored Contributor

Re: swinstall command fails.

swinstall -x autoreboot=true -x enforce_dependencies=false -s /usr/conf/mvfs/CCASE-MVFS -S /usr/conf/mvfs/hpux10_session
It's kind of fun to do the impossible
Dennis Handly
Acclaimed Contributor

Re: swinstall command fails.

The log says:
config: error in opening file -- /usr/conf/master.d/sysvipc-tune

Do you have that file?
$ ll /usr/conf/master.d/sysvipc-tune
-r--r--r-- 1 bin bin 349 Jun 5 2003 /usr/conf/master.d/sysvipc-tune
Robert-Jan Goossens
Honored Contributor

Re: swinstall command fails.

TY 007
Honored Contributor

Re: swinstall command fails.

Hello Gurpreet,

# more swagent.log

config: error in opening file
-- /usr/conf/master.d/sysvipc-tune config failure.

Does above sysvipc-tune exist? If not, restore from backup.

Thanks
gurpreet_1
Occasional Advisor

Re: swinstall command fails.

/usr/conf/master.d/sysvipc-tune exists on my machine.

I am not sure if HWE1100 package is installed or not?

How can i check that Quality Pack - QPK1100 and HWE1100 are installed on my machine?

Attaching swagent.log for reference.
Steven E. Protter
Exalted Contributor

Re: swinstall command fails.

Shalom,

swlist -l product | grep -i hwe

That will tell you if HWE is installed. Keeping this up to date is a very good idea.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: swinstall command fails.

>How can i check that Quality Pack - QPK1100 and HWE1100 are installed on my machine?

QPK1100 was already installed. To check HWE1100, do a swlist and look for it:
# swlist | grep HWE1100

Now you are getting these errors:
WARNING: No such device, tunable, or cdio mvfs.
Ignoring the following line.
mvfs
config: cannot open file -- /stand/build/dlkm.vmunix_test/system
config failure.
gurpreet_1
Occasional Advisor

Re: swinstall command fails.

# swlist | grep HWE1100
HWE1100 B.11.00.0206.5 Hardware Enablement Patches for HP-UX 11.00, June 2002

# swlist | grep QPK1100
QPK1100 B.11.00.64.4 Quality Pack for HP-UX 11.00, March 2004

These are the patch bundles which are installed on my machine.

yes i am also receiving

* Installing fileset "CCASE-MVFS.ccase-mvfs,r=" (1 of 1).
NOTE: Building a new kernel based on template file "/stand/system"
WARNING: No such device, tunable, or cdio mvfs.
Ignoring the following line.
mvfs
config: cannot open file -- /stand/build/dlkm.vmunix_test/system
config failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.

in my swagent log
HGN
Honored Contributor

Re: swinstall command fails.

Hi

If you feel this issue is resolved make sure to assign points to all the people who helped.

Rgds

HGN
HGN
Honored Contributor

Re: swinstall command fails.

Hi

If you feel this issue is resolved make sure to assign points to all the people who helped and close the thread.

Rgds

HGN
gurpreet_1
Occasional Advisor

Re: swinstall command fails.

This is the list of packages on my machine.

# swlist | grep QPK1100
QPK1100 B.11.00.64.4 Quality Pack for HP-UX 11.00, March 2004
# swlist | grep HWE1100
HWE1100 B.11.00.0206.5 Hardware Enablement Patches for HP-UX 11.00, June 2002

But the issue is still appearing.

Clearcase 6 installation is not smooth without successful execution of this command -

/usr/sbin/swinstall -s /usr/conf/mvfs/CCASE-MVFS -S /usr/conf/mvfs/hpux10_session



Dennis Handly
Acclaimed Contributor

Re: swinstall command fails.

I can only assume your system is appropriately hosed and you can't install ANY software that requires a kernel regen.

You can test this by using SAM to change the value of a kernel parm, maxdsiz (increase it by 1). If that fails with the same error, that would indicate a class problem.

Do you have enough space in /stand/?
gurpreet_1
Occasional Advisor

Re: swinstall command fails.

I tried changing the kernel configuration parameter - maxdsize and processed the new kernel.

It gives the an error saying:

Cannot build a kernel using /usr/sbin/config.
Stop.
config:make did an exit(1)
The command exitted with exitcode -71.
gurpreet_1
Occasional Advisor

Re: swinstall command fails.

Attaching the sam logs for reference from my machine.
Dennis Handly
Acclaimed Contributor

Re: swinstall command fails.

Any reason your date has 2004?

You didn't answer this:
>>Do you have enough space in /stand/?

>Attaching the sam logs for reference from my machine.

They indicate that you need the direct output of /usr/sbin/config and more details of what is being made. You could try executing the commands from the log, if system.SAM is there:
# cd /stand/build
# /usr/sbin/config -c conf.SAM.c -l config.SAM.mk /stand/build/system.SAM

See the following for config(1M):
http://www.docs.hp.com/en/B2355-90681/config.1M.html

If the above config command doesn't give any more output, you'll have to edit the makefile to remove "@" at the beginning of the make rules so you can see what commands are executed.