Authentication problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hu Nan

    Authentication problem

    Just installed DB2 UDB 8 on Linux, trying to stop admin server by
    excuting "db2admin stop", got error:

    SQL22201N: The DB2 administration server failed to authenticate user
    "" on the host "et3". Reason code "1".

    How to fix this problem.
    Thanks.
  • Larry

    #2
    Re: Authentication problem

    Did you try logging on as the admin server owner user?

    Larry Edelstein

    Hu Nan wrote:
    [color=blue]
    > Just installed DB2 UDB 8 on Linux, trying to stop admin server by
    > excuting "db2admin stop", got error:
    >
    > SQL22201N: The DB2 administration server failed to authenticate user
    > "" on the host "et3". Reason code "1".
    >
    > How to fix this problem.
    > Thanks.[/color]

    Comment

    • Mark A

      #3
      Re: Authentication problem

      "Larry" <nospam@nospam. com> wrote in message
      news:3FAB002D.E F80011B@nospam. com...[color=blue]
      > Did you try logging on as the admin server owner user?
      >
      > Larry Edelstein
      >[/color]
      The default owner is dasusr1 if you took the installation default.


      Comment

      • Hu Nan

        #4
        Re: Authentication problem

        Yes, did switch to user dasusr1

        Comment

        • Larry

          #5
          Re: Authentication problem

          And what happened?

          Larry Edelstein

          Hu Nan wrote:
          [color=blue]
          > Yes, did switch to user dasusr1[/color]

          Comment

          • Hu Nan

            #6
            Re: Authentication problem

            got the above mentioned error: SQL22201N

            Larry <nospam@nospam. com> wrote in message news:<3FB27CD7. 73154353@nospam .com>...[color=blue]
            > And what happened?
            >
            > Larry Edelstein
            >
            > Hu Nan wrote:
            >[color=green]
            > > Yes, did switch to user dasusr1[/color][/color]

            Comment

            • dotyet

              #7
              Re: Authentication problem

              So.... you explicitly logged on to this account or you did an su.
              incase you did an su, then did you do an 'su' or 'su -'. i am not
              sure, but maybe the dash (-) is required.

              hth,
              dotyet


              hunan298@yahoo. com (Hu Nan) wrote in message news:<615b19f6. 0311131947.47b5 6bf5@posting.go ogle.com>...[color=blue]
              > got the above mentioned error: SQL22201N
              >
              > Larry <nospam@nospam. com> wrote in message news:<3FB27CD7. 73154353@nospam .com>...[color=green]
              > > And what happened?
              > >
              > > Larry Edelstein
              > >
              > > Hu Nan wrote:
              > >[color=darkred]
              > > > Yes, did switch to user dasusr1[/color][/color][/color]

              Comment

              • Hu Nan

                #8
                Re: Authentication problem

                Logged in as "db2inst1", then typed command "su - dasusr1".


                dotyet@yahoo.co m (dotyet) wrote in message news:<6c6dc4d2. 0311140313.20dc fae1@posting.go ogle.com>...[color=blue]
                > So.... you explicitly logged on to this account or you did an su.
                > incase you did an su, then did you do an 'su' or 'su -'. i am not
                > sure, but maybe the dash (-) is required.
                >
                > hth,
                > dotyet
                >
                >
                > hunan298@yahoo. com (Hu Nan) wrote in message news:<615b19f6. 0311131947.47b5 6bf5@posting.go ogle.com>...[color=green]
                > > got the above mentioned error: SQL22201N
                > >
                > > Larry <nospam@nospam. com> wrote in message news:<3FB27CD7. 73154353@nospam .com>...[color=darkred]
                > > > And what happened?
                > > >
                > > > Larry Edelstein
                > > >
                > > > Hu Nan wrote:
                > > >
                > > > > Yes, did switch to user dasusr1[/color][/color][/color]

                Comment

                • Larry

                  #9
                  Re: Authentication problem

                  And what was the result?

                  Larry Edelstein

                  Hu Nan wrote:
                  [color=blue]
                  > Logged in as "db2inst1", then typed command "su - dasusr1".
                  >
                  > dotyet@yahoo.co m (dotyet) wrote in message news:<6c6dc4d2. 0311140313.20dc fae1@posting.go ogle.com>...[color=green]
                  > > So.... you explicitly logged on to this account or you did an su.
                  > > incase you did an su, then did you do an 'su' or 'su -'. i am not
                  > > sure, but maybe the dash (-) is required.
                  > >
                  > > hth,
                  > > dotyet
                  > >
                  > >
                  > > hunan298@yahoo. com (Hu Nan) wrote in message news:<615b19f6. 0311131947.47b5 6bf5@posting.go ogle.com>...[color=darkred]
                  > > > got the above mentioned error: SQL22201N
                  > > >
                  > > > Larry <nospam@nospam. com> wrote in message news:<3FB27CD7. 73154353@nospam .com>...
                  > > > > And what happened?
                  > > > >
                  > > > > Larry Edelstein
                  > > > >
                  > > > > Hu Nan wrote:
                  > > > >
                  > > > > > Yes, did switch to user dasusr1[/color][/color][/color]

                  Comment

                  • Hu Nan

                    #10
                    Re: Authentication problem

                    Got the error message:

                    SQL22201N: The DB2 administration server failed to authenticate user
                    "" on the host "et3". Reason code "1".




                    Larry <nospam@nospam. com> wrote in message news:<3FB6680F. C6259DDC@nospam .com>...[color=blue]
                    > And what was the result?
                    >
                    > Larry Edelstein[/color]

                    Comment

                    • Larry

                      #11
                      Re: Authentication problem

                      Doc says reason code "1" is invalid userid or password. Don't know what the problem
                      might be if you are using the correct userid and password. You might want to try IBM
                      support.

                      Larry Edelstein

                      Hu Nan wrote:
                      [color=blue]
                      > Got the error message:
                      >
                      > SQL22201N: The DB2 administration server failed to authenticate user
                      > "" on the host "et3". Reason code "1".
                      >
                      > Larry <nospam@nospam. com> wrote in message news:<3FB6680F. C6259DDC@nospam .com>...[color=green]
                      > > And what was the result?
                      > >
                      > > Larry Edelstein[/color][/color]

                      Comment

                      Working...