db2stop and db2start require password in partition env

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • danfan46@hotmail.com

    db2stop and db2start require password in partition env

    Hi!

    I'm trying to set up a database instance on a prime Linux server,
    using db2 V9.5 with fixpack 1 applied.
    I issued db2set DB2RSHCMD=/usr/bin/ssh
    After adding 2 partitions, when issuing db2stop (as instance owner),
    I have to give the password 6 times.
    When i the run db2start it suffices with 3 times.

    What did I miss?
    How do I get out of it?

    /dg
  • Ian

    #2
    Re: db2stop and db2start require password in partition env

    danfan46@hotmai l.com wrote:
    Hi!
    >
    I'm trying to set up a database instance on a prime Linux server,
    using db2 V9.5 with fixpack 1 applied.
    I issued db2set DB2RSHCMD=/usr/bin/ssh
    After adding 2 partitions, when issuing db2stop (as instance owner),
    I have to give the password 6 times.
    When i the run db2start it suffices with 3 times.
    >
    What did I miss?
    How do I get out of it?
    You need to set up ssh for passwordless login. (i.e. add the
    instance owner's public key to its authorized_keys file). Google
    "ssh passwordless login"

    Comment

    • Liam Finnie

      #3
      Re: db2stop and db2start require password in partition env

      On Apr 24, 9:49 am, Ian <ianb...@mobile audio.comwrote:
      danfa...@hotmai l.com wrote:
      Hi!
      >
      I'm trying to set up a database instance on a prime Linux server,
      using db2 V9.5 with fixpack 1 applied.
      I issued db2set DB2RSHCMD=/usr/bin/ssh
      After adding 2 partitions, when issuing db2stop (as instance owner),
      I have to give the password 6 times.
      When i the run db2start it suffices with 3 times.
      >
      What did I miss?
      How do I get out of it?
      >
      You need to set up ssh for passwordless login. (i.e. add the
      instance owner's public key to its authorized_keys file). Google
      "ssh passwordless login"
      The following developerWorks article should help:



      Cheers,
      Liam.

      Comment

      • Dan van Ginhoven

        #4
        Re: db2stop and db2start require password in partition env

        Thanks Liam.
        Going thru the process it came back to me that I did the some thing a year ago on another server.
        Compliments to you for a comprehensive and pedagogic article.
        /dg


        "Liam Finnie" <lfinnie@ca.ibm .comwrote in message news:266be7a2-2d62-455e-9dab-5e00d30d6a98@w7 g2000hsa.google groups.com...
        On Apr 24, 9:49 am, Ian <ianb...@mobile audio.comwrote:
        danfa...@hotmai l.com wrote:
        Hi!
        I'm trying to set up a database instance on a prime Linux server,
        using db2 V9.5 with fixpack 1 applied.
        I issued db2set DB2RSHCMD=/usr/bin/ssh
        After adding 2 partitions, when issuing db2stop (as instance owner),
        I have to give the password 6 times.
        When i the run db2start it suffices with 3 times.
        What did I miss?
        How do I get out of it?
        You need to set up ssh for passwordless login. (i.e. add the
        instance owner's public key to its authorized_keys file). Google
        "ssh passwordless login"
        >
        The following developerWorks article should help:
        >

        >
        Cheers,
        Liam.

        Comment

        Working...