If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > "Cannot Fork Server Connection" Restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-04, 12:10
kjtjarks kjtjarks is offline
Registered User
 
Join Date: Mar 2004
Location: Arvada, Colorado
Posts: 14
Exclamation "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!
Reply With Quote
  #2 (permalink)  
Old 06-11-04, 07:55
gurey gurey is offline
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old 06-11-04, 11:34
kjtjarks kjtjarks is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On