Does not display page remotely

Content of the forums on sabnzbdplus.SourceForge.net

Does not display page remotely

Postby shypike » February 1st, 2008, 7:32 pm

Delete By: qrb123 (qrb123) - 2008-01-02 21:13
I am trying to configure SABnzbd+ on a server, that will be accessed by clients in my home. I have the ip address of the server in the host section of the sabnzbd.ini file, in my case 192.168.1.22, which is the static IP of the server.

SABnzbd+ starts on the server, and fires up lynx and I can see the page localy. When I exit lynx on the server, I can see the remote connections showing in the terminal that I started SABnzbd+ from. 

When I try to connect from another machine, I see the connection scroll by on the screen on the server, but all I get is a blank white page on the remote machine. I have tried from both lynx on the remote machine and firefox. Both show the same white blank page with no page source.

The server is a ubuntu gutsy server install, with no X, and the remote client is a ubuntu feisty install. 

What am I doing wrong? 


Here is the entire output from the terminal 

jeff@LinuxServer:~/sabnzbd-0.3.0rc4$ python SABnzbd.py

SABnzbd-0.3.0rc4 [/home/jeff/sabnzbd-0.3.0rc4/SABnzbd.py]
INFO:root:--------------------------------
INFO:root:SABnzbd-0.3.0rc4
2008-01-02 14:46:03,922::INFO::SABnzbd-0.3.0rc4
INFO:root:Initializing SABnzbd v0.3.0rc4
2008-01-02 14:46:03,923::INFO::Initializing SABnzbd v0.3.0rc4
ERROR:root:Permissions () not correct, use OCTAL notation!
2008-01-02 14:46:03,924::ERROR::Permissions () not correct, use OCTAL notation!
INFO:root:[sabnzbd] Loading data for rss.sab from /home/jeff/.sabnzbd/cache/rss.sab
2008-01-02 14:46:03,926::INFO::[sabnzbd] Loading data for rss.sab from /home/jeff/.sabnzbd/cache/rss.sab
INFO:root:[sabnzbd] Loading data for bytes.sab from /home/jeff/.sabnzbd/cache/bytes.sab
2008-01-02 14:46:03,927::INFO::[sabnzbd] Loading data for bytes.sab from /home/jeff/.sabnzbd/cache/bytes.sab
INFO:root:[sabnzbd] Loading data for queue.sab from /home/jeff/.sabnzbd/cache/queue.sab
2008-01-02 14:46:03,928::INFO::[sabnzbd] Loading data for queue.sab from /home/jeff/.sabnzbd/cache/queue.sab
INFO:root:_yenc module... found!
2008-01-02 14:46:03,930::INFO::_yenc module... found!
INFO:root:celementtree module... found!
2008-01-02 14:46:03,931::INFO::celementtree module... found!
INFO:root:par2 binary... found (/usr/bin/par2)
2008-01-02 14:46:03,932::INFO::par2 binary... found (/usr/bin/par2)
INFO:root:rar binary... found (/usr/bin/unrar)
2008-01-02 14:46:03,933::INFO::rar binary... found (/usr/bin/unrar)
INFO:root:unzip binary... found (/usr/bin/unzip)
2008-01-02 14:46:03,933::INFO::unzip binary... found (/usr/bin/unzip)
INFO:root:Perl interpreter... found (['/usr/bin/perl', '/home/jeff/sabnzbd-0.3.0rc4/sabnzbd/utils/sendEmail.pl'])
2008-01-02 14:46:03,934::INFO::Perl interpreter... found (['/usr/bin/perl', '/home/jeff/sabnzbd-0.3.0rc4/sabnzbd/utils/sendEmail.pl'])
INFO:root:Web dir is /home/jeff/sabnzbd-0.3.0rc4/interfaces/Default
2008-01-02 14:46:03,941::INFO::Web dir is /home/jeff/sabnzbd-0.3.0rc4/interfaces/Default
INFO:root:Starting SABnzbd-0.3.0rc4
2008-01-02 14:46:03,944::INFO::Starting SABnzbd-0.3.0rc4
INFO:root:Starting web-interface on 192.168.1.22:8080
2008-01-02 14:46:03,946::INFO::Starting web-interface on 192.168.1.22:8080
02/Jan/2008:14:46:03 CONFIG INFO Server parameters:
02/Jan/2008:14:46:03 CONFIG INFO server.environment: production
02/Jan/2008:14:46:03 CONFIG INFO server.log_to_screen: True
02/Jan/2008:14:46:03 CONFIG INFO server.log_file: /home/jeff/.sabnzbd/logs/cherrypy.log
02/Jan/2008:14:46:03 CONFIG INFO server.log_tracebacks: True
02/Jan/2008:14:46:03 CONFIG INFO server.log_request_headers: False
02/Jan/2008:14:46:03 CONFIG INFO server.protocol_version: HTTP/1.0
02/Jan/2008:14:46:03 CONFIG INFO server.socket_host: 192.168.1.22
02/Jan/2008:14:46:03 CONFIG INFO server.socket_port: 8080
02/Jan/2008:14:46:03 CONFIG INFO server.socket_file: 
02/Jan/2008:14:46:03 CONFIG INFO server.reverse_dns: False
02/Jan/2008:14:46:03 CONFIG INFO server.socket_queue_size: 5
02/Jan/2008:14:46:03 CONFIG INFO server.thread_pool: 10
02/Jan/2008:14:46:04 HTTP INFO Serving HTTP on http://192.168.1.22:8080/
INFO:root:Lauching browser with http://192.168.1.22:8080/sabnzbd
2008-01-02 14:46:04,159::INFO::Lauching browser with http://192.168.1.22:8080/sabnzbd
192.168.1.101 - - [02/Jan/2008:15:04:35] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20061201 Firefox/2.0.0.11 (Ubuntu-feisty)"
192.168.1.101 - - [02/Jan/2008:15:04:37] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20061201 Firefox/2.0.0.11 (Ubuntu-feisty)"
192.168.1.101 - - [02/Jan/2008:15:04:38] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20061201 Firefox/2.0.0.11 (Ubuntu-feisty)"
192.168.1.101 - - [02/Jan/2008:15:04:38] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20061201 Firefox/2.0.0.11 (Ubuntu-feisty)"



      RE: Does not display page remotely
      Delete By: shypike (shypikeProject Admin) - 2008-01-02 21:39
      I'm not sure about this, the logging looks OK (you can ignore the "permissions" error).
     
      As an alternative you can try to set an empty host or 0.0.0.0, but that's not a likely solution, since the systems do connect.
     
      Is there any more logging in ~/.sabnzbd/logs/cherrypy.log? This file contains error messages regarding the web interface.
     
      One thing is bit odd.
      The local browser is started on address http://192.168.1.22:8080/sabnzbd but I see requests coming from 192.168.1.101.
     
      What do you see when you do a "view source" on the client browser?


      RE: Does not display page remotely
      Delete By: rascalli (rascalli) - 2008-01-03 06:56
      Maybe a dump question , but are all ports opened in router/firewall ?

      RE: Does not display page remotely
      Delete By: qrb123 (qrb123) - 2008-01-03 16:36
      I just found my error. I was simply putting "192.168.1.22:8080" in my browser. I was not aware I needed "192.168.1.22:8080/sabnzbd"
     
      I was missing the /sabnzbd at the end of the url. It was working the whole time, I was just too stupid to realize it. LOL Man I feel dumb.
     
      I appreciate the help.
     
      One more question, how do I set this up to automagicaly start-up when the server boots up? 
     


      RE: Does not display page remotely
      Delete By: rascalli (rascalli) - 2008-01-03 17:54
      What linux are you using ?
     
      If you use Ubuntu or other debian based OS.
     
      You can use my script : 
     
      http://sourceforge.net/forum/forum.php? ... _id=744572

      RE: Does not display page remotely
      Delete By: qrb123 (qrb123) - 2008-01-03 22:39
      Thanks!
     
      I tried that script and it did not work for me - I will continue this in that thread for organization purposes.
User avatar
shypike
Administrator
Administrator
 
Posts: 16556
Joined: January 18th, 2008, 1:49 pm

Return to Old SF.net forum