Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17FDA1869E for ; Sun, 6 Dec 2015 08:07:34 +0000 (UTC) Received: (qmail 83362 invoked by uid 500); 6 Dec 2015 08:07:33 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 83082 invoked by uid 500); 6 Dec 2015 08:07:33 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 83072 invoked by uid 500); 6 Dec 2015 08:07:33 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 83066 invoked by uid 99); 6 Dec 2015 08:07:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2015 08:07:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 917A52C14F7 for ; Sun, 6 Dec 2015 08:07:33 +0000 (UTC) Date: Sun, 6 Dec 2015 08:07:33 +0000 (UTC) From: "satoru nakaya (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-9111) cloudstack-management start failed (CloudStack 4.6.1 + CentOS7) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9111?page=3Dcom.atl= assian.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-911= 1 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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=E3=80=80(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/cloudsta= ck/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=3D/usr/libexec/tomcat/server stop (code=3Dexited= , status=3D1/FAILURE) > Process: 3026 ExecStart=3D/usr/libexec/tomcat/server start (code=3Dexit= ed, status=3D0/SUCCESS) > Main PID: 3026 (code=3Dexited, status=3D0/SUCCESS) > Dec 06 10:08:52 acs.dom.local server[3061]: at java.io.FileInputStream.(FileInputStream.java:146) > Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startu= p.Catalina.stopServer(Catalina.java:466) > Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.NativeMethodAc= cessorImpl.invoke0(Native Method) > Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.NativeMethodAc= cessorImpl.invoke(NativeMethodAccessorImpl.java:57) > Dec 06 10:08:52 acs.dom.local server[3061]: at sun.reflect.DelegatingMeth= odAccessorImpl.invoke(DelegatingMethodAccessorI...va:43) > Dec 06 10:08:52 acs.dom.local server[3061]: at java.lang.reflect.Method.i= nvoke(Method.java:606) > Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startu= p.Bootstrap.stopServer(Bootstrap.java:370) > Dec 06 10:08:52 acs.dom.local server[3061]: at org.apache.catalina.startu= p.Bootstrap.main(Bootstrap.java:457) > Dec 06 10:08:52 acs.dom.local systemd[1]: cloudstack-management.service: = control process exited, code=3Dexited status=3D1 > Dec 06 10:08:52 acs.dom.local systemd[1]: Unit cloudstack-management.serv= ice 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 ag= o > Process: 3061 ExecStop=3D/usr/libexec/tomcat/server stop (code=3Dexited= , status=3D1/FAILURE) > Main PID: 3164 (java) > CGroup: /system.slice/cloudstack-management.service > mq3164 java -Djava.awt.headless=3Dtrue -Dcom.sun.management.jm= xremote=3Dfalse -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -X... > Dec 06 10:13:11 acs.dom.local server[3164]: INFO [c.c.s.ConfigurationSer= verImpl] (localhost-startStop-1:null) Trying to...vm iso > Dec 06 10:13:11 acs.dom.local sudo[3231]: cloud : TTY=3Dunknown ; PWD=3D/= usr/share/cloudstack-management ; USER=3Droot ; COMMA...vm_mnt > Dec 06 10:13:11 acs.dom.local sudo[3234]: cloud : TTY=3Dunknown ; PWD=3D/= usr/share/cloudstack-management ; USER=3Droot ; COMMA...vm_mnt > Dec 06 10:13:11 acs.dom.local sudo[3239]: cloud : TTY=3Dunknown ; PWD=3D/= usr/share/cloudstack-management ; USER=3Droot ; COMMA...vm_mnt > Dec 06 10:13:11 acs.dom.local server[3164]: INFO [c.c.s.ConfigurationSer= verImpl] (localhost-startStop-1:null) Injected ...: null > Dec 06 10:13:23 acs.dom.local server[3164]: INFO [c.c.c.ClusterManagerIm= pl] (localhost-startStop-1:null) Start configur...erImpl > Dec 06 10:13:23 acs.dom.local server[3164]: INFO [c.c.c.ClusterManagerIm= pl] (localhost-startStop-1:null) Cluster node I...0.0.30 > Dec 06 10:13:23 acs.dom.local server[3164]: INFO [c.c.c.ClusterManagerIm= pl] (localhost-startStop-1:null) Cluster manage...gured. > Dec 06 10:13:23 acs.dom.local server[3164]: INFO [o.a.c.f.j.i.AsyncJobMa= nagerImpl] (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.AsyncJobMa= nagerImpl] (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)