cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "satoru nakaya (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-9111) cloudstack-management start failed (CloudStack 4.6.1 + CentOS7)
Date Sun, 06 Dec 2015 08:07:33 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-9111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

satoru nakaya closed CLOUDSTACK-9111.
-------------------------------------
    Resolution: Not A Problem

In the case of centos7:

cloudstack-setup-management --tomcat7


> cloudstack-management start failed (CloudStack 4.6.1 + CentOS7)
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9111
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9111
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.6.1
>         Environment: CloudStack 4.6.1 , CentOS7
> http://packages.shapeblue.com/cloudstack/upstream/centos7/4.6/
>            Reporter: satoru nakaya
>
> Steps to reproduce:
> 1)clean install CloudStack 4.6.1 on CentOS7
>   use http://packages.shapeblue.com/cloudstack/upstream/centos7/4.6/
> [root@acs ~]# cat /etc/redhat-release
> CentOS Linux release 7.1.1503 (Core)
> [root@acs ~]#
> [root@acs ~]# rpm -qa | grep cloudstack
> cloudstack-management-4.6.1-shapeblue0.el7.centos.x86_64
> cloudstack-common-4.6.1-shapeblue0.el7.centos.x86_64
> [root@acs ~]#
> 2)cloudstack-setup-databases...(snip)
> 3)cloudstack-setup-management (Failed)
> [root@acs ~]# cloudstack-setup-management
> Starting to configure CloudStack Management Server:
> Configure Firewall ...        [OK]
> Configure CloudStack Management Server ...[Failed]
> Cannot find /etc/cloudstack/management/server-nonssl.xml or /etc/cloudstack/management/tomcat6-nonssl.conf,
https enable failed
> Try to restore your system:
> Restore Firewall ...          [OK]
> Restore CloudStack Management Server ...[OK]
> [root@acs ~]#
> 4)check log (/var/log/messages)
> Dec  6 10:08:51 acs server: WARNING: Unable to load server configuration from [/usr/share/cloudstack-management/conf/server.xml]
> 5)check service status (failed)
> [root@acs ~]# systemctl status cloudstack-management.service
> cloudstack-management.service - CloudStack Management Server
>    Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; enabled)
>    Active: failed (Result: exit-code) since Sun 2015-12-06 10:08:52 JST; 11s ago
>   Process: 3061 ExecStop=/usr/libexec/tomcat/server stop (code=exited, status=1/FAILURE)
>   Process: 3026 ExecStart=/usr/libexec/tomcat/server start (code=exited, status=0/SUCCESS)
>  Main PID: 3026 (code=exited, status=0/SUCCESS)
> Dec 06 10:08:52 acs.dom.local server[3061]: at java.io.FileInputStream.<init>(FileInputStream.java:146)
> Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:466)
> Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI...va:43)
> Dec 06 10:08:52 acs.dom.local server[3061]: at java.lang.reflect.Method.invoke(Method.java:606)
> Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370)
> Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457)
> Dec 06 10:08:52 acs.dom.local systemd[1]: cloudstack-management.service: control process
exited, code=exited status=1
> Dec 06 10:08:52 acs.dom.local systemd[1]: Unit cloudstack-management.service entered
failed state.
> Hint: Some lines were ellipsized, use -l to show in full.
> [root@acs ~]#
> workaround:
> The correct do not know whether or not , but it worked.
> 6)check file
> [root@acs ~]# ls -la /etc/cloudstack/management
> total 132
> drwxr-xr-x. 3 root root   4096 Dec  5 17:59 .
> drwxr-xr-x. 3 root root   4096 Dec  5 17:53 ..
> drwxrwx---. 3 root cloud  4096 Dec  5 17:53 Catalina
> -rw-r--r--. 1 root root   8945 Dec  1 20:22 catalina.policy
> -rw-r--r--. 1 root root   3794 Dec  1 20:22 catalina.properties
> -rw-r--r--. 1 root root   1653 Dec  1 20:22 classpath.conf
> -rw-r--r--. 1 root root   1357 Dec  1 20:22 commons-logging.properties
> -rw-r-----. 1 root cloud  3137 Dec  5 17:59 db.properties
> -rw-r--r--. 1 root root    979 Dec  1 20:22 environment.properties
> -rw-r--r--. 1 root root    927 Dec  1 20:22 java.security.ciphers
> -rw-r--r--. 1 root root      8 Dec  5 17:55 key
> -rw-r--r--. 1 root root   7020 Dec  1 20:22 log4j-cloud.xml
> -rw-r--r--. 1 root root   6722 Dec  1 20:22 server7-nonssl.xml
> -rw-r--r--. 1 root root   7251 Dec  1 20:22 server7-ssl.xml
> -rw-r--r--. 1 root root   1383 Dec  1 20:22 tomcat-users.xml
> -rw-r--r--. 1 root root  50475 Dec  1 20:22 web.xml
> [root@acs ~]
> 7)copy file
> [root@acs ~]# cd /etc/cloudstack/management
> [root@acs management]# cp -p server7-nonssl.xml server.xml
> 8)start cloudstack-management service
> [root@acs ~]# systemctl start cloudstack-management.service
> 9)check service status (running)
> [root@acs ~]# systemctl status cloudstack-management.service
> cloudstack-management.service - CloudStack Management Server
>    Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; enabled)
>    Active: active (running) since Sun 2015-12-06 10:12:23 JST; 1min 0s ago
>   Process: 3061 ExecStop=/usr/libexec/tomcat/server stop (code=exited, status=1/FAILURE)
>  Main PID: 3164 (java)
>    CGroup: /system.slice/cloudstack-management.service
>            mq3164 java -Djava.awt.headless=true -Dcom.sun.management.jmxremote=false
-Xmx2g -XX:+HeapDumpOnOutOfMemoryError -X...
> Dec 06 10:13:11 acs.dom.local server[3164]: INFO  [c.c.s.ConfigurationServerImpl] (localhost-startStop-1:null)
Trying to...vm iso
> Dec 06 10:13:11 acs.dom.local sudo[3231]: cloud : TTY=unknown ; PWD=/usr/share/cloudstack-management
; USER=root ; COMMA...vm_mnt
> Dec 06 10:13:11 acs.dom.local sudo[3234]: cloud : TTY=unknown ; PWD=/usr/share/cloudstack-management
; USER=root ; COMMA...vm_mnt
> Dec 06 10:13:11 acs.dom.local sudo[3239]: cloud : TTY=unknown ; PWD=/usr/share/cloudstack-management
; USER=root ; COMMA...vm_mnt
> Dec 06 10:13:11 acs.dom.local server[3164]: INFO  [c.c.s.ConfigurationServerImpl] (localhost-startStop-1:null)
Injected ...: null
> Dec 06 10:13:23 acs.dom.local server[3164]: INFO  [c.c.c.ClusterManagerImpl] (localhost-startStop-1:null)
Start configur...erImpl
> Dec 06 10:13:23 acs.dom.local server[3164]: INFO  [c.c.c.ClusterManagerImpl] (localhost-startStop-1:null)
Cluster node I...0.0.30
> Dec 06 10:13:23 acs.dom.local server[3164]: INFO  [c.c.c.ClusterManagerImpl] (localhost-startStop-1:null)
Cluster manage...gured.
> Dec 06 10:13:23 acs.dom.local server[3164]: INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (localhost-startStop-1:null)
Start A...ze 125
> Dec 06 10:13:23 acs.dom.local server[3164]: INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (localhost-startStop-1:null)
Start A...ze 166
> Hint: Some lines were ellipsized, use -l to show in full.
> [root@acs ~]#



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message