sabnzbd successful install?

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: sabnzbd successful install?

Postby pepedog » Fri Feb 11, 2011 8:42 pm

This will give you a swapfile
$this->bbcode_second_pass_code('', 'dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap /swapfile.img
swapon /swapfile.img')Put this in rc.local
$this->bbcode_second_pass_code('', '/sbin/swapon /swapfile.img')
Dave
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: sabnzbd successful install?

Postby nebody00 » Fri Feb 11, 2011 9:16 pm

$this->bbcode_second_pass_quote('pepedog', 'T')his will give you a swapfile
$this->bbcode_second_pass_code('', 'dd if=/dev/zero of=/swapfile.img bs=1M count=512')


Is this command supposed to be run in a certain directory?

I got this: $this->bbcode_second_pass_quote('', '
')
512+0 records out
536870912 bytes (537 MB) copied, 35.4892 s, 15.1 MB/s


when I ran the command at the prompt when I logged into my Arch Linux ARM install.

After this part I ran:
$this->bbcode_second_pass_code('', 'mkswap /swapfile.img')

I got:
$this->bbcode_second_pass_code('', '
/swapfile.img: No such file or directory')


$this->bbcode_second_pass_quote('', '
')$this->bbcode_second_pass_code('', 'swapon /swapfile.img')

Put this in rc.local
$this->bbcode_second_pass_code('', '/sbin/swapon /swapfile.img')
Dave


Am I supposed to move the swapfile into the rc.local or am I supposed to be in the rc.local directory to run this command? Thanks for your help!
nebody00
 
Posts: 5
Joined: Sat Sep 04, 2010 6:44 pm
Top

Re: sabnzbd successful install?

Postby pepedog » Fri Feb 11, 2011 9:33 pm

I made a typo there
Everywhere you see /swapfile.img make it /swapfile ( which is already created in the / directory)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: sabnzbd successful install?

Postby nebody00 » Sat Feb 12, 2011 12:51 am

$this->bbcode_second_pass_quote('pepedog', 'I') made a typo there
Everywhere you see /swapfile.img make it /swapfile ( which is already created in the / directory)


Thanks Dave, I think I got most of it except for the last part where you enter

$this->bbcode_second_pass_code('', '/sbin/swapon /swapfile.img')


Am I supposed to enter this in the root directory? I do not have a rc.local directory.
nebody00
 
Posts: 5
Joined: Sat Sep 04, 2010 6:44 pm
Top

Re: sabnzbd successful install?

Postby pepedog » Sat Feb 12, 2011 11:24 am

rc.local is a file, not a directory.
What you have achieved so far is create the swap file, "formatted" it (these steps are only done once), and manually turned it on.
The /etc/rc.local file is a "script" that is run on boot, so it saves you manually turning the swap on every reboot.

My instructions were pasted from another post, and didn't spot the typo, the filename could have been anything, and any size, as long as the name of it is consistant. swap on a flash drive is not a good idea, meant really for a hard drive.

Dave
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: sabnzbd successful install?

Postby gsmumbo » Wed Feb 23, 2011 11:39 pm

So I have everything working except when I download something SAB gives me this.
$this->bbcode_second_pass_quote('', 'F')ile "/opt/sickbeard/autoProcessTV/sabToSickBeard.py", line 26
print "No folder supplied - is this being called from SABnzbd?"


Any ideas?
gsmumbo
 
Posts: 1
Joined: Wed Feb 23, 2011 11:35 pm
Top

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests

cron