Backup failed unexpectedly! ERROR
Hi,
My Vertica backups were working great untill i updated to the last version.
I use vbr.py but i get the message "backup failed unexpectedly!" every time i try to use it.
I even tried to do the --setupconfig but it doesn't help...
Does someone has an idea ?
Thanks
My Vertica backups were working great untill i updated to the last version.
I use vbr.py but i get the message "backup failed unexpectedly!" every time i try to use it.
I even tried to do the --setupconfig but it doesn't help...
Does someone has an idea ?
Thanks
0
Comments
Can you post the contents of the created config file?
[Misc]snapshotName = fullBackup
restorePointLimit = 1
[Database]
dbName = xxxxxx
dbUser = yyyyyy
[Transmission]
[Mapping]
v_xxxxxx_node0001 = 127.0.0.1:/tmp/vbr
If i add the --debug 3 option i can see this error:
Traceback (most recent call last): File "/opt/vertica/bin/vbr.py", line 2526, in backup
prepareAll()
File "/opt/vertica/bin/vbr.py", line 1888, in prepareAll
configCheck()
File "/opt/vertica/bin/vbr.py", line 506, in configCheck
concurrency_upperboud = int(subprocess.Popen(['ulimit -u'], shell=True, stdout= subprocess.PIPE).communicate()[0].strip())
ValueError: invalid literal for int() with base 10: 'unlimited'
backup failed unexpectedly!
Thansk for your help
Can you provide the output of ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Dec 17 10:53 /bin/sh -> bash
ulimit -u
1. Can you post output for: 2. Modify limits.conf file, set max number of processes (lets say db super user is dbadmin): 3. Validate settings: do reboot and try backup.
PS
Try to validate it without reboot, set limit manually and if it do not hangs an error run backup.
*********
How to set limit manually? if it do not throws an error so try to do a backup.
*********
Example of error: Regards, idiot
I will ask to run a first command from my post above one more time. You have to set a proper value(65536 - is an arbitrary value) for nproc (the key is max_user_proc)