SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL server Analysis services getting stopped


SQL server Analysis services getting stopped

Author
Message
kranthi.kumar040
kranthi.kumar040
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 30
Hello Pals,

SQL server analysis service (services) getting stopped once partitions are processed with PROCESS FULL using XMLA script calling in "Analysis service DDL Task " in ETL package. After verifying Event Viewer log we observed that failure of msmdsrv.exe application is leading to services stop.
Would like to know possible reasons and fix for the service stop.

Regards,
Kranthi
Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74831 Visits: 15315


Did you check the Msmdsrv.log? Did you check for any dump files if it's enabled? The extension would be .mdmp?
You would also want to check the Windows event logs. What version of SSAS and are you on the current service pack?

Sue



bmg002
bmg002
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20190 Visits: 2715
That screenshot is a little hard to read, but if I am reading it correctly, you are using SQL 11 (ie 2012).
What is the error right below the one you selected?
The application error is likely caused by that MSSqlServerOLAPService error.

But I agree with Sue, checking the Msmdsrv.log file (and any SQL log files you can find) will likely give you better insight to the problem. msmdsrv.exe is the executable for SQL Server Analysis Services (SSAS). So saying that that crashing is the cause of the service crashing is like saying that Excel.exe crashing is the cause of your Excel application crashing.
I'm willing to bet that one of your SQL logs or one of the other windows logs (or events, like the one right below the highlighted one) will have more helpful information in it.
kranthi.kumar040
kranthi.kumar040
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 30
kranthi.kumar040 - Sunday, June 25, 2017 12:17 PM
Hello Pals,

SQL server analysis service (services) getting stopped once partitions are processed with PROCESS FULL using XMLA script calling in "Analysis service DDL Task " in ETL package. After verifying Event Viewer log we observed that failure of msmdsrv.exe application is leading to services stop.
Would like to know possible reasons and fix for the service stop.

Regards,
Kranthi

Hi Sue_H, bmg002
Thanks for your reply.. below are the answers to your questions.
1.Yes..Dump file was created SQLDmpr0054.mdmp and SQLDUMPER_ERRORLOG text file was also created.
2. We are using sql 2012 version
3. And have gone through msmdsrv text file under SSAS log folder. But i didn't get much information about crash report. Would like to know any keywords/how to read the log information to find the exact error.
I'm attaching the screenshots below for your reference.



Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74831 Visits: 15315


Thanks for those. Typically the information you need will be in the dump files when you get crashes. And yours is in that last screenshot:
0xC0000005
The thread tried to read from or write to a virtual address for which is does not have the appropriate access

The error code is Access denied. And that is also what the error message is telling you. - it's a permissions error causing the crash.
Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue.
Make sure the permissions are set correctly for the package and however that is being run since that impacts things. And if it's a job, who is the job owner. The service accounts should only be changed through configuration manager.
If you haven't or don't run the package manually, try doing that and see if it makes a difference.

Sue



Thom A
Thom A
SSC Guru
SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)

Group: General Forum Members
Points: 84365 Visits: 21711
Sue_H - Tuesday, June 27, 2017 7:49 AM
Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue.

Sorry, OP, for not answering the question, but I thought 2012 SP4 was out next month in September? I can't see it in my Windows Updates at the moment either.

Edit: MS moved the date.



Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].
Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community
Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74831 Visits: 15315
Thom A - Tuesday, June 27, 2017 8:14 AM
Sue_H - Tuesday, June 27, 2017 7:49 AM
Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue.

Sorry, OP, for not answering the question, but I thought 2012 SP4 was out next month? I can't see it in my Windows Updates at the moment either.


My apologies - I forgot this one changed a couple of times and is now later and is suppose to be due out in September.
I can't find next month though in any of the retractions on the SP so maybe it's next month. Nonetheless, I apologize.

Sue



Thom A
Thom A
SSC Guru
SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)SSC Guru (84K reputation)

Group: General Forum Members
Points: 84365 Visits: 21711
Sue_H - Tuesday, June 27, 2017 8:22 AM


My apologies - I forgot this one changed a couple of times and is now later and is suppose to be due out in September.
I can't find next month though in any of the retractions on the SP so maybe it's next month. Nonetheless, I apologize.

Sue


They'd moved it again since I'd read the article (I just grabbed the linked). I've already updated my previous post, but yes, out in September now (pending any further changes Rolleyes). Smile


Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].
Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community
Sue_H
Sue_H
SSC Guru
SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)SSC Guru (74K reputation)

Group: General Forum Members
Points: 74831 Visits: 15315
Thom A - Tuesday, June 27, 2017 8:26 AM


They'd moved it again since I'd read the article (I just grabbed the linked). I've already updated my previous post, but yes, out in September now (pending any further changes Rolleyes). Smile


Better than the time they released a bad service pack, broke everyone's maintenance plans, released a fix and never incremented the build. So no one knew which version of service pack they were on. I can't remember which one that was - 2005 or 2008. A total mess.

Sue



kranthi.kumar040
kranthi.kumar040
Valued Member
Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)Valued Member (66 reputation)

Group: General Forum Members
Points: 66 Visits: 30
Sue_H - Tuesday, June 27, 2017 7:49 AM


Thanks for those. Typically the information you need will be in the dump files when you get crashes. And yours is in that last screenshot:
0xC0000005
The thread tried to read from or write to a virtual address for which is does not have the appropriate access

The error code is Access denied. And that is also what the error message is telling you. - it's a permissions error causing the crash.
Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue.
Make sure the permissions are set correctly for the package and however that is being run since that impacts things. And if it's a job, who is the job owner. The service accounts should only be changed through configuration manager.
If you haven't or don't run the package manually, try doing that and see if it makes a difference.

Sue

Hi Sue
Sure.. i'll test the package manually, but the thing is service is getting stopped after successful completion of partition processing and ETL execution.

Kranthi

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search