Forum Discussion

BDunbar_8799's avatar
BDunbar_8799
Icon for Nimbostratus rankNimbostratus
Dec 29, 2010

Backup is broken

I have a unit in my development environment with a broken chassis fan. F5 is sending me a new one, I'm replacing the system on 12/31.

 

 

1. To prepare for replacing this unit I executed a backup. The backup process issued an error:

 

 

[root@co-net-997sc:Active] ~ b config save /var/tmp/ltm_backup

 

Saving active configuration...

 

/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'

 

/bin/sh: -c: line 1: syntax error: unexpected end of file

 

Fatal: executing: md5sum /config/""/var/class/sorrypage.class"

 

Operation aborted.

 

/tmp/configsync.spec: Error creating package

 

 

WARNING:There are error(s) during saving.

 

Not everything was saved.

 

Be very careful when using this saved file!

 

 

Error creating package

 

BIGpipe: 01110001:3: Error running config save

 

[root@co-net-997sc:Active]

 

 

 

 

2. I then recalled that I had, on this unit, early this year, fooled around with the 'Host that Sorry Page on your BIG-IP!' tip: http://devcentral.f5.com/weblogs/jason/archive/2009/05/12/host-that-so

 

 

rry-page-on-your-big-ip.aspx

 

 

3. I used the GUI to delete the data group 'sorrypage'. It is now gone from the GUI.

 

 

4. Re-ran the backup. It's still failing!

 

 

[root@co-net-997sc:Active] config b config save /var/tmp/ltm_backup

 

Saving active configuration...

 

/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'

 

/bin/sh: -c: line 1: syntax error: unexpected end of file

 

Fatal: executing: md5sum /config/""/var/class/sorrypage.class"

 

Operation aborted.

 

/tmp/configsync.spec: Error creating package

 

 

WARNING:There are error(s) during saving.

 

Not everything was saved.

 

Be very careful when using this saved file!

 

 

Error creating package

 

BIGpipe: 01110001:3: Error running config save

 

[root@co-net-997sc:Active]

 

 

 

5. Ran qkview, ftp'd to local, ran grep and LO it appears I have issues:

 

 

% cat co-net-997sc.na.plexus.com-tech.out | grep sorry

 

0 -rw-r--r-- 1 root webusers 0 Nov 10 15:47 sorrypage.class"

 

b class sorrypage_class extern'{

 

filename "/var/class/sorrypage.class

 

b class sorrypage_class extern'{ type string filename "/var/class/sorrypage.class}'

 

b class sorrypage_class

 

b class sorrypage_class extern

 

b class sorrypage_class extern'{ type string filename "/var/class/sorrypage.class"}'

 

2010-12-28 14:09:22,698 ERROR [Thread-18] datagroup.DataGroupListHandler:trigger - Failed to delete data group:sorrypage_class

 

Setting search text:sorry

 

2010-12-28 14:09:22,698 ERROR [Thread-18] datagroup.DataGroupListHandler:trigger - Failed to delete data group:sorrypage_class

 

2010-12-28 14:09:22,698 ERROR [Thread-18] datagroup.DataGroupListHandler:trigger - Failed to delete data group:sorrypage_class

 

2010-06-30 11:42:59,877 ERROR [Thread-16] virtual_server.VirtualServerPropertiesHandler:error - java.sql.SQLException: 01070394:3: HTTP_REQUEST event in rule (sorrypage_2) requires an associated HTTP or FASTHTTP profile on the virtual server (agile_PY_7001). in statement [SET TRANSACTION END]

 

Caused by: java.sql.SQLException: 01070394:3: HTTP_REQUEST event in rule (sorrypage_2) requires an associated HTTP or FASTHTTP profile on the virtual server (agile_PY_7001).

 

Caused by: 01070394:3: HTTP_REQUEST event in rule (sorrypage_2) requires an associated HTTP or FASTHTTP profile on the virtual server (agile_PY_7001).

 

briandunbar@natasha ~/foo/f5/qk

 

 

 

6. I'd like to use the backup file to re-build the 'new' system instead of re-building everything by hand. Is it possible to get this error cleaned up before 12/31? If 'N', it's not a huge deal.

 

 

Thanks in advance,

 

 

~brian
  • Hi Brian,

     

     

    It would probably be faster to open a case on this, but... can you try removing the actual class file (rm /var/class/sorrypage.class) and then retry the config save?

     

     

    Aaron
  • "It would probably be faster to open a case on this,"

     

     

    Already done - see C801912. Thought I'd get this in front of the community, perhaps other people can learn from my mistakes.

     

     

    "can you try removing the actual class file (rm /var/class/sorrypage.class) and then retry the config save? "

     

     

    I believe I did that after fooling around with the Sorry page. At any rate it's not there ...

     

     

     

    [root@co-net-997sc:Active] config cd /var/class

     

    [root@co-net-997sc:Active] class ls -ltr

     

    total 0

     

    [root@co-net-997sc:Active] class rm /var/class/sorrypage.class

     

    rm: cannot lstat `/var/class/sorrypage.class': No such file or directory

     

    [root@co-net-997sc:Active] class b config save /var/tmp/ltm_backup

     

    Saving active configuration...

     

    /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'

     

    /bin/sh: -c: line 1: syntax error: unexpected end of file

     

    Fatal: executing: md5sum /config/""/var/class/sorrypage.class"

     

    Operation aborted.

     

    /tmp/configsync.spec: Error creating package

     

     

    WARNING:There are error(s) during saving.

     

    Not everything was saved.

     

    Be very careful when using this saved file!

     

     

    Error creating package

     

    BIGpipe: 01110001:3: Error running config save

     

    [root@co-net-997sc:Active] class

     

  • Problem resolved: the issue was caused by two directories, /config/" and /config/""

     

     

    I didn't _see_ these, despite doing multiple listings of that directory because my terminal session rendered those characters to something like a '-', which my brain interpreted as . and ..