Hi Jochen, Thanks a lot for your feedback. I was a little behind this week since I had some other priorities to work on. Thanks for your guidance... I was able to login to web interface by encrypting the password. Now I will need to learn how to manage and monitor this system. May I contact you again if I have any question?
Regards, Luke On Monday, August 8, 2016 at 7:23:42 PM UTC+7, Jochen Schalanda wrote: > > Hi Luke, > > try setting the following value in your Graylog configuration file: > > root_password_sha2 > = b9c950640e1b3740e98acb93e669c65766f6670dd1609ba91ff41052ba48c6f3 > > > That's the SHA-256 hash of "password1234". If this doesn't work, then > please post your Graylog configuration file (with this password instead of > your own). > > Cheers, > Jochen > > On Monday, 8 August 2016 12:57:59 UTC+2, Lam Do wrote: >> >> Hi Jochen, >> >> Thanks for your help. I'm able to access to the graylog web interface now >> with the URL http://my_VPS_domain:9000 . Yahh.. Also thanks a lot to >> Kaiserboss@ to guide me to run these command in CentOS 6 >> >> /etc/init.d/mongod stop >> /etc/init.d/elasticsearch stop >> >> /etc/init.d/graylog-server stop >> >> >> Then modify the configuration of graylog-server and run these commands: >> >> /etc/init.d/mongod start >> /etc/init.d/elasticsearch start >> /etc/init.d/graylog-server start >> >> Then it works now. >> >> My next issue is I couldn't login using admin username/password. >> >> I’m sure that I entered the correct username/password . I already double >> checked in graylog/server.conf file and root_username and password_secret , >> root_password_sha2 are set (same password for both password secret and >> password_sha2). >> >> The graylog login interface return: Invalid credentials, please verify >> them and retry. >> >> And the graylog log file returns: >> >> >> >> 2016-08-08T10:36:19.154Z INFO [SessionsResource] Invalid username or >> password for user "admin" >> >> 2016-08-08T10:36:25.006Z INFO [SessionsResource] Invalid username or >> password for user "admin" >> >> >> >> >> >> Do you have any idea or direction for this issue? >> >> Thanks for your help, I really appreciate it. >> >> Regards, >> Luke >> >> On Saturday, August 6, 2016 at 5:42:05 PM UTC+7, Jochen Schalanda wrote: >>> >>> Hi Luke, >>> >>> On Friday, 5 August 2016 05:05:02 UTC+2, Lam Do wrote: >>>> >>>> 1. I'm working on the installations steps from the official document >>>> and using 'service' command instead of 'systemd' to install and enable to >>>> run the service of Java , MongoDB, ElasticSearch and Graylog server >>>> without restarting the server (Do we really need to restart the server?). >>>> I'm checking by 'top' command and see all these 3 services are running >>>> already. >>>> >>> >>> The machine doesn't need to be restarted after installing Graylog and >>> its dependencies. >>> >>> >>> 2. Next step is configuring the SELinux but my VPS doesn't run SELinux >>>> so I guess I don't need to follow the steps on the document for SE Linux. >>>> >>> >>> SELinux is part of the Linux kernel and it's usually enabled on CentOS >>> Linux. If SELinux is disabled on your machine, you don't need to run the >>> SELinux specific commands from the documentation. >>> >>> 3. Next, Do I need to enable Graylog if I don't use SELinux. I tried >>>> this command but it doesn't work to me. It return sudo : semanage command >>>> not found. I guess because SElinux is disable already so it won't run this >>>> command. >>>> >>>> o Graylog REST API: sudo semanage port -a -t http_port_t -p tcp 12900 >>>> >>>> >>>> I'm kind of stuck here and don't know what to do next. >>>> >>> >>> Since you don't seem to use SELinux, you do not need to run this command. >>> >>> >>> - If I install Graylog to my VPS server then should I >>>> configure web_listen_uri = http://my_VPS_IP:9000 >>>> <http://my_vps_ip:9000/> and rest_transport_uri | rest_listen_uri = >>>> http://my_VPS_IP:12900/ <http://my_vps_ip:12900/> in order to use >>>> graylog-web interface from end browser with the URL >>>> http://my_VPS_IP:9000 <http://my_vps_ip:9000/> ? >>>> >>> >>> Yes, if you want to use Graylog from "outside" your machine, the >>> rest_listen_uri and web_listen_uri configuration settings must be set >>> to the public IP address or host name of your machine. >>> >>> See >>> http://docs.graylog.org/en/2.0/pages/configuration/web_interface.html >>> for comprehensive documentation about configuring the Graylog web interface. >>> >>> Cheers, >>> Jochen >>> >>>> -- 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/f7d28718-dcfb-4310-8946-2dc68e7d7757%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
