Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / September 2004

Tip: Looking for answers? Try searching our database.

[Info-Ingres] Jnl Sub-Directory Disappear

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Evans - 28 Sep 2004 18:36 GMT
I have a weird situation.  Three times in the past week the
sub-directories of the journal directory gets corrupted in some way -
causing the archiver to fail.

My journal directory is /jnl/ingres/jnl/default/dbnames

The system works for a while maybe 24 hours and then when you check the
archiver has died.  When checking the iiacp.log there will be message
indicating that the system could not write the log transactions to the
journal file.

During the checking process I would cd /jnl/ingres/jnl/default/dbnames
and I would see the specific .jnl file.  However if I do a 'pwd' I get
a message indicating the 'current directory cannot be obtained'.   If I
do a cd /jnl and do a pwd I get the right answer /jnl.  However if I do
a 'ls' I get nothing - yet I can still cd right down to the dbnames
part of the tree.

This seems to be an OS problem but I have no idea where to look.  The
OS is Solaris 8.
(I am running Ingres 2.6/0305 with patch 10117)

As of now the system is running since we have re-created the file
system - but the filesystem hasn't lasted too long in the past week so
I am not too sure how long it is going to last.

Anyone have any ideas as to the cause of the problem ?

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

Regards

Mike Evans

Vision Systems Software

Tel #: 246-431-0193
Fax#: 246-431-0192
Steve McElhinney - 29 Sep 2004 11:15 GMT
Michael,
Looks like the hard disk that /jnl is mounted on is dying a slow
painful death,
you've proved that this is problem is external to Ingres which is
helpful.

Try looking in /var/adm/messages (IIRC there is also a syslog file
somewhere) or at the console itself,
or look for in mail sent to the root user; some disk/hardware error
messages should be appearing somewhere
to confirm the failure.

In the meantime, you could create a symbolic link from the
/jnl/ingres/jnl path to a new directory
on a different physical disk, this will cause the jnls to be created
away from the problem
area which should stop the archiver crashing and give you usable (but
unsupported) journals.
This is a step forward as you currently have no journals. Take your DB
checkpoints more often
if you're concerned about using symbolic links in this way.

Another suggestion;
There is a script called acpexit in the utility directory which is
called when the archiver
shutsdown, you could change this script to notify you via email (or
some other means) of archiver problems.

HTH
Steve McElhinney

> I have a weird situation.  Three times in the past week the
> sub-directories of the journal directory gets corrupted in some way -
[quoted text clipped - 34 lines]
> Tel #: 246-431-0193
> Fax#: 246-431-0192
Gareth Williams - 29 Sep 2004 11:44 GMT
I've had a similar problem in the last week...

ingres 2.6/3035 64bit (solaris 9 64bit)

I have a database named training, now I did roll this forward last week, but
for some reason the ../jnl/training directory got untar'ed as a file and not
a directory, this not surprisingly caused the archiver to stop.

I've also had problems where I've typed createdb the os replies command not
found. you type "which createdb", the os replies /systems/ingres/bin, you
then type createdb test, the os replies command not found.

Work that one out.

I'm not suere whether there's something wrong with Ingres or Solaris I've
got calls logged for both.

what kit are you running this on?

-----Original Message-----
From: stevem@141.com [mailto:stevem@141.com]
Sent: 29 September 2004 11:16
To: info-ingres@ams.org
Subject: Re: [Info-Ingres] Jnl Sub-Directory Disappear

Michael,
Looks like the hard disk that /jnl is mounted on is dying a slow
painful death,
you've proved that this is problem is external to Ingres which is
helpful.

Try looking in /var/adm/messages (IIRC there is also a syslog file
somewhere) or at the console itself,
or look for in mail sent to the root user; some disk/hardware error
messages should be appearing somewhere
to confirm the failure.

In the meantime, you could create a symbolic link from the
/jnl/ingres/jnl path to a new directory
on a different physical disk, this will cause the jnls to be created
away from the problem
area which should stop the archiver crashing and give you usable (but
unsupported) journals.
This is a step forward as you currently have no journals. Take your DB
checkpoints more often
if you're concerned about using symbolic links in this way.

Another suggestion;
There is a script called acpexit in the utility directory which is
called when the archiver
shutsdown, you could change this script to notify you via email (or
some other means) of archiver problems.

HTH
Steve McElhinney

> I have a weird situation.  Three times in the past week the
> sub-directories of the journal directory gets corrupted in some way -
[quoted text clipped - 34 lines]
> Tel #: 246-431-0193
> Fax#: 246-431-0192
_______________________________________________
Info-ingres mailing list

English:- This message is confidential. If you are not the intended
recipient of the message then please notify the sender immediately. Any of
the statements or comments made above should be regarded as personal and not
necessarily those of Bro Morgannwg NHS Trust, any constituent part or
connected body. Cymraeg:- Mae'r neges hon yn gyfrinachol. Os nad chi yw'r
derbynnydd y bwriedid y neges ar ei gyfer, byddwch mor garedig â rhoi gwybod
i'r anfonydd yn ddi-oed. Dylid ystyried unrhyw ddatganiadau neu sylwadau a
wneir uchod yn rhai personol, ac nid o angenrhaid yn rhai o eiddo
Ymddiriedolaeth GIG Bro Morgannwg, nac unrhyw ran gyfansoddol ohoni na
chorff cysylltiedig.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.