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

fb_lock_print.exe fails on windows 2003 R2 / XP SP 2 [CORE1031] #1448

Closed
firebird-automations opened this issue Nov 30, 2006 · 12 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: m_Th (m_th)

Is related to CORE1133

fb_lock_print.exe fails on windows 2003 R2 with the following message:

Unable to access lock table.
C:\...<path>...\SERVER-A.lck
operating system directive CreateFile failed
-The requested operation cannot be performed on a file with a user-mapped
section open.

and also fails on Windows XP Pro SP 2 (with the latest updates applied) with the message:

Unable to read lock table version 0.

hth.

Commits: c0989bc

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Try set IpcName = Global\FIREBIRD in firebird.conf

@firebird-automations
Copy link
Collaborator Author

Commented by: m_Th (m_th)

I did.
Restarted the server.
Same result.
Perhaps is good to know:
If I log on in the Windows 2003 with remote connection then I receive the above error. If I run the fb_lock_print from the console of Win2003 then I receive the same error: "Unable to read lock table version 0."

hth.

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Are there connections at Firebird when you run fb_lock_print ?

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Vlad Horsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: m_Th (m_th)

1.) Win XP - no connections: Unable to read lock table version 0. (A very cryptic error message IMHO - and also misleading)
2.) Win XP - connected clients: Ok. (the expected report is printed on screen)
3.) Win 2003 R2 - console: the same behaviour as 1.) and 2.)
4.) Win 2003 R2 - Using 'Remote desktop connection' which is shipped with Win XP:
Unable to access lock table.
C:\...<path>...\SERVER-A.lck
operating system directive CreateFile failed
-The requested operation cannot be performed on a file with a user-mapped
section open.

(As I noted above the firebird.conf has IpcName=Global\FIREBIRD and the server was restarted)

5.) Win 2003 R2 - Using another Remote desktop program (Goverlan 5.5) - same as 3.)

Summarizing:
a.) Provide a way for fb_lock_print to work with 'Remote desktop connection' which is the standard remote access feature for the Windows servers.
b.) If you can, please change those error messages in order to show (or a least indicate) the real cause of the error. (Someting like: "Unable to read lock table version 0. Perhaps there are no connections?")

hth.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is related to CORE1133 [ CORE1133 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1 [ 10041 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Fix Version: 2.1 Alpha 1 [ 10150 ]

Fix Version: 2.1.0 [ 10041 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11364 ] => Firebird [ 14952 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

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

No branches or pull requests

2 participants