Re: Assert Failed with Informix online 7.2 on SUN Sol: 2.5.1
Posted in 1998
Albert Wisse wrote:
>
> I have got the error, see below in my online.log file and a users got
> insert problems.
> What does it means, what is the reason for this and what can I do about?
>
> 04:35:19 Assert Failed: WARNING! pthdrpage:ptalloc:bad partn page
> 04:35:19 Who: Session(532, omt40@localhost, 25009, 403010396)
> Thread(925067, sqlexec, 18048000, 3)
> 04:35:19 Results: Cannot use TBLSpace page for TBLSpace 2120316
> 04:35:19 Action: Run 'oncheck -pt 2120316'
> 04:35:19 See Also: /tmp/af.1d8b3bf3
The message states that the header page for your table has been damaged.
This can be caused in several ways a database server crash on an
non-logged database, a machine crash, a disk crash or damage,
overlapping chunks (Infomrix tries to prevent this from happening but
it does not resolve file name aliases like links so it is possible).
What to do about it? Check out each possibility. Is the database
logged? Did the server or machine crash recently? Are there two
chunks that use filenames that are aliases for the same
disk/file/device (ie /dev/dsk/file01 & /dev/rdsk/file01 are the same
device if they have the same major/minor device numbers)? After
eliminating any physical causes try the oncheck command recommended in
the assert message:
oncheck -pt 2120316
the report will even tell you what database and table are affected.
Art S. Kagel