Error run Wowza from Eclipse

I try insert video on VOD stream follow intruction:

https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client

But not successfull. When i run Wowza from Eclipse cpnsole logs:

ERROR server comment - StatsFileDatabase.openDatabase(C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/machine.wdb): : java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.2.0\stats\machine.wdb (Access is denied)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.(Unknown Source)|at com.wowza.wms.stats.database.file.StatsFileDatabase.openDatabase(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabase.open(Unknown Source)|at com.wowza.wms.stats.StatsManager$StatsManagerWorker.run(Unknown Source)|

ERROR server comment - StatsDatabaseMachine:Open() failed to open C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/machine.wdb

ERROR server comment - StatsManagerWorker:run() Error Opening DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/machine.wdb

ERROR server comment - StatsDatabaseMachine:close() Attempted to close unopen DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/machine.wdb

ERROR server comment - StatsFileDatabase.openDatabase(C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/server.wdb): : java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.2.0\stats\server.wdb (Access is denied)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.(Unknown Source)|at com.wowza.wms.stats.database.file.StatsFileDatabase.openDatabase(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabase.open(Unknown Source)|at com.wowza.wms.stats.StatsManager$StatsManagerWorker.run(Unknown Source)|

ERROR server comment - StatsDatabaseServer:Open() failed to open C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/server.wdb

ERROR server comment - StatsManagerWorker:run() Error Opening DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/server.wdb

ERROR server comment - StatsDatabaseServer:close() Attempted to close unopen DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/server.wdb

ERROR server comment - StatsFileDatabase.openDatabase(C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/vhost_defaultVHost_.wdb): : java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.2.0\stats\vhost_defaultVHost_.wdb (Access is denied)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.(Unknown Source)|at com.wowza.wms.stats.database.file.StatsFileDatabase.openDatabase(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabase.open(Unknown Source)|at com.wowza.wms.stats.StatsManager$StatsManagerWorker.run(Unknown Source)|

ERROR server comment - StatsDatabaseVHost:Open() failed to open C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/vhost_defaultVHost_.wdb

ERROR server comment - StatsManagerWorker:run() Error Opening DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/vhost_defaultVHost_.wdb

ERROR server comment - StatsDatabaseVHost:close() Attempted to close unopen DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/vhost_defaultVHost_.wdb

ERROR server comment - StatsFileDatabase.openDatabase(C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_live.wdb): : java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.2.0\stats\application_defaultVHost_live.wdb (Access is denied)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.(Unknown Source)|at com.wowza.wms.stats.database.file.StatsFileDatabase.openDatabase(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabase.open(Unknown Source)|at com.wowza.wms.stats.StatsManager$StatsManagerWorker.run(Unknown Source)|

ERROR server comment - StatsDatabaseApplication:Open() failed to open C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_live.wdb

ERROR server comment - StatsManagerWorker:run() Error Opening DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_live.wdb

ERROR server comment - StatsDatabaseApplication:close() Attempted to close unopen DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_live.wdb

ERROR server comment - StatsFileDatabase.openDatabase(C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_vod.wdb): : java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.2.0\stats\application_defaultVHost_vod.wdb (Access is denied)|at java.io.RandomAccessFile.open(Native Method)|at java.io.RandomAccessFile.(Unknown Source)|at com.wowza.wms.stats.database.file.StatsFileDatabase.openDatabase(Unknown Source)|at com.wowza.wms.stats.database.StatsDatabase.open(Unknown Source)|at com.wowza.wms.stats.StatsManager$StatsManagerWorker.run(Unknown Source)|

ERROR server comment - StatsDatabaseApplication:Open() failed to open C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_vod.wdb

ERROR server comment - StatsManagerWorker:run() Error Opening DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_vod.wdb

ERROR server comment - StatsDatabaseApplication:close() Attempted to close unopen DB. C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.2.0/stats/application_defaultVHost_vod.wdb

Hi,

Could you try the following and see if these alerts go away:

  • navigate to /usr/local/WowzaStreamingEngine/stats

  • delete the files in that directory ( rm /usr/local/WowzaStreamingEngine/stats/*)

  • restart Wowza.

Wowza will recreate the stats database files once it is back up. If the alerts continue to happen then please raise a ticket by emailing your findings to support@wowza.com, including a link to this thread and zipped up copies of your [install-dir[/conf/ and [install-dir]/logs.

Regards,

Salvadore

Hi,
I just installed Wowza and Eclipse on my Mac.
First I got some access issues that I solved granting Eclipse permissions to access /Library/WowzaStreamingEngine. Now I get permission denied for /Library/WowzaStreamingEngine/stats/*.wdb files…
I tried installing Wowza in a different location but the installer didn’t give me the choice. Any hints on this please?

Did you try the steps mentioned in the previous post ?

Yes of course I’ve tried.
I’ve noticed that the *.wdb filea are re-created even without restarting Wowza but I still get the same access problem. Then I stop Wowza before deleting the files, and restart it afterwards, that works fine.
I’m still unable to build the module, the issue now is that it’s looking for a different key that the one in the system:

[main] ERROR Server - writeKeyToFile: java.io.FileNotFoundException: /Library/WowzaStreamingEngine/keys/st/1647517514444.key (Permission denied)

~ % ls /Library/WowzaStreamingEngine/keys/st/
1647516542322.key

SORTED:
Just need to ensure full permissions to /Library/WowzaStreamingEngine

1 Like