CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Installing And Upgrading
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-12-04
Member
 
Join Date: 2006-11-21
Posts: 42
Rep Power: 0
eldo37 has an average reputation (10+)
Default database revision control problem

Hi all,

I have a problem to create database revision control with SPLAT on NGX R61.
When I reboot the management server I can create the database revision control but a few days later the database revision control installation failed.
I have the following error message :

Reactor::deregister_object: failed to delete object 0x0x9d5e3e8 from hash.
IVersionDBManager::CreateVersion with err 0x80004005 ('Unspecified error')
CCreateVersionHandler::CreateVersionMain: Failed to CreateVersion
Reactor::deregister_object: failed to delete object 0x0x99a3050 from hash.

I have check the mv_doc file. I have made a cpstop and cpstart.
I have delete all the contents of $FWDIR\conf\db_versions directory.

But I can only create the database revision control only one time after reboot then I received the error message.

Any idea ?

Thanks,
eldo.

Last edited by eldo37; 2006-12-04 at 07:28.
Reply With Quote
  #2 (permalink)  
Old 2006-12-05
Senior Member
 
Join Date: 2006-07-10
Posts: 164
Rep Power: 3
Porter has an average reputation (10+)
Default Re: database revision control problem

how many revisions do you already have? we run into problems after we had lots of them, CP recommended to delete some of them, problem was gone afterwards
__________________
misery is optional
Reply With Quote
  #3 (permalink)  
Old 2006-12-05
Member
 
Join Date: 2006-11-21
Posts: 42
Rep Power: 0
eldo37 has an average reputation (10+)
Default Re: database revision control problem

Hi Porter,

I have 5 versions in $FWDIR\conf\db_versions\repository.

Before I had more versions but I rename db_versions with db_versions.ann


Thanks,
eldo
Reply With Quote
  #4 (permalink)  
Old 2006-12-05
Senior Member
 
Join Date: 2006-07-10
Posts: 164
Rep Power: 3
Porter has an average reputation (10+)
Default Re: database revision control problem

hm...we had about 200, looks like a different problem
__________________
misery is optional
Reply With Quote
  #5 (permalink)  
Old 2007-01-05
Junior Member
 
Join Date: 2007-01-04
Posts: 4
Rep Power: 0
sdrapeau has an average reputation (10+)
Default Re: database revision control problem

Hi eldo37,

Did you resolve your problem ?
Because I have the same with many installations

regards
Reply With Quote
  #6 (permalink)  
Old 2007-01-05
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: database revision control problem

Check out:
-------------------------------
Database Revision Control failed
Solution ID: #sk32010

Product: VPN-1 Pro (VPN-1/FW-1)
Version: NGX R61
Last Modified: 05-Dec-2006
Symptoms

* Error: "failed to create a version"
* fwm debug shows:
o CCreateVersionHandler::CreateVersion: Failed to IVersionDBManager::CreateVersion with err 0x80004005 ('Unspecified error')
o CCreateVersionHandler::CreateVersionMain: Failed to CreateVersion
------------------------------
It applies to SPLAT and Solaris, but it's a permissions issue so I'm not sure why it would work after a reboot. It may give you a hint, though.

Sometimes this error is caused by a missing InternalCA.C file in $FWDIR/conf or the $FWDIR\conf\mv_doc.C is zero bytes.

Ray
Reply With Quote
  #7 (permalink)  
Old 2007-01-10
Junior Member
 
Join Date: 2007-01-04
Posts: 4
Rep Power: 0
sdrapeau has an average reputation (10+)
Default Re: database revision control problem

All sk from CheckPoint was tested and verified with no success.
Reply With Quote
  #8 (permalink)  
Old 2007-01-17
Junior Member
 
Join Date: 2007-01-16
Posts: 3
Rep Power: 0
dalfaro has an average reputation (10+)
Default Re: database revision control problem

Hello.

I have the same problem and this was the solution:

- rename the db_versions folder
- close all GUI clients
- restart Smartcenter server (cprestart)
- login GUI Dashboard
- Create version

Enjoy

Regards from Chile.
Reply With Quote
  #9 (permalink)  
Old 2007-02-21
Member
 
Join Date: 2006-11-21
Posts: 42
Rep Power: 0
eldo37 has an average reputation (10+)
Default Re: database revision control problem

Hi Dalfaro,

Thank you for this solution.
it's work but if we reboot the gateway module we have the same problem.
" failed to create database revision control "

Any other idea ?

Thanks,
eldo

Last edited by eldo37; 2007-02-22 at 01:54.
Reply With Quote
  #10 (permalink)  
Old 2007-05-21
Senior Member
 
Join Date: 2006-01-25
Posts: 895
Rep Power: 3
melipla has an average reputation (10+)
Default Re: database revision control problem

Ran into this problem the other day and have some info that may be beneficial to someone. First off, a little about what I saw--I create a revision when there's a policy push. That was failing so I tried going to File -> DB rev control -> Create revision, which worked. Then I could install policy and have it create a revision. Later in the day I changed between policies a few times and then wasn't able to create a revision any more, not even through the file create version path.

A call into Support, we ran through the multiples of SKs [most of which I had already done with no improvement], then started on the SK that specifies to enable debugging and then to do a database revision creation:

fw debug fwm on TDERROR_ALL_ALL=5
<attempt revision creation>
now the output is at $FWDIR/log/fwm.log look for a section like this:

