Extract process on MySQL server on Linux
Hello,
I'm trying to start an extract process to replicate my MySQL db to an Oracle instance.
The MySQL server is on a Linux x64 machine connected trhough a SSH tunnel (port 7809 and 7840 forwarded) with the Oracle machine (Linux x64).
First of all, the error I get (this is the report for my extract myext):
Oracle GoldenGate Capture for MySQL
Version 11.1.1.0.3 Build 001
Linux, x64, 64bit (optimized), MySQL Enterprise on Sep 29 2010 11:49:48
Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-01-13 17:11:51
Operating System Version:
Linux
Version #66-Ubuntu SMP Sat Oct 16 18:11:06 UTC 2010, Release 2.6.28-19-server
Node: vombato
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 28619
Description:
** Running with the following parameters **
extract myext
dboptions host 127.0.0.1, connectionport 3306
sourcedb [email protected]:3306, userid replicator, password ********
tranlogoptions altlogdest /var/log/mysql
rmthost 127.0.0.1, mgrport 7809
rmttrail /home/replication/goldengate/dirdat/my
table repl_test.test;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 8G
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 16G
CACHESIZEMAX (strict force to disk): 13.99G
Database Version:
MySQL
Server Version: 5.1.31-1ubuntu2-log
Client Version: 6.0.0
Host Connection: 127.0.0.1 via TCP/IP
Protocol Version: 10
2011-01-13 17:11:56 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985).
2011-01-13 17:12:06 INFO OGG-01055 Recovery initialization completed for target file /home/replication/goldengate/dirdat/my000012, at RBA 862.
2011-01-13 17:12:06 INFO OGG-01478 Output file /home/replication/goldengate/dirdat/my is using format RELEASE 10.4/11.1.
2011-01-13 17:12:06 INFO OGG-01026 Rolling over remote file /home/replication/goldengate/dirdat/my000013.
2011-01-13 17:12:06 INFO OGG-01053 Recovery completed for target file /home/replication/goldengate/dirdat/my000013, at RBA 862.
2011-01-13 17:12:06 INFO OGG-01057 Recovery completed for all targets.
2011-01-13 17:12:06 INFO OGG-00182 VAM API running in single-threaded mode.
2011-01-13 17:12:06 INFO OGG-01515 Positioning to begin time Jan 13, 2011 2:08:45 PM.
Source Context :
SourceModule : [ggvam.gen]
SourceID : [mnt/ecloud/workspace/Build_OpenSys_r11.1.1.0.3_001_[36467]/perforce/src/gglib/ggvam/cvamgen.cpp]
SourceFunction : [vamInitialize]
SourceLine : [418]
ThreadBacktrace : [9] elements
: [./extract(CMessageContext::AddThreadContext()+0x26) [0x7c5666]]
: [./extract(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x7b2) [0x7bc102]]
: [./extract(_MSG_ERR_VAM_API_ERROR_MSG(CSourceContext*, char const*, int, char const*, CMessageFactory::MessageDisposition)+0xa6) [0x78c806]]
: [./extract(com_goldengate_vam::CVamGen::vamInitialize()+0x13c3) [0x72c5c3]]
: [./extract(com_goldengate_vam::CVAMEXT_initialize()+0x3ad) [0x6e175d]]
: [./extract [0x57588b]]
: [./extract(main+0xf8a) [0x59ae3a]]
: [lib/libc.so.6(__libc_start_main+0xe6) [0x7ffd11d1d5a6]]
: [./extract(__gxx_personality_v0+0x19a) [0x51086a]]
*2011-01-13 17:12:06 ERROR OGG-00146 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!>.
2011-01-13 17:12:06 ERROR OGG-01668 PROCESS ABENDING.
I don't know what I'm missing here, since I've granted the right permission to the replicator user.
Some additional info:
*** myext.prm: ***
extract myext
dboptions host 127.0.0.1, connectionport 3306
sourcedb [email protected]:3306, userid replicator, password [...]
tranlogoptions altlogdest /var/log/mysql
rmthost 127.0.0.1, mgrport 7809 <== works through ssh tunnel
rmttrail /home/replication/goldengate/dirdat/my
table repl_test.test;
*** mgr.prm ***
port 7800
sourcedb [email protected]:3306, userid root, password [...]
*** mysql my.cnf (in /etc/mysql)***
server-id = 3
log_bin = /var/log/mysql/mysql-bin.log
log-bin-index = /var/log/mysql/master-log-bin.index
It's not a credential related problem and nothing changes if I move the bin log files somewhere else.
Any idea?
I'm really stuck on this.
Thanks,
K.
It's the actual value, since 7809 on localhost is mapped for the ssh tunnel, so I had to choose another for the local manager.
As for the login, yes, I can successfully connect via DBLOGIN trhough ggsci (DBLOGIN sourcedb [email protected]:3306, userid replicator, password [...]).
K.
Similar Messages
-
OGG-00868 SQL Server 2008 has problem with ODBC in the EXTRACT process
Hello Everyone
I want to replicate tables between MS SQLServer 2008 and Oracle 10g
I have Windows XP / MS SQLServer 2008 and Oracle Database 10g R 10.2.0.1.0 running on Red Hat Linux
I followed the steps from the white paper (http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html)
and Installed Oracle Golden Gate Version 11.2.1.0.1 (for Linux) and the Version 11.2.1.0.1 32bits (for Windows XP)
I followed all steps of the white paper without problem and I could do the initial load in
the Oracle Database from SQL Server sucessfully.
But when I tried to set and start the Extract process from SQL SERVER
a error was generated in the file c:\gg\dirrpt\MSEXT.rpt and the process is ABENDING
GGSCI > info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 03:22:29
2013-08-25 11:59:41 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messag).
2013-08-25 11:59:41 ERROR OGG-01668 PROCESS ABENDING.
If somebody has a clue or faced something similar please let me how could solve it.
Thanks
JuanHello mb_ogg,
Yes, I had created a Data Source HR Driver= SQL Server (second Tab System DSN) and I also had tried with
the driver SQL Server Native Client 10.0 but I faced the same error.
The database by default is EMP
Below is my configuration
Microsoft SQL Server ODBC Driver Version 03.85.1117
Data Source Name: HR
Data Source Description:
Server: JUAN-XP
Database: EMP
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Integrated Security: Yes
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
I also clicked on the button "Test Data Source" with the below messages:
Microsoft SQL Server ODBC Driver Version 03.85.1117
Running connectivity tests...
Attempting connection
Connection established
Verifying option settings
Disconnecting from server
TESTS COMPLETED SUCCESSFULLY!
Then I went to Database Properties (Right Click) /Oprtion and Recovery model field has Full value
I also made a Backup (Backup Type = Full)
The Backups was made to Disk: C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\EMP.bak
Today I repeated the same steps and I got the same error (I Copied at the end):
I also have the follow question:
Is necessary define the location of the backup of MS SQL Server to say to GG where it can get it?
GSCI (juan-xp) 1> DBLOGIN SOURCEDB HR
2013-08-27 21:16:32 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:16:32 INFO OGG-03037 Session character set identified as wind
ows-1252.
Successfully logged into database.
GGSCI (juan-xp) 3> ADD TRANDATA HRSCHEMA.EMP
Logging of supplemental log data is enabled for table hrschema.emp
GGSCI (juan-xp) 4> EDIT PARAMS DEFGEN
GGSCI (juan-xp) 5> exit
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:18:23
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3236
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
Source Context :
SourceModule : [defgen.main]
SourceID : [defgen/defgen.c]
SourceFunction : [create_defgen_file]
SourceLine : [808]
2013-08-27 21:18:23 ERROR OGG-00037 DEFSFILE file c:\gg\dirdef\emp.def alrea
dy exists.
2013-08-27 21:18:23 ERROR OGG-01668 PROCESS ABENDING.
C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
Oracle GoldenGate Table Definition Generator for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:19:03
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 3312
** Running with the following parameters **
defsfile c:\gg\dirdef\emp.def
sourcedb hr
2013-08-27 21:19:05 INFO OGG-03036 Database character set identified as win
dows-1252. Locale: en_US.
2013-08-27 21:19:05 INFO OGG-03037 Session character set identified as wind
ows-1252.
table hrschema.emp;
Retrieving definition for hrschema.emp
Definitions generated for 1 table in c:\gg\dirdef\emp.def
C:\gg>ggsci
Oracle GoldenGate Command Interpreter for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 02:57:42
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (juan-xp) 1> start manager
MGR is already running.
GGSCI (juan-xp) 2> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
GGSCI (juan-xp) 3> ADD EXTRACT MSEXT, TRANLOG, BEGIN NOW
EXTRACT added.
GGSCI (juan-xp) 4> ADD RMTTRAIL /u01/app/oracle/gg/dirdat/ms, EXTRACT MSEXT
RMTTRAIL added.
GGSCI (juan-xp) 5> EDIT MSEXT
ERROR: Invalid command.
GGSCI (juan-xp) 6> edit params msext
GGSCI (juan-xp) 7> START EXTRACT MSEXT
Sending START request to MANAGER ('GGSMGR') ...
EXTRACT MSEXT starting
GGSCI (juan-xp) 8> show all
Parameter settings:
SET SUBDIRS ON
SET DEBUG OFF
Current directory: C:\gg
Using subdirectories for all process files
Editor: notepad
Reports (.rpt) C:\gg\dirrpt
Parameters (.prm) C:\gg\dirprm
Replicat Checkpoints (.cpr) C:\gg\dirchk
Extract Checkpoints (.cpe) C:\gg\dirchk
Process Status (.pcs) C:\gg\dirpcs
SQL Scripts (.sql) C:\gg\dirsql
Database Definitions (.def) C:\gg\dirdef
GGSCI (juan-xp) 9> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED MSEXT 00:00:00 00:02:34
GGSCI (juan-xp) 10> EDIT MSEXT
Report MSEXT.rpt with same error
Oracle GoldenGate Capture for SQL Server
Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:49:54
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-08-27 21:30:26
Operating System Version:
Microsoft Windows XP Professional, on x86
Version 5.1 (Build 2600: Service Pack 2)
Process id: 2452
Description:
** Running with the following parameters **
2013-08-27 21:30:26 INFO OGG-03035 Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
EXTRACT MSEXT
SOURCEDB HR
2013-08-27 21:30:28 INFO OGG-03036 Database character set identified as windows-1252. Locale: en_US.
2013-08-27 21:30:28 INFO OGG-03037 Session character set identified as windows-1252.
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
RMTHOST OCM, MGRPORT 7809
RMTTRAIL /u01/app/oracle/gg/dirdat/ms
TABLE HRSCHEMA.EMP;
2013-08-27 21:30:28 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\gg\dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 1G
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1.57G
CACHESIZEMAX (strict force to disk): 1.41G
Database Version:
Microsoft SQL Server
Version 10.00.1442
ODBC Version 03.52.0000
Driver Information:
SQLSRV32.DLL
Version 03.85.1117
ODBC Version 03.52
Source Context :
SourceModule : [ggvam.param]
SourceID : [../gglib/ggvam/cvamparams.cpp]
SourceFunction : [com_goldengate_vam::validateIfSqlServer]
SourceLine : [1955]
2013-08-27 21:30:28 ERROR OGG-00868 Executing statement for select operation Database error 213 ([Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
[Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system admi).
2013-08-27 21:30:28 ERROR OGG-01668 PROCESS ABENDING.
Thanks
Juan -
Error in extracting data from SAP using mySQL server database
Hello Experts.
We are now using MySQL server 2005 database for Nakisa OrgChart. We have already configured the SAPExtractor settings. Source-SAP has been provided and Test connection to destination database is successful. We manually created the database ExtractedData and AnalyticData in the MySQL management studio.
We are getting the error upon starting the extraction
Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
Processing Stopped ! ! !
Downloading from SAP completed.
Processing Completed.
From CDS.log
ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
We would appreciate some assistance on this configuration
Thanks,
Angelo
Accenture inc.
SAP BasisHello Luke,
We have not done any modification of the downloadschema file. We receive message: The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. when we open the file.
The SAP account we used has SAP_AlLL, SAP_NEW authorizations. Are these authorizations sufficient to perform the data extraction?
Thanks,
Angelo -
Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue
Hello,
I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server. All services run fine.
In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server.
I have installed the My SQL ODBC 3.51.11 and .12 Drivers as a System DSN.
I have proven that the reports run fine in Crystal Reports 2008 directly against the remote MySQL DB server.
(in Windows but with the same 3.51 ODBC Drivers)
I have also proven that the database connection works okay from the CRS '08 Red Hat server to the remote MySQL DB server, when also creating a system DSN (using bash ./ODBCConfig)
The problem is that when I log into the CMC or InfoView, and when I run the Crystal Reports from there, I get an error message:
"Error in File <MyCrystalReport>: Failed to load database information"
Is there something wrong with my specific Crystal Reports' Database Configuration? (Right click- Database Configuration)
I see the driver was registered correctly in the /etc/odbc.ini file
Am I supposed to set any other ODBC environment variables?
Is there are firewall issue (port 3306 is already open)?
In summary, the install was successful, and Crystal Reports can be uploaded and viewed via CMC or InfoView, but I cannot run the Crystal Reports against the database.
Please advise, Thanks!Hi, I'm facing a similar problem. My ODBC DSN never works with CRS. Here are the details:<br><br>
(1) I installed the CRS 2008 in /opt/crystalreportsserver_2008_v1/ on a Linux platform. The CRS works well. I created a report with Crystal Reports 2008. This report directly connects to a MySQL server. After I published the report and manually modify its database configuration, I can browse it from InfoView. I'm sure that CRS, MySQL, and a report connecting to MySQL are all good.<br><br>
(2) Then, I created an ODBC DSN on a Windows platform. This DSN connects to a MySQL server. I created another report with Crystal Reports using this DSN. The report can show the data within Crystal Reports.<br><br>
(3) Then, I published the second report to CRS, but when I try to browse it, I always get such a message: Failed to open the connection.<br><br>
I have configured the ODBC for CRS on the Linux server and I think the configuration is correct. This is how I do that: I edited the /opt/crystalreportsserver_2008_v1/bobje/odbc.ini file. In the file I added a data source called ods_telstar. Following is the content of the file:<br><br>
[ODBC Data Sources]<br><
CRSQLServerWP=DataDirect 5.3 SQLServer Wire Protocol Driver<br>
CRSybaseWP=DataDirect 5.3 Sybase Wire Protocol Driver<br>
CRText=DataDirect 5.3 Text Driver<br>
%SYBASEDSN%=DataDirect 5.3 Sybase Wire Protocol Driver<br>
ods_telstar = MySQL<br>
<br>
... <br>
<br>
[ods_telstar]<br>
Description = ODS on telstar<br>
Trace = Off<br>
TraceFile = stderr<br>
Driver = /opt/crystalreportsserver_2008_v1/bobje/enterprise120/linux_x86/odbc/lib/libmyodbc5.so<br>
SERVER = xxx<br>
USER = xxx<br>
PASSWORD = xxx<br>
PORT = 3306<br>
DATABASE = ods<br>
<br>
In the middle I removed some data source definitions that are by default in the file. Note that I use "xxx" to replace the server name, user, and password. Such information is for internal use and I'm sure the original information is correct. The MySQL ODBC driver file has been put in the correct location. Correct access permissions has been assigned to the file.<br><br>
I've tried to restart the CRS server, but still the report using ODBC DSN cannot be viewed.<br><br>
The reason that we want to user ODBC DSN is that we may have many reports to publish. When we design the reports, we specify that they get data through an ODBC DSN such as ods_telstar. If we configure the same DSN on CRS, then we don't need manually modify each report's configuration after we publish them. If these reports are directly connecting to MySQL, then we have to manually modify each one's database configuration after we publish them.<br><br>
I've no idea what's wrong with all the setup. Any suggestions and comments are appreciated!<br> -
How to upload MYSQL tables to Linux server
I have been testing a PHP/MYSQL site on my own local apache
server, now am ready to upload to internet. My hosting company is
Papazilla.com which is an exact clone of GoDaddy.com.
I used the GoDaddy/Papazilla interface to create 3 tables
that my site needs.
Now I need to import records into the tables.
My tables were created on my computer using PHPmyAdmin. The
tables appear on my computer at this path:
C:\xampp\mysql\data\megazilladb
Each table has 3 files as listed here:
addurl.frm
addurl.myd
addurl.myi
cats.frm
cats.myd
cats.myi
sites.frm
sites.myd
sites.myi
I think the myd extension has the data, but I'm not sure.
GoDaddy/Papazilla says I can't just upload my complete
tables, I first have to create empty tables on their site, then
upload the data later.
I went to the GoDaddy/Papazilla interface and created 3 empty
tables named:
cats
sites
addurl
Then I went to the database management screen, selected the
IMPORT tab, and clicked the BROWSE button.
I browsed for the file "sites.myd"
Then I clicked GO
This brought up an error message:
#1064- You have an error in your SQL syntax, check the manual
that corresponds to your MySQL server version for the right syntax
to use near ||x|||www.classicboat.com|antique Boats For Sale? etc,
etc.
The data after the ||x||| above is the info in the first
field of the first record in the table.
The error message goes on to list the rest of the fields in
the record.
When I called Papazilla to get help, they said I can only use
the BROWSE button to upload files that end with the .SQL extension.
Why don't my files have that extension?
What can I try next to get the records uploaded into my
tables?
Thank you for your help.oO(lazybones2)
>I have been testing a PHP/MYSQL site on my own local
apache server, now am
>ready to upload to internet. My hosting company is
Papazilla.com which is an
>exact clone of GoDaddy.com.
>
> I used the GoDaddy/Papazilla interface to create 3
tables that my site needs.
>
> Now I need to import records into the tables.
>
> My tables were created on my computer using PHPmyAdmin.
The tables appear on
>my computer at this path:
> C:\xampp\mysql\data\megazilladb
In addition to David's reply - you should never touch the
data directory
of the DB directly. It's completely under the control of the
server. You
don't really know which data is stored where and how (it gets
even more
complicated with InnoDB tables for example) and actually you
don't have
to know that, because these directories are not meant for
user access.
So better think of the SQL server as a black box, keep your
hands off
its data directories and use SQL commands for all actions.
Micha -
ERROR ORA-12514: TNS: unable to start extract process
Hi Experts,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Getting below error in logs while starting extract process:
RECOVERY: reset to initial or altered checkpoint.
2012-08-05 10:34:10 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, aaa.prm: Attaching to
ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor.
2012-08-05 10:34:10 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, aaa.prm: PROCESS
ABENDING.[oracle@ ggate]$
Getting below error while connecting with asm instance directly:
[oracle@ admin]$ sqlplus sys@asm as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
[oracle@ ~]$ tnsping asm TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-AUG-2012 11:55
:42
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-
scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (I
NSTANCE_NAME = +ASM1)))
OK (0 msec) Any help Please ?
Regards
LazyDBA
Edited by: LazyDBA11g on Aug 5, 2012 12:14 AM
Edited by: LazyDBA11g on Aug 5, 2012 11:25 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:36 AMHello JK,
Thanks a lot for specific response.
SQL> select INST_ID, NAME, VALUE from gv$parameter where name like '%_listener%';
INST_ID NAME VALUE
1 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data1-vip)(PORT=1521))))
1 remote_listener xxxdata-scan:1521
2 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data2-vip)(PORT=1521))))
2 remote_listener xxxdata-scan:1521
If I add REMOTE_LISTENER pointing to SCAN ip address, Does it require DB bounce ? (Its production DB)
Regards,
LazyDBA
Edited by: LazyDBA11g on Aug 10, 2012 12:01 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:48 AM -
SAPextractor error using MySQL Server database in OrgChart
Hi Experts:
We are now using MySQL Server database for Nakisa OrgChart 2.0. Source-SAP details were specified and test connection to database is successful. We encountered the following errors when we performed the extraction.
Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
Processing Stopped ! ! !
Downloading from SAP completed.
Processing Completed.
From CDS.log, we got the error message below:
ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
ERROR: Schema : tableName = OrgUnitHierarchy; : Source {.Net SqlClient Data Provider}: Message {Invalid object name 'OrgUnitHierarchy'.}
ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
Can you help us to check how to fix this error. In addition, we would also like to know how to configure XML files required for this installation.
Thanks.
Angelo
Accenture
SAP BasisHi Angelo,
Is this still an issue for you? If so can you let me know if you are using 32-bit or 64-bit server and what version you are using of TVN?
All the best,
Luke -
ERROR OGG-00685 begin time : extract process abending
Hi Gurus,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process I am newer to OGG and its production setup.
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Error is as below:
2012-08-12 22:57:09 ERROR OGG-00685 begin time May 1, 2011 11:06:53 AM prior to oldest log in log
2012-08-12 22:57:09 ERROR OGG-01668 PROCESS ABENDING. Please suggest , I am stuck
Thanks
Edited by: user13403707 on 16 Aug, 2012 9:07 AMggsci> alter urban begin now
Or explicitly specify a date time:
ggsci> alter urban begin 2012-08-13 12:00:00
I also noticed that this line:
table urbanlive.*
Is missing the closing semi colon. It should be:
table urbanlive.*;
Make sure you read on open transactions. This is important when you BEGIN capturing change data and performing your initial synchronization. If you don't understand this you will not initialize properly and you'll always be out of sync.
Good luck,
-joe -
Siebel 8.0, cannot start Siebel Server in Linux 5.1
Hi there,
I am trying to install Siebel 8.0 on an AWS cloud server, using Linux 5.1. It is 32-bit with 1.7 GB of RAM. My Db is Oracle 11g, located on another server (necessary to free up the limited amount of RAM). I can sqlplus and odbcsql ok to it. For some reason, however, I am unable to get the Siebel Server to start properly.
When I log into srvrmgr ( srvrmgr /e SBA_80 /g siebel:2320 /u sadmin /p sadmin), it connects, but shows the siebel server is unavailable:
srvrmgr> list servers show SBLSRVR_NAME, SV_DISP_STATE, INSTALL_DIR
SBLSRVR_NAME SV_DISP_STATE INSTALL_DIR
siebel Not available /u02/siebel80/siebsrvr
Does anyone know if Siebel 8.x can be installed in this Linux 5.1 environment? If so, any suggestions why Siebel Server is unavailable? Also, when we run evt (for both installs, I believe), we get a critical error to upgrade the OS to 2.6.5-7.97-bigsmp. What does this mean, and how serious is it?
Thanks,
Jon
PS - here is some more log information:
I checked /siebel80/srvrmgr/log/srvrmgr.log, and this is the output:
\ufeff2021 2010-02-25 19:48:24 2010-02-25 19:50:59 -0500 00000003 001 003f 0001 09 srvrmgr 11334 -1208752448 /u02/siebel80/siebsrvr/log/srvrmgr.log 8.0 [20405] ENU
GenericLog GenericError 1 0000668b4b87313d:0 2010-02-25 19:48:24 (scbconn.cpp (164) err=1313725 sys=0) SBL-SVR-03005: No server connect string for Siebel Component servermgr in Siebel Enterprise SBA_80, Siebel Server siebel
GenericLog GenericError 1 0000000a4b872c46:0 2010-02-25 19:50:59 (sacmdl.cpp (440) err=591864 sys=591882) SBL-ADM-02040: INTERNAL: SA_ERR_BREAK
Here is our evt output, abridged version:
$ ./evt
Running checks defined in file [evt.ini]. Please wait..
Running a [8.0] version validation with [VAN] flavor
Total Checks : 5
Checks Passed : 1
Checks Failed : 4 (1 critical failures, 3 warnings)
Checks Skipped: 0
Critical Failures:
Environment Settings
Please upgrade Operating System version to 2.6.5-7.97-bigsmp - the current version is 2.6.18-53.1.13.9.2.el5xen
The current value of SIEBEL_OSD_LATCH is not defined
The current value of SIEBEL_OSD_NLATCH is not defined
Environment variable SIEBEL_MEMORY_ALLOCATOR has correctly not been defined
Please set Environment variable SIEBEL_ASSERT_MODE to 0 - currently the value is not definedHello all,
I was eventually able to get the install to work with Siebel 8.1. I believe there may have been some compatibility issues with 8.0 and our AWS Linux environment. When I ran 8.1, I was eventually able to get thru all the installs and connect to my Siebel server.
Memory was also an issue, since 1.7 GB is all that's available for a 32-bit machine. We resolved this by putting Oracle Db on another AWS image.
A few issues that I ran into and what I did that worked for me:
- used sadmin/sadmin for High/Low users, for some reason my custom users didn't work for me.
- updated LD_LIBRARY_PATH often! I set it before install process, and after running any siebenv.sh scripts:
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH -
How to monitor MySQL Server installed in Windows Server using Nagios
You can do this via NSClient as Gary posted. The NSClient is a communications system that allows nagios to send commands to a target system over the nsclient protocol and they are executed on the remote system. You will still have to build some kind of vbscript or plugin to run on the target system to do the actual query to check on mysql.There are other options to. If you enable snmp on your target computer you can use a few nagios plugins to query the snmp agent on the target computer to see if a service is running. To do this via snmp you will need this plugin "check_snmp_process.pl" fromthis site.Your check command will look something like this:check_win_process:= check_snmp_process.pl -H $HOSTADDRESS$ -C "$USER6$" -n "$ARG1$" -w $ARG2$ -c $ARG3$The service definition will be like this:check_win_process!sqlservr!0!0This will check...
I installed Nagios Core in my Ubuntu workstation 10.04 for me to learn something new in my craft. I use this now to monitor our Windows Server 2008 with MySQL server installed as well as our Datalink Switch (DGS-1210-24). I searched on google on how to monitor a MYSQL server installed in Windows server using Nagios Core but i could not seem to find any. Could anybody who's expert in Nagios give me steps on how to do so. Thanks. All i found in google were steps in monitoring mysql installed in linux and nothing in windows server.
This topic first appeared in the Spiceworks Community -
Hello All,
I am trying to extract and the process fails. please help me this, following is part of "view ggsevt"
2012-07-26 16:24:05 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FAGL
_SPLINFO. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target
table has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 16:39:15 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FMIF
IIT. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target tabl
e has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 16:39:18 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FMIO
I. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target table
has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 17:45:46 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.MSEG
. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target table h
as exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 18:22:05 ERROR OGG-01960 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.ORA_
COCKPIT_HELPER. The table is created with the NOLOGGING option, which is not supported. Extract may not be able to capture da
ta from it.
2012-07-26 18:22:05 ERROR OGG-00663 Oracle GoldenGate Capture for Oracle, ext1.prm: OCI Error retrieving bind info for q
uery (status = 100), SQL < select (select count(*) from dba_tables where logging = 'NO' and owner = 'SAPSR3' and t
able_name = 'ORA_COCKPIT_HELPER') + (select count(*) from dba_tab_partitions where table_owner = 'SAPSR3' and
table_name = 'ORA_COCKPIT_HELPER' and logging = 'NO') + (select count(*) from dba_tab_subpartitions wher
e table_owner = 'SAPSR3' and table_name = 'ORA_COCKPIT_HELPER' and logging = 'NO') from DUAL >.
2012-07-26 18:22:05 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.
I am confused for
1)WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table.. -- as i have DBOPTIONS ALLOWUNUSEDCOLUMN in my extract process.
2)Bind info for query.
please help.
Kind Regards,
Krishna.Hi,
I started the extract for few tables as suggested and got the output of "ggsevt" as :
on Source
Check swap space. Recommended swap/extract: 128G (64bit system).
2012-07-31 16:33:01 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 started.
2012-07-31 16:33:01 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, ext1.prm: Output file ./dirdat/INITLOADEMP.DAT
is using format RELEASE 11.2.
2012-07-31 16:33:06 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, ext1.prm: Socket buffer size set to 27985 (flu
sh size 27985).
2012-07-31 16:56:25 INFO OGG-00991 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 stopped normally.
2012-07-31 17:14:50 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (root): send manager
childstatus.
2012-07-31 17:14:50 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host m
ahaeccsbox (CHILDSTATUS).
on Target:
2012-07-31 21:50:45 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from SERVER on host
localhost.localdomain (REPORT 27981 7820).
2012-07-31 21:50:45 INFO OGG-00974 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started collector process (Po
rt 7820).
2012-07-31 21:50:45 INFO OGG-01228 Oracle GoldenGate Collector for Oracle: Timeout in 300 seconds.
2012-07-31 21:50:50 INFO OGG-01229 Oracle GoldenGate Collector for Oracle: Connected to static-mum-59.185.103.124.mtnl.
net.in:61873.
2012-07-31 21:50:50 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening ./dirdat/INITLOADEMP.DAT (byte 0, cu
rrent EOF 0).
2012-07-31 22:14:10 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing ./dirdat/INITLOADEMP.DAT.
2012-07-31 22:14:10 INFO OGG-01676 Oracle GoldenGate Collector for Oracle: Terminating after client disconnect.
2012-07-31 22:15:48 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing ./dirdat/INITLOADEMP.DAT.
2012-07-31 22:15:48 INFO OGG-01676 Oracle GoldenGate Collector for Oracle: Terminating after client disconnect.
Does it mean that my initial load was successful ? or does it indicate something else ? please guide. -
App server , process scheduler , web server and DB scripts
Team,
Good Morning.
I am looking for the script which will help me in doing health check-up for app server , process scheduler , web server and DB.
The script should trigger a email when any one of the domain is down and when it get up.
Waiting heartlyIf you really only want scripts you should write them yourself. If you don't understand the script how can you be expected to support it, modify it, or add new features? You don't even indicate what OS your using? I could give you a copy of a powershell script but what good is that on a linux box?
You need to identify what you really are interested in monitoring. Is it process health only? actual system integrity? Do you need to know if a process count goes under a certain threshold? Is the processes scheduler really working? Is queuing occurring somewhere? Is the web server at a critical number of open sessions? log monitoring for keywords? Do you need to actually simulate a web session which would prove the full system is working in one execution, although it won't indicate a failure will occur where some other monitoring might?
This is why the others have recommended pre-built packages that already offer most of this. If you still want scripts, gather your requirements, think about what you really need, try some stuff on your own, and if you have a specific problem with a script or how to accomplish a particular system check, post a new question, and I'll do my best to help. I think you'll get a better response from everyone if you do that. -
Migration to OX Server from Linux HA Cluster
Hello. I'm not sure if this is the correct forum for this topic, but I am looking for some friendly opinions on a possible solution to my organization's infrastructure. Basically I am looking to consolidate resources and reduce energy usage.
I currently operate our entire organization with 10 servers. They are broken down like this:
2-CentOS-5: Running in Active/Passive HA. Hosts Apache 2.0 and MySQL 5. Data and config files replicated by DRBD.
2-CentOS-5: Running in Active/Passive HA with 6-500gb RAID 5 SATA Drives. These systems are set up to host NFS Shares. Data and config files replicated by DRBD. MySQL is also installed as a Replicating Slave from the previous mentioned servers.
2-CentOS-5: Running in Active/Passive HA for an Asterisk VOIP Phone System. Config files replicated by DRBD. All voice recordings are sent via a NFS mount to the previous mentioned NFS Servers. All MySQL entries are made to the Main MySQL Server.
1-CentOS-5: Mail Filter
1-Redhat-4: Mail/LDAP/Samba Domain Controller
1-Windows 2003: Enterprise Application Server
1-Windows 2003: Terminal Services
None of these servers are tasked out by any means. My server rack is full, the electric required to run them and the AC to keep them cool is high.
So, I was thinking about purchasing 2 Mac XServe Servers. I wanted to do the following. Can anyone validate the configuration? Or do I not understand the capabilities of the OS X Server?
Both XServes would be built like this: Dual 2.8 quad core, 16GB RAM with 3x1TB SATA Discs in RAID 5.
My goal is to utilize OS X Server’s HA across the two servers to handle:
Web Services (Apache 2)
MySQL 5 (Master Node)
Email Server
Calendaring Server
Samba Domain Controller (For Windows Clients)
File Storage
Will HA work for the services I mentioned using OS X Server easily?
Then, on the first XServe (XS1) I would install 2 virtual machines (No HA – just snap shots taken for backup):
VMA – CentOS5 – MySQL (Slave Node)
VMB – Windows 2003 – Enterprise Apps
Then, on the second XServe (XS2) I would install 2 virtual machines (No HA – just snap shots taken for backup):
VMC – Windows 2003 – Terminal Services
VMD – Windows 2003 – More Enterprise Apps
My concern/question is really mostly about the “File Storage” I referenced. As I mentioned above I currently have a HA NAS Server that each of my other linux servers mount via NFS. Is this something that Xsan 2 could do between the two XServe servers? If so, does that mean that I could store the virtual machine images on the NAS created by Xsan 2? And, if so, do I NEED to have a fiber switch? Or could I simply utilize fiber directly between the two servers?
Am I crazy for wanting to do this? Am I missing something? I am thinking I must be, that is why I am posting!
Oh yeah, I forgot to mention that the Asterisk VOIP System will remain on its current hardware.
Message was edited by: gamepawn
Message was edited by: gamepawn
Message was edited by: gamepawnas far as i know, you'd need xsan nodes for all machines involved and san storage shared among all nodes. ideally, you'd need primary and secondary xsan metadata controllers just to deal with san metadata, and they should not be your od master or replica.
you could probably skimp on hardware and double up services on each machine, but it probably wouldn't save you much in the short term, at least.
how about moving to more power efficient processors for your current setup? your network as it is now sounds exactly like what some of my clients would love to have, but it would take a lot of cash to build with apple hardware/software. -
Problems with ACS4 and MySQL Server
Hi,
I am using acs4 with MySQL Server 5.0.67 as database under Windows. It all works fine except that very often I get a deadlock exception using the admin console.
Here is what is logged in the admin.log:
23 Apr 2009 12:20:15,231 TRACE DefaultSQLDatabaseRecordEnumerator: SELECT resourceid, voucherid, encryptionkey, permissions, defaultitem FROM resourcekey WHERE resourceid = ?
23 Apr 2009 12:20:15,231 TRACE DefaultSQLDatabaseRecordEnumerator: obj 1 = acc14cde-ea85-4f29-82ef-a771438bbcfc
23 Apr 2009 12:20:15,262 ERROR DefaultSQLDatabaseConnection: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
23 Apr 2009 12:20:15,262 TRACE DefaultSQLDatabaseConnection: rollback
23 Apr 2009 12:20:15,262 ERROR AdeptServlet: database error [192.168.2.101]
com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.Util.getInstance(Util.java:381)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1045)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2046)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1964)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1949)
at com.adobe.adept.persist.DefaultSQLDatabaseConnection.deleteExpired(DefaultSQLDatabaseConn ection.java:479)
at com.adobe.adept.shared.security.DistributorNonceUtil.checkNonce(DistributorNonceUtil.java :56)
at com.adobe.adept.admin.servlet.ManagePersistent.doPost(ManagePersistent.java:291)
at com.adobe.adept.admin.servlet.ManagePersistent.doPost(ManagePersistent.java:40)
at com.adobe.adept.servlet.AdeptServlet.doPost(AdeptServlet.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
23 Apr 2009 12:20:15,278 TRACE AdeptServlet: request end http://...
MySql is using InnoDB as storage engine.yes, you can do this via the admin gui by modifying the http listener port.
You can also do this via the cli commandline as well http-listener-1 is the one you want to change the port for.
http://docs.sun.com/source/817-6088/httpservice.html has details -
[SOLVED] MySQL Server issues
I just installed a fresh ArchLinux, restored a backup from an Ubuntu natty, everything works except my MySQL server connections.
I cannot connect with odbc or jdbc, I'm using the latest versions available:
$ pacman -Q mysql unixodbc myodbc jre
mysql 5.5.12-1
unixodbc 2.3.0-1
myodbc 5.1.8-1
jre 6u25-1
$ mysql -u mencargo -p
Server version: 5.5.12 Source distribution
mysql> use etlcontroltf;
Database changed
mysql>
$ cat /etc/odbcinst.ini
[MySQL]
Description = ODBC Driver for MySQL
Driver = /usr/lib/libmyodbc5.so
$ cat .odbc.ini
[MySQL]
Description = MySQL ODBC
Driver = MySQL
Server = localhost
Database = etlcontroltf
Port = 3306
Socket = /var/run/mysqld/mysqld.sock
$ isql MySQL -v
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libmyodbc5.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ lsd /usr/lib/libmyodbc5.so
lrwxrwxrwx 1 root 19 Mar 17 09:05 /usr/lib/libmyodbc5.so -> libmyodbc5-5.1.8.so
For JDBC I'm trying to use mysql-connector-java-5.1.16-bin.jar with DBvisualizer, getting:
Product: DbVisualizer Free 7.1.5
Build: #1590 (2011/02/24 17:23)
Java VM: Java HotSpot(TM) 64-Bit Server VM
Java Version: 1.6.0_25
Java Vendor: Sun Microsystems Inc.
OS Name: Linux
OS Arch: amd64
OS Version: 2.6.38-ARCH
An error occurred while establishing the connection:
Long Message:
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Details:
Type: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
Error Code: 0
SQL State: 08S01
A curious thing about the odbc is that the Arch guide suggests a /usr/lib/libodbcmyS.so file that is not present in my system, or any libodbcmySX.so nor libmyodbcSX.so.
Anyway, jdbc doesn't have anything to do with odbc, and it's also not working, so maybe it's my server config?
$ cat /etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld]
port = 3306
socket = /var/run/mysqld/mysqld.sock
datadir = /var/lib/mysql
skip-external-locking
key_buffer_size = 64M
max_allowed_packet = 2M
table_open_cache = 64
sort_buffer_size = 1M
net_buffer_length = 512K
read_buffer_size = 2M
read_rnd_buffer_size = 1M
myisam_sort_buffer_size = 16M
bind-address = 127.0.0.1
server-id = 1
[mysqldump]
quick
max_allowed_packet = 64M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 32M
sort_buffer_size = 32M
read_buffer = 16M
write_buffer = 16M
Or is this version of the server broken?
Last edited by mencargo (2011-06-03 05:49:11)The my.cnf code posted is the whole config, I don't have skip-networking.
$ telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
$ netop
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1483/mysqld
tcp 0 0 127.0.0.1:3306 127.0.0.1:43098 TIME_WAIT -
The port seems open but I'm getting disconnected immediately.
Any thoughts?
Last edited by mencargo (2011-05-09 02:04:58)
Maybe you are looking for
-
DVD drive not detected anymore
Hi, four weeks ago or so, I suddenly started to miss my DVD drive in my mount- and even in my /dev folder. From some point of time on (most likely some kernel patch), it just wasn't detected anymore. Technically it still works, I can still boot from
-
Hi, We have a few iMacs here all running 10.8.4 - we have PhotoShop CS 5.5 and all the artwork etc is saved on a shared server ( Windows 2008 r2) and we are forever getting these problems...... Only in photoshop we get the following error message..
-
Quicktime errors during install, uninstall, or run
Quicktime errors during install, uninstall, or run. No error code. It just says it encountered an error and must exit.
-
It appears that date values prior to 1970 are not supported in prompt LOVs. To test this, I created a universe (unv) with a object having a date value of 5/1/1970 through 5/1/2020. I then created a report with a prompt on this object. When I attemp
-
DBCA hanging on 9i Rel 2 / Red Hat 8.0
O/S: Red Hat 8.0 DBMS: 9i Release 2 Processor: AMD Athlon XP 2600 RAM: 1GB (Swap 2GB) Disk partition: 10GB As with many other correspondents of this forum, DBCA hangs at 51% progress. I have set all kernel parameters and ulimit sizes as documented, t