solaris gurus: pkgadd question

Discussion in 'OT Technology' started by SkyLeach, Jan 17, 2008.

  1. SkyLeach

    SkyLeach Guest

    Will someone who is familiar with pkgadd for solaris clue me in on the best way to update openssl on solaris 10?

    when I try pkgadd I get the following:

    Code:
    # pkgadd -d /export/home/downloads/openssl-0.9.8f-sol10-sparc-local
    
    The following packages are available:
      1  SMCossl     openssl
                     (sparc) 0.9.8f
    
    Select package(s) you wish to process (or 'all' to process
    all packages). (default: all) [?,??,q]:
    
    Processing package instance <SMCossl> from </export/home/downloads/openssl-0.9.8f-sol10-sparc-local>
    
    openssl(sparc) 0.9.8f
    
    Current administration requires that a unique instance of the
    <SMCossl> package be created.  However, the maximum number of
    instances of the package which may be supported at one time on the
    same system has already been met.
    
    No changes were made to the system.
    
    and when I try sshd I get

    Code:
    # sshd -dd
    OpenSSL version mismatch. Built against 908070, you have 90805f
    
    much appreciated
     
  2. crontab

    crontab (uid = 0)

    Joined:
    Nov 14, 2000
    Messages:
    23,458
    Likes Received:
    12
    sounds like you have more than one instance of openssl installed.

    pkginfo | grep -i ssl to verify

    pkgrm SMCossl to remove the current version

    run pkgadd on the version you want to install
     
  3. SkyLeach

    SkyLeach Guest

    I did that and managed to update libssl but came up missing a library afterwards. This is because I am using the packages from sunfreeware and not Sun (tm) packages. I tried symlinking the version from /usr/local/ssh to /usr/lib/ssh and moving the sshd version in the target location to sshd_old. This allowed me to execute the sshd daemon in debug mode but the service still does not start.

    Checking /var/lib/syslog shows an empty logfile. Is this normal? Should I start the syslog service or should it be started automatically on its own?

    Sorry about all the questions, but I am hardly a solaris guru.
     
  4. SkyLeach

    SkyLeach Guest

    Another idea: remove the old openssh package? could they be conflicting?
     
  5. crontab

    crontab (uid = 0)

    Joined:
    Nov 14, 2000
    Messages:
    23,458
    Likes Received:
    12
    check your /etc/syslog.conf to see if anything is supposed to be dumped to it.

    else most messages should go to /var/adm/messages

    sunfreeware tells you about all of the dependencies that one needs when you install packages. i install their stuff all the time with out issue.

    yes, do not keep multiple instances of any packages that are managed by solaris pkgadd. It sucks and doesn't keep track of shit. when one needs to install a new version always delete the old version prior to installing the new.
     

Share This Page