Linux (shared hosting) Installation Help

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Linux (shared hosting) Installation Help

Post by soulex »

Hello, I am an experienced Windows user and am familiar with php, however am running into issues installing SABnzbd on my linux server.

I've extracted the SABnzbd.tar.gz into a folder on my web server, but when accessing the URL to SABnzbd.py, I'm greeted with a non-descriptive "500 Internal Server Error".

I've CHMOD the files permission to 705 (and higher), but to no success. I can also run test python scripts on my server just fine.

When running SABnzbd.py from SSH command line, SABnzbd.py does seem to run, but is ignoring my python header "#!/usr/local/bin/python2.7" and states I need python 2.5.

Checking my apache logs only gives me: "date, request method, file accessed, server protocol, and remote IP address. No errors.

I'm not sure what to do or where to check from here. I don't necessarily need a step-by-step tutorial, but rather any advice on what to check next would be greatly appreciated. Any light shined on the subject will be of great assistance.

If have any questions for further troubleshooting please feel free to let me know.

Thanks,

Soulex
Last edited by soulex on February 1st, 2012, 1:05 pm, edited 1 time in total.
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux Installation Help

Post by soulex »

Edit:

I was able to get around the "500 Internal Server Error" message by adding:
"print 'Content-type: text/html\r\n';"
Which allowed my web browser to output the message:
"Sorry, requires Python 2.5 or higher".

One step closer. Whew..
After reading more information about my shared hosting account, I discovered how to run virtualenv, and made a virtual python environment with python2.7. After installing the needed modules, I went back to SABnzbd.py from my browser, but am now getting this error:
"Fatal error: Cannot access the user profile. Please start with sabnzbd.ini file in another location

The sabnzbd.ini should be in the SABnzbd folder on linux, but there was no .ini file found in any of the folders. Perhaps that file is created during the initial set-up of SABnzbd.

Now I'm lost again. So I guess what I'm wanting is a friendly, linux experienced user who's brain i could pick for questions. Who knew installing SABnzbd on a shared hosting plan would be this difficult. =/

Please, any help on installing SABnzbd on my shared hosting account would be greatly appreciated.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

Is this a real Linux account with a login prompt? If so, installing should (could?) be more easy than the things you.

First of all: what Linux distribution is it? Ubuntu, debian, redhat, ... ? Maybe a "cat /etc/lsb-release" will help you telling that.

My SAB runs perfectly well with python 2.7

Oh, wait: which version of SABnzbd did you download?
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

Thanks for your reply. =D

Q.1) Is this a real Linux account with a login prompt?
A.1) Not sure what you mean by 'real Linux account'. It is a shared hosting account from Godaddy.com. I do have SSH terminal access, which is the only login prompt I can think of.

Q.2) What Linux distribution is it?
A.2) Good question, I used "$ cat /proc/version" on the command line and received:
Linux version 2.6.18-238.19.1.el5PAE ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Fri Jul 15 08:15:44 EDT 2011
- So I guess the answer would be Red Hat. (was new info to me =D)

Q.3) Which version of SABnzbd did you download?
A.3) SABnzbd-0.6.14-src.tar.gz (http://sourceforge.net/projects/sabnzbd ... src.tar.gz)
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

And I guess you have no root rights?

What if you go into the SABnzbd directory, and run "python SABnzbd.py" ?
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

Q.1) And I guess you have no root rights?
A.1) Correct, godaddy only gives root to dedicated servers, not shared =/

