Solved

backup failing due to strange logs in rhel 5.5

Posted on 2013-07-01
9
1,169 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
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

740 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