安装CS4.3
# cloudstack-setup-management
[root@ezcloud ~]# cloudstack-setup-management
Starting to configure CloudStack Management Server:
DEBUG:root:execute:hostname -f
Configure sudoers ... [OK]
Configure Firewall ... DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8080
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 7080
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8250
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 9090
DEBUG:root:execute:iptables-save > /etc/sysconfig/iptables
DEBUG:root:execute:service iptables status
DEBUG:root:execute:service iptables status
DEBUG:root:execute:service iptables start
[OK]
Configure CloudStack Management Server ...DEBUG:root:execute:rm -f /etc/cloudstack/management/server.xml
DEBUG:root:execute:rm -f /etc/cloudstack/management/tomcat6.conf
DEBUG:root:execute:ln -s /etc/cloudstack/management/server-nonssl.xml /etc/cloudstack/management/server.xml
DEBUG:root:execute:ln -s /etc/cloudstack/management/tomcat6-nonssl.conf /etc/cloudstack/management/tomcat6.conf
DEBUG:root:execute:hostname --fqdn
DEBUG:root:execute:mkdir /var/log/cloudstack-management/
DEBUG:root:Failed to execute:mkdir: 无法创建目录"/var/log/cloudstack-management/": 文件已存在
DEBUG:root:execute:service tomcat6 status
DEBUG:root:Failed to execute:tomcat6 is stopped[确定]
DEBUG:root:execute:chkconfig --del tomcat6
DEBUG:root:execute:service cloudstack-management status
DEBUG:root:Failed to execute:cloudstack-management 已停
DEBUG:root:execute:chkconfig --level 2345 cloudstack-management on
DEBUG:root:execute:service cloudstack-management status
DEBUG:root:Failed to execute:cloudstack-management 已停
DEBUG:root:execute:service cloudstack-management start
DEBUG:root:Failed to execute:/etc/rc.d/init.d/tomcat6: line 139: /var/log/cloudstack/management//catalina.out:
没有那个文件或目录
[Failed]
DEBUG:root:None
Failed to configure CloudStack Management Server, please see the /var/log/cloudstack/setupManagement.log
for detail
Try to restore your system:
Restore sudoers ... [OK]
Restore Firewall ... [OK]
Restore CloudStack Management Server ...[OK]
wanghaicheng2004@gmail.com |