OGG-01091 unable to open file (error 89, invalid file system control data detected)

Source: Internet
Author: User

The replicat process reports OGG-01091 error abended and cannot start properly, details are as follows:

 

Ggsci (cqstzjdbjc01) 3> View Report rcqstjc1

Source context:

Sourcemodule: [ggapp. util. PCS]

Sourceid: [/scratch/aime1/adestore/views/aimestmstaxj16/oggcore/opensys/src/gglib/ggapp/pcsul. C]

Sourcefunction: [processcreatestatus (char *, process_file_handle_def *)]

Sourceline: [583]

09:18:37 error OGG-01091 unable to open file "/goldengate/GGS/dirpcs/rcqstjc1.pcr" (error 89, invalid file systemcontrol data detected ).

2013-04-22 09:18:37 error OGG-01668 process abending.

 

Error 89, invalid file system control datadetected generally refers to an error at the operating system level. You can create a file in this directory to test whether the file system is in good condition. In this example, the replicat process cannot create the rcqstjc1.pcr file in the/goldengate/GGS/dirpcs/directory but abended.

 

Cqstzjdbjc01:/home/Oracle/GGS $ CD/goldengate/GGS/dirpcs/

Cqstzjdbjc01:/goldengate/GGS/dirpcs $ ls

Mgr. PCM

Cqstzjdbjc01:/goldengate/GGS/dirpcs $ touch1.pcr

Touch: 0652-046 cannot create1.pcr.

 

Based on the above error message, test, and search for related errors on the network, you can determine that the/goldengate file system storing the GGS instance is damaged and needs to be repaired.

 

Switch to root and try to fix the File System

 

Cqstzjdbjc01:/goldengate/GGS/dirpcs $ su-

Root's password:

Cqstzjdbjc01:/$ pwd

/

Cqstzjdbjc01:/$ DF-G

Filesystem GB blocks free % used iused % iused mounted on

/Dev/hd4 5.00 4.76 5% 10584 1%/

/Dev/hd2 20.00 16.91 16% 55561 2%/usr

/Dev/hd9var 10.00 9.59 5% 8446 1%/var

/Dev/hd3 10.00 5.11 49% 3154 1%/tmp

/Dev/hd1 10.00 3.77 63% 4077 1%/home

/Dev/hd11admin 5.00 5.00 1% 5 1%/admin

/Proc---/proc

/Dev/hd10opt 10.00 9.62 4% 10829 1%/OPT

/Dev/livedump 0.50 0.50 1% 4 1%/var/adm/RAS/livedump

/Dev/fslv00 80.00 33.97 58% 188622 3%/u01

/Dev/fslv01 199.00 198.41 1% 562 1%/goldengate

 

Try to execute fsck to fix/goldengate File System:

Cqstzjdbjc01:/$ fsck-y/goldengate

The current volume is:/dev/fslv01

File System is currentlymounted.

Primary superblock is valid.

Fsck: Specify Ming read-onlyprocessing does not produce dependable results.

* ** Phase 1-initial inode Scan

* ** Phase 2-process remainingdirectories

* ** Phase 3-process remainingfiles

* ** Phase 4-check inodeallocation Map

* ** Phase 5-check blockallocation Map

Filesystem is currently mounted.

Fsck: Specify Ming read-onlyprocessing does not produce dependable results.

Cqstzjdbjc01:/$ lsvg-

Rootvg

Ggvg

Cqstzjdbjc01:/$ lsvg-l ggvg

Ggvg:

LV name type lps pps pvs lv state mount point

Loglv00 jfs2log 1 1 1 Open/syncd N/

Fslv01 jfs2 796 796 1 Open/syncd/goldengate

 

The system prompts that the current/goldengate file system is in the Mount state. You need to uninstall the/goldengate file system before performing the fsck repair operation.

Cqstzjdbjc01:/$ umount/goldengate

Umount: 0506-349 cannot unmount/dev/fslv01: the requested resource is busy.

 

The system prompts that a process is occupying resources of the/goldengate file system and finds out the process using the/goldengate File System:

Cqstzjdbjc01:/$ Fuser-kux/goldengate

/Goldengate: 201711162c (Oracle) 40894512c (Oracle) 61471_4c (Oracle)

 

After killing the process, try to uninstall the/goldengate file system again.

Cqstzjdbjc01:/$ Fuser-U/goldengate

