Sybase backup not starting
Dear All,
we configured to backup the sybase system in netbackup. when we triggered the manuall backup from sybase system side, backup working fine and completed without any errors.
but while trying to start backup from netbackup console, it got cancelled. i found the error message in bphdb log file as below in sybase system.
Your sybase home directory is /sybase/XID. Check the environment variable SYBASE if it is not the one you want!
Using locale name "POSIX" defined in environment variable LANG
Locale name "POSIX" doesn't exist in your /sybase/XID/locales/locales.dat file
Environment variable as below for root user and backup user.
for root user:
xidvsrv:/usr/openv/netbackup/logs/bphdb # locale
LANG=POSIX
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
for backup user
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
please help me to resolve the issue and how to make the script to run as backup user.
Balaji
Hi Marianne,
Thanks for the reply.
in sample script su - user lines not mentioned. but after that i found KB https://www.veritas.com/support/en_US/article.000095787
now environment variable error resolved.
Thanks & Regards
Balaji.