Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10790

Unable to logon using default admin/admin account after fresh install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:

      Description

      This is a fresh installation on a new server. After following all the steps in the installation document I attempt to logon at http://opennms:8980. When I enter admin and admin, the page simply refreshes back to the logon page without logging me in.

       

      I have tested my logons to the database from the command line using:

      psql postgres -h localhost -d opennms

      and

      psql opennms -h localhost -d opennms

       

      and also made sure these passwords are entered correctly in:

      opennms-datasources.xml.

       

      I also tried this suggestion from the community:

       

      To “solve” your current issue you can replace this part into users.xml to set admin:admin:

      <user>
      <user-id>admin</user-id>
      <password salt="true">L/NLgFOJ/Oq31aDV3vQfqVo/tRh807OvsoN2I4oedx0hoioiuaQ8HJHu60fkK878</password>
      <role>ROLE_ADMIN</role>
      </user>

       

      But this didn't work. 

      I have tried reinstalling the entire server and opennms twice with the same issue each time.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smacdoug Steve MacDougall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - Not Specified
                Not Specified