Support Questions

Find answers, ask questions, and share your expertise

hue installation error. Unexpected error. Unable to verify database connection

avatar
New Contributor

i install hue on ubuntu.when i go to the step of setting database.it report Unable to verify database connection2017-05-12 12-31-58屏幕截图.png

 

 

i check the cloudera-scm-aserver.log

 

 

2017-05-12 12-33-13屏幕截图.png

it tell me "Command '/run/cloudera-scm-agent/process/163-HUE-test-db-connection/altscript.sh sec-2-password' returned non-zero exit status 126."

 

so i check the permission of altscript.sh

 

 

2017-05-12 12-37-17屏幕截图.png

 

it's executable.

 

how can i fix it? thank you.

2 ACCEPTED SOLUTIONS

avatar
New Contributor

i have resovled it.use mount -o remount,exec /run.

View solution in original post

avatar
Master Collaborator

@SanjeevkishoreY This command basically is remounting the partition /run. 

 

use mount -o remount,exec /run.

View solution in original post

3 REPLIES 3

avatar
New Contributor

i have resovled it.use mount -o remount,exec /run.

avatar

can you please be more specific on the above command..where to run and what is the use.??/

 

Thanks

avatar
Master Collaborator

@SanjeevkishoreY This command basically is remounting the partition /run. 

 

use mount -o remount,exec /run.