Hi Alvaro,<br><br>Did you change the default port in $ONE_LOCATION/etc/oned.conf?. If not, could you check if the default port is open (2633)?<br><br># telnet localhost 2633<br><br>And just to for completeness sake, please note that the "oned" process must be running.<br>
<br>Best regards,<br><br>-Tino<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 11:12 AM, Alvaro Canales <<a href="mailto:accleo@gmail.com">accleo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear users:<br><br>When I try to submit an image with this command:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">onevm submit images/myfirstVM.template</blockquote>

<div><br>I get the following error:<br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Error: Connection refused - connect(2)</blockquote>

<div><br>I have seen that the error comes in the "def call(action, *args)" call, in file lib/ruby/one.rb:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

 # Server class. This is the one that makes xml-rpc calls.<br>    class Server<br>        #def initialize(host="localhost", port=60666, path="/RPC2")<br>        #    @server=XMLRPC::Client.new(host, path, port)<br>

        #end<br><br>        def initialize(endpoint=nil)<br>            if endpoint<br>                one_endpoint=endpoint<br>            elsif ENV["ONE_XMLRPC"]<br>                one_endpoint=ENV["ONE_XMLRPC"]<br>

            else<br>                one_endpoint="<a href="http://localhost:2633/RPC2" target="_blank">http://localhost:2633/RPC2</a>"<br>            end<br>            @server=XMLRPC::Client.new2(one_endpoint)<br>
        end<br>
<br>        def call(action, *args)<br>            begin<br>                response=@server.call("one."+action, "sessionID", *args)<br>                response<<nil if response.length<2<br>                response<br>

            rescue Exception => e<br>                [false, e.message + " Fails here!!!!!!!!!!! "]<br>            end<br>        end<br>    end<br></blockquote> <br>Do you know what I can do? I'm lost, I don't know what to investigate...<br>

Many thanks in advance!<br></div><font color="#888888"><br><br>-- <br>Álvaro
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Constantino Vázquez, Grid Technology Engineer/Researcher: <a href="http://www.dsa-research.org/doku.php?id=people:tinova">http://www.dsa-research.org/doku.php?id=people:tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.GridWay.org">http://www.GridWay.org</a> <br>OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org">http://www.OpenNebula.org</a>