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 > onbar -r -w -p erroring out

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-03, 16:51
kdsouza77 kdsouza77 is offline
Registered User
 
Join Date: Mar 2003
Location: Bangalore
Posts: 10
Lightbulb onbar -r -w -p erroring out

Hi,

I'm executing onbar -r -w -p, I recieve the following messages in my bar_activity log.

ERROR: Unable to write restore data to the database server: could not fork server connection.

and also,

ERROR: Unable to write restore data to the database server: not enough memory.

Please if anyone has seen this type of error or has some knowledge on this, do help.

Thanks,
Kiran.
__________________
Reply With Quote
  #2 (permalink)  
Old 03-13-03, 04:18
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
The IFMX databaseserver could not initialize the
shared memory, so the onbar process is unable
to talk to the databaseserver (could not fork server connection).

So you need to ensure that the IFMX databaseserver is
able to initialize the shared-memory.
Make sure that your sqlhosts entries are correct and
that you have appropriate entries in /etc/services.
Also make sure that no shared-memory-segments,
message queues or semaphores are still allocated from
this informix instance (ipcs -mopb | grep informix).

You want to do an 'onbar -r -w -p', so I guess that you are
not interested in any data that might still exist.
Before doing the restore try to initialize your databaseserver
with "oninit -ivy". In order to do that you might need to
customize your onconfig-file (i.e. physdbs -> rootdbs,
reduze physsize and logsize/logfiles so that they fit in
the initial rootdbs space).
I guess that "oninit -ivy" will fail. So check your 'online.log'
for any messages and fix the problems.
If you are able to initialize the databaseserver, re-change your
onconfig-parameters and try the restore again. This time it
shoudl work.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
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