1827294 Members
2397 Online
109717 Solutions
New Discussion

swinstall fails.

 
gurpreet_1
Occasional Advisor

swinstall fails.

# uname -a
HP-UX hpb45 B.11.11 U 9000/785 2011711922 unlimited-user license

This is the last step during cleacase6 installation:

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

* Targets: hpb45:/
* Software selections:
CCASE-MVFS.ccase-mvfs,a=S700/S800_HP-UX_11.0
* Selection succeeded.


* Beginning Analysis and Execution
* 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.
ERROR: "hpb45:/": The kernel build script failed.
* The execution phase failed for "hpb45:/".
* Analysis and Execution had errors.

NOTE: More information may be found in the agent logfile using the
command "swjob -a log hpb45-0018 @ hpb45:/".

======= 09/06/07 12:03:32 IST END swinstall SESSION (non-interactive)
(jobid=hpb45-0018)

# swjob -a log hpb45-0018 @ hpb45:/
======= 09/06/07 12:03:07 IST BEGIN install AGENT SESSION (pid=4590)
(jobid=hpb45-0018)

* Agent session started for user "root@hpb45.clearcase.com".
(pid=4590)

* Beginning Analysis Phase.
* Source:
hpb45.clearcase.com:/usr/conf/mvfs/CCASE-MVFS
* Target: hpb45:/
* Target logfile: hpb45:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/stand" is estimated to
increase by 5237 Kbytes.
This will leave 167724 Kbytes of available user disk space after the installation.

NOTE: The used disk space on filesystem "/usr" is estimated to
remain unchanged.
This will leave 1143872 Kbytes of available user disk space after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
remain unchanged.
This will leave 1403544 Kbytes of available user disk space after the installation.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 1
* Kbytes: 324
NOTE: Saving the current system file at "/stand/system" to
"/stand/system.prev"
NOTE: Dynamic tunable values (if applicable) have been added to
"/stand/system".
NOTE: The template file has been extracted from "/stand/vmunix"
It has been placed in "/stand/system" where it will be used to build a new kernel.
* Installing fileset "CCASE-MVFS.ccase-mvfs,r=" (1 of 1).
NOTE: Building a new kernel based on template file "/stand/system"
Generating module: krm...
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Unsatisfied symbol "block_sigstop" in file /usr/conf/lib/libusrdrv.a[mvfs.o]
ld: Unsatisfied symbol "unblock_sigstop" in file /usr/conf/lib/libusrdrv.a[mvfs.o]
2 errors.
*** Error exit code 1

Stop.
make 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.
NOTE: The Install Phase has suspended. Check the above output for
reasons.
======= 09/06/07 12:03:32 IST END install AGENT SESSION (Aborted)
(pid=4590) (jobid=hpb45-0018)

Attaching the swagent.log for details of the errors.
8 REPLIES 8
gurpreet_1
Occasional Advisor

Re: swinstall fails.

Attaching the list of patches installed on my machine.
Dennis Handly
Acclaimed Contributor

Re: swinstall fails.

ld: Unsatisfied symbol "block_sigstop" in file /usr/conf/lib/libusrdrv.a[mvfs.o]
ld: Unsatisfied symbol "unblock_sigstop" in file /usr/conf/lib/libusrdrv.a[mvfs.o]

These two symbols are defined in:
$ nm -pxAN /usr/conf/lib/libpm.a | grep block_sigstop
T /usr/conf/lib/libpm.a[subr_threads.o]:block_sigstop
T /usr/conf/lib/libpm.a[subr_threads.o]:unblock_sigstop

Do you get these two "T"s?
gurpreet_1
Occasional Advisor

Re: swinstall fails.

There is no entry for block_sigstop and unblock_sigstop after running this command.

nm -pxAN /usr/conf/lib/libpm.a


# nm -pxAN /usr/conf/lib/libpm.a | grep block_sigstop
#

# nm -pxAN /usr/conf/lib/libpm.a | grep unblock_sigstop
#

Attaching the output for reference.
Dennis Handly
Acclaimed Contributor

Re: swinstall fails.

You may need PHKL_35879.
Did you get a list of patches you must have from the learcase installation instructions?
Peter Nikitka
Honored Contributor

Re: swinstall fails.

Hi,

check, if your clearcase product version plus the version of the mvfs patch really fits to your OS version.
Did you import the CCase-patch into the release area?

mfG Peter

PS: Of course, don't miss to check the recommended patch level of Rational for your OS version, like the other posters told you!
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
gurpreet_1
Occasional Advisor

Re: swinstall fails.

I have installed GOLDBASE11i bundle which solved the problem for swinstall.

But now clearcase is not starting:

# /usr/atria/etc/atria_start start
ClearCase daemons: albd_server lockmgr -q 1024 -u 256 -f 256
mount: Device busy
Trouble mounting the viewroot "/view"(16:1)
mvfslog: Error: The MVFS file system is not installed or not loaded,
or the 'viewroot' is not mounted or is inaccessible: not a ClearCase object.
Trouble setting MVFS kernel log file to /var/adm/rational/clearcase/log/mvfs_log(2:1)
Mounting public VOBs...
cleartool: Error: The MVFS file system is not installed or not loaded,
or the 'viewroot' is not mounted or is inaccessible: not a ClearCase object.
Trouble mounting public VOBs(32:1)

# uname -a
HP-UX hpb45 B.11.11 U 9000/785 2011711922 unlimited-user license

Attaching the swagent.log for reference.
Dennis Handly
Acclaimed Contributor

Re: swinstall fails.

Since you are having so many problems with clearcase, why not contact IBM Rational for support?

>Attaching the swagent.log for reference.

This seems to indicate you installed it.
You should also look into the clearcase log files: /var/adm/rational/clearcase/log/*_log
See what is in mvfs_log.

You can also look at them with: ct getlog
(See: ct man getlog)

>mvfslog: Error: The MVFS file system is not installed or not loaded,

I assume you have rebooted your kernel since swagent.log shows it is configured.

gurpreet_1
Occasional Advisor

Re: swinstall fails.

/var/adm/rational/clearcase/log/mvfs_log
is empty.

/var/adm/syslog/syslog.log
This log is attached for reference.
It shows no errors related to mvfs.

I am trying to start clearcase from / not from /view.

/view is not busy.

# cd /stand
# find . -name mvfs -print

mvfs is not present in /stand.

# find / -name mvfs -print
/opt/rational/clearcase/hp11_pa/usr/conf/mvfs
/opt/rational/clearcase/hp11_pa/usr/conf/mvfs/B.11.23_64/mvfs
/usr/lib/fs/mvfs
/usr/conf/master.d/mvfs
/usr/conf/mvfs
/sbin/fs/mvfs

# ls -l /usr/lib/fs/mvfs/mount
lrwxrwxrwx 1 root other 25 Sep 22 1999
/usr/lib/fs/mvfs/mount -> /usr/atria/etc/mount_mvfs

This link is created.