db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Michail" <amich...@gmail.com>
Subject Re: can't access or create a db
Date Sat, 21 Jul 2007 21:51:04 GMT
On 7/21/07, Myrna van Lunteren <m.v.lunteren@gmail.com> wrote:
> On 7/21/07, Amir Michail <amichail@gmail.com> 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

Mime
View raw message