Hi, It seems that the oned daemon is not really started. The daemon its called 'oned' and from your ps output there is only mm_sched present (the scheduler), and it is present 3 times (please kill those process). You can check $ONE_LCOATION/var/oned.log to check the error that prevents 'oned' from starting.
Also, we strongly recommend running 'oned' as <oneadmin>, avoiding the use of root. Best regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Tue, Dec 21, 2010 at 8:20 AM, ocoral <oco...@h3c.com> wrote: > Hi, > > I had installed ONE2.0 on the Fedora 14. But when I execute any CLI such as > "onecluster list", the following error occurs: > > [r...@0232 opennebula-2.0]# onecluster list > > Error: Connection refused - connect(2) > > [r...@0232 opennebula-2.0]# > > > > Of course, the one daemon had been started. > > [r...@0232 opennebula-2.0]# one start > > oned and scheduler started > > > > Anybody can tell me why and how to fix it? > > > > My installation step is: > > 1. tar zxvf opennebula-2.0.tar.gz > > 2. cd opennebula-2.0 > > 3. scons > > 4. mkdir /home/one > > 5. ./install.sh -d /home/one/ > > 6. export ONE_LOCATION=/home/one >> ~/.bashrc > > export ONE_XMLRPC="http://localhost:2633/RPC2" >> ~/.bashrc > > export PATH='$ONE_LOCATION/bin:$PATH' >> ~/.bashrc > > export ONE_AUTH=/home/one/.one/one_auth >> ~/.bashrc > > 7. mkdir /home/one/.one > > echo "oneadmin:oneadmin" >> /home/one/.one/one_auth > > 8. source ~/.bashrc > > > > I didn't change anything in the oned.conf file and the XMLRPC port is the > default 2633. > > > > The content of one_auth file is: > > oneadmin:oneadmin > > > > I checked the daemons relate to the ONE, it seems that 2633 port does not > open. I don't know how to open it and I found no materials which tell me to > open such port. > > > > [r...@0232 opennebula-2.0]# ps auxww | grep one > > root 9707 0.0 0.1 31028 3524 ? Sl 12:26 0:01 > /home/one/bin/mm_sched -p 2633 -t 30 -m 300 -d 30 -h 1 > > oneadmin 10440 0.0 0.1 33556 3332 ? Sl 12:31 0:00 > /usr/bin/gnome-keyring-daemon --daemonize --login > > oneadmin 10450 0.0 0.3 37836 6948 ? Ssl 12:31 0:00 > gnome-session > > oneadmin 10460 0.0 0.0 3780 500 ? S 12:31 0:00 dbus-launch > --sh-syntax --exit-with-session > > oneadmin 10461 0.0 0.0 5220 1548 ? Ss 12:31 0:00 > /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session > > oneadmin 10533 0.0 0.2 10376 4468 ? S 12:31 0:00 > /usr/libexec/gconfd-2 > > oneadmin 10543 0.0 0.5 120560 10912 ? Ssl 12:31 0:00 > /usr/libexec/gnome-settings-daemon > > oneadmin 10547 0.0 0.1 8552 2224 ? S 12:31 0:00 > /usr/libexec/gvfsd > > oneadmin 10552 0.0 0.1 33428 2076 ? Ssl 12:31 0:00 > /usr/libexec//gvfs-fuse-daemon /home/.gvfs > > oneadmin 10557 0.0 0.5 33400 10560 ? Sl 12:31 0:01 metacity > > oneadmin 10561 0.0 0.8 215964 17320 ? Sl 12:31 0:02 gnome-panel > > oneadmin 10563 0.0 0.1 9364 3096 ? S 12:31 0:00 > /usr/libexec/gvfs-gdu-volume-monitor > > oneadmin 10566 0.0 0.0 19900 1868 ? Sl 12:31 0:00 > /usr/libexec/gvfs-afc-volume-monitor > > oneadmin 10569 0.0 0.0 9024 1952 ? S 12:31 0:00 > /usr/libexec/gvfs-gphoto2-volume-monitor > > oneadmin 10573 0.0 0.1 87656 3348 ? Ssl 12:31 0:00 > /usr/bin/pulseaudio --start --log-target=syslog > > oneadmin 10576 0.0 0.1 22632 2632 ? Sl 12:31 0:00 > /usr/libexec/pulse/gconf-helper > > oneadmin 10580 0.0 0.8 228012 16572 ? Sl 12:31 0:01 nautilus > > oneadmin 10582 0.0 0.1 54168 2980 ? Ssl 12:31 0:00 > /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=23 > > oneadmin 10585 0.0 0.2 20328 5520 ? S 12:31 0:00 abrt-applet > > oneadmin 10589 0.0 0.1 27352 3968 ? Sl 12:31 0:00 > /usr/lib/deja-dup/deja-dup-monitor > > oneadmin 10591 0.0 0.3 21260 6324 ? S 12:31 0:00 > /usr/libexec/gdu-notification-daemon > > oneadmin 10597 0.0 0.3 175848 7392 ? Sl 12:31 0:00 > bluetooth-applet > > oneadmin 10605 0.0 0.9 340604 19032 ? Sl 12:31 0:00 > /usr/bin/gnote --panel-applet --oaf-activate-iid=OAFIID:GnoteApplet_Factory > --oaf-ior-fd=22 > > oneadmin 10607 0.0 0.7 211792 14884 ? Sl 12:31 0:00 > /usr/libexec/clock-applet > > oneadmin 10608 0.0 0.3 184804 7472 ? Sl 12:31 0:00 > /usr/libexec/notification-area-applet > > oneadmin 10609 0.0 0.5 188976 11556 ? Sl 12:31 0:00 > /usr/libexec/wnck-applet > > oneadmin 10610 0.0 0.3 185756 7736 ? Sl 12:31 0:00 > /usr/libexec/trashapplet > > oneadmin 10612 0.0 0.5 37436 11732 ? Sl 12:31 0:00 > gpk-update-icon > > oneadmin 10614 0.0 0.6 195268 12996 ? Sl 12:31 0:00 > /usr/libexec/gdm-user-switch-applet > --oaf-activate-iid=OAFIID:GNOME_FastUserSwitchApplet_Factory --oaf-ior-fd=28 > > oneadmin 10621 0.0 0.1 16988 3776 ? S 12:31 0:00 > /usr/libexec/im-settings-daemon > > oneadmin 10631 0.0 0.2 28432 5576 ? Sl 12:31 0:00 > /usr/libexec/polkit-gnome-authentication-agent-1 > > oneadmin 10640 0.0 0.4 47244 9472 ? Sl 12:31 0:00 > /usr/libexec/evolution/2.32/evolution-alarm-notify > > oneadmin 10646 0.0 0.8 36312 16520 ? S 12:31 0:00 > /usr/bin/python /usr/share/system-config-printer/applet.py > > oneadmin 10656 0.0 0.5 240080 10828 ? S 12:31 0:00 > gnome-volume-control-applet > > oneadmin 10679 0.0 0.1 30112 2652 ? Ss 12:31 0:00 > gnome-screensaver > > oneadmin 10691 0.0 0.1 9140 2796 ? S 12:31 0:00 > /usr/libexec/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0 > > oneadmin 10701 0.0 0.1 18888 2536 ? Sl 12:31 0:03 ./escd > --key_Inserted="/usr/bin/esc" --on_Signal="/usr/bin/esc" > > oneadmin 10837 0.0 0.1 15452 2636 ? Sl 12:31 0:00 > /usr/libexec/gconf-im-settings-daemon > > oneadmin 10844 0.0 0.1 8556 2316 ? S 12:31 0:00 > /usr/libexec/gvfsd-burn --spawner :1.11 /org/gtk/gvfs/exec_spaw/1 > > root 13442 0.0 0.1 31028 3516 ? Sl 12:38 0:01 > /home/one/bin/mm_sched -p 2633 -t 30 -m 300 -d 30 -h 1 > > oneadmin 14518 0.0 1.9 186044 38840 ? Rl 13:09 0:05 konsole > > oneadmin 14525 0.0 0.0 5312 1704 pts/1 Ss 13:09 0:00 /bin/bash > > oneadmin 14558 0.0 0.1 37772 3864 ? Ss 13:09 0:00 kdeinit4: > kdeinit4 Running... > > oneadmin 14560 0.0 0.5 46960 10604 ? S 13:09 0:00 klauncher > --fd=8 > > oneadmin 14564 0.0 0.9 107052 20052 ? Sl 13:09 0:00 kded4 > > oneadmin 14567 0.0 0.0 3284 1036 ? S 13:09 0:00 > /usr/libexec/gam_server > > oneadmin 14788 0.0 0.9 103020 19808 ? Sl 13:10 0:00 > /usr/bin/knotify4 > > oneadmin 16236 0.0 0.0 5132 1316 ? S 13:34 0:00 /bin/sh > /usr/lib/firefox-3.6/run-mozilla.sh /usr/lib/firefox-3.6/firefox > > oneadmin 16253 0.1 2.3 442940 48000 ? Sl 13:34 0:08 > /usr/lib/firefox-3.6/firefox > > root 20218 0.0 0.1 31028 3476 pts/1 Sl 15:07 0:00 > /home/one/bin/mm_sched -p 2633 -t 30 -m 300 -d 30 -h 1 > > root 20409 0.0 0.0 4468 776 pts/1 R+ 15:12 0:00 grep > --color=auto one > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org