Page 1 of 1
Unable to access jarfile
Posted:
Sun Sep 12, 2010 5:44 pm
by leeherron
Using standalone version of 4.1 (subsonic-4.1-standalone.tar.gz) on a non-x install of Slackware 13.0
Have 4.0.1 working fine, but when trying to launch 4.1, I get the following:
Result from command line:
dirname: missing operand
Try `dirname --help' for more information.
Started Subsonic [PID 3261, /var/subsonic/subsonic_sh.log]
Inside the log file:
"Unable to access jarfile subsonic-booter-jar-with-dependencies.jar"
Posted:
Tue Sep 14, 2010 12:16 am
by Medic6666
I get the same error with Fedora. If anyone has a answer to this please let us know. ;0)
Posted:
Thu Sep 23, 2010 4:38 pm
by leeherron
Seriously, no one has an answer for this?
It is a big in the way subsonic.sh launches from the commandline in standalone mode. I managed to hack it to work, but the problem should be addressed.
Posted:
Fri Sep 24, 2010 8:00 pm
by Medic6666
i went back to 4.01 which works for me.
what was the hack you did to 4.1 that got it too work. Just so I can give it a go
Posted:
Tue Sep 28, 2010 1:33 pm
by eRJe
Hi,
run into the same problem like you, to solve the following error:
- Code: Select all
Unable to access jarfile subsonic-booter-jar-with-dependencies.jar
add the absolute path in subsonic.sh e.g.
- Code: Select all
-jar /usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar > ${LOG} 2>&1 &
Problems with
- Code: Select all
dirname: missing operand
Try `dirname --help' for more information.
can be solved by adding the option -f
- Code: Select all
cd $(dirname $0)
if [ -e /bin/readlink ] || [ -e /usr/bin/readlink ]; then
cd $(dirname $(readlink -f $0))
fi
Good luck,
eRJe