Author Topic: SpeechMiner Setup error  (Read 9752 times)

Offline nicholasms

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
SpeechMiner Setup error
« on: June 06, 2015, 05:13:34 PM »
Hi Guys, I am currently deploying the SpeechMiner and stuck at the setup stage... :'(

My Server is a clean installed Windows Server 2008R2 Standard. I followed the Administrator guide "Pre-installation Checklist" and installed all component needed like IIS7 (with all the features stated in the guide) and .NET Framework.

When using the SpeechMiner 8.5.3 setup wizard, if I choose to install "Web" or "Interaction Receiver", it will prompt an error "Microsoft Internet Information Services is disabled..."

But I confirmed IIS7 is up and running in the server and is listening to port 80...Anyone have any idea on what's happening..?

Offline nicholasms

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #1 on: June 06, 2015, 07:20:46 PM »
Case solved, turns out we need the Microsoft Visual C++ 2010 Redistributable Package (x86)....which is never mentioned in the guide  :'(

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7471
  • Karma: 56330
Re: SpeechMiner Setup error
« Reply #2 on: June 07, 2015, 02:44:23 AM »
Thanks for sharing :)

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2693
  • Karma: 41
Re: SpeechMiner Setup error
« Reply #3 on: June 08, 2015, 09:38:49 PM »
I am currently installing GIR solution as well, so thanks for sharing this. If I will encounter any other issue, will share it too.

Just question: Did you install HTCC part?
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline nicholasms

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #4 on: June 09, 2015, 12:02:55 PM »
I noticed from the guide I have to get HTCC installed as prerequisite but I couldn't, because I can't find where to download HTCC in Genesys's customer care...even on their document site it's a restricted section.

I went through the physical disc they shipped to us and I can only find GIR and Utopy. Any idea on that?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2693
  • Karma: 41
Re: SpeechMiner Setup error
« Reply #5 on: June 09, 2015, 04:45:49 PM »
It is under shipping control, but I am wondering if this part of solution is necessary. Documentation says it is mandatory. I am just waiting for approval to download HTCC package from Genesys. So, will let you know.
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline dnib

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #6 on: September 10, 2015, 06:15:12 PM »
Hello Kubig,
Have you managed to finalize the installation of GIR ?
I am interested in the Speech Miner part as I have an issue there: everything is installed but in SM -> Monitor System I have an error saying "Site is down" . The SM web log shows (not sure if this is the root cause):

2015-09-10T11:39:06.496 Std 09900 WARN Could not open index reader, will try again in 5 seconds,If this is the first time the system is being configured please ignore this warning.
no segments* file found in Lucene.Net.Store.SimpleFSDirectory@\\ge-rep\Data\Index: files:
   at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run(IndexCommit commit)
   at Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor)
   at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean readOnly)
   at afn.f()



Otherwise recording files are stored in WebDav accessible storage and RPS sends recording metadata to SpeechMiner (I have call data in SM databse)

Did you encounter such issues ?

Thank you,
D

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2693
  • Karma: 41
Re: SpeechMiner Setup error
« Reply #7 on: September 11, 2015, 03:45:15 PM »
Hello dnib,

