Fedora 21 Server :Only access from localhost [selinux]

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
HeinzM
Newbie
Newbie
Posts: 3
Joined: February 14th, 2015, 2:40 am

Fedora 21 Server :Only access from localhost [selinux]

Post by HeinzM »

Hi,

i used to run sabnzb on old linux machine. But got new hardware these days.
sabnzb is now running on Fed 21 Server.
The daemon is already running. But i can't access it over LAN.

netstat display

Code: Select all

tcp        0      0 10.8.7.103:1234         0.0.0.0:*               LISTEN      2070/python          aus (0.00/0/0)
I also tried to connect with disabled firewall. But I still get timeout error.

Any hints?

Sincerly,
Heinz
Last edited by HeinzM on February 14th, 2015, 4:46 am, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 8841
Joined: January 22nd, 2008, 2:22 pm

Re: Only access from localhost

Post by sander »

which URL did you check from another device on your LAN?
HeinzM
Newbie
Newbie
Posts: 3
Joined: February 14th, 2015, 2:40 am

Re: Only access from localhost

Post by HeinzM »

Code: Select all

http://10.8.7.103:1234/sabnzbd/
HeinzM
Newbie
Newbie
Posts: 3
Joined: February 14th, 2015, 2:40 am

Re: Only access from localhost

Post by HeinzM »

I found the error.
I with selinux=disabled everything is working like charm.

If somebody else is expiriencing errors with Fed 21 Server, feel free to pm me.

Sincerly,
HeinzM
User avatar
sander
Release Testers
Release Testers
Posts: 8841
Joined: January 22nd, 2008, 2:22 pm

Re: Fed 21 Server :Only access from localhost

Post by sander »

So you turned completely off selinux?

Maybe this helps to allow SABnzbd to listen (in this case port 12345), quote from https://access.redhat.com/documentation ... erver.html
An SELinux denial similar to the following is logged:
setroubleshoot: SELinux is preventing the httpd (httpd_t) from binding to port 12345. For complete SELinux messages. run sealert -l f18bca99-db64-4c16-9719-1db89f0d8c77
For SELinux to allow httpd to listen on port 12345, as used in this example, the following command is required:
~]# semanage port -a -t http_port_t -p tcp 12345
First step (after turning selinux on again), is to inspect the logging.
Maybe nice to try and find out.
Post Reply