Operating System - HP-UX
1748051 Members
5101 Online
108757 Solutions
New Discussion

Ignite backup not working

 
SOLVED
Go to solution
Syedfurquan
Trusted Contributor

Ignite backup not working

Hello Expert,

I have one parisc server with OS as HP-UX 11.11. I am trying to take ignite backup but getting error and backup failing because of that.

 

ERROR: "/var/opt/ignite/recovery/archive_cfg, line 387: syntax error

 

384 impacts = "/.netscape/cache" 40Kb

385 impacts = "/.netscape/xover-cache/host-news" 8Kb

386 impacts = "/.java" 8Kb

387 impacts = "/.java/.userPerfs/!' :bw"t!#4!a!"w!#4!bw"2" 8Kb

388 impacts = "/backup" 40Kb

389 impacts = "/backup/.dat" 8Kb

 

When I check the following error directory it has as follows:

 

1. /.netscape

drwx------ 5 root sys 8192 Mar 26 2006 .netscape

 

2. /.java

drwx------   3 root       users         8192 Dec  9  2010 .userPrefs

 

3. cd /backup
# ll
total 80
-rw-------   1 root       sys              0 Sep 17  2003 .ICEauthority
-rw-------   1 root       sys             63 Sep 17  2003 .TTauthority
-rw-------   1 root       sys             49 Sep 17  2003 .Xauthority
drwxr-xr-x  11 root       sys           8192 Sep 17  2003 .dt
-rwxr-xr-x   1 root       sys           5451 Sep 17  2003 .dtprofile
-r--r--r--   1 root       sys           1089 Sep 17  2003 .profile
drwxr-xr-x   5 root       sys             96 Sep 17  2003 .sw

 

I checked with my Database and application team they all are saying these files are not related to them. Also all the directory have root and sys access. Just need you expert optinions can I proceed to delete these files to have successfull Ignite backup.

 

I can take ignite backup excluding these files but just want to get rid of these directory and have a successfull ignite backup without any issue.

 

Appreciate you expert help on this.

 

Regards,

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > ignite - HP Forums moderator

 

Regards,
Syed
26 REPLIES 26
Dennis Handly
Acclaimed Contributor
Solution

Re: Ignite backup not working

>387 impacts = "/.java/.userPerfs/!' :bw"t!#4!a!"w!#4!bw"2" 8Kb

 

It looks like the problem is the embedded double quotes.

Ignite doesn't like embedded spaces and probably quotes too?

 

You could rename the file, get it backed up.  And if anyone has problems, at least you have a copy.

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hi Dennis,

 

I think double quote is only showing in ignite backup message log. In actual file or directory there is no double quote. You can see the structure of each directory in my earlier post

 

Can I delete these directory? will it cause any issue or any otherway to overcome this issue.

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>You can see the structure of each directory in my earlier post

 

You listed the directory only, not the content of .userPrefs.

When you list the content, please add -b so we can see unprintable chars.

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Thanks.Let me check and I will post the O/P here. Have weekend now so once start next week, surely I will check and update you.

Regards,
Syed
Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hi,

 

I tried to look into the /.java & /.netscape /backup directory listwhich are causing issues in my ignite backup. The O/P are as follows:

 

# cd .java
# ll -b
total 16
drwx------   3 root       users         8192 Dec  9  2010 .userPrefs
# cd .userPrefs
# ll -b
total 0
-rw-------   1 root       users            0 Dec  9  2010 .user.lock.root


-rw-------   1 root       users            0 Dec  9  2010 .userRootModFile.root
drwxr-xr-x   2 root       users           96 Dec  9  2010 _!':!bw"t!#4!a!"w!#4!bw"2

 

# cd .netscape

 

