<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Am 11.03.2011 15:02, schrieb Christoph Raible:
<blockquote cite="mid:4D7A2B69.4040102@science-computing.de"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<div class="moz-text-html" lang="x-western">
<pre>Hi @all,</pre>
<pre>I tried to install opennebula 2.2 Beta1 on a RHEL 6 server.</pre>
<pre>I installed all requirements an did
<i>Master$ scons</i> (with sqlite support) <--- This works fine</pre>
<pre>after that I did
<i><i>Master$ </i></i> <i>./install.sh -d /srv/cloud/one</i> <--- this works also fine</pre>
<pre>After that I want to start one with </pre>
<pre><i><i>Master$ </i></i><i>one start </i></pre>
<pre>then I get the following error message
<i>sed: can't read /etc/one/oned.conf: No such file or directory
Can not find PORT in /etc/one/oned.conf.</i>
Is this an OpenNebula bug or did I somthing wrong?
Thanks for Help ;)
Regards,
Christoph
</pre>
<br>
</div>
<font face="monospace">-- <br>
Vorstand/Board of Management:<br>
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, <br>
Dr. Arno Steitz, Dr. Ingrid Zech<br>
Vorsitzender des Aufsichtsrats/<br>
Chairman of the Supervisory Board:<br>
Michel Lepert<br>
Sitz/Registered Office: Tuebingen<br>
Registergericht/Registration Court: Stuttgart<br>
Registernummer/Commercial Register No.: HRB 382196 <br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<br>
I've got a solution :)<br>
<br>
I've done the following as user oneadmin:<br>
<br>
<br>
<pre># Edit ~/.bashrc and add:</pre>
<pre>
[Master]# vim ~/.bashrc</pre>
<pre>
export PATH=$PATH:/srv/cloud/one/bin
export ONE_LOCATION=/srv/cloud/one
export ONE_XMLRPC=<a class="moz-txt-link-freetext" href="http://localhost:2633/RPC2">http://localhost:2633/RPC2</a></pre>
<pre>
</pre>
<pre># Create the user's OpenNebula config directory:</pre>
<pre>[Master]# mkdir ~/.one</pre>
<pre>
</pre>
<pre># Edit ~/.one/one_auth and add: oneadmin:on3adm1n</pre>
<pre>[Master]# vim ~/.one/one_auth</pre>
<pre> oneadmin:on3adm1n
It would be great if something like this would be in the documentation and not only in the mailing list!!!!
Regards,
Christoph
</pre>
<font face="monospace">-- <br>
Vorstand/Board of Management:<br>
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, <br>
Dr. Arno Steitz, Dr. Ingrid Zech<br>
Vorsitzender des Aufsichtsrats/<br>
Chairman of the Supervisory Board:<br>
Michel Lepert<br>
Sitz/Registered Office: Tuebingen<br>
Registergericht/Registration Court: Stuttgart<br>
Registernummer/Commercial Register No.: HRB 382196 <br>
</font></body>
</html>