Solved

backup failing due to strange logs in rhel 5.5

Posted on 2013-07-01
9
1,146 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
  • 6
  • 2
9 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 50 total points
Comment Utility
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
Comment Utility
0
 

Author Comment

by:apunkabollywood
Comment Utility
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
 

Author Comment

by:apunkabollywood
Comment Utility
Also please advice do we need to reboot the machine to make the changes permanent of limits.conf and sysctl.conf please advice?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 14

Accepted Solution

by:
comfortjeanius earned 450 total points
Comment Utility
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
Comment Utility
which service i need to restart ? for limits.conf?
0
 

Author Comment

by:apunkabollywood
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now