Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Cannot start on macOS #13174

Closed
1 of 2 tasks
webfrank opened this issue Oct 10, 2023 · 3 comments
Closed
1 of 2 tasks

bug: Cannot start on macOS #13174

webfrank opened this issue Oct 10, 2023 · 3 comments
Assignees
Labels
C-bug Category: something isn't working

Comments

@webfrank
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Version

databend-v1.2.150-nightly-x86_64-apple-darwin

What's Wrong?

databend-query does not start with error:

RUST_BACKTRACE=1 bin/databend-query -c configs/databend-query.toml
: No getcpu support: percpu_arena:percpu
: option background_thread currently supports pthread only
Databend Query start failure, cause: StorageOther. Code: 4000, Text = Unexpected (permanent) at => async client build failed, source: builder error: The Trust Settings Record was corrupted..

0: backtrace::backtrace::trace
1: backtrace::capture::Backtrace::create
2: backtrace::capture::Backtrace::new
3: common_exception::exception_backtrace::capture
4: common_exception::exception_code::::StorageOther
5: common_exception::exception_into::<impl core::convert::Fromopendal::types::error::Error for common_exception::exception::ErrorCode>::from
6: common_sharing::share_endpoint::ShareEndpointManager::init
7: databend_query::global_services::GlobalServices::init_with::{{closure}}::{{closure}}
8: std::thread::local::LocalKey::with
9: std::thread::local::LocalKey::with
10: databend_query::global_services::GlobalServices::init::{{closure}}
11: std::thread::local::LocalKey::with
12: <async_backtrace::framed::Framed as core::future::future::Future>::poll{{reify.shim}}
13: std::panicking::try
14: <common_base::runtime::catch_unwind::CatchUnwindFuture as core::future::future::Future>::poll
15: tokio::runtime::park::CachedParkThread::block_on
16: tokio::runtime::handle::Handle::block_on
17: databend_query::main
18: std::sys_common::backtrace::__rust_begin_short_backtrace
19: std::rt::lang_start::{{closure}}
20: std::rt::lang_start_internal
21: _main

How to Reproduce?

Download tar.gz from site and follow standalone deployment on macOs

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@webfrank webfrank added the C-bug Category: something isn't working label Oct 10, 2023
@wubx
Copy link
Member

wubx commented Oct 11, 2023

databend-v1.2.150-nightly-x86_64-apple-darwin is for x86_64 platform.
Maybe you should use:databend-v1.2.151-nightly-aarch64-apple-darwin

wget https://repo.databend.rs/databend/v1.2.151-nightly/databend-v1.2.151-nightly-aarch64-apple-darwin.tar.gz

@webfrank
Copy link
Author

webfrank commented Oct 11, 2023 via email

@everpcpc
Copy link
Member

This seems like a trust store issue: rustls/rustls-native-certs#4

Maybe you could try with sudo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants