Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DED98C8D4 for ; Wed, 11 Jul 2012 19:10:24 +0000 (UTC) Received: (qmail 98644 invoked by uid 500); 11 Jul 2012 19:10:21 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 98572 invoked by uid 500); 11 Jul 2012 19:10:21 -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 98564 invoked by uid 99); 11 Jul 2012 19:10:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 19:10:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fschiettecatte@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 19:10:13 +0000 Received: by qcsc21 with SMTP id c21so1194903qcs.35 for ; Wed, 11 Jul 2012 12:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=t1v4GFf4CkAcUOhZPeCPDM8k2glVvdRt1EtA0SwoAgU=; b=FdROtw9qIpr+DDvV+Hum6KIfKgnz46QaYZFZFIk+qoAfNte3307gsuG6Ek/clw1rM2 ga4if48r9Gi9917HH+CP0Z23wZT3PXRGVhNRf9DYzB9Y/f87/Uz2gskfPav1C7MBVLLY Oe+t1oAX92/1ecOISXtMlgPRkl2/epvOBFAyFr8swHbM+tL/UA6JT/YTyF94Uh9fguqF MvQDbOZvjTf+dLCHHUQ8rlKYfnPoxMSAqBANuQF4k3XeaYIVP7b3w6AITB5pHDs6KZpM pguyzpa7jYlNnf0z65eNk68UBvQAJX/F8dIAjE8JbCZE8Lc5/FN90v8lGsacJakV3AJL ZUzA== Received: by 10.224.176.70 with SMTP id bd6mr89445480qab.27.1342033792532; Wed, 11 Jul 2012 12:09:52 -0700 (PDT) Received: from macpro.local (c-98-229-218-157.hsd1.ma.comcast.net. [98.229.218.157]) by mx.google.com with ESMTPS id p12sm4150845qae.0.2012.07.11.12.09.50 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jul 2012 12:09:51 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Can't find solr.xml From: =?iso-8859-1?Q?Fran=E7ois_Schiettecatte?= In-Reply-To: <4FFDCB52.6070206@elyograg.org> Date: Wed, 11 Jul 2012 15:09:49 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <607D1E74-2323-4FC1-A209-63799ED05DC3@gmail.com> References: <05f701cd56ee$18e5c910$4ab15b30$@gmail.com> <0a1901cd579f$d95538f0$8bffaad0$@gmail.com> <4FFDCB52.6070206@elyograg.org> To: solr-user@lucene.apache.org X-Mailer: Apple Mail (2.1278) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 11, 2012, at 2:52 PM, Shawn Heisey wrote: > On 7/2/2012 2:33 AM, Nabeel Sulieman wrote: >> Argh! (and hooray!) >>=20 >> I started from scratch again, following the wiki instructions. I did = only >> one thing differently; put my data directory in /opt instead of = /home/dev. >> And now it works! >>=20 >> I'm glad it's working now. I just wish I knew exactly what the = difference >> is. The directory in /opt has exactly the same permissions as the one = in >> /home/dev (chown -R tomcat solr). >=20 > This could be selinux. I tend to disable it, as configuring it for = proper operation with custom software can be tricky. If this is the = problem, there will hopefully be a record of the denial in one of the = files in /var/log. CentOS has selinux enabled by default. >=20 > In case you don't know how to turn it off: in /etc/selinux/config, set = SELINUX=3Ddisabled and reboot. There may be a way to disable it without = rebooting, but I've found that to be the path of least resistance. >=20 > Thanks, > Shawn >=20 You can temporarily disable selinux until the next reboot with this: echo 0 > /selinux/enforce Cheers Fran=E7ois