Why can't I log into the graylog web interface?

Hello there,
I have completed the graylog setup. I installed on Vmware on Ubuntu 20.04 version. Now everything seems ok, but when I want to login to the web interface with a username and password, “Invalid credentials, please verify them and retry.” I am getting your error.
What did I do wrong?
My graylog-server config file:

indent preformatted text by 4 spaces
is_master = true
node_id_file = /etc/graylog/server/node-id
password_secret = C8TfTuUCdvogNntBE6fHzrugrLApfVZE0M2V6gJlB1V6EnhqeowbHFXNxCvvVvK0L1OQy2SvhFLMEntD09YOp973TETWJCCY
root_username = admin
root_password_sha2=8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92  -
bin_dir = /usr/share/graylog-server/bin_dir
data_dir = /var/lib/graylog-server/bin_dir
plugin_dir = /usr/share/graylog-server/plugin_dir
htpp_bind_address = 127.0.0.1:9000

My graylog logfile:

   2021-02-15T06:09:29.580-08:00 INFO  [CmdLineTool] Loaded plugin: AWS plugins 4.0.2 [org.graylog.aws.AWSPlugin]
   2021-02-15T06:09:29.583-08:00 INFO  [CmdLineTool] Loaded plugin: Collector 4.0.2 [org.graylog.plugins.collector.CollectorPlugin]
   2021-02-15T06:09:29.588-08:00 INFO  [CmdLineTool] Loaded plugin: Threat Intelligence Plugin 4.0.2 [org.graylog.plugins.threatintel.ThreatIntelPlugin]
   2021-02-15T06:09:29.589-08:00 INFO  [CmdLineTool] Loaded plugin: Elasticsearch 6 Support 4.0.2+1987d10 [org.graylog.storage.elasticsearch6.Elasticsearch6Plugin]
   2021-02-15T06:09:29.589-08:00 INFO  [CmdLineTool] Loaded plugin: Elasticsearch 7 Support 4.0.2+1987d10 [org.graylog.storage.elasticsearch7.Elasticsearch7Plugin]
   2021-02-15T06:09:30.079-08:00 INFO  [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled>
   2021-02-15T06:09:30.457-08:00 INFO  [Version] HV000001: Hibernate Validator null
   2021-02-15T06:09:36.173-08:00 INFO  [InputBufferImpl] Message journal is enabled.
   2021-02-15T06:09:36.200-08:00 INFO  [NodeId] Node ID: db530e58-b9ab-47af-9005-95d8427c9fee
   2021-02-15T06:09:36.379-08:00 INFO  [LogManager] Loading logs.
   2021-02-15T06:09:36.383-08:00 INFO  [LogManager] Logs loading complete.
   2021-02-15T06:09:36.424-08:00 INFO  [LogManager] Created log for partition [messagejournal,0] in /var/lib/graylog-server/journal with properties {file.delete.delay.ms -> 6000>
   2021-02-15T06:09:36.427-08:00 INFO  [KafkaJournal] Initialized Kafka based journal at /var/lib/graylog-server/journal
   2021-02-15T06:09:36.443-08:00 INFO  [cluster] Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 >
   2021-02-15T06:09:36.505-08:00 INFO  [cluster] Cluster description not yet available. Waiting for 30000 ms before timing out
   2021-02-15T06:09:36.596-08:00 INFO  [connection] Opened connection [connectionId{localValue:1, serverValue:1}] to localhost:27017
   2021-02-15T06:09:36.603-08:00 INFO  [cluster] Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, sta>
   2021-02-15T06:09:36.623-08:00 INFO  [connection] Opened connection [connectionId{localValue:2, serverValue:2}] to localhost:27017
   2021-02-15T06:09:37.238-08:00 INFO  [InputBufferImpl] Initialized InputBufferImpl with ring size <65536> and wait strategy <BlockingWaitStrategy>, running 2 parallel message >
   2021-02-15T06:09:37.978-08:00 INFO  [ElasticsearchVersionProvider] Elasticsearch cluster is running v6.8.14
   2021-02-15T06:09:38.033-08:00 INFO  [AbstractJestClient] Setting server pool to a list of 1 servers: [http://127.0.0.1:9200]
   2021-02-15T06:09:38.034-08:00 INFO  [JestClientFactory] Using multi thread/connection supporting pooling connection manager
   2021-02-15T06:09:38.091-08:00 INFO  [JestClientFactory] Using custom ObjectMapper instance
   2021-02-15T06:09:38.091-08:00 INFO  [JestClientFactory] Node Discovery disabled...
   2021-02-15T06:09:38.091-08:00 INFO  [JestClientFactory] Idle connection reaping disabled...
   2021-02-15T06:09:38.683-08:00 INFO  [RoleServiceImpl] Admin role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:38.788-08:00 INFO  [RoleServiceImpl] Reader role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:39.058-08:00 INFO  [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
   2021-02-15T06:09:39.121-08:00 WARN  [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
   2021-02-15T06:09:39.129-08:00 INFO  [OutputBuffer] Initialized OutputBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
   2021-02-15T06:09:39.168-08:00 INFO  [connection] Opened connection [connectionId{localValue:3, serverValue:3}] to localhost:27017
   2021-02-15T06:09:39.209-08:00 WARN  [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
   2021-02-15T06:09:39.226-08:00 INFO  [connection] Opened connection [connectionId{localValue:4, serverValue:4}] to localhost:27017
   2021-02-15T06:09:39.252-08:00 WARN  [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
   2021-02-15T06:09:39.287-08:00 INFO  [connection] Opened connection [connectionId{localValue:5, serverValue:5}] to localhost:27017
   2021-02-15T06:09:39.298-08:00 WARN  [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
   2021-02-15T06:09:39.353-08:00 WARN  [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
   2021-02-15T06:09:39.454-08:00 INFO  [connection] Opened connection [connectionId{localValue:6, serverValue:6}] to localhost:27017
   2021-02-15T06:09:39.467-08:00 INFO  [connection] Opened connection [connectionId{localValue:7, serverValue:7}] to localhost:27017
   2021-02-15T06:09:44.527-08:00 INFO  [ServerBootstrap] Graylog server 4.0.2+1987d10 starting up
   2021-02-15T06:09:44.533-08:00 INFO  [ServerBootstrap] JRE: Ubuntu 11.0.10 on Linux 5.8.0-43-generic
   2021-02-15T06:09:44.533-08:00 INFO  [ServerBootstrap] Deployment: deb
   2021-02-15T06:09:44.533-08:00 INFO  [ServerBootstrap] OS: Ubuntu 20.04.2 LTS (focal)
   2021-02-15T06:09:44.533-08:00 INFO  [ServerBootstrap] Arch: amd64
   2021-02-15T06:09:44.703-08:00 INFO  [PeriodicalsService] Starting 30 periodicals ...
   2021-02-15T06:09:44.704-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ThroughputCalculator] periodical in [0s], polling every [1s].
   2021-02-15T06:09:44.777-08:00 INFO  [Periodicals] Starting [org.graylog.plugins.pipelineprocessor.periodical.LegacyDefaultStreamMigration] periodical, running forever.
   2021-02-15T06:09:44.796-08:00 INFO  [PeriodicalsService] Not starting [org.graylog2.periodical.AlertScannerThread] periodical. Not configured to run on this node.
   2021-02-15T06:09:44.796-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.BatchedElasticSearchOutputFlushThread] periodical in [0s], polling every [1s].
   2021-02-15T06:09:44.800-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ClusterHealthCheckThread] periodical in [120s], polling every [20s].
   2021-02-15T06:09:44.805-08:00 INFO  [PeriodicalsService] Not starting [org.graylog2.periodical.ContentPackLoaderPeriodical] periodical. Not configured to run on this node.
   2021-02-15T06:09:44.806-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.GarbageCollectionWarningThread] periodical, running forever.
   2021-02-15T06:09:44.815-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexerClusterCheckerThread] periodical in [0s], polling every [30s].
   2021-02-15T06:09:44.870-08:00 INFO  [connection] Opened connection [connectionId{localValue:8, serverValue:8}] to localhost:27017
   2021-02-15T06:09:44.871-08:00 INFO  [connection] Opened connection [connectionId{localValue:9, serverValue:9}] to localhost:27017
   2021-02-15T06:09:44.883-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexRetentionThread] periodical in [0s], polling every [300s].
   2021-02-15T06:09:44.898-08:00 INFO  [LegacyDefaultStreamMigration] Legacy default stream has no connections, no migration needed.
   2021-02-15T06:09:44.899-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexRotationThread] periodical in [0s], polling every [10s].
   2021-02-15T06:09:44.928-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.NodePingThread] periodical in [0s], polling every [1s].
   2021-02-15T06:09:44.929-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.VersionCheckThread] periodical in [300s], polling every [1800s].
   2021-02-15T06:09:44.930-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ThrottleStateUpdaterThread] periodical in [1s], polling every [1s].
   2021-02-15T06:09:44.944-08:00 INFO  [Periodicals] Starting [org.graylog2.events.ClusterEventPeriodical] periodical in [0s], polling every [1s].
   2021-02-15T06:09:44.987-08:00 INFO  [Periodicals] Starting [org.graylog2.events.ClusterEventCleanupPeriodical] periodical in [0s], polling every [86400s].
   2021-02-15T06:09:45.059-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ClusterIdGeneratorPeriodical] periodical, running forever.
   2021-02-15T06:09:45.068-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexRangesMigrationPeriodical] periodical, running forever.
   2021-02-15T06:09:45.075-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexRangesCleanupPeriodical] periodical in [15s], polling every [3600s].
   2021-02-15T06:09:45.093-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.UserPermissionMigrationPeriodical] periodical, running forever.
   2021-02-15T06:09:45.139-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ConfigurationManagementPeriodical] periodical, running forever.
   2021-02-15T06:09:45.146-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.IndexFailuresPeriodical] periodical, running forever.
   2021-02-15T06:09:45.152-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.TrafficCounterCalculator] periodical in [0s], polling every [1s].
   2021-02-15T06:09:45.170-08:00 INFO  [Periodicals] Starting [org.graylog2.indexer.fieldtypes.IndexFieldTypePollerPeriodical] periodical in [0s], polling every [3600s].
   2021-02-15T06:09:45.225-08:00 INFO  [Periodicals] Starting [org.graylog.scheduler.periodicals.ScheduleTriggerCleanUp] periodical in [120s], polling every [86400s].
   2021-02-15T06:09:45.239-08:00 INFO  [Periodicals] Starting [org.graylog2.periodical.ESVersionCheckPeriodical] periodical in [0s], polling every [30s].
   2021-02-15T06:09:45.240-08:00 INFO  [Periodicals] Starting [org.graylog.plugins.sidecar.periodical.PurgeExpiredSidecarsThread] periodical in [0s], polling every [600s].
   2021-02-15T06:09:45.244-08:00 INFO  [Periodicals] Starting [org.graylog.plugins.sidecar.periodical.PurgeExpiredConfigurationUploads] periodical in [0s], polling every [600s].
   2021-02-15T06:09:45.258-08:00 INFO  [Periodicals] Starting [org.graylog.plugins.views.search.db.SearchesCleanUpJob] periodical in [3600s], polling every [28800s].
   2021-02-15T06:09:45.263-08:00 INFO  [Periodicals] Starting [org.graylog.events.periodicals.EventNotificationStatusCleanUp] periodical in [120s], polling every [86400s].
   2021-02-15T06:09:45.264-08:00 INFO  [Periodicals] Starting [org.graylog.plugins.collector.periodical.PurgeExpiredCollectorsThread] periodical in [0s], polling every [3600s].
   2021-02-15T06:09:45.327-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "elasticsearch_max_docs_per_index" setting: MessageCountRotationStrategyConfig{typ>
   2021-02-15T06:09:45.328-08:00 INFO  [UserPermissionMigrationPeriodical] Marking user permission migration as done.
   2021-02-15T06:09:45.353-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "elasticsearch_max_size_per_index" setting: SizeBasedRotationStrategyConfig{type=o>
   2021-02-15T06:09:45.385-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "elasticsearch_max_time_per_index" setting: TimeBasedRotationStrategyConfig{type=o>
   2021-02-15T06:09:45.482-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "elasticsearch_max_number_of_indices" setting: ClosingRetentionStrategyConfig{type>
   2021-02-15T06:09:45.507-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "elasticsearch_max_number_of_indices" setting: DeletionRetentionStrategyConfig{typ>
   2021-02-15T06:09:45.556-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Migrated "rotation_strategy" and "retention_strategy" setting: IndexManagementConfig{rotati>
   2021-02-15T06:09:45.583-08:00 INFO  [V20151210140600_ElasticsearchConfigMigration] Creating searches cluster config: SearchesClusterConfig{queryTimeRangeLimit=PT0S, relativeT>
   2021-02-15T06:09:45.918-08:00 INFO  [V20161116172200_CreateDefaultStreamMigration] Successfully created default stream: All messages
   2021-02-15T06:09:46.064-08:00 INFO  [V20161124104700_AddRetentionRotationAndDefaultFlagToIndexSetMigration] Adding rotation_strategy_class <org.graylog2.indexer.rotation.stra>
   2021-02-15T06:09:46.064-08:00 INFO  [V20161124104700_AddRetentionRotationAndDefaultFlagToIndexSetMigration] Adding retention_strategy_class <org.graylog2.indexer.retention.st>
   2021-02-15T06:09:46.091-08:00 INFO  [V20161124104700_AddRetentionRotationAndDefaultFlagToIndexSetMigration] Setting index set <602a80a9dbf9310f125345cd> as default
   2021-02-15T06:09:46.149-08:00 INFO  [V20161125142400_EmailAlarmCallbackMigration] No streams needed to be migrated.
   2021-02-15T06:09:46.269-08:00 INFO  [connection] Opened connection [connectionId{localValue:10, serverValue:11}] to localhost:27017
   2021-02-15T06:09:46.273-08:00 INFO  [connection] Opened connection [connectionId{localValue:13, serverValue:13}] to localhost:27017
   2021-02-15T06:09:46.276-08:00 INFO  [connection] Opened connection [connectionId{localValue:12, serverValue:12}] to localhost:27017
   2021-02-15T06:09:46.292-08:00 INFO  [V20161125161400_AlertReceiversMigration] No streams needed to be migrated.
   2021-02-15T06:09:46.339-08:00 INFO  [connection] Opened connection [connectionId{localValue:11, serverValue:10}] to localhost:27017
   2021-02-15T06:09:46.731-08:00 ERROR [V20180212165000_AddDefaultCollectors] Couldn't find collector 'filebeat on linux' fixing it.
   2021-02-15T06:09:46.732-08:00 INFO  [V20180212165000_AddDefaultCollectors] filebeat collector on linux is missing, adding it.
   2021-02-15T06:09:46.768-08:00 ERROR [V20180212165000_AddDefaultCollectors] Couldn't find collector 'winlogbeat on windows' fixing it.
   2021-02-15T06:09:46.776-08:00 INFO  [V20180212165000_AddDefaultCollectors] winlogbeat collector on windows is missing, adding it.
   2021-02-15T06:09:46.786-08:00 ERROR [V20180212165000_AddDefaultCollectors] Couldn't find collector 'nxlog on linux' fixing it.
   2021-02-15T06:09:46.787-08:00 INFO  [V20180212165000_AddDefaultCollectors] nxlog collector on linux is missing, adding it.
   2021-02-15T06:09:46.799-08:00 ERROR [V20180212165000_AddDefaultCollectors] Couldn't find collector 'nxlog on windows' fixing it.
   2021-02-15T06:09:46.799-08:00 INFO  [V20180212165000_AddDefaultCollectors] nxlog collector on windows is missing, adding it.
   2021-02-15T06:09:46.811-08:00 ERROR [V20180212165000_AddDefaultCollectors] Couldn't find collector 'filebeat on windows' fixing it.
   2021-02-15T06:09:46.811-08:00 INFO  [V20180212165000_AddDefaultCollectors] filebeat collector on windows is missing, adding it.
   2021-02-15T06:09:46.852-08:00 INFO  [MigrationHelpers] Sidecar System (Internal) role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:46.866-08:00 ERROR [MigrationHelpers] Invalid user 'graylog-sidecar', fixing it.
   2021-02-15T06:09:46.871-08:00 INFO  [MigrationHelpers] graylog-sidecar user is missing or invalid, re-adding it as a built-in user.
   2021-02-15T06:09:47.879-08:00 INFO  [V20180601151500_AddDefaultConfiguration] Creating Sidecar cluster config: SidecarConfiguration{sidecarExpirationThreshold=P14D, sidecarIn>
   2021-02-15T06:09:51.850-08:00 INFO  [MigrationHelpers] Views Manager role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:51.857-08:00 INFO  [V20190127111728_MigrateWidgetFormatSettings] Migration completed. 0 views where migrated.
   2021-02-15T06:09:51.922-08:00 INFO  [V20190705071400_AddEventIndexSetsMigration] Successfully created events index-set <602a80afdbf9310f1253468e/Graylog Events>
   2021-02-15T06:09:51.928-08:00 INFO  [V20190705071400_AddEventIndexSetsMigration] Successfully created events stream <000000000000000000000002/All events>
   2021-02-15T06:09:51.938-08:00 INFO  [V20190705071400_AddEventIndexSetsMigration] Successfully created events index-set <602a80afdbf9310f12534692/Graylog System Events>
   2021-02-15T06:09:51.954-08:00 INFO  [V20190705071400_AddEventIndexSetsMigration] Successfully created events stream <000000000000000000000003/All system events>
   2021-02-15T06:09:52.026-08:00 INFO  [MigrationHelpers] Alerts Manager role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:52.058-08:00 INFO  [V20191121145100_FixDefaultGrokPatterns] Skipping migration of modified default Grok Pattern 'COMMONAPACHELOG'.
   2021-02-15T06:09:52.130-08:00 INFO  [connection] Opened connection [connectionId{localValue:19, serverValue:19}] to localhost:27017
   2021-02-15T06:09:52.131-08:00 INFO  [connection] Opened connection [connectionId{localValue:15, serverValue:15}] to localhost:27017
   2021-02-15T06:09:52.132-08:00 INFO  [connection] Opened connection [connectionId{localValue:17, serverValue:17}] to localhost:27017
   2021-02-15T06:09:52.130-08:00 INFO  [connection] Opened connection [connectionId{localValue:18, serverValue:18}] to localhost:27017
   2021-02-15T06:09:52.132-08:00 INFO  [connection] Opened connection [connectionId{localValue:14, serverValue:14}] to localhost:27017
   2021-02-15T06:09:52.134-08:00 INFO  [connection] Opened connection [connectionId{localValue:20, serverValue:20}] to localhost:27017
   2021-02-15T06:09:52.136-08:00 INFO  [connection] Opened connection [connectionId{localValue:16, serverValue:16}] to localhost:27017
   2021-02-15T06:09:52.191-08:00 INFO  [V20191129134600_CreateInitialUrlWhitelist] Created 0 whitelist entries from URLs configured in data adapters and event notifications.
   2021-02-15T06:09:53.862-08:00 INFO  [MigrationHelpers] Dashboard Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.866-08:00 INFO  [MigrationHelpers] Event Definition Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.874-08:00 INFO  [MigrationHelpers] Event Notification Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.876-08:00 INFO  [MigrationHelpers] User Inspector role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.862-08:00 INFO  [MigrationHelpers] Dashboard Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.866-08:00 INFO  [MigrationHelpers] Event Definition Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.874-08:00 INFO  [MigrationHelpers] Event Notification Creator role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:53.876-08:00 INFO  [MigrationHelpers] User Inspector role is missing or invalid, re-adding it as a built-in role.
   2021-02-15T06:09:54.956-08:00 INFO  [MongoIndexSet] Did not find a deflector alias. Setting one up now.
   2021-02-15T06:09:54.971-08:00 INFO  [MongoIndexSet] There is no index target to point to. Creating one now.
   2021-02-15T06:09:54.980-08:00 INFO  [MongoIndexSet] Cycling from <none> to <graylog_0>.
   2021-02-15T06:09:54.980-08:00 INFO  [MongoIndexSet] Creating target index <graylog_0>.
   2021-02-15T06:09:56.629-08:00 INFO  [MongoIndexSet] Waiting for allocation of index <graylog_0>.
   2021-02-15T06:09:56.654-08:00 INFO  [MongoIndexSet] Index <graylog_0> has been successfully allocated.
   2021-02-15T06:09:56.654-08:00 INFO  [MongoIndexSet] Pointing index alias <graylog_deflector> to new index <graylog_0>.
   2021-02-15T06:09:56.743-08:00 INFO  [MongoIndexSet] Successfully pointed index alias <graylog_deflector> to index <graylog_0>.
   2021-02-15T06:09:56.854-08:00 INFO  [MongoIndexSet] Did not find a deflector alias. Setting one up now.
   2021-02-15T06:09:56.858-08:00 INFO  [MongoIndexSet] There is no index target to point to. Creating one now.
   2021-02-15T06:09:56.870-08:00 INFO  [MongoIndexSet] Cycling from <none> to <gl-events_0>.
   2021-02-15T06:09:56.871-08:00 INFO  [MongoIndexSet] Creating target index <gl-events_0>.
   2021-02-15T06:09:57.343-08:00 INFO  [MongoIndexSet] Waiting for allocation of index <gl-events_0>.
   2021-02-15T06:09:57.348-08:00 INFO  [MongoIndexSet] Index <gl-events_0> has been successfully allocated.
   2021-02-15T06:09:57.348-08:00 INFO  [MongoIndexSet] Pointing index alias <gl-events_deflector> to new index <gl-events_0>.
   2021-02-15T06:09:57.359-08:00 INFO  [MongoIndexSet] Successfully pointed index alias <gl-events_deflector> to index <gl-events_0>.
   2021-02-15T06:09:57.385-08:00 INFO  [MongoIndexSet] Did not find a deflector alias. Setting one up now.
   2021-02-15T06:09:57.392-08:00 INFO  [MongoIndexSet] There is no index target to point to. Creating one now.
   2021-02-15T06:09:57.396-08:00 INFO  [MongoIndexSet] Cycling from <none> to <gl-system-events_0>.
   2021-02-15T06:09:57.396-08:00 INFO  [MongoIndexSet] Creating target index <gl-system-events_0>.
   2021-02-15T06:09:57.812-08:00 INFO  [MongoIndexSet] Waiting for allocation of index <gl-system-events_0>.
   2021-02-15T06:09:57.823-08:00 INFO  [MongoIndexSet] Index <gl-system-events_0> has been successfully allocated.
   2021-02-15T06:09:57.823-08:00 INFO  [MongoIndexSet] Pointing index alias <gl-system-events_deflector> to new index <gl-system-events_0>.
   2021-02-15T06:09:57.851-08:00 INFO  [MongoIndexSet] Successfully pointed index alias <gl-system-events_deflector> to index <gl-system-events_0>.
   2021-02-15T06:10:16.792-08:00 INFO  [JerseyService] Started REST API at <127.0.0.1:9000>
   2021-02-15T06:10:16.794-08:00 INFO  [ServerBootstrap] Services started, startup times in ms: {InputSetupService [RUNNING]=38, GracefulShutdownService [RUNNING]=67, Configurat>
   2021-02-15T06:10:16.796-08:00 INFO  [ServerBootstrap] Graylog server up and running.
   2021-02-15T06:10:16.796-08:00 INFO  [ServiceManagerListener] Services are healthy
   2021-02-15T06:10:16.797-08:00 INFO  [InputSetupService] Triggering launching persisted inputs, node transitioned from Uninitialized [LB:DEAD] to Running [LB:ALIVE]
   2021-02-15T06:12:51.780-08:00 INFO  [SessionCreator] Invalid credentials in session create request. Actor: "urn:graylog:user:admin"
   2021-02-15T06:15:05.275-08:00 INFO  [SessionCreator] Invalid credentials in session create request. Actor: "urn:graylog:user:admin"
   2021-02-15T06:15:05.845-08:00 INFO  [SessionCreator] Invalid credentials in session create request. Actor: "urn:graylog:user:admin"
   2021-02-15T06:19:18.768-08:00 INFO  [SessionCreator] Invalid credentials in session create request. Actor: "urn:graylog:user:admin"
   2021-02-15T06:19:19.329-08:00 INFO  [SessionCreator] Invalid credentials in session create request. Actor: "urn:graylog:user:admin"

https://docs.graylog.org/en/4.0/pages/getting_started/configure.html

Did you generate the password_secret = using pwgen -N 1 -s 96

And the root_password_sha2 = using echo -n “Enter Password: " && head -1 </dev/stdin | tr -d ‘\n’ | sha256sum | cut -d” " -f1

It’s different if you used the Appliance provided by Graylog. Sounds like you did NOT use that though.

Thank you, Zach.

1 Like

root_password_sha2 = echo -n 123456 && head -1 </dev/stdin | tr -d ‘\n’ | sha256sum | cut -d” " -f1

Is this true?

I generated pasword_secret with pwgen -N 1 -s 96 and I generated root_password_sha2 with echo -n 123456 && head -1 </dev/stdin | tr -d ‘\n’ | sha256sum | cut -d” " -f1. And I putted to server.conf file. And then restart graylog-server.
I made the setup according to graylog document steps. Graylog-server service is running actively. But it still gives an error when logging into the web interface with the username “admin” and password “123456”.

I solved problem. If you are having the problem I am having, try this:

echo -n 123456 | sha256sum | cut -d" " -f1

I posted my problem on the Freenode graylog channel and the nickname Nihlander suggested it to me. I created the password with this and was able to enter the graylog interface. Thank you very much Nihlander.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.