oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2 
Author Message
 oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2

When I run oninit (Sparc Sun Solaris 7 en IDS 7.23), I receive this
messages:

hvbbg-sun:/tmp(31)# oninit
oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2
oninit: Fatal error in shared memory initialization

The log file looks like this:
Wed Aug  2 09:29:03 2000

09:29:03  Event alarms enabled.  ALARMPROG =
'/opt/informix/etc/log_full.sh'
09:29:08  DR: DRAUTO is 0 (Off)
09:29:08  Informix Dynamic Server Version 7.31.UC5    Software Serial
Number *********
09:29:10  Assert Failed: chunk failed sanity check

09:29:10  Informix Dynamic Server Version 7.31.UC5

                Thread(7, main_loop(), c9d4018, 3)
                File: rspartn.c Line: 7355
09:29:10   Results: Chunk 1 is being taken OFFLINE.
09:29:10   Action: Restore chunk from archive. If this is a temporary
dbspace
        chunk, drop and add the dbspace to enable it.
09:29:10   See Also: /tmp/af.3efcdc6
09:29:11  I/O error, Primary Chunk '/dev/rdsk/c0t1d0s6' -- Offline
(sanity)

What did I do? Well,

The db was up and running but without mirroring. So I tried to drop the
dbspaces and blobspaces and all the databases. Only rootdbs on the
sysmaster db I could'nt drop. So I formatted the drive (using
format-utility in Sun). After this format, I receive always the messages
described above when doing oninit? Can someone help me with this. I've
already installed informix in an other directory and have the rootdbs on
another disk. Always the same prob.

What does this sanity check mean and how can I get rid of a whole db
without problems?

Thans in advance

Sent via Deja.com http://www.***.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT
 oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2


Quote:

>When I run oninit (Sparc Sun Solaris 7 en IDS 7.23), I receive this
>messages:

>hvbbg-sun:/tmp(31)# oninit
>oninit: Cannot open chunk '/dev/rdsk/c0t1d0s6'. errno = 2
>oninit: Fatal error in shared memory initialization

>The log file looks like this:
>Wed Aug  2 09:29:03 2000

>09:29:03  Event alarms enabled.  ALARMPROG =
>'/opt/informix/etc/log_full.sh'
>09:29:08  DR: DRAUTO is 0 (Off)
>09:29:08  Informix Dynamic Server Version 7.31.UC5    Software Serial
>Number *********
>09:29:10  Assert Failed: chunk failed sanity check

>09:29:10  Informix Dynamic Server Version 7.31.UC5

>                 Thread(7, main_loop(), c9d4018, 3)
>                 File: rspartn.c Line: 7355
>09:29:10   Results: Chunk 1 is being taken OFFLINE.
>09:29:10   Action: Restore chunk from archive. If this is a temporary
>dbspace
>         chunk, drop and add the dbspace to enable it.
>09:29:10   See Also: /tmp/af.3efcdc6
>09:29:11  I/O error, Primary Chunk '/dev/rdsk/c0t1d0s6' -- Offline
>(sanity)

>What did I do? Well,

>The db was up and running but without mirroring. So I tried to drop the
>dbspaces and blobspaces and all the databases. Only rootdbs on the
>sysmaster db I could'nt drop. So I formatted the drive (using
>format-utility in Sun). After this format, I receive always the messages
>described above when doing oninit? Can someone help me with this. I've
>already installed informix in an other directory and have the rootdbs on
>another disk. Always the same prob.

>What does this sanity check mean and how can I get rid of a whole db
>without problems?

Thanks! I was having a really bad day and needed a good chuckle.

Run

oninit -ivy

to restart your database.

A couple of things:

1. You should really make links to the raw devices -- if you have a disk
crash, you can chuck another disk in and just move the link.
2. RTFM. http://www.informix.com/answers
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. oninit: Cannot open chunk '/dev/online_root'. errno = 2

2. : oninit: Cannot open chunk '/dev/online_root'. errno = 2

3. oninit: Cannot open chunk '/dev/online_root'. errno = 2

4. oninit: Cannot open chunk '/usr/online_space001'. errno = 21

5. ld.so.1: a.out: fatal: libixsql.so: can't open file: errno=2

6. Cannot open file 'sql.iem'

7. Error: Cannot open file 'csqli.iem'

8. Cannot open file 'sql.iem'

9. Cannot open file 'netsrv.iem'

10. I/O error 'write' errno=27

11. Calculate Number of 'oninit' Processes

12. Oninit didn't work fine and I don't know why


 
Powered by phpBB® Forum Software