PDA

View Full Version : Recordings not uploading to Management Server from Media Server? This may be why


keith
06-21-2007, 03:51 PM
If you notice your recordings aren't being uploaded to the Management Server, and you go into your recordingcache folder in your Media Server and see some files with todays date, it's possible for some reason WMSStoreRec has gotten confused, and should be ran manually to clear up any problems. Here are some emails I sent to a customer that should help you with this.

Thanks and let me know if I can help.

First email:
Since the recording are showing up in the RecordingCache folder on the Media Server, I think for some reason wmsstorerec.exe is erroring, or just not running properly.
Just to restate what I told you over the phone, how recordings in WAVE works is first it saves it on the Media Server. Then WAVE Scheduler service will call wmsstorerec.exe. This will upload the recordings to the Management Server and add CDR info.

What I'd like you to do is manually execute this command and save the output to a log and send it over to us.

1) Open up command prompt. I usually go Start > Run > cmd

2) Change directory to the Media Server. By default, its usually C:\Program Files\Twisted Pair Solutions\WAVE\MediaServer.

3) Now you need to execute 'wmsstorerec.exe' with a full absolute path of the recording cache folder. Using the above defaults it would be:
'wmsstorerec "C:\Program Files\Twisted Pair Solutions\WAVE\recordingcache"

Be sure to use quotes around the pathname if it has spaces.

Now this should start displaying a ton of debugging information. If none of it looks interesting to you, feel free to send it over to us for analyzing.

I suspect your problem may be permissions related, either wmsstorerec permissions (which I think it normally runs as whatever WAVE Scheduler
does) on the Media Server side or on the Management Server the directory we're writing too the IIS user doesn't have permissions for.)

If you get an error that says something about wmsstorerec already running, stop the Media Server then re-run wmsstorerec.

Second email clarifying some things I was wrong about in the first:

I have just spoke with Shaun and I was mistaken earlier when stating the exact scenario to test wmsstorerec.exe.

1) First, stop the Media Server service completely. Once that is stopped, check taskman and verify wmsstorerec.exe is not running. If it is you can safely kill it.

2) Once you've verified wmsstorerec.exe is not running, from command prompt run it again:

Now you need to execute 'wmsstorerec.exe' with a full absolute path of the recording cache folder. Using the defaults it would be:
wmsstorerec "C:\Program Files\Twisted Pair Solutions\WAVE\recordingcache

Be sure to use quotes around the pathname if it has spaces.

kcarpenter
01-31-2008, 09:34 AM
In rare instances I've seen where files exist that are dated a year or two older (or some other wacky date) than the rest of the files in RecordingCache. For some reason this will cause WMSStoreRec to fail and not transfer the files. The solution is to delete the old rogue files that you probably don't want anyways and restart the WMSStoreRec process Keith listed below.

kcarpenter
02-05-2008, 11:52 AM
2.0 SP3 bug:

If you have an ampersand in your channel name it will cause WMSSTOREREC.exe to fail parsing the XML to know where to send it to the Management server, causing the recordings to stay on the Mediaserver