SUMMARY: Help: "boot -s" not working after getting "Error opening PAM libraries"

From: Canhui (Sam) Ou (canhuiou_at_yahoo.com)
Date: 06/12/03

  • Next message: egold_at_fsa.com: "can solaris 7 jumpstart server use flash for clients?"
    Date: Wed, 11 Jun 2003 15:44:03 -0700 (PDT)
    To: sunmanagers@sunmanagers.org
    
    

    I changed root's home directory to something not on the / partition and now I
    can't log in.

    Here is the steps to change things back:
    1. Put the Sol 8 boot disk in your cdrom;
    2. stop-A, boot cdrom -s;
    3. mount root drive to /a;
    4. edit /a/etc/passwd to change root's directory to /;
    5. reboot.

    Thanks to
      Eric Paul
      Aaron M. Hirsch
      Mike Salehi
      Tim Evans

    Sam

    Original message:
    >Hi All,
    >
    >After applying Solaris 8 recommended patches on a SunBlade100, I couldn't
    >login
    >after rebooting the workstation. Below is what I did (I am still
    >struggling to
    >figure out how to fix it).
    >
    >First, I got the message
    > "Error opening PAM libraries
    > Please contact your system administrator"
    >
    >Then, I did "Stop A" and "boot -s" in sequence. After I inputed the root
    >password for system maintenance, the following messages appeared
    > "su: 'su root' succeeded for root on /dev/console
    > No directory!"
    > "Starting rpc services: rpcbindld.so.1: domainname: fatal: sldaputil.so.5:
    >open failed: no such file or directory"
    >
    >After that, instead of going to the single-user mode, the system gave me the
    >message "Error opening PAM libraries" again. I was expecting to go to
    >single-user mode and do a "chmod 755 /usr/lib/security/pam_unix.so.1" as
    >suggested in the thread "SUMMARY:Error opening PAM libraries".
    >
    >The system has a small "/" partition and was about to fill up. I moved the
    >"/var/sadm" directory to "/export/home" and made a soft link to save space
    >under "/". Not sure if this is the reason for all the problems.

    __________________________________
    Do you Yahoo!?
    Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
    http://calendar.yahoo.com
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: egold_at_fsa.com: "can solaris 7 jumpstart server use flash for clients?"

    Relevant Pages

    • sunfire v880-rebooting
      ... reboot after panic: User panic at trap level 2 ... daemon.crit] WARNING: ... Do you Yahoo!? ... Calendar - Free online calendar with sync to Outlook. ...
      (SunManagers)
    • Segmentation Fault
      ... When I check memory, /tmp, swap, etc. everything look fine. ... do a reboot, then the problem going away for a while, then it comes ... Do you Yahoo!? ... Calendar - Free online calendar with sync to Outlook. ...
      (SunManagers)
    • Re: Summary: System panic
      ... No hardware replacement at ... > Do you Yahoo!? ... Calendar - Free online calendar with sync to Outlook. ...
      (SunManagers)
    • Bluetooth stack for FreeBSD
      ... the library also supports convertion between PSMs and ... - all man pages were updated (per Ruslan Ermilov) ... Do you Yahoo!? ... Calendar - Free online calendar with sync to Outlook. ...
      (freebsd-current)
    • Re: Signal 6s with ruby apps such as portupgrade and pkg
      ... You need to rebuild anything ... last reboot. ... Do you Yahoo!? ... To unsubscribe, ...
      (freebsd-current)