Unix Technical Forum

Backup fails with SQL2059

This is a discussion on Backup fails with SQL2059 within the DB2 forums, part of the Database Server Software category; --> Hello, we are using AIX 5.3 and DB2 V8.2 Fixlevel 9. The attempt to backup a database of 50 ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:41 AM
schepers
 
Posts: n/a
Default Backup fails with SQL2059

Hello,

we are using AIX 5.3 and DB2 V8.2 Fixlevel 9.

The attempt to backup a database of 50 GB leads to a message
SQL2059 and a 1 GB-fragment of the backup although there is sufficient
free space in the filesystem.

The diag2log offers no clues.

Before moving to Fixlevel 9 the backup worked well even with larger
file size.

Regards,
Jörg

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/DB2-Backup-f...ict249578.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=864331
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:41 AM
Phil Sherman
 
Posts: n/a
Default Re: Backup fails with SQL2059

I seem to recall seeing this error a long time ago on AIX systems when
there's plenty of space.

Try splitting the backup into two pieces in different directories. If
each goes to 1g then look for file size limitations. If the two files
grow to 500mb each and the backup quits; look for a quota issue. You'll
need assistance from your friendly system administrator to fix either.


Phil Sherman



schepers wrote:
> Hello,
>
> we are using AIX 5.3 and DB2 V8.2 Fixlevel 9.
>
> The attempt to backup a database of 50 GB leads to a message
> SQL2059 and a 1 GB-fragment of the backup although there is sufficient
> free space in the filesystem.
>
> The diag2log offers no clues.
>
> Before moving to Fixlevel 9 the backup worked well even with larger
> file size.
>
> Regards,
> Jörg
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:42 AM
jdokos
 
Posts: n/a
Default Re: Backup fails with SQL2059

It looks like the ulimit for filesize is set to the default (1GB) for
the user that started db2. You can do ulimit -a as that user to
verify, or check the /etc/security/limits file (if you are unsure who
started db2) and confirm that all members of the SYSADM/CTRL/MAINT have
fsize set to -1. If a change is made to a ulimit you will need to
restart db2 as the settings are checked only at start time.

Jeff

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com