firebird2.5 - Firebird Error while trying to create file, Permission denied -


i'm trying create firebird database in home directory through flamerobin get

*** ibpp::sqlexception *** context: database::create message: isc_dsql_execute_immediate failed  sql message : -902 unsuccessful execution caused system error precludes successful execution of subsequent statements  engine code    : 335544344 engine message : i/o error during "open o_creat" operation file "/home/user/test.fdb" error while trying create file permission denied 

even though file chmod 777, file /etc/firebird/2.5/firebird.conf has been modified that:

databaseaccess = full 

is set allow access files. service running:

$ ps ax | grep fireb  3909 ?        s      0:00 /usr/sbin/fbguard -daemon -forever -pidfile /var/run/firebird/2.5/fbserver.pid 

even though strangely netstat doesn't find connection port:

netstat | grep 3050 

and returns empty list.

if connect existing database works, instance connecting

/var/lib/firebird/2.5/system/help.fdb 

correctly shows tables.

i see 2 possible causes:

  1. you mention file chmod 777, implies file exists, creating new database fail.

  2. you trying create (or connect) file in user folder (i assume yours), through firebird server (although fact no server running might indicate isn't case).

i assume firebird server isn't running under account (but under firebird user), , therefore isn't allowed access files in folder.

you need create (or access) database in location firebird user has sufficient access rights, or use local (embedded) connection (although not sure if supported flamerobin.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -