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

[root@localhost phxqueue]# bin/store_main -c etc/store_server.0.conf ERR: MakeArgs ret -1 #8

Closed
shangmacun opened this issue Sep 14, 2017 · 5 comments

Comments

@shangmacun
Copy link

[root@localhost phxqueue]# bin/store_main -c etc/store_server.0.conf
ERR: MakeArgs ret -1

@shangmacun
Copy link
Author

Log file created at: 2017/09/14 04:07:15
Running on machine: localhost.localdomain
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0914 04:07:15.580317 29020 logger_google.cpp:79] ^[[41;37m ERR: PN8phxqueue5store8SyncCtrlE::Init:90 open err Is a directory path ./data/store.0/sync ^[[0m
E0914 04:07:15.583386 29020 logger_google.cpp:79] ^[[41;37m ERR: PN8phxqueue5store5StoreE::Init:163 sync Init ret -1 ^[[0m
E0914 04:07:15.583400 29020 logger_google.cpp:79] ^[[41;37m ERR: MakeArgs:66 init phxqueue store err ^[[0m

@shangmacun
Copy link
Author

./data/store.0 need to create manually?

@shangmacun
Copy link
Author

此条语句报错
auto sync_path(opt->data_dir_path + "/sync");
int fd = open(sync_path.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
if (fd < 0) {
QLErr("open err %s path %s", strerror(errno), sync_path.c_str());
return comm::RetCode::RET_ERR_SYS;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@unixliang @shangmacun and others