Community
 
 
 

CloudPlatform 4.x

284 followers
 
Avatar
Administrator

Unable to enter GUI after successful login

Avatar

Unable to enter GUI after successful login

Hello all,

 

Right after installing Cloud Platform on CentOs 6.5 I was able to login and go through the configuration steps. Once I was done with configuration, the GUI was working fine.

 

Now when I attempt to login, nothing happens. The logs show that login is successful, but I get the following errors right after:

 


 

 

2014-02-10 22:43:52,627 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=5w3DJEp3oXUUmNuBl2FHfUyzYqw%3D&_=1392093828277
2014-02-10 22:43:52,678 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=5w3DJEp3oXUUmNuBl2FHfUyzYqw%3D&_=1392093828277
2014-02-10 22:43:58,628 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START===  192.168.1.186 -- POST
2014-02-10 22:43:58,644 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-4:null) Attempting to log in user: admin in domain 1
2014-02-10 22:43:58,644 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-4:null) Retrieving user: admin
2014-02-10 22:43:58,721 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-4:null) User: admin in domain 1 has successfully logged in
2014-02-10 22:43:58,753 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===  192.168.1.186 -- POST
2014-02-10 22:43:58,762 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=kNoGEYsNvbMQv4f68lV6mO%2Fb%2B3c%3D&_=1392093834417
2014-02-10 22:43:58,772 DEBUG [cloud.api.ApiServer] (catalina-exec-8:null) The given command:listCapabilities does not exist or it is not available for user with id:2
2014-02-10 22:43:58,773 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  192.168.1.186 -- GET  command=listCapabilities&response=json&sessionkey=kNoGEYsNvbMQv4f68lV6mO%2Fb%2B3c%3D&_=1392093834417

 

 

 

Essentially I am stuck at the login page and can't get inside the GUI. The only change in the system/os was an IP address change (from DHCP to static). Could that be the issue? 

 

Also, it is worth mentioning that previous to this installation I had attempted to install Apache CloudStack on Debian 7. I had gotten the issues with wrong username/password during login that some other users experienced, but once I fixed it, I ended up with the same errors as I have shown you above.

 

Any ideas?

 

Thank you,

Rafael

 

 


Rafael Possamai MEMBERS 11 February 2014 - 04:58 AM
7 comments
0

Please sign in to leave a comment.

 
 

Previous 7 comments

Avatar
Administrator
Avatar

Unable to enter GUI after successful login

I have seen this happen when there is no default gateway on your management server. Can you try to add a default gateway on your management server see if that fixes the issue


Prashanth Reddy Mandadi CITRIX EMPLOYEES 11 February 2014 - 13:31 PM
Comment actions Permalink
Avatar
Administrator
Avatar

I tried on my own to find which file holds that configuration, but no success. Do you know where I should change that on CentOS 6.5?


Rafael Possamai MEMBERS 11 February 2014 - 17:56 PM
Comment actions Permalink
Avatar
Administrator
Avatar

Hi Rafael,

 

Use the following command to add the default gateway

 

#route add default gw <your_gateway_ip_here>

 

To make this permanent add the following to /etc/sysconfig/network

GATEWAY=<your_gateway_ip_here>

 

-Prashanth


Prashanth Reddy Mandadi CITRIX EMPLOYEES 12 February 2014 - 05:45 AM
Comment actions Permalink
Avatar
Administrator
Avatar

Hi Prashanth,

 

Thanks for your time. I followed your instructions and rebooted the server (it is not in production yet) and I had no success. 

 

On a side note, when I configured the static ip on this box, the following file was created: /etc/sysconfig/networking-scripts/ifcfg-System eth0. It holds these configurations:



 

DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
#HWADDR=
TYPE=Ethernet
BOOTPROTO=none
NAME="System eth0"
#UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.200
NETMASK=255.255.255.0
DNS1=192.168.1.1
HWADDR=c8:60:00:d0:88:58
GATEWAY=192.168.1.1
IPV6INIT=no
USERCTL=no
 

 

Here is the boot.log, just in case:



 

                Welcome to CentOS
Starting udev:                                             [  OK  ]
Setting hostname cloud.netstx.com:                         [  OK  ]
Setting up Logical Volume Management:   3 logical volume(s) in volume group "vg_cloud" now active
                                                           [  OK  ]
Checking filesystems
_CentOS-6.5-x86_: clean, 83238/3178496 files, 1125677/12699648 blocks
/dev/sda1: clean, 48/128016 files, 86230/512000 blocks
/dev/mapper/vg_cloud-lv_home: clean, 354/310080 files, 60854/1239040 blocks
                                                           [  OK  ]
Remounting root filesystem in read-write mode:             [  OK  ]
Mounting local filesystems:                                [  OK  ]
Enabling local filesystem quotas:                          [  OK  ]
Enabling /etc/fstab swaps:                                 [  OK  ]
Entering non-interactive startup
Calling the system activity data collector (sadc)...
Starting monitoring for VG vg_cloud:   3 logical volume(s) in volume group "vg_cloud" monitored
                                                           [  OK  ]
