不具合 ID 番号 |
BUG-000168218 |
送信されました | June 10, 2024 |
最終更新日 | January 26, 2025 |
適用対象 | ArcGIS GIS Server |
見つかったバージョン | 10.9.1 |
オペレーティング システム | Windows Server |
オペレーティング システムのバージョン | 2022 |
ステータス | In Review
この問題は確認中です。 確認プロセスでは、その問題が必要なすべての情報を備え、簡単に理解できること、既存の問題と重複していないこと、および有効な不具合または機能拡張の要求であることが確認されます。 このフェーズでは、説明または追加情報の提供をお願いする可能性があります。
|
対処法
The problematic Database Admin User password can be updated to a working password by temporarily using Postgres Trust Authentication: PostgreSQL: Documentation: 16: 21.4. Trust Authentication
- On the ArcGIS Data Store machine, navigate to the Data Store's pg_hba.conf file (i.e. C:\arcgisdatastore\pgdata\pg_hba.conf).
- Take a backup of pg_hba.conf (i.e. create a copy of this file and rename with .bak extension, pg_hba.conf.bak).
- Edit the pg_hba.conf file to add the following line/value at the uppermost position:
- hostssl all all 127.0.0.1/32 trust

- This entry specifically allows for local connections to be made to postgres using whichever database username is specified. In other words, this entry will allow connection to postgres as the Database Admin User while ignoring (and thus overcoming) the problematic password. For more information, see PostgreSQL: Documentation: 16: 21.4. Trust Authentication.
- Save the pg_hba.conf file.
- Using Data Store ArcGIS Data Store command utility reference—Portal for ArcGIS | Documentation for ArcGIS Enterprise, and execute listadminusers. This will now succeed, and the Database Admin User username and password will now be displayed. Note the Database Admin User (i.e. adm_2ztay).

- Using Data Store ArcGIS Data Store command utility reference—Portal for ArcGIS | Documentation for ArcGIS Enterprise, execute changepassword for the Database Admin User, while specifying a password that we do not expect to be problematic (i.e. potato). Once completed, execute listadminusers to verify the password has been changed successfully.

- Revert the Data Store pg_hba.conf file to it's original state, or to the backup copy.
- Note, this step is important to ensure the Data Store remains secure.
The Database Admin User should now be able to execute normal commands and functionality should be restored.
再現の手順