repeatedly getting invalid_service errors

Support for security such as Firewalls and securing linux
Post Reply
Aeducan
Posts: 1
Joined: 2019/02/13 04:40:09

repeatedly getting invalid_service errors

Post by Aeducan » 2019/02/13 04:46:03

I am trying to set up a plex server on 7 minimal and every time i try to run

Code: Select all

firewall-cmd --permanent --add-service=plexmediaserver
i am receiving Error: INVALID_SERVICE: 'plexmediaserver' not among existing services. I created a plexmediaserver.xml file in /etc/firewalld/services and dont understand what i am missing. Thanks in advance

pjsr2
Posts: 433
Joined: 2014/03/27 20:11:07

Re: repeatedly getting invalid_service errors

Post by pjsr2 » 2019/02/13 13:14:09

Did you do a

Code: Select all

firewall-cmd --reload
after you added the plexmediaserver.xml file?

buffalosolja42
Posts: 1
Joined: 2019/04/01 00:33:48

Re: repeatedly getting invalid_service errors

Post by buffalosolja42 » 2019/04/01 00:36:18

I am having the same issue and will be following this thread. I thought it was me but noticed that other items in firewalld/services would take the command. Thanks for all your help :)

User avatar
TrevorH
Forum Moderator
Posts: 26515
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: repeatedly getting invalid_service errors

Post by TrevorH » 2019/04/02 15:34:51

Show us the contents of the file in question and also the output from ls -laZ against it.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Security Support”