Do you have a backup of your security database? If so, you can shut down the server, then copy the Security forest back in.
If not, you do you need anything in your current security db? If not, you can move everything aside and then re-initialize your system, which will create a new Security database. If you do need that, then you will need to do some surgery to put it all back together again. In short, when you delete a role, it is gone, and to get it back you have to restore it or recreate it. -Danny From: [email protected] [mailto:[email protected]] On Behalf Of Sikandar Sent: Tuesday, July 08, 2014 8:11 AM To: [email protected]; [email protected] Subject: [MarkLogic Dev General] Security Role deleted Hi All, By mistake, I deleted "Admin" role from the UI and seeing below issues. I tried to unsintall MarkLogic without deleting any data and re-install ML however seeing same issues. Data is critical for me, so is there any way to correct this problem without data loss. You've encountered an error in the server. Please copy the text below, and email support ([email protected]<mailto:[email protected]>): 500: Internal Server Error SEC-NOADMIN: (err:FOER0000) User does not have admin role. In /MarkLogic/security.xqy on line 4959 In sec:check-admin() In /lib/status-check.xqy on line 16 In status-check() In / on line 6 Thanks in advance! Jeet
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