/Goldengate:

Cqstzjdbjc01:/$ umount/goldengate

Cqstzjdbjc01:/$ lsvg-l ggvg

Ggvg:

LV name type lps pps pvs lv state mount point

Loglv00 jfs2log 1 1 1 closed/syncd N/

Fslv01 jfs2 796 796 1 closed/syncd/goldengate

 

Execute fsck repair/goldengate File System

 

Cqstzjdbjc01:/$ fsck-y/goldengate

The current volume is:/dev/fslv01

Primary superblock is valid.

J2_logredo: log redo processingfor/dev/fslv01

Primary superblock is valid.

* ** Phase 1-initial inodescan

* ** Phase 2-process remainingdirectories

* ** Phase 3-process remainingfiles

* ** Phase 4-check and repairinode allocation Map

* ** Phase 5-check and repairblock allocation Map

File System is clean.

Superblock is marked dirty (fixed)

All observed inconsistencieshave been retries red.

 

After the repair is completed, Remount the/goldengate file system.

Cqstzjdbjc01:/$ DF-G

Filesystem GB blocks free % used iused % iused mounted on

/Dev/hd4 5.00 4.76 5% 10584 1%/

/Dev/hd2 20.00 16.91 16% 55561 2%/usr

/Dev/hd9var 10.00 9.59 5% 8446 1%/var

/Dev/hd3 10.00 5.11 49% 3152 1%/tmp

/Dev/hd1 10.00 3.77 63% 4077 1%/home

/Dev/hd11admin 5.00 5.00 1% 5 1%/admin

/Proc---/proc

/Dev/hd10opt 10.00 9.62 4% 10829 1%/OPT

/Dev/livedump 0.50 0.50 1% 4 1%/var/adm/RAS/livedump

/Dev/fslv00 80.00 33.97 58% 188672 3%/u01

Cqstzjdbjc01:/$ Mount

Node mounted over VFS date options

-----------------------------------------------------------------------

/Dev/hd4/jfs2 Feb 01 RW, log =/dev/hd8

/Dev/hd2/usr jfs2 Feb 01 16: 51 RW, log =/dev/hd8

/Dev/hd9var/var jfs2 Feb 01 16: 51 RW, log =/dev/hd8

/Dev/hd3/tmp jfs2 Feb 01 16: 51 RW, log =/dev/hd8

/Dev/hd1/home jfs2 Feb 01 16: 52 RW, log =/dev/hd8

/Dev/hd11admin/admin jfs2 Feb 01 16: 52 RW, log =/dev/hd8

/Proc procfs Feb 01 16: 52 RW

/Dev/hd10opt/OPT jfs2 Feb 01 16: 52 RW, log =/dev/hd8

/Dev/livedump/var/adm/RAS/livedump jfs2 Feb 01 16: 52 RW, log =/dev/hd8

/Dev/fslv00/u01 jfs2 Feb 01 16: 52 RW, log =/dev/hd8

Cqstzjdbjc01:/$ Mount/goldengate

Cqstzjdbjc01:/$ DF-G

Filesystem GB blocks free % used iused % iused mounted on

/Dev/hd4 5.00 4.76 5% 10584 1%/

/Dev/hd2 20.00 16.91 16% 55561 2%/usr

/Dev/hd9var 10.00 9.59 5% 8446 1%/var

/Dev/hd3 10.00 5.11 49% 3152 1%/tmp

/Dev/hd1 10.00 3.77 63% 4077 1%/home

/Dev/hd11admin 5.00 5.00 1% 5 1%/admin

/Proc---/proc

/Dev/hd10opt 10.00 9.62 4% 10829 1%/OPT

/Dev/livedump 0.50 0.50 1% 4 1%/var/adm/RAS/livedump

/Dev/fslv00 80.00 33.97 58% 188605 3%/u01

/Dev/fslv01 199.00 198.41 1% 563 1%/goldengate

 

Attempt to touch the file in the directory again and the execution is successful.

Cqstzjdbjc01:/home/Oracle/GGS $ CD/goldengate/GGS/dirpcs/

Cqstzjdbjc01:/goldengate/GGS/dirpcs $ touch1.pcr

Then the replicat process can be started successfully.


For reprint, please indicate the author's source and original article link:


Http://blog.csdn.net/xiangsir/article/details/8837198


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.