[MarkLogic Dev General] Unable to Start MarkLogic on CentOS

David Lee David.Lee at marklogic.com
Mon Mar 30 12:57:02 PDT 2015

What version ML and CentOS are you running ?

Also sometimes your existing environment can conflict with starting ML this way.
Although its documented to start ML directly via /init.d/MarkLogic,
its generally better to use the OS specific service startup.  On systems with service
( most linux systems )  try this as root.

    service MarkLogic start

That will guarentee you a clean environment, and is as close to boot environment.

Check to see if you have any configurations that might change the setting
export MARKLOGIC_INSTALL_DIR=/opt/MarkLogic

And if so make sure the entire directory structure  is copied.

Check for this file
ls -l  /opt/MarkLogic/mlcmd/bin/is-ec2.sh

And make sure its r+x for root

David Lee
Lead Engineer
MarkLogic Corporation
dlee at marklogic.com
Phone: +1 812-482-5224
Cell:  +1 812-630-7622

From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Garrepalli, Mamatha
Sent: Monday, March 30, 2015 3:12 PM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Unable to Start MarkLogic on CentOS

I did a fresh installation of MArkLogic on CentOS and when I start the server , below error occurs ,  can anyone guide me resolve it?
Is the installation successful? There were no errors during installation.

[admin at localhost Desktop]$ /etc/init.d/MarkLogic start
/etc/sysconfig/MarkLogic: line 63: is-ec2.sh: command not found
Starting MarkLogic: /bin/bash: /opt/MarkLogic/bin/MarkLogic: No such file or directory

Mamatha Garrepalli

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150330/b63409c0/attachment.html 

More information about the General mailing list