You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "wanghaicheng2004@gmail.com" <wa...@gmail.com> on 2014/05/04 11:03:56 UTC

CS4.3初始化问题

安装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

回复: 回复: CS4.3初始化问题

Posted by "wanghaicheng2004@126.com" <wa...@126.com>.




wanghaicheng2004@126.com

发件人: brito.wang@gmail.com
发送时间: 2014-05-05 11:27
收件人: users-cn
主题: 回复: CS4.3初始化问题


大致的原因知道了,是在yum 安装CS时SELinux并没有关闭,在初始化之前刚关闭的。判断是由于SElinux关闭操作执行顺序过晚造成的。



你看看你的manage-server机器中是不是有这样一个文件/var/log/cloudstack-management如果有这样一个文件,所有他就不能创建这样一个目录了/var/log/cloudstack-management


brito.wang@gmail.com
?发件人:?wanghaicheng2004@gmail.com发送时间:?2014-05-04?17:03收件人:?users-cn主题:?CS4.3初始化问题安装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

回复: CS4.3初始化问题

Posted by "brito.wang@gmail.com" <br...@gmail.com>.





你看看你的manage-server机器中是不是有这样一个文件/var/log/cloudstack-management如果有这样一个文件,所有他就不能创建这样一个目录了/var/log/cloudstack-management


brito.wang@gmail.com
?发件人:?wanghaicheng2004@gmail.com发送时间:?2014-05-04?17:03收件人:?users-cn主题:?CS4.3初始化问题安装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