ip6tables: Applying firewall rules:                        [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]
Starting auditd:                                           [  OK  ]
Starting system logger:                                    [  OK  ]
Enabling ondemand cpu frequency scaling:                   [  OK  ]
Starting irqbalance:                                       [  OK  ]
Starting rpcbind:                                          [  OK  ]
Starting kdump:                                            [  OK  ]
Starting lldpad:                                           [  OK  ]
Starting FCoE initiator service:                           [  OK  ]
 
Starting system message bus:                               [  OK  ]
Setting network parameters...                              [  OK  ]
Starting NetworkManager daemon:                            [  OK  ]
Starting NFS statd:                                        [  OK  ]
Initializing OpenCT smart card terminals:                  [  OK  ]
 
Starting acpi daemon:                                      [  OK  ]
Starting HAL daemon:                                       [  OK  ]
Retrigger failed udev events                               [  OK  ]
Starting PC/SC smart card daemon (pcscd):                  [  OK  ]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting RPC idmapd:                                       [  OK  ]
Enabling Bluetooth devices:
Starting sshd:                                             [  OK  ]
ntpdate: Synchronizing with time server:                   [  OK  ]
Starting mysqld:                                           [  OK  ]
Starting cloudstack-management:                            [  OK  ]
Starting crond:                                            [  OK  ]
Starting atd:                                              [  OK  ]

 

 


Rafael Possamai MEMBERS 12 February 2014 - 17:23 PM
Comment actions Permalink
Avatar
Administrator
Avatar

Is "/etc/sysconfig/networking-scripts/ifcfg-System eth0" a copy/paste error? You don't typically see spaces in filenames on unix/linux systems.

 

When logged into the system, can you 'ping 192.168.1.1' and/or 'ping 8.8.8.8'?

 

--Mike


Michael Little MEMBERS 01 April 2014 - 21:31 PM
Comment actions Permalink
Avatar
Administrator
Avatar

i also encounter this problem,and i find 

[root@cpp ~]# nmap localhost 
Starting Nmap 5.21 ( http://nmap.org ) at 2014-04-02 09:30 CST 
Nmap scan report for localhost (127.0.0.1) 
Host is up (0.0000040s latency). 
Hostname localhost resolves to 2 IPs. Only scanned 127.0.0.1 
Not shown: 992 closed ports 
PORT STATE SERVICE 
22/tcp open ssh 
25/tcp open smtp 
80/tcp open http 
111/tcp open rpcbind 
631/tcp open ipp 
2049/tcp open nfs 
3306/tcp open mysql 
8080/tcp open http-proxy 

I cannot find the 9090/tcp open zeus-admin,how can i start the process zeus-admin??


diejia zhao MEMBERS 02 April 2014 - 02:01 AM
Comment actions Permalink
Avatar
Administrator
Avatar

The log file  /var/log/cloudstack/management/catalina.out


INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.cluster.LockMasterListener

INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Trying to connect to 192.168.80.152
ERROR [cloud.cluster.ClusterManagerImpl] (Timer-2:) Unable to ping management server at 192.168.80.152:9090 due to ConnectException
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1405)
at com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1384)
at com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1461)
at com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1347)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Detected that another management node with the same IP 192.168.80.152 is considered as running in DB, however it is not pingable, we will continue cluster initialization with this management server node
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) Cluster manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring org.apache.cloudstack.affinity.AffinityGroupServiceImpl_EnhancerByCloudStack_50f8663e
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.ExternalDeviceUsageManagerImpl_EnhancerByCloudStack_98f317d2
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.baremetal.networkservice.BaremetalPxeManagerImpl_EnhancerByCloudStack_de9abdcc
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.usage.UsageServiceImpl_EnhancerByCloudStack_482086c6
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.vm.ClusteredVirtualMachineManagerImpl_EnhancerByCloudStack_8f26cfd8
INFO  [cloud.cluster.ClusterManagerImpl] (Timer-2:) register cluster listener class com.cloud.vm.ClusteredVirtualMachineManagerImpl_EnhancerByCloudStack_8f26cfd8
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.storage.snapshot.SnapshotManagerImpl_EnhancerByCloudStack_bf8c2ddf
INFO  [storage.snapshot.SnapshotManagerImpl] (Timer-2:) Snapshot Manager is configured.
INFO  [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.storage.StorageManagerImpl_EnhancerByCloudStack_b0ca6fea
INFO  [cloud.storage.StorageManagerImpl] (Timer-2:) pool.acquisition.wait.seconds is configured as 1800 seconds

 

 

 


diejia zhao MEMBERS 02 April 2014 - 02:07 AM
Comment actions Permalink

Top Contributors