Q.2) What if you go into the SABnzbd directory, and run "python SABnzbd.py" ?
A.2) In terminal, running "python SABnzbd.py" gives me:
"Sorry, requires Python 2.5 or higher", ignoring my python interpreter (#!/usr/local/bin/python2.7)

But when running from command line using my virtualenv, I get:

2012-02-01 19:47:20,901::INFO::[SABnzbd:1207] --------------------------------
2012-02-01 19:47:20,901::INFO::[SABnzbd:1208] SABnzbd.py-0.6.14 (rev=5bc41d90085 f598b2ea0f54358fc8ed638eef754)
2012-02-01 19:47:20,902::INFO::[SABnzbd:1220] Platform = posix
2012-02-01 19:47:20,903::INFO::[SABnzbd:1221] Python-version = 2.7.2 (default, A ug 16 2011, 11:24:39)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
2012-02-01 19:47:20,904::INFO::[SABnzbd:1222] Arguments = "SABnzbd.py"
2012-02-01 19:47:20,905::INFO::[SABnzbd:1235] Read INI file /var/chroot/home/con tent/95/8182495/.sabnzbd/sabnzbd.ini
2012-02-01 19:47:20,956::INFO::[__init__:864] Loading data for bookmarks.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/bookmarks.sab
2012-02-01 19:47:20,959::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/bookmarks.sab missing, trying old cache
2012-02-01 19:47:20,962::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/bookmarks.sab missing
2012-02-01 19:47:20,963::INFO::[__init__:864] Loading data for rss_data.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/rss_data.sab
2012-02-01 19:47:20,965::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/rss_data.sab missing, trying old cache
2012-02-01 19:47:20,967::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/rss_data.sab missing
2012-02-01 19:47:20,968::INFO::[__init__:864] Loading data for totals9.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/totals9.sab
2012-02-01 19:47:20,969::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-02-01 19:47:20,970::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/totals9.sab missing
2012-02-01 19:47:21,051::INFO::[postproc:89] Loading postproc queue
2012-02-01 19:47:21,051::INFO::[__init__:864] Loading data for postproc1.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/postproc1.sab
2012-02-01 19:47:21,053::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/postproc1.sab missing, trying old cache
2012-02-01 19:47:21,053::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/postproc1.sab missing
2012-02-01 19:47:21,054::INFO::[__init__:864] Loading data for queue9.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/queue9.sab
2012-02-01 19:47:21,055::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/queue9.sab missing, trying old cache
2012-02-01 19:47:21,056::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/queue9.sab missing
2012-02-01 19:47:21,057::INFO::[__init__:864] Loading data for watched_data.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/watched_data.sab
2012-02-01 19:47:21,058::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/watched_data.sab missing, trying old cache
2012-02-01 19:47:21,059::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/watched_data.sab missing
2012-02-01 19:47:21,061::INFO::[downloader:194] Resuming
2012-02-01 19:47:21,063::INFO::[__init__:289] All processes started
2012-02-01 19:47:21,065::INFO::[SABnzbd:331] Web dir is /home/content/95/8182495/html/SABnzbd/interfaces/Plush
2012-02-01 19:47:21,107::INFO::[SABnzbd:459] _yenc module... NOT found!
2012-02-01 19:47:21,108::ERROR::[SABnzbd:464] par2 binary... NOT found!
2012-02-01 19:47:21,108::WARNING::[SABnzbd:472] unrar binary... NOT found
2012-02-01 19:47:21,109::INFO::[SABnzbd:475] unzip binary... found (/usr/bin/unzip)
2012-02-01 19:47:21,110::INFO::[SABnzbd:483] nice binary... NOT found!
2012-02-01 19:47:21,110::INFO::[SABnzbd:485] ionice binary... found (/usr/bin/ionice)
2012-02-01 19:47:21,111::INFO::[SABnzbd:492] pyOpenSSL... NOT found - try apt-get install python-pyopenssl (SSL is optional)
2012-02-01 19:47:21,112::INFO::[SABnzbd:1402] Starting web-interface on localhost:8080
2012-02-01 19:47:21,113::INFO::[_cplogging:55] [01/Feb/2012:19:47:21] ENGINE Bus STARTING
2012-02-01 19:47:21,141::INFO::[_cplogging:55] [01/Feb/2012:19:47:21] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-02-01 19:47:21,342::INFO::[_cplogging:55] [01/Feb/2012:19:47:21] ENGINE Serving on localhost:8080
2012-02-01 19:47:21,343::INFO::[_cplogging:55] [01/Feb/2012:19:47:21] ENGINE Bus STARTED
2012-02-01 19:47:21,344::INFO::[panic:243] Lauching browser with http://localhost:8080/sabnzbd
2012-02-01 19:47:21,589::INFO::[SABnzbd:1471] Starting SABnzbd.py-0.6.14
2012-02-01 19:47:21,591::INFO::[dirscanner:263] Dirscanner starting up
2012-02-01 19:47:21,591::INFO::[urlgrabber:75] URLGrabber starting up
2012-02-01 19:47:27,185::WARNING::[__init__:159] Signal 2 caught, saving and exiting...
2012-02-01 19:47:27,185::INFO::[nzbqueue:167] Saving queue
2012-02-01 19:47:27,186::INFO::[__init__:840] Saving data for queue9.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/queue9.sab
2012-02-01 19:47:27,188::INFO::[__init__:840] Saving data for rss_data.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/rss_data.sab
2012-02-01 19:47:27,191::INFO::[__init__:840] Saving data for bookmarks.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/bookmarks.sab
2012-02-01 19:47:27,193::INFO::[__init__:840] Saving data for watched_data.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/watched_data.sab
2012-02-01 19:47:27,194::INFO::[postproc:83] Saving postproc queue
2012-02-01 19:47:27,197::INFO::[__init__:840] Saving data for postproc1.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/postproc1.sab

and then exits back into terminal (BASH). I noticed some of the modules, like yenc, and par2 are not found, but I doubt that is what's causing my issues.

Anything else I should try from here, or am I screwed and need to get a dedicated server with root access?
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

What does "python --version" tell you?

Maybe port 8080 is already in use? Try "python SABnzbd.py --server 0.0.0.0:44344", and then connect your webbrowser to http://<sharedmachine>:44344/
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

Q.1) What does "python --version" tell you?
A.1) Normal shell gives:

Code: Select all

-bash-3.2$ python --version
Unknown option: --
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
But in my virtualenv, i get:

Code: Select all

-bash-3.2$ python --version
Python 2.7.2
Q.2) Try "python SABnzbd.py --server 0.0.0.0:44344
A.2)

Code: Select all

2012-02-02 01:47:19,422::INFO::[SABnzbd:1207] --------------------------------
2012-02-02 01:47:19,422::INFO::[SABnzbd:1208] SABnzbd.py-0.6.14 (rev=5bc41d90085                                                                                                 f598b2ea0f54358fc8ed638eef754)
2012-02-02 01:47:19,423::INFO::[SABnzbd:1220] Platform = posix
2012-02-02 01:47:19,424::INFO::[SABnzbd:1221] Python-version = 2.7.2 (default, Aug 16 2011, 11:24:39)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
2012-02-02 01:47:19,432::INFO::[SABnzbd:1222] Arguments = "SABnzbd.py", "--server", "0.0.0.0:44344"
2012-02-02 01:47:19,440::INFO::[SABnzbd:1235] Read INI file /var/chroot/home/content/95/8182495/.sabnzbd/sabnzbd.ini
2012-02-02 01:47:19,450::INFO::[__init__:864] Loading data for bookmarks.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/bookmarks.sab
2012-02-02 01:47:19,457::INFO::[__init__:864] Loading data for rss_data.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/rss_data.sab
2012-02-02 01:47:19,465::INFO::[__init__:864] Loading data for totals9.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/totals9.sab
2012-02-02 01:47:19,467::INFO::[__init__:867] /var/chroot/home/content/95/8182495/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-02-02 01:47:19,469::INFO::[__init__:870] /var/chroot/home/content/95/8182495/.sabnzbd/cache/totals9.sab missing
2012-02-02 01:47:19,529::INFO::[postproc:89] Loading postproc queue
2012-02-02 01:47:19,530::INFO::[__init__:864] Loading data for postproc1.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/postproc1.sab
2012-02-02 01:47:19,532::INFO::[__init__:864] Loading data for queue9.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/queue9.sab
2012-02-02 01:47:19,533::INFO::[__init__:864] Loading data for watched_data.sab from /var/chroot/home/content/95/8182495/.sabnzbd/admin/watched_data.sab
2012-02-02 01:47:19,535::INFO::[downloader:194] Resuming
2012-02-02 01:47:19,546::INFO::[__init__:289] All processes started
2012-02-02 01:47:19,547::INFO::[SABnzbd:331] Web dir is /home/content/95/8182495/html/SABnzbd/interfaces/Plush
2012-02-02 01:47:19,688::INFO::[SABnzbd:459] _yenc module... NOT found!
2012-02-02 01:47:19,689::ERROR::[SABnzbd:464] par2 binary... NOT found!
2012-02-02 01:47:19,690::WARNING::[SABnzbd:472] unrar binary... NOT found
2012-02-02 01:47:19,690::INFO::[SABnzbd:475] unzip binary... found (/usr/bin/unzip)
2012-02-02 01:47:19,691::INFO::[SABnzbd:483] nice binary... NOT found!
2012-02-02 01:47:19,691::INFO::[SABnzbd:485] ionice binary... found (/usr/bin/ionice)
2012-02-02 01:47:19,692::INFO::[SABnzbd:492] pyOpenSSL... NOT found - try apt-get install python-pyopenssl (SSL is optional)
2012-02-02 01:47:19,693::INFO::[SABnzbd:1402] Starting web-interface on 0.0.0.0:44344
2012-02-02 01:47:19,694::INFO::[_cplogging:55] [02/Feb/2012:01:47:19] ENGINE Bus STARTING
2012-02-02 01:47:19,761::INFO::[_cplogging:55] [02/Feb/2012:01:47:19] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-02-02 01:47:19,964::INFO::[_cplogging:55] [02/Feb/2012:01:47:19] ENGINE Seving on 0.0.0.0:44344
2012-02-02 01:47:19,965::INFO::[_cplogging:55] [02/Feb/2012:01:47:19] ENGINE Bus STARTED
2012-02-02 01:47:19,967::INFO::[panic:243] Lauching browser with http://localhost:44344/sabnzbd
2012-02-02 01:47:20,093::INFO::[SABnzbd:1471] Starting SABnzbd.py-0.6.14
2012-02-02 01:47:20,095::INFO::[dirscanner:263] Dirscanner starting up
2012-02-02 01:47:20,095::INFO::[urlgrabber:75] URLGrabber starting up
2012-02-02 01:54:56,109::WARNING::[__init__:159] Signal 2 caught, saving and exiting...
2012-02-02 01:54:56,119::INFO::[nzbqueue:167] Saving queue
2012-02-02 01:54:56,125::INFO::[__init__:840] Saving data for queue9.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/queue9.sab
2012-02-02 01:54:56,127::INFO::[__init__:840] Saving data for rss_data.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/rss_data.sa                                     b
2012-02-02 01:54:56,129::INFO::[__init__:840] Saving data for bookmarks.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/bookmarks.                                     sab
2012-02-02 01:54:56,133::INFO::[__init__:840] Saving data for watched_data.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/watched                                     _data.sab
2012-02-02 01:54:56,135::INFO::[postproc:83] Saving postproc queue
2012-02-02 01:54:56,136::INFO::[__init__:840] Saving data for postproc1.sab in /var/chroot/home/content/95/8182495/.sabnzbd/admin/postproc1.sab
Connecting to my shared machine on any other port besides 80 gives me "The connection has timed out" errors. It seems that running SABnzbd.py in my browser is creating a new instance, instead of communicating with the session made in command line. When navigating to the folder and running SABnzbd.py in browser i still get a "Fatal error: Cannot access the user profile. Please start with sabnzbd.ini file in another location " message.

I've followed the instructions, which state:

Code: Select all

"Unpack the ZIP-file containing the SABnzbd sources to any folder of your liking.
Start this from a shell terminal (or command prompt):
    python SABnzbd.py
Within 5-10 seconds your web browser will start and show the user interface."
Since I'm running SSH through putty on Windows, I of course do not get any browser to start.

Edit: Update
Errors, errors, and more errors.

I decided to start over using this guide: CentOS 5.2 (will work for RedHat 5 too) even tho I have Redhat 4.

When installing the Cheetah module I get:

Code: Select all

"unable to execute gcc: No such file or directory"
Then I tried the required compiler stuff to get gcc working: "yum install gcc gcc-c++ python-devel" and got error:

Code: Select all

-bash: yum: command not found
So I decided to get the repository package "rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpm ... f.i386.rpm", and got error:

Code: Select all

error: cannot open Packages index using db3 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
warning: /var/tmp/rpm-xfer.WzoxzF: Header V3 DSA signature: NOKEY, key ID 6b8d79       e6
error: cannot open Packages database in /var/lib/rpm
Perhaps I need root access to install packages, which isn't available to me. I'm wondering if it might be easier to make an FTP account and let some advanced linux user attempt to install it. Since I don't seem to be having any luck.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

Does "python -V" (capital V) work on the normal prompt (not in the virtualenv)?

I don't understand the "WARNING::[__init__:159] Signal 2 caught, saving and exiting..." ... what is going on there? Maybe just try with a clean start: Go into the SAB-unpack directory, and then:

Code: Select all

python SABnzbd.py -f newSABconfig.ini -s 0.0.0.0:44344 -b0
If SAB keeps on running in your command screen (so not Signal 2 Caught, etc), you should be able to point your browser to http://blablabla:44344/ and get the wizard. Fill that out, and leave "Launch my internet browser with the SABnzbd page when the program starts." unchecked. After finishing the wizard, does SABnzbd work?

Other remarks: it is expected that you cannot install packages (via yum, rpm or any other tool). However, no gcc compiler is quite annoying. We'll see if can get it all working without gcc.
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

Q.1) Does "python -V" (capital V) work on the normal prompt
A.1) Yes, I get:

Code: Select all

-bash-3.2$ python -V
Python 2.4.3
However I know my hosting account supports Python 2.7.2, by either referencing the path to the Python 2.7.2 installation: "#!/usr/local/bin/python2.7" or using the virtualenv module to create a virtual Python environment. I'm not sure how to get Python 2.7.2 to show up in my terminal command line. Seems running "python SABnzbd.py" from terminal ignores my reference path to the 2.7.2 installation and says "Sorry, requires Python 2.5 or higher".

