![]() ![]() The built-in editor of WinSCP will also work. The regular Notepad and Wordpad will not save the file correctly. When you disable the media server from the NAS web GUI, the Twonky server should shut down, but it doesn't. One of the processes doesn't answer to the SIGTERM signal so you will have to look for it using the ps command and kill it manually using kill -HUP. The process should be easy to find, it's called /harddisk/volume_ #/data/rc.d/twonky/lib/ld-linux.so.2 (where # is the number of your volume, which depends on whether you are running in RAID mode or not).Īnother problem is that the Twonky server is incapable of restarting itself. When you tell it to do so (from the Twonky web GUI), it simply stops and you will have to restart it from the ssh command line (using /etc/rc.d/twonkymedia.sh start). The web page will hang in your browser until you restart Twonky from the command line. I can probably come up with a way to solve these problems (for example by using a chroot) if there is enough interest. ![]() Under Linux, it's possible to specify an override for LD_LIBRARY_PATH on the command line to force a program to use a different path for dynamic libraries. Unfortunately if the program was compiled with newer libraries, the newer C runtime startup code that's at the beginning of the program will also need updated libraries and won't be able to load. Even if you use an LD_LIBRARY_PATH override, you may still get strange errors like the infamous error while loading shared libraries: libc.so.6: cannot handle TLS data error. The solution is to use an updated Linux program loader, ld-linux.so.2. Instead of starting the program with LD_LIBRARY_PATH=/dir/for/updated/libraries /path/to/program, we run /path/to/ld-linux.so.2 -library-path /dir/for/updated/libraries /path/to/program. So what the install script does (after it downloads the updated Twonky server) is rename the binaries, and put a shell script in place of the original executable file that starts the renamed binary with the updated Linux loader as described above. PS It appears that some of the binaries of Twonky 6.0.28 don't need updated libraries after all but it doesn't hurt :wink: (*) The Twonky server itself is not included in the download the installation script automatically downloads the correct file from the Twonky website. ![]() I haven't worked on my NAS200 software in a long time because I don't have much time, and not many people use it anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |