ERROR: Unable to connect to database using user ogg. Please check privileges.

测试环境,初步配置ogg,添加ogg用户连接数据库,提示无权限报错。

1.0 报错信息

GGSCI (enmo) 1> dblogin userid ogg,password ogg
ERROR: Unable to connect to database using user ogg. Please check privileges.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory.

2.0 数据库用户登录,权限排查

SQL> create user test001 identified by test001;   

User created.

SQL>
SQL> grant dba to test001;

Grant succeeded.

从报错字面理解报错信息: 无法连接数据库Ogg用户,请检查权限,数据库没有问题,Ogg是否存在问题

[[email protected] ogg]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sun Jan 27 22:04:48 2019

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL>
SQL> exit
[[email protected] ogg]$ env|grep SID
ORACLE_SID=t2  发现sid不同,home/base已排除

3.0 修改oracle_sid

[[email protected] ogg]$ vi ~/.bash_profile
修改oracle_sid内容
[[email protected] ogg]$ source ~/.bash_profile 

[[email protected] ogg]$ echo $ORACLE_SID
a11204
[[email protected] ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14

Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.

GGSCI (enmo) 1> dblogin userid ogg,password ogg
Successfully logged into database.

原文地址:https://www.cnblogs.com/lvcha001/p/10329367.html

时间: 2024-10-15 12:42:58

ERROR: Unable to connect to database using user ogg. Please check privileges.的相关文章

全量恢复gprecoverseg -F出现Unable to connect to database时的相关分析及解决方法

之前有两位朋友碰到过在对greenplum的系统构架更改后,出现全量恢复gprecoverseg -F也无法正常运行的情况. 报错信息为Unable to connect to database. Retrying 1 gprecoverseg failed. (Reason='Unable to connect to database and start transaction') exiting... 有幸拷得一份虚拟机上的全部文件,对其进行分析. 发现其实出现这个问题只需要修改pg_cha

greenplum全量恢复gprecoverseg -F出现Unable to connect to database时的相关分析及解决方法

之前有两位朋友碰到过在对greenplum的系统构架更改后,出现全量恢复gprecoverseg -F也无法正常执行的情况. 报错信息为Unable to connect to database. Retrying 1 gprecoverseg failed. (Reason='Unable to connect to database and start transaction') exiting... 有幸拷得一份虚拟机上的所有文件.对其进行分析. 发现事实上出现这个问题仅仅须要改动pg_c

[RabbitMQ]Error: unable to connect to node [email protected]: nodedown(CentOS7.0)

今天在搭建OpenStack的时候需要安装RabbitMQ,可是使用yum install rabbitmq-server安装之后,按照OpenStack官方提供的文档修改guest用户密码的时候却出现了如下错误: [[email protected] ~]# rabbitmqctl change_password guest Rabbit123 Changing password for user "guest" ... Error: unable to connect to nod

Error: unable to connect to node [email protected]: nodedown

某天,开启一个应用时,发现连接rabbitmq失败,本来想用rabbitmqctl来查看队列,结果提示“Error: unable to connect to node [email protected]: nodedown”,执行任何命令,重启都不管用.然后,针对这个错误,去查找原因,有人说是因为计算机名被修改的原因造成的.因此,打开/etc/hosts文件,还原为最初的计算机名,默认应该是localhost.但是,改文件必须得重启机器,才能生效,没办法,只能执行hostname localh

搭建openstack,报:Error: unable to connect to node [email protected]: nodedown

执行: # rabbitmqctl add_user openstack passw0rd 报出: Error: unable to connect to node [email protected]: nodedown DIAGNOSTICS =========== attempted to contact: [[email protected]] [email protected]: * connected to epmd (port 4369) on localhost * epmd re

Rabbitmq 服务启动后停止 | Windows下启动报错Error: unable to connect to node [email protected]: nodedown

1.erlang版本和rabbitmq版本不匹配 版本匹配: http://www.rabbitmq.com/which-erlang.html 2.找到匹配的版本,卸载当前rabbitmq重新安装. 执行以下操作从计算机中完全卸载RabbitMQ和Erlang: (1)打开Windows控制面板,双击“程序和功能”. (2)在当前安装的程序列表中,右键单击RabbitMQ Server,然后单击“卸载”. (3)在当前安装的程序列表中,右键单击“Erlang OTP”,然后单击“卸载”. (4

svn检出的时候报 Unable to connect to a repository at URL错误(摘自CSDN)

背景:1.         SVN服务器:VisualSVN-Server-2.5.5: 2. SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi: 在SVN服务器上,新建一个数据仓库aaa,用户ABC拥有读写权限. 现象: 1.         在checkout数据仓库aaa时,出现如下错误: Unable to connect to a repository at URL" src="http://www.cnblogs.com/wa

SVN Unable to connect to a repository at UR

背景: 1.         SVN服务器:VisualSVN-Server-2.5.5: 2.         SVN客户端:TortoiseSVN-1.7.6.22632-x64-svn-1.7.4.msi: 3.         在SVN服务器上,新建一个数据仓库aaa,用户ABC拥有读写权限. 现象: 1.         在checkout数据仓库aaa时,出现如下错误: Error  Unable to connect to a repository at URL ‘https://

RabbitMQ安装后启动出错:- unable to connect to epmd on blockstorage: timeout (timed out)

具体出错信息如下: [[email protected] ~]# rabbitmqctl change_password guest RABBIT_PASS Changing password for user "guest" ... Error: unable to connect to node [email protected]: nodedown DIAGNOSTICS =========== nodes in question: [[email protected]] hos