Subject Re: lock denied...
Author
Yes, minimum requirement to let your program talk to SS is to avoid embedded connections, and one of the ways to do it is to add hostname/ip-address before database name.

Is there /tmp/firebird/fb_lock_table.dump on your box? If yes please upload it here - it can give an idea what's wrong with SC in your case.