Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Here is the problem:

tony@bootsy/var/www/bandop $ ln -nfs /var/www/bandop/shared/config/database.yml /var/www/bandop/releases/20090601055013/config/database.yml
ln: creating symbolic link `/var/www/bandop/releases/20090601055013/config/database.yml': No such file or directory

I don't understand why '/var/www/bandop/releases/20090601055013/config/database.yml' has to exist. I want to create that sym link to hit the target specified above (first parameter). The command also failed to execute when logged in as root so it does not seem to be a permissions issue.

Any ideas?

Thanks

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

The path

/var/www/bandop/releases/20090601055013/config/

does not exist

share|improve this answer
add comment

mkdir -p /var/www/bandop/releases/20090601055013/config/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.