Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 78534 invoked from network); 21 Jul 2007 22:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2007 22:15:14 -0000 Received: (qmail 78287 invoked by uid 500); 21 Jul 2007 22:15:15 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 78261 invoked by uid 500); 21 Jul 2007 22:15:15 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 78250 invoked by uid 99); 21 Jul 2007 22:15:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2007 15:15:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of amichail@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2007 15:15:12 -0700 Received: by an-out-0708.google.com with SMTP id c8so262128ana for ; Sat, 21 Jul 2007 15:14:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ESmY+4spUe4sv3fFv0nPszjD9/vU+AyzY/ues5yxkwFrYhCdxQcDTaFbxjq9CTPsjZo6PNxWFBbeewKAH38rKqLfGrQUT3FOznwJ1U2ZBRc1mayjG97MehUOzgYWU0Co9yvKkdh5UKB/evpjlNv0bNk9tsO91zf/CuxEWGDkECI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FgWO1kJl037beo5aOXmttfM/mlfZDKQkmevuuiEhMi9z/MXpV+HlvGTnLfjHvn1N2uXaIxuWeZhwevY5hf/i0XLNyI6QQpnQ0frVMR0SeB7Pdq8ICPkapLPtzgoqzD7peZTgdGjREh3zFoUyO+LUndDFduWSSfupruWUp1BXVzc= Received: by 10.100.10.20 with SMTP id 20mr916717anj.1185056091817; Sat, 21 Jul 2007 15:14:51 -0700 (PDT) Received: by 10.100.14.1 with HTTP; Sat, 21 Jul 2007 15:14:51 -0700 (PDT) Message-ID: Date: Sat, 21 Jul 2007 18:14:51 -0400 From: "Amir Michail" To: "Derby Discussion" Subject: Re: can't access or create a db In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, Problem solved. Please ignore. Amir On 7/21/07, Amir Michail wrote: > On 7/21/07, Myrna van Lunteren wrote: > > On 7/21/07, Amir Michail wrote: > > > Hi, > > > > > > Not sure what happened, but now I can't access or create a db on my server: > > > > > > ERROR XJ041: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: > > > Failed to create database 'testDB', see the next exception for > > > details.::SQLSTATE: XBM0HDirectory /home/.../testDB cannot be created. > > > > > > If I copy the db to my laptop, then it works. > > > > > > Any ideas on how I could track down this problem? > > > > > > Amir > > > > > You probably already thought of it, but the only thing I can think of > > off hand is write permissions on the server. Maybe the umask for the > > server process' user has been changed? Or the write permission for / > > ? Or maybe the server has been started from a different directory from > > before (if /home/../testDB would not be where your database used to > > be)? > > > > HTH > > Myrna > > > The process accessing the db is tomcat55. How does umask apply in this case? > > This used to work fine. I have no idea what happened to mess up the > permissions. > > Amir >