If you had problems on initialization then you should delete the CloudFormation 
stack and start from scratch.
Then look in the various error logs to get further
CloudFormation event logs
AutoScaling event logs
If the system comes up enough to respond to http then ssh into the system and 
look in
/var/log/messages
/var/log/cfn*
/var/log/cloud*
/var/log/mlcmd
/var/opt/MarkLogic/ErrorLog.txt


That should get your much further.


From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Steven Drewe
Sent: Tuesday, February 02, 2016 10:33 AM
To: MarkLogic Developer Discussion <general@developer.marklogic.com>
Subject: Re: [MarkLogic Dev General] New Install No Admin Role

Thanks for quick response,


1)      Yes, a several minutes.

2)      We did to start with and got 401 returned so we tried restarting the 
config by flushing /var/opt/MarkLogic - apologies if this was our mistake!

3)      We had subnet problems with the cloud formation so we used:
EU (Ireland)

ami-693c9a1a




Now when accessing hostname:8001 we get the splash page plus the error given 
below, no login prompt.

Regards, Steve



From: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of David Lee
Sent: 02 February 2016 15:23
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] New Install No Admin Role

Several likely problems.
1) did you wait a while before going to port 8000 ? ( it takes a bit of time to 
fulluy config )
2) Are you using the same user name as you used in CloudFormation ?
3) What CloudFormation template did you use ?


From: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Steven Drewe
Sent: Tuesday, February 02, 2016 10:19 AM
To: general@developer.marklogic.com<mailto:general@developer.marklogic.com>
Subject: [MarkLogic Dev General] New Install No Admin Role

Hi all,

We're very new to Marklogic and have a single PC windows install working fine 
but we tried using the AWS Cloudformation and had some problems so we launched 
a single node install on EC2 and we're now getting the following error when we 
try to connect on 8000 and complete the setup:

500: Internal Server Error
SEC-NOADMIN: (err:FOER0000) User does not have admin role.
In /MarkLogic/security.xqy on line 5338
In sec:check-admin()
In /MarkLogic/Admin/lib/status-check.xqy on line 16
In status-check()
In / on line 6


Fairly obvious we've missed/messed up something. How's best to proceed from 
here?

Best regards, Steve
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to