Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: 11.5 UC7E crashes

Posted By: Khaled Bentebal
Date: Thursday, 22 December 2011, at 7:26 a.m.

In Response To: Re: 11.5 UC7E crashes (Fernando Nunes)

*In this case there is one instance having the problem and none of the
oninits are running.*

On the the other hand, if you start another instance based on a
different SERVERNUM, it will start ONLY if the new SERVERNUM is unique
since it tries to use the *shmget* function which has the followinf
signature or definition*(int shmget(key_t key, size_t size, int shmflg).*
If *shmflg* specifies both IPC_CREAT and IPC_EXCL and a shared memory
segment already exists for key, then shmget() fails with errno set to
EEXIST. (This is analogous to the effect of the combination O_CREAT |
O_EXCL for open())

The new instance cannot come up if you use the same SERVERNUM.

Informix uses an algorithm that calculates the key based on the
hexadecimal value for "RVH" (the initials of the architect of Informix
Turbo for information) and uses the value of SERVERNUM to calculate the
first 3 bytes of the Key. The remaining byte is 01, 02 , 03, etc which
is the 1st segment, 2nd segment, etc for that instance.

So the new memory segments cannot be the same. You cannot work on the
same data.

For safety reasons, I always make sure to get rid of all of the segments
related to an instance if possible and for sure all of the oninits
related to that instance.

Cordialement, Regards,

Khaled Bentebal
Directeur Général - ConsultiX
Président UGIF - User Group Informix France
IIUG - Board of Directors
Tél: 33 (0) 1 39 12 18 00
Fax: 33 (0) 1 39 12 18 18
Mobile: 33 (0) 6 07 78 41 97
Email: khaled.bentebal@consult-ix.fr
Site Web: www.consult-ix.fr

Le 22/12/11 04:28, Fernando Nunes a écrit :
> On Thu, Dec 22, 2011 at 3:04 AM, Khaled Bentebal<
> khaled.bentebal@consult-ix.fr> wrote:
>
>> Hi Klaus,
>>
>> If you are trying to start the informix engine again, it will not start
>> if one or more of the shared memory segments is still used (check ipcs).
>> Can happen after a crash and the the segments have been removed when the
>> engine stopped.
>>
>> Each instance of informix is based on the value of SERVERNUM (value
>> between 0 and 255 possbile).
>>
>> So either change the value of SERVERNUM and start you engine with
>> "oninit -v" until the next reboot of your server ;You will be wasting a
>> segment of memory
>>
> I'm sorry if I'm missing the context, since I haven't been following the
> thread, but this can be a VERY DANGEROUS thing to do...
> I've seen customers destroying instances because they used this "trick". If
> by any chance the old oninits are still there, and you change the SERVERNUM
> you may end up with two running instances on top of the same data. This
> will corrupt the data for sure.
>
> Before the listeners could be started/stop (around 11.50.FC5) the "second"
> instance would not come up, because it would not be able to grab the TCP
> ports. But currently that's not the case, and the instance will come online
> even without the listerner(s)
>
> So, thonk several times before you change the SERVERNUM to solve anything.
> It can be done if you make sure no more oninits or other informix tools are
> running.
>
> Regards.
>
> or
>> run ipcrm -m<shmid> using the shared memory id of the segments used for
>> that instance: *need to be root to run ipcrm*
>>
>> If you have severval shared memory segments , you can run ipcrm -m for
>> each segment or ipcrm -m<shmid> -m<shmid of the second segment> ... etc
>>
>> Note: the shared memory id is NOT the key (0x52564801) but the shmid
>> (11272195)
>>
>> You do not have to reboot if you can remove your shared memory segments
>> via ipcrm being root
>>
>> I hope that this helps you start you engine again.
>>
>> Cordialement, Regards,
>>
>> Khaled Bentebal
>> Directeur Général - ConsultiX
>> Président UGIF - User Group Informix France
>> IIUG - Board of Directors
>> Tél: 33 (0) 1 39 12 18 00
>> Fax: 33 (0) 1 39 12 18 18
>> Mobile: 33 (0) 6 07 78 41 97
>> Email: khaled.bentebal@consult-ix.fr
>> Site Web: www.consult-ix.fr
>>
>> Le 21/12/11 23:50, KLAUS GLAHN a écrit :
>>> Hi Joerg,
>>>
>>> reboot is not an option tonight :-( There are other applications running
>> on
>>> the server, which I can´t interrupt now.
>>>
>>> I tried onmode -ky: didn´t help
>>> I tried onclean: found no problems and didn´t help
>>> I tried ipcs: no informix segments
>>> I tried ps -e: no oninit processes
>>>
>>> but when I change my SERVERNUM back to the original value 0, I can´t
>> start
>> the
>>> instance:
>>>
>>> 23:35:19 IBM Informix Dynamic Server gestartet.
>>> 23:35:19 shmget: [EEXIST][17]: key 52564801: shared memory already exists
>>> 23:35:19 mt_shm_init: Segment resident kann nicht angelegt werden
>>>
>>> With ipcs I can see the segment:
>>> 0x52564801 11272195 root 660 33554432 0
>>> but it belongs to root?
>>>
>>> I guess I have to reboot tomorrow.
>>>
>>> And then I can switch back to the original problem ...
>>>
>>> Thanks again :-)
>>> Klaus
>>>
>>>
>>>
>>
> *******************************************************************************
>>> Forum Note: Use "Reply" to post a response in the discussion forum.
>>>
>>>
>>
>>
>>
> *******************************************************************************
>> Forum Note: Use "Reply" to post a response in the discussion forum.
>>
>>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.