Jump to content

Hi all, I have an ubuntu server box that I'd like to install Plex on per recommendation of others on the forum. I've installed it on the server, the trouble is, I can't access the webclient to configure the software. Some other people on the forum on this post helped me along but it was off topic so I'm starting a new one here. To make things a bit easier, I'd ask that you take a look at what steps were taken there so we don't have any repeat steps.

 

my most recent step to troubleshoot the issue is to run the command 

sudo service plexmediaserver status

to get the output

● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Mar 12 05:50:05 mail.lynnden.xyz sh[30694]: Illegal instruction (core dumped)
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: Stopped Plex Media Server for Linux.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: Failed to start Plex Media Server for Linux.
Mar 12 06:15:49 mail.lynnden.xyz systemd[1]: [/lib/systemd/system/plexmediaserver.service:11] Invalid escape sequences in line, correcting: "/bin/sh -c 'LD_LIBRARY_PATH
Mar 12 06:23:24 mail.lynnden.xyz systemd[1]: [/lib/systemd/system/plexmediaserver.service:11] Invalid escape sequences in line, correcting: "/bin/sh -c 'LD_LIBRARY_PATH

I checked plexmediaserver.service to line 11 it reads 

ExecStart=/bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'

Is this just an invalid command, or am I on the wrong path entirely?

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/
Share on other sites

Link to post
Share on other sites

Just now, whiteGloveReview said:

Hi all, I have an ubuntu server box that I'd like to install Plex on per recommendation of others on the forum. I've installed it on the server, the trouble is, I can't access the webclient to configure the software. Some other people on the forum on this post helped me along but it was off topic so I'm starting a new one here. To make things a bit easier, I'd ask that you take a look at what steps were taken there so we don't have any repeat steps.

 

my most recent step to troubleshoot the issue is to run the command 


sudo service plexmediaserver status

to get the output


● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Mar 12 05:50:05 mail.lynnden.xyz sh[30694]: Illegal instruction (core dumped)
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 12 05:50:05 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: Stopped Plex Media Server for Linux.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Mar 12 05:50:10 mail.lynnden.xyz systemd[1]: Failed to start Plex Media Server for Linux.
Mar 12 06:15:49 mail.lynnden.xyz systemd[1]: [/lib/systemd/system/plexmediaserver.service:11] Invalid escape sequences in line, correcting: "/bin/sh -c 'LD_LIBRARY_PATH
Mar 12 06:23:24 mail.lynnden.xyz systemd[1]: [/lib/systemd/system/plexmediaserver.service:11] Invalid escape sequences in line, correcting: "/bin/sh -c 'LD_LIBRARY_PATH

I checked plexmediaserver.service to line 11 it reads 


ExecStart=/bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'

Is this just an invalid command, or am I on the wrong path entirely?

What were your steps/guide when installing the server?

My native language is C++

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506205
Share on other sites

Link to post
Share on other sites

1 minute ago, whiteGloveReview said:

I followed the steps linked here.

Remember that while Ubuntu is based on debian, the two distros are quite different nowadays.

 

I think you just have a bad installation. I would recommend following this guide, as I just used it yesterday to install plex on my own server.

 

 

http://askubuntu.com/questions/766485/how-to-set-up-plexmediaserver-in-ubuntu-16-04

My native language is C++

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506210
Share on other sites

Link to post
Share on other sites

34 minutes ago, tt2468 said:

Remember that while Ubuntu is based on debian, the two distros are quite different nowadays.

 

I think you just have a bad installation. I would recommend following this guide, as I just used it yesterday to install plex on my own server.

 

 

http://askubuntu.com/questions/766485/how-to-set-up-plexmediaserver-in-ubuntu-16-04

lynn@mail:/etc/systemd/system$ sudo service plexmediaserver status
● plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/etc/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Sun 2017-03-12 06:53:53 EDT; 1min 6s ago
  Process: 3958 ExecStart=/bin/sh -c /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=132)
  Process: 3954 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
 Main PID: 3958 (code=exited, status=132)

