Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Location
    Arvada, Colorado
    Posts
    14

    Exclamation Unanswered: "Cannot Fork Server Connection" Restore

    Hi,
    Once a week my informix database copy that is restored from a copy of production locks up and won't restore. I can't shut it down, check status, etc. I have to restart the server and then I'm able to bring it back up to an oninit -s and restart the restore with ease.
    While looking through the bar_act.log, I see the following errors:

    onbar_d -l when performing a log backup-
    ---24796 24076 ERROR: Unable to start the logical log backup:
    Log backup to device '/dev/null' not allowed

    onbar_d -r -p -w when restoring rootdbs-
    ---26542 18438 ERROR: Unable to write restore data to the dat
    abase server: could not fork server connection.

    An Oninit -ivy shows the following error:
    Checking group membership to determine server run modesucceeded
    Reading configuration file '/usr/informix/etc/prod01'...succeeded
    Creating /INFORMIXTMP/.infxdirs ... succeeded
    Creating infos file "/usr/informix/etc/.infos.<DBname>" ... "/usr/informix/etc/.conf.<DBname>" ... succeeded
    Writing to infos file ... succeeded
    Checking config parameters...succeeded
    Allocating and attaching to shared memory...FAILED
    oninit: Fatal error in shared memory creation

    This happens one weekend night a week for the last two weeks. I've combed through server logs with no luck!
    Anyone who has any answers, let me know, I would greatly appreciate it!

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780
    Hi,

    Please first change in ONCONFIG file LTAPEDEV to /tmp/anyfile.
    Remember that onbar look two files; $INFORMIXDIR/etc/oncfg_SERVERNAME.SERVERNUM and $INFORMIXDIR/etc/ixbar.SERVERNUM.
    Set RETSTARTABLE_RESTORE = ON
    Similarly onbar run back-up of logical logs before run the restore.
    Remember to do backup of logical logs before run re
    Then test with "ipcs -m" if exist informix segments and kill with ipcrm -m "id".

    Gustavo.

  3. #3
    Join Date
    Mar 2004
    Location
    Arvada, Colorado
    Posts
    14

    Question Any other param?

    Thank you for the information and that's the direction I was looking at as well, but just didn't know where to begin.

    Do I need to apply the /tmp/anyfile value to the tapedev parameter as well? This is compatible with Informix 7?

    Thank you again for your help!
    Ktjarks

Posting Permissions

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