Chinaunix

标题: be2010备份LINUX ORACLE用户验证失败 [打印本页]

作者: hhy1363    时间: 2011-09-12 22:35
标题: be2010备份LINUX ORACLE用户验证失败
配置如下:

[oracle@lnx1 ~]$ /opt/VRTSralus/bin/AgentConfig
   
Symantec Backup Exec Remote Agent Utility
     Choose one of the following options:
     1. Configure database access
     2. Configure Oracle instance information
     3. Quit
     Please enter your selection: 1
   
Configuring machine information
     Choose one of the following options:
     1. Add system credentials for Oracle operations
     2. Edit system credentials used for Oracle operations
     3. Remove system credentials used for Oracle operations
     4. View system credentials used for Oracle operations
     5. Quit
     Please enter your selection:
[oracle@lnx1 ~]$ /opt/VRTSralus/bin/AgentConfig
   
Symantec Backup Exec Remote Agent Utility
     Choose one of the following options:
     1. Configure database access
     2. Configure Oracle instance information
     3. Quit
     Please enter your selection: 2
   
If this computer is a RAC node, you must perform additional steps for configuration before you continue. Refer to the readme for these additional steps.
   
Configuring the Oracle Agent
     Choose one of the following options:
     1. Add a new Oracle instance to protect
     2. Edit an existing Oracle instance
     3. Delete an existing Oracle instance
     4. View Oracle instance entries that have been added in the Remote Agent Utility
     5. Quit
     Please enter your selection: 1
     Select an Oracle instance to configure
          Entry 1. orcl
          Enter the number 0 to go back
     Enter your selection: 1
     Enter the Oracle database SYSDBA user name: sys
     Enter the Oracle database SYSDBA password:
     Re-enter password:
     Validating credentials.......
     Failed to login.
作者: 无牙    时间: 2011-09-13 10:06
你在本地连接有问题吗?
作者: hhy1363    时间: 2011-09-14 11:18
本地连接没有问题的
作者: yuan1824    时间: 2011-09-16 14:05
本帖最后由 yuan1824 于 2011-09-16 14:08 编辑

我也是这问题,关注中,楼主要是知道了,也告我一下,QQ :258516264
对了,你在配置这一步的时候要换成oracle用户,我这一步过了,到了be里sys怎么也验证不过去,
作者: hhy1363    时间: 2011-09-17 22:42
我今天在SYMANTEC网站上找到了一个文档:
Problem

Unable to authenticate SYS/SYSTEM account while configuring the Remote Agent for Linux/Unix Servers (RALUS) for Oracle Backup.



Error

Validating Credentials... Failed to login



Attempt to configure Remote agent for Linux/Unix Servers (RALUS) for Oracle backup fails as the Backup Exec Oracle Agent configuration utility (AgentConfig) is not able to authenticate with the Oracle Instance while configuring Oracle Instance information.


Figure 1.






Cause

1. If 32 bit Oracle Application is running on the x64 bit Operating platform.
2. If IPv6 is enabled.
3. If the account does not have SYSOPER and SYSDBA rights.
4. If older version of RALUS is being used to configure the Oracle Application.




Solution


1. Ensure 32bit Oracle application is not running on the x64 bit Linux operating system as it is not compatible to be backed up.

Refer to following article for more information

http://www.symantec.com/docs/TECH62026  

How to check the Linux Operating System Architecture.

1. Login to the system with root account.
2. At the prompt type # uname -a

Sample Uname -a Output

Linux localhost 2.6.22.17.tex2 #1 SMP Sun Feb 10 22:02:57 CST 2008 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz GNU/Linux


How to check whether the Oracle Application is 32bit or 64bit.

1. Login to the system with root account.
2. Change the directory to Oracle Home directory

# cd $ORACLE_HOME/bin

3.  Type at the prompt

# file oracl*

This will display the file type of your oracle binaries.

For Example , If you are running 64 bit binaries, then the output will be as follow

oracle: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped



2. Ensure IPv6 is disabled.

How to check whether IPv6 is enabled or not.

Use the IFCONFIG command to see the INET6 entries. INET6 indicates that IPv6 is enabled.

The sample out of IFCONFIG

eth0

Link encap:Ethernet HWaddr 00:14:85:9C:CC:55

inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::214:85ff:fe9c:cc55/64 Scope:Link

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:7856 errors:0 dropped:0 overruns:0 frame:0

TX packets:7856 errors:0 dropped:0 overruns:0 carrier:0

RX bytes:492016 (480.4 KiB) TX bytes:398 (398.0 b)

Interrupt:201 Memory:e1000000-0


How to disable the IPv6.


1. Edit the modprobe.conf file on the Linux box.

# vi /etc/modprobe.conf

Add line: alias net-pf-10 off

2. Reboot the Linux server to ensure the changes take effect.




3. Ensure SYS /SYSTEM have both SYSDBA and SYSOPER rights.

How to ensure the SYS account has required privilege.

1. Login to the system with account ORACLE

2. Connect to Oracle Database using the following command.

#  sqlplus /nolog
#  connect / as sysdba
#  column sysoper format a10;
#  column sysdba format a10;
#  select * from v$pwfile_users;

This will the show the output as shown in the figure 2.


Figure 2.

  

Note : The Value FALSE indicates that the account does not have those rights.

How to give appropriate rights to the account.

1. Login to the system with account ORACLE
2. Connect to Oracle Database using the following command.
3. Type grant sysoper to system as shown in fig 3


Figure 3.

  


4. Ensure correct version of RALUS is running.

1. Login to the system
2. At the prompt type # cat /var/VRTSralus/ralus.ver

This will output the Build number. Compare the Build number with Backup Exec Media Server. Both Media server and RALUS should have the same build.  



/apps/media/inquira/resources /resources   



Related Articles

TECH46461   Step by step installation of the Backup Exec Remote Agent for Linux and UNIX Servers (RALUS) on the Red Hat Linux platform.
TECH62026   "Unable to validate Oracle database credentials. Please try again" , while trying to configure remote agent utility for 32 bit oracle databse running on 64 bit server.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2