Connection error when logining in from sql command line

I'm getting the following errors when I attempt to connect using the sql command line. I have installed 10g Express on XP home addition. The errors are as follows:
ORA-01034 Oracle not available
ORA-27101 Shared memory realm does not exist.
Thanks

I am getting this error in the oradim log file:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'D:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
checked this directory and it is empty
should I uninstall and reinstall. Can I get this file somewhere?

Similar Messages

  • DB connect Datasource is giving error when executing infopackage from SQL

    Hi,
    I have created DB connect data source for SQL data base. Whenever I will try to execute the Infopackage , it is giving below error and when I checked status of job in data source, it stays in yellow.
    SQL error "99" with message: "[Microsoft][SQL Server Native Client 10.0]Numeric
    Message no. RSDS_ACCESS023
    Any suggestion in this.... Thanks.
    Regards
    Deepa.

    Yes, I resolved it.
    Please ask your admin guys do following steps - it will resolve the issue:
    3. Possible problem areas
    a) Datetime data type in source system tables
    The Datetime DB data type and similar (timestamp, smalldatetime) are not used in SAP installations. This type of data cannot be transferred consistently into the BW system without additional activities.
    Solution:
    You must create a view in the source system to transform the data. Since a field of the type DateTime actually represents two SAP Basis types (DATES, TIMES), you must split it into a maximum of two fields, as appropriate:
      create view <VIEWNAME> as
      select
      VD_1_D = convert(varchar(4), datepart(yyyy, d_1))
             + case len(convert(varchar(2), datepart(mm, d_1)))
                  when 1 then '0' + convert(varchar(1), datepart(mm, d_1))
                  else convert(varchar(2), datepart(mm, d_1))
                  end
             + case len(convert(varchar(2), datepart(dd, d_1)))
                  when 1 then '0' + convert(varchar(1), datepart(dd, d_1))
                  else convert(varchar(2), datepart(dd, d_1))
                  end,
      VT_1_T =  case len(convert(varchar(2), datepart(hh, t_1)))
                  when 1 then       /* Hour Part of TIMES */
                        case convert(varchar(2), datepart(hh, t_1))
                          when '0' then '24'    /* Map 00 to 24 ( TIMES ) */
                          else '0' + convert(varchar(1), datepart(hh, t_1))
                        end
                  else convert(varchar(2), datepart(hh, t_1))
                  end
             + case len(convert(varchar(2), datepart(mi, t_1)))
                  when 1 then '0' + convert(varchar(1), datepart(mi, t_1))
                  else convert(varchar(2), datepart(mi, t_1))
                  end
            + case len(convert(varchar(2), datepart(ss, t_1)))
                  when 1 then '0' + convert(varchar(1), datepart(ss, t_1))
                  else convert(varchar(2), datepart(ss, t_1))
                  end
      from <TABLENAME>
    The t_1 Basis field in the table is converted into a DATES field VT_1_D      and a TIMES field VT_1_T. During the generation of the VT_1_T field, the value for 00:00 hours is also converted to 24:00 hours. This conversion may be omitted if not required.
    b) Float data type in source system tables
    In accordance with the IEEE standard regulations, MS SQL Server supports a value range of 1x10E-307 to +go- 1x10E+308. This also applies to the corresponding ABAP data type. However, the BW database in question may restrict this. Depending on the system, a restriction to 1x10E-25 is possible.
    c) Nvarchar data type in source system tables
    The length information displayed is twice as big as the number of characters you specified when you created the column.
    d) Writing names in the source system
    Since the R/3 kernel used in BW can only process table and column names written in upper case, on the source system, you must create DB views that convert the original names in accordance with this rule.
    e) Code page and sort sequence of the source system
    R/3 kernel-based systems such as BW basically assume that the database being used was created using code page cp850 and with the sort sequence 'bin2'.
    The configuration of the source system may differ. If the sort sequence is different, operations for string search (like) and area search (between, >, <) on character fields may return different results.
    Solution:  There is currently no solution.
    If you use multibyte code pages in the source system to save data with character sets of more than 256 characters (Kanji, Hiragana, Korean, Chinese and so on), the characters may be corrupted as a result.
    Solution:  There is currently no solution.
    f) Authorizations and visible objects
    BW DB Connect uses a remote server as a source system to extract data. The data already exists in that remote system. To use BW DB Connect, you will create a new login and new views which the SAP BW system will use when connecting.
    You must remember only the DB objects (tables and views), which directly belong to the new database login are visible.
    You cannot use a login that belongs to the Sysadmin server role, (for example 'sa').
    To create the new login and views:
    1. Create a new login and map it to a user in the database with membership in db_ddladmin
    2. Grant the new user (SELECT at least) access to the original data tables.
    3. Login as this new login and create the views in the database/schema of that user, referring to the original (source) data tables.
    4. Specify this new login in the data extraction and this login/user will read from his own views in his own schema.
    5. Optionally you can switch the new user's role to db_datareader which is sufficient for reading data. Further changes to the remote system e.g. new views or changed views will require the db_ddladmin role again.

  • Error when importing metadata from sql server

    Hi,
    I am having problem connecting to SQL Server. from OWB.(my owb client is 11.1.0.6.0 and owb repository is 11.1.0.1.1)
    I am using Oracle Database Gateways 11g Release 1 (11.1.0.6.0) to connect.
    i make all the configuration for the gateway .
    and execute the dg4msql_cvw.sql to create corresponding views in sql server ...
    THe dblink allows me to run SQL query from sql plus to the tables in SQL server (the host that i want to import data from is i sql server 2000).
    When I test the connnection from owb to SQL Server it returns "successful"
    but when i go to import the meta data of tables in SQL Server i get this error.
    ORA-00942: table or view does not exist
    [Oracle][ODBC SQL Server Driver][SQL Server]Invalid object name 'V$VERSION'.[Oracle][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.
    ORA-02063: preceding 2 lines from FIN_LINK
    owb looking for v$version in sql server and i dont know why .
    i tried to create this view in sql server like this
    create table v$version (banner varchar(20))
    but i dont know what kind of data should i insert in ,,,,,,,
    is there any idea how can i fix this
    thanx

    thanx dallan for replying
    i really execute that script u talk about and i mentioned that in first post ...
    its' dg4msql_cvw.sql script and its make a views in sqlservere
    its create these views :
    ALL_CONS_COLUMNS
    ALL_IND_COLUMNS
    USER_CONS_COLUMNS
    USER_IND_COLUMNS
    ... i r execute it as following : i have windows server 2003, the sql server 2000 installed on this server
    i open the query analyzer and connect to the user that hold the db, i select open and browse to the dg4msql_cvw.sq
    and then execute ... but still same error
    i think this may works ..right?
    and this is the trace log file :
    note :
    here are the trace log file :
    Oracle Corporation --- TUESDAY MAY 05 2009 12:44:14.846
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- TUESDAY MAY 05 2009 12:44:14.846
    Version 11.1.0.6.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "On"
    RC=-1 from HOSGIP for "PATH"
    PATH from environment is "D:\app\OraGtw\bin;D:\app\product\product\11.1.0\db_1\bin;D:\app\BI\server\Bin;D:\app\BI\web\bin;D:\app\BI\web\catalogmanager;D:\app\BI\SQLAnywhere;D:\app\product\product\11.1.0\db_1\jdk\bin;D:\app\BI\server\Bin;D:\app\BI\web\bin;D:\app\BI\web\catalogmanager;D:\app\BI\SQLAnywhere;D:\app\product\product\11.1.0\db_1\jdk\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0"
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using SA as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    ##>Connect Parameters (len=209)<##
    ## DRIVER=Oracle 11g dg4msql-OraGtw11g_home1;
    ## SERVER=web02;
    ## Database=acc-aeu;
    #! UID=SA;
    #! PWD=*
    ## AnsiNPW=Yes;
    ## QuotedId=Yes;
    ## IANAAppCodePage=2252;
    ## ArraySize=100;
    ## PadVarbinary=0;
    ## SupportNumericPrecisionGreaterThan38=1;
    SQL text from hgopars, id=1, len=25 ...
    00: 454C4553 2A205443 4F524620 5622204D [SELECT * FROM "V]
    10: 52455624 4E4F4953 22 [$VERSION"]
    hgopars, line 347: calling SQLNumResultCols got sqlstate 42S02
    plz guys any ideas ???

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • How to create analytic privileges from sql command line in hana studio?

    I want to create a bunch of analytic privileges, activate them and assign it a roles. I was wondering if there is a method where I can create these analytical privileges directly from sql?

    Hi Krishna,
    Thanks for the reply.
    The use case is to create a bulk analytical privileges on the pre-existing analytical or calculation views and I'm failing to create it using the simple CREATE STRUCTURED PRIVILEGE.
    The security guide shows below mentioned as the syntax but I'm failing to create it through that:
    CREATE STRUCTURED PRIVILEGE AP_SALES_1 FOR SELECT ON TABLEOWNER.VIEW_SALES WHERE REGION IN ('DE','UK') OR PRODUCT = 'CAR';
    It gives me this error -
    SAP DBTech JDBC: [257] (at 44): sql syntax error: incorrect syntax near "FOR": line 1 col 44 (at pos 44)

  • Heterogeneous Connectivity: Error when select data from table

    Hi all,
    I use Heterogeneous Connectivity in Oracle 10g Linux to connect SQL server Database. I use FeeTDS ODBC driver. After configuration, I create database link in Oracle, Database link is active.
    But in SQLplus, I write: select * from all_catalog@DBL; It views all tables and views in sql server database.
    When I write: select * from AA@DBL; It produce error:
    ORA-00942: table or view does not exist
    [Generic Connectivity Using ODBC]Record AA has no fields. Loading failed
    ORA-02063: preceding 2 lines from DBL
    Please help me. Thank you very much!

    I am sorry, i did not go through the entire message of yours
    Does AA exist, does not contain columns, describe the table please.
    Maybe you should not try Select * from ,,,, rather Select specific fields.. Also if in the remote database, the field and tablename are written in lower case you may want to try
    select "field_name" , from "aa" etc
    ammar sajdi

  • Database connection error when running report from web application

    Hi all,
    When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
    Rep-501 : Unable to connect to the specified database.
    I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
    GPGWL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = GPGWL)
    )

    Please ask this question in Jdeveloper forum.

  • Execute script from AfterFX command line

    Hello all
    I'm trying to run a script from the AfterFX.exe command line and I get a message: "Unable to execute script at line 1. Syntax error"
    If I run the same script file from the AE Script Editor, it works perfectly
    Here is the command line I'm using:
    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\AfterFX.exe" -noui -s "D:\Product\Watermark\Rendering\WatermarkedSecuritySample.jsx"
    Anyone have an idea of what can cause this error? I've tried running the script directly in the command line like
    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\AfterFX.exe" -noui -s "alert('1')"
    and it works fine for short script but mine is way to big to do that
    As you can probably guess with the "Watermark" and "Security" in the filename, I cannot post the script file here, all I can say is that the line 1 is:
    var projectName = "D:\\Product\\WatermarkTemplate.aep";
    I've tried to replace the entire script with "alert('1');" and it cause the same error when running it from the command line
    Also, if anyone know where I can find the AfterFX.exe command line arguments description, I would be very happy.. everybody talks about aerender.exe but I need thoses options for AfterFX.exe
    Thanks for your help

    Have you tried to use "-r" instead of "-s"?
    (argument for "-s" is a script; and argument for "-r" is a path to script)

  • Connection error when running sql*plus from within a Makefile

    As part of our build process the commands to install/update our database schema are executed from a Makefile (along with all the other build/test commands). We've been running our build under several system configurations, but have hit a hitch with one specific one. So far this has worked with Windows XP (cygwin) against a Express Edition DB and Red Hat ES 5 against Oracle 11g.
    I am now trying to get the build running on a Ubuntu 8.04 workstation with the Oracle Express Edition installed. From the command line I can execute a simple command line such:
    echo "SELECT 5 as foo from dual"|sqlplus user/password
    Now if I put the same command in a Makefile, I receive the following error message:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27123: unable to attach to shared memory segment
    Linux Error: 22: Invalid argument
    Additional information: 1
    Additional information: 32769
    This error seems to pop up a lot when a client is not properly configured (atleast the googling I've done has said as much), but my client is clearly working as I can connect outside of the Makefile. Is there possible some info that gets lost when make executes the process? Any ideas of what I could do to fix this?

    see 115753.1 note on metalink , it clearly explains why you are encountering this .

  • NoSuchMethod error when starting WebStart from command line (Linux)

    I'm using Chainsaw via WebStart http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWhen I enter this link into my browser, it launches WebStart and Chainsaw starts fine (after I approve the certificate).
    When I try to run it from the command line/home/JavaLibs/jdk1.5.0_02/jre/javaws/javaws http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWebStart launches OK and I'm asked to approve the certificate, but then I get the following exception.
    I'm supposing that it's a WebStart problem, rather than a Chainsaw problem, since Chainsaw starts fine if I start it from my browser. Is this a known problem? Is there any workaround?
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
         at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
         at com.sun.javaws.Launcher.run(Launcher.java:165)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: org.apache.log4j.AppenderSkeleton.activate()V
         at org.apache.log4j.chainsaw.ChainsawAppenderHandler.activate(ChainsawAppenderHandler.java:100)
         at org.apache.log4j.chainsaw.ChainsawAppenderHandler.<init>(ChainsawAppenderHandler.java:64)
         at org.apache.log4j.chainsaw.LogUI.createChainsawGUI(LogUI.java:294)
         at org.apache.log4j.chainsaw.LogUI.main(LogUI.java:250)
         ... 11 more

    Which version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
    I did the following steps:
    1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
    2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
    after that, you should be able to click on "start weblogic server" button from toolbar.
    Hope my two cents solve your problem.

  • Validation Error - An error occured executing the provided SQL Command

    Hi All,
    I am new to using SQL Server in general (2008 R2) and am trying to change the source location for multiple packages in order to obtain our data from a more reliable environment.
    I have created a copy of the target database where the data will be loaded, amended the source and target connection managers and ran through the packages to ensure they work, which many do.
    We are changing the source from a local server to a cloud based server and when running a package that literally truncates target table, selects * from source, and inserts data to target I get a validation error "An error occurred executing the provided
    SQL Command "Select *...." The connection has been disabled" and "component ADO NET Source failed validation and returned validation status "VS_ISBROKEN"".
    The table structure from the 2 sources is the same and I have even recreated the data flow tasks to ensure the metadata has updated. When selecting 100 rows or even 5,000,000 rows from source the package runs fine but will fail as above
    when selecting &* (around 9.5 million rows).
    I'm not sure if this is due to the new data source being web based or if it could be some erroneous data in the table that isn't being selected when limiting to 5 milling rows etc.
    I have spend hours trying to figure out what the issue could be (doesn't help being new to SQL Server) so any guidance would be hugely appreciated!!!
    Thanks,
    Louis.

    Hi All,
    Unfortunately I don't believe any of the above are the issues.
    Our current working project/packages run via an SQL agent job daily. To test and ensure the package in question ran outside of the agent WITHOUT changing the ADO NET Source I exported the package (that runs daily) and ran it locally,
    to which it failed.
    I then edited the select statement from 'select * from [table]' to 'select top(100) from [table] to which it ran without error.
    So in summary:
    Package will run fine if run as part of the agent job (with multiple other packages)
    Package will not run from File System when selecting * from the source table
    Package will run from File System when selecting limited rows
    Could this be something to do with permissions? The errors I get are:
    An error occurred executing the provided SQL command: "select * from [table]". The connection has been disabled.
    "component" ADO NET Source"(396") failed validation and returned validation status "VS_ISBROKEN".
    Thanks,
    Louis.

  • Error when login and authorizing my new computor

    error when login and authorizing my new computor

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I think I solved the problem by initiating the update in a different way, from the itunes panel where I can click to start the update, instead of saying yes when asked if I want to update when itunes launches in response to the iphone being plugged into the computer.

  • Is retreiving a db connection from the command line possible?

    I have some Java code that is part of a larger monthly data processing application that is run via scripts on AIX. In the middle of the data processing, one of the scripts calls my Java code, which reads in data from one table, does some magic on it, and outputs it to another table, which the calling script then accesses and everything goes on its merry way.
    Currently, the user id, password and db url are stored in a property file that the Java app uses to make the database connection. In an effort to increase security, my team is removing all db connection information from property files such as this and creating one common script that will be executed to connect to the databases, hiding the connection info and reducing the number of locations that passwords must be updated every 90 days.
    So my question is this: When running a processing script, executing this common connection script creates the db connection and database commands can be issued from the processing script. In a similar vein, is there a way for my Java app to call this common connection script and retrieve the connection object for use inside the Java app?

    flyingmullet wrote:
    I have some Java code that is part of a larger monthly data processing application that is run via scripts on AIX. In the middle of the data processing, one of the scripts calls my Java code, which reads in data from one table, does some magic on it, and outputs it to another table, which the calling script then accesses and everything goes on its merry way.
    Currently, the user id, password and db url are stored in a property file that the Java app uses to make the database connection. In an effort to increase security, my team is removing all db connection information from property files such as this and creating one common script that will be executed to connect to the databases, hiding the connection info and reducing the number of locations that passwords must be updated every 90 days.
    So my question is this: When running a processing script, executing this common connection script creates the db connection and database commands can be issued from the processing script. In a similar vein, is there a way for my Java app to call this common connection script and retrieve the connection object for use inside the Java app?No
    But the script could pass the connection information to the java program as command line arguments.

  • Iphone 6 lost connection error when PC READS the phone since iTunes update. t

    Lost connection error when trying to sync iphone 6 since iTunes update. Has anyone else had this issue its VERY FRUSTRATING, when the PC reads the phone?
    Message was edited by: marcityme

    Get a replacement nanoSIM from Rogers and see if this helps.

Maybe you are looking for

  • Prevent of invoice for open PO

    hi gurus, is there any way to prvent invoice for open PO, rgds

  • How do I set up my app to display its name in Chinese?

    Within my app-descriptor.xml <name>         <text xml:lang="en">Appname</text>         <text xml:lang="es">ESAppname</text>         <text xml:lang="ch">背痛</text>         <text xml:lang="zh_CN">背痛</text>         <text xml:lang="zh_TW">背痛</text>     </

  • Want to create a link on seeded page which can pass the values of LOVs

    Hi, I have a seeded page.. and i want to create a Link on the page which will redirect to new custom page... When user clicks on the link, the values of some LOVs should be forwarded on the custom page...... I created a link through personalization..

  • WebDynPro ABAP - Infrastructure Needed

    Hello Folks, ECC 6 enables programming in WebDynPro for ABAP. On the Java side, you need to have a NetWeaver AS-Java system for it and it is recommended to program on WebDynPro for Java on a separate AS-Java than the one that runs the Portal so as to

  • Which is better - generation 1 or 2

    I am thinking of buying Apple TV 1st Generation had a hard drive 2nd doesn't Is this the biggest difference? Which is the better model?