Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message with empty string ( I/O error during "open O_CREAT" operation for file "" ) when engine can't save data for GTT due to invalid value of FIREBIRD_TMP or when it points to inaccessible directory [CORE5052] #5339

Open
firebird-automations opened this issue Dec 22, 2015 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pavel-zotov

Name of directory which should store data of GTT is not shown when FIREBIRD_TMP variable is undefined or points to invalid/inaccessible folder.
Instead of this something quite useless issues:

/opt/fb25sc/bin/isql /3255:/var/db/fb25/empty.fdb

recreate global temporary table gtt(x int); --this passed OK
insert into gtt values(1); -- this FAILS
Statement failed, SQLSTATE = 08001
I/O error during "open O_CREAT" operation for file ""
-Error while trying to create file
-No such file or directory

After this one need to open script that launched FB ( /etc/init.d/... ) and ensure that variable FIREBIRD_TMP:
1) is defined
2) points to valid directory which does exist and is avail for FB
3) is exported to daemon process.

But starting script can become suddenly "obsolete" when FB 2.5.x is reassembled and begin to work in another arch (e.g. Classic instead of old SC; thus script that should be checked is /etc/xinetd rather than /etc/fb25sc).

So, it would be nice to fix this inconvenice.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

issuetype: Bug [ 1 ] => Improvement [ 4 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Version: 3.0 RC1 [ 10584 ]

Version: 3.0 Beta 2 [ 10586 ]

Version: 2.5.4 [ 10585 ]

Version: 2.5.3 Update 1 [ 10650 ]

Version: 2.1.7 [ 10651 ]

Version: 3.0 Beta 1 [ 10332 ]

Version: 2.5.3 [ 10461 ]

Version: 3.0 Alpha 2 [ 10560 ]

Version: 3.0 Alpha 1 [ 10331 ]

Version: 2.5.2 Update 1 [ 10521 ]

Version: 2.5.2 [ 10450 ]

Version: 2.5.1 [ 10333 ]

Version: 2.5.0 [ 10221 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment