Eric Wright Posted March 14, 2019 Share Posted March 14, 2019 I am trying to install ant media server on centos using the redhat install script and I get the following error: No package apache-commons-daemon-jsvc available. Error: Nothing to do There is a problem in installing JSVC. Please make sure that you added optional rpms repo to your repos. it is failing on this line: $SUDO yum install apache-commons-daemon-jsvc -y if I try that line on its own, I get this: No package apache-commons-daemon-jsvc available. Error: Nothing to do On my system I have a version of jsvc but when I try to run it, I get this: 13/03/2019 18:09:16 14376 jsvc error: No class specified 13/03/2019 18:09:16 14376 jsvc error: Cannot parse command line arguments please help anybody, thank you Link to comment Share on other sites More sharing options...
0 Eric Wright Posted March 14, 2019 Author Share Posted March 14, 2019 update: I tried manually to update the paths to jsvc and java in the antmedia settings file, when I try to start the service now I get this: # service antmedia start Path /usr/local/antmedia Starting the Ant Media Service... 14/03/2019 08:57:10 3992 jsvc error: Invalid option -cwd 14/03/2019 08:57:10 3992 jsvc error: Cannot parse command line arguments Link to comment Share on other sites More sharing options...
0 Selim Emre Posted March 14, 2019 Share Posted March 14, 2019 Hi Eric, Thank you for great feedback. In Centos 6, you encountered a problem with the apache-commons-daemon-jsvc package name change. You have 2 choices for this situation. 1- Centos 6 upgrade to Centos 7. Package name apache-commons-daemon-jsvc didn't change in Centos 7. After upgrading centos 7 you can reinstall the ant media server. 2- For a now, you change install sh file change package name from apache-commons-daemon-jsvc to jakarta-commons-daemon-jsvc. After you change the package name, you can install it again. I'm hoping that I was able to answer your queries, Eric. Please feel free to get back to us if you still have any questions. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Eric Wright Posted March 14, 2019 Author Share Posted March 14, 2019 Hi Salim and thanks for the help I uninstalled jsvc and changed the install script and now it goes through the whole script without error, but when it tries to start the server i get this: Installed: jakarta-commons-daemon-jsvc.x86_64 1:1.0.1-8.9.el6 Complete! Path /usr/local/antmedia Stopping the Ant Media Service... 14/03/2019 10:56:30 5013 jsvc error: Invalid option -cwd 14/03/2019 10:56:30 5013 jsvc error: Cannot parse command line arguments The Ant Media Service has stopped. Path /usr/local/antmedia Starting the Ant Media Service... 14/03/2019 10:56:30 5024 jsvc error: Invalid option -cwd 14/03/2019 10:56:30 5024 jsvc error: Cannot parse command line arguments The Ant Media Service has started. Ant Media Server is started [root@enjoyme-fms tmp]# Link to comment Share on other sites More sharing options...
0 Selim Emre Posted March 14, 2019 Share Posted March 14, 2019 Hi Eric, We're sorry for you having encountered such a problem. Could you upgrade Centos 7 and install Ant Media Server again please ? Best Regards, Selim Link to comment Share on other sites More sharing options...
Question
Eric Wright
Link to comment
Share on other sites
Top Posters For This Question
3
2
Popular Days
Mar 14
5
Top Posters For This Question
Eric Wright 3 posts
Selim Emre 2 posts
Popular Days
Mar 14 2019
5 posts
4 answers to this question
Recommended Posts