Re: IDS and Linux
Posted in 1999
Topics: Server Administration, Platform-Specific Issues
Thank you for quick respond.
Finally I found the problem.
Kire Prostizenovski wrote:
>
> Check your system message log file, as set by MSGPATH in your $ONCONFIG
> file.
>
> Regards,
>
> Kire
>
> Kire Prostizenovski
> Business Analyst
> J Blackwood and Son Limited
> 13 Cooper Street
> Smithfield NSW 2164
> Australia
> Phone +61 2 9203 0133 Fax +61 2 9203 0160
>
> Super-User wrote in message <37EA7FE2.93292310@butoijo.com>...
> >Hi, I have some problem here.
> >I try to start IDS by typing oninit but there are no error messages so I
> >thought the server already running.
> >But when I try to check with onstat - it says shared memory no
> >initialized for INFORMIXSERVER 'dbserver'
> >I tried to initialized from onmonitor but always failed.
> >I hope someone can tell me what the correct procedure to start IDS.
> >Thank you very much.
> >
> >Oka
Hi,
Super-User wrote:
> Thank you for quick respond.
> Finally I found the problem.
What _is_ the solution ? It seems I have a similar problem here.
Thanks for your help
Juergen
Now my erros and parts of my config files:
online.log:
Wed Sep 22 16:13:55 1999
16:13:55 Event alarms enabled. ALARMPROG = '/opt/informix/etc/log_full.sh'
16:14:01 DR: DRAUTO is 0 (Off)
16:14:01 Requested shared memory segment size rounded from 588KB to 592KB
16:14:02 Informix Dynamic Server Version 7.30.U Software Serial NumberAAC#16:14:02 Assert Failed: chunk failed sanity check
16:14:02 Informix Dynamic Server Version 7.30.U
16:14:02 Who: Session(1, root@uhvlinmix, 0, 0)
Thread(7, main_loop(), 0, 1)
File: rspartn.c Line: 6878
16:14:02 Results: Chunk 1 is being taken OFFLINE.
16:14:02 Action: Restore chunk from archive.
16:14:03 See Also: /tmp/af.7e429
16:14:04 I/O error, Primary Chunk '/dbms/my_chunk' -- Offline (sanity)
16:14:04 Informix Dynamic Server Stopped.
16:14:04 mt_shm_remove: WARNING: may not have removed all/correct segments
and /tmp/af.7e429
16:14:02 sane_chopen:pg_addr 0 != expected 100002page
102a7000: 00000000 00000000 00000000 00000000 ........ ........
102a7010 *
16:14:02
16:14:02 Informix Dynamic Server Version 7.30.U Software Serial Number
AAC#
16:14:02 Assert Failed: chunk failed sanity check
16:14:02 Who: Session(1, root@uhvlinmix, 0, 0)
Thread(7, main_loop(), 0, 1)
File: rspartn.c Line: 6878
16:14:02 Results: Chunk 1 is being taken OFFLINE.
16:14:02 Action: Restore chunk from archive.
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type:\\t\\c
Warning
Host Name:\\t\\tuhvlinmix
Database Server Name:\\tdemo_on
Time of failure:\\t\\c
Wed Sep 22 16:14:03 MEST 1999
AF file:\\t\\t/tmp/af.7e429
Shared memory file:\\tNone
System Blocking:\\t\\c
OFF
-------------------------------
End System Alarm Program Output
-------------------------------
16:14:03 sh /opt/informix/etc/evidence.sh 1 0 /tmp/af.7e429 1 0x0 70x101e8e4c
16:14:03 See Also: /tmp/af.7e429
16:14:03
------------------ End of assertion failure 0 -----------------
Any Ideas ?
Config files: onconfig: only shm-section, I think the rest is ok.
# Shared Memory Parameters
LOCKS 2000 # Maximum number of locks
BUFFERS 200 # Maximum number of shared buffers
NUMAIOVPS # Number of IO vps
PHYSBUFF 32 # Physical log buffer size (Kbytes)
LOGBUFF 32 # Logical log buffer size (Kbytes)LOGSMAX 6 # Maximum number of logical log files
CLEANERS 1 # Number of buffer cleaner processes
SHMBASE 0x10000000 # Shared memory base address
SHMVIRTSIZE 8000 # initial virtual shared memory segment size
SHMADD 8192 # Size of new shared memory segments
(Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 300 # Check point interval (in sec)
LRUS 8 # Number of LRU queues
LRU_MAX_DIRTY 60 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
LTXHWM 50 # Long transaction high water markpercentage
LTXEHWM 60 # Long transaction high water mark
(exclusive)
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 32 # Stack size (Kbytes)
and sqlhosts
uhvlinmix onipcshm uhvlinmix uhvlinmixuhvlinmix_net onipctcp uhvlinmix informix
You have a different problem. Something has overwritten the root chunks
with NULLS, that is unless this is the first time you are starting the
engine, in which case you must start the oninit with the -i option which
will overwrite the root chunk with the required reserved pages. DO NOT DO
THIS IF YOU HAVE ALREADY HAD THE ENGINE UP AND RUNNING AS YOU WILL LOOSE
ALL DATA IN THE DATABASE. This is the first time initialization procedure
ONLY!
oninit -i
If this is NOT the first time then something has trashed the root chunk
(chunk 1) file. If this was a link, perhaps the link was broken and you
can restore it. Otherwise you have no choice but to reinitialize the
database server (oninit -i) anyway and start from scratch or restore from
archive as the log entry suggests if you have one.
Art S. Kagel
hunold wrote:
>
> Hi,
>
> Super-User wrote:
>
> > Thank you for quick respond.
> > Finally I found the problem.
>
> What _is_ the solution ? It seems I have a similar problem here.
> Thanks for your help
>
> Juergen
>
> Now my erros and parts of my config files:
>
> online.log:
>
> Wed Sep 22 16:13:55 1999
>
> 16:13:55 Event alarms enabled. ALARMPROG = '/opt/informix/etc/log_full.sh'
> 16:14:01 DR: DRAUTO is 0 (Off)
> 16:14:01 Requested shared memory segment size rounded from 588KB to 592KB
> 16:14:02 Informix Dynamic Server Version 7.30.U Software Serial Number> AAC#16:14:02 Assert Failed: chunk failed sanity check
>
> 16:14:02 Informix Dynamic Server Version 7.30.U
> 16:14:02 Who: Session(1, root@uhvlinmix, 0, 0)
> Thread(7, main_loop(), 0, 1)
> File: rspartn.c Line: 6878
> 16:14:02 Results: Chunk 1 is being taken OFFLINE.
> 16:14:02 Action: Restore chunk from archive.
> 16:14:03 See Also: /tmp/af.7e429
> 16:14:04 I/O error, Primary Chunk '/dbms/my_chunk' -- Offline (sanity)
> 16:14:04 Informix Dynamic Server Stopped.
> 16:14:04 mt_shm_remove: WARNING: may not have removed all/correct segments>
> and /tmp/af.7e429
>
> 16:14:02 sane_chopen:pg_addr 0 != expected 100002
Page 100002 is the first reserved page, pages 0 and 1 are always NULLS but
this should contain data and at least a header containing its page number
which is what this message is complaining about. It expected a header
showing page number 0x100002 and found a NULL page number.
> page
> 102a7000: 00000000 00000000 00000000 00000000 ........ ........
> 102a7010 *
This shows that the entire page is NULL! Cannot normally be!
> 16:14:02
> 16:14:02 Informix Dynamic Server Version 7.30.U Software Serial Number
> AAC#
> 16:14:02 Assert Failed: chunk failed sanity check
>
> 16:14:02 Who: Session(1, root@uhvlinmix, 0, 0)
> Thread(7, main_loop(), 0, 1)
> File: rspartn.c Line: 6878
> 16:14:02 Results: Chunk 1 is being taken OFFLINE.
> 16:14:02 Action: Restore chunk from archive.
[SNIP]> uhvlinmix_net onipctcp uhvlinmix informix
This line is incorrect the second field should be: onsoctcp
Art S. Kagel