Operating System - HP-UX
1752796 Members
6156 Online
108789 Solutions
New Discussion юеВ

Re: Ignite complete with warnings

 
SOLVED
Go to solution
Syedfurquan
Trusted Contributor

Ignite complete with warnings

Hello Dennis,

Opening a new post as i think older post got multiple issue and getting confused.

 

As posted in my earlier post ignite backup completed with warning. The warning message comes as:

WARNING: There was a problem with the list of files/directories to archive.
         Input: /var/opt/ignite/recovery/2013-02-25,08:56/flist
         The following line(s) had too few/incorrect entries in each of them.
         Problem lines:
         line: 18 tntabhome/dat/dat  40777 1120047583 96 0

 

When i try to see flist I can see

18 tntabhome/dat/dat  40777 1120047583 96 0
23 tntabhome/dat/dat /dump 40777 1120383967 96 0
51 tntabhome/dat/dat /dump/dbpreeod3.29-JUN-2005.dmp.Z 100644 1120047583 836941
818
51 tntabhome/dat/dat /dump/dbpreeod2.29-JUN-2005.dmp.Z 100644 1120047600 2799016
3 27335

 

It looks i have done some mistake in renaimg the file. You provided me the following command to rename

mv "tntabhome/dat " tntabhome/dat

It looks I have created one more directory /dat in /tntabhome/dat.

 

Please correct my mistake.

Regards,
Syed
10 REPLIES 10
Dennis Handly
Acclaimed Contributor

Re: Ignite complete with warnings

>It looks I have created one more directory /dat in /tntabhome/dat.

 

Please provide this output:

ll -ib /tntabhome

Syedfurquan
Trusted Contributor

Re: Ignite complete with warnings

Requested O/P in attachment.

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite complete with warnings

>Requested O/P in attachment.

 

I only see the one dat in that directory.  So go ahead and try that mv:

mv "/tntabhome/dat " /tntabhome/dat

Syedfurquan
Trusted Contributor

Re: Ignite complete with warnings

When I go inside /tntabhome/dat I can see,

 

# cd /tntabhome/dat
# ll
total 80
-rwxrwxr-x   1 tntabftp   tntabtc4       832 Feb 13  2004 .cshrc
-rwxrwxr-x   1 tntabftp   tntabtc4       347 Feb 13  2004 .exrc
-rwxrwxr-x   1 tntabftp   tntabtc4       334 Feb 13  2004 .login
-rwxrwxr-x   1 tntabftp   tntabtc4       439 Feb 13  2004 .profile
-rw-------   1 tntabftp   tntabtc4        46 Jan  6  2003 .sh_history
-rwxr-xr-x   1 tntabtc4   tntabtc4         0 Sep  5  2003 EFT001.pnd
drwxrwxr-x   5 tntabftp   tntabtc4        96 May 22  2004 NBBarch
drwxrwxr-x   2 tntabtc4   tntabtc4      3072 Apr 20  2009 api
-rwxr-xr-x   1 tntabtc4   tntabtc4         3 Sep  7  2003 api_seq
drwxrwxr-x  100 tntabtc4   tntabtc4      3072 Nov  2  2004 arch
-rw-rw-r--   1 tntabftp   tntabtc4       162 Dec  4  2006 atmcards.txt
drwxrwxr-x   3 tntabtc4   tntabtc4        96 Apr  3  2004 autorel
drwxrwxr-x   2 tntabtc4   tntabtc4      1024 May 26  2004 batchPosting
-rw-rw-r--   1 tntabftp   tntabtc4       162 Dec  4  2006 crdcards.txt
drwxrwxrwx   3 tntbhftp   rcs             96 Jun 29  2005 dat
drwxrwxrwx   2 tntabtc4   tntabtc4     11264 Jul  3  2005 dump
drwxrwxr-x   2 tntabtc4   tntabtc4     13312 Sep 22  2008 infile
drwxrwxr-x   7 tntabtc4   tntabtc4        96 Feb 13  2004 interface
drwxr-xr-x   2 root       root            96 May  8  2004 lost+found
drwxrwxr-x   5 tntabtc4   tntabtc4        96 Feb 13  2004 opc
drwxrwxr-x   2 tntabtc4   tntabtc4        96 Mar  3  2004 rates
drwxrwxr-x   2 tntabtc4   tntabtc4        96 May 26  2004 sign
drwxrwxr-x   6 tntabtc4   tntabtc4        96 May  8  2004 swift
drwxrwxr-x   2 tntabtc4   tntabtc4      1024 May  4  2009 transfer
# cd dat
ksh: dat:  not found

 

This dat directory was not there earlier before running the command :

mv "/tntabhome/dat " /tntabhome/dat

we run last time.

 

 

 

Regards,

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite complete with warnings

>When I go inside /tntabhome/dat I can see,

 

Oops, didn't look close enough.

 

I'm not sure how that mv would create a deeper directory.  Unless there was a dat AND a "dat ".

 

So you can do:

1) mv "/tntabhome/dat/dat " /tntabhome/dat2

2) mv /tntabhome/dat/* /tntabhome/dat2

3) rmdir /tntabhome/dat

4) mv /tntabhome/dat2 /tntabhome/dat

Syedfurquan
Trusted Contributor

Re: Ignite complete with warnings

I am unable to go inside /tntabhome/dat/dat

 

# pwd
/tntabhome/dat

# cd dat
ksh: dat:  not found

 

Hence when I try your command

# mv "/tntabhome/dat/dat  " /tntabhome/dat2
mv: /tntabhome/dat/dat  : cannot access: No such file or directory

 

It didn't work.

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite complete with warnings

>I am unable to go inside /tntabhome/dat/dat

 

You tried it with a trailing space.  I assume the directory is still there?

 

In /tntabhome/dat try:

ls -1 -b d* | vis

Syedfurquan
Trusted Contributor

Re: Ignite complete with warnings

O/P requested:

 

# pwd
/tntabhome/dat
# ls -1 -b d* | vis

 

dat :
dump

 

dump:
ISIN.in
bkup_full_tntabdbbeforerestore.dmp.Z
dbpreeod1.29-JUN-2005.dmp
dbpreeod2.29-JUN-2005.dmp
dbpreeod3.29-JUN-2005.dmp
dbpreeod4.29-JUN-2005.dmp
preeoddwhdb.29-JUN-2005.dmp

Regards,
Syed
Dennis Handly
Acclaimed Contributor
Solution

Re: Ignite complete with warnings

>dat :

 

So it looks like a space.

In /tntabhome/dat, you should be able to do:

mv "dat " ../dat2

 

Oops, it looked like I had two spaces in the line like this above:

1) mv "/tntabhome/dat/dat " /tntabhome/dat2