Cannot connect to Database: ORA-01078: failure in processing system paramet

Hi,
i just installed Oracle Database XE 10g. But i cannot connect to the database. I'm trying to connect to the database with sqlplus.
After searching for some log files i found the log-file oradim.log where i get the following error messages:
Tue Jul 18 14:36:25 2006
<INSTALLDIR>\app\oracle\product\10.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd * -log oradim.log -nocheck 0
Tue Jul 18 14:36:25 2006
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '<INSTALLDIR>\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: Datei kann nicht geöffnet werden
O/S-Error: (OS 2) Das System kann die angegebene Datei nicht finden.
Any help is highly appreciated.
Thank you in advance.
Yuecel

Installation finished successfully. No error messages at all.
Was my first install and it did never work. I tried to reinstall a few time (with and without firewall etc.), but still not working.
I did not change anything after install. Just opened sqlplus console and tried to connect to the database.

Similar Messages

  • ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox). I have the users grid and oracle11g. Add groups and install grid infrastructure first as a grid user and install database as oracle user as in documentation successfully.
    I have following users and groups as
    [grid@orcl11g ~]$ id grid
       uid=501(grid) gid=502(oinstall) groups=502(oinstall),492(vboxsf),501(grid),503(dba),505(asmdba),506(asmadmin),507(asmoper)
    [grid@orcl11g ~]$ id oracle11g
       uid=500(oracle11g) gid=502(oinstall) groups=502(oinstall),500(oracle11g),492(vboxsf),503(dba),504(oper),505(asmdba)
    .bash_profile edited  for oracle11g user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=ora11g
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
    export ORACLE_SID=ora11g
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    .bash_profile edited  for grid user as
    "export TMP=/tmp
    export ORACLE_HOSTNAME=orcl11g
    export ORACLE_UNQNAME=+ASM
    export ORACLE_BASE=/u01/app/grid
    export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid
    export GRID_HOME=$ORACLE_BASE/product/11.2.0/grid
    export ORACLE_SID=+ASM
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
    export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
    When I log on as grid user. I check the followings:
    [grid@orcl11g ~]$ crsctl check has
    CRS-4638: Oracle High Availability Services is online
    [grid@orcl11g ~]$ srvctl status database -d ora11g
    Database is running.
    [grid@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:17:37 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> select status from v$instance;
    STATUS
    STARTED
    Till here everything seems to be OK!!!!
    When I log as  oracle user. I check the followings:
    [oracle11g@orcl11g ~]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 25 19:21:46 2014
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    Connected to an idle instance.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initORA11G.ora'
    Also when I log on as a grid user again and use following commands to shutdown and start database again the STATUS of instance is again STARTED not OPEN.
    [grid@orcl11g ~]$ srvctl stop database -d ora11g -o normal
    [grid@orcl11g ~]$ srvctl start database -d ora11g
    And also when I edit /etc/oratab file. I change N to Y for +ASM. But when restart system it seems not changed value is N again.
        +ASM:/u01/app/grid/product/11.2.0/grid:N   # line added by Agent
         ora11g:/u01/app/oracle/product/11.2.0/dbhome_1:Y
    NOW QUESTIONS!!!!!
    1. Why I can't change the status of database to OPEN as grid user?
    2. The status is always STARTED when querying v$instance. İs it status of +ASM or database?
    3. When checking database as grid user it seems to be Database runnning...  If running why it is not in OPEN state? What is running means here?
    4. When I log on as oracle user and query v$instance, then error shown above occured. And also when startup  the database then another error occured as in above. WHY?
    5. When I edit /etc/oratab file manually why second row saved but the first one is changed after restart the system?
    6. Normally, which user have to start, stop or manage database? I think that oracle user is necessary for managing database and the grid user is only for managing ASM and Oracle Restart.
    PLEASE HELP ME TO SOLVE THIS CHAOTİC SİTUATİON!!!
    Thanks,
    DBA_84

    I have installed an Oracle 11gR2 on Oracle Linux Server 6.6 (Virtualbox)
    Pl identify exact version of 11gR2 to 4 decimal places. As noted in your other thread - Failed to start oracle-ohasd, error: Inappropriate ioctl for device ohasd failed to start at roothas.pl - you will need a minimum version of 11.2.0.3 for Linux 6.x - using a lower version may result in unexpected issues or problems.

  • Startup ORA-01078: failure in processing system parameters

    Hi All ,
    Good Evening/Afternoon.
    I am oracle version 10.2.0 on LINUX.
    I have created a local database for my practice with the name ZION. The pfile for the same currently resides on the location : /u01/app/oracle/ZION.
    Whenever while doing a startup i mention this location it gets opened properly.
    As a default location , the pfile should be located in the $ORACLE_HOME/dbs path so i created a softlink from the above path(/u01/app/oracle/ZION) to the dbs directory.
    [oracle@srv1 dbs]$ pwd
    /u01/app/oracle/product/10.2.0/db_1/dbs
    [oracle@srv1 dbs]$ ls -lrt
    total 7032
    -rw-r-----  1 oracle oinstall    8385 Sep 11  1998 init.ora
    -rw-r-----  1 oracle oinstall      24 Feb 27  2011 lkORCL
    -rw-r-----  1 oracle oinstall    1536 Feb 27  2011 orapworcl
    -rw-rw----  1 oracle oinstall      24 Aug 27 10:31 lkZION
    -rw-rw----  1 oracle oinstall    1544 Aug 28 00:59 hc_ZION.dat
    lrwxrwxrwx  1 oracle oinstall      12 Aug 29 19:58 initZION.ora -> initZION.ora
    -rw-r-----  1 oracle oinstall 7159808 Aug 29 20:20 snapcf_ZION.fwhen i give a startup command without specifying the pfile ,I get this error :
    [oracle@srv1 dbs]$ echo $ORACLE_SID
    ZION
    [oracle@srv1 dbs]$ sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 6 23:20:52 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora'Is it because of the softlink being present and not the actual file in the dbs location ?
    Please suggest.
    PS: Meanwhile I am trying the otherway round. copying the initZION.ora in the dbs after removing the softlink from here and then create the softlink in /u01/app/oracle/ZION from dbs.
    Thanks and Regards
    Kk

    Hi Both,
    Your observations are correct,
    when i gave the command as suggested it showed thats its a self link :
    [oracle@srv1 oracle]$ ls -ltr
    total 7036
    drwxr-xr-x  3 oracle oinstall    4096 Oct  1  2010 product
    drwxrwx---  6 oracle oinstall    4096 Jun 19 10:13 oraInventory
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:18 oradata
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:19 admin
    drwxr-x---  2 oracle oinstall    4096 Aug 27 10:19 flash_recovery_area
    drwxr-xr-x  9 oracle oinstall    4096 Sep  6 23:09 ZION
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:14 initZION.ora:ORIGINAL
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:36 initZION.ora
    -rw-r-----  1 oracle oinstall 7159808 Sep  7 00:04 control05.ctl
    [oracle@srv1 oracle]$ ln -s initZION.ora $ORACLE_HOME/dbs/And then when i gave the command as suggested :
    [oracle@srv1 oracle]$ cd $ORACLE_HOME/dbs
    [oracle@srv1 dbs]$ ls -lrt
    total 7036
    -rw-r-----  1 oracle oinstall    8385 Sep 11  1998 init.ora
    -rw-r-----  1 oracle oinstall      24 Feb 27  2011 lkORCL
    -rw-r-----  1 oracle oinstall    1536 Feb 27  2011 orapworcl
    -rw-rw----  1 oracle oinstall      24 Aug 27 10:31 lkZION
    -rw-rw----  1 oracle oinstall    1544 Aug 28 00:59 hc_ZION.dat
    -rw-r-----  1 oracle oinstall 7159808 Aug 29 20:20 snapcf_ZION.f
    -rwxr-x--x  1 oracle oinstall     924 Sep  6 23:38 initZION.ora:BKP
    lrwxrwxrwx  1 oracle oinstall      12 Sep  7 00:05 initZION.ora -> initZION.ora
    [oracle@srv1 dbs]$ ls -ll /u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora
    lrwxrwxrwx  1 oracle oinstall 12 Sep  7 00:05 /u01/app/oracle/product/10.2.0/db_1/dbs/initZION.ora -> initZION.ora
    [oracle@srv1 dbs]$You guys are correct , the link is a self link... though i created it in /u01/app/oracle/.
    I think i need to recheck the syntax for softlink.
    Thanks
    Kk
    Edited by: Kk on Sep 6, 2011 11:41 AM

  • ORA-01078: Failure in processing system parameters

    Hi,
    I have installed Data Vault 11.1.0.7 on my DB, I need to configure the datavault with database. But i receive ORA-01078 as I select my instance using the following path in DBCA
    Launch DBCA -> Database configuration option -> select instance name -> error.
    please find the trace log, init parameter( I already have a working spfile also I have recreated it) file below,
    Trace Log
    [Thread-28] [6:48:46:375] [SQLEngine.reInitialize:624] Reinitializing SQLEngine...
    [Thread-28] [6:48:46:376] [OsUtilsBase.getOracleBaseFromInventory:414] Getting ORACLE_BASE from inventory.
    [Thread-28] [6:48:46:376] [OsUtilsBase.getOracleBaseFromInventory:428] Setting oracle.installer.oui_loc = /sarahd1db/db/tech_st/11.1.0/oui
    [Thread-28] [6:48:46:376] [OsUtilsBase.getOracleBaseFromInventory:431] Oracle Inventory property invptrloc = null
    [Thread-28] [6:48:46:380] [OsUtilsBase.getOracleBaseFromInventory:448] Inventory Home Size = 1
    [Thread-28] [6:48:46:381] [OsUtilsBase.getOracleBaseFromInventory:474] ORACLE_BASE returned from inventory:= /sarahd1db/db/tech_st/11.1.0
    [Thread-28] [6:48:46:381] [SQLEngine.getEnvParams:446] NLS_LANG: American_America.AL32UTF8
    [Thread-28] [6:48:46:382] [SQLEngine.initialize:253] Execing SQLPLUS/SVRMGR process...
    [Thread-28] [6:48:46:457] [SQLEngine.initialize:281] m_bReaderStarted: false
    [Thread-28] [6:48:46:458] [SQLEngine.initialize:285] Starting Reader Thread...
    [Thread-28] [6:48:46:459] [SQLEngine.initialize:334] Waiting for m_bReaderStarted to be true
    [Thread-28] [6:48:46:597] [SQLEngine.done:2014] Done called
    [Thread-28] [6:48:46:601] [SQLEngine.done:2014] Done called
    Init file
    sarahd1.__db_cache_size=3422552064
    sarahd1.__java_pool_size=402653184
    sarahd1.__large_pool_size=671088640
    sarahd1.__pga_aggregate_target=2147483648
    sarahd1.__sga_target=6442450944
    sarahd1.__shared_pool_size=2281701376
    sarahd1.__streams_pool_size=134217728
    *._b_tree_bitmap_plans=FALSE
    *._fast_full_scan_enabled=FALSE
    *._index_join_enabled=FALSE
    *._like_with_bind_as_equality=TRUE
    *._optimizer_autostats_job=false
    *._sort_elimination_cost_ratio=5
    *._sqlexec_progression_cost=2147483647
    *._system_trig_enabled=true
    *._trace_files_public=TRUE
    *.aq_tm_processes=1
    *.compatible='11.1.0'
    *.control_files='/sarahd1db/redob/cntrl01.dbf','/sarahd1db/redoa/cntrl02.dbf','/sarahd1db/temp/cntrl03.dbf'
    *.cursor_sharing='EXACT'
    *.db_block_checking='FALSE'
    *.db_block_checksum='TRUE'
    *.db_block_size=8192
    *.db_files=512
    *.db_name='sarahd1'
    *.diagnostic_dest='/sarahd1db/db/tech_st/11.1.0/admin/sarahd1_usmtniaderpdb04'
    *.dml_locks=10000
    *.job_queue_processes=10
    *.log_archive_dest='/sarahd1db/arch'
    *.log_archive_format='sarahd1_%t_%s_%r.arc'
    *.log_buffer=10485760
    *.log_checkpoint_interval=100000
    *.log_checkpoint_timeout=1200
    *.log_checkpoints_to_alert=TRUE
    *.max_dump_file_size='204800'
    *.nls_comp='binary'
    *.nls_date_format='DD-MON-RR'
    *.nls_language='american'
    *.nls_length_semantics='BYTE'
    *.nls_numeric_characters='.,'
    *.nls_sort='binary'
    *.nls_territory='america'
    *.olap_page_pool_size=4194304
    *.open_cursors=600
    *.optimizer_secure_view_merging=false
    *.parallel_max_servers=8
    *.parallel_min_servers=0
    *.pga_aggregate_target=2G
    *.plsql_code_type='INTERPRETED'
    *.plsql_native_library_dir='/sarahd1db/db/tech_st/11.1.0/plsql/nativelib'
    *.plsql_native_library_subdir_count=149
    *.plsql_optimize_level=2
    *.processes=800
    *.query_rewrite_enabled='true'
    *.sec_case_sensitive_logon=FALSE
    *.session_cached_cursors=500
    *.sessions=1600
    *.sga_target=6G
    *.shared_pool_reserved_size=400M
    *.shared_pool_size=1400M
    *.timed_statistics=true
    *.undo_management='AUTO'
    *.undo_tablespace='APPS_UNDOTS1'
    *.utl_file_dir='/usr/tmp','/usr/tmp','/sarahd1db/db/tech_st/11.1.0/appsutil/outbound/sarahd1_usmtniaderpdb04','/usr/tmp'
    *.workarea_size_policy='AUTO'
    *.remote_login_passwordfile='EXCLUSIVE'
    Kindly suggest on this or let me know if any doc/bug/resolution
    Thanks
    Pankaj

    Hi,
    we are implementing datavault on an existing 11g DB.The database is up and running fine , but DBCA shows this error when I am trying to configure datavault using DBCA.
    I have created a spfile from the same pfile, and Db does not show any error while coming up or shutting down. The issue comes only while using DBCA. I shall try minimizing the parameters and try again.
    Thanks
    Pankaj

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, 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 "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • DBSPI-0001.3: DB-SPI cannot connect to database db_name, may be down

    Hi All,
    Please have a look to the alert. how can I find out, the timeout value used to generate this message?
    "DBSPI-0001.3: DB-SPI cannot connect to database db_name, may be down; Oracle error [ORA-01013:_user_requested_cancel_of_current_operation]."
    I am not able to find out the actual reasion for the same.
    Thanks
    Vimlendu

    This error, in an unknown product connected to an unknown version of the Oracle database needs to be addressed by whatever company or product forum relates to the product itself. "DBSPI-0001.3: DB-SPI is not the Oracle database.

  • Cannot connect oracle database follwing path.

    Hi experts,
                       cannot connect oracle database in the following path.
    i take sap daily backup on testing server ,but it is fail.
    F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11.
    but the following path not found in the testing server \sapcheck\cegvmynv.chk
    what can i do?
    Text removed by moderator
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000001074, user ID SUPERUSER)
    Execute logical command BRCONNECT On host mpq
    Parameters: -u / -jid CHECK20110923162500 -c -f check
    BR0801I BRCONNECT 7.00 (43)
    BR0477I Oracle pfile D:\oracle\MPQ\102\database\initMPQ.ora created from spfile D:\oracle\MPQ\102\database\spfileMPQ.ora
    BR0805I Start of BRCONNECT processing: cegvmynv.chk 2011-09-23 16.25.51
    BR0252E Function fopen() failed for 'F:\oracle\MPQ\sapcheck\cegvmynv.chk' at location main-11
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file F:\oracle\MPQ\sapcheck\cegvmynv.chk failed
    BR0806I End of BRCONNECT processing: cegvmynv.chk2011-09-23 16.25.54
    BR0280I BRCONNECT time stamp: 2011-09-23 16.25.54
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    Job finished
    Regards,
    A.Sithanandan
    Edited by: Matt on Sep 26, 2011 9:07 AM

    Hi Justin,
    I can connect the database where I use Oracle ODBC Driver. But Microsoft driver didn't work.
    However, I can connect to the database where I use Microsoft driver in W2K (server side)...
    Catherine
    Can you connect with the Oracle driver? I'm not sure whether the Microsoft driver is supported against a 9i database (I have no information either way).
    Justin

  • Cannot connect to database host...

    Hello,
    First, I want to say i'm not so good in english that's why i'm apologies for this.
    I try to use Sun VDI, my computer doesn't work in 64 bits that's why i use this product in 32 bits so I'm in a product envionnement.
    I've installed A mysql 5 server in a 2003 server with php, phpmyadmin to see database, and when i install sun vdi in my solaris 10 i have this error message:
    Cannot connect to database host...ip:3306 as user root, but when i've install mysql i've just root for user and i use this he work, and i use this login to connect in my database.
    What can Have to do now? My port is really 3306 when i install mysql and the two machine is in the same network, ping work.
    Thanks for yours futur answers
    Regards,

    Select (1/2/0) : 1
    Specify an administrator password: (in my case) xxxxxxxx _(password of my sql)_ <------ This is wrong. This can be any desired admin password.
    specify a cluster signature: 7727kkkk
    again
    you can only connect to a remote MYSQL database in a 32-bit system.
    Continue? (y/n): y
    Enter the dns name of mysql server: _192.168.168.165_ <------- This is wrong. This is an IP address and not a DNS name (not sure if that is really a problem here).
    Enter the port of mysql server : 3306
    enter mysql priviliged administrator: root_ <------- This is wrong. Here you have to enter the admin user name of your database.
    enter mysql priviliged administrator password: xxxxxxxx_ <------- Here you enter the corresponding password for this user (so password of your MySQL account)
    Do you want to use a Socket secure layer (ssl) connection for '192.168.168.165'? (yn): n
    Cannot connect to database host 192.168.168.x:3306 as user 'root'
    Please make you shure connexion daitels you have provided are correct
    Where i have wrong please?

  • Cannot connect to database via JApplet

    Hi,
    I created a Java application which allows me to send information to my mysql database using the jdbc connector via a JFrame. However when i modified the file to be a JApplet the info will not sent and i cannot connect to the database? Any particular reason for this?
    I need it to be a JApplet so i can add it to a browser window.
    Code: ( java )
    private void save ()
    Connection conn = null;
    try
    Statement stmt;
    String userName = "root";
    String password = "PASSWORD";
    String url = "jdbc:mysql://localhost:3306/DATABASE";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    //Get a statement object
    stmt = conn.createStatement();
    stmt.executeUpdate( "INSERT INTO TABLE(Info i know to put in) VALUES('Values i know to put in')");
    catch (Exception e)
    System.err.println ("Cannot connect to database server");
    finally
    {if (conn != null)
              {try
                   {conn.close ();       
    System.out.println ("Database connection terminated");
    catch (Exception e) { /* ignore close errors*/  }
    As i said above it works fine as a JFrame but not as a JApplet. Any help would be great.
    Thanks G

    Your error reporting is not good. You print a meanningless message or ignore the error.
    Print the stacktrace in the catch blocks.
    Change the code, rerun it and then check the Java Console for output.
    I'm guessing you'll see a security error. Unsigned applets can't access the client file system. If so, sign the applet.

  • Cannot connect to Database attempts hang (no errors)

    hi, i have oracle 9.2 on solaris 5.8
    weirdly, today we could not connect the db anymore. even these does not work on the server:
    sqlplus /nolog
    SQL> connect /as sysdba
    sqlplus "/ as sysdba"
    sqlplus system/**
    ALL attemps just hang , no errors.
    what can i do?
    i think the only way is reboot the machine?
    any ideas?

    here is the output
    bash-2.05# vmstat 2 20
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1940080 1012952 9 25 51 0 0 0 0 0 7 5 7 729 777 245 15 3 82
    0 0 0 1828840 855200 0 4 0 0 0 0 0 0 386 7 387 5626 62112 3614 25 40 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 384 7 384 5611 62299 3786 23 40 37
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 372 6 373 5582 63459 3754 24 39 37
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 391 7 391 5640 63245 3976 23 38 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 374 18 374 5789 61626 3760 24 37 3
    9
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 373 7 373 5536 62333 3888 20 47 34
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 376 7 376 5585 62463 3594 24 42 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 354 8 354 5364 61787 3396 24 41 36
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 7 378 5616 61667 3777 18 47 35
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 364 11 364 5494 63075 3616 24 40 3
    6
    0 2 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5733 62161 3947 22 39 39
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 8 388 5702 61873 4142 22 43 35
    0 1 0 1828840 855200 0 0 0 0 0 0 0 0 383 7 383 5584 63365 3815 28 33 40
    1 0 0 1828840 855200 0 0 0 0 0 0 0 0 387 7 387 5643 63920 3846 29 29 41
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 378 10 378 5650 61793 3914 23 40 3
    6
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 388 7 389 5644 62798 4064 24 36 40
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 377 11 377 5592 62206 3941 23 47 3
    0
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 8 380 5605 61121 3959 21 50 29
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr f0 m0 m1 m2 in sy cs us sy id
    0 0 0 1828840 855200 0 0 0 0 0 0 0 0 379 7 379 5511 61964 3549 19 46 35
    Also, i cannot connect the database, i dont have any active connections, cannot run any sql statements..

  • Cannot connect to database master at SQL server at SERVERNAME

    I have installed SQL 2008 R2 in a fresh win 2008 R2. I’m running the sharepoint configuration Wizard using the database server name with the correct domain
    credentials but I get the following error message. “Cannot connect to database master at SQL server at
    SERVERNAME. The database might not exist, or the current user does not have permission to connect”
    I‘m able to login to the new SQL server using the “SQL server management studio” with no problems. I used the sa account and a domain account.
    The sharepoint server is also a new installation. And both servers have the firewall disabled.
    Thanks in advance for your help.
    Simon

    Hi,
    What is your SharePoint server’s version?
    Please make sure you use the farm admin account to launch SharePoint configuration wizard. If not, please log in with this account, then check the effect.
    In addition, check if you create a named instance, such as, servername\sharepoint, however, you only specify the servername in the configuration wizard. If this is
    the case, change to servername\sharepoint, then check the effect.
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Regards, Rock Wang Microsoft Online Community Support

  • AHHHHHHH! Install cannot connect to database error!

    I am so frustrated with application server install...
    I'm trying to install SOA 10.1.3, advanced option, 1st option
    When it asks me for database account, host name, service name I enter all this info in then i click next...
    This is when I get the Install cannot connect to database error even though db i'm trying to connect to is on same machine!
    Anyone have any ideas other than laying off medication as to what the problem is?

    Check the requirement chapter in the Installation Guide, but it should be similar to:
    127.0.0.1               localhost.localdomain localhost
    192.168.1.88            yourserver.domain.com yourserverHowever, I don't think you should change any of this after a installation...

  • Concurrent request - view output - Error connecting to database ORA-1017

    Hi all,
    When I run Active Users concurrent request.
    It complete sucessfully without any error.
    but when i click on view output then i get following error.
    Error connecting to database ORA-1017
    Reg
    Chirag Patel
    Nairobi

    Hi All,
    I followed this metalink note.
    Copy File : Error connecting to database ORA-1017 [ID 269511.1]
    and it if working fine now.
    Reg
    Chirag Patel

  • Cannot connect to Database in SQL Developer - TIMEZONE errors

    Cannot connect to any database get the following errors.
    Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Tried change NLS settings to America (currently South Africa) but to no avail.
    My system info:
    About
    Oracle SQL Developer 3.2.20.09
    Version 3.2.20.09
    Build MAIN-09.87
    Copyright © 2005, 2012 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.09.87
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_38
    Oracle IDE     3.2.20.09.87
    Versioning Support     3.2.20.09.87
    Running on Windows 7 with a 64-bit oracle client.

    I managed to find the solution in previous thread
    Please see my error message.

  • Cannot connect to database after installing 10g

    Hello friends at www.oracle.com ,
    after installing Oracle 10g, I am trying to use programs like SQL*Plus or Forms Builder. However, these programs are asking me for the host string, and:
    - I cannot simply ignore this question, because I cannot connect without this information.
    - But I don't know how I can configure a host string for local access.
    - And I don't know if there's already a default host string for me to use after installing Oracle 10g, because I have no practice in database configuration, since I'm a developer.
    Please help me.
    Best regards,
    Franklin Goncalves Jr.

    Hi ,
    Few pointers which may help you , but a small caveat all instructions pertaining to way we do internally in oracle , so there could be some mismatch at customer end , but more or less logic should be same , in case you can't any step revert back :
    1. When Db asks you for connect string essentially it asks for the complete description of the db to connect including :
    Db server machine name / ip - that can be resolved from your system if it's a remote server .
    Username , Password ,
    Db Instance Name - TnsAlias mentioned in TnsNames.ora .
    Now there are few Env. variables that you need to set before running / starting an oracle db instance .
    1. Oracle_Home - Essentially Oralce Installation directory .
    2. Oracle_sid - unique identifier for Oracle Instance .
    3. For OracleDb only set T_Work and TNS_ADMIN env. variables as %Oracle_Home%\work directory and place your Listener.ora file in that folder .
    4. Make your initial parameter file init<Oracle_Sid>.ora in %Oracle_Home%\database -- default location .
    5. Create Oracle Instance specific services to run on a Windows machine , essentially they will be two and default nomenclature is :
    Oracle Service - OracleService<Oracle_Sid>
    Listener Service - Oracle<oracle_sid>TnsListener
    Now in %Oracle_Home%\bin directory you have couple have tools to help you in whole process including lsnrctl.exe , tnsping.exe , sqlplus.exe .
    and onec you start oracle instance like this :
    SQlPlus "/as sysdba" -- OS Authentication
    --- Connected to Idle instance
    Sql> startup --> this will take default parameter file
    Check out dump location for log and trace files generated if enabled .
    Now client setting :
    1. This is the place where you need appropriate connect string with all components as mentioned above .
    Check out any good site for exact syntax , but you need to make sure regarding client you are using for e.g:
    ODP.Net , Java Driver etc .
    For Client few important settings :
    Execution directory should contain tnsnames.ora
    Create T_WORK and TNS_ADMIN for execution directory .
    check out for listener connectivity using :
    tnsping <TnsAlias>
    Imp -- Include all relevant stuff in System PATH for execution from anywhere .
    Once it connects tehn you can use appropriate username / password for connecting with appropriate connection string .
    Normally while installing oracle you would have set the username and password to be changed later .
    or otherwise onec you log in as sysdba, you can create new username/password and give it sysdba permissions .
    Also imp. thing for connecting from a remote system is having Sqlnet.ora authentication file in client's T_WORK and TNS_ADMIN .
    I hope it helps upto some extent .
    regards ,
    Mrinal

Maybe you are looking for

  • How can an email account be created using Java mail on the FLY.

    Scenario is such that i am using mail server from MDaemon.com and JavaMail api,and making Email website like yahoo...some what ! but how can a user create his account by just filling the form and when he enters his account be created in Mail server..

  • PRT's not printed on the SAP standard insp. instruction

    Dear forum, My client evaluates the possibility to use the insp. instruction program available in standard SAP, the pgm RQEEAS20, SAPScript INSP_INSTRUCTION. The client is generally satisfied with the layout, but unfortunately the PRT information fro

  • Adjusting queuestatistics.vbs timeout in MSMQ management pack

    Hi all, I'm running SCOM 2012 R2 and my question is specific to the MSMQ 6.0.6700.88 management pack.  I'm seeing a few alerts titled "Operations Manager failed to start a process", with the alert details saying "Forced to terminate the following pro

  • BBCiplayer global

    My BBC iPlayer global has disappeared from the screen and I can't reload it from the app store, nor can I delete from iPad to reinstall

  • SNC - Order document management (ODM)

    We have a requirement to implement a new solution in the SNC for the handling of returnable packaging account statements. So we need to create 2 new structures in the SNC to hold the data that will be sent from our ERP system across to the SNC. We wo