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
[email protected]
Phone: +1 812-482-5224
Cell: +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>
From: [email protected]
[mailto:[email protected]] 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
Hi
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@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
Thanks
____________________________
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.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general