Mar 12 06:53:47 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=132/n/a
Mar 12 06:53:47 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Unit entered failed state.
Mar 12 06:53:47 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Mar 12 06:53:53 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Mar 12 06:53:53 mail.lynnden.xyz systemd[1]: Stopped Plex Media Server for Linux.
Mar 12 06:53:53 mail.lynnden.xyz systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Mar 12 06:53:53 mail.lynnden.xyz systemd[1]: Failed to start Plex Media Server for Linux.

what group should I run this as? I don't know what groups exist on my server.

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506240
Share on other sites

Link to post
Share on other sites

Most setup guides for Debian can be used on Ubuntu Server (and vice versa), but you have to be aware of a few important differences when doing it that way.

 

Start by rolling back every step from the Debian guide. Purge Plexmediaserver, revert any changes you've made to other system/config files.

 

Or, if this server has nothing else on it, format and start over again.

Home theater gaming rig: AMD 5800X, Asus TUF Radeon 6900 XT, 32 GB, 65" LG C1 OLED, custom chassis (link to build log)

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506269
Share on other sites

Link to post
Share on other sites

Just now, Just.Oblivious said:

Most setup guides for Debian can be used on Ubuntu Server (and vice versa), but you have to be aware of a few important differences when doing it that way.

 

Start by rolling back every step from the Debian guide. Purge Plexmediaserver, revert any changes you've made to other system/config files.

 

Or, if this server has nothing else on it, format and start over again.

i have an email server running, format and try again isn't an option.

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506272
Share on other sites

Link to post
Share on other sites

Follow plan A: retrace your steps and undo the changes.

 

Make sure there are no Debian-specific repositories in your apt-get sources.

Home theater gaming rig: AMD 5800X, Asus TUF Radeon 6900 XT, 32 GB, 65" LG C1 OLED, custom chassis (link to build log)

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506295
Share on other sites

Link to post
Share on other sites

5 minutes ago, Just.Oblivious said:

Follow plan A: retrace your steps and undo the changes.

 

Make sure there are no Debian-specific repositories in your apt-get sources.

followed the guide @tt2468 linked above, the only reps that are there are the ones supplied by ubuntu and the one in that guide.

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9506309
Share on other sites

Link to post
Share on other sites

SoI've been trying this on and off. I've tried to purge and remove every trace of plex that I can think of on the server to then reinstall it, using the guide that @tt2468 provided above, and i've been getting the same errors. I don't get what I'm doing wrong here. Can anyone help?

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9510047
Share on other sites

Link to post
Share on other sites

26 minutes ago, whiteGloveReview said:

SoI've been trying this on and off. I've tried to purge and remove every trace of plex that I can think of on the server to then reinstall it, using the guide that @tt2468 provided above, and i've been getting the same errors. I don't get what I'm doing wrong here. Can anyone help?

I'd say reinstall ubuntu

My native language is C++

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9510160
Share on other sites

Link to post
Share on other sites

4 hours ago, whiteGloveReview said:

I tell you what though, next attempt at doing something like this, I'm gonna use virtual machines so if I need to nuke a vm, I just can.

currently nuking. fortunately there were no important emails on there.

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9510763
Share on other sites

Link to post
Share on other sites

2 hours ago, whiteGloveReview said:

hey here's a thought. could this issue be caused by my using a 32 bit cpu rather than a 64 bit?

I guess that depends.  Did you try installing the 64-bit package instead of the 32-bit package?

Malo Periculosam Libertatem Quam Quietum Servitium

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9511396
Share on other sites

Link to post
Share on other sites

17 minutes ago, whiteGloveReview said:

not entirely sure. I don't know what that file was designed for.

The name of the file should specifically say 32 or 64 bit along with the revision number.  You might want to go to the website and download it directly.  

Malo Periculosam Libertatem Quam Quietum Servitium

Link to comment
https://linustechtips.com/topic/751097-ubuntu-server-plex-help/#findComment-9514313
Share on other sites

Link to post
Share on other sites

Guest
This topic is now closed to further replies.

×