09/24 02:55:05 victor-u64 ~/tools/yugabyte ➜ bin/yb-ctl create
Creating cluster.
Waiting for cluster to be ready.
Viewing file /home/victor/yugabyte-data/node-1/disk-1/tserver.err:
In YugaByte DB, setting LC_COLLATE to C and all other locale settings to en_US.UTF-8 by default. Locale support will be enhanced as part of addressing Issues · yugabyte/yugabyte-db · GitHub invalid locale name “en_US.UTF-8”
Viewing file /tmp/tmp0AVGiB:
2019-09-24 02:55:12,857 INFO: Starting master-1 with:
/home/victor/tools/software/yugabyte-2.0.0.0/bin/yb-master --fs_data_dirs “/home/victor/yugabyte-data/node-1/disk-1” --webserver_interface 127.0.0.1 --rpc_bind_addresses 127.0.0.1 --v 0 --version_file_json_path=/home/victor/tools/software/yugabyte-2.0.0.0 --webserver_doc_root “/home/victor/tools/software/yugabyte-2.0.0.0/www” --replication_factor=1 --yb_num_shards_per_tserver 2 --ysql_num_shards_per_tserver=2 --master_addresses 127.0.0.1:7100 --use_initial_sys_catalog_snapshot >“/home/victor/yugabyte-data/node-1/disk-1/master.out” 2>“/home/victor/yugabyte-data/node-1/disk-1/master.err” &
2019-09-24 02:55:12,869 INFO: Starting tserver-1 with:
/home/victor/tools/software/yugabyte-2.0.0.0/bin/yb-tserver --fs_data_dirs “/home/victor/yugabyte-data/node-1/disk-1” --webserver_interface 127.0.0.1 --rpc_bind_addresses 127.0.0.1 --v 0 --version_file_json_path=/home/victor/tools/software/yugabyte-2.0.0.0 --webserver_doc_root “/home/victor/tools/software/yugabyte-2.0.0.0/www” --tserver_master_addrs=127.0.0.1:7100 --yb_num_shards_per_tserver=2 --redis_proxy_bind_address=127.0.0.1:6379 --cql_proxy_bind_address=127.0.0.1:9042 --local_ip_for_outbound_sockets=127.0.0.1 --use_cassandra_authentication=false --ysql_num_shards_per_tserver=2 --start_pgsql_proxy --pgsql_proxy_bind_address=127.0.0.1:5433 >“/home/victor/yugabyte-data/node-1/disk-1/tserver.out” 2>“/home/victor/yugabyte-data/node-1/disk-1/tserver.err” &
2019-09-24 02:55:12,871 INFO: Waiting for master and tserver processes to come up.
2019-09-24 02:55:12,894 INFO: Waiting for master leader election and tablet server registration.
2019-09-24 02:55:14,095 INFO: PIDs found: {‘tserver’: [None], ‘master’: [67875]}
2019-09-24 02:55:14,096 ERROR: At least one master or tserver process is down.
^^^ Encountered errors ^^^
The log:
In YugaByte DB, setting LC_COLLATE to C and all other locale settings to en_US.UTF-8 by default. Locale support will be enhanced as part of addressing Issues · yugabyte/yugabyte-db · GitHub invalid locale name “en_US.UTF-8”
I did not expect that I will get a reply after 2 weeks. It looks like the yugabyte community is very passive
Based on your suggestion, I ignored the locale error (it was confusing) and found the problem - I have running the redis server and it uses the same port that yugabyte. I stopped the redis and cluster started w/o problems.
Please accept our sincerest apologies . We are usually very responsive, and are a very active community. Somehow this fell through the cracks. @dorian_yugabyte has just joined the team to make sure we don’t have such gaps going forward.
I am happy to hear you were able to get going with YugabyteDB. Is there anything else we can do to help with your use case (we’ll definitely try to respond quickly this time!) Also - you can get more realtime answers in our community slack channel.
I tried Join yugabyte-db on Slack - Community Inviter link and it seems to be working fine. Can you share what link you tried? Will ask internally as well to see if anyone is aware of the problem.
I got the same error on my ubuntu 18.04 - BTW, I could access other slack channels on my ubuntu. When I tried your link from windows everything was fine and I was able to connect. I’ve joined the slack channel. Weird behavior.
@victorspivak looks like you are using the 2.0.0 release and not the 2.0.1 release. for the 2.0.0 release, the behavior you are seeing is exactly the reason why we had to add a default password for the default yugabyte user in the 2.0.1 release. The github issue #2465 captures the issue in 2.0.0.
for your current 2.0.0 cluster you can either set a password for yugabyte user (by starting cluster without flag first, setting a password and then re-starting with flag) or simply start the cluster without the --tserver_flags=“ysql_enable_auth=true” setting which will remove the password prompt everywhere.
OR you can start using the 2.0.1 release by wget https://downloads.yugabyte.com/yugabyte-2.0.1.0-linux.tar.gz where the default password will be used whenever you use the ysql_enable_auth flag.
pls accept our sincere apologies for the issues you faced, we will strive to do better here on.