Essbase.sec corrupt

Hello all.
Some days ago we had to restart Essbase in order to activate some new config settings. But Essbase wouldn't start. We got the following error message on startup:
Fatal Error: Invalid record in security file. Restart Essbase using the latest backup security file, or set the ENABLESWITCHTOBACKUPFILE.
We switched to an essbase.sec from the day before and Essbase started. Then, some days later we once again had to restart the Essbase service, and then the exact thing happened once again. I started digging into different log files and I've found the following:
- A couple of days before the first restart of the Essbase service I see the following error message in the Essbase.log:
[Wed Oct 03 00:42:28 2012]Local/ESSBASE0///11068/Error(1056794)
Creation of backup file [E:\Oracle\EssbaseServer\bin\ESSBASETS_1349217747.BAK] failed with error status [1]
The secfile backup occurs every 5 minutes and have completed successfully every time since march 2012 (when we also had similar problems with corruption of the secfile).
- Just before the error I see that a refresh of Planning security filters is going on (triggered by a batch job).
- After we got Essbase up and running the first time with the secfile from the day before (but after the the first occurence of the error message "Creation of backup file...", which happened a day before that) the backup of the secfile completes successfully for a little while and then fails again with the same error message. I once again notice that a refresh of Planning security filters is going on right before the error occurs (triggered manually by a user)
- The exact same things as the previous point happened when we got Essbase up and running the second time.
My hypothesis is that something bad happened to the secfile when the first "Creation of backup fil..." error message appeared in the log file. And when Essbase was restarted two days later the error kicked in. I suspect we have som issues with our security. I wonder for instance what would happen if by accident an msad user was removed from msad (not Hyperion) and a Planning security refresh takes place...
I should also mention that after we got Essbase up and running the first and second time I notice the following error message some minutes after the first occurence of the "Creation of backup fil..." error message:
[Fri Oct 05 12:15:04 2012]Local/ESSBASE0///7424/Info(1051001)
Received client request: Get Security Exception in thread "Mistral" java.lang.OutOfMemoryError: GC overhead limit exceeded
     at java.util.Arrays.copyOf(Arrays.java:2882)
     at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
     at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
     at java.lang.StringBuilder.append(StringBuilder.java:119)
     at java.lang.StringBuilder.append(StringBuilder.java:115)
     at javax.naming.ldap.Rdn.toString(Rdn.java:275)
     at java.lang.String.valueOf(String.java:2826)
     at java.lang.StringBuilder.append(StringBuilder.java:115)
     at javax.naming.ldap.LdapName.toString(LdapName.java:617)
     at com.hyperion.css.spi.AbstractJNDICacheBuilder.processChildren(AbstractJNDICacheBuilder.java:54)
     at com.hyperion.css.spi.impl.msad.MSADCacheBuilder.populateMSADCache(MSADCacheBuilder.java:196)
     at com.hyperion.css.spi.impl.msad.MSADCacheBuilder.buildCache(MSADCacheBuilder.java:65)
     at com.hyperion.css.spi.impl.msad.MSADProvider.createCache(MSADProvider.java:5309)
     at com.hyperion.css.cache.ProviderCacheThread.run(ProviderCacheThread.java:32)
java.lang.NullPointerException
     at com.hyperion.css.cache.CacheThread.unifyCache(CacheThread.java:209)
     at com.hyperion.css.cache.CacheThread.buildCache(CacheThread.java:106)
     at com.hyperion.css.cache.CacheThread.run(CacheThread.java:68)
Mode (from user [superadmin@Native Directory])
I hope some of you gurus can shed som light on this because I'm pretty sure the same thing will happen again the next time we restart Essbase.
Kind regards
Arild.

