?
Solved

backup failing due to strange logs in rhel 5.5

Posted on 2013-07-01
9
Medium Priority
?
1,190 Views
Last Modified: 2013-08-03
Hi Please help me to fix the problem

These logs are coming when backup failed:

more db2_stderr.010213
su: cannot set user id: Resource temporarily unavailable
su: cannot set user id: Resource temporarily unavailable

Below logs are coming in /var/log/secure

 pam_keyinit(su-l:session): Unable to change UID to 3231 temporarily

Please help
0
Comment
Question by:apunkabollywood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
9 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 150 total points
ID: 39290766
can you elaborate more on the problem? Are you taking backup or restoring? Are you using root account or normal user account? Can you share the command / script used?
0
 
LVL 14

Assisted Solution

by:comfortjeanius
comfortjeanius earned 1350 total points
ID: 39290822
0
 

Author Comment

by:apunkabollywood
ID: 39290864
some more logs:

 cat db2_stdout.070113
DB2_CLIENT = hostname
DB2_SERVER = hostname2
DB2_POLICY = DB2_ONLINE
DB2_SCHED = DB2_ONLINE
DB2_FULL = 1
DB2_CINC = 0
DB2_INCR = 0
Executing: db2 BACKUP DATABASE P30  online LOAD /usr/openv/netbackup/bin/nbdb BUFFER 1024 INCLUDE LOGS
SQL20  An error occurred while accessing media
"/usr/openv/netbackup/bin/nbdb".  Reason code: "514"

#/usr/openv/netbackup/logs/bphdb/log.07

bphdb: INF - Processing /usr/openv/netbackup/ext/db2/scripts/db2_backup_online
bphdb: INF - Child executing /usr/openv/netbackup/ext/db2/scripts/db2_backup_online
bphdb: INF - Waiting for the child status
 bphdb: ERR - Script exited with status = 4 <archive file removal failed>
bphdb: WRN - Directory /usr/openv/netbackup/logs/bpubsdb2 does not exist
 bphdb: ERR - bphdb exit status = 6: the backup failed to back up the requested files
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:apunkabollywood
ID: 39290894
Also please advice do we need to reboot the machine to make the changes permanent of limits.conf and sysctl.conf please advice?
0
 
LVL 14

Accepted Solution

by:
comfortjeanius earned 1350 total points
ID: 39290999
limits.conf takes effect when the user authenticates, so you can just restart the service.

for sysctl.conf

Free BSD

sudo /etc/rc.d/sysctl reload

Other Distribution of Linux try:

sudo sysctl -p /etc/sysctl.conf

You will not have to worry about rebooting.
0
 

Author Comment

by:apunkabollywood
ID: 39292156
which service i need to restart ? for limits.conf?
0
 

Author Comment

by:apunkabollywood
ID: 39292734
Hi I also came to know that we cant use FC direct with vmware ESX is it correct if yes than do you haev any idea - and than what we will use as an alternative if we need to use FC from our VM linux machine to tape drives?
0
 

Author Comment

by:apunkabollywood
ID: 39293832
Please ignore last comment wrongly pasted:

Look at some more new logs:

Error bprd (pid=1234) Unable to write progress log </usr/openv/netbackup/logs/user_ops/dbext/logs/20159.0log> on client clienthost. Policy=DB2_P30_LOG Sched=DB2_P30_LOG_SC
 Error bprd (pid=1234) CLIENT clienthost  POLICY DB2_P30_LOG  SCHED DB2_P3

Please guide
0
 

Author Closing Comment

by:apunkabollywood
ID: 39379451
Thank you
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question