Error: OGG-00146 - error 600 - Failed to connect to mysql database
Dear All,
I am replicating Data from MySQL to Oracle.
Version of my MySQL is Server version: 5.5.19 MySQL Enterprise Server - Advanced Edition
Version of Oracle is : Oracle 11gR2
My extract is giving the following error and I am unable to identify the problem:
*2012-12-25 14:18:48 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, netfors.prm: VAM function VAMInitialize returned unexpected result:*
error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to connect to mysql database WHEN FAILED : While initializing mysql context WHERE FAILED :
MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>
Following are the contents of my /etc/odbc.ini file
*[netfors]*
Driver = /usr/lib/libmyodbc3.so
Description = Connector/ODBC 3.51 Driver DSN
Server = 10.168.20.226
Port = 6629
User = replication
Password = ******
Database = netfors
Option = 3
Socket = /tmp/mysql_sandbox5519.sock
When i isql -v netfors replication ***** *
it say Connected!
This is my extract:
EXTRACT NETFORS
DBOPTIONS HOST 10.168.20.226, CONNECTIONPORT 6629
SOURCEDB [email protected]:6629, USERID replication, PASSWORD ******
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/n1
TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/msb_5_5_19/data/mysql-bin.index
TABLE netfors.syslog;
Extract gets ABENDED
Kindly help on this.
Regards, Imran
Got it solved some how, golden gate was trying to connect with default socket file.
*/tmp/mysql.sock*
while my socket file was
*/tmp/mysql_sandbox5519.sock*
I changed it to default and got rid of the error.
Thanks for the help.
Regards, Imran
Similar Messages
-
Connecting to mysql database using DBLOGIN
I am trying to connect to a mysql database through GG command interface and am unable to get the DBLOGIN to work correctly. Here is what I am getting:-
mysql world -u root -p<password> (as user OS user mysql- works!)
GGSCI (rac1) 5> DBLOGIN SOURCEDB world, USERID root, PASSWORD <password>
2010-11-08 16:29:17 WARNING OGG-00769 MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
ERROR: Failed to connect to MySQL database engine for HOST localhost, DATABASE world, USER root, PORT 0.
I am not too familiar with mysql and will appreciate help and also pointer to documents that walk through setting up and testing Golden Gate with mysql.
Thanks,
Satishhi.
i have same problem can't connect to mysql using dblogin on ggsci, please helpme
this my.cnf configuration
# Example MySQL config file for small systems.
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /var/lib/mysql) or
# ~/.my.cnf to set user-specific options.
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /tmp/mysql.sock
#socket = /var/run/mysqld/mysqld.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
port = 3306
socket = /tmp/mysql.sock
#socket = /var/run/mysqld/mysqld.sock
skip-locking
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 128K
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
#skip-networking
server-id = 1
# Uncomment the following if you want to log updates
#log-bin=mysql-bin
# binary logging format - mixed recommended
#binlog_format=mixed
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/lib/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[myisamchk]
key_buffer_size = 8M
sort_buffer_size = 8M
[mysqlhotcopy]
interactive-timeout -
Error MySQL to Oracle Replication ERROR OGG-00146 Failed to Query Meta
Hello Guys,
I have a configured replication between MySQL database and Oracle Database using Golden Gate.
Extract data from MySQL is replicated to Oracle.
MySQL is on Linux and version is 5.5
Oracle is 11gR2 RAC on Linux (I am using one node for replication)
When i start extract and replicat they works fine, but as soon as record is inserted in source database i.e MySQL extract ABENDED with this error in the log file:
*2013-04-11 16:24:40 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, smpp7.prm: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report* *<CAUSE OF FAILURE : Failed to Query Metadata from Table : smpp7.sent_sms WHEN FAILED : While Sending Insert and Delete Record WHERE FAILED : MySQLBinLog Reader Module*
CONTEXT OF FAILURE : No Information Available!>.
*2013-04-11 16:24:40 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, smpp7.prm: PROCESS ABENDING*
This is my extract and replicat:
Extract
GGSCI>ADD EXTRACT SMPP7, TRANLOG, BEGIN NOW
GGSCI>EDIT PARAMS SMPP7
EXTRACT smpp7
DBOPTIONS HOST 10.168.20.253, CONNECTIONPORT 14422
SOURCEDB [email protected]:14422, USERID "*******", PASSWORD "*******"
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2
TRANLOGOPTIONS ALTLOGDEST /mysql/node3/data/mysql-bin.index
TABLE smpp7.sent_sms;
GGSCI>ADD RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, EXTRACT SMPP7, MEGABYTES 5
GGSCI>INFO RMTTRAIL *
GGSCI>START EXTRACT SMPP7
Replicat
GGSCI>ADD REPLICAT smpp7, EXTTRAIL /u01/app/oracle/oradata/GG/dirdat/D2, checkpointtable ggs_owner.checkpoint
3) edit params smpp7
REPLICAT SMPP7
USERID *******, PASSWORD *******
ASSUMETARGETDEFS
HANDLECOLLISIONS
SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/smpp7.def
DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/smpp7.dsc, PURGE
MAP "smpp7.sent_sms", TARGET MYSQL_SMPP7.sent_sms, COLMAP (usedefaults,COMPRESS_=compress,SERVICE=@STRCAT(service,"_sms"));
GGSCI>START REPLICAT smpp7
I have given full rights to MySQL user:
GRANT ALL PRIVILEGES ON *.* TO '**********'@'localhost' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO '**********'@'10.168.20.253' IDENTIFIED BY 'kannel' WITH GRANT OPTION;
Can you please help me to get through this problem.
Regards, ImranHi,
I have the same error between two Mysql 5.5.
I have added this line in the extact param file :
vam params (arliberror -14 warn)
And on my replicate param file :
map "aix"."etat", target "FR"."etat", REPERROR (-1403, EXCEPTION);
It looks working better.
But I can't modify my max_binlog_size to 4069 (4k). It make have to much file and slow my system. -
ERROR OGG-00146 VAM function VAMInitialize returned unexpected
I am configuring Golden Gate for MySQL and when i start extract it says extract started successfully but when i see its log file then i see this
2011-03-04 01:55:10 ERROR OGG-00146 VAM function VAMInitialize returned unexpected
result: error 600 - VAM Client Report <CAUSE OF FAILURE : Log index file
does not exist,please check if binary logging is enabled - /var/lib/mysql//Hassan-bin.index
WHEN FAILED : While initializing binary log configuration
WHERE FAILED : MySQLBinLog Reader Module
CONTEXT OF FAILURE : No Information Available!>.
2011-03-04 01:55:10 ERROR OGG-01668 PROCESS ABENDING.
then i changed MySQL bin log file name format to what it is saying and restarted MySQL service and again tried to start extract process. Now I am getting this error which is not clear to me
011-03-04 23:13:14 ERROR OGG-00146 VAM function VAMInitialize returned unexpected
result: error 600 - VAM Client Report <CAUSE OF FAILURE : Position time is
prior then earliest time available in the log : Earliest time available in the
log is 2011-03-04 23:08:25
WHEN FAILED : SetInitialPosition by time stamp
WHERE FAILED : MySQLBinLog Reader Module
CONTEXT OF FAILURE : No Information Available!>.
2011-03-04 23:13:14 ERROR OGG-01668 PROCESS ABENDING.
any one can help me out why this is occuringI have just deleted all extract & replicat and reconfigured , now things are working fine.
-
I have Acrobat XI on PC. After trying to convert a webpage to PDF, I received a Fatal Error message indicating that "Acrobat failed to connect to a DDE Server." Now, the program will not open. How do I regain access to the program?
I have Acrobat XI Pro and have been experiencing all sorts of "freeze ups" with it ever since Adobe released the new Acrobat DC the other week. I see that an automatic update was pushed down to my Acrobat XI Pro at the same time. Is this the first issue you have encountered with your Acrobat XI, or have you been having other issues suddenly as well?? Just wondering ...
-
Failed to connect to remote database DMWEB_SITE1. Error is ORA-12533
hello Gurus,
I don't get what's hapenning with my Standby database
I've follwoed the procedure as usual to recreate my standby as usually (works fine) exception this time
I've created a separat listener so tha I've configured a local_listener
in Site 1 Ok
Site 2 I get error message below in my dataguard trace File ...
NSV0: Failed to connect to remote database DMWEB_SITE1. Error is ORA-12533
DG 2010-01-08-15:56:32 0 2 0 NSV0: Failed to send message to site DMWEB_SITE1. Error code is ORA-12533.
DG 2010-01-08-15:56:32 0 2 707758231 DMON: DMWEB_SITE2 unable to contact primary for DRC version check
When I try to enable the dataguatrd configuration it succed but the Site2 remains Disable.
My Local Listener :
LISTENER_DMWEB.world =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp03.int.imd.ch)(PORT=1523))
(ADDRESS=(PROTOCOL=TCP)(HOST=srvldbp13.int.imd.ch)(PORT=1523))
Txs for any Help
Rgds
Carlosyes i've check Both Adress
The tnsnames in Both Sites is :
DMWEB_SITE1.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))
(CONNECT_DATA = (SERVICE_NAME = DMWEB_SIET1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED))
DMWEB_SITE2.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))
(CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED))
*********** FROM SITE 1
[oracle@srvldbp03 admin]$ tnsping DMWEB_SITE1.world
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SIET1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
OK (0 msec)
[oracle@srvldbp03 admin]$ tnsping DMWEB_SITE2.world
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
OK (10 msec)
[oracle@srvldbp03 admin]$
******** FROM SITE 2
[oracle@srvldbp13 bdump]$ tnsping DMWEB_SITE1
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp03.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE1)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
OK (0 msec)
[oracle@srvldbp13 bdump]$ tnsping DMWEB_SITE2
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvldbp13.int.imd.ch)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = DMWEB_SITE2)(ORACLE_HOME = /u01/app/oracle/product/10.2)(SERVER = DEDICATED)))
OK (0 msec)
[oracle@srvldbp13 bdump]$
In Both Database the Parameter LOCAL_LISTENER=LISTENER_DMWEB
When I check Dataguard Configuration
SITE 1 is OK
SITE 2 is disabled and the trace shows this Ora:12533 Error -
NSV0: Failed to connect to remote database orcl. Error is ORA-12514
sGetting error on data guard broker configuration. redologs shiping properly, withot any problems.
Database: 11gR2 , Linux 64-bit
[root@redhat ~]# su - oracle
[oracle@redhat ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 18 17:39:07 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> connect /as sysdba
Connected.
SQL> connect sys/oracle@primarydb as sysdba
Connected.
SQL> connect sys/oracle@physicaldb as sysdba
Connected.
SQL>
*/etc/hosts file contents on all nodes*
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.232 redhat redhat
192.168.1.234 rac1 rac1
primary database (drcorcl.log)
2010-06-18 17:41:39.972 02010001 1362743835 DMON: CTL_GET_STATUS forwarded to site physicaldb for processing
2010-06-18 17:41:41.044 NSV1: Site physicaldb returned ORA-16664.
2010-06-18 17:41:41.045 02010001 1362743821 DMON: Database physicaldb returned ORA-16664
2010-06-18 17:41:41.045 02010001 1362743821 for opcode = CTL_GET_STATUS, phase = NULL, req_id = 1.1.1362743821
2010-06-18 17:41:41.045 02010001 1362743821 DMON: CTL_GET_STATUS operation completed
2010-06-18 17:41:41.050 01000000 1362743836 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.054 01010001 1362743837 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.058 01010001 1362743838 DMON: MON_PROPERTY operation completed
2010-06-18 17:41:41.062 01010001 1362743839 DMON: CTL_GET_STATUS operation completed
2010-06-18 17:41:56.045 NSV1: Site physicaldb returned ORA-16664.
2010-06-18 17:41:56.045 02010001 1362743835 DMON: Database physicaldb returned ORA-16664
2010-06-18 17:41:56.045 02010001 1362743835 for opcode = CTL_GET_STATUS, phase = NULL, req_id = 1.1.1362743835
2010-06-18 17:41:56.046 02010001 1362743835 DMON: CTL_GET_STATUS operation completed
physical standby database (drcorcl.log)
2010-06-17 00:41:30.410 drcx: could not find task req_id=1.1.1362743821 for PROBE.
2010-06-17 00:41:45.411 drcx: could not find task req_id=1.1.1362743835 for PROBE.
2010-06-17 00:42:00.546 NSV0: Failed to connect to remote database orcl. Error is ORA-12514
2010-06-17 00:42:00.547 NSV0: Failed to send message to site orcl. Error code is ORA-12514.
2010-06-17 00:42:00.547 DMON: Database orcl returned ORA-12514
2010-06-17 00:42:00.547 for opcode = HEALTH_CHECK, phase = BEGIN, req_id = 1.1.1362743840
2010-06-17 00:42:15.414 drcx: could not find task req_id=1.1.1362743840 for PROBE.
2010-06-17 00:43:15.548 NSV0: Failed to connect to remote database orcl. Error is ORA-12514
2010-06-17 00:43:15.549 NSV0: Failed to send message to site orcl. Error code is ORA-12514.
2010-06-17 00:43:15.549 DMON: Database orcl returned ORA-12514
2010-06-17 00:43:15.549 for opcode = HEALTH_CHECK, phase = BEGIN, req_id = 1.1.1362743841
Standby Lintener file contents
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
ADR_BASE_LISTENER = /oradisk/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DNAME = physicaldb)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DNAME = physicaldb_DGMGRL)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = ORCL)
Primary database Listener contents
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521))
ADR_BASE_LISTENER = /oradisk/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DNAME = orcl)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
(SID_DESC =
(GLOBAL_DNAME = orcl_DGMGRL)
(ORACLE_HOME = /oradisk/oracle/product/11.2.0/db)
(SID_NAME = orcl)
TNSNAMES.ora on all nodes
PRIMARYDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521)))
(CONNECT_DATA =(SID = orcl))
LISTENER_PHYSICALDB =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.234)(PORT = 1521))
PHYSICALDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.234)(PORT = 1521)) )
(CONNECT_DATA =(SID = orcl))
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.232)(PORT = 1521)))
(CONNECT_DATA =(SERVER = DEDICATED)(SID = orcl) )
)Don't use the old syntax 'SID=...' in tnsnames.ora, use 'SERVICE_NAME=...' . Make sure 'SERVICE_NAME' is exactly the same returned by 'lsnrctl status' on both nodes.
Primary and standby cannot talk to each other currently through the listener:
ORA-16664: unable to receive the result from a database
Cause: During execution of a command, a database in the Data Guard broker
configuration failed to return a result.
Action: Check Data Guard broker logs for the details of the failure. Fix any
possible network problems and try the command again.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action: - Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.
Werner -
ERROR OGG-01201 Error reported by MGR : No available dynamic port entries
Dear All,
I have configured Golden Gate for MySQL on Linux machine.
All my extracts and replicats were running fine but suddenly the initial load extract have started trowing this error:
*2013-02-25 14:30:08 ERROR OGG-01201 Error reported by MGR : No available dynamic port entries.*
*2013-02-25 14:30:08 ERROR OGG-01668 PROCESS ABENDING.*
This is the same configuration that was working fine for many days:
GGSCI>ADD EXTRACT exp1, SOURCEISTABLE
GGSCI>INFO EXTRACT *, TASKS
GGSCI>edit params exp1
EXTRACT exp1
SOURCEDB db@localhost:3306, USERID "******", PASSWORD "******"
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTASK REPLICAT, GROUP imp1
TABLE netfors.edr;
--on 31
GGSCI>ADD REPLICAT imp1, SPECIALRUN
GGSCI>edit params imp1
replicat imp1
USERID user, PASSWORD password
SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/edr.def
DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/imp1.dsc, PURGE
HANDLECOLLISIONS
MAP "db.edr", TARGET db.SDR_TBLICPRAWEDR, COLMAP (usedefaults,
ICPRE_RAWEDRID=seqno,
ICPRE_SENDER=sender,
ICPRE_RECEIVER=receiver,
ICPRE_ICCARRIERID=incoming,
ICPRE_OGCARRIERID=outgoing,
ICPRE_QUEUE=queue,
NE_ELEMENTID=18,
ICPRE_CREATETIME=createtime,
ICPRE_TIMEOFDAYBEGIN=timeofdaybegin,
ICPRE_TIMEOFDAYEND=timeofdayend,
ICPRE_UPDATETIME=updatetime,
ICPRE_STATE=state,
ICPRE_MODE=mode,
ICPRE_BATCHID=batchid,
ICPRE_REFERENCE=reference,
ICPRE_MSG_REFERENCE=msg_reference,
ICPRE_SEGMENT=segment,
ICPRE_CSMSID=csmsid,
ICPRE_GMSC=gmsc,
ICPRE_IMSI=imsi,
ICPRE_SMPP_MESSAGE_ID=smpp_message_id,
ICPRE_RETRIES=retries,
ICPRE_ELOCATION=elocation,
ICPRE_ECODE1=ecode1,
ICPRE_ECODE2=ecode2,
ICPRE_FLAGS=flags);
Kindly help to resolve this issue.
Thanks, ImranThanks for your reply and time Kamal.
When i run :
GGSCI (smsc.etisalcom.net) 1> send mgr getportinfo detail
returns
Sending GETPORTINFO, request to MANAGER ...
No Dynamic Ports In Use or Configured
But I have tried with
DYNAMICPORTLIST 7809,7810,7811 7812-7850
But error message was the same.
Current settings for the mgr
GGSCI>edit params mgr
PORT 7813
Regards, Imran -
ERROR OGG-00868 Error code 1291, error message: ORA-01291: missing logfile
OGG Version 12.1.2.1.0 OGGCORE_12.1.2.1.
DB : 11.2.0.4.3
I am getting below error.
2014-12-31 09:53:09 ERROR OGG-00868 Error code 1291, error message: ORA-01291: missing logfile
(Missing Log File <unknown>. Read Position SCN: 2585.802983323 (11103293443483)).
Our solution uses ADG and OGG
We have source and target where ADG was setup . We later broke ADG setup and made Oracle DB's in source and target into standalone.
As part of our solution during our deployment window ,we would break ADG i.e we would make both the source and target as independent DB’s with PRIMARY Read /Write mode.
-Take Guaranteed restore point on Source DB so that we can flash back at later stage(so of now we have not executed flash back command)
-Once ADG config is disabled we will start the OGG extract which is already configured before =We are at this stage where we are hit with errors and extract is not starting .Hi ,
The error shows it is waiting for the Logfile. The Integrated extract mainly needs of the availability of two things.
1. Archivelogs.
2. Trail Files.
Both should be retained to the needed / required level.
Please execute the below query and check the status of the Extract / Capture process.
The below query displays the information of each capture process in a database.,
COLUMN CAPTURE_NAME HEADING 'Capture|Name' FORMAT A7
COLUMN PROCESS_NAME HEADING 'Capture|Process|Number' FORMAT A7
COLUMN SID HEADING 'Session|ID' FORMAT 9999
COLUMN SERIAL# HEADING 'Session|Serial|Number' FORMAT 9999
COLUMN STATE HEADING 'State' FORMAT A20
COLUMN TOTAL_MESSAGES_CAPTURED HEADING 'Redo|Entries|Evaluated|In Detail' FORMAT 9999999
COLUMN TOTAL_MESSAGES_ENQUEUED HEADING 'Total|LCRs|Enqueued' FORMAT 9999999999
SELECT c.CAPTURE_NAME,
SUBSTR(s.PROGRAM,INSTR(s.PROGRAM,'(')+1,4) PROCESS_NAME,
c.SID,
c.SERIAL#,
c.STATE,
c.TOTAL_MESSAGES_CAPTURED,
c.TOTAL_MESSAGES_ENQUEUED
FROM V$STREAMS_CAPTURE c, V$SESSION s
WHERE c.SID = s.SID AND
c.SERIAL# = s.SERIAL#;
Also run this query to check, if the capture is waiting for which logfile.,
COLUMN CONSUMER_NAME HEADING 'Capture|Process|Name' FORMAT A15
COLUMN SOURCE_DATABASE HEADING 'Source|Database' FORMAT A10
COLUMN SEQUENCE# HEADING 'Sequence|Number' FORMAT 99999
COLUMN NAME HEADING 'Required|Archived Redo Log|File Name' FORMAT A40
SELECT r.CONSUMER_NAME,
r.SOURCE_DATABASE,
r.SEQUENCE#,
r.NAME
FROM DBA_REGISTERED_ARCHIVED_LOG r, DBA_CAPTURE c
WHERE r.CONSUMER_NAME = c.CAPTURE_NAME AND
r.NEXT_SCN >= c.REQUIRED_CHECKPOINT_SCN;
The above query clearly shows for which logfile the Extract / Capture process is waiting. Check if that logfile is available in your system.
Regards,
Veera -
CONNECTING TO MySql DATABASE FROM Jdeveloper
Hi,
How can i connect to MySql database form Oracle Jdeveloper version 11.1.2.0.0.
I was trying to create connection using create database connection dialog box but it is giving this error:
Test failed: Driver class not found.
Verify the Driver location
Please can I get step by step procedure on how to create this connection.
Thanks.Connect JDeveloper to a MySQL database - YouTube
http://people.cis.ksu.edu/~hankley/d764/tut06/Ross_mySQL/mySQL.htm
Hil &amp; Co IT Solutions: Connecting to MySQL in JDeveloper -
I can't connect to MySQL database from The JSP Standard Tag Library
Hi All !
I have a problem, please help me anybody !
I don't connect to MySQL database from jsp page using JSTL tag but from servlet all work correctly. I set my path and put �mysql-connector-java-3.1.13-bin.jar� in ENVIRONMENT WinXP(classpath=C:\Java\jdk1.5.0_10\jre\lib\ext\mysql-connector-java-3.1.13-bin.jar) and in War project folder �WEB-INF/lib� and in [TomcatServer]\common\lib.
I have in folder�WEB-INF/lib� following files:
antlr.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-fileupload.jar
commons-logging.jar
commons-validator.jar
jakarta-oro.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
mysql-connector-java-3.1.13-bin.jar
standard.jar
struts.jar
I'm using:
NetBeans 5.5 Build200610171010 (bundled Tomcat 5.5.17)
Ent.Pack 20061020 Visual Wb Pack 061103
OS WinXP SP2
Java 1.5.0_10
MySQL 5.0.18-nt
1:<%@page contentType="text/html"%>
2:<%@page pageEncoding="UTF-8"%>
8: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
9: <%@taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
10:
11: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
12: "http://www.w3.org/TR/html4/loose.dtd">
13:
14: <sql:setDataSource var="ds"
15: driver="com.mysql.jdbc.Driver"
16: url="jdbc:mysql://localhost:3306/test"
17: user="root"
18: password="xxxx"/>
19:
20:
21:<sql:query sql="select name, age from People" var="res"
22: dataSource="${ds}"/>
I have received report on mistake when entered code at the top:
�/index.jsp [21;0] According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions�
I used instead of (dataSource="${ds}")->(dataSource="ds") but this did not work.
After build and run I have received
=========================================START=================================
HTTP Status 500
type Exception report:
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:955)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Validator.validate(Validator.java:1489)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17
=======================================END================================
Error: "According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions" - but according to documentation such parameter possible.
BUT WHEN JOINING With DATABASE FROM SERVLET ALL WORK FINE.
I read this doc - [http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html], this applicable if I Tomcat Admin, but i'am not Admin
I simply user, i.e. I want to place its database on virtual host (Tomcat+(JSP-JSTL)+MySQL).
There is idea how can resolve this problem
Thank you in advance ;)For all how have similar problem.
Decision instead of these ways
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
it is necessary to indicate these
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -
Connecting a MYSQL database in Dreamweaver
Hi All,
I'm tryting to connect a mysql database based locally and am getting the error:
HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.php. Verify that
the URL Prefix maps to the root of the site.
What does this mean?
How do I start the testing server? I'm unable to locate the folder where the database files are stored as the database has been created locally on my machine. Everything hace been created locally so I know that point 2) could well be irrelavant.
Please can somebody help?
Many Thanks
GordonThe functions for connecting to a database were mostly deprecated. But if you enable them in CS6 Cloud/CC then they will be the same.
-
Unable to connect to MySQL Database using MX
I am unable to connect to MySQL database hosted on a remote
server. I get the following error message:
"HTTP Error Code 404 File Not Found. Here are some possible
reason for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to
the
http://72.9.255.2/~keyitems/_mmServerScripts/MMHTTPDB.php
URL. Verify that the URL Prefix maps to the root of the site."
I have specified a testing server. My url is "
http://72.9.255.2/~keyitems/........."
For the URL prefix to the site's root folder, I listed the
following:
1.
http://72.9.255.2/~keyitems/
this did not work. I got the above error message.
2.
http://72.9.255.2/ this did not work
also. I got the above error message.
Any input would be great as I do not know where to start !!!
Thank youHi Ravi
Glad to hear you solved this. It is very gratifying when one solves it alone, don't you think?
Best wishes
Michael -
Connecting to MySQL Database with Servlet
Hi All,
I want to connect to MySQL Database from servlet.
I am using Tomcat websever 3.3.1, where i have to set classpath of mysql jdbc driver.
I tried by copying mysql jdbc driver in so many directiories of Tomcat server but it is
giving me error like "no specified driver find"
So please send me all the solutions and how to set the classpath to connect to
mysql database.
ThanksU r correct that so many people are giving me solutions but that are not working for me
I think i not correct in setting the classapath to mysql jdbc driver.
1)I have unjarred correctly and all the classes are present in that.
yes driver class is there in that .
2)Now i am using new version of the mysqljdbc that is 2.0.13
If now any driver after this send me url i will download it and use it
3)I am unable to under stand what is yourcontext in
yourcontext/web-inf/lib?
This is my directory structure.
c:tomcat in this i have
bin
conf
doc
lib
logs
modules
native
webapps
work
in bin there are no subdirectories
in conf i have
auto,jserv,jk,users
in doc i have
appdev,images
sample( in appdev)
etc,lib,src,web(in sample)
images(in sample\web)
in lib i have
apps
common
container(c:\tomcat\lib)
in logs,modules there are no subdirectories
in native (c:\tomcat\native) i have
mod_jk
mod_jserv
in mod_jk i have
apache 1.3
common
iis
jni
netscape
nt_service
in webapps i have (c:tomcat\webapps)
Admin,Examples,root
in Admin i have (c:\tomcat\webapps\admin)
contextadmin
Meta-inf
Test
Web-inf
in web-inf (c:\tomcat\webapps\admin\web-inf)
Classes,lib,script
in classes i have (c:\tomcat\webapps\admin\web-inf\classes)
tadm
in examples (c:\tomcat\webapps\examples) i have
Images,Jsp,Meta-inf,Servlets,Web-inf
in web-inf (c:\tomcat\webapps\examples\web-inf) i have
Classes,jsp
in classed (c:\tomcat\webapps\examplesweb-inf\classes) i have
Cal
Checkbox
Colors
Dates
Error
Examples
Num
Sessions
in jsp (c:\tomcat\webapps\examples\web-inf\jsp) i have
applet
I think this is enough to give correct answer for me .
Thanks -
hi,
i am having problems with my xp machine running cs3. when i try to connect to mysql database it throws back http error code 405 method not allowed.
i downloaded the script replacement files after googling however that still never resolved the issue. can anyone help?
many thanksThis may, or may not, help...
For those using MySQL - Installing PHP and MySQL on Windows
XP
http://www.webassist.com/professional/products/solutionrecipes.asp
Maybe you are looking for
-
EDI Message not Transmitted for Scheduling Agreement
Hi guys! Does anybody know what should I check to see why the EDI message for a delivery line in the scheduling agreement has not been transmitted? Would really save me Regards, Ileana
-
How do I unlock folders in XP so I can access them from Mac?
I know this question has been asked before, but all the solutions seem to point to an issue with Vista. I am not using Vista. I am using XP. Before Leopard, I had set up aliases that pointed to the My Pictures, My Documents, and Desktop folders, so I
-
Youtube Constantly Buffering: Wired and Wireless, Please Help
Hi All, Hoping someone can shed some light on my issue. I have a FIOS triple play bundle with 35/35 speeds. When I run a speed test I typically see 42/38. The problem starts when I go to watch Youtube videos on any of my 3 consoles. I have an Xbo
-
IPod touch screen isn't responding plus warranty question
My brother just got a brand new 8gb iPod Tocuh for Christmas and today, all of a sudden, the screen (or touchscreen) has stopped responding. I connected to iTunes, backed it up, restored the iPod itself and then loaded the backup onto the iPod again
-
Signing into itunes on a windows computer. What is the easiest way?