 |
SAP Mix
RE: FW: oninit: Fatal error in shared memory initialization
Posted By: Kokane Rajesh, IBM Date: Wednesday, 15 January 2003, at 7:53 a.m.
Thanks all,
Problem is solved, I restored the database again ... now database server is in online mode.... We have migrated so many times the system by restoring the file system and database. only thing you have to care ie to keep the data structure same on the secondary system.
Thanks
Rajesh Kokane
-----Original Message----- From: Simmons, Keith [mailto:keith.simmons@bbslimited.co.uk] Sent: Wednesday, January 15, 2003 3:20 PM To: 'ids@iiug.org' Subject: RE: FW: oninit: Fatal error in shared memory initialization
Martin
I disagree. We take out filestore backups using cpio (I have also done this using tar in the past) and provided the restore on the DRS (or should it be Business Continuity :-) ) machine is to the same path (fully defined and not soft linked) then there will not be a problem, from an installation point of view, with running the engine, there is no need to re-run the installation scripts.
Rajesh
This looks more like a problem with the archive/restore sequence, I suggest a Tech Support Call.
Keith
-> -----Original Message----- -> From: Martin Fuerderer [mailto:martinfu@de.ibm.com] -> Sent: Wednesday, January 15, 2003 8:31 AM -> To: Kokane Rajesh, IBM -> Cc: 'ids@iiug.org'; owner-ids@iiug.org; 'sapmix@iiug.org' -> Subject: Re: FW: oninit: Fatal error in shared memory initialization -> -> -> Hi, -> -> hmm. Nice try - except that things don't really work that way ... :) -> -> My guess is, that the problem of your procedure is "the file system -> backup" -> where you "attempt" to make a copy of the installation files -> (i.e. the -> product files) onto the other machine. -> The copy on the second machine (your "DRS System") may be a valid -> copy, but it's not a valid installation of the product. -> -> You need to properly install the new version on your "DRS Ssystem", -> for there's more to it than "just a couple of files in a few -> directories" -> ... -> This installation needs to include the running of the -> "installserver"-script -> (or whatever it's called in 7.3x) as user "root" ... -> -> Then you should take a proper backup from the production system -> (using ontape or maybe doing an external backup) and restore -> it on this -> newly installed "DRS System". -> -> From this point onwards you should be able to go with your normal -> daily procedure ... -> -> Regards, -> Martin -> -- -> Martin Fuerderer -> IBM Informix Development Munich -> Data Management Solutions -> -> -> -> -> -> "Kokane Rajesh, IBM" <Rajesh.Kokane@kwa2.siemens.co.in> -> Sent by: owner-ids@iiug.org -> 15.01.2003 07:56 -> -> -> To: "'sapmix@iiug.org'" <sapmix@iiug.org>, -> "'ids@iiug.org'" <ids@iiug.org> -> cc: -> Subject: FW: oninit: Fatal error in shared -> memory initialization -> -> -> -> -> -> > Some more input by oninit -vy command :- -> > -> > :informix> oninit -vy -> > Checking group membership to determine server run modesucceeded -> > Reading configuration file -> > '/informix/CD1/etc/onconfig.bramha.cd1'...succeeded -> > Creating /INFORMIXTMP/.infxdirs ... succeeded -> > Creating infos file "/informix/CD1/etc/.infos.bramhacd1shm" ... -> > "/informix/CD1/e -> > tc/.conf.bramhacd1shm" ... succeeded -> > Writing to infos file ... succeeded -> > Checking config parameters...succeeded -> > Allocating and attaching to shared memory...succeeded -> > Creating resident pool 101248 kbytes...succeeded -> > Creating buffer pool 799996 kbytes...succeeded -> > Creating buffer pool 12 kbytes...succeeded -> > Initializing rhead structure...succeeded -> > Initializing ASF ...succeeded -> > Initializing Dictionary Cache and Stored Procedure -> Cache...succeeded -> > Bringing up ADM VP...succeeded -> > Creating VP classes...succeeded -> > Onlining 2 additional cpu vps...succeeded -> > Onlining 2 IO vps...succeeded -> > Forking main_loop thread...succeeded -> > Initialzing DR structures...succeeded -> > Forking 1 'ipcshm' listener threads...succeeded -> > Forking 1 'soctcp' listener threads...succeeded -> > Forking 0 'soctcp' listener threads...succeeded -> > Starting tracing...succeeded -> > Initializing 10 flushers...succeeded -> > Initializing log/checkpoint information...FAILED -> > oninit: Fatal error in shared memory initialization -> > -> > -> > Regards -> > -----Original Message----- -> > From: Kokane Rajesh, IBM -> > Sent: Wednesday, January 15, 2003 12:08 PM -> > To: 'sapmix@iiug.org'; 'ids@iiug.org' -> > Subject: oninit: Fatal error in shared memory -> initialization -> > -> > Hi, -> > -> > We have Production system & DRS system ( OS : AIX 4.3). -> We take the -> > backup of prod system, clone it and send to drs site for -> restoration. -> > Both system have same hardware except physical memory, -> prod system have -> > 5.5 gb memory and drs have 2 gb memory. -> > -> > Last Sunday, we upgraded the Informix ver. 7.24 UC3(32bit) -> to 7.31FD2x1 -> > (64bit) successfully on prod system and then we took the database -> backup, -> > file system backup of /informix/CD1(contains config/bin files of -> > informix), /home/informix (home path of informix) and sent -> to drs site. -> > -> > We have restored the file system backup on drs system and -> then restored -> > the database, but when I try to bring the database into -> online mode it -> > gives error of shared memory. In the online log file it gives the -> > following error. I have checked the sqlhosts.soc, -> /etc/services file, -> > onconfig file setting on both system, all are identical. Since -> > upgradation , I have restored twice the prd system backup -> on drs system. -> -> > -> > When I restored the database on drs, it brings the drs -> system in fast -> > recovery check point reqd. mode. But same time in the -> online log file -> it -> > shown restoration completed. -> > -> > I killed all shared memory segment by IPCRM command, restarted the -> server -> > ,, but still giving the same problem. -> > -> > Error when I run the oninit command to bring the system online. -> > -> > oninit: Fatal error in shared memory initialization -> > -> > Error in online.log file -> > -> > Wed Jan 15 10:48:53 2003 -> > -> > 10:48:53 Event alarms enabled. ALARMPROG = -> '/informix/CD1/etc/no_log.sh' -> > 10:48:58 DR: DRAUTO is 0 (Off) -> > 10:48:58 AIX MP latch code enabled -> > 10:48:58 Informix Dynamic Server Version 7.31.FD2X1 -> Software Serial -> > Number ACN -> > #J349349 -> > 10:48:58 -> > 10:48:59 Logical Log File not found. -> > 10:48:59 Informix Dynamic Server Stopped. -> > 10:48:59 mt_shm_remove: WARNING: may not have removed all/correct -> > segments -> > -> > There is no problem on production system. -> > -> > My question : -> > 1. Do I need to initialize the database and restore the database ? -> > 2. Is it because of less physical memory on drs system ? -> > -> > -> > -> > Regards -> > -> > Rajesh Kokane -> -> ->
**************************************************************************** ****** This message is sent in strict confidence for the addressee only. It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. This footnote also confirms that this email message has been swept for the presence of computer viruses, however we cannot guarantee that this message is free from such problems. **************************************************************************** ******
SAP Mix is maintained by Administrator with WebBBS 5.12.
|
 |