Q.2) Maybe just try with a clean start: python SABnzbd.py -f newSABconfig.ini -s 0.0.0.0:44344 -b0
A.2) Now I'm embarrassed, the "WARNING::[__init__:159] Signal 2 caught, saving and exiting" was caused by me pressing "Ctrl+C" in windows in order to copy the log.
Running with the clean start gives:

Code: Select all

2012-02-02 13:56:39,172::INFO::[SABnzbd:1471] Starting SABnzbd.py-0.6.14
2012-02-02 13:56:39,174::INFO::[dirscanner:263] Dirscanner starting up
2012-02-02 13:56:39,174::INFO::[urlgrabber:75] URLGrabber starting up
it__:289] All processes started
When directing my browser to http://{location}.com:44344 I get:

Code: Select all

The connection has timed out
The server at {location} is taking too long to respond.
Even with my .htaccess disabled, no wizard starts up. I'm familiar with the SABnzbd wizard, and entering my Usenet information from installing it on my Windows machine.

Least we solved the "WARNING::[__init__:159" problem :P
premiso
Release Testers
Release Testers
Posts: 16
Joined: June 28th, 2010, 11:43 am

Re: Linux (shared hosting) Installation Help

Post by premiso »

Am I the only one who thinks this is a horrible idea?
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

python 2.4? Wow, that's old. But anyway: 1) SAB is right about with its complaint "python too old', and 2) you know how to run python 2.7. Good.

And SAB keeps running. That's good too.

Now the "The connection has timed out": it makes me wonder if you can connect at all from the outside world to your shared server. Maybe godaddy forbids that (by using an (external) firewall) to avoid business loss.
So, check that: startup SABnzbd as described above. Then, use a second terminal to login again, and check out if you can connect locally: "wget localhost:44344"

And what are you doing with .htaccess? AFAIK, that has nothing to do with SABnzbd.
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

Q.1) check out if you can connect locally: "wget localhost:44344"

It appears that I am able to connect using the 2nd terminal window. Here is what it said:

Code: Select all

-bash-3.2$ wget localhost:44344
--2012-02-03 04:14:31--  http://localhost:44344/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:44344... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost:44344/wizard/ [following]
--2012-02-03 04:14:31--  http://localhost:44344/wizard/
Reusing existing connection to localhost:44344.
HTTP request sent, awaiting response... 200 OK
Length: 2950 (2.9K) [text/html]
Saving to: `index.html'

100%[======================================>] 2,950       --.-K/s   in 0s

2012-02-03 04:14:31 (277 MB/s) - `index.html' saved [2950/2950]
After connecting locally on the 2nd terminal, the 1st window added this:

Code: Select all

/home/content/95/8182495/html/cgi/env_sab/lib/python2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Compiler.py:1509: UserWarning:
You don't have the C version of NameMapper installed! I'm disabling Cheetah's useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don't have the C version of NameMapper installed! "
Unforently, even with SAB running, pointing my browser to http://{location}.com:44344 still gives me

Code: Select all

The connection has timed out. The server at www.{location}.com is taking too long to respond.
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Linux (shared hosting) Installation Help

Post by sander »

So you can't connect from the outside world to port 44344. You cannot solve that; it is a system or network setting. That's bad news; even if you get SABnzbd working, you won't be able to access it with the browser on your PC. You could access it via a local SSH + Lynx session, but that's probably not so useful ...

Here's a shameless plug: VPS for 5 USD per month from http://vps.hexxeh.net/ . You get a VPS (thus your own system, with Ubuntu for example), with your own root account, which can do anything. I use it, and it's great.
soulex
Newbie
Newbie
Posts: 8
Joined: February 1st, 2012, 9:07 am

Re: Linux (shared hosting) Installation Help

Post by soulex »

That is some bad news indeed. I was using SAB's API to build a premium site. I always knew Godaddy hosting was terrible, this just gives me another reason to switch host. Thanks for the VPS plug. I will look into them.

@Sander - Also thanks for all your patience and help in assisting me with these issues. If you ever need any programming advice in PHP/Javacript/SQL, I'd be more than happy to assist you. If you ever need Usenet access as well, I would like to give you a few free months of premium access once my system is complete. Feel free to PM me and we can exchange email/skype/or contact information. Having an experience linux user in my contacts would be a great addition, and hopefully one day I may be of use for you too.

- Soulex
Post Reply