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

No such file or directory sh #5

Open
QACodeDev opened this issue Feb 15, 2019 · 4 comments
Open

No such file or directory sh #5

QACodeDev opened this issue Feb 15, 2019 · 4 comments

Comments

@QACodeDev
Copy link

I installed docker and cloned the grafana influx repository but with the command docker-compose up, I am getting the error -
Starting dockergrafanainfluxkit_influxdb_1 ... done
Starting dockergrafanainfluxkit_grafana_1 ... done
Attaching to dockergrafanainfluxkit_influxdb_1, dockergrafanainfluxkit_grafana_1
': No such file or directorycute 'sh
: No such file or directory sh
dockergrafanainfluxkit_influxdb_1 exited with code 127
dockergrafanainfluxkit_grafana_1 exited with code 127

@darpandodiya
Copy link

Copying from one of the comments on the article:

"Got the same error.

To resolve it I just opened docker file and entrypoint file for grafana and influxdb in the notepad++
and changed from Windows to Unix system and save"

This worked for me too

@fortanu82
Copy link

Yes, I also faced the same issue and by converting the files from dos2unix command worked.
i.e install a tool on your o/s (windows/mac). I have windows system this I executed run the command "dos2unix -o filename" to make it work.

@Maithrie
Copy link

If its a windows machine, shouldnt it be unix2dos?

@Maithrie
Copy link

Even when i use dos2unix, it gives below error messages.

docker-compose up
Container gatling-grafana-influxdb-influxdb-1 Created
Container gatling-grafana-influxdb-grafana-1 Created
Attaching to gatling-grafana-influxdb-grafana-1, gatling-grafana-influxdb-influxdb-1
': No such file or directoryluxdb-1 | env: can't execute 'sh
gatling-grafana-influxdb-influxdb-1 exited with code 127
gatling-grafana-influxdb-grafana-1 | /usr/bin/env: 'sh\r': No such file or directory
gatling-grafana-influxdb-grafana-1 exited with code 127

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

4 participants