Unable to start a cluster

Hi, I am using a windows system and am unable to start a cluster using power shell…
The below is the error - Kindly help …

PS C:\Users\User> cockroach start-single-node
*

  • ERROR: ERROR: failed to initialize node: unable to load named timezones
  • HINT: See: https://github.com/cockroachdb/cockroach/issues/36864
  • Check that the time zone database is installed on your system, or
  • set the ZONEINFO environment variable to a Go time zone .zip archive.

ERROR: failed to initialize node: unable to load named timezones
HINT: See: https://github.com/cockroachdb/cockroach/issues/36864

Check that the time zone database is installed on your system, or
set the ZONEINFO environment variable to a Go time zone .zip archive.
Failed running "start-single-node"

I have added the ZONEINFO env varialable and has set it to value - C:\Go\lib\time\zoneinfo.zip…

when i type get-timezone in power shell, it is giving the below value:
Id : India Standard Time
DisplayName : (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi
StandardName : India Standard Time
DaylightName : India Daylight Time
BaseUtcOffset : 05:30:00
SupportsDaylightSavingTime : False

Help me out on this as I an struck and not able to proceed further…

Regards
Kiran.

Hello,

Have you tried these steps? Specifically step 2.

You can read more about that here.

Thanks,
Matt

Hi Matt,

I have got that resolved. There was a problem with the version of Go language …

Thanks
Kiran.

Awesome!

Glad to hear.