gbak intermittantly reports "Fatal lock manager error: invalid lock id 
(10963360), errno: 22" in firebird.log and the backup fails
----------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-4022
                 URL: http://tracker.firebirdsql.org/browse/CORE-4022
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine, GBAK
    Affects Versions: 2.1.5
         Environment: CentOS 5.8 x86_64
Firebird Classic Server 2.1.5 from EPEL
            Reporter: Fox


The bug occurs intermittently when run a backup script (gbak on cron) every day 
at night.


The script of backup contains the following:
cd /var/lib/firebird/data
rm -f res_MAINDBI.log
gbak -g -b -z -v -user "sysdba" -pas "masterkey" -y res_MAINDBI.log MAINDB1.FDB 
MAINDBI.FBK


The error does not occur every night, just some, when it occurs, the backup 
fails, 
the back-end of the log does not say the words "gbak:closing file, committing, 
and finishing. 2665691648 bytes written" so that the backup is not successful.


When this bug occurs in "firebird.log" file shows the following:
srvcentos.local  Wed Dec 19 01:00:08 2012
        ISC_kill: process 25266 couldn't deliver signal 16 to process 10141: 
permission denied

srvcentos.local  Wed Dec 19 01:00:08 2012
        Fatal lock manager error: invalid lock id (10963360), errno: 22


Notes:
OS: Centos 5.8 x86_64 updated to date.
Firebird Classic Server: This is the version 2.1.5 of the EPEL repository.

Installed Packages from EPEL 
(http://dl.fedoraproject.org/pub/epel/5/x86_64/repoview/firebird-classic.html):
firebird.x86_64                 [2.1.5.18496.0-2.el5]
firebird-classic.x86_64         [2.1.5.18496.0-2.el5]
firebird-filesystem.x86_64      [2.1.5.18496.0-2.el5]
firebird-libfbclient.x86_64     [2.1.5.18496.0-2.el5]
firebird-libfbembed.x86_64      [2.1.5.18496.0-2.el5]



Runing fb_inet_server proccess as user "firebird" and the script as user "root" 
using cron:

Process A
USER: firebird
COMMAND: fb_inet_server

Process B
USER: firebird
COMMAND: fb_lock_mgr

Process C
USER: root
COMMAND: cron (script of backup)


The bug only occurs every few weeks, but when it happens, the backup fails.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to