We started again and now the CloudFormation is up and running, instances start but MarkLogic fails to initialize. Here's the /var/log/messages.log output -
Feb 4 16:29:57 ip-10-244-192-195 MarkLogic: using JVM from /usr/java/default Feb 4 16:29:57 ip-10-244-192-195 MarkLogic: initializing for EC2 startup Feb 4 16:29:57 ip-10-244-192-195 MarkLogic: Initializing environment variables Feb 4 16:30:11 ip-10-244-192-195 MarkLogic: Set configuration: JAVA_HOME="/usr/java/default" Feb 4 16:30:11 ip-10-244-192-195 MarkLogic: Set configuration: MARKLOGIC_MDB_TYPE="ddb" Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Set configuration: MARKLOGIC_ZONE="eu-west-1c" Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Initialize Configuration. Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: AWS Region: eu-west-1, ZONE: eu-west-1c. INSTANCE: i-f08c697a Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Configured node name. MARKLOGIC_NODE_NAME: NodeA# Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Set configuration: MARKLOGIC_MDB_TYPE="ddb" Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Managed cluster initialization Feb 4 16:30:14 ip-10-244-192-195 MarkLogic: Localized name pattern to NodeA-eu-west-1c# Feb 4 16:30:17 ip-10-244-192-195 MarkLogic: No Feb 4 16:30:17 ip-10-244-192-195 MarkLogic: MDB found: MarkLogic8-Clustered-MarkLogicDDBTable-1PDH0FP9MD9CH - aborting Feb 4 16:30:17 ip-10-244-192-195 MarkLogic: failed initialzing EC2 configuration - cannot startup Any help would be appreciated, thanks. From: [email protected] [mailto:[email protected]] On Behalf Of David Lee Sent: 02 February 2016 17:51 To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] New Install No Admin Role 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: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Steven Drewe Sent: Tuesday, February 02, 2016 10:33 AM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]> [mailto:[email protected]] 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: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Steven Drewe Sent: Tuesday, February 02, 2016 10:19 AM To: [email protected]<mailto:[email protected]> 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 [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
