Hi,

On Sun, Jul 20, 2008 at 11:36:35PM -0700, Harry Fu wrote:
> > On Thu, Jul 17, 2008 at 09:31:21PM -0500, Steven
> > Stallion wrote:
> 
> > Since /lib/svc/method/svc-dlmgmtd returns only the
> > e exit status
> > of /sbin/dlmgmtd, you can try to run /sbin/dlmgmtd
> > d by hand. If
> > you do this with -d option, it should give you some
> > e debug
> >     message, why the situation happened.
> > 
> >     So try, `/sbin/dlmgmtd -d` and let us know.
> > 
> >     /j.
> > 
> Here is the output I got(as root user) from /sbin/dlmgmtd -d:
> 
> ld.so.1: dlmgmtd: fatal: /lib/libavl.so.1: Permission denied
> ld.so.1: dlmgmtd: fatal: relocation error: file /sbin/dlmgmtd: symbol 
> avl_create: referenced symbol not found
> 
> ls -l /lib/libavl.so.1
> -rwxr-xr-x   1 root     bin        14724 Jun 27 18:05 /lib/libavl.so.1

        Strange. Lets see what the ppriv and others tell us. Run as
        given user:

        grep root /etc/user_attr
        ppriv -e -D /sbin/dlmgmtd -d

        ldd /sbin/dlmgmtd
        set | grep LD_
        crle

        df -h /sbin/
        df -h /lib/

        digest -a md5 /sbin/dlmgmtd  
        fstyp $(df -h /sbin/ | nawk '$1!~"File"{print $1}')
        ls -lV /sbin/dlmgmtd

        digest -a md5 /lib/libavl.so.1
        fstyp $(df -h /lib/ | nawk '$1!~"File"{print $1}')
        ls -lV /lib/libavl.so.1

        truss -Dealf /sbin/dlmgmtd -d

        
        Thank you,

        /j.


_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to