Wednesday, June 03, 2009

ld.so.1: picld: fatal: libpsvcobj.so.1: open failed: No such file or directory

If you noticed that 'prtdiag -v' doesn't print all information it should and you get a below error in a system log file:
picld[165]: [ID 740666 daemon.crit] ld.so.1: picld: fatal: libpsvcobj.so.1: open failed: No such file or directory
it means you probably hit bug: 6780957
There is a workaround proposed in the bug however if you are running on ZFS as a root-fs then:
"Due to the random nature of how ZFS stores files in a directory, the workaround may or may not work."
I was unlucky this time on one server and lucky on another one. Despite me trying to populate the plugins directory several times in different ways I was still unlucky. There are many ways how to workaround the issue. For example the below workaround works fine for me:
root# svccfg -s picl setenv LD_LIBRARY_PATH "/usr/platform/sun4u/lib"
root# svcadm refresh picl
root# svcadm restart picl

1 comment:

  1. SunOS 5.10: libpsvcplugin_psr.so.1 patch
    Status: RELEASED
    Patch Id: 141498-01
    Summary: SunOS 5.10: libpsvcplugin_psr.so.1 patch
    Date: Oct/13/2009
    Xref: This patch available for x86 as patch 141445

    SunOS 5.10: libpsvcplugin_psr.so.1 patch

    Relevant Architecture: sparc

    BugId's fixed with this patch:
    6780957 6809317

    Files Included in this Patch:
    /usr/platform/SUNW,Sun-Fire-480R/lib/picl/plugins/libpsvcplugin_psr.so.1
    /usr/platform/SUNW,Sun-Fire-880/lib/picl/plugins/libpsvcplugin_psr.so.1

    Problem Description:

    6780957 picld fails if libraries are in the wrong order in the plugins directory
    6809317 on Cherrystone: picld fails if libraries are in the wrong order in the plugins directory

    ReplyDelete