ionice lijkt wel te werken
Code: Select all
DiskStation> ionice -c2 -n4 /usr/local/sabnzbd/bin/par2
Not enough command line arguments.
par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
par2cmdline comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See COPYING for details.
Usage:
par2 c(reate) [options] <par2 file> [files] : Create PAR2 files
par2 v(erify) [options] <par2 file> [files] : Verify files using PAR2 file
par2 r(epair) [options] <par2 file> [files] : Repair files using PAR2 files
You may also leave out the "c", "v", and "r" commands by using "parcreate",
"par2verify", or "par2repair" instead.
Options:
-b<n> : Set the Block-Count
-s<n> : Set the Block-Size (Don't use both -b and -s)
-r<n> : Level of Redundancy (%%)
-c<n> : Recovery block count (Don't use both -r and -c)
-f<n> : First Recovery-Block-Number
-u : Uniform recovery file sizes
-l : Limit size of recovery files (Don't use both -u and -l)
-n<n> : Number of recovery files (Don't use both -n and -l)
-m<n> : Memory (in MB) to use
-v [-v]: Be more verbose
-q [-q]: Be more quiet (-q -q gives silence)
-- : Treat all remaining CommandLine as filenames
If you wish to create par2 files for a single source file, you may leave
out the name of the par2 file from the command line.
In sabnzdb heb ik nu nergens parameters ingevuld, waardoor het script voor zover ik begrijp gewoon standaard gedraaid wordt. Maar nog steeds krijg ik de volgende error
Code: Select all
/usr/local/var/sabnzbd/cache/SABnzbd_article_BEiBbU removed
2011-05-15 18:29:16,034::INFO::[postproc:134] Saving postproc queue
2011-05-15 18:29:16,264::INFO::[downloader:353] Waiting for post-processing to finish
2011-05-15 18:29:16,834::INFO::[postproc:243] Starting PostProcessing on mkv sample => Repair:True, Unpack:True, Delete:True, Script:test.sh
2011-05-15 18:29:16,846::INFO::[postproc:247] Par2 check starting on mkv sample
2011-05-15 18:29:16,848::INFO::[postproc:254] Running repair on set sample
2011-05-15 18:29:17,012::INFO::[newsunpack:664] Quick-check for sample is OK, skipping repair
2011-05-15 18:29:17,057::INFO::[newsunpack:721] Deleting /volume2/downloads/incomplete/mkv sample/sample.par2
2011-05-15 18:29:17,111::INFO::[newsunpack:735] Deleting /volume2/downloads/incomplete/mkv sample/sample.vol00+60.par2
2011-05-15 18:29:17,120::INFO::[postproc:271] Par2 check finished on mkv sample
2011-05-15 18:29:17,285::INFO::[misc:837] Creating directories: /volume2/downloads/complete/mkv sample
2011-05-15 18:29:17,571::INFO::[postproc:315] Running unpack_magic on mkv sample
2011-05-15 18:29:17,704::INFO::[postproc:317] unpack_magic finished on mkv sample
2011-05-15 18:29:17,927::INFO::[newsunpack:127] Running external script /volume2/downloads/scripts/test.sh(/volume2/downloads/complete/mkv sample, mkv sample.nzb, mkv sample, , None, alt.binaries.hdtv.x264, 0)
2011-05-15 18:29:19,093::INFO::[newsunpack:134] Failed script /volume2/downloads/scripts/test.sh, Traceback:
Traceback (most recent call last):
File "/usr/local/sabnzbd/share/SABnzbd/sabnzbd/newsunpack.py", line 132, in external_processing
File "/usr/local/sabnzbd/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/local/sabnzbd/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2011-05-15 18:29:19,991::INFO::[postproc:470] Cleaning up mkv sample
2011-05-15 18:29:20,029::INFO::[postproc:134] Saving postproc queue
2011-05-15 18:29:20,065::INFO::[downloader:357] Post-processing finished, resuming download
2011-05-15 19:05:01,697::INFO::[rss:376] Running scheduled RSS scan
2011-05-15 20:05:03,709::INFO::[rss:376] Running scheduled RSS scan
2011-05-15 21:05:05,919::INFO::[rss:376] Running scheduled RSS scan
2011-05-15 22:05:06,782::INFO::[rss:376] Running scheduled RSS scan