Networked Media Tank
[Telnetd] Unrar stops extracting too early - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: Community Jukebox, Themes, & UserApps Section (/forumdisplay.php?fid=106)
+--- Forum: 200/300/400 Series - Development and User Apps (/forumdisplay.php?fid=121)
+---- Forum: 100 Series - Development and User Apps (/forumdisplay.php?fid=33)
+---- Thread: [Telnetd] Unrar stops extracting too early (/showthread.php?tid=40363)



[Telnetd] Unrar stops extracting too early - bohlendach - 05-13-2010 09:50 AM

I have tried to unrar a splitted rar-archive (92 volumes) on my A-110 using telnetd and the command:

Code:
/mnt/syb8634/bin/unrar e your_archive.rar

The result should be an iso-file of 4 gb, but it stops at 1.8 gb. The ps command states that the process is still running, but the harddisk has stopped spinning.

Can any one help me?


RE: [Telnetd] Unrar stops extracting too early - dc11ab - 05-13-2010 10:55 AM

A longshot perhaps, but how much space is left on your HDD?


RE: [Telnetd] Unrar stops extracting too early - bohlendach - 05-13-2010 11:44 AM

Good point, but there is more than 500 gb left.


RE: [Telnetd] Unrar stops extracting too early - dc11ab - 05-13-2010 12:40 PM

Try with verbose output, perhaps it can give a clue.


RE: [Telnetd] Unrar stops extracting too early - bohlendach - 05-14-2010 07:43 PM

I think that i have come closer to solving the problem. If quit the terminal before the unrar is complete then the NMT stops unraring after a few minutes. If I let the telnet session running then unrar does its job.

No difference when using Putty or the 'telnet'-command from the command prompt in Windows.

Isn't that strange. I thought that a command would be executed regardless of the telnet connection.


RE: [Telnetd] Unrar stops extracting too early - dc11ab - 05-14-2010 08:10 PM

You have to put the command in the background, otherwise it will break when you disconnect the session.

Something like this:
Code:
/mnt/syb8634/bin/unrar e your_archive.rar >/dev/null &&

The above will not give any feedback if it's done or something goes bananas, but you can probably check with ps if it's active. Some more experienced *nix person can probably explain this better than I.


RE: [Telnetd] Unrar stops extracting too early - bohlendach - 05-14-2010 09:37 PM

(05-14-2010 08:10 PM)dc11ab Wrote:  You have to put the command in the background, otherwise it will break when you disconnect the session.

Something like this:
Code:
/mnt/syb8634/bin/unrar e your_archive.rar >/dev/null &&

The above will not give any feedback if it's done or something goes bananas, but you can probably check with ps if it's active. Some more experienced *nix person can probably explain this better than I.

Thx, that did it!


RE: [Telnetd] Unrar stops extracting too early - Slevin - 05-15-2010 08:45 AM

(05-14-2010 08:10 PM)dc11ab Wrote:  You have to put the command in the background, otherwise it will break when you disconnect the session.

Something like this:
Code:
/mnt/syb8634/bin/unrar e your_archive.rar >/dev/null &&

The above will not give any feedback if it's done or something goes bananas, but you can probably check with ps if it's active. Some more experienced *nix person can probably explain this better than I.

Maybe it is nice to change this in the Wiki,
http://www.networkedmediatank.com/wiki/index.php/Unrar
Since it says: "You may now close the terminal, and the process will finish by itself."


RE: [Telnetd] Unrar stops extracting too early - bohlendach - 05-15-2010 12:10 PM

(05-15-2010 08:45 AM)Slevin Wrote:  Maybe it is nice to change this in the Wiki,
http://www.networkedmediatank.com/wiki/index.php/Unrar
Since it says: "You may now close the terminal, and the process will finish by itself."

Has been done!