Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

start_sandbox.sh - error - Permission Denied

avatar
Expert Contributor

Hello,

I am able to run the startup_sandbox.sh .

However, when it reaches line 71 of the code, I get the followng error:

[mhon@docker01 hortonworks_hadoop]$ docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' >/dev/nul -bash: /dev/nul: Permission denied

I look forward to hearing your advice.

Thanks,

Marcia

1 ACCEPTED SOLUTION

avatar
Not applicable

@ Marcia Hon

the problem seems to be incorrect spelling of "null"

/dev/nul: Permission denied


It should be changed to 


/dev/null

.

So the correct command should be as following:

docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' > /dev/null 

.

View solution in original post

2 REPLIES 2

avatar
Not applicable

@ Marcia Hon

the problem seems to be incorrect spelling of "null"

/dev/nul: Permission denied


It should be changed to 


/dev/null

.

So the correct command should be as following:

docker exec -t sandbox nohup su - hue -c '/bin/bash /usr/lib/tutorials/tutorials_app/run/run.sh' > /dev/null 

.

avatar
Expert Contributor

Thanks so much jss!!! Wow, you are fast!