Failed to start tserver yugabyted

Hi, I am trying to follow Linux Quick Start guide on Ubuntu 22.04 here:

and running into a problem with:

./bin/yugabyted start --advertise_address 127.0.0.1

as it produces an error as below:

Starting yugabyted...
❌ Database failed to start            
Failed to start tserver yugabyted
For more information, check the logs in /home/level7/var/logs

when inspecting log files, I note an error as below:

cat /home/level7/var/logs/tserver.err

F1104 20:25:50.051936  2308 tablet_server_main_impl.cc:290] Runtime error (yb/util/subprocess.cc:564): Subprocess '/home/level7/yugabyte-2025.1.1.2/postgres/bin/initdb' terminated with non-zero exit status 256
Fatal failure details written to /home/level7/var/data/yb-data/tserver/logs/yb-tserver.FATAL.details.2025-11-04T20_25_50.pid2308.txt
F20251104 20:25:50 ../../src/yb/tserver/tablet_server_main_impl.cc:290] Runtime error (yb/util/subprocess.cc:564): Subprocess '/home/level7/yugabyte-2025.1.1.2/postgres/bin/initdb' terminated with non-zero exit status 256
    @     0x55c4cb4ca660  google::LogMessage::SendToLog()
    @     0x55c4cb4cb62b  google::LogMessage::Flush()
    @     0x55c4cb4cbc29  google::LogMessageFatal::~LogMessageFatal()
    @     0x55c4ccfbe190  yb::tserver::TabletServerMain()
    @     0x55c4cb478a44  main
    @     0x7f7abbeacd90  (unknown)
    @     0x7f7abbeace40  __libc_start_main
    @     0x55c4cb29802e  _start

*** Check failure stack trace: ***
    @     0x55c4cb4cadf4  google::LogMessage::SendToLog()
    @     0x55c4cb4cb62b  google::LogMessage::Flush()
    @     0x55c4cb4cbc29  google::LogMessageFatal::~LogMessageFatal()
    @     0x55c4ccfbe190  yb::tserver::TabletServerMain()
    @     0x55c4cb478a44  main
    @     0x7f7abbeacd90  (unknown)
    @     0x7f7abbeace40  __libc_start_main
    @     0x55c4cb29802e  _start

Would anyone have suggestions on how to troubleshot this?

Regards,

Chris

Hi Chris,

Can you also check the contents of the file mentioned here?

Fatal failure details written to /home/level7/var/data/yb-data/tserver/logs/yb-tserver.FATAL.details.2025-11-04T20_25_50.pid2308.txt

regards
Kannan

Hi, sure, the contents of the file below:

cat /home/level7/var/data/yb-data/tserver/logs/yb-tserver.FATAL.details.2025-11-04T20_25_50.pid2308.txt
F20251104 20:25:50 ../../src/yb/tserver/tablet_server_main_impl.cc:290] Runtime error (yb/util/subprocess.cc:564): Subprocess '/home/level7/yugabyte-2025.1.1.2/postgres/bin/initdb' terminated with non-zero exit status 256
    @     0x55c4cb4ca660  google::LogMessage::SendToLog()
    @     0x55c4cb4cb62b  google::LogMessage::Flush()
    @     0x55c4cb4cbc29  google::LogMessageFatal::~LogMessageFatal()
    @     0x55c4ccfbe190  yb::tserver::TabletServerMain()
    @     0x55c4cb478a44  main
    @     0x7f7abbeacd90  (unknown)
    @     0x7f7abbeace40  __libc_start_main
    @     0x55c4cb29802e  _start

Regards,

Chris

Can you please share your initdb.log in the tserver logs?

Hi, there is no initdb.log file in logs folder. Below you will find complete “var” directory which includes all logs etc. for you to review:

Regards, Chris

I see this message

717 W1105 10:25:35.020390 2900 subprocess.cc:210] [initdb] initdb: error: invalid locale name “en_US.UTF-8”

Can you try setting the LOCALE?

sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8

I can confirm running:

sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8

resolved the problem :slight_smile: Thank you for your help!

Regards,

Chris

PS.

I note Debian 12 is not listed as compatible OS for Yugabyte DB deployment. Is there any particular reason for that?

Hi @chris
There’s no particular reason, we just don’t have extensive tests with it.