# Getting ./startup.sh: line 32: -Dcom.sun.management.jmxremote=true error on Restart

**URL:** <https://community.wowza.com/t/getting-startup-sh-line-32-dcom-sun-management-jmxremote-true-error-on-restart/34958>\
**Category:** Wowza Streaming Engine\
**Created:** [April 9, 2014, 1:41pm UTC](https://community.wowza.com/t/getting-startup-sh-line-32-dcom-sun-management-jmxremote-true-error-on-restart/34958 "2014-04-09T13:41:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Glaser](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Richard\_Glaser](https://community.wowza.com/u/Richard_Glaser)\
**Post date:** [April 9, 2014, 1:41pm UTC](https://community.wowza.com/t/getting-startup-sh-line-32-dcom-sun-management-jmxremote-true-error-on-restart/34958/1 "2014-04-09T13:41:49Z")

</div>

Hello:

I am running Wowza Media Server 3.6.2 on a OS X 10.8.5 server and had to install some software update for a Drobo RAID (i.e. Drobo Dashboard 2.5.3) which I had to restart the server. After restarting I get the following error…

/Library/WowzaMediaServer/bin/startup.sh: line 32: -Dcom.sun.management.jmxremote=true: command not found

I didn’t modify anything, but install the software and restart the server.

What is going on? Any suggestions?

---

<div class="post-metadata">

**Author:** ![Richard\_Glaser](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Richard\_Glaser](https://community.wowza.com/u/Richard_Glaser)\
**Post date:** [April 9, 2014, 1:50pm UTC](https://community.wowza.com/t/getting-startup-sh-line-32-dcom-sun-management-jmxremote-true-error-on-restart/34958/2 "2014-04-09T13:50:44Z")

</div>

Also, I have been running without issues for 6 months +, until I restarted now I get this error and the server isn’t running.

---

<div class="post-metadata">

**Author:** ![Richard\_Glaser](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Richard\_Glaser](https://community.wowza.com/u/Richard_Glaser)\
**Post date:** [April 9, 2014, 3:21pm UTC](https://community.wowza.com/t/getting-startup-sh-line-32-dcom-sun-management-jmxremote-true-error-on-restart/34958/3 "2014-04-09T15:21:28Z")

</div>

Originally, I received the following, but apbsolute path and then I received the error about…

/Library/WowzaMediaServer/bin/startup.sh: line 32: -Dcom.sun.management.jmxremote=true: command not found

I went back to . ./setenv.sh and cd into /Library/WowzaMediaServer-3.6.2/bin/startup.sh and then ./startup.sh

Strange, does appear the launchd item is properly launching on startup. Will need to debug that more.
