Solved

backup failing due to strange logs in rhel 5.5

Posted on 2013-07-01
9
1,183 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 50 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 450 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
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!

 

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 450 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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

724 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