Quote:
[FWM 2625 2002595968]@hostname[18 May 19:03:48] Command is: create-mgmt-version
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
[FWM 2625 207600560]@hostname[18 May 19:03:48] do_links_getver: strncmp failed. Returning -2
CCreateVersionHandler::CreateVersion: Failed to IVersionDBManager::CreateVersion with err 0x80004005 ('Unspecified error')
CCreateVersionHandler::CreateVersionMain: Failed to CreateVersion
In my case, the "strncmp failed" relates to the firewall comparing data from the disk to data that is in memory. In order to correct this condition, the management server was rebooted and now I'm able to create new db versions. I had recently upgraded my management server to R65, it was up for less then a week when I started having this problem, I'm hopeful that it won't come back. The support person suggested that doing a cpstop/cpstart might correct the problem as well.

HTH

Last edited by melipla; 2007-05-22 at 08:30.
Reply With Quote
  #11 (permalink)  
Old 2007-06-13
Member
 
Join Date: 2006-05-05
Posts: 66
Rep Power: 3
lodown has an average reputation (10+)
Default Re: database revision control problem

I ran in to a similar issue with R60A that was caused by either a bad version of gtar or gzip. Checkpoint sent me a replacement and it resolved the issue

-lodown
Reply With Quote
  #12 (permalink)  
Old 2007-06-13
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 909
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: database revision control problem

It seems to be just flat broked on R61. After taking the SmartConsole clients to R61 HFA01, the same as the SmartCenter (although the HFAs are unrelated), it doesn't occur as often now. But I still have to cpstop/cpstart the SmartCenter every week or so because it suddenly stops working. After a cpstop/cpstart, it works for another week or so.

Ray
Reply With Quote
  #13 (permalink)  
Old 2007-06-14
Senior Member
 
Join Date: 2006-01-25
Posts: 895
Rep Power: 3
melipla has an average reputation (10+)
Default Re: database revision control problem

My problem did come back. I reopened my SR and I received an updated version of gtar from Check Point (1.15.90) which, so far, has resolved my issue. I should note that there's more then one gtar located on my R65 SPLAT system. The one they had me update for db versions was in /opt/CPshrd-R65/util/.
Reply With Quote
  #14 (permalink)  
Old 2007-07-09
Junior Member
 
Join Date: 2007-06-11
Posts: 2
Rep Power: 0
Seko07 has an average reputation (10+)
Default Re: database revision control problem

Hello,
I have been tested all solutions on this forum and all together on the web. I use NGX R62. But no has any return for this reason.
I research in continuously.
But, most solution is delete on /etc/fw/bin/conf db_version folder and than create new folder name is db_versions.
And then cprestart, this is a best solution.
So, no has any solution on the world.
If you are find any solutions on the Earth please contact with me on serkansaygun@gmail.com
Please.
Thnx.
Reply With Quote
  #15 (permalink)  
Old 2007-07-26
Junior Member
 
Join Date: 2007-02-13
Posts: 1
Rep Power: 0
vigie has an average reputation (10+)
Default Re: database revision control problem

I had this problem with a R65 SmartCenter.
I updated the gtar binary which is located in /opt/CPshrd-R65/util/ directory. This gtar binary was a 1.13.25 version, and I replaced it with a 1.15.1 one.
I found this gtar binary with rpmfind.net (and extract the rpm file).

And.. it works now !


Vincent G.
Reply With Quote
  #16 (permalink)  
Old 2008-01-24
Junior Member
 
Join Date: 2007-12-13
Posts: 3
Rep Power: 0
Papinko has an average reputation (10+)
Default Re: database revision control problem

Hai @ All,

just for information: We had the same problem with R65 on our SmartCenter after upgrade R55 => R65
We had already upgraded gtar but did it in /bin
Thanks Vincent for pointing out that gtar in /opt/CPshrd-R65/util/ has to be upgraded too!
BTW: We use gtar 1.18 and it works too.

Papinko
Reply With Quote
  #17 (permalink)  
Old 2008-01-24
Junior Member
 
Join Date: 2007-12-05
Posts: 1
Rep Power: 0
ksims has an average reputation (10+)
Default Re: database revision control problem

hello all,

I worked with support to use gtar in the /bin directory, they are aware this is an issue.

I renamed the $CPDIR/util/gtar file to a backup and created a link to the version of gtar located in /bin. Seems to be working just fine now.

thanks
Reply With Quote
  #18 (permalink)  
Old 2008-01-28
Junior Member
 
Join Date: 2008-01-17
Posts: 3
Rep Power: 0
wgrixti has an average reputation (10+)
Default Re: database revision control problem

I had the same issue. I had updated from NGX R60 to R65.

I created a symbolic link to the gtar file in /bin to replace the gtar file in $CPDIR/util.

Wayne
Reply With Quote
  #19 (permalink)  
Old 2008-01-29
Senior Member
 
Join Date: 2006-01-25
Posts: 895
Rep Power: 3
melipla has an average reputation (10+)
Default Re: database revision control problem

Beware of applying an HFA for R65 as it does not work with the non-default version of gtar. It is a "known issue"...
__________________
Its all in the documentation.
Reply With Quote
  #20 (permalink)  
Old 2008-02-03
Junior Member
 
Join Date: 2007-12-13
Posts: 3
Rep Power: 0
Papinko has an average reputation (10+)
Default Re: database revision control problem

Thank you for the hint, melipla. You should have posted that 2 days earlier ;-)
In the meantime we have restored our management station from backup, as we had changed first GTAR and then applied the HFA.

To go no risk, you should change to the original GTAR before appliing HFA (02 in our case) and switch to the new GTAR after the HFA is applied, right?

*wink* Papinko
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 12:48.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0