digimaster wrote: > That's a odd problem, as there is not mutch changed in 1.07.2. > And more that failsafe works fine. > The only thing could be the owner right settings on the directory. > And i think its something in the Cache directory. > Another thing i read, you do a fresh install, so makes it stranger. > > > > Send from my mobile Phone
Hi Digimaster, the problem ist the use of /bin/pidof in the LogitechMediaServer.sh. /bin/pidof ist symlinked to busybox (not only) on my NAS. Or there is a typo in the else, where you do "ARGS=$(_PGREP ${QPKG_NAME}/SlimServer)". Please have a look. Here´s the actual code for the start / restart section of version 1.07.2 Code: -------------------- # Start LogitechMediaServer, QTS 4.3 and higher with sudo and renice, for faster and more secure preformance. [[ -e /usr/bin/sudo ]] && (( SUDO )) && /usr/bin/sudo -Ebu ${USER} ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) 2>> ${LOGFILE} 1>/dev/null || ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) 2>> ${LOGFILE} 1>/dev/null && wait $! # Check if Services is running and set prio if set, otherwise show error and exit ! ARGS=$(/bin/pidof slimserver.pl) if (( ARGS )) ;then [[ -f ${LOGFILE}.err ]] && /bin/rm ${LOGFILE}.err [[ -e /bin/renice ]] && (( RENICE )) && /bin/renice $RENICE -p ${ARGS} &>/dev/null else ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) -d_startup &>${LOGFILE}.err && wait $! _LOG 9 "CMDLINE "$(_CONFIG) ARGS=$(_PGREP ${QPKG_NAME}/SlimServer) && /bin/kill -9 ${ARGS} &>/dev/null && wait $! _RMPERL _EXIT 1 "Something went wrong, check the ${LOGFILE}.err and you're configuration! You could Try $0 failsafe, or reinstall QPKG! " fi -------------------- And here´s the working version of 1.07 (with the use of _PGREP): Code: -------------------- # Start LogitechMediaServer, QTS 4.3 and higher with sudo and renice, for faster and more secure preformance. [[ -x /usr/bin/sudo ]] && (( SUDO )) && /usr/bin/sudo -Ebu ${USER} ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) 2>> ${LOGFILE} 1>/dev/null || \ ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) 2>> ${LOGFILE} 1>/dev/null && wait $! # Check if Services is running and set prio if set, otherwise show error and exit ! ARGS=$(_PGREP slimserver.pl) if (( ARGS )) ;then [[ -f ${LOGFILE}.err ]] && /bin/rm ${LOGFILE}.err [[ -x /bin/renice ]] && (( RENICE )) && /bin/renice $RENICE -p ${ARGS} &>/dev/null else ${QPKG_ROOT}/SlimServer/slimserver.pl $(_CONFIG) -d_startup &>${LOGFILE}.err && wait $! _LOG 9 "CMDLINE "$(_CONFIG) ARGS=$(_PGREP ${QPKG_NAME}/SlimServer) && /bin/kill -9 ${ARGS} &>/dev/null && wait $! _RMPERL _EXIT 1 "Something went wrong, check the ${LOGFILE}.err and you're configuration! You could Try $0 failsafe, or reinstall QPKG! " fi -------------------- So, if is install 1.07.2 and replace the LogitechMediaServer.sh with the one from 1.07 everything is fine. For further troubleshooting I have tried a complete fresh install of 1.07.2 for at least ten times. After the successfull install, i directly stopped LMS and tried to restart it, and the error came back. So with the naked install (without my restored Cache / prefs), I could force this behaviour. NAS: QNAP TS-451 QTS 4.3.4 (3x 4TB, RAID5) Services: QLogitechMediaServer 1.07 ------------------------------------------------------------------------ blackbite's Profile: http://forums.slimdevices.com/member.php?userid=67317 View this thread: http://forums.slimdevices.com/showthread.php?t=108702
_______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter