UpdateManager:A problem occurred while restoring file permissions

I want to update my wowza streaming engine, I’am following the tutorial, but I get an error while updating. Log below:

2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating installation. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating file permissions.: path ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A problem occurred while restoring file permissions - check log. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program “updatepermissions.bat”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.updateFileOwnerAndPermissions(UpdateHandlerBase.java:427) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:287) at com.wowza.updatetool.handler.update.Update.run(Update.java:87) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Executing ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat’ windows 10989 21295 C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3 UPDATE PRE 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Failed to execute: ‘nssm224update.bat’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program ““C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat””: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.runAction(UpdateHandlerBase.java:338) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:294) at com.wowza.updatetool.handler.update.Update.run(Update.java:87) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A required action of the update failed. The update did not complete successfully, see the wowzastreamingengine_update.log for details. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating file permissions.: path ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A problem occurred while restoring file permissions - check log. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program “updatepermissions.bat”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.updateFileOwnerAndPermissions(UpdateHandlerBase.java:427) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:287) at com.wowza.updatetool.handler.update.Update.run(Update.java:95) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Executing ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat’ windows 21295 10989 C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3 ROLLBACK PRE 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Failed to execute: ‘nssm224update.bat’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program ““C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat””: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.runAction(UpdateHandlerBase.java:338) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:294) at com.wowza.updatetool.handler.update.Update.run(Update.java:95) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating file permissions.: path ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A problem occurred while restoring file permissions - check log. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program “updatepermissions.bat”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.updateFileOwnerAndPermissions(UpdateHandlerBase.java:427) at com.wowza.updatetool.handler.update.Update.run(Update.java:105) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 10 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating file permissions.: path ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A problem occurred while restoring file permissions - check log. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program “updatepermissions.bat”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.updateFileOwnerAndPermissions(UpdateHandlerBase.java:427) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:287) at com.wowza.updatetool.handler.update.Update.run(Update.java:106) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Executing ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat’ windows 10989 21295 C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3 UPDATE POST 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Failed to execute: ‘nssm224update.bat’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program ““C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat””: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.runAction(UpdateHandlerBase.java:338) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:294) at com.wowza.updatetool.handler.update.Update.run(Update.java:106) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 11 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A required action of the update failed. The update did not complete successfully, see the wowzastreamingengine_update.log for details. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Updating file permissions.: path ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:A problem occurred while restoring file permissions - check log. 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program “updatepermissions.bat”: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.updateFileOwnerAndPermissions(UpdateHandlerBase.java:427) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:287) at com.wowza.updatetool.handler.UpdateHandlerBase.rollback(UpdateHandlerBase.java:446) at com.wowza.updatetool.handler.update.Update.run(Update.java:114) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 12 more 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Executing ‘C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat’ windows 21295 10989 C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3 ROLLBACK PRE 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Failed to execute: ‘nssm224update.bat’ 2018-01-31 16:17:36-main-com.wowza.updatetool.UpdateManager:Error java.io.IOException: Cannot run program ““C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/updates/WowzaStreamingEngine-Update-4.7.3.01/windows/…/files/…/actions/nssm224update.bat””: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.wowza.updatetool.handler.UpdateHandlerBase.runAction(UpdateHandlerBase.java:338) at com.wowza.updatetool.handler.UpdateHandlerBase.runActions(UpdateHandlerBase.java:294) at com.wowza.updatetool.handler.UpdateHandlerBase.rollback(UpdateHandlerBase.java:446) at com.wowza.updatetool.handler.update.Update.run(Update.java:114) at com.wowza.updatetool.UpdateManager.start(UpdateManager.java:145) at com.wowza.updatetool.UpdateManager.main(UpdateManager.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wowza.updatetool.bootstrap.UpdateBootstrap.main(UpdateBootstrap.java:28) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) … 12 more

How can I solve this? All the files are in the right places, I have admin privileges

Hello,

Thanks for contacting the Wowza Community!

Can you confirm you are running the console in admin mode? If windows, right click and run as admin. If Linux, have root as the user or use the sudo command. If you have comfirmed this, and still having issues, can you open a ticket HERE and provide the following information when submitted?

Description of the issue, you can reference this forum post.

Can you provide the following information and this will help me determine where the issue is?

  • Your logs in a .zip file, located here: [install-dir]/logs
  • Your conf folder in a .zip file, located here: [install-dir]/conf
  • Your manager folder in a .zip file, located here: [install-dir]/manager

Helpful Article on creating a .zip file: https://www.wowza.com/docs/how-to-create-a-compressed-zip-file-in-windows-os-x-and-linux

Regards,
Jermaine