- Code: Select all
unable to access jarfile subsonic-booter-jar-with-dependencies.jar
that error was the only thing listed in the subsonic_sh.log.
and the terminal gave the following message upon execution of the subsonic.sh script:
- Code: Select all
readlink: illegal option --f
usage: readlink [-n] [file ...]
usage: dirname path
Started Subsonic [PID 6672, /var/subsonic/subsonic_sh.log]
but subsonic did not actually start.
I went into the new (4.0b1/4.0final) subsonic.sh script to see what had changed and the only major thing I found was the following code:
- Code: Select all
cd $(dirname $0)
if [ -e /bin/readlink ] || [ -e /usr/bin/readlink ]; then
cd $(dirname $(readlink -f $0))
fi
which took the place of the previous (3.9) code:
- Code: Select all
cd 'dirname $0'
so I replaced that one section of the new script with the previous code and tried it again. everything started fine. . .
I mentioned this mainly in case anyone else has the same problem, and also for Sindre: i'm not sure what the new "cd $(dirname $0) . . . " section is meant to accomplish, but somehow it's preventing me from starting up subsonic. . . I'd be curious to hear an explanation of you have one! otherwise, the workaround seems to work fine. . .