Hi Sagar, you'll have to remove the trailing " -" in the line with root_password_sha2 so that only the hash is in that line, i. e.:
root_password_sha2 = 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 Cheers, Jochen On Friday, 4 March 2016 07:27:46 UTC+1, Sagar Nikam wrote: > > Hi Jochen, > > I tried to make the same password in following files password_secret (in > /etc/graylog/server/server.conf) & application.secret (in > /etc/graylog/web/web.conf). > > - *root_password_sha2* is generated using echo -n admin | shasum -a 256 > > please find two file configurations. > > - */etc/graylog/server/server.conf* > > # If you are running more than one instances of graylog2-server you have to > select one of these > # instances as master. The master will perform some periodical tasks that > non-masters won't perform. > is_master = true > > # The auto-generated node ID will be stored in this file and read after > restarts. It is a good idea > # to use an absolute file path here if you are starting graylog2-server from > init scripts or similar. > node_id_file = /etc/graylog/server/node-id > > # You MUST set a secret to secure/pepper the stored user passwords here. Use > at least 64 characters. > # Generate one by using for example: pwgen -N 1 -s 96 > password_secret=X2oHR7K6a30wcNUEjeP3TgO1pPs8LKxfecZHe4k0fjUqv9vNI3TWsg659nSUdh6XKqvMuO9NSYU2yEIriFqjf4uXU0c4EwVR > > # The default root user is named 'admin' > root_username = admin > > # You MUST specify a hash password for the root user (which you only need to > initially set up the > # system and in case you lose connectivity to your authentication backend) > # This password cannot be changed using the API or via the web interface. If > you need to change it, > # modify it in this file. > # Create one by using for example: echo -n yourpassword | shasum -a 256 > # and put the resulting hash value into the following line > root_password_sha2 > =8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918 - > > # The email address of the root user. > # Default is empty > #root_email = "" > > > - */etc/graylog/web/web.conf* > > # graylog2-server REST URIs (one or more, comma separated) For example: > "http://127.0.0.1:12900/,http://127.0.0.1:12910/" > graylog2-server.uris="http://127.0.0.1:12900/" > > # Learn how to configure custom logging in the documentation: > # > http://docs.graylog.org/en/latest/pages/installation.html#manual-setup-graylog-web-interface-on-linux > > # Secret key > # ~~~~~ > # The secret key is used to secure cryptographics functions. Set this to a > long and randomly generated string. > # If you deploy your application to several instances be sure to use the same > key! > # Generate for example with: pwgen -N 1 -s 96 > application.secret="HR7K6a30wcNUEjeP3TgO1pPs8LKxfecZHe4k0fjUqv9vNI3TWsg659nSUdh6XKqvMuO9NSYU2yEIriFqjf4uXU0c4EwVR" > > # Web interface timezone > # Graylog stores all timestamps in UTC. To properly display times, set the > default timezone of the interface. > # If you leave this out, Graylog will pick your system default as the > timezone. Usually you will want to configure it explicitly. > # timezone="Europe/Berlin" > > ------------------------------ > > *The problem still continues…* > is there any setting I have to change, something in elasticsearch or > mongodb ? > > Thanks in advance !!! > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/535a55a7-16a5-4ef2-8e3a-ba67cc0f5f8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
