datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.11k stars 387 forks source link

[Bug] [Module Name] bin/datasophon-api.sh: 34: source: not found #498

Open geekyouth opened 9 months ago

geekyouth commented 9 months ago

Search before asking

What happened

root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#

What you expected to happen

success run

How to reproduce

root@u112:/opt/datasophon/datasophon-manager-1.2.1# sh bin/datasophon-api.sh start api
Begin start api......
bin/datasophon-api.sh: 34: source: not found
bin/datasophon-api.sh: 51: [[: not found
api running as process 10969. Stop it first.
root@u112:/opt/datasophon/datasophon-manager-1.2.1#

Anything else

No response

Version

v1.1.2

Are you willing to submit PR?

Code of Conduct

datasophon commented 9 months ago

The prompt is already very obvious

geekyouth commented 9 months ago

The prompt is already very obvious

what ?

tell me why. thanks

datasophon commented 9 months ago

image

crazy-dadong commented 2 months ago

it's not friendly, 'Source: not found' interfered with my judgment.

I tried running source /etc/profile in the command, and it's work.