yes, I have deployed the GIR succesfully and unfortunately have not encountered similiar issue. Try to check the Lucene files used for indexing.
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline dnib

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #8 on: September 11, 2015, 04:01:50 PM »
Hi Kubig,
The indexer is what is causing the problem. Also the index directory is empty...
You are talking about the files that need to be indexed or the files used by SM (in which case I don't know the exact files to check)?
I have opened a ticket with Genesys. First impression is that SM is configured correctly .

Thank you
D


Sent from my HTC One mini 2 using Tapatalk


Offline dnib

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #9 on: September 11, 2015, 04:30:51 PM »
Kubig,
Can you tell me the version of SM that you are using?

Thank you,
D

Sent from my HTC One mini 2 using Tapatalk


Offline ryusuf

  • Jr. Member
  • **
  • Posts: 92
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #10 on: March 13, 2016, 09:28:43 PM »
Hi Kubig,

I saw your post here that you successfully deployed GIR. I am facing an issue that the recordings folder in WebDAV has mp3 files in it. However, when i checked the GCTI\MCP\cache\record\failed folder. I can find the corresponding mp3 and json files for the call.

The MCP logs shows the following error 500 Internal Server Error.

2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:658 POST /api/contact-centers//recordings/ HTTP/1.1
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Host: 10.33.48.218:8889
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Accept: */*
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Content-Length: 849
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Date: Sun, 13 Mar 2016 12:10:09 +0000
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Authorization: Basic UlB1c2VyOlJQdXNlcg==
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 Content-Type: application\json
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:553 X-Genesys-FMSessionID: 00A8016E-100032DB-0000008D-00A8016E-100032DB
2016-03-13 15:10:09.145 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMThreadQueue.cxx:447 upload completely sent off: 849 out of 849 bytes

2016-03-13 15:10:09.175 DBUG 00000000-00000000 9536 01F00000 FMResponseData.cxx:341 HTTP/1.1 500 Internal Server Error
2016-03-13 15:10:09.175 DBUG 00000000-00000000 9536 01F00000 FMResponseData.cxx:360 Content-Length: 1137
2016-03-13 15:10:09.175 DBUG 00000000-00000000 9536 01F00000 FMResponseData.cxx:360 Content-Type: text/plain
2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMThreadQueue.cxx:447 Connection #1 to host 10.33.48.218 left intact

2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMThreadQueue.cxx:710 Request successful: uri=http://10.33.48.218:8889/api/contact-centers//recordings/
2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMThreadQueue.cxx:825 HTTP request completed
2016-03-13 15:10:09.175 DBUG 00000000-00000000 9536 01F00000 FMResponseData.cxx:421 Received fetch completed, response code=500
2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMThreadQueue.cxx:1514 Response is not cacheable
2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB-0000008D-00A8016E-100032DB 9536 01F00000 FMUserRequest.cxx:512 Request completed, sending RequestCompleteNotify.
2016-03-13 15:10:09.175 DBUG 00A8016E-100032DB 7028 0B100000 MPCRecordPost.cxx:1108 Record Post::Processing response for recording: file://C:\GCTI\MCP/cache/record/call-33SBC5CS553MD969QDGF45DQKO000005_2016-03-13_12-08-34-00A8016E-100032DB-00000001.mp3, post response 500, post mode 6, post state 3, response string: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 1245, in communicate
    req.respond()
  File "/usr/local/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 775, in respond
    self.server.gateway(self).respond()
  File "/usr/local/lib/python2.7/site-packages/web/wsgiserver/__init__.py", line 2018, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/usr/local/lib/python2.7/site-packages/web/httpserver.py", line 306, in __call__
    return self.app(environ, xstart_response)
  File "/usr/local/lib/python2.7/site-packages/web/httpserver.py", line 274, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 290, in wsgi
    start_resp(status, headers)
  File "/usr/local/lib/python2.7/site-packages/web/httpserver.py", line 303, in xstart_response
    self.log(status, environ)
  File "/usr/local/lib/python2.7/site-packages/web/httpserver.py", line 319, in log
    print >> outfile, utils.safestr(msg)
IOError: [Errno 5] Input/output error

2016-03-13T15:10:09.175 Std 45013 EROR 00A8016E-100032DB 7028 0B1007D4 Record Post::Encountered recoverable error while posting the recording: file://C:\GCTI\MCP/cache/record/call-33SBC5CS553MD969QDGF45DQKO000005_2016-03-13_12-08-34-00A8016E-100032DB-00000001.mp3, post response: 500, post state: HTCC post in progress
2016-03-13 15:10:09.175 DBUG 00000000-00000000 7028 0B100000 MPCRecordPost.cxx:728 Record Post:: Pending post count = 0, Posts in progress = 1
2016-03-13 15:10:09.175 DBUG 00000000-00000000 7028 0B100000 MPCRecordPost.cxx:912 Record Post:: Pending post count = 0, Posts in progress = 1
2016-03-13 15:10:09.486 DBUG 00000000-00000000 7056 0B100000 MPCConference.cxx:356 MPCConference[000000001C541570]::~MPCConference nConfID=300032BF
2016-03-13 15:10:09.486 DBUG 00A8016E-100032DB 7056 0B200000 MPCMixer.cxx:104 MPCMixer::~MPCMixer[000000001C641DE0] - m_OutputSets.size()=0
2016-03-13T15:10:09.581 Trc 33009 INFO 00000000-00000000 6276 02800FA1 Request received: OPTIONS sip:10.33.48.206:5070 SIP/2.0
Via: SIP/2.0/UDP 10.33.48.206:5064;branch=z9hG4bK000000001ECDAA50e558a1
From: <sip:GVP@10.33.48.206:5064>;tag=E2AB1E34-2BDB-4929-25B8-17B5F718F86E
To: sip:10.33.48.206:5070
Max-Forwards: 70
CSeq: 26024 OPTIONS
Call-ID: A223594F-8A1D-412C-0D83-3CF937BA6D1D-5064@10.33.48.206
Contact: <sip:GVP@10.33.48.206:5064>
Content-Length: 0
Supported: timer, uui

Any thoughts on the above. I checked the speechminer interface and could not find any interactions. Obviously, it has not reached there.  :(

If i am missing out any details, please do let me know.

Thank You
Best Regards

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7471
  • Karma: 56330
Re: SpeechMiner Setup error
« Reply #11 on: March 13, 2016, 10:45:09 PM »
Are you able to create a file on the WebDav folder (Linux) with supplied credentials? Seems to me that HTCC can't copy the file

Offline Janis

  • Full Member
  • ***
  • Posts: 110
  • Karma: 4
Re: SpeechMiner Setup error
« Reply #12 on: March 13, 2016, 11:16:43 PM »
You are getting error from RecordingProcessorScript. Check log of RPS.

Offline ryusuf

  • Jr. Member
  • **
  • Posts: 92
  • Karma: 0
Re: SpeechMiner Setup error
« Reply #13 on: March 14, 2016, 01:16:56 AM »
Are you able to create a file on the WebDav folder (Linux) with supplied credentials? Seems to me that HTCC can't copy the file

Hi Cavagnaro,

Yes the files are created inside the webdav folder.

You are getting error from RecordingProcessorScript. Check log of RPS.

Hi Janisk,

Yes i can see the following error in the RPS logs.  :(

2016-03-13 14:49:14,511 event_collector ERROR Fail to parse party information of call 33SBC5CS553MD969QDGF45DQKO000003 with Exception Required key is missing, endpointtype
Traceback (most recent call last):
  File "/opt/RPS/rp/event_collector.py", line 222, in parse_call_info
    if self._getIntAttribute(record, 'endpointtype', required=True) != 0:
  File "/opt/RPS/rp/event_collector.py", line 60, in _getIntAttribute
    raise Exception('Required key is missing, ' + keyName)
Exception: Required key is missing, endpointtype
2016-03-13 14:49:14,513 event_collector DEBUG IconId ICON
2016-03-13 14:49:14,513 event_collector DEBUG Found the dbserver connection on 10.33.48.206...
2016-03-13 14:49:14,519 event_collector DEBUG No records 33SBC5CS553MD969QDGF45DQKO000003 in G_IS_LINK in the primary DB. Query the back-up DB
2016-03-13 14:49:14,520 event_collector DEBUG No back-up DB
2016-03-13 14:49:14,520 event_collector DEBUG No IS_LINK records in DB
2016-03-13 14:49:14,521 event_collector DEBUG IconId ICON
2016-03-13 14:49:14,521 event_collector DEBUG Found the dbserver connection on 10.33.48.206...
2016-03-13 14:49:14,526 event_collector DEBUG No records 33SBC5CS553MD969QDGF45DQKO000003 in G_IS_LINK in the primary DB. Query the back-up DB
2016-03-13 14:49:14,526 event_collector DEBUG No back-up DB
2016-03-13 14:49:14,527 event_collector DEBUG No IS_LINK records in DB
2016-03-13 14:49:14,527 event_collector DEBUG ICON call party records:

But i have no clue why RPS is not able to parse the metadata.

Thank You
Best Regards

Offline Janis

  • Full Member
  • ***
  • Posts: 110
  • Karma: 4
Re: SpeechMiner Setup error
« Reply #14 on: March 14, 2016, 04:44:35 PM »
I saw "Input/Output error" in your first log. What user is running RPS script? Does it have rights to write to the file rp/rpqueue.db?