Cavemantech13 2 Posted July 26, 2017 Share Posted July 26, 2017 (edited) I've been using emby on windows 8 64 bit before and now i decided to try linux and i chose CentOS 7.I only installed CentOS on Minimal(no GUI) and with the helped of google i managed to install emby by following your instructions on https://emby.media/linux-server.html and https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server without an error. # systemctl status emby-server [] emby-server.server - Emby Media Server Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor present: disabled) Active: active (running) since Thu 2017-07-27 01:26:36 PHT; 35min ago Main PID: 990 (su) Cgroup /system.slice/emby-server.service [] 990 su -s /bin/sh -c umask $0; exec "$1" "S@" emby --- 002 env MAGICK_HOME=/usr/lib/emby-server MAGICK_CODER_FILTER_PATH=/usr/lib/emby-server/lib64/EmbyMagick-6.9.6/...Jul 27 01:26:36 localhost.localdomain systemd[1]: Started Emby Media Server.Jul 27 01:26:36 localhost.localdomain systemd[1]: Starting Emby Media Server....Jul 27 01:26:36 localhost.localdomain su[990]: (to emby) root on none The Problem is i can't access emby web interface.I tried disabling firewalld but i still can't access 192.168.8.249:8096 (reserved) on my other computer and TV...I've been googling but i can't find any answer and this is too interesting to give up and roll back to windows..Please help.. ThanksPS: I also install Samba and i manage to make it worked, i can see my shared folders in windows and even manage to put files on them.. Edited July 26, 2017 by Cavemantech13 Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 26, 2017 Share Posted July 26, 2017 can you access it from the local machine? Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted July 26, 2017 Share Posted July 26, 2017 What's the output of curl --basic http://localhost:8096 -v if you run it from your server's cli? 1 Link to comment Share on other sites More sharing options...
dcrdev 251 Posted July 26, 2017 Share Posted July 26, 2017 (edited) Disabling firewalld won't necessarily work - there are a bunch of other services that depend on it meaning that it frequently gets restarted. Some things to try: I won't go into configuring firewalld to allow Emby, but if you're not interested in having it enabled - try: $ systemctl disable firewalld <-- Disable $ systemctl mask firewalld <-- Redirect the service to /dev/null i.e. prevent it from ever starting. $ systemctl stop firewalld <-- Stop the running process. $ systemctl restart emby-server Also have you got selinux enabled? If so try: $ setenforce 0 $ systemctl restart emby-server ^ If that works a fix to make it work with selinux is available in my post here: https://emby.media/community/index.php?/topic/44406-emby-service-wont-start-fedora-25/?p=415334 Edited July 26, 2017 by dcrdev 1 Link to comment Share on other sites More sharing options...
Jdiesel 1114 Posted July 26, 2017 Share Posted July 26, 2017 Do you have any experience setting up a ssh tunnel? You can try creating a connection between your headless server and a remote PC which in turn will mimic a local connection to the server. This way you should be able to tell if Emby is running in the background and it is a firewall issue or if Emby is failing to start the web server all together. I use Putty myself. Open Putty and navigate to SSH-Connection-Tunnels and add 8096 for the source port and 127.0.0.1:8096 for the destination then click add. Go back to Sessions as enter your server IP address and connect to it. Once you are logged in open your webbrowser and go to http://127.0.0.1:8096 which should connect you to Emby, if this doesn't work then it may be that Emby isn't firing up correctly. If it works you have a firewall issue. 1 Link to comment Share on other sites More sharing options...
Solution mastrmind11 717 Posted July 26, 2017 Solution Share Posted July 26, 2017 (edited) Do my suggestion first. If you see: * Rebuilt URL to: http://localhost:8096/ * Trying ::1... * Connected to localhost (::1) port 8096 (#0) > GET / HTTP/1.1 > Host: localhost:8096 > User-Agent: curl/7.47.0 > Accept: */* > < HTTP/1.1 302 Found < Location: web/index.html < Server: Microsoft-NetCore/2.0 < Date: Wed, 26 Jul 2017 22:03:42 GMT < Transfer-Encoding: Chunked < then the server is running and it's a firewall issue, in which case see the post post #4 Edited July 26, 2017 by mastrmind11 1 Link to comment Share on other sites More sharing options...
Cavemantech13 2 Posted July 27, 2017 Author Share Posted July 27, 2017 @mastrmind11 I did what you said and got the result you posted so i followed @dcrdev post $ systemctl disable firewalld <-- Disable $ systemctl mask firewalld <-- Redirect the service to /dev/null i.e. prevent it from ever starting. $ systemctl stop firewalld <-- Stop the running process. $ systemctl restart emby-server And got Emby working.. ThanksAnd then i did this $ systemctl unmask firewalld $ systemctl enable firewalld $ systemctl start firewalld $ systemctl restart emby-server then followed the answer here https://emby.media/c...-and-firewalld/ It's working now.. Thank you guys.@Jdiesel That's a good idea i'll try it later, thanks. 2 Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted July 27, 2017 Share Posted July 27, 2017 Awesome. Glad you got it sorted out. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now