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:
you mention file chmod 777, implies file exists, creating new database fail.
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
Post a Comment