Yes the username was wrong, this has solved the problem. Thanks Giuliano On Monday, 29 April 2013, Carlos Martín Sánchez <[email protected]> wrote: > Hi, > 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' > You may also want to reset your installation and try again. To do so, simply delete the sqlite file /var/lib/one/one.db. > > 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: > http://opennebula.org/software:software > > Cheers. > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open-source Solution for Data Center Virtualization > www.OpenNebula.org | [email protected] | @OpenNebula > > On Sun, Apr 28, 2013 at 2:10 PM, Giuliano Casale <[email protected]> wrote: >> >> Hello, >> >> I am facing difficulties in installing OpenNebula for the first time. >> I use Ubuntu 12.04, Linux kernel v 3.6.0, and I want to install >> OpenNebula on a small cluster, but the onehost and oneuser commands do >> not work on the root node. The root node has been reformatted 2 days >> ago to use a fresh installation for this. >> >> I cannot add users or hosts and the only problem I see is the final >> line in oned.log. I do not know how to resolve this since I cannot >> create a different user. >> >> Any advice? >> >> > onehost list >> Connection refused - connect(2) >> >> > oneuser list >> Connection refused - connect(2) >> >> > one start >> Stale .lock detected. Erasing it. >> terminate called without an active exception >> #/usr/bin/one: line 104: 25028 Aborted $ONED -f 2>&1 >> oned failed to start >> >> > sh -x /usr/bin/one start >> + [ -z ] >> + ONE_PID=/var/run/one/oned.pid >> + ONE_SCHEDPID=/var/run/one/sched.pid >> + ONE_CONF=/etc/one/oned.conf >> + ONE_DB=/var/lib/one/one.db >> + ONE_LOG=/var/log/one/oned.log >> + ONED=/usr/bin/oned >> + ONE_SCHEDULER=/usr/bin/mm_sched >> + LOCK_FILE=/var/lock/one/one >> + KILL_9_SECONDS=5 >> + [ start = -b ] >> + setup >> + [ -f /var/lock/one/one ] >> + [ -f /var/run/one/oned.pid ] >> + [ -f /var/run/one/sched.pid ] >> + echo Stale .lock detected. Erasing it. >> Stale .lock detected. Erasing it. >> + rm /var/lock/one/one >> + start >> + [ ! -x /usr/bin/oned ] >> + [ ! -x /usr/bin/mm_sched ] >> + [ ! -f /var/lib/one/one.db ] >> + [ = true ] >> + LASTRC=0 >> + LASTPID=25047 >> + [ 0+ -ne 0 ]/usr/bin/oned >> -f >> + echo 25047 >> + LASTRC=0 >> + LASTPID=25048 >> + + [/usr/bin/mm_sched 0 >> -ne 0 ] >> + echo 25048 >> + sleep 2 >> terminate called without an active exception >> #+ STARTED=true >> + cat /var/run/one/oned.pid >> + ps 25047 >> + [ 1 -ne 0 ] >> + echo oned failed to start >> oned failed to start >> + STARTED=false >> + cat /var/run/one/sched.pid >> + ps 25048 >> + [ 0 -ne 0 ] >> + [ false == false ] >> /usr/bin/one: 176: [: false: unexpected operator >> >> > cat /var/log/one/oned.log >> Sun Apr 28 13:05:24 2013 [ONE][I]: Starting OpenNebula 3.2.1 >> ---------------------------------------- >> OpenNebula Configuration File >> ---------------------------------------- >> AUTH_MAD=ARGUMENTS=--authn >> ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad >> DB=BACKEND=sqlite >> DEBUG_LEVEL=3 >> DEFAULT_DEVICE_PREFIX=hd >> DEFAULT_IMAGE_TYPE=OS >> ENABLE_OTHER_PERMISSIONS=YES >> HM_MAD=EXECUTABLE=one_hm >> HOST_MONITORING_INTERVAL=600 >> HOST_PER_INTERVAL=15 >> IMAGE_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image >> IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm >> MAC_PREFIX=02:00 >> MANAGER_TIMER=15 >> NETWORK_SIZE=254 >> PORT=2633 >> SCRIPTS_REMOTE_DIR=/var/tmp/one >> SESSION_EXPIRATION_TIME=900 >> TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh >> VM_DIR=/var/lib/one/ >> VM_MAD=ARGUMENTS=-t 15 -r 0 >> kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm >> VM_PER_INTERVAL=5 >> VM_POLLING_INTERVAL=600 >> VNC_BASE_PORT=5900 >> ---------------------------------------- >> Sun Apr 28 13:05:24 2013 [ONE][I]: Log level:3 >> [0=ERROR,1=WARNING,2=INFO,3=DEBUG] >> Sun Apr 28 13:05:24 2013 [ONE][I]: Checking database version. >> Sun Apr 28 13:05:24 2013 [ONE][E]: The name 'serveradmin' is reserved >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
-- Giuliano === Giuliano Casale, Imperial College London http://www.doc.ic.ac.uk/~gcasale/ Phone: +44 (0) 20 759 42920
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
