Issue with sunstone on RHEL 7

Hi,

I’m actually trying to install opennebula on a RedHat 7.0 cluster.
No internet access, so i install with rpms.

Everything went well while installation, but now i’m stuck because when i start opennebula with :
#systemctl enable opennebula
#systemctl enable opennebula-sunstone
#systemctl start opennebula
#systemctl start opennebula-sunstone
As root

$ one start
As oneadmin.

Here is the list of gems installed :

*** LOCAL GEMS ***

activemodel (4.2.7)
activerecord (4.2.7)
activesupport (4.2.7)
addressable (2.3.8)
amazon-ec2 (0.9.17)
arel (7.1.0, 6.0.0)
atomic (1.1.99)
aws-sdk (2.4.0)
aws-sdk-core (2.4.0)
aws-sdk-resources (2.4.0)
azure (0.7.5)
azure-core (0.1.2)
bigdecimal (1.2.0)
builder (3.1.4)
cloud (0.0.1)
concurrent-ruby (1.0.2)
configparser (0.1.2)
cookie_store (0.1.4)
curb (0.9.3)
daemons (1.2.3, 1.0.0)
diff-lcs (1.1.2)
eventmachine (1.2.0.1, 1.0.0)
faraday (0.9.2)
faraday_middleware (0.10.0)
ffi (1.9.14)
ffi-expat (0.1.0)
ffi-yajl (2.2.0)
hashie (1.2.0)
hoe (3.15.1)
i18n (0.7.0)
inflection (1.0.0)
io-console (0.4.2)
jmespath (1.0.0)
json (2.0.1, 1.8.0, 1.7.7)
libyajl2 (1.2.0)
macaddr (1.0.0)
memcache-client (1.8.5)
mime-types (3.1, 2.6)
mime-types-data (3.2015.1120)
mini_portile2 (2.1.0)
minitest (5.9.0, 5.4.0)
multi_json (1.0.0)
multipart-post (2.0.0)
mysql (2.9.1)
net-ldap (0.15.0)
nokogiri (1.6.8, 1.6.1)
oca (3.0.1)
opennebula (4.10.2)
ox (2.4.3)
parse-cron (0.1.4)
passwordmasker (1.2.0)
pkg-config (1.1.7)
polyglot (0.3.5)
power_assert (0.3.0)
psych (2.0.0)
rack (1.5.0)
rack-protection (1.4.0)
rake (11.2.2)
rbvmomi (1.8.1)
rdoc (4.0.0)
rspec (2.6.0)
rspec-core (2.6.0)
rspec-expectations (2.6.0)
rspec-mocks (2.6.0)
ruby-quota (0.8.0)
rubygems-update (2.6.6)
scrub_rb (1.0.1)
sequel (4.36.0)
sinatra (1.4.7)
softlayer_api (3.2.1)
sqlite3 (1.3.11)
sunstone (2.0.4)
systemu (2.6.5)
test-unit (3.2.1)
thin (1.7.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.5)
treetop (1.6.7)
trollop (2.0)
tzinfo (1.2.2)
uuid (2.0.0)
uuidtools (2.1.5)
vmware-vra (1.6.1)
wankel (0.6.2)
xml-simple (1.0.12)
xmlparser (0.7.2.1)
yajl-ruby (1.2.1)
zendesk_api (1.14.0)

[root@localhost one]# /usr/share/one/install_gems --check
All ruby libraries installed

And actually my verry problem is that the port is never opened .

[oneadmin@localhost ~]$ onevm list
ID USER GROUP NAME STAT UCPU UMEM HOST TIME

[oneadmin@localhost ~]$ netstat -np
(Tous les processus ne peuvent être identifiés, les infos sur les processus
non possédés ne seront pas affichées, vous devez être root pour les voir toutes.)
Connexions Internet actives (sans serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 X.X.X.X X.X.X.X ESTABLISHED 7404/oned
tcp 0 0 X.X.X.X X.X.X.X ESTABLISHED -
tcp 0 0 X.X.X.X X.X.X.X ESTABLISHED 7407/mm_sched
tcp 0 0 X.X.X.X X.X.X.X TIME_WAIT -
tcp 0 0 X.X.X.X X.X.X.X TIME_WAIT -
tcp 0 0 X.X.X.X X.X.X.X TIME_WAIT -

If anyone can help me, i’m kinda stuck.

As far as i know “netstat -np” doesn’t show listening sockets. So try “netstat -npl | grep tcp”

Ok, i though it does.
I tried what you asked, but still doens’t listenning.

Here is the result :
[root@localhost ~]# netstat -npl | grep tcp
tcp 0 0 0.0.0.0:2633 0.0.0.0:* LISTEN 1264/oned
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1257/rpcbind
tcp 0 0 0.0.0.0:29876 0.0.0.0:* LISTEN 2584/python
tcp 0 0 0.0.0.0:45908 0.0.0.0:* LISTEN 1372/rpc.statd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1247/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2497/master
tcp6 0 0 :::111 :::* LISTEN 1257/rpcbind
tcp6 0 0 :::22 :::* LISTEN 1247/sshd
tcp6 0 0 ::1:25 :::* LISTEN 2497/master
tcp6 0 0 :::35811 :::* LISTEN 1372/rpc.statd

Actually,
I am reinstalling everything on a new Node to see if the problem is from hardware, or bad habits during installation !

Thanks for help

hi! What host and port in /etc/one/sunstone-server.conf in Server Configuration section?

Hi,
Host : 0.0.O.0
Port : 9869 ( default)

So it was a mistyping error.

Thanks to you !