jangjong

Members
  • Posts

    365
  • Joined

  • Last visited

Everything posted by jangjong

  1. I see a lot of "out of memory" issue in the log. How much ram do you have in your unraid machine?
  2. http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/ap/screen-4.0.3-i486-3.txz http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/a/utempter-1.1.5-i486-1.txz Download these two files, put them in /boot/extra (or in your flashdrive root/extra/. they are the same) Telnet in to unraid, and go to /boot/extra. use installpkg command install them. installpkg /boot/extra/utempter-1.1.5-i486-1.txz installpkg /boot/extra/screen-4.0.3-i486-3.txz Any pkgs in the 'extra' folder gets installed everytime the unraid boots, so as long as you have them in the extra folder, you should have screen
  3. newznab.sh in nix_script has commands to color format the output.. which is not really necessary.. and doesn't work with unraid i've been testing with some scripts and found out newznab.sh in nix_script doesnt really work for unraid. I would download the free version and use the one in cron_script for now.
  4. They're similar.. but different. newznab.sh in crons_scripts only runs "update_binaries.php" and "update_releases.php". newznab.sh in nix_scripts run "update_predb.php", "optimise_db.php", "update_tvschedule.php", and "update_theaters.php".. addition to those two php's above. no idea what these 4 extra php's do but i guess it could be helpful also, newznab.sh crons_scripts runs correctly on unraid, but the one in nix_scripts seems to need some editing before it can run..
  5. The Plus version has a nix_scripts (or something like that ) folder instead of the cron_scripts. It uses daemons instead of cron. Ah ha! that explains it lol but then cron_scripts isnt really using a cron either... i guess the one in nix_scripts does some extra things..
  6. This will run the update_binaries & update_releases every 10 mins without need to setup a cron job? Yep, you just need to change NEWZNAB_PATH in that file though. If you need to run it faster than every 10 mins, you can change NEWZNAB_SLEEP_TIME to less than 600. That's in seconds. If you open up newznab.sh file, you will see what's going on. It just uses While loop to go on and on until it stops. This can probably be added to go file to run it everytime it boots, but i wonder what would be the best way to stop it when the array stops.. but that newznab.sh file should be good to use for now.
  7. Had the same problem. I have no idea why but the newznab+ doesn't include cron_scripts folder in svn... lol i just downloaded the free version from the website and just copied over the folder in that folder, there should be newznab.sh. Edit the path to your updare_script folder. Also, make sure to make it excutable chmod +x ./newznab.sh running ./newznab.sh start should be enough to run update every 10 mins..
  8. Thank you for the write up ddeeds. Glad to hear i don't have to backfill all that. Private messaged BB, got the link right away.. Now to test some more...
  9. Question about scheduling the update.. Is it really necessary to add newznab.sh to the crontab? It looks like newznab.sh is already set to run 'update_binaries.php' and 'update_releases.php' every 10 mintues until the user stops.. Let me know how you guys are handling the scheduling.
  10. If your webroot dir is /mnt/cache/wwwdocs/nzb/www/, just ignore my rewrite rule and use the one that's in /misc/urlrewriting/lighthttpd.txt which is url.rewrite-once = ( "^/.*\.(css|jpg|jpeg|gif|png|js|ico)" => "$0", "^/(admin|install).*$" => "$0", "^/([^/\.]+)/?(?:\?(.*))$" => "index.php?page=$1&$2", "^/([^/\.]+)/?$" => "index.php?page=$1", "^/([^/\.]+)/([^/]+)/?(?:\?(.*))$" => "index.php?page=$1&id=$2&$3", "^/([^/\.]+)/([^/]+)/?$" => "index.php?page=$1&id=$2", "^/([^/\.]+)/([^/]+)/([^/]+)/?$" => "index.php?page=$1&id=$2&subpage=$3" ) I had to edit mine becuase my webroot is just "/mnt/cache/web/" and i have newznab installed under "/mnt/cache/web/newznab/www/". sorry for the confusion.
  11. okay. another question.. when i run 'backfillling'.. do i have to set back fill days for each group that i have activated?
  12. you might have to edit your rewrite rule though. I have it installed under /mnt/cache/web/newznab/www/, so this is what my lighttpd.cfg looks like: url.rewrite-once = ( "^/newznab/www/.*\.(css|jpg|jpeg|gif|png|js|ico)" => "$0", "^/newznab/www/(admin|install).*$" => "$0", "^/newznab/www/([^/\.]+)/?(?:\?(.*))$" => "/newznab/www/index.php?page=$1&$2", "^/newznab/www/([^/\.]+)/?$" => "/newznab/www/index.php?page=$1", "^/newznab/www/([^/\.]+)/([^/]+)/?(?:\?(.*))$" => "/newznab/www/index.php?page=$1&id=$2&$3", "^/newznab/www/([^/\.]+)/([^/]+)/?$" => "/newznab/www/index.php?page=$1&id=$2", "^/newznab/www/([^/\.]+)/([^/]+)/([^/]+)/?$" => "/newznab/www/index.php?page=$1&id=$2&subpage=$3" )
  13. Success! Using the donated version.. Now i just need someone to write up the script to schedule updates lol Oh and maybe recommended group list...
  14. Ah ha! Looks like i'll have to play around with the rule a bit though, but this seems promising. Thanks!
  15. If you got there, then the webserver is installed which has been half my battle. Go to (webserver address, assuming that you put the newznab files in the root web directory): xx.xx.xx.xx:81/install I know. I did install it. It has the install lock and the main page works. Edit: I think it has to do with rewrite rules though. I didnt want to put newznab in the web root, so put it in a directory.. so when i go xx.xx.xx.xx:81/newznab/www/ , it works, when i click login, it tries to go to xx.xx.xx.xx:81/newznab/www/login, but with the rewrite rule, it should actually go to xx.xx.xx.xx:81/newznab/www/index.php.php?page=$1. i dont know how to add rewriterule for Lighttpd.. so i should wait for the instruction lol
  16. oh good.. i was trying to install it myself on my machine, but kept getting 404 errors after installing newznab.. only can access the main page of newznab. probably doing something wrong lol
  17. Try typing in the ip address of the unraid "\\###.###.###.###"
  18. do you have any files inside your web dir? 404 is the default file not found error. if the webserver wasn't running, you would get a 102 error. Nothing in that www directory which is why I posted. I've tried re-installing but no luck. It's working correctly. Create a text file with some random text, name it "index.html" Put it in the web dir, then it should show that text. webserver is looking for the index file and since nothing's there, it's showing 404. The web server plugin doesnt have a default index file
  19. I see.. I'll just have to test it on my own. Thanks
  20. Oh Okay. How big is pretty big? I have a cache drive that i use it as a app drive.. only using 2GB out of 120GB. Should be enough, right?
  21. When someone writes up the steps, it would be good to know what cpu you guys recommend. I use Intel G530.. I wonder if it's time to upgrade.....
  22. man.. i got in nzb.su just in time.. this is too bad..
  23. oh good! so min_free_kbytes does fix this page location errros.. good to know. .good to know lol im gonna set mine to 65536 heh
  24. Actually, many people recommend setting min_free_kbytes value to 65536. http://www.acc.umu.se/~maswan/linux-netperf.txt http://russ.garrett.co.uk/2009/01/01/linux-kernel-tuning/ http://askubuntu.com/questions/41778/computer-freezing-on-almost-full-ram-possibly-disk-cache-problem I'd try that and see if that changes anything.. I say this because I did too get this error whenever I have an activity through smb (read/write) while running pre_clear in screen