<div dir="ltr">Hi,<div><br></div><div style>There is something broken in your installation... By any chance do you have 'serveradmin' as the username in your ~/.one/one_auth file? That file should contain the string 'oneadmin:password'</div>
<div style><br></div><div style>You may also want to reset your installation and try again. To do so, simply delete the sqlite file /var/lib/one/one.db.</div><div style><br></div><div style><br></div><div style>Oh, and I see you are using 3.2.1. The last stable version is 3.8.3, and the development version is stable for testing (but not for production) if you want to give it a try. You can download both from here:</div>
<div style><a href="http://opennebula.org/software:software">http://opennebula.org/software:software</a><br></div><div style><br></div><div style>Cheers.</div></div><div class="gmail_extra"><br clear="all"><div>--<br>Carlos Martín, MSc<br>
Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div>
<br><br><div class="gmail_quote">On Sun, Apr 28, 2013 at 2:10 PM, Giuliano Casale <span dir="ltr"><<a href="mailto:g.casale@imperial.ac.uk" target="_blank">g.casale@imperial.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am facing difficulties in installing OpenNebula for the first time.<br>
I use Ubuntu 12.04, Linux kernel v 3.6.0, and I want to install<br>
OpenNebula on a small cluster, but the onehost and oneuser commands do<br>
not work on the root node. The root node has been reformatted 2 days<br>
ago to use a fresh installation for this.<br>
<br>
I cannot add users or hosts and the only problem I see is the final<br>
line in oned.log. I do not know how to resolve this since I cannot<br>
create a different user.<br>
<br>
Any advice?<br>
<br>
> onehost list<br>
Connection refused - connect(2)<br>
<br>
> oneuser list<br>
Connection refused - connect(2)<br>
<br>
> one start<br>
Stale .lock detected. Erasing it.<br>
terminate called without an active exception<br>
#/usr/bin/one: line 104: 25028 Aborted $ONED -f 2>&1<br>
oned failed to start<br>
<br>
> sh -x /usr/bin/one start<br>
+ [ -z ]<br>
+ ONE_PID=/var/run/one/oned.pid<br>
+ ONE_SCHEDPID=/var/run/one/sched.pid<br>
+ ONE_CONF=/etc/one/oned.conf<br>
+ ONE_DB=/var/lib/one/one.db<br>
+ ONE_LOG=/var/log/one/oned.log<br>
+ ONED=/usr/bin/oned<br>
+ ONE_SCHEDULER=/usr/bin/mm_sched<br>
+ LOCK_FILE=/var/lock/one/one<br>
+ KILL_9_SECONDS=5<br>
+ [ start = -b ]<br>
+ setup<br>
+ [ -f /var/lock/one/one ]<br>
+ [ -f /var/run/one/oned.pid ]<br>
+ [ -f /var/run/one/sched.pid ]<br>
+ echo Stale .lock detected. Erasing it.<br>
Stale .lock detected. Erasing it.<br>
+ rm /var/lock/one/one<br>
+ start<br>
+ [ ! -x /usr/bin/oned ]<br>
+ [ ! -x /usr/bin/mm_sched ]<br>
+ [ ! -f /var/lib/one/one.db ]<br>
+ [ = true ]<br>
+ LASTRC=0<br>
+ LASTPID=25047<br>
+ [ 0+ -ne 0 ]/usr/bin/oned<br>
-f<br>
+ echo 25047<br>
+ LASTRC=0<br>
+ LASTPID=25048<br>
+ + [/usr/bin/mm_sched 0<br>
-ne 0 ]<br>
+ echo 25048<br>
+ sleep 2<br>
terminate called without an active exception<br>
#+ STARTED=true<br>
+ cat /var/run/one/oned.pid<br>
+ ps 25047<br>
+ [ 1 -ne 0 ]<br>
+ echo oned failed to start<br>
oned failed to start<br>
+ STARTED=false<br>
+ cat /var/run/one/sched.pid<br>
+ ps 25048<br>
+ [ 0 -ne 0 ]<br>
+ [ false == false ]<br>
/usr/bin/one: 176: [: false: unexpected operator<br>
<br>
> cat /var/log/one/oned.log<br>
Sun Apr 28 13:05:24 2013 [ONE][I]: Starting OpenNebula 3.2.1<br>
----------------------------------------<br>
OpenNebula Configuration File<br>
----------------------------------------<br>
AUTH_MAD=ARGUMENTS=--authn<br>
ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad<br>
DB=BACKEND=sqlite<br>
DEBUG_LEVEL=3<br>
DEFAULT_DEVICE_PREFIX=hd<br>
DEFAULT_IMAGE_TYPE=OS<br>
ENABLE_OTHER_PERMISSIONS=YES<br>
HM_MAD=EXECUTABLE=one_hm<br>
HOST_MONITORING_INTERVAL=600<br>
HOST_PER_INTERVAL=15<br>
IMAGE_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image<br>
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>
MAC_PREFIX=02:00<br>
MANAGER_TIMER=15<br>
NETWORK_SIZE=254<br>
PORT=2633<br>
SCRIPTS_REMOTE_DIR=/var/tmp/one<br>
SESSION_EXPIRATION_TIME=900<br>
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh<br>
VM_DIR=/var/lib/one/<br>
VM_MAD=ARGUMENTS=-t 15 -r 0<br>
kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm<br>
VM_PER_INTERVAL=5<br>
VM_POLLING_INTERVAL=600<br>
VNC_BASE_PORT=5900<br>
----------------------------------------<br>
Sun Apr 28 13:05:24 2013 [ONE][I]: Log level:3<br>
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>
Sun Apr 28 13:05:24 2013 [ONE][I]: Checking database version.<br>
Sun Apr 28 13:05:24 2013 [ONE][E]: The name 'serveradmin' is reserved<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>
</blockquote></div><br></div>