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

[BE/CN] Start issue with regard to symbolic log dir #45518

Open
kevincai opened this issue May 13, 2024 · 1 comment
Open

[BE/CN] Start issue with regard to symbolic log dir #45518

kevincai opened this issue May 13, 2024 · 1 comment
Assignees
Labels
type/bug Something isn't working

Comments

@kevincai
Copy link
Contributor

kevincai commented May 13, 2024

BE/CN process refuses to start if the log directory is a symbolic link to other places.

I0513 13:33:51.905779 4142686 starrocks_be.cpp:169] BE start step 7: storage engine start bg threads successfully
I0513 13:33:51.911042 4142686 starlet_server.cc:74] Starlet grpc server started on 0.0.0.0:29070
I0513 13:33:51.911090 4142686 starrocks_be.cpp:173] BE start step8: staros worker init successfully
I0513 13:33:51.911096 4142686 starrocks_be.cpp:180] BE start step 9: datacache init successfully
I0513 13:33:51.911124 4143170 starlet.cc:103] Empty starmanager address, skip reporting!
I0513 13:33:51.911156 4142686 backend_base.cpp:78] StarRocksInternalService has started listening port on 29060
I0513 13:33:51.913081 4142686 thrift_server.cpp:380] BackendService has started listening port on 29060
I0513 13:33:51.913087 4142686 starrocks_be.cpp:195] BE start step 10: start thrift server successfully
I0513 13:33:51.924506 4142686 server.cpp:1069] Server[starrocks::BackendInternalServiceImpl<starrocks::PInternalService>+starrocks::LakeServiceImpl+starrocks::BackendInternalServiceImpl<doris::PBackendService>] is serving on port=28060.
I0513 13:33:51.924516 4142686 server.cpp:1072] Check out http://sandbox-cloudnative:28060 in web browser.
I0513 13:33:51.925523 4142686 starrocks_be.cpp:229] BE start step 11: start brpc server successfully
E0513 13:33:51.925938 4142686 starrocks_be.cpp:234] BE http server did not start correctly, exiting: create /home/disk4/caixiaohua/git-src/deploy/be/log recursive: Not a directory
total 219656
drwxr-xr-x 13 sr sr       4096 May 13 16:01 .
drwx------  9 sr sr       4096 May 13 16:01 ..
drwxr-xr-x  2 sr sr       4096 May 13 16:01 bin
drwxr-xr-x  2 sr sr       4096 May 13 14:54 block_cache
drwxr-xr-x  2 sr sr       4096 May 13 16:01 conf
-rw-------  1 sr sr 2506424320 May 13 15:12 core.6249
drwxr-xr-x  2 sr sr       4096 May 13 14:54 datadog
drwxr-xr-x 12 sr sr       4096 May 13 15:12 lib
lrwxrwxrwx  1 sr sr          9 May 13 14:57 log -> temp/log/
drwxrwxr-x  2 sr sr       4096 May 13 16:01 pprof
drwxr-xr-x  2 sr sr       4096 May 13 16:01 spill
drwxr-xr-x  8 sr sr       4096 May 13 16:04 storage
drwxr-xr-x  2 sr sr       4096 May 13 14:54 storage_ssd
drwxrwxr-x  3 sr sr       4096 May 13 14:57 temp
drwxr-xr-x  3 sr sr       4096 May 13 14:54 www

Version:

main branch, 9cc958a

@kevincai kevincai added the type/bug Something isn't working label May 13, 2024
@kevincai kevincai changed the title [BE/CN] Start issue [BE/CN] Start issue with regard to symbolic log dir May 13, 2024
@kevincai kevincai self-assigned this May 13, 2024
@kevincai
Copy link
Contributor Author

introduced in PR be/src/service/service_be/http_service.cpp

force config::pprof_profile_dir to be a regular directory

@srlch

@kevincai kevincai assigned srlch and unassigned kevincai May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants