failure in lucreate


 
Thread Tools Search this Thread
Operating Systems Solaris failure in lucreate
# 1  
Old 05-21-2009
failure in lucreate

Earlier live upgrade from solaris 8 to solaris 10 5/08 was not permitted . Later by document 250526 dated Feb 2009 , it permitted and fllowing s8p7zip.tar and following solution 206844 .

While installing SUNWluu,SUNWlur,SUNWlucfg , I had a partial failure . But pkginfo shows the information for all the 3 . Now when I use lucreate ,
i get the following error

# lucreate -A 'solaris 10 duplicationg' -c sol8 -m / :/dev/dsk/c0t12d0s1:ufs -n sol10

ld.so.1: ludo: fatal: liblu.so.1: open failed: No such file or directory
Killed

---------

Am I missing anything. How can I c /correct , sunwlu packages . Do i need to rebot server (I had removed the package twice) . How do I ensure the install of SUNWlucfg , SUNWluu etc are successfully installed .

Last edited by Hitesh Shah; 05-21-2009 at 12:38 PM..
# 2  
Old 05-21-2009
looks like the binary can't find liblu.so.1. did you set your LD_LIBRARY_PATH or edit crle ?

usually crle will have /lib and /usr/lib set. you will need to add the path to liblu.so.1 in either LD_LIBRARY_PATH or crle. it could be in something like /usr/local/lib or maybe in /opt somewhere. search for it.

examples:

in bash, export the variable. the order will matter.
Code:
 
# export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/sfw/lib

you can also run `ldd` on the binary. for example, i've ran it against wireshark:
Code:
$ ldd /usr/local/bin/wireshark
        libwiretap.so.0 =>       /usr/local/lib/libwiretap.so.0
        libwireshark.so.0 =>     /usr/local/lib/libwireshark.so.0
        libcrypto.so.0.9.8 =>    /usr/local/ssl/lib/libcrypto.so.0.9.8
        libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
        libpcap.so =>    /usr/local/lib/libpcap.so
        libgtk-x11-2.0.so.0 =>   /usr/lib/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /usr/lib/libgdk-x11-2.0.so.0
        libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
        libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
        libmlib.so.2 =>  /usr/lib/libmlib.so.2
        libpangocairo-1.0.so.0 =>        /usr/local/lib/libpangocairo-1.0.so.0
        libpangoft2-1.0.so.0 =>  /usr/local/lib/libpangoft2-1.0.so.0
        libpango-1.0.so.0 =>     /usr/local/lib/libpango-1.0.so.0
        libcairo.so.2 =>         /usr/local/lib/libcairo.so.2
        libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
        libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
        libexpat.so.1 =>         /usr/sfw/lib/libexpat.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libpng12.so.0 =>         /usr/lib/libpng12.so.0
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
        libSM.so.6 =>    /usr/lib/libSM.so.6
        libICE.so.6 =>   /usr/lib/libICE.so.6
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libm.so.2 =>     /usr/lib/libm.so.2
        libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libgthread-2.0.so.0 =>   /usr/lib/libgthread-2.0.so.0
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libadns.so =>    /usr/local/lib/libadns.so
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libgnutls.so.13 =>       /usr/local/lib/libgnutls.so.13
        libgcrypt.so.11 =>       /usr/local/lib/libgcrypt.so.11
        libgpg-error.so.0 =>     /usr/local/lib/libgpg-error.so.0
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libz.so =>       /usr/lib/libz.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libpangoxft-1.0.so.0 =>  /usr/lib/libpangoxft-1.0.so.0
        libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
        libpangox-1.0.so.0 =>    /usr/lib/libpangox-1.0.so.0
        libXft.so.2 =>   /usr/openwin/lib/libXft.so.2
        libXrandr.so.2 =>        /usr/X11/lib/libXrandr.so.2
        libXi.so.5 =>    /usr/openwin/lib/libXi.so.5
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libgcc_s.so.1 (GCC_3.4) =>       (version not found)
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        /usr/lib/libmlib/libmlib_sse2.so.2

if you see libgcc_s.so.1, you will see it can't find it properly. again, crle or the variable will solve this issue.
# 3  
Old 05-22-2009
I'll check this

Thanks for this reply. I'll work on this and get back to u with followup info .
# 4  
Old 06-03-2009
error installing SUNWlucfg

When install SUNWlucfg , i get following error .
---------------------------------------------------
The installation of this package was previously terminated and
installation was never successfully completed.

Do you want to continue with the installation of <SUNWlucfg> [y,n,?] y
Using </> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWlucfg> [y,n,?] y

Installing Live Upgrade Configuration as <SUNWlucfg>

## Executing preinstall script.
## Installing part 1 of 1.
[ verifying class <none> ]
/var/sadm/pkg/SUNWlucfg/install/i.AddNoUpdate: /var/sadm/pkg/SUNWlucfg/install/i
.AddNoUpdate: cannot open
pkgadd: ERROR: class action script did not complete successfully


Installation of <SUNWlucfg> failed.
# cd /var/sadm/pkg/SUNWlucfg/install/
# ls -l
total 18
-r-xr-xr-x 1 root other 93 Mar 10 2007 copyright
-r-xr-xr-x 1 root other 453 Mar 10 2007 i.addnoupdate
-r-xr-xr-x 1 root other 4853 Mar 10 2007 i.etcdeflu
-r-xr-xr-x 1 root other 148 Mar 10 2007 r.addnoupdate
-r-xr-xr-x 1 root other 146 Mar 10 2007 r.etcdeflu

-----------------------------------
How can I eliminate this error.

-----Post Update-----

Further installing the SUNWlur package , get the following error
================================
/etc/lu/solaris_profile
/etc/lu/zones_pkgadd_admin
/sbin/luactivate
[ verifying class <none> ]
ERROR: attribute verification of </etc/lib/lu/liblu.so.1> failed
pathname does not exist

/etc/rc0.d/K62lu <linked pathname>

-------------------------------

And the package partially failed . This according to me is related to lucreate problem originally discussed .
# 5  
Old 06-05-2009
Unsupported upgrade

If you did't solve your problem try to read Solaris live upgrade restrictions
3.Solaris Live Upgrade (Planning) (Solaris 10 5/08 Installation Guide: Solaris Live Upgrade and Upgrade Planning) - Sun Microsystems
May be you should upgrade to Solaris 9 first or the previos release os Solaris 10(For example 6/06)
# 6  
Old 06-05-2009
p7zip patch installed

Thanks for the help on this . I have read this restriction . However if u c #250526: SPARC: Using Solaris Live Upgrade to Upgrade From Solaris 8 to Solaris 10 05/08 (or Later Solaris Releases) , there is a patch for p7zip made available later on and then i have to follow solution 206844 , which i have done.

Is there anything i can check .Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Lucreate Fails to Create Boot Environment;

My OS solarius 5.10 Generic_147148-2 i86 Error: please review new boots environments using options 1. Solution - show me the commands Partition is full, try to remove some unneeded files, then try to compress some other unneeded files. man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies

2. Solaris

Copying disk - dd or lucreate?

Got server that I want to have an 'image' of disk to keep in case of failure. What I want to be able to do is, in the event of disk failure, remove system disk replace with cloned disk (same slot) and reboot. Trouble is I cant take this server down to single user. Is dd still a viable... (6 Replies)
Discussion started by: psychocandy
6 Replies

3. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

4. Shell Programming and Scripting

SFTP Failure

Hi , I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed. `sftp username@servername <<comm1 cd /directory put filename comm1 bye` I use above commands for my connections. So please help me to write a IF statement. ... (0 Replies)
Discussion started by: krishna87
0 Replies

5. Solaris

Boot failure

I have installed Solaris 10 OS in Sun Virtual Box that uses x86 32 bit system. After an abnormal shutdown i'm getting the following message on the console when i try to boot. SunOS Release 5.10 Version Generic_127128_11 32-bit Copyright 1983-200 Sun Microsystems, Inc. All rights reserrved. Use... (3 Replies)
Discussion started by: Sesha
3 Replies

6. Solaris

Sun Live Upgrade - lucreate fails

Hi, I currently have one BE and would like to create an ABE. # lustatus BE_name Complete Active ActiveOnReboot CopyStatus ------------------------------------------------------------------------ coolthreads yes yes yes - But... (3 Replies)
Discussion started by: pgarousi
3 Replies

7. Solaris

lucreate error

Hello, On solaris 10, trying to run lucreate as below, lucreate -c Solaris10 -n Solaris10_lu -m /:/dev/dsk/c0t2d0s0:ufs -m -:/dev/dsk/c0t2d0s1:swap -m /export/home:/dev/dsk/c0t2dufs7 but it's resulting in an error as below, Discovering physical storage devices Discovering logical... (5 Replies)
Discussion started by: upengan78
5 Replies

8. UNIX for Advanced & Expert Users

su failure

Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies

9. Linux

Boot failure

Hi all I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies

10. Programming

ld failure

Hi, I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples... (2 Replies)
Discussion started by: handak9
2 Replies
Login or Register to Ask a Question