Error while connecting MYSQL Database
Hi,
I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
The database is 4.1GB large and there is 10GB free space on the database.
Anybody can tell me what to do?
Hi Tom,
As I understand the error while connecting to database is
u201CFailed to retrieve data from databaseu201D
There could be some could be multiple reasons for this.
If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
Please let us know if this helps
Regards,
Aditya Joshi
Similar Messages
-
Error while connecting to Database after Database upgradation
Hi All,
I installed and worked with BAM and used Oracle Database 9i previously. After the Database
was upgraded to 10g (10.2.0.4.0 which is compatible for BAM), I am trying to ReInstall BAM
which is throwing me an error.
It accepts the Database Login Information but at the step of building Repository for
Enterprise Link it gives up the following error:
' A connection with the database cannot be made '
Can anyone please help me to figure out this one.
Thanks,
VishalHi,
I also have the same problem.Could you plz tell us what configuration I need to add in tnsnames.ora file.
content of my tnsnames.ora file is below
# tnsnames.ora Network Configuration File: C:\DevSuiteHome_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Rahul-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
) -
Getting error while connecting to database
while i try to connect to the database i'm getting the foollowing error
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
the part of my code which is used to connect to the database is as follows
<applet code="Part1" width=500 height=500>
</applet>
public class Part1 extends Applet implements ActionListener
public void init()
try
//Class.forName ("oracle.jdbc.driver.OracleDriver");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e)
System.out.println("EXCEPTION--"+e.getMessage());
System.out.println("DRIVER NOT FOUND");
Connection conn=null;
try
//Making the database connection
conn= DriverManager.getConnection("jdbc:odbc:xyz");
catch(Exception e)
System.out.println("EXCEPTION IN CONNECTION::"+e.getMessage());
System.exit(-1);
}public class Applet1 extends JApplet {
private JButton DbConnect = new JButton();
private JTextArea empValues = new JTextArea();
private Connection con;
private JLabel jLabel1 = new JLabel();
public Applet1() {
public void init() {
try {
jbInit();
} catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
this.getContentPane().setLayout(null);
DbConnect.setText("Click to Connect to DB");
DbConnect.setBounds(new Rectangle(90, 225, 175, 40));
DbConnect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
connectToDB(e);
empValues.setBounds(new Rectangle(40, 50, 310, 150));
jLabel1.setText("Emp Records :");
jLabel1.setBounds(new Rectangle(45, 20, 155, 20));
this.getContentPane().add(jLabel1, null);
this.getContentPane().add(empValues, null);
this.getContentPane().add(DbConnect, null);
private void connectToDB(ActionEvent e) {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:ora9202","scott","tiger");
empValues.setText("Connected to the Database.
Fetching Values from DEPT Tables.\n");
fetchValues();
} catch (SQLException ex) {
System.out.println("Connection Error = " + ex.toString());
} -
Error while connecting to database
I have deployed an asp.net web application on a windows server2003 ,the database is oracle10g and the servers .net framework is version 1.
the application runs correctly on windows xp with .net framework version 1.1 ,but when I run the application on the server it returns this error:
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.]
System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) +207
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString, OracleConnectionString options, OracleConnection owningObject, Boolean& isInTransaction) +165
System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString parsedConnectionString, Object transact) +600
System.Data.OracleClient.OracleConnection.Open() +32
BusinessLayer.DbLayer.DAL.Select(String selectStr) in e:\mansouri\voisual studio projects\rims\businesslayer\dblayer\dal.cs:45
RIMS.Common.Public.FillGrid(UltraWebGrid grid, String cmdStr) in E:\Mansouri\Voisual Studio Projects\RIMS\Common\Public.cs:135
RIMS.MainInitialInfo.FrmSemat.Page_Load(Object sender, EventArgs e) in E:\Mansouri\Voisual Studio Projects\RIMS\MainInitialInfo\FrmSemat.aspx.cs:52
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
I have changed the permissions to the Oracle_home folder to read & execute for everyone and restarted the server but still recieve the error msg.
Can AnyOne Help Me With This Problem?Hi
DId you end up resolving this as I am getting a similar error and not sure how to fix it.
Thanks
Alex -
Hi,
I have installed Oracle Workflow Builder 2.6.3 recently on my system and after installation, when I am trying to connect the workflow builder (using database username/password of that particular instance), it is throwing me the following error:
220: Unable to set NLS_LANGUAGE.
210: Oracle Error: ORA-01403: no data found
. SQL text: SELECT NLS_LANGUAGE FROM WF_LANGUAGES WHERE :l IN (NLS_LANGUAGE, CODE)
In the previous threads when I searched for the same issue, I found that if
select value from v$nls_parameters
where parameter='NLS_CHARACTERSET';
returns the value other then WE8ISO8859P1 then that is what I should change my NLS_LANG entry for the builder - i.e. AMERICAN_AMERICA.<character set>.
But I am not getting where should I change NLS_LANG, it is located where...some file? I am new to Workflow.
Please help me. I tried a lot. Any type of help will be highly appreciated.
Thanks,
SumirThis issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
HTH
Srini -
Hi,
We are getting the error while connecting the database.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
IBM AIX RISC System/6000 Error: 2: No such file or directory
Error persists only for second or two & again connection comes back.
NOTE-- When this happens only new connection recives the error while existing connection work properly.
On metalink the error description is.
Cause: Unable to locate shared memory realm
Action: Verify that the realm is accessible
also I have checked
SQL> select resource_name,current_utilization,max_utilization,limit_value from v$resource_limit;
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALU
processes 1044 1091 1100
sessions 1052 1097 1400
enqueue_locks 208 437 17404
enqueue_resources 248 335 UNLIMITED
ges_procs 0 0 0
Kindly advice urgent.IBM AIX 5L
10.2.0.3
Client OS is Windows XP & oracle client using is oracle 8 & 9i client.
TNS Entery of client
AIX.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1521))
(ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1526))
(CONNECT_DATA =
(SID = ORCL)
There is only one oracle home on the client mechine
entries in sql* net are
names.directory_path = (TNSNAMES)
names.default_domain = world
name.default_zone = world
names.default_domain=world
erro in the listener log is
18-MAY-2009 16:42:25 * (CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=UdyogGrid.Exe)(HOST=Windows NT PC)(USER=vmittal))) * (ADDRESS=(PROTOCOL=tcp)(HOST=221.135.27.180)(PORT=2021)) * establish * ORCL * 0
18-MAY-2009 16:42:33 * ping * 0
WARNING: Subscription for node down event still pending.
NOTE-- Problem started from the day we have set the password for the listener.
Kindly advice.
Edited by: Sachin A on May 18, 2009 10:08 PM -
Error while connecting to DB, when checking installation type of NW04S-Inst
Hi,
i installed a new netweaver 04s - system on sles10sp2 as distributed system.
SCS is ok, Database DB6 installation is also successfull.
Now i install the central instance, but when sapinst checks the installation type (i select nothing), the installation failed with:
Execution of the command "/usr/lib64/jvm/java/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib/launcher.jar -showversion com.sap.engine.offline.OfflineToolStart com.sap.inst.jsourcecheck.JSourceCheck /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib/iaik_jce.jar:/mnt/sapcd/NW04S_SR2n/BS_2005_SR2_SAP_Installation_Master/IM_LINUX_X86_64/COMMON/INSTALL/jsourcecheck.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib:/home_sap/db2i33/sqllib/java/db2jcc.jar:/home_sap/db2i33/sqllib/java/db2jcc_license_cu.jar -systemName I33 -ssPropFile /usr/sap/I33/SYS/global/security/data/SecStore.properties -ssKeyFile /usr/sap/I33/SYS/global/security/data/SecStore.key -trace all" finished with return code 101. Output:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20080130 (JIT enabled)
J9VM - 20071205_1933_LHdSMr
JIT - r7_level20071016_1845)
PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.path)
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][2013][11249] Connection authorization failure occurred. Reason: User ID or Password invalid.
at com.ibm.db2.jcc.c.b.i(b.java:2002)
at com.ibm.db2.jcc.c.b.c(b.java:1657)
at com.ibm.db2.jcc.c.bb.r(bb.java:792)
I see the reason, but i don't know which user is mean ?
Can anyone help me ?
Best Regards,
TomThis issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
HTH
Srini -
Error while connecting to the database from a JSP Page
Hi,
I am using a simple JSP page which is based on the sample JSP pages from OTN.
When I try to connect to my database using the following code:
InitialContext ic = new InitialContext();
OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
m_connection = ds.getConnection();
I get the following error:
Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
Does anybody know wht this is happening?
Any help would be appreciated
FRankHi Frank,
Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
Ensure the case of the JNDI lookup string, since, it is case sensitive.
Hope this helps.
Abhijeet -
Getting exception while trying to connect mysql database
hi
i am using mysql as database while connecting to database using jsp i am getting the following exception
"java.lang.ClassNotFoundException:com.mysql.jdbc.Dr iver"
can any one tell wha tis the actual problem
regardsIf you've tens of applications on the server which
makes use of the same driver/JAR, then you can put
this JAR in the classpath of the server to save
WAR/EAR space. And about differing versions: I am not
used to do so. Otherwise just put the different/older
version in the classpath of the webapp and then give
it higher priority in the classloader.If you are using Enterprise Applications, disk space for the code should be your last concern. If you don't have enough of that for each of the applications to have their own space for the third party jars that they use, then you need a new server, as the one you have is not going to be able to handle the load anyway.
And as far as fiddling around with the classpath to avoid jarfile "collision" or incapability, good luck. The first time you add a new application all the others will stop working and you will have to spend two days reordering the classpath properly, so that they all work again. I know, because I have seen it happen, even though I suggested to them to do it the other way, they insisted on doing things the way you suggested and, like I said, as soon as they added the next application, the server was down for two days, until they got all of the classpath/(classloader priority) issues straightened out. -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
Installing Java Dialog Instance - Error while connecting to DB
We would like to add a dialog instance to our production Portal server. We installed Portal as stand-alone on the central instance. We have another server we would like to setup to serve as a Portal dialog instance.
So far I have installed Windows 2003 Server Standard. Installed MSSQL server client tools (database is mssql server). Installed jdk 1.4.62. Set java home and path environmental variables. I'm now installing the Java dialog instance (I can't find any documentation on this). From Netweaver installation CD> SAP NetWeaver '04 Support Release 1> Java System> MS SQL Server> Dialog Instance Installation>
SAP System ID: (sid) ES2
Central Host: SAPEPS02
Path to JAVA DVD supplied> JDK Directory confirmed> Domain paramaters confirmed> domain<sid> account passwords supplied> domain<service><sid> account password supplied> Instance number confirmed>
Installation started> It gets to step 8 and fails stating "Error while connecting to DB". I looked through all the log files and couldn't come up with anything (i'm very thorough).
I tried adding the users to the database as dbowners (no luck). I installed SQL server 2000 with SP4. No where during this installation did I get prompted for database parameters?
Is there something basic i'm missing? Does this scenario not work? Any help would be greatly appreciated. Pointing me in the right direction of the correct documentation would also be appreciated. Thank you in advance.
Sincerely,
Brad DridiHi Brad,
I am facing the same problem. I hope by now you must have got the solution for this.
Can you please let me know how did you overcome this situation?
Thank you!!
Regards,
Abhijeet Bhagat -
JCONTROL - dies with Error while connecting to DB
Hi....Experts
DB : Oracle 10.2.0.4.0
OS ; AIX 5.3
NW : 7.0 SP22
UT : EP
Yesterday the above server got rebooted by a power failure. after that
The server's DB is coming up as ora<sid> user, listener is also up
But as <sid>adm user - when i am starting . The jcotnrol dies and in thee work directory
....log_bootstrap_ID1168012.0.log fiel shows the below messages in the tail end,
================================================================
ERROR-1 : OBSERVED
================================================================
==[ Caused by: ]==----
com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
... 15 more
[Feb 10, 2012 4:46:28 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
================================================================
ERROR-2 : OBSERVED
================================================================
also i see error in work directory ...sapcpe.log as below
Host:d45adm> more sapcpe.log
2012/02/10 19:01:45
sapcpe version UC: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#20 $ SAP
Command line:
0: /usr/sap/D45/SYS/exe/run/sapcpe
1: name=D45
Trace level (profile): 1
INFO: Try to find file table sapcpeft (default:sapcpeft)
INFO: Try to find file table in the central directory /usr/sap/D45/SYS/exe/ctrun/sapcpeft
INFO: not found any file table.
source: /usr/sap/D45/SYS/exe/ctrun
target: /usr/sap/D45/SYS/exe/run
ERROR: sapcpe: find <src> /usr/sap/D45/SYS/exe/ctrun failed, 2, No such file or directory, [sapxxcpe.c:1464]
sapcpe.log: END
================================================================
any thoughts & advises, clues ???
Rgds
PRISSUE - RESOLVED
####Summary######################################
Key Word of this Issue :
Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
Reason
Name resolution by conflict / failure by netsvc.conf even we have hostfile & ping works with host name for Every user.
Solution
Adjusted netsvc.conf file to use the hostfile.
DETAILS OF RESOLUTION
OSS Experts asked me to copy the results
SAP Note No. 867176: FAQ: Oracle JDBC (JdbcCheckup) - Point 10
01. I copied JdbcCheckup.sar to location /home/sidadm/867176-jdbchkup/
02. Extracted the same in same foler with command : SAPCAR -xvf JdbcCheckup.sar
03. Now folder contained 2 files ""JdbcCheckup.java"" and "" JdbcCheckup.sar""
04. my JDBC driver file ojdbc14.jar is in location /oracle/client/10x_64/instantclient/
05. To determine the JDBC driver version issued the below command as per note
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Please enter information to test connection to the database
user: SAPSR3DB
password: PASSWORD
database(a TNSNAME entry): SID
Hostname: portalserver
Port (1521): 1527
Connecting to the database...Connecting...
jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:559)
at java.sql.DriverManager.getConnection(DriverManager.java:189)
at JdbcCheckup.main(JdbcCheckup.java:128)
portalserver:sidadm>
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
06. Immediately id did google with above Syntax of error.
"""java.sql.SQLException: Io exception: There is no process to read data
written to a pipe"""
https://forums.oracle.com/forums/thread.jspa?threadID=1320173
which was referring about netsvc.conf
With UNIX Team discussions, adjusted the host file as first name
resolution source and DNS servers list followed in same(netsvc.conf) file. which
fixed the issue and "JdbcCheckup" passed.
07. JdbcCheckup Command - Passed output.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
Please enter information to test connection to the database
user: SAPSR3DB
password: PASSWORD
database(a TNSNAME entry): SID
Hostname: portalserver
Port (1521): 1527
Connecting to the database...Connecting...
jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
connected.
=============
Database Product Name is ... Oracle
Database Product Version is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
=============
JDBC Driver Name is ........ Oracle JDBC driver
JDBC Driver Version is ..... 10.2.0.4.0
=============
Hello World
Your JDBC installation is correct.
portalserver:sidadm>
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
BIG THANK TO EVERYONE !!!!!!!!!!!!!!!!
REGARDS
PR -
Error while Registering the Database with Catalog..
I m creating recovery catalog in same database, and getting the errors.
1. I have created TOOLS tablespace
2.CREATE USER RMAN2
SQL> CREATE USER rman IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4 QUOTA UNLIMITED ON tools;
CREATE USER rman IDENTIFIED BY cat
ERROR at line 1:
ORA-01920: user name 'RMAN' conflicts with another user or role name
SQL> ed
Wrote file afiedt.buf
1 CREATE USER rman2 IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4* QUOTA UNLIMITED ON tools
SQL> /
User created.
3. GRANT RECOVERY_CATALOG_OWNER
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman2;
Grant succeeded.
4. To create the recovery catalog:
1. Connect to the database that will contain the catalog as the catalog owner.
H:\>rman catalog rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 10:45:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to recovery catalog database
2. Run the CREATE CATALOG command to create the catalog.
RMAN> CREATE CATALOG;
recovery catalog created
3. Optionally, start SQL*Plus and query the recovery catalog to see which tables were created:
H:\>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 5 11:53:36 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: rman2/cat
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select count(*) from cat;
COUNT(*)
91
SQL> ed
Wrote file afiedt.buf
1 select owner, table_name, tablespace_name
2 from dba_tables
3* where table_name='DB'
SQL> /
OWNER TABLE_NAME
TABLESPACE_NAME
RMAN2 DB
TOOLS
RMAN DB
ABAMCO_TEST
Next step is to registering the Database in the Recovery Catalog.
Registering a Database in the Recovery Catalog
H:\>rman TARGET / CATALOG rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 11:56:09 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
I m getting above error while registering the Database with Catalog,
Can anybody help me how can I register the Database with Catalog.????
Waiting for Reply!!!!!!!Dear Manoj I can log in at TARGET Database.
H:\>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 12:41:59 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys/rock
connected to target database: ROCK (DBID=3255117147)
RMAN>
============================================================
USING CONNECT STRING as you said.
H:\>rman target "sys/rock@rock as sysdba" catalog rman2/cat@rock
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "as": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
RMAN-01007: at line 0 column 16 file: command line arguments
H:\>rman
It didnt work either.
I have only one database rock, and created recovery catalog in it. I want to register rock database with recovery catalog. -
I am getting error while connecting to sqlplus by using apps account in 11i
i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
[applmgr@appsc05t01 admin]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Raoyes.
login as: gorantla
[email protected]'s password:
Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
[gorantla@appsc05t01 ~]$ sudo su - applmgr
[applmgr@appsc05t01 ~]$ ora_setup
Available databases:
x = ATUXX
y = ATUYY
z = ATUZZ
Select database: \c
y
ORACLE_SID=ATUYY
IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
APPL_TOP=/apps/ATUYY/atuyyappl
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$ tnsping ATUYY
TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
OK (0 msec)
[applmgr@appsc05t01 ~]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Rao -
ORA-28500 and ORA-02063 while connecting MySQL from Oracle-
Dear All,
My Database is Oracle 11gR2 Rac of 2 nodes and on Linux 64-Bit operating system.
Version of my MySQL database is 5.5.17 it is on Linux 32-Bit operating system.
I am trying to connect MySQL database from Oracle database using a database link.
These are the step by step process that I am following to achieve my target. All my processes are on one node of Oracle RAC.
1)
Yum install mysql-connector-odbc
Yum install unixODBC
2)
Edit file /etc/odbc.ini
[test]
Driver = /usr/lib64/libmyodbc3.so
Description = MySQL ODBC 3.51 Driver DSN
SERVER = 10.0.0.1
PORT = 3306
USER = test
Password = test
Database = test
OPTION = 3
SOCKET =
3)
Edit file /etc/odbcinst.ini
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so
Setup = /usr/lib64/libodbcmyS.so
FileUsage = 1
4) test connection
isql –v test test test
Returns:
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL>
5) Now I edit listener.ora file and add the entry. After entry my listener.ora file is like this:
LISTENER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER))
(ADDRESS = (PROTOCOL = TCP)(HOST=testnode1)(PORT = 1521))
# line added by Agent
LISTENER_SCAN1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER_SCAN1))
# line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = test)
(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
6) After these entries the listener status after RESTART is as following:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 27-DEC-2011 01:19:32
Uptime 0 days 9 hr. 31 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testnode1)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "test" has 1 instance(s).
Instance "test", status UNKNOWN, has 1 handler(s) for this service...
Service "testdb" has 1 instance(s).
Instance "testdb1", status READY, has 1 handler(s) for this service...
Service "racdbXDB" has 1 instance(s).
Instance "testdb1", status READY, has 1 handler(s) for this service...
The command completed successfully
7) Then in the tnsnames.ora file I added the following entry:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = EXTPROC1521)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
test =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SID = test)
(HS = OK)
When i tnsping test, it works.
8) I edit the .bash_profile file for Oracle
ORACLE_HOME, ORACLE_BASE were already pointing to the correct destination, I added:
LD_LIBRARY_PATH=/usr/local/lib:/u01/app/oracle/product/11.1.0/db_1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/hs/lib:/usr/lib64:/usr/lib
export LD_LIBRARY_PATH
ODBCINI=/etc/odbc.ini
export ODBCINI
ODBCINSTINI=/etc/odbc.ini
export ODBCINSTINI
ODBCSYSINI=/etc
export ODBCSYSINI
9) Then i configured $ORACLE_HOME/hs/admin/inithsodbc.ora
And Modified these lines:
HS_FDS_CONNECT_INFO = test
HS_FDS_TRACE_LEVEL = ON
HS_FDS_TRACE_FILE_NAME = odbc_test.log
HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_FDS_SUPPORT_STATISCTICS = FALSE
HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
set ODBCINI = /etc/odbc.ini
10) Then i created a database link with the following command:
Create public database link test connect to test identified by test using ‘test’;
I tried username and password in database link with double quotes also.
11) Now Finally when I try to select records from mysql table:
select count(*) from "table"@"test"; -- I have tried with and without double quotes
I get the following error:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from TEST
How to get through this error, and how to check logs for HS?
Your help is required.
Regards, Imran
Edited by: misterimran on Dec 27, 2011 1:21 PMHi,
In your listener.ora for the DG4ODBC entry you had -
(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
but this should also include the path for the driver manager directory which in your case is /usr/lib64 so could you add this ?
The error -
Failed to load ODBC library symbol: /usr/lib64/libmyodbc3.so(SQLSetDescRec)
indicates the /usr/lib64 directory cannot be accessed.
The entry should then look like -
(SID_DESC =
<space>(PROGRAM = dg4odbc)
<space>(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
<space>(SID_NAME = test)
<space>(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
<space>)
The spaces may have bene lost when posting but there should be at least one space in the file as indicated by the <space>.
After making the change then stop and start the listener.
If you still have problems then please post again the current versions of the configuration files, the full errors shown in SQLPLUS for a select and the output from a debug trace showing the errors.
The information shows you are using the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem ?
Regards,
Mike
Maybe you are looking for
-
Glitchy typing when hands are on sides of trackpad.
My 2006 MacBook is glitchy if my hands rest on either side of the trackpad. It will randomly delete chunks of text or move the cursor and begin entering text elsewhere. It's really annoying, and I've lost a lot of work because of it. Help? (And thank
-
Expanding SpeedGrade Timeline without a mouse?
I'm using a 2013 15" Macbook Pro Retina. When working in SpeedGrade, I'm wanting to expand the timeline. I'm not using a mouse. Is there a keyboard shortcut to expand and collapse the Timeline? Thanks. gbmcneill
-
Linear Encoder and Configure Logging
Hi All, I am currently using a PCI-6280 M-series board with LV2010. I have a Linear Encoder in X4 mode connected to Counter 0 and I was wondering if it is possible to stream the values on the counter as it keeps track of the distance into a TDMS file
-
How to disabled (grey) the menu's options in the LaBVIEW window?
HI, I would like to disabled (grey) all the menu options (e.g: File, Edit, Operate, Tools, Browse, Wndow, Help) in the LabVIEW window. Note: This when the program is ready for users. I would like them NOT to be able to see these menu options. How can
-
Screen Sharing, recent problem seeing two monitors, anyone else?
I have a G5 running dual 20"monitors on the G5 dual DVI video card. I used to be able to screen share back to the G5 with my macbook pro and I would get to view the two screens. I could see them both or select on or the other. Recently, I can only vi