# ll -b
total 976
drwx------   2 root       sys             96 Aug  9  2003 archive
-rw-------   1 root       sys           4568 Aug  9  2003 bookmarks.html
drwx------  34 root       sys           8192 May 20  2004 cache
-rw-------   1 root       sys         344064 Aug  9  2003 cert7.db
-rw-------   1 root       sys          24576 Mar 26  2006 history.dat
-rw-rw-r--   1 root       sys            112 Nov 14  2005 history.list
-rw-------   1 root       sys          32768 Aug  9  2003 key3.db
-rw-rw-r--   1 root       sys           1043 Mar 26  2006 liprefs.js
-rw-rw-r--   1 root       sys            298 Mar 26  2006 plugin-list
-rw-rw-r--   1 root       sys            298 Nov 14  2005 plugin-list.BAK
-rw-rw-r--   1 root       sys           2832 Mar 26  2006 preferences.js
-rw-rw-r--   1 root       sys            738 Mar 26  2006 registry
-rw-------   1 root       sys          32768 Mar 26  2006 secmodule.db
drwxr-xr-x   3 root       sys             96 Aug  9  2003 xover-cache

 

# cd ../backup
# pwd
/backup
# ll -b
total 80
-rw-------   1 root       sys              0 Sep 17  2003 .ICEauthority
-rw-------   1 root       sys             63 Sep 17  2003 .TTauthority
-rw-------   1 root       sys             49 Sep 17  2003 .Xauthority
drwxr-xr-x  11 root       sys           8192 Sep 17  2003 .dt
-rwxr-xr-x   1 root       sys           5451 Sep 17  2003 .dtprofile
-r--r--r--   1 root       sys           1089 Sep 17  2003 .profile
drwxr-xr-x   5 root       sys             96 Sep 17  2003 .sw

 

Please suggest.

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>drwxr-xr-x   2 root       users           96 Dec  9  2010 _!':!bw"t!#4!a!"w!#4!bw"2

 

So no unprintable chars, just Unix unfriendly chars.

As I said above, just rename it.  Since it has both types of quotes, you need to do something like:

mv "_!':!bw\"t!#4!a!\"w!#4!bw\"2" _!SQ:!bwDQt!#4!a!DQw!#4!bwDQ2

 

Then you can look inside that directory.

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hello Expert,

 

I am able to take ignite backup now but it is completing with the following WARNING:

 

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

 

I tried to list /tntabhome/dat if any special or non printable character is there but couldn't find any.

 

# ls -b tntabhome/dat
.cshrc        EFT001.pnd    atmcards.txt  infile        sign
.exrc         NBBarch       autorel       interface     swift
.login        api           batchPosting  lost+found    transfer
.profile      api_seq       crdcards.txt  opc
.sh_history   arch          dump          rates

 

Anyhelp on this how to resolve this issue and take a ignite backup without any warning.

 

Regards

Regards,
Syed
Dennis Handly
Acclaimed Contributor

Re: Ignite backup not working

>I tried to list /tntabhome/dat if any special or non printable character

 

You need to list the directory itself, not the contents:  (But if you were able to list it, then no blanks.)

$ ll -d -b tntabhome/dat

 

Can you look at the format of the lines around that line in /var/opt/ignite/recovery/2013-02-04,13:07/flist?

Search for the timestamp of 1120047583.

 

14 is the number of chars in "tntabhome/dat", so there is a blank on the end.

Syedfurquan
Trusted Contributor

Re: Ignite backup not working

Hello Dennis,

 

I tried to list /tntabhome/dat directory and it gives the following O/P.

 

# ll -d -b tntabhome/dat
drwxrwxr-x  16 tntabftp   tntabtc4      2048 Dec  4  2006 tntabhome/dat

 

As per your suggestion I tried to view the /var/opt/ignite/recovery/2013-02-04,13:07/flist and tried to search 1120047583. I can see two entry over there which are as follows:

 

47 tntabhome/dat /dump/dbpreeod3.29-JUN-2005.dmp.Z 100644 1120047583 836941 818
47 tntabhome/dat /dump/dbpreeod2.29-JUN-2005.dmp.Z 100644 1120047600 27990163 27335

 

Please suggest.

Regards,
Syed