Help! Broken server destroys customer demo...
Posted in 2011
On a WinXP demo laptop running IDS 11.70, the ol_matdemo instance (and all other instances) refused to start after a reboot: the service stopped immediately, olsrvice.log showed a SuMain()/WaitForMultipleObjects failure, onstat reported shared memory not initialised, and dbaccess couldn't connect — even though oninit -v and the online log showed the server reaching On-Line mode. Suggestions covered service account privileges, SHMBASE/shared-memory address conflicts and environment variables. The poster found the cause himself: that morning the local 'informix' account had been removed from the local Administrators group; restoring that membership fixed it. He noted the logs gave no security-related message.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades
I have a problem with our IDS demo server that has unexpectedly cropped up
just before an important customer demo.
The demo machine (a WinXP laptop with Informix 11.70 installed, a demo
database instance "ol_matdemo" and a demo application) was working perfectly
normally, so we shut down the machine and restarted it in another office for
the customer demo.
As we logged in to Windows after the reboot there was an unexpected error
message concerning "onscpah.exe" - some memory write error. The IDS service
("ol_matdemo") also failed to start. When we tried to start the service
manually it simmply shut down straight away. The log file (ol_matdemo.log) is
not written to. We now cannot get it to start at all - completely broken.
olsrvice.log says
10:50:23 Service was shut-down externally.
10:50:23 ol_matdemo: Failure in SuMain(): WaitForMultipleObjects(): 0: The
operation completed successfully.
None of our server instance services on the same machine will start - they all
exhibit the same problem.
Trying to start Informix manually with oninit does not successfully enable us
to connect either.
This has been an embarrasing disaster for us, but the important thing is to
fix it quickly and we do not know where to start. Can anyone make some
positive suggestions? I would prefer not to have to reinstall Informix from
scratch, nor recreate the server instances if I can avoid that.
Neil.
neil,
Silly question but which user is starting the service? I assume its a local
one with sufficient privilege.
> To: ids@iiug.org
> From: neil.haughton@autoscribe.co.uk
> Subject: Help! Broken server destroys customer demo... [24503]
> Date: Wed, 3 Aug 2011 06:21:55 -0400
>
> I have a problem with our IDS demo server that has unexpectedly cropped up
> just before an important customer demo.
>
> The demo machine (a WinXP laptop with Informix 11.70 installed, a demo
> database instance "ol_matdemo" and a demo application) was working perfectly
> normally, so we shut down the machine and restarted it in another office for
> the customer demo.
>
> As we logged in to Windows after the reboot there was an unexpected error
> message concerning "onscpah.exe" - some memory write error. The IDS service
> ("ol_matdemo") also failed to start. When we tried to start the service
> manually it simmply shut down straight away. The log file (ol_matdemo.log) is
> not written to. We now cannot get it to start at all - completely broken.
>
> olsrvice.log says
>
> 10:50:23 Service was shut-down externally.
> 10:50:23 ol_matdemo: Failure in SuMain(): WaitForMultipleObjects(): 0: The
> operation completed successfully.
>
> None of our server instance services on the same machine will start - they
all
> exhibit the same problem.
>
> Trying to start Informix manually with oninit does not successfully enable us
> to connect either.
>
> This has been an embarrasing disaster for us, but the important thing is to
> fix it quickly and we do not know where to start. Can anyone make some
> positive suggestions? I would prefer not to have to reinstall Informix from
> scratch, nor recreate the server instances if I can avoid that.
>
> Neil.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
Yes, it's the usual user (who has Admin privileges). Neil.
I should add that the onstat tool reports that shared memory is not
initialised (which confirms the obvious, I suppose).
The immediate questions are how has this happened, and what can we do about it?
Neil
Is this the first time the PC has been used away from your office? What I am getting at is has this worked before? > To: ids@iiug.org > From: neil.haughton@autoscribe.co.uk > Subject: Re: RE: Help! Broken server destroys customer .... [24505] > Date: Wed, 3 Aug 2011 06:32:43 -0400 > > Yes, it's the usual user (who has Admin privileges). > > Neil. > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. >
Andrew, Yes and No. Yesterday I disconnected the laptop and took it to the other room, reconnected to the network, and was able to run the demo. However I did not shut down Windows whilst in transit. This morning I took the precaution of shutting down Windows first, then moving to the other room and restarting it. That's when the problem first arose. It's definitely a shared memory issue, but shared memory doesn't initialise back at the 'home' location either. Something has happened to screw up initialising shared memory, which I suppose explains why the server won't start - wherever the laptop is. Neil.
Here's some more information, the output of an oninit -v command:
Checking group membership to determine server run mode...succeeded
Reading configuration file
'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/ONCONFIG.ol_matdemo'...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 4944 kbytes...succeeded
Allocating 40016 kbytes for buffer pool of 4K page size...succeeded
Creating infos file
"C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.infos.ol_matdemo"...succeeded
Linking conf file
"C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.conf.ol_matdemo"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 1 IO vps...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Initializing DBSPACETEMP list...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Updating Global Row Counter...
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5
At this point oninit appears to hang - it certainly gets no further.
Neil
It is normal for windows installation that "oninit -v" process "hangs"
with "mode = 5"
because oninit process is working in foreground (dos prompt).
Please post online log (of this last oninit) and onconfig file here.
Hrvoje
On 03.08.2011. 13:26, NEIL HAUGHTON wrote:
> Here's some more information, the output of an oninit -v command:
>
> Checking group membership to determine server run mode...succeeded
> Reading configuration file
> 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/ONCONFIG.ol_matdemo'...succeeded
> Checking config parameters...succeeded
> Allocating and attaching to shared memory...succeeded
> Creating resident pool 4944 kbytes...succeeded
> Allocating 40016 kbytes for buffer pool of 4K page size...succeeded
> Creating infos file
> "C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.infos.ol_matdemo"...succeeded
> Linking conf file
> "C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.conf.ol_matdemo"...succeeded
> Initializing rhead structure...succeeded
> Writing to infos file...succeeded
> Initialization of Encryption...succeeded
> Initializing ASF...succeeded
> Initializing Dictionary Cache and SPL Routine Cache...succeeded
> Bringing up ADM VP...succeeded
> Creating VP classes...succeeded
> Onlining 0 additional cpu vps...succeeded
> Onlining 1 IO vps...succeeded
> Forking main_loop thread...succeeded
> Initializing DR structures...succeeded
> Forking 1 'soctcp' listener threads...succeeded
> Starting tracing...succeeded
> Initializing 8 flushers...succeeded
> Initializing SDS Server network connections...succeeded
> Initializing log/checkpoint information...succeeded
> Initializing dbspaces...succeeded
> Opening primary chunks...succeeded
> Opening mirror chunks...succeeded
> Validating chunks...succeeded
> Initialize Async Log Flusher...succeeded
> Starting B-tree Scanner...succeeded
> Initializing DBSPACETEMP list...succeeded
> Checking database partition index...succeeded
> Initializing dataskip structure...succeeded
> Checking for temporary tables to drop...succeeded
> Updating Global Row Counter...
> Forking onmode_mon thread...succeeded
> Creating periodic thread...succeeded
> Starting scheduling system...succeeded
> Verbose output complete: mode = 5
>
> At this point oninit appears to hang - it certainly gets no further.
>
> Neil
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
Typically under Windows I would suspect a shared memory allocation =
error. - that Windows had loaded something into memory precisely where =
Informix wanted to go. I would then use Process Explorer from =
Sysinternals to debug what it was that Windows was loading. We have =
seen this quite a bit with WIndows, and there are some hotfixes from =
Microsoft to address this. Most recently =
http://support.microsoft.com/kb/948656 WHICH IS NOT FOR WINDOWS XP - =
JUST AN EXAMPLE.=20
However - your oninit -v output looks like ti got past there.
Just for grins, check you SHMBASE (in %INFORMIXDIR%\\\\etc\\\\%ONCONFIG%) on =
64bit you should be at 80000000L.
j.
On Aug 3, 2011, at 6:21 AM, NEIL HAUGHTON wrote:
> I have a problem with our IDS demo server that has unexpectedly =
cropped up=20
> just before an important customer demo.=20
>=20
> The demo machine (a WinXP laptop with Informix 11.70 installed, a demo=20=
> database instance "ol_matdemo" and a demo application) was working =
perfectly=20
> normally, so we shut down the machine and restarted it in another =
office for=20
> the customer demo.=20
>=20
> As we logged in to Windows after the reboot there was an unexpected =
error=20
> message concerning "onscpah.exe" - some memory write error. The IDS =
service=20
> ("ol_matdemo") also failed to start. When we tried to start the =
service=20
> manually it simmply shut down straight away. The log file =
(ol_matdemo.log) is=20
> not written to. We now cannot get it to start at all - completely =
broken.=20
>=20
> olsrvice.log says=20
>=20
> 10:50:23 Service was shut-down externally.=20
> 10:50:23 ol_matdemo: Failure in SuMain(): WaitForMultipleObjects(): 0: =
The=20
> operation completed successfully.=20
>=20
> None of our server instance services on the same machine will start - =
they all=20
> exhibit the same problem.=20
>=20
> Trying to start Informix manually with oninit does not successfully =
enable us=20
> to connect either.=20
>=20
> This has been an embarrasing disaster for us, but the important thing =
is to=20
> fix it quickly and we do not know where to start. Can anyone make some=20=
> positive suggestions? I would prefer not to have to reinstall Informix =
from=20
> scratch, nor recreate the server instances if I can avoid that.=20
>=20
> Neil.=20
>=20
>=20
> =
**************************************************************************=
*****=20
> Forum Note: Use "Reply" to post a response in the discussion forum.=20=
>=20
I'm not sure how to attach a file to a message, so I'll post the files inline: ol_matdemo.log: 11:03:45 IBM Informix Dynamic Server Started. 11:03:45 Warning: The IBM IDS Developer Edition license restriction limits 11:03:45 the total shared memory size for this server to 1048576 KB. 11:03:45 The maximum allowable shared memory was reset to this size to start the database server. 11:03:45 Requested shared memory segment size rounded from 32656KB to 32704KB Wed Aug 03 11:03:45 2011 11:03:45 Warning: ONCONFIG dump directory (DUMPDIR) 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions 11:12:11 IBM Informix Dynamic Server Started. 11:12:11 Warning: The IBM IDS Developer Edition license restriction limits 11:12:11 the total shared memory size for this server to 1048576 KB. 11:12:11 The maximum allowable shared memory was reset to this size to start the database server. 11:12:11 Requested shared memory segment size rounded from 32656KB to 32704KB Wed Aug 03 11:12:11 2011 11:12:11 Warning: ONCONFIG dump directory (DUMPDIR) 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions 11:12:12 Booting Language <c> from module <> 11:12:12 Loading Module <CNULL> 11:12:12 Booting Language <builtin> from module <> 11:12:12 Loading Module <BUILTINNULL> 11:12:18 DR: DRAUTO is 0 (Off) 11:12:18 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) 11:12:18 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial Number AAA#B000000 11:12:19 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. 11:12:19 Started 1 B-tree scanners. 11:12:19 B-tree scanner threshold set at 5000. 11:12:19 B-tree scanner range scan size set to -1. 11:12:19 B-tree scanner ALICE mode set to 6. 11:12:19 B-tree scanner index compression level set to med. 11:12:19 Physical Recovery Started at Page (1:9106). 11:12:19 Physical Recovery Complete: 13 Pages Examined, 13 Pages Restored. 11:12:19 Logical Recovery Started. 11:12:19 10 recovery worker threads will be started. 11:12:20 Logical Recovery has reached the transaction cleanup phase. 11:12:20 Logical Recovery Complete. 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks 11:12:21 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. 11:12:21 Dataskip is now OFF for all dbspaces 11:12:21 Global Row Counter(Reset) 30064771072 00000000 11:12:21 Init operation complete - Mode Online 11:12:22 Checkpoint Completed: duration was 0 seconds. 11:12:22 Wed Aug 03 - loguniq 250, logpos 0x271018, timestamp: 0x4f8d8a Interval: 210 11:12:22 Maximum server connections 0 11:12:22 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 17, Llog used 2 11:12:22 On-Line Mode 11:12:24 SCHAPI: Started dbScheduler thread. 11:12:26 Booting Language <spl> from module <> 11:12:26 Loading Module <SPLNULL> 11:12:26 SCHAPI: Started 2 dbWorker threads. 11:12:26 Defragmenter cleaner thread now running 11:12:26 Defragmenter cleaner thread cleaned:0 partitions 11:46:52 IBM Informix Dynamic Server Started. 11:46:52 Warning: The IBM IDS Developer Edition license restriction limits 11:46:52 the total shared memory size for this server to 1048576 KB. 11:46:52 The maximum allowable shared memory was reset to this size to start the database server. 11:46:52 Requested shared memory segment size rounded from 32656KB to 32704KB Wed Aug 03 11:46:52 2011 11:46:52 Warning: ONCONFIG dump directory (DUMPDIR) 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions 11:46:52 Booting Language <c> from module <> 11:46:52 Loading Module <CNULL> 11:46:52 Booting Language <builtin> from module <> 11:46:52 Loading Module <BUILTINNULL> 11:46:58 DR: DRAUTO is 0 (Off) 11:46:59 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) 11:46:59 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial Number AAA#B000000 11:47:00 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. 11:47:00 Started 1 B-tree scanners. 11:47:00 B-tree scanner threshold set at 5000. 11:47:00 B-tree scanner range scan size set to -1. 11:47:00 B-tree scanner ALICE mode set to 6. 11:47:00 B-tree scanner index compression level set to med. 11:47:00 Physical Recovery Started at Page (1:9123). 11:47:00 Physical Recovery Complete: 31 Pages Examined, 31 Pages Restored. 11:47:00 Logical Recovery Started. 11:47:00 10 recovery worker threads will be started. 11:47:00 Logical Recovery has reached the transaction cleanup phase. 11:47:00 Logical Recovery Complete. 2024 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks 11:47:01 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. 11:47:01 Dataskip is now OFF for all dbspaces 11:47:01 Global Row Counter(Reset) 34359738368 00000000 11:47:01 Init operation complete - Mode Online 11:47:01 Checkpoint Completed: duration was 0 seconds. 11:47:01 Wed Aug 03 - loguniq 250, logpos 0x373018, timestamp: 0x4ffb1f Interval: 211 11:47:01 Maximum server connections 0 11:47:01 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 47, Llog used 2 11:47:01 On-Line Mode 11:47:06 IBM Informix Dynamic Server Started. 11:47:06 Warning: The IBM IDS Developer Edition license restriction limits 11:47:06 the total shared memory size for this server to 1048576 KB. 11:47:06 The maximum allowable shared memory was reset to this size to start the database server. 11:47:06 Requested shared memory segment size rounded from 32656KB to 32704KB Wed Aug 03 11:47:06 2011 11:47:06 Warning: ONCONFIG dump directory (DUMPDIR) 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions 11:47:06 Booting Language <c> from module <> 11:47:06 Loading Module <CNULL> 11:47:06 Booting Language <builtin> from module <> 11:47:06 Loading Module <BUILTINNULL> 11:47:12 DR: DRAUTO is 0 (Off) 11:47:12 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) 11:47:12 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial Number AAA#B000000 11:47:13 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. 11:47:13 Started 1 B-tree scanners. 11:47:13 B-tree scanner threshold set at 5000. 11:47:13 B-tree scanner range scan size set to -1. 11:47:13 B-tree scanner ALICE mode set to 6. 11:47:13 B-tree scanner index compression level set to med. 11:47:13 Physical Recovery Started at Page (1:9170). 11:47:13 Physical Recovery Complete: 1 Pages Examined, 1 Pages Restored. 11:47:13 Logical Recovery Started. 11:47:13 10 recovery worker threads will be started. 11:47:14 Logical Recovery has reached the transaction cleanup phase. 11:47:14 Logical Recovery Complete. 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks 11:47:15 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. 11:47:15 Dataskip is now OFF for all dbspaces 11:47:15 Global Row Counter(Reset) 38654705664 00000000 11:47:15 Init operation complete - Mode Online 11:47:15 Checkpoint Completed: duration was 0 seconds. 11:47:15 Wed Aug 03 - loguniq 250, logpos 0x376018, timestamp: 0x4ffb40 Interval: 212 11:47:15 Maximum server connections 0 11:47:15 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 5, Llog used 2 @@NL@
Look to me like the server is online and working. Art On Aug 3, 2011 8:12 AM, "NEIL HAUGHTON" <neil.haughton@autoscribe.co.uk> wrote: > I'm not sure how to attach a file to a message, so I'll post the files inline: > > ol_matdemo.log: > > 11:03:45 IBM Informix Dynamic Server Started. > 11:03:45 Warning: The IBM IDS Developer Edition license restriction limits > 11:03:45 the total shared memory size for this server to 1048576 KB. > 11:03:45 The maximum allowable shared memory was reset to this size to start > the database server. > 11:03:45 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:03:45 2011 > > 11:03:45 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:12:11 IBM Informix Dynamic Server Started. > 11:12:11 Warning: The IBM IDS Developer Edition license restriction limits > 11:12:11 the total shared memory size for this server to 1048576 KB. > 11:12:11 The maximum allowable shared memory was reset to this size to start > the database server. > 11:12:11 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:12:11 2011 > > 11:12:11 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:12:12 Booting Language <c> from module <> > 11:12:12 Loading Module <CNULL> > 11:12:12 Booting Language <builtin> from module <> > 11:12:12 Loading Module <BUILTINNULL> > 11:12:18 DR: DRAUTO is 0 (Off) > 11:12:18 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:12:18 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:12:19 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:12:19 Started 1 B-tree scanners. > 11:12:19 B-tree scanner threshold set at 5000. > 11:12:19 B-tree scanner range scan size set to -1. > 11:12:19 B-tree scanner ALICE mode set to 6. > 11:12:19 B-tree scanner index compression level set to med. > 11:12:19 Physical Recovery Started at Page (1:9106). > 11:12:19 Physical Recovery Complete: 13 Pages Examined, 13 Pages Restored. > 11:12:19 Logical Recovery Started. > 11:12:19 10 recovery worker threads will be started. > 11:12:20 Logical Recovery has reached the transaction cleanup phase. > 11:12:20 Logical Recovery Complete. > > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11:12:21 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. > 11:12:21 Dataskip is now OFF for all dbspaces > 11:12:21 Global Row Counter(Reset) 30064771072 00000000 > 11:12:21 Init operation complete - Mode Online > 11:12:22 Checkpoint Completed: duration was 0 seconds. > 11:12:22 Wed Aug 03 - loguniq 250, logpos 0x271018, timestamp: 0x4f8d8a > Interval: 210 > > 11:12:22 Maximum server connections 0 > 11:12:22 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, > Plog used 17, Llog used 2 > > 11:12:22 On-Line Mode > 11:12:24 SCHAPI: Started dbScheduler thread. > 11:12:26 Booting Language <spl> from module <> > 11:12:26 Loading Module <SPLNULL> > 11:12:26 SCHAPI: Started 2 dbWorker threads. > 11:12:26 Defragmenter cleaner thread now running > 11:12:26 Defragmenter cleaner thread cleaned:0 partitions > 11:46:52 IBM Informix Dynamic Server Started. > 11:46:52 Warning: The IBM IDS Developer Edition license restriction limits > 11:46:52 the total shared memory size for this server to 1048576 KB. > 11:46:52 The maximum allowable shared memory was reset to this size to start > the database server. > 11:46:52 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:46:52 2011 > > 11:46:52 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:46:52 Booting Language <c> from module <> > 11:46:52 Loading Module <CNULL> > 11:46:52 Booting Language <builtin> from module <> > 11:46:52 Loading Module <BUILTINNULL> > 11:46:58 DR: DRAUTO is 0 (Off) > 11:46:59 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:46:59 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:47:00 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:47:00 Started 1 B-tree scanners. > 11:47:00 B-tree scanner threshold set at 5000. > 11:47:00 B-tree scanner range scan size set to -1. > 11:47:00 B-tree scanner ALICE mode set to 6. > 11:47:00 B-tree scanner index compression level set to med. > 11:47:00 Physical Recovery Started at Page (1:9123). > 11:47:00 Physical Recovery Complete: 31 Pages Examined, 31 Pages Restored. > 11:47:00 Logical Recovery Started. > 11:47:00 10 recovery worker threads will be started. > 11:47:00 Logical Recovery has reached the transaction cleanup phase. > 11:47:00 Logical Recovery Complete. > > 2024 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11:47:01 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. > 11:47:01 Dataskip is now OFF for all dbspaces > 11:47:01 Global Row Counter(Reset) 34359738368 00000000 > 11:47:01 Init operation complete - Mode Online > 11:47:01 Checkpoint Completed: duration was 0 seconds. > 11:47:01 Wed Aug 03 - loguniq 250, logpos 0x373018, timestamp: 0x4ffb1f > Interval: 211 > > 11:47:01 Maximum server connections 0 > 11:47:01 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, > Plog used 47, Llog used 2 > > 11:47:01 On-Line Mode > 11:47:06 IBM Informix Dynamic Server Started. > 11:47:06 Warning: The IBM IDS Developer Edition license restriction limits > 11:47:06 the total shared memory size for this server to 1048576 KB. > 11:47:06 The maximum allowable shared memory was reset to this size to start > the database server. > 11:47:06 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:47:06 2011 > > 11:47:06 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:47:06 Booting Language <c> from module <> > 11:47:06 Loading Module <CNULL> > 11:47:06 Booting Language <builtin> from module <> > 11:47:06 Loading Module <BUILTINNULL> > 11:47:12 DR: DRAUTO is 0 (Off) > 11:47:12 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:47:12 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:47:13 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:47:13 Started 1 B-tree scanners. > 11:47:13 B-tree scanner threshold set at 5000. > 11:47:13 B-tree scanner range scan size set to -1. > 11:47:13 B-tree scanner ALICE mode set to 6. > 11:47:13 B-tree scanner index compression level set to med. > 11:47:13 Physical Recovery Started at Page (1:9170). > 11:47:13 Physical Recovery Complete: 1 Pages Examined, 1 Pages Restored. > 11:47:13 Logical Recovery Started. > 11:47:13 10 recovery worker threads will be started. > 11:47:14 Logical Recovery has reached the transaction cleanup phase. > 11:47:14 Logical Recovery Complete. > > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11
Except that:
1. DBAccess cannot connect to the IDS instance 'ol_matdemo'
2. onstat reports "shared memory not initialised for INFORMIXSERVER
'ol_matdemo'
Neil.
Forgot to mention 3: I cannot create and initialise a new server instance. I get the same message (different wording, same message). Neil.
Neil,
All environment variables are set ok? For the new instance are you changing
the values in the onconfg file correctly?
> To: ids@iiug.org
> From: neil.haughton@autoscribe.co.uk
> Subject: Re: Help! Broken server destroys customer .... [24518]
> Date: Wed, 3 Aug 2011 08:44:09 -0400
>
> Except that:
>
> 1. DBAccess cannot connect to the IDS instance 'ol_matdemo'
> 2. onstat reports "shared memory not initialised for INFORMIXSERVER
> 'ol_matdemo'
>
> Neil.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
YAY! managed to fix the problem. We had also this morning removed the local "informix" account from the local Administrators group, in order to protect the machine when it went out to do a demo. The idea was that on site the demonstrator would log in to Windows as 'informix' and have limited access to what is actually a development machine. The significance has just struck me, and it was that change that prevented the IDS instance from starting. Pity the logs did not record a security issue, but there you go. Thanks to everyone who pitched in to try to help. Neil.
I've had the same problem with the Informix instance I installed on my own
laptop. The engine/service starts but I cannot access it. I finally just
shut it down and use the instance on my Linux box remotely when I'm at home
and use a Linux VM running Informix when I must access an instance on the
road for client demos etc. I know that doesn't help you today. I can only
add that 1) I have Windows and 2) open a case with IBM, this should be
treatable as an installation problem which should not IB require a separate
support contract.
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.
On Wed, Aug 3, 2011 at 8:44 AM, NEIL HAUGHTON <
neil.haughton@autoscribe.co.uk> wrote:
> Except that:
>
> 1. DBAccess cannot connect to the IDS instance 'ol_matdemo'
> 2. onstat reports "shared memory not initialised for INFORMIXSERVER
> 'ol_matdemo'
>
> Neil.
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--20cf307c9ca609596704a9999a56
On 03/08/2011 12:26, NEIL HAUGHTON wrote:
> Here's some more information, the output of an oninit -v command:
>
> Checking group membership to determine server run mode...succeeded
> Reading configuration file
> 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/ONCONFIG.ol_matdemo'...succeeded
> Checking config parameters...succeeded
> Allocating and attaching to shared memory...succeeded
> Creating resident pool 4944 kbytes...succeeded
> Allocating 40016 kbytes for buffer pool of 4K page size...succeeded
> Creating infos file
> "C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.infos.ol_matdemo"...succeeded
> Linking conf file
> "C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70/etc/.conf.ol_matdemo"...succeeded
> Initializing rhead structure...succeeded
> Writing to infos file...succeeded
> Initialization of Encryption...succeeded
> Initializing ASF...succeeded
> Initializing Dictionary Cache and SPL Routine Cache...succeeded
> Bringing up ADM VP...succeeded
> Creating VP classes...succeeded
> Onlining 0 additional cpu vps...succeeded
> Onlining 1 IO vps...succeeded
> Forking main_loop thread...succeeded
> Initializing DR structures...succeeded
> Forking 1 'soctcp' listener threads...succeeded
> Starting tracing...succeeded
> Initializing 8 flushers...succeeded
> Initializing SDS Server network connections...succeeded
> Initializing log/checkpoint information...succeeded
> Initializing dbspaces...succeeded
> Opening primary chunks...succeeded
> Opening mirror chunks...succeeded
> Validating chunks...succeeded
> Initialize Async Log Flusher...succeeded
> Starting B-tree Scanner...succeeded
> Initializing DBSPACETEMP list...succeeded
> Checking database partition index...succeeded
> Initializing dataskip structure...succeeded
> Checking for temporary tables to drop...succeeded
> Updating Global Row Counter...
> Forking onmode_mon thread...succeeded
> Creating periodic thread...succeeded
> Starting scheduling system...succeeded
> Verbose output complete: mode = 5
>
> At this point oninit appears to hang - it certainly gets no further.
You wouldn't see anything past this point. That means it's gotten up
successfully.
It should be working.
--
Cheers,
Obnoxio The Clown
http://obotheclown.blogspot.com
I will now proceed to pleasure myself with this fish.
On 03/08/2011 13:11, NEIL HAUGHTON wrote: > I'm not sure how to attach a file to a message, so I'll post the files inline: > > ol_matdemo.log: > > 11:03:45 IBM Informix Dynamic Server Started. > 11:03:45 Warning: The IBM IDS Developer Edition license restriction limits > 11:03:45 the total shared memory size for this server to 1048576 KB. > 11:03:45 The maximum allowable shared memory was reset to this size to start > the database server. > 11:03:45 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:03:45 2011 > > 11:03:45 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:12:11 IBM Informix Dynamic Server Started. > 11:12:11 Warning: The IBM IDS Developer Edition license restriction limits > 11:12:11 the total shared memory size for this server to 1048576 KB. > 11:12:11 The maximum allowable shared memory was reset to this size to start > the database server. > 11:12:11 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:12:11 2011 > > 11:12:11 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:12:12 Booting Language<c> from module<> > 11:12:12 Loading Module<CNULL> > 11:12:12 Booting Language<builtin> from module<> > 11:12:12 Loading Module<BUILTINNULL> > 11:12:18 DR: DRAUTO is 0 (Off) > 11:12:18 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:12:18 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:12:19 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:12:19 Started 1 B-tree scanners. > 11:12:19 B-tree scanner threshold set at 5000. > 11:12:19 B-tree scanner range scan size set to -1. > 11:12:19 B-tree scanner ALICE mode set to 6. > 11:12:19 B-tree scanner index compression level set to med. > 11:12:19 Physical Recovery Started at Page (1:9106). > 11:12:19 Physical Recovery Complete: 13 Pages Examined, 13 Pages Restored. > 11:12:19 Logical Recovery Started. > 11:12:19 10 recovery worker threads will be started. > 11:12:20 Logical Recovery has reached the transaction cleanup phase. > 11:12:20 Logical Recovery Complete. > > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11:12:21 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. > 11:12:21 Dataskip is now OFF for all dbspaces > 11:12:21 Global Row Counter(Reset) 30064771072 00000000 > 11:12:21 Init operation complete - Mode Online > 11:12:22 Checkpoint Completed: duration was 0 seconds. > 11:12:22 Wed Aug 03 - loguniq 250, logpos 0x271018, timestamp: 0x4f8d8a > Interval: 210 > > 11:12:22 Maximum server connections 0 > 11:12:22 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, > Plog used 17, Llog used 2 > > 11:12:22 On-Line Mode > 11:12:24 SCHAPI: Started dbScheduler thread. > 11:12:26 Booting Language<spl> from module<> > 11:12:26 Loading Module<SPLNULL> > 11:12:26 SCHAPI: Started 2 dbWorker threads. > 11:12:26 Defragmenter cleaner thread now running > 11:12:26 Defragmenter cleaner thread cleaned:0 partitions > 11:46:52 IBM Informix Dynamic Server Started. > 11:46:52 Warning: The IBM IDS Developer Edition license restriction limits > 11:46:52 the total shared memory size for this server to 1048576 KB. > 11:46:52 The maximum allowable shared memory was reset to this size to start > the database server. > 11:46:52 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:46:52 2011 > > 11:46:52 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:46:52 Booting Language<c> from module<> > 11:46:52 Loading Module<CNULL> > 11:46:52 Booting Language<builtin> from module<> > 11:46:52 Loading Module<BUILTINNULL> > 11:46:58 DR: DRAUTO is 0 (Off) > 11:46:59 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:46:59 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:47:00 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:47:00 Started 1 B-tree scanners. > 11:47:00 B-tree scanner threshold set at 5000. > 11:47:00 B-tree scanner range scan size set to -1. > 11:47:00 B-tree scanner ALICE mode set to 6. > 11:47:00 B-tree scanner index compression level set to med. > 11:47:00 Physical Recovery Started at Page (1:9123). > 11:47:00 Physical Recovery Complete: 31 Pages Examined, 31 Pages Restored. > 11:47:00 Logical Recovery Started. > 11:47:00 10 recovery worker threads will be started. > 11:47:00 Logical Recovery has reached the transaction cleanup phase. > 11:47:00 Logical Recovery Complete. > > 2024 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11:47:01 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. > 11:47:01 Dataskip is now OFF for all dbspaces > 11:47:01 Global Row Counter(Reset) 34359738368 00000000 > 11:47:01 Init operation complete - Mode Online > 11:47:01 Checkpoint Completed: duration was 0 seconds. > 11:47:01 Wed Aug 03 - loguniq 250, logpos 0x373018, timestamp: 0x4ffb1f > Interval: 211 > > 11:47:01 Maximum server connections 0 > 11:47:01 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, > Plog used 47, Llog used 2 > > 11:47:01 On-Line Mode > 11:47:06 IBM Informix Dynamic Server Started. > 11:47:06 Warning: The IBM IDS Developer Edition license restriction limits > 11:47:06 the total shared memory size for this server to 1048576 KB. > 11:47:06 The maximum allowable shared memory was reset to this size to start > the database server. > 11:47:06 Requested shared memory segment size rounded from 32656KB to 32704KB > > Wed Aug 03 11:47:06 2011 > > 11:47:06 Warning: ONCONFIG dump directory (DUMPDIR) > 'C:\\\\PROGRA~1\\\\IBM\\\\Informix\\\\11.70\\\\tmp' has insecure permissions > 11:47:06 Booting Language<c> from module<> > 11:47:06 Loading Module<CNULL> > 11:47:06 Booting Language<builtin> from module<> > 11:47:06 Loading Module<BUILTINNULL> > 11:47:12 DR: DRAUTO is 0 (Off) > 11:47:12 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled) > 11:47:12 IBM Informix Dynamic Server Version 11.70.TC1DE Software Serial > Number AAA#B000000 > 11:47:13 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized. > > 11:47:13 Started 1 B-tree scanners. > 11:47:13 B-tree scanner threshold set at 5000. > 11:47:13 B-tree scanner range scan size set to -1. > 11:47:13 B-tree scanner ALICE mode set to 6. > 11:47:13 B-tree scanner index compression level set to med. > 11:47:13 Physical Recovery Started at Page (1:9170). > 11:47:13 Physical Recovery Complete: 1 Pages Examined, 1 Pages Restored. > 11:47:13 Logical Recovery Started. > 11:47:13 10 recovery worker threads will be started. > 11:47:14 Logical Recovery has reached the transaction cleanup phase. > 11:47:14 Logical Recovery Complete. > > 0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks > > 11:47:15 Onconfig parameter STORAGE_FULL_ALARM modified from 0 to 3. > 11:47:15 Dataskip is now OFF for all dbspaces > 11:47:15 Global Row Counter(Reset) 38654705664 00000000 > 11:47:15 Init operation complete - Mode