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] db start failed due to gpscp not found, on external fts build #468

Closed
1 of 2 tasks
congxuebin opened this issue Jun 13, 2024 · 3 comments
Closed
1 of 2 tasks
Assignees
Labels
type: Bug Something isn't working

Comments

@congxuebin
Copy link
Contributor

congxuebin commented Jun 13, 2024

Cloudberry Database version

This issue is being affected by this commit https://code.hashdata.xyz/cloudberry/database/hashdata-lightning/-/commit/17d47eca4189b64f9503b0854baaf01eef90aa50

What happened

/bin/sh: gpscp: command not found
20240611:14:35:21:014888 gpstart:i-uzvd7o05:gpadmin-[CRITICAL]:-gpstart failed. (Reason='Command 'gpscp -f /code/gpdb_src/gpAux/gpdemo/datadirs/qddir/demoDataDir-1/config/fts_host /code/gpdb_src/gpAux/gpdemo/datadirs/qddir/demoDataDir-1/config/cbdb_etcd.conf =:/tmp/cbdb_etcd.conf' returned non-zero exit status 127.') exiting...
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:-Failed to start CloudberryDB instance; review gpstart output to
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:- determine why gpstart failed and reinitialize cluster after resolving
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:- issues. Not all initialization tasks have completed so the cluster
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:- should not be used.
20240611:14:35:21:008724 gpinitsystem:i-uzvd7o05:gpadmin-[WARN]:-gpinitsystem will now try to stop the cluster

What you think should happen instead

No response

How to reproduce

rpm -ivh http://cbdb-repository.obs.cn-north-4.myhuaweicloud.com/cbdb/centos7/x86_64/release/1.x/rpms/hashdata-lightning-1.5.4%2Bdev.27.gd4a8b246-1.el7.x86_64-76834-release-external_fts.rpm
no gpscp found

Operating System

centos7

Anything else

Tried rename gpsync to gpscp, then source /usr/local/cloudberry-db-devel/greenplum_path.sh, then db could be started successfully.

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@congxuebin congxuebin added the type: Bug Something isn't working label Jun 13, 2024
@tuhaihe
Copy link
Member

tuhaihe commented Jun 13, 2024

AFAIK, we now replace gpscp with gpsync #430 ,FYI

@congxuebin congxuebin changed the title [Bug] gpscp not found, db start failed for external fts build [Bug] gpscp not found, db start failed, on external fts build Jun 13, 2024
@congxuebin
Copy link
Contributor Author

congxuebin commented Jun 13, 2024

@tuhaihe Thanks for the information, yes, I saw that. But db start failed due to that on certain build, which is issue need to be resolved.

@congxuebin congxuebin changed the title [Bug] gpscp not found, db start failed, on external fts build [Bug] db start failed due to gpscp not found, on external fts build Jun 13, 2024
@congxuebin
Copy link
Contributor Author

Thanks for the fix. The issue is gone.

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

3 participants