cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张仕博 <zhang...@neusoft.com>
Subject 答复: cloudstack登录问题
Date Mon, 28 Jul 2014 09:56:54 GMT
这个问题在https://issues.apache.org/jira/browse/CLOUDSTACK-208
这里找到答案了,居然是网关没有配置引起的


-----邮件原件-----
发件人: 张仕博 [mailto:zhangshb@neusoft.com] 
发送时间: 2014年7月28日 17:29
收件人: users-cn
主题: cloudstack登录问题

请问cloud.account表中数据是怎么产生的,我这里使用admin无法登录,日志如下

2014-07-28 17:00:46,074 INFO  [utils.component.ComponentContext]
(Timer-2:null) Configuring
com.cloud.user.dao.UserDaoImpl_EnhancerByCloudStack_5bb1634b

2014-07-28 17:00:46,195 ERROR
[ehcache.distribution.MulticastRMICacheManagerPeerProvider] (Timer-2:null)
Error starting heartbeat. Error was: No such device

java.net.SocketException: No such device

         at java.net.PlainDatagramSocketImpl.join(Native Method)

         at
java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImp
l.java:168)

         at java.net.MulticastSocket.joinGroup(MulticastSocket.java:300)

         at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.
init(MulticastKeepaliveHeartbeatReceiver.java:78)

         at
net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(Multic
astRMICacheManagerPeerProvider.java:89)

         at net.sf.ehcache.CacheManager.init(CacheManager.java:229)

         at net.sf.ehcache.CacheManager.<init>(CacheManager.java:213)

         at net.sf.ehcache.CacheManager.create(CacheManager.java:394)

         at
com.cloud.utils.db.GenericDaoBase.createCache(GenericDaoBase.java:1743)

         at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)

         at
com.cloud.utils.db.GenericDaoBase.configure(GenericDaoBase.java:1762)

         at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)

         at
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Component
Context.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)

2014-07-28 17:00:57,204 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_a
f3c5443

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_4446c39d

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_60edb395

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_48563
654

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_1ef
7eb4

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudS
tack_7021c672

2014-07-28 17:00:57,207 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_c7bc30
37

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_abcee80
0

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_d21c0f

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_72ba3e50

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_2e
2ee37d

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_ff6b2048

2014-07-28 17:00:57,208 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_7259f8c4

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_fa29
0dff

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudSta
ck_f97efa62

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_9b4cb49a

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_8227248b

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_7d75
a9e5

2014-07-28 17:00:57,209 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_d4b4093b

2014-07-28 17:00:57,542 INFO  [utils.component.ComponentContext] (main:null)
Configuring
com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_
ffe4a3b0

2014-07-28 17:00:57,677 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_a
f3c5443

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_4446c39d

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_60edb395

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_48563
654

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_1ef
7eb4

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudS
tack_7021c672

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_c7bc30
37

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_abcee80
0

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_d21c0f

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_72ba3e50

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_2e
2ee37d

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_ff6b2048

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_7259f8c4

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_fa29
0dff

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudSta
ck_f97efa62

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_9b4cb49a

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_8227248b

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_7d75
a9e5

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_d4b4093b

2014-07-28 17:00:57,678 INFO  [utils.component.ComponentContext] (main:null)
Starting
com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_
ffe4a3b0

2014-07-28 17:02:39,030 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null)
===START===  192.168.1.10 -- GET
command=listCapabilities&response=json&sessionkey=null&_=1406538162529

2014-07-28 17:02:39,036 ERROR [cloud.api.ApiServlet] (catalina-exec-18:null)
unknown exception writing api response

java.lang.NullPointerException

         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:239)

         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)

         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)

         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)

         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)

         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
)

         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)

         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.
java:555)

         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)

         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

         at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:
889)

         at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(H
ttp11NioProtocol.java:721)

         at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:
2268)

         at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)

         at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)

         at java.lang.Thread.run(Thread.java:679)

2014-07-28 17:02:39,038 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null)
===END===  192.168.1.10 -- GET
command=listCapabilities&response=json&sessionkey=null&_=1406538162529

2014-07-28 17:03:08,858 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
===START===  192.168.1.10 -- POST  

2014-07-28 17:03:08,875 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) Attempting to log in user: admin in domain 1

2014-07-28 17:03:08,875 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin

2014-07-28 17:03:08,882 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
(catalina-exec-2:null) Unable to find user with admin in domain 1

2014-07-28 17:03:09,104 DEBUG [server.auth.MD5UserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin

2014-07-28 17:03:09,111 DEBUG [server.auth.MD5UserAuthenticator]
(catalina-exec-2:null) Unable to find user with admin in domain 1

2014-07-28 17:03:09,111 DEBUG [server.auth.LDAPUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin

2014-07-28 17:03:09,112 DEBUG [server.auth.LDAPUserAuthenticator]
(catalina-exec-2:null) Unable to find user with admin in domain 1

2014-07-28 17:03:09,112 DEBUG [server.auth.PlainTextUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin

2014-07-28 17:03:09,114 DEBUG [server.auth.PlainTextUserAuthenticator]
(catalina-exec-2:null) Unable to find user with admin in domain 1

2014-07-28 17:03:09,114 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) Unable to authenticate user with username admin in
domain 1

2014-07-28 17:03:09,119 WARN  [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) Authentication failure: No user with name admin for
domainId 1

2014-07-28 17:03:09,119 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) User: admin in domain 1 has failed to log in

 

  _____  

张仕博

基础软件事业部

东软集团股份有限公司

大连市甘井子区黄浦路901号D1座219室

 

Postcode:116085

 <Tel:(86> Tel:(86 411) 8446 6538

Email: <mailto:zhangshb@neusoft.com> zhangshb@neusoft.com

 

----------------------------------------------------------------------------
-----------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 
----------------------------------------------------------------------------
-----------------------

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)

is intended only for the use of the intended recipient and may be confidential and/or privileged
of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please

immediately notify the sender by return e-mail, and delete the original message and all copies
from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
Mime
View raw message