Re: [firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-09-02 Thread Karen Denise karen_den...@ymail.com [firebird-support]
Thank you all for trying to help me with this. I think for now I shall work 
with the LibreOffice embedded version of Firebird, which will be more in line 
with my current level of knowledge. 

On Friday, August 24, 2018 1:19 AM, "'Paul Beach' 
pbe...@mail.ibphoenix..com [firebird-support]" 
 wrote:
 

     
> < command followed by the path and filename, hitting Enter and then typing in 
> my username and password (the only user is sysdba and I did change the 
> password) I get the following error message:
> Statement failed, SQLSTATE = 08006
> Can not access lock files directory /tmp/firebird/>>
> 
> [...]

It all depends on the path you provide in CREATE DATABASE. If it is just 
a local filesystem path, e.g. CREATE DATABASE "/somefolder/dbname.fdb", 
then the FB instance handling your request is running with your current 
user account (somewhat like embedded FB).
So, try what the rest of the error message suggests and do:
CREATE DATABASE "localhost:/somefolder/dbname.fdb" USER "SYSDBA" 
PASSWORD "yourpassword";
This way you access the FB server via the network stack and the request 
gets handled by the FB inet server, running with "firebird" account 
priviledges.

What I said, but better. Make sure somefolder has the privileges to allow
another user (firebird) to write to it and access it.

Regards
Paul

  #yiv4343790841 #yiv4343790841 -- #yiv4343790841ygrp-mkp {border:1px solid 
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4343790841 
#yiv4343790841ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4343790841 
#yiv4343790841ygrp-mkp #yiv4343790841hd 
{color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 
0;}#yiv4343790841 #yiv4343790841ygrp-mkp #yiv4343790841ads 
{margin-bottom:10px;}#yiv4343790841 #yiv4343790841ygrp-mkp .yiv4343790841ad 
{padding:0 0;}#yiv4343790841 #yiv4343790841ygrp-mkp .yiv4343790841ad p 
{margin:0;}#yiv4343790841 #yiv4343790841ygrp-mkp .yiv4343790841ad a 
{color:#ff;text-decoration:none;}#yiv4343790841 #yiv4343790841ygrp-sponsor 
#yiv4343790841ygrp-lc {font-family:Arial;}#yiv4343790841 
#yiv4343790841ygrp-sponsor #yiv4343790841ygrp-lc #yiv4343790841hd {margin:10px 
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4343790841 
#yiv4343790841ygrp-sponsor #yiv4343790841ygrp-lc .yiv4343790841ad 
{margin-bottom:10px;padding:0 0;}#yiv4343790841 #yiv4343790841actions 
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4343790841 
#yiv4343790841activity 
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4343790841
 #yiv4343790841activity span {font-weight:700;}#yiv4343790841 
#yiv4343790841activity span:first-child 
{text-transform:uppercase;}#yiv4343790841 #yiv4343790841activity span a 
{color:#5085b6;text-decoration:none;}#yiv4343790841 #yiv4343790841activity span 
span {color:#ff7900;}#yiv4343790841 #yiv4343790841activity span 
.yiv4343790841underline {text-decoration:underline;}#yiv4343790841 
.yiv4343790841attach 
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 
0;width:400px;}#yiv4343790841 .yiv4343790841attach div a 
{text-decoration:none;}#yiv4343790841 .yiv4343790841attach img 
{border:none;padding-right:5px;}#yiv4343790841 .yiv4343790841attach label 
{display:block;margin-bottom:5px;}#yiv4343790841 .yiv4343790841attach label a 
{text-decoration:none;}#yiv4343790841 blockquote {margin:0 0 0 
4px;}#yiv4343790841 .yiv4343790841bold 
{font-family:Arial;font-size:13px;font-weight:700;}#yiv4343790841 
.yiv4343790841bold a {text-decoration:none;}#yiv4343790841 dd.yiv4343790841last 
p a {font-family:Verdana;font-weight:700;}#yiv4343790841 dd.yiv4343790841last p 
span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4343790841 
dd.yiv4343790841last p span.yiv4343790841yshortcuts 
{margin-right:0;}#yiv4343790841 div.yiv4343790841attach-table div div a 
{text-decoration:none;}#yiv4343790841 div.yiv4343790841attach-table 
{width:400px;}#yiv4343790841 div.yiv4343790841file-title a, #yiv4343790841 
div.yiv4343790841file-title a:active, #yiv4343790841 
div.yiv4343790841file-title a:hover, #yiv4343790841 div.yiv4343790841file-title 
a:visited {text-decoration:none;}#yiv4343790841 div.yiv4343790841photo-title a, 
#yiv4343790841 div.yiv4343790841photo-title a:active, #yiv4343790841 
div.yiv4343790841photo-title a:hover, #yiv4343790841 
div.yiv4343790841photo-title a:visited {text-decoration:none;}#yiv4343790841 
div#yiv4343790841ygrp-mlmsg #yiv4343790841ygrp-msg p a 
span.yiv4343790841yshortcuts 
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4343790841 
.yiv4343790841green {color:#628c2a;}#yiv4343790841 .yiv4343790841MsoNormal 
{margin:0 0 0 0;}#yiv4343790841 o {font-size:0;}#yiv4343790841 
#yiv4343790841photos div {float:left;width:72px;}#yiv4343790841 
#yiv4343790841photos div div {border:1px solid 
#66;min-height:62px;overflow:hidden;width:62px;}#yiv4343790841 
#yiv4343790841photos div label 

RE: [firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-08-24 Thread 'Paul Beach' pbe...@mail.ibphoenix.com [firebird-support]

> < command followed by the path and filename, hitting Enter and then typing in 
> my username and password (the only user is sysdba and I did change the 
> password) I get the following error message:
> Statement failed, SQLSTATE = 08006
> Can not access lock files directory /tmp/firebird/>>
> 
> [...]

It all depends on the path you provide in CREATE DATABASE. If it is just 
a local filesystem path, e.g. CREATE DATABASE "/somefolder/dbname.fdb", 
then the FB instance handling your request is running with your current 
user account (somewhat like embedded FB).
So, try what the rest of the error message suggests and do:
CREATE DATABASE "localhost:/somefolder/dbname.fdb" USER "SYSDBA" 
PASSWORD "yourpassword";
This way you access the FB server via the network stack and the request 
gets handled by the FB inet server, running with "firebird" account 
priviledges.

What I said, but better. Make sure somefolder has the privileges to allow
another user (firebird) to write to it and access it.

Regards
Paul



Re: [firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-08-23 Thread Tomasz Tyrakowski t.tyrakow...@sol-system.pl [firebird-support]
> So, try what the rest of the error message suggests and do:

Sorry, didn't read carefully enough. What I took as a part of the error 
message was actually what Paul Beach was suggesting as a fix (so I 
hereby give due credit to him). So I just gave you an example of what 
Paul described.

Tomasz

-- 
__--==--__
__--== Tomasz Tyrakowski==--__
__--==SOL-SYSTEM==--__
__--== http://www.sol-system.pl ==--__
__--==--__


Re: [firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-08-23 Thread Tomasz Tyrakowski t.tyrakow...@sol-system.pl [firebird-support]
On 23.08.2018 at 17:53, 'Paul Beach' pbe...@mail.ibphoenix.com 
[firebird-support] wrote:
> 
> < command followed by the path and filename, hitting Enter and then typing in 
> my username and password (the only user is sysdba and I did change the 
> password) I get the following error message:
> Statement failed, SQLSTATE = 08006
> Can not access lock files directory /tmp/firebird/>>
> 
> [...]

It all depends on the path you provide in CREATE DATABASE. If it is just 
a local filesystem path, e.g. CREATE DATABASE "/somefolder/dbname.fdb", 
then the FB instance handling your request is running with your current 
user account (somewhat like embedded FB).
So, try what the rest of the error message suggests and do:
CREATE DATABASE "localhost:/somefolder/dbname.fdb" USER "SYSDBA" 
PASSWORD "yourpassword";
This way you access the FB server via the network stack and the request 
gets handled by the FB inet server, running with "firebird" account 
priviledges.

good luck
Tomasz

-- 
__--==--__
__--== Tomasz Tyrakowski==--__
__--==SOL-SYSTEM==--__
__--== http://www.sol-system.pl ==--__
__--==--__


RE: [firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-08-23 Thread 'Paul Beach' pbe...@mail.ibphoenix.com [firebird-support]

<>

You can add your user to the firebird group (without using an 
ip address or local host you are effectively using firebird in local mode).
Addin your user to the firebird group means that you can access the tmp files
created when firebird starts up.

Or you can rm /tmp/firebird and then access firebird locally via your user
all the time. The new tmp files will be owned by you. Access remotely will be
a problem though.

Or use an ip address or localhost to create the database.

Paul



[firebird-support] Cannot create new database: "Can not access lock files directory /tmp/firebird/"

2018-08-23 Thread karen_den...@ymail.com [firebird-support]
I'm trying to create a new database, but after typing the "create database" 
command followed by the path and filename, hitting Enter and then typing in my 
username and password (the only user is sysdba and I did change the password) I 
get the following error message:
 

 Statement failed, SQLSTATE = 08006
 
 Can not access lock files directory /tmp/firebird/
 

 What should I do?