LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2023, 08:18 AM   #1
dave1953
LQ Newbie
 
Registered: Jan 2021
Location: Walsall, UK
Distribution: Manjaro Gnome
Posts: 7

Rep: Reputation: Disabled
Plexmediaserver Issue


Hi. I'm constantly learning (from my mistakes) with Slackware 15.0 and love the way that the user can store .tgz and .txz package files once compiled and install them on a fresh Slackware installation. I've recently done this with plexmediaserver which I cannot get to run. I have followed the instructions and created the necessary group and user as per the slackbuild readme, I have also chmod 755 the rc.d plexmediaserver again as per the instructions. The localhost refuses to connect even after a reboot. Therefore the only conclusion I can draw is that "something" is missing. I installed Avahi and enabled it, thinking it might be that. No success. The only other thought I had is - does localhost require something which I do not have to make it work. Research suggests Apache server, perhaps? I would appreciate any thoughts on my dilemma, please. BTW I would not have a clue on how to install Apache server if that is the missing component. Thanks for reading this and any advice.
 
Old 08-13-2023, 08:37 AM   #2
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 781

Rep: Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895Reputation: 895
Quote:
Originally Posted by dave1953 View Post
I have followed the instructions and created the necessary group and user as per the slackbuild readme, I have also chmod 755 the rc.d plexmediaserver again as per the instructions. The localhost refuses to connect even after a reboot.
After the "chmod 755" step, did you also hook it into the "/etc/rc.d/rc.local" script so that it actually fires up at boot? E.g, in my rc.local:
Code:
if [ -x /etc/rc.d/rc.plexmediaserver ]; then
  /etc/rc.d/rc.plexmediaserver start
fi
And for rc.local_shutdown:
Code:
if [ -x /etc/rc.d/rc.plexmediaserver ]; then
  /etc/rc.d/rc.plexmediaserver stop
fi
Sorry I had to ask, since you didnt mention doing this.
 
1 members found this post helpful.
Old 08-13-2023, 08:46 AM   #3
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by dave1953 View Post
The localhost refuses to connect even after a reboot.
Are you trying to use the web interface on the localhost? The pms default listening port is 32400. Have you tried:

Code:
http://localhost:32400/web
BTW, no need for apache. pms has a built in web interface.

Last edited by Chuck56; 08-13-2023 at 08:53 AM. Reason: apache not needed
 
Old 08-13-2023, 09:00 AM   #4
dave1953
LQ Newbie
 
Registered: Jan 2021
Location: Walsall, UK
Distribution: Manjaro Gnome
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 0XBF View Post
After the "chmod 755" step, did you also hook it into the "/etc/rc.d/rc.local" script so that it actually fires up at boot? E.g, in my rc.local:
Code:
if [ -x /etc/rc.d/rc.plexmediaserver ]; then
  /etc/rc.d/rc.plexmediaserver start
fi
And for rc.local_shutdown:
Code:
if [ -x /etc/rc.d/rc.plexmediaserver ]; then
  /etc/rc.d/rc.plexmediaserver stop
fi
Sorry I had to ask, since you didnt mention doing this.

I haven't done what you suggested; however I will give it a go. Having enabled the service and rebooted, I would have thought it should have run. Sorry, having difficulties understanding where I'm going wrong.
 
Old 08-13-2023, 09:05 AM   #5
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Just installed, and it works fine
Code:
chown -R plex:plex /var/lib/plexmediaserver
Code:
chmod +x /etc/rc.d/rc.plexmediaserver 
/etc/rc.d/rc.plexmediaserver start
and :
Code:
http://localhost:32400/web

Last edited by marav; 08-13-2023 at 09:06 AM.
 
Old 08-13-2023, 09:11 AM   #6
dave1953
LQ Newbie
 
Registered: Jan 2021
Location: Walsall, UK
Distribution: Manjaro Gnome
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Chuck56 View Post
Are you trying to use the web interface on the localhost? The pms default listening port is 32400. Have you tried:

Code:
http://localhost:32400/web
BTW, no need for apache. pms has a built in web interface.

Thanks I am used to plexmediaserver on other distros and tried localhost:32400/web and tried http://localhost:32400/web with no success. I asked for guidance as having correctly installed, following all the instructions, correctly enabled - again according to the instructions and rebooted, (just in case) the browser would not connect to localhost I am at a loss. Please be aware I have successfully used plexmediaserver in Debian, Fedora, Arch, Opensuse, Salix and many Debian derivatives, Ubuntu, Mint MX Zorin etcetera. Slackware is the only distribution I am struggling with as far as Plex is concerned. What really confuses me is that it works fine in Salix (Slackware based) but not in Slackware. Which is why I believed "something" is missing.......
 
Old 08-13-2023, 09:19 AM   #7
dave1953
LQ Newbie
 
Registered: Jan 2021
Location: Walsall, UK
Distribution: Manjaro Gnome
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks - Once again I have made the same rookie error I made previously - I did not type in the "start" command /etc/rc.d/rc.plexmediaserver start. I need to make a note in my plexmediaserver Slackware reminder document to add that step. Apologies for the error. Done it before, so you would think I would have known. 70 years old if that is a legitimate excuse.......

thanks for the help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Plexmediaserver issue - User Error [SOLVED] dave1953 Slackware 2 07-17-2023 08:53 AM
[SOLVED] Difficulty with plexmediaserver SlackBuild walterbyrd Slackware 19 10-24-2021 04:14 PM
Cannot get rc.plexmediaserver to start on boot Slacker133701 Linux - Newbie 1 09-11-2017 06:38 AM
[SOLVED] Difficulty with plexmediaserver walterbyrd Calculate 2 04-30-2017 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration