OK, first things first: this is NOT a "tar error"! This is tar complaining that it can't read a file properly. So the error is with the file somehow (undetermined: everything from a corrupt file system to some problem with the file itself, maybe some DB process still running and locking the file while tar was working on it), not with tar. It is only natural that your database stopped working once you restored such a faulty backup.
I'd first try to find out what is wrong with the file. The following command will do nothing to correct anything but might shed light upon what is wrong (don't do it while the DB is running!):
If this command works your file is OK and it might have been a temporary condition (like the DB stilll running). If this produces an error you will see where exactly in the file the problem is (because you read it in 1k-chunks).
When I tried to decompress using TAR the following error was popped up..
tar: blocksize = 0
..Can anyone tell me wht this means and how to rectify this error... (3 Replies)
Hi
i am facing one problem with one file dxagent.ss, this file has most of the binary contents.
when i m running following command on unix machine
tar xpf dxagent.ss
output should be: removing leading '/' from members name. and should create 'usr' and 'var' directory.
but i am getting some... (5 Replies)
When Im trying to untar a file I get an error message
tar: 0511-169 A directory checksum error on media; 804399248 not equal to 46325.
What can I do to untar my file
Thanks (3 Replies)
Hi,
WHile decompressing the files, i get the error tar: directory checksum error. After decompressing when i check the size of file, it is less than the original file. Due to this error, there is loss of data. How can this error be removed?
Thanks in advance. (7 Replies)
Hi
when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape,
get the following message "tar: error exit delayed form pervious error",
What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Dear all,
there are more than 10 files with .tar.gz extension in my folder i didnt want to extract them i just want to run the query to fetch my necessary data from all the files.
but when i run the command it untar the files in that folder.
gunzip -c abc.tar.gz | tar -xf - | grep REC |... (0 Replies)
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
do you have idea what is the limit to zip the file.
+ tar -cvf - today.txt
tar: Size of today.txt >= 8GB. Not dumped. (3 Replies)
Discussion started by: ramkumar15
3 Replies
LEARN ABOUT DEBIAN
test::database::handle
Test::Database::Handle(3pm) User Contributed Perl Documentation Test::Database::Handle(3pm)NAME
Test::Database::Handle - A class for Test::Database handles
SYNOPSIS
use Test::Database;
my $handle = Test::Database->handle(@requests);
my $dbh = $handle->dbh();
DESCRIPTION
"Test::Database::Handle" is a very simple class for encapsulating the information about a test database handle.
"Test::Database::Handle" objects are used within a test script to obtain the necessary information about a test database handle. Handles
are obtained through the "Test::Database->handles()" or "Test::Database->handle()" methods.
METHODS
"Test::Database::Handle" provides the following methods:
new( %args )
Return a new "Test::Database::Handle" with the given parameters ("dsn", "username", "password").
The only mandatory argument is "dsn".
The following accessors are available.
dsn()
Return the Data Source Name.
username()
Return the connection username.
password()
Return the connection password.
connection_info()
Return the connection information triplet ("dsn", "username", "password").
dbh( [ $attr ] )
Return the DBI database handle obtained when connecting with the connection triplet returned by "connection_info()".
The optional parameter $attr is a reference to a hash of connection attributes, passed directly to DBI's "connect()" method.
name()
Return the database name attached to the handle.
dbd()
Return the DBI driver name, as computed from the "dsn".
driver()
Return the "Test::Database::Driver" object attached to the handle.
AUTHOR
Philippe Bruhat (BooK), "<book@cpan.org>"
COPYRIGHT
Copyright 2008-2010 Philippe Bruhat (BooK), all rights reserved.
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-11-27 Test::Database::Handle(3pm)