Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E0F41128C for ; Mon, 30 Jun 2014 15:32:35 +0000 (UTC) Received: (qmail 32407 invoked by uid 500); 30 Jun 2014 15:32:34 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 32364 invoked by uid 500); 30 Jun 2014 15:32:34 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 32353 invoked by uid 99); 30 Jun 2014 15:32:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2014 15:32:34 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of kimmking.cn@gmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2014 15:32:29 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1X1dYW-0005BS-9o for users@activemq.apache.org; Mon, 30 Jun 2014 08:31:44 -0700 Date: Mon, 30 Jun 2014 08:31:29 -0700 (PDT) From: kimmking To: users@activemq.apache.org Message-ID: <1E2E39B3-69B7-42A1-B886-56FD158718AF@gmail.com> In-Reply-To: <1404092980455-4682648.post@n4.nabble.com> References: <1404092980455-4682648.post@n4.nabble.com> Subject: Re: After I apt-get install activemy,the activemy cannot run MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_66459_2185603.1404142289280" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_66459_2185603.1404142289280 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable no permission to create pid file=EF=BC=8Cplz sudo chmod first =E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84 iPhone > =E5=9C=A8 2014=E5=B9=B46=E6=9C=8830=E6=97=A5=EF=BC=8C9:50=EF=BC=8C"laoxia= ng56 [via ActiveMQ]" =E5=86=99= =E9=81=93=EF=BC=9A >=20 > my system is ubuntu-server-12.04 and I want to install activemq for use;s= o I do like this(all commands by root user):=20 >=20 > apt-get install activemq,then it install ActiveMQ 5.5.0;=20 >=20 > howerver,when I attempt to run it by 'activemq start',it gives me a error= like this:=20 >=20 > INFO: Loading '/usr/share/activemq/activemq-options'=20 > INFO: Using java '/usr/lib/jvm/java-6-openjdk//bin/java'=20 > INFO: Starting - inspect logfiles specified in logging.properties and log= 4j.properties to get details=20 > INFO: changing to user 'activemq' to invoke java=20 > -su: line 2: /var/run/activemq.pid: Permission denied=20 > INFO: pidfile created : '/var/run/activemq.pid' (pid '5214')=20 >=20 > I don't know where is problem,please give me some help!=20 >=20 > If you reply to this email, your message will be added to the discussion = below: > http://activemq.2283324.n4.nabble.com/After-I-apt-get-install-activemy-th= e-activemy-cannot-run-tp4682648.html > To unsubscribe from ActiveMQ - User, click here. > NAML -- View this message in context: http://activemq.2283324.n4.nabble.com/After-I= -apt-get-install-activemy-the-activemy-cannot-run-tp4682648p4682670.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_66459_2185603.1404142289280--