문제

I am trying to install DevStack following the tutorial from here

It says I have to run ./stack.sh as non-root user and I did. But I am getting this error.

++ [[ -n False ]]
++ [[ False != \F\a\l\s\e ]]
++ date +%s
/home/mani/devstack/tools/install_prereqs.sh: line 80: /home/mani/devstack/.prereqs: Permission denied
+++ err_trap
+++ local r=1
+++ set +o xtrace
stack.sh failed
도움이 되었습니까?

해결책

After running ./create-stack-user.sh, try this

chown -R stack:stack /opt/devstack(the path of the cloned devstack) 
su stack 
./stack.sh .

I've stuck with the same problem and this worked..!!

다른 팁

Your error stack.sh failed with Permission denied

This will fix for centos 7x

cd /opt/
chmod 755 stack
cd stack
chmod 755 devstack

The user must still be in the sudoers file. So add the username while root run the command visudo and add the user name what ever it is under root ALL=(ALL) ALL

so you will have:

root ALL=(ALL) ALL
newuserX ALL=(ALL) ALL

re-run ./stack.sh as regular user (with sudo permissions)

might want to clean any previous install attempts with ./clean.sh first, before re-install

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top