Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4982F200C4C for ; Tue, 4 Apr 2017 08:28:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 47F7B160B90; Tue, 4 Apr 2017 06:28:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D96A160B81 for ; Tue, 4 Apr 2017 08:28:06 +0200 (CEST) Received: (qmail 85983 invoked by uid 500); 4 Apr 2017 06:28:05 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 85966 invoked by uid 99); 4 Apr 2017 06:28:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2017 06:28:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 49D69180661 for ; Tue, 4 Apr 2017 06:28:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.442 X-Spam-Level: ** X-Spam-Status: No, score=2.442 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 3wjQA3Bq76ZK for ; Tue, 4 Apr 2017 06:28:03 +0000 (UTC) Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D89C35F23A for ; Tue, 4 Apr 2017 06:28:02 +0000 (UTC) Received: by mail-pg0-f54.google.com with SMTP id 81so142931146pgh.2 for ; Mon, 03 Apr 2017 23:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=68af4l/G3r/3Y3CBu5+GTsv2AEOmlkMrQbcYlc23nY0=; b=LdPmSRHTBajHk+7ddzMBSaF4E1wz2aYbmUYZmIvu9EbJKxxOkehCwu5Ei8wZRK1aQZ upcv4xuuIv6QS1cmM7a0s/xT5T7RSpgwKo7+tnHd+TOKWM2iV8npHu2CbpMwr1wssqlz K11US3+wumESxL9KBReI5U0AwLR69r2+90IjCXN1gn7R44TN+DEo9aYMXhjedt5TmgZE sDzWxn6d8ATYf9SppXppkGR2kp9dpLXX85hY03/XGXYb4bpJmVmPF8YE+XKzmEbBToBV 9rU5VDjACQVp6W8TnwcPdLdb5PKFEYvsqzdEGhzHa+bxdZCQXN+XCSrpRqzzFh3ogNJx J/fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=68af4l/G3r/3Y3CBu5+GTsv2AEOmlkMrQbcYlc23nY0=; b=SHlRogF9aTgxtGgWDbX9sEibPImRDWHNV1LeEVpyevASsH7pkhUGC97nb7PJ9DJe8I gi1SkTzc9Xod45U7kY6r+RubsixeSod0g5o8bq3FUyTzJJeuMLlcFP91ASLecJSUk521 PjFg4DfJwTm0eXDYUFupKheBTGl8IYMs/oZ5zHyDP8bqKnyTXN5qMhW1kwAjpOU3AlfV pq/UTIPgX+iI57e/Sm3KLK1P0uTZEI5fc1iH3CtPRxCOTKqgsGvYNS7KWiN3M0fq8p3S RiuhkWBwu+erTFkb6bh48YoJsP3tUh4qdsKHyjFCmccjyo+/z2o+ybDOIPeFh9qZ6DXd ugcA== X-Gm-Message-State: AFeK/H1C+u4ehCOLsK4YP9eCQ+5HiPG9y1lJCxA169Spuv2yrjEwcz7hh3ydCjcqWAoM/A== X-Received: by 10.99.240.83 with SMTP id s19mr22053741pgj.45.1491287275895; Mon, 03 Apr 2017 23:27:55 -0700 (PDT) Received: from YasufuminoMacBook-Pro.local (ac228083.dynamic.ppp.asahi-net.or.jp. [183.77.228.83]) by smtp.gmail.com with ESMTPSA id z188sm1484300pgb.3.2017.04.03.23.27.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 23:27:55 -0700 (PDT) Subject: Re: Problem starting solr 6.5 To: solr-user@lucene.apache.org References: From: Yasufumi Mizoguchi Message-ID: Date: Tue, 4 Apr 2017 15:27:52 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 04 Apr 2017 06:28:07 -0000 Hi, I think you should check the permission of /usr/local/solr-6/solr-6.5.0/server/log (maybe, you do not have write permission on the directory) regards, Yasufumi On 2017/04/04 11:42, wlee wrote: > Try to start solr and get this error message. What is the problem ? > > > $ bin/solr start > > Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/solr-6/solr-6.5.0/server/logs > > at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) > > at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) > > at java.nio.file.Files.createDirectory(Files.java:674) > > at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) > > at java.nio.file.Files.createDirectories(Files.java:767) > > at org.apache.solr.util.SolrCLI$UtilsTool.archiveGcLogs(SolrCLI.java:3565) > > at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3548) > > at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250) > > Failed archiving old GC logs > > Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/solr-6/solr-6.5.0/server/logs > > at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) > > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) > > at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) > > at java.nio.file.Files.createDirectory(Files.java:674) > > at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) > > at java.nio.file.Files.createDirectories(Files.java:767) > > at org.apache.solr.util.SolrCLI$UtilsTool.archiveConsoleLogs(SolrCLI.java:3594) > > at org.apache.solr.util.SolrCLI$UtilsTool.runTool(SolrCLI.java:3551) > > at org.apache.solr.util.SolrCLI.main(SolrCLI.java:250) > > Failed archiving old console logs > > > ERROR: Logs directory /usr/local/solr-6/solr-6.5.0/server/logs could not be created. Exiting > > > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/Problem-starting-solr-6-5-tp4328227.html > Sent from the Solr - User mailing list archive at Nabble.com.