CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.


I'd like to thank everyone involved for making "The CPUG Challenge" a great success.
We helped a lot of people see and learn a bit more about R80.10, while having some fun.
We will be using this success to try and bring more events to more locations soon. -E

 

Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25

Thread: MDS failed to start after mds_backup in R77.30 with JHFA 205

  1. #21
    Join Date
    2006-09-26
    Posts
    2,994
    Rep Power
    13

    Default Re: MDS failed to start after mds_backup in R77.30 with JHFA 205

    Quote Originally Posted by varera View Post
    Okay, if the whole purpose of of the exercise was to say "it is a bug", I will not interfere. I have had an impression, erroneous as I see it now, that you wanted script to work.

    All the best
    On the contrary, I want the script to work as well but I also want to know the root cause, not just get it to work and then walk away without knowing why.

    I want to keep life as simple as possible. The script is so simple and it should work across different version of Checkpoint but it fails in R77.30 :-(

  2. #22
    Join Date
    2006-03-08
    Location
    Lausanne
    Posts
    965
    Rep Power
    12

    Default Re: MDS failed to start after mds_backup in R77.30 with JHFA 205

    In this case, please aline shell with mds_backup one and ditch your mdsstop/start parts. I bet it will work
    -------------

    Valeri Loukine
    CCMA, CCSM, CCSI
    http://checkpoint-master-architect.blogspot.com/

  3. #23
    Join Date
    2006-09-26
    Posts
    2,994
    Rep Power
    13

    Default Re: MDS failed to start after mds_backup in R77.30 with JHFA 205

    Quote Originally Posted by varera View Post
    In this case, please aline shell with mds_backup one and ditch your mdsstop/start parts. I bet it will work
    Where do you get the option in mds_backup to start the mds after completion of mds_backup?

    mds_backup -h
    Usage: mds_backup [-g -L {all|best} -b {-d <target dir name>} -v -l -s -i -h]

    -g - Do not ask to disconnect GUI clients.
    -L - Lock out R/W clients during backup.
    all - abort if cannot lock all databases;
    best - skip locking databases which cannot be locked;
    -b - Batch mode - do not ask anything. (Implies -g).
    -d - Specify a directory to which backup file is written.
    -v - Dry-run. List all the files that are going to be backed-up, without actually doing so.
    -l - Exclude all logs from the backup file.
    -s - Stop Multi-Domain Processes before starting the backup.
    -i - Include hit_count_rules_table.sqlite files, for all Domains.
    -h - Print this help.

    If the -d option is not specified, then backup directory is the current directory.

    Important:
    ---------
    1. When using either the -g or -b option, make sure that no GUI clients
    or SmartReporter servers are connected. Otherwise the backup might contain
    inconsistancies due to database changes made during the backup process.

    2. Active log files are not backed-up, regardless of the -l switch, to avoid write during read clashes.
    It is recommended to perform a logswitch prior to the backup procedure.
    Last edited by cciesec2006; 2017-04-21 at 10:31.

  4. #24
    Join Date
    2006-03-08
    Location
    Lausanne
    Posts
    965
    Rep Power
    12

    Default Re: MDS failed to start after mds_backup in R77.30 with JHFA 205

    when -s option is used, mds will be automatically started after backup. just try it
    -------------

    Valeri Loukine
    CCMA, CCSM, CCSI
    http://checkpoint-master-architect.blogspot.com/

  5. #25
    Join Date
    2006-09-26
    Posts
    2,994
    Rep Power
    13

    Default Re: MDS failed to start after mds_backup in R77.30 with JHFA 205

    Quote Originally Posted by varera View Post
    when -s option is used, mds will be automatically started after backup. just try it
    Thank you. I just learn a new thing today :-). it works when I run it manually.

    I modified the script to comment out the mdsstop and mdsstart and add this line in the script:

    #!/bin/bash
    source /opt/CPshrd-R77/tmp/.CPprofile.sh

    echo y | $MDSDIR/scripts/mds_backup -s -L all -b -d $BACKUPDIR/$FILENAME 2>> $LOG >> /dev/null

    Just ran it about 10 times so far, and it fails 2 out of 10 :-(. To make the matter worse, my mds_backup file size is 200k instead of 2GB :-(

    I revert the snapshot on the box to R77.30 with JHFA 216 and run my original script again, 100% success rate. Go figure
    Last edited by cciesec2006; 2017-04-21 at 11:00.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. R777.30 JHFA 205 failed installation
    By cciesec2006 in forum Miscellaneous
    Replies: 27
    Last Post: 2016-12-23, 07:29
  2. cpwmd and cphttpd failed to start
    By mirelaqssbh in forum Clustering (Security Gateway HA and ClusterXL)
    Replies: 0
    Last Post: 2011-07-01, 14:47
  3. SecureClient failed to start due to an internal error
    By RRunner316 in forum SecureClient/SecuRemote
    Replies: 14
    Last Post: 2008-12-09, 23:22
  4. mds_backup failed
    By cciesec2006 in forum Provider-1 (Multi-Domain Management)
    Replies: 8
    Last Post: 2008-02-22, 09:14
  5. fwm failed to start (coredump)
    By jdesroches in forum Security Management Server (Formerly SmartCenter Server ((Formerly Management Server))
    Replies: 0
    Last Post: 2008-01-25, 09:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •