Thanks for your help. I have installed mesos but unable to start mesos master by the command "./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos".
The file exists as "mesos-master.sh.in" in the bin folder. It reports: Failed to create work directory '/var/lib/mesos': Permission denied *Sweta Rani* On Tue, Nov 4, 2014 at 2:50 PM, Adam Bordelon <a...@mesosphere.io> wrote: > As an alternate workaround, if you don't need the Java support (you're not > running a JVM framework like Spark/Hadoop/Marathon), then you could use > `configure --disable-java` to skip all the maven/pom build steps. > > By disabling Java, you could at least check that the rest of Mesos builds > and runs fine, which would still work with C++, Python, or Go frameworks, > or even any Java frameworks using the pure Java bindings (jesos). > > On Mon, Nov 3, 2014 at 2:01 PM, Joris Van Remoortere <jo...@mesosphere.io> > wrote: > > > Did you verify that the settings.xml file was parsed using mvn -X? > > > > Specifically after the first few lines you will see something along the > > lines of: > > [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml > > [DEBUG] Reading user settings from /home/abc/.m2/settings.xml > > [DEBUG] Using local repository at /home/abc/.m2/repository > > > > Make sure your settings file is in the right location. > > > > On Mon, Nov 3, 2014 at 11:51 AM, Sweta Rani <swetarani3...@gmail.com> > > wrote: > > > > > I use campus proxy configuration for internet. But I am unable to run > > make > > > in installing Mesos on my Ubuntu -14.04, as it ends up with ERROR(1). > > Upon > > > searching, I created settings.xml file inside .m2 with the required > > > configuration but failed again. Please help me out, as it is greatly > > > hindering me from my work. > > > > > > On Sat Nov 01 2014 at 3:38:57 AM Joris Van Remoortere < > > jo...@mesosphere.io > > > > > > > wrote: > > > > > > > I think this suggests you're fetching through a proxy: > > > > *Proxy request sent, awaiting response... 200 OK* > > > > > > > > When I wget this is my output: > > > > wget http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > > > apache-11.pom > > > > --2014-10-31 > > > > < > > > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom--2014-10-31 > > > > > > > > 15:05:32-- > > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom > > > > Resolving repo.maven.apache.org (repo.maven.apache.org)... > > 23.235.47.215 > > > > Connecting to repo.maven.apache.org > > > > (repo.maven.apache.org)|23.235.47.215|:80... > > > > connected. > > > > *HTTP request sent, awaiting response... 200 OK* > > > > > > > > I think you might need to set up your proxy along these lines: > > > > http://maven.apache.org/guides/mini/guide-proxies.html ... but I am > > not > > > > familiar with Maven. > > > > > > > > Joris > > > > > > > > > > > > On Fri, Oct 31, 2014 at 2:36 PM, Sweta Rani <swetarani3...@gmail.com > > > > > > wrote: > > > > > > > > > Tried wget for all the given https, it was successful but still > after > > > > that > > > > > make was not successful and make check says "YOU HAVE 3 DISABLED > > TESTS" > > > > > > > > > > proxima@Centauri:~/mesos/build$ wget > > > > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom > > > > > --2014-11-01 02:55:51-- > > > > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom > > > > > Connecting to 10.3.100.207:8080... connected. > > > > > Proxy request sent, awaiting response... 200 OK > > > > > Length: 14811 (14K) [text/xml] > > > > > Saving to: ‘apache-11.pom’ > > > > > > > > > > >> *Joris Van Remoortere* > > > > > > > > > > On Sat Nov 01 2014 at 2:36:27 AM Joris Van Remoortere < > > > > jo...@mesosphere.io > > > > > > > > > > > wrote: > > > > > > > > > > > That seems like you might have a connectivity / firewall issue. > > > > > > Can you try just doing a wget on that artifact? > > > > > > > > > > > > On Fri, Oct 31, 2014 at 1:56 PM, Sweta Rani < > > swetarani3...@gmail.com > > > > > > > > > > wrote: > > > > > > > > > > > > > I tried it again but failed with following errors : > > > > > > > > > > > > > > make[1]: Entering directory `/home/proxima/mesos/build/src' > > > > > > > Building mesos-0.21.0.jar ... > > > > > > > [INFO] Scanning for projects... > > > > > > > Downloading: > > > > > > > http://repo.maven.apache.org/maven2/org/apache/apache/11/ > > > > apache-11.pom > > > > > > > [ERROR] The build could not read 1 project -> [Help 1] > > > > > > > [ERROR] > > > > > > > [ERROR] The project org.apache.mesos:mesos:0.21.0 > > > > > > > (/home/proxima/mesos/build/src/java/mesos.pom) has 1 error > > > > > > > [ERROR] Non-resolvable parent POM: Could not transfer > > artifact > > > > > > > org.apache:apache:pom:11 from/to central ( > > > > > > > http://repo.maven.apache.org/maven2): Connection to > > > > > > > http://repo.maven.apache.org refused and 'parent.relativePath' > > > > points > > > > > at > > > > > > > wrong local POM @ line 18, column 11: Connection refused -> > [Help > > > 2] > > > > > > > [ERROR] > > > > > > > [ERROR] To see the full stack trace of the errors, re-run Maven > > > with > > > > > the > > > > > > -e > > > > > > > switch. > > > > > > > [ERROR] Re-run Maven using the -X switch to enable full debug > > > > logging. > > > > > > > [ERROR] > > > > > > > [ERROR] For more information about the errors and possible > > > solutions, > > > > > > > please read the following articles: > > > > > > > [ERROR] [Help 1] > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuil > > > > > > dingException > > > > > > > [ERROR] [Help 2] > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/Unresolvabl > > > > > > eModelException > > > > > > > make[1]: *** [java/target/mesos-0.21.0.jar] Error 1 > > > > > > > make[1]: Leaving directory `/home/proxima/mesos/build/src' > > > > > > > make: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > > > > > > > On Fri Oct 31 2014 at 1:09:15 PM Sweta Rani < > > > swetarani3...@gmail.com > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > yaa.. followed the steps as directed in the documentation > > > > > > > > > > > > > > > > *Sweta Rani* > > > > > > > > *3rd Year Undergraduate* > > > > > > > > *Department of Electrical Engineering* > > > > > > > > *IIT Kharagpur <http://www.iitkgp.ac.in/>* > > > > > > > > > > > > > > > > On Fri, Oct 31, 2014 at 3:14 AM, Dominic Hamon < > > > > > > dha...@twopensource.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > >> Let's tackle the easy stuff: did you run bootstrap and > > configure > > > > as > > > > > > per > > > > > > > >> the > > > > > > > >> getting started doc? > > > > > > > >> On Oct 30, 2014 2:04 PM, "Sweta Rani" < > > swetarani3...@gmail.com> > > > > > > wrote: > > > > > > > >> > > > > > > > >> > Tried all the suggestions and tips given in JIRA and > > different > > > > > > google > > > > > > > >> > forums but still the error remains same. > > > > > > > >> > > > > > > > > >> > Making all in . > > > > > > > >> > make[1]: Entering directory `/home/proxima/mesos/build' > > > > > > > >> > make[1]: Nothing to be done for `all-am'. > > > > > > > >> > make[1]: Leaving directory `/home/proxima/mesos/build' > > > > > > > >> > Making all in 3rdparty > > > > > > > >> > make[1]: Entering directory `/home/proxima/mesos/build/ > > > > 3rdparty' > > > > > > > >> > make all-recursive > > > > > > > >> > make[2]: Entering directory `/home/proxima/mesos/build/ > > > > 3rdparty' > > > > > > > >> > Making all in libprocess > > > > > > > >> > make[3]: Entering directory > > > > > > > >> `/home/proxima/mesos/build/3rdparty/libprocess' > > > > > > > >> > Making all in 3rdparty > > > > > > > >> > make[4]: Entering directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > make all-recursive > > > > > > > >> > make[5]: Entering directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > Making all in stout > > > > > > > >> > make[6]: Entering directory > > > > > > > >> > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stout' > > > > > > > >> > Making all in . > > > > > > > >> > make[7]: Entering directory > > > > > > > >> > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stout' > > > > > > > >> > make[7]: Nothing to be done for `all-am'. > > > > > > > >> > make[7]: Leaving directory > > > > > > > >> > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stout' > > > > > > > >> > Making all in include > > > > > > > >> > make[7]: Entering directory > > > > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stou > > > > > > t/include' > > > > > > > >> > make[7]: Nothing to be done for `all'. > > > > > > > >> > make[7]: Leaving directory > > > > > > > >> > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stou > > > > > > t/include' > > > > > > > >> > make[6]: Leaving directory > > > > > > > >> > > > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty/stout' > > > > > > > >> > make[6]: Entering directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > make[6]: Nothing to be done for `all-am'. > > > > > > > >> > make[6]: Leaving directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > make[5]: Leaving directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > make[4]: Leaving directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/3rdparty' > > > > > > > >> > Making all in . > > > > > > > >> > make[4]: Entering directory > > > > > > > >> `/home/proxima/mesos/build/3rdparty/libprocess' > > > > > > > >> > make[4]: Nothing to be done for `all-am'. > > > > > > > >> > make[4]: Leaving directory > > > > > > > >> `/home/proxima/mesos/build/3rdparty/libprocess' > > > > > > > >> > Making all in include > > > > > > > >> > make[4]: Entering directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/include' > > > > > > > >> > make[4]: Nothing to be done for `all'. > > > > > > > >> > make[4]: Leaving directory > > > > > > > >> > `/home/proxima/mesos/build/3rdparty/libprocess/include' > > > > > > > >> > make[3]: Leaving directory > > > > > > > >> `/home/proxima/mesos/build/3rdparty/libprocess' > > > > > > > >> > make[3]: Entering directory `/home/proxima/mesos/build/ > > > > 3rdparty' > > > > > > > >> > make[3]: Nothing to be done for `all-am'. > > > > > > > >> > make[3]: Leaving directory > > > `/home/proxima/mesos/build/3rdparty' > > > > > > > >> > make[2]: Leaving directory > > > `/home/proxima/mesos/build/3rdparty' > > > > > > > >> > make[1]: Leaving directory > > > `/home/proxima/mesos/build/3rdparty' > > > > > > > >> > Making all in src > > > > > > > >> > make[1]: Entering directory > `/home/proxima/mesos/build/src' > > > > > > > >> > make[1]: *** No rule to make target `all'. Stop. > > > > > > > >> > make[1]: Leaving directory `/home/proxima/mesos/build/src' > > > > > > > >> > make: *** [all-recursive] Error 1 > > > > > > > >> > > > > > > > > >> > *Sweta Rani* > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >