cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cloudstackfqa2013 <cloudstackfqa2...@163.com>
Subject windows 下定制开发cloudstack
Date Thu, 23 May 2013 04:22:12 GMT
您好:

      有谁在windows 下定制开发cloudstack的?windwos 下采用cygwin 模拟linux
环境,而cloudstack 代码中的命令脚本有"sudo ..."等指令,而cygwin 是没有"sudo
"指令的,大家是如何解决的?? 
下面是错误的LOG:

这是报错的LOG:2013-05-23 00:09:55,951 DEBUG [utils.script.Script] (main:null) Executing:
sudo keytool -genkey -keystore E:\apache-tomcat-6.0.33\conf/cloud.keystore -storepass vmops.com
-keypass vmops.com -keyalg RSA -validity 3650 -dname cn="Cloudstack User",ou="cloud.com",o="cloud.com",c="Unknown"

2013-05-23 00:09:55,983 WARN  [utils.script.Script] (main:null) Exception: sudo keytool -genkey
-keystore E:\apache-tomcat-6.0.33\conf/cloud.keystore -storepass vmops.com -keypass vmops.com
-keyalg RSA -validity 3650 -dname cn="Cloudstack User",ou="cloud.com",o="cloud.com",c="Unknown"

java.io.IOException: Cannot run program "sudo": CreateProcess error=2, ?????????
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at com.cloud.utils.script.Script.execute(Script.java:181)
at com.cloud.utils.script.Script.execute(Script.java:159)
at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:493)





cloudstackfqa2013
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message