We have an informix engine 7.3 and Unix 11.0. We tried to reboot..bad news.
She won't come up. She toggles stuck in the INFORMIX start up script
(WAIT/BUSY).
We have been told in the past...to use ipcrm on the informix shared memory
segments that were
locked and then the engine would come up.
We don't know how to use IPCRM. Does this sound like the correct procedure?
We took the engine
down correctly, turned off continuous logging and then turned offline
gracefully.
Please help us...
Laurie Krumrey
816-584-6393
lau...@mail.park.edu
www.park.edu
As You see there are few columns. Column shmid shows You shared memory
segment id, which is unical. If You want to remowe ( destroy) that
segment You must just as root ( or owner of the segment ) use ipcrm
[option] shmid. Which opiton You must use You may read in man ipcrm.
But be careful: when You remowe segment which is used by some
programs, and You don't stop this programs before, anything may hapen:
maybe your machine will explode?
Maybe You will be poisoned?
Maybe there will be the end of known world?
Let the power be with You!!!
Regards
KK
Shared Memory:
T ID KEY MODE OWNER GROUP
m 1024 0x527b4801 -Lrw-rw---- root informix
m 1025 0x527b4802 --rw-rw---- root informix
m 1026 0x527b4803 --rw-rw-rw- root informix
Semaphores:
T ID KEY MODE OWNER GROUP
s 0 0x696e6974 --ra-r--r-- root system
s 1 0x412204e6 --ra------- root system
s 514 0 --ra-ra---- root informix
s 515 0 --ra-ra-ra- root informix
-------------------------------
If Informix is not running, there should not be any mention of Informix.
I would try onmode -yuck before doing this to double check, as killing
memory segments can be dangerous if engine is running.
Then to kill a Shared Memeory segment -
ipcrm -m 1026
To kill a semaphore -
ipcrm -s 514
Colin Bull
c.b...@VideoNetworks.com Watch over 1300 films AND Premier League football
when ever you want
> -----Original Message-----
> From: owner-inf...@iiug.org
> [mailto:owner-inf...@iiug.org]On Behalf Of Krumrey, Laurie
> Sent: 18 April 2002 00:28
> To: inform...@iiug.org
> Subject: IPCRM ? Shared Memory Segments Locked
>
>
> Hi All,
>
> We have an informix engine 7.3 and Unix 11.0. We tried to
> reboot..bad news.
>
> She won't come up. She toggles stuck in the INFORMIX start up script
> (WAIT/BUSY).
>
> We have been told in the past...to use ipcrm on the informix shared memory
> segments that were
> locked and then the engine would come up.
>
but the status just changed to
m 1026 0x527b4803 D-rw-rw-rw- root informix (notice the capital D)
and the memory wasn't released. This was on AIX 4.3.3
Keith Simmons
Banner Business Supplies Limited
Informix Certified Professional
-> -----Original Message-----
-> From: Dirk Moolman [mailto:Di...@mxgroup.co.za]
-> Sent: Thursday, April 18, 2002 11:47 AM
-> To: 'Colin Bull'; iiug
-> Subject: RE: IPCRM ? Shared Memory Segments Locked
->
->
-> I tried releasing memory this morning, by using "ipcrm -m
-> 1026" (example)
->
-> but the status just changed to
-> m 1026 0x527b4803 D-rw-rw-rw- root informix (notice
-> the capital D)
->
-> and the memory wasn't released. This was on AIX 4.3.3
->
->
-> -----Original Message-----
-> From: Colin Bull [mailto:c.b...@videonetworks.com]
-> Sent: 18 April 2002 09:00
-> To: iiug
-> Subject: RE: IPCRM ? Shared Memory Segments Locked
->
->
-> Depending on your flavour of Unix --
-> ipcs shows---------------
-> dev-ds2-1# ipcs
-> Message Queues:
-> T ID KEY MODE OWNER GROUP
-> q 0 0x412204e6 --rw------- root system
->
-> Shared Memory:
-> T ID KEY MODE OWNER GROUP
-> m 1024 0x527b4801 -Lrw-rw---- root informix
-> m 1025 0x527b4802 --rw-rw---- root informix
-> m 1026 0x527b4803 --rw-rw-rw- root informix
->
-> Semaphores:
-> T ID KEY MODE OWNER GROUP
-> s 0 0x696e6974 --ra-r--r-- root system
-> s 1 0x412204e6 --ra------- root system
-> s 514 0 --ra-ra---- root informix
-> s 515 0 --ra-ra-ra- root informix
-> -------------------------------
-> If Informix is not running, there should not be any mention
-> of Informix. I
-> would try onmode -yuck before doing this to double check,
-> as killing memory
-> segments can be dangerous if engine is running.
->
-> Then to kill a Shared Memeory segment -
-> ipcrm -m 1026
->
-> To kill a semaphore -
-> ipcrm -s 514
->
->
-> Colin Bull
-> c.b...@VideoNetworks.com Watch over 1300 films AND Premier
-> League football
-> when ever you want
->
-> > -----Original Message-----
-> > From: owner-inf...@iiug.org
-> > [mailto:owner-inf...@iiug.org]On Behalf Of Krumrey, Laurie
-> > Sent: 18 April 2002 00:28
-> > To: inform...@iiug.org
-> > Subject: IPCRM ? Shared Memory Segments Locked
-> >
-> >
-> > Hi All,
-> >
-> > We have an informix engine 7.3 and Unix 11.0. We tried to
-> reboot..bad
-> > news.
-> >
-> > She won't come up. She toggles stuck in the INFORMIX
-> start up script
-> > (WAIT/BUSY).
-> >
-> > We have been told in the past...to use ipcrm on the
-> informix shared
-> > memory segments that were locked and then the engine would come up.
-> >
-> > We don't know how to use IPCRM. Does this sound like the correct
-> > procedure? We took the engine
-> > down correctly, turned off continuous logging and then
-> turned offline
-> > gracefully.
-> >
-> > Please help us...
-> >
-> > Laurie Krumrey
-> > 816-584-6393
-> > lau...@mail.park.edu
-> > www.park.edu
-> >
->
**********************************************************************************
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.
**********************************************************************************
Rajib
Dirk Moolman <Di...@mxgroup.co.za> wrote in message news:<a9mkan$a3b$1...@news.xmission.com>...
I don't understand what You are doing, but if You have to kill Your
oninit You doing something wrong. if You want not to start informix
during machine startup, just remove proper file from Yur starting
script directory /etc/rcN.d where N usually = 3.
If You can't stop informix during it is working, it is normal
especially if You have distributed transactions. It may just take a
while...
If You doing experiments with Your dataserver, just keep going on...it
is OK!
I setup and patch and tune over 200 informix servers, and I NEVER have
had to kill oninit in order to stop it. yes sometimes I must detach
shared memory segment, but it where never used by oninit ( or
something else)!!!
By!
KK
Hope that's made it clear ...:-)
Rajib
kak...@yahoo.com (kakaz) wrote in message news:<efd3e15d.02042...@posting.google.com>...