Hello again John!
Yesterday I finally had the opportunity to take the system down and do some testing.
First I did some testing without making any changes, just to see if I could isolate the problem application. I did it in the following manner:
- Restart Essbase with healthy secfile.
- Refresh Planning security from application A. Then watch the Essbase.log until an incremental backup of the Essbase.sec was completed. If successfull backup, I repeat the process with the Planning application B and so on.
- I finally isolated three applications which, after planning security refresh, lead to unsuccessful incremental backup of Essbase.sec.
- Then I applied an msad group filter in HSS as you suggested, restarted the whole environment (Essbase, HSS, Planning, ...) and also put back the healthy secfile.
- I then repeated the process with the three last mentioned applications and refreshed security filters and wathed the essbase.log. The first application was followed by a successful incr. backup of secfile! And this is a big application with lots of filters. Also, the essbase agent used 130MB RAM instead of 400MB, which was the normal amount. But when I refreshed filters for the second application Essbase shut down abnormally! This application however is small with not so many filters. Here follows excerpts from some log files at the time Essbase went down:
ESSBASE.LOG:
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///5220/Info(1056797)
Incremental security backup started by SYSTEM [DAEMON THREAD]. The file created is [E:\Oracle\EssbaseServer\bin\ESSBASETS_1351628311.BAK]
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///11276/Info(1051001)
Received client request: Verify Filter (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///7888/Info(1051001)
Received client request: Set Filter (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///5220/Info(1008106)
Exception error log [D:\Oracle\Middleware\user_projects\P114270071\diagnostics\logs\essbase\essbase_0\log00001.xcp] is being created...
[Tue Oct 30 21:18:32 2012]Local/ESSBASE0///5220/Info(1008107)
Exception error log completed D:\Oracle\Middleware\user_projects\P114270071\diagnostics\logs\essbase\essbase_0\log00001.xcp please contact technical support and provide them with this file
[Tue Oct 30 21:18:42 2012]Local/ESSBASE0///5220/Info(1054018)
RECEIVED ABNORMAL SHUTDOWN COMMAND - ESSBASE TERMINATING
ESSBASE AGENT LOG:
]Local/ESSBASE0///11552/Info(1051001)
Received client request: Set Filter Users (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///10628/Info(1051001)
Received client request: Get User/Group Info (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///6100/Info(1051001)
Received client request: Get User Type (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///5220/Info(1056797)
Incremental security backup started by SYSTEM [DAEMON THREAD]. The file created is [E:\Oracle\EssbaseServer\bin\ESSBASETS_1351628311.BAK]
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///11276/Info(1051001)
Received client request: Verify Filter (from user [superadmin@Native Directory])
[Tue Oct 30 21:18:31 2012]Local/ESSBASE0///7888/Info(1051001)
Received client request: Set Filter (from user [superadmin@Native Directory])
12/10/30 21:18:38 Ping process
[Tue Oct 30 21:18:42 2012]Local////Error(1042013)
Network error [10054]: Cannot Receive Data
[Tue Oct 30 21:18:42 2012]Local////Error(1042012)
Network error [10054]: Cannot Send Data
APPLICATION LOG:
[Tue Oct 30 21:18:31 2012]Local/DK12Dk///4036/Info(1013205)
Received Command [Verify Filters]
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///1460/Error(1042013)
Network error [10054]: Cannot Receive Data
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1013207)
RECEIVED SHUTDOWN COMMAND - SERVER TERMINATING
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1019018)
Writing Parameters For Database [Bem]
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1019018)
Writing Parameters For Database [Dk]
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1008106)
No message for message #1008106 in message database
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1008107)
No message for message #1008107 in message database
[Tue Oct 30 21:18:42 2012]Local/DK12Dk///4036/Info(1002089)
No message for message #1002089 in message database
EXCEPTION FILE SERVER LEVEL:
Current Date & Time: Tue Oct 30 21:18:31 2012
Process Type: Server
Application Name:
Database Name:
Exception Log File: D:\Oracle\Middleware\user_projects\P114270071\diagnostics\logs\essbase\essbase_0\log00001.xcp
Current Thread Id: 5220
Exception Code: 0xC0000005=Access Violation
Exception Flags: 0x00000000=Continuable
Exception Address: 0x00000000004DA59E
Exception Parameters: 2
Exception Parameter 0: 0x00000000=Read Violation
Exception Parameter 1: 0x00000000 (Virtual Address)
EXCEPTION FILE DATABASE LEVEL:
Current Date & Time: Tue Oct 30 21:18:42 2012
Process Type: Application
Application Name: DK12Dk
Database Name: Bem
Exception Log File: D:\Oracle\Middleware\user_projects\P114270071\diagnostics\logs\essbase\essbase_0\app\DK12Dk\Bem\log00001.xcp
Current Thread Id: 4036
Exception Code: 0xC0000005=Access Violation
Exception Flags: 0x00000000=Continuable
Exception Address: 0x00000000604E95EF
Exception Parameters: 2
Exception Parameter 0: 0x00000000=Read Violation
Exception Parameter 1: 0x00000000 (Virtual Address)
Do you have any recommendations about what to do next?
Kind regards
Arild Bjørsvik.

Similar Messages

  • Essbase.Sec corruption and relation with Planning

    Hi all,
    Is there any relation for Essbase security file with other Hyperion tools ?
    We have security in Shared Services and have variety of Hyperion tools. If Essbase security file gets corrupted and restored backup is historical then will it has impact on security of other tools like Planning, FR, etc ? I understand we have to rebuilt security for Essbase since the historical restored file.
    Thanks in Advance.

    HN,
    You should really have a nightly backup of your security file. It's easy to force it to a backup file (or just take whatever the latest backup is but I think I like the force backup approach even better) and thus not have to stop Essbase to get the critical information. See this thread:
    http://www.network54.com/Forum/58296/thread/1365190013/Essbase-sec+Backup
    Regards,
    Cameron Lackpour

  • Essbase.sec corruption issues

    Hello experts
    I am currently running Version 9.3.1 on a 64 bit platform. Twice now in the last month my essbase.sec file has corrupted. Has anyone else had experience with this? why does it happen? ORACLE tells us to back the file up, but the problem here is that the security file corrupts yet still works up to a point, then it fails - however, while it is working we are backing it up thus creating backups with corrupt files which will not work. Any thoughts/comments/solutions out there?

    Later versions of Essbase (you are using one if on 9.3.1) do not, at least in my experience, see this all that often.
    I wonder if your problem is that you really don't have a non-corrupt version of Essbase.sec and thus keep on restoring a slightly/doesn't affect stability too much version that then gets good and corrupted. If you don't have a good copy, I am afraid you are going to need to delete the bad one and start from scratch.
    In these days of externalized Shared Services security this isn't as bad as it once was as you can get much of the security from Shared Services itself.
    Re why it may happen: have you had any catastrophic crashes, especially hardware crashes? I once had an issue with a bad drive controller that just about made me tear my hair out.
    Regards,
    Cameron Lackpour

  • Essbase.sec adn essbase.bak got corrupted

    Hi essbase world..my essbase.sec and essbase.bak files got corrupted and i dont have backup of them. can any one suggest me a method to recover all my applications and get them running again.Thanks,Gpal

    Can you not get an older version of your sec/bak file from backup?If not, presuming that you still have your app directory, you could try deleting the sec file altogether.Enter the appropriate administrator password etc and then do File/New/Application using the EXACT same names as the existing applications. This is unsupported but I've used it to recreate the app mgr view of apps after a corrupt/lost sec file.I'm afraid this doesn't help you with your users/groups though. Do you have an old dump of your sec file so at least you have a hard copy of filters etc?

  • ESSBASE.SEC file growing 8MB a day.

    Is it normal for the .SEC file to grow like this? I'm guessing it has become corrupted but I don't have a backup of before it started to grow like this. If it is corrupted how do I go about recreating a new .SEC file, is there anyway to extract user/application info from the current one? We are using V7.1.3

    We have both native and external authentication set up. The server gets rebooted on a weekly basis which is what alerted me to the Essbase.SEC file growth. A problem occurred on the weekend where the Essbase service would not start due to a Corrupt .SEC file (which was roughly 250meg at the time). We resolved this by restoring a .SEC file from a month ago (100meg). Should the security file be swelling to this size? I find it odd as the file on our Dev server is only 12meg and am curious as to what is causing the one on prod to grow.

  • Essbase Application Corrupted

    I have an Planning Application...
    When i am Refreshing the Applicaiton to Essbase i got an error
    " *com.hyperion.planning.olap.EssbaseException: Unable to load database [%s] (1002097)* "
    .... my essbase is corrupt.... I guess...
    I could not able to log into the EAS"Essbase application"
    but I can still log into the Planning Application....
    Can any one tell me how to restore the database in essbase... which is corrupted i guess...

    Hi,
    the Application"ABC" consists of two databases
    DB1 and DB2
    so you want me to go to
    Z:\Hyperion\products\Essbase\EssbaseServer\app\ABC\DB1
    Z:\Hyperion\products\Essbase\EssbaseServer\app\ABC\DB2
    and rename the DB1.dbb and DB2.dbb in resp databases to .db?
    One more thing i can see the DB1.db already exist in the Database folder :(
    Can you tell me what do i need to do?
    Is there anything releated to delete .esm file and restart database for the recovery? does this help???
    Please do reply

  • Substitution Variable Issue while exporting from Essbase.sec file

    Hello All,
    I have an unusually distinct problem.
    I have 2 environments (Development and Production) where each environment has a seperate server with Essbase installed in it.
    When I tried to get information of the Substitution variables using the 'export security_file to data_file' command through MaxL and then checked the output file in Development, it showed me the right number of substitution variables and their values.
    But when I did he same with my Production environment it gives exactly 1 less no of substitution variables in the export file, specifically the last substitution variable that was updated through the Essbase Administration Console.
    I guess it is not updating the Essbase.sec file with the last updated Substitution variable. But I can't understand why since the same functionality works in development but not in production.
    Thank You.

    Hi all,
    In addition, I exported the Essbase.sec file after a long time after changing the Substitution variable and now it does show the updated substitution variable.
    I feel that Essbase does refresh the Essbase.sec file but after a long time. Is there some setting within Essbase that is done which refreshes the artifact files after a while. Or is this a setting within the system in which Essbase has been installed (in my case Linux).
    Also the Substitution Variable that has been created is for (all apps) and (all dbs). Is this the reason why this is not working because I tried changing some other Substitution variable which is for a specific app and a specific dbs and it worked fine.
    Thank You.
    Edited by: 923021 on 27 Mar, 2012 6:15 AM

  • HEEELP: Recreate procedure for Essbase.sec file in 11.1.2.0

    Hi,
    What is the procedure to re-create Essbase.sec file in Essbase 11.1.2.0 environment.... In older versions it was used to delete Essbase.sec, start Essbase server and it was recreated an empty essbase.sec file.. But in 11.1.2.0 with Shared services...was is the procedure ? If it is deleted the essbase.sec file...starting Essbase Service will re-create and will update informantion from Shared Services ?
    Please somebody help...
    Thanks.....

    Thans John,
    Ok...it solves the start of Essbase Server..
    After that I'd like to re-create the applications... so.. I'll rename the folder of application, so it will be possible to re.create on disk and empty application with the same application/database name...
    But what will happen with the information present in Shared Services?
    If I'll try to recreate the application and if in Shared serveces registry i present the name of application what will happen ? Because after the start of Essbase Server it will be no correspondence between Essbase applications present in Shared services registry and Essbase applications present in Essbase.sec file....
    any idea?
    Thanks....

  • Restore essbase.sec file to another server

    Dear all,
    I've restored several databases from our Develop server to another server.
    But can I just copy security file to that server?
    My concern is they have different numbers of app/db, will the security file work?
    if it doesnt work, how can I recover the security file of a certain database?
    Thank you in advance for your help!!

    Singlejoe,
    You are going to have problems if you don't match up the app/dbs on your target server.
    Assuming that your source dev server has more databases than the target, before you copy over, create dummy apps/dbs on the target. Stop Essbase, and backup your to-be-replaced Essbase.sec. (A just-in-case copy to retain whatever security, filters, etc. you may have).
    If you have more/different apps/dbs on your target, I would archive them (full backup to text, copy all relevant artifacts, etc.) and then delete. Then follow the paragraph above. The point is to make the app/db folders look exactly the same to Essbase.sec.
    Then copy over your source Essbase.sec to your target, delete the dummy apps/dbs and you should be good to go.
    Regards,
    Cameron Lackpour

  • Essbase.sec

    Hi,
    Will there be any issues if we copy essbase.sec file from one environment to another like Prod to Test. Essbase security is maintained through external authentication from Shared services. I wanted to do this to migrate the essbase application along with its security. Please let me know.
    Do i need to copy any other files too?
    thanks,
    Praveen

    IF the two servers are exactly the same (same file paths, same applications and databases , etc, it is possible to migrate the Essbase.sec file. I have done it, but it is risky to say the least. One thing out of sync and you are in trouble. It is much safer to do it other ways as you have been advised. You can also use MaxL to load filters. I will say I did the move before shared services. I beileve tihs would make it almost impossible

  • How to Regenerate the Essbase.sec file

    Hi
    Could any one please let me knowthe steps on how to generate a new Essbase.sec file.
    Please notethat other methods of restoring the .bak or bak_startp are known.If possible please let us know the steps to Craeate a new ESSBASE.SEC
    Thanks and regards
    krishnatilak

    The easiest way to do it is to
    1. Stop Essbase
    2. delete or rename the Essbase.sec file located in the arborpath\bin directory
    3. From the bin directory, start Essbase.exe (double click on it)
    4. Enter the userid, password and company info as it asks for it. Note although it asks for your user Id, it wants the ID you want to be the system Admin ID
    5. stop the foreground version(optional)
    6. restart it as a service(optional)
    If you want to reassociate applications to the security file so it can see them. In EAS do a create application with the same name as an existing one Like Sample. IT will see that the application already exists and add it to the security file.

  • Encryption Algorim for essbase.sec?

    My Information Security Department is asking me about the security of Essbase.<BR>Does anybody know which encryption algorithm is used to encrypt the essbase.sec file?<BR><BR>Thanks in advance<BR>

    Thans John,
    Ok...it solves the start of Essbase Server..
    After that I'd like to re-create the applications... so.. I'll rename the folder of application, so it will be possible to re.create on disk and empty application with the same application/database name...
    But what will happen with the information present in Shared Services?
    If I'll try to recreate the application and if in Shared serveces registry i present the name of application what will happen ? Because after the start of Essbase Server it will be no correspondence between Essbase applications present in Shared services registry and Essbase applications present in Essbase.sec file....
    any idea?
    Thanks....

  • EPM essbase.sec file

    Hi,
    I am using EPM 11.1.2.2. I wanted to migrate groups, roles and provisions from dev to uat env. Can you please let me know the best possible option. Also can you please let me know what essbase.sec file contains? Can i move essbase.sec from dev to uat.
    Thanks for you time and help.

    If you want to understand more about the Essbase security file then have a read of Managing the Essbase Security File (essbase.sec)
    I agree that LCM will probably be the best method to migrate security.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Users are unable to access Essbase data-corrupt group

    Someone moved a hyperion user to an ldap directory group that hyperion couldn't access which seems to have corrupted the group to which the ID belongs. I got rid of the ID but the users are still experiencing problems accessing essbase data. We have 9.3.1 and I have refreshed security filters and recycled many times. Does anyone have any suggestions? Should I reimport the secfile.txt?

    Where I need to check the logs in tbl Logs under Appserver?
    Well, I am unable to see complete input schedule. I have unprotected the sheet still there is data N38 but able to see before row 58. unable to expand.
    Kindly suggest.

  • Essbase toolbar corrupted

    When trying to use the toolbar that comes with Essbase, I just started getting the following error message when trying to use the buttons"The macro "C:\Program files\Adobe\Acrobat 5.0\PDFMaker.xla'!EssMenuConnect' cannot be found."It seems some how these two addins have become entagled and corrupted. I've tried unistalling and reinstalling Adobe, the Excel addin and even Excel. Each time trying to get it to work. I used a fresh copy of the Toolbar file from a another PC where I know it was working. No matter what I try, I can't get it to work.I also had OLAP Underground Powerbar4 installed, but I wasn't loving that, so I took it off.Has anyone run into a problem like this and know of a work around?Thanks

    I found the solution on another forum and confirmed it through Hyperion tech support. By deleting the toolbar from the menu you can then open a clean copy of the Toolbar and it will restore.

Maybe you are looking for