Problem with Oracle database Express Edition (Linux)

I installed oracle-xe on my machine (ArchLinux x64), and all worked fine before a  reboot. After it, I still can connnect to the db with sqlplus, but can't connect to apex (http://localhost:8080/apex/f?p=4950) and can't get a connection using ojdbc:
Exception in thread "main" java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection.
I tried to reinstall the db several times, but the result was always the same: all is ok only before rebooting. I'm a newer with Oracle database and can't find a solution. Could you give me some tip about it?

The problem was solved by changing permissions for log directory :
sudo chmod -R 777 /usr/lib/oracle/product/11.2.0/xe/log

Similar Messages

  • Connect Problems with Oracle Database Express Edition 11g Release 2

    Hello,
    I am a student trying to install Oracle Database Express Edition 11g Release 2 and SQL Developer on my home system, Win7 64Bit, in order to practice some things I've learned from me DBA class and Developer classes.
    Anyway, I have everything installed, but I am having difficulty connecting as SYS or SYSDBA in the 'Run SQL Command Line', I keep getting the ORA-01017: invalid username/password: logon denied.
    However, If i select the 'Start Database' I get this:
    C:\oraclexe\app\oracle\product\11.2.0\server\bin>
    and I can type sqlplus / as sysdba and it starts up just fine and show user lists me as "SYS".
    but if I go back to 'Run SQL Command Line' I still cannot connect as SYS or SYSDBA...I find this both confusing and frustrating. I don't know if I am in different instances or something like that, but I seem to be limited to connecting only as "SYSTEM". I need SYS because I want to practice creating datafiles, instances and things like that, but I seem to be lost.
    Also, I am trying to create a new DB connection with SQL Developer and I can only us SYSTEM for my login which, if I understand correctly, will limit my privileges. Again When I try to sign in with SYS or SYSDBA I get error'd out. When I installed Ora11gDBExpress I was prompted in input a single password that was supposed to grant me access as SYS or SYSTEM, but I am limited to only SYSTEM for some reason.
    So, I am looking for help/guidance as to what to do.
    Thanks in advance for any and all help,
    Warren

    General rule of thumb, don't use sysdba unless you want to shut down the database, or grant a database user privileges on a sys object.
    A SYSTEM connection is not "limiting", it has the DBA role which means a user with a system connection can do most anything needed, including select/update/delete/drop any user's objects as well as change parameters in the instance.
    The system user can indeed add datafiles, tablespaces, etc. The instance and database should already be created as long as the installer completed all its chores correctly. For XE, per the license agreement only one instance can run on one host. If you want to try creating a database, it will require shutting down the XE instance and creating a new database service, creating the database, and installing the system catalog and any other optional components desired. Good practice indeed, but a bit advanced for the new user.
    Do create users for schemas ... connect system; create user <username> identified by <password> and connect <username> for the schemas (a collection of objects) within the database. Grant the resource and create session privilege to <username> to allow the database user the ability to create tables, indexes, stored procedures, etc.
    There is no "or" in a sys as sysdba connection, from 10g onwards a sys connection requires using the sysdba privilege. To enable a sysdba connection, add your host user to the ORA_DBA group on the host. To verify the OS users in the ORA_DBA group, this might work for win7, in a cmd box ...
    $ net localgroup ora_dba
    ...If your OS user is in the ora_dba group the sys as sysdba password is not relevant, you can in fact type anything for a password. If you wish to connect with the sysdba privilege from a remote client, that is a bit different and requires knowing the password set in the instance password file. Which should be set the same as the system password defined in the installer, but you can change that by creating a new password file. Another slightly advanced topic.
    In Windows IMHO its better to leave the listener and database set to Manual start (in the services applet, Start/Run/services.msc) and start the listener, then the database, when its needed. At least for an XE instance, as its intended for practice and learning RDBMS management.
    Edited by: clcarter on Mar 2, 2012 6:19 PM
    fix typos

  • I have a problem with oracle 10g express edition

    Hello,
    I have just installed oracle 10g express edition and I have a problem with the script editor. I can write anything in the window that appears below buttons undo,redo and find, It is like disabled. I use windows XP, Firefox 2.0 ( I have also tried with Iexplorer and It does not work either). I have javascript enabled.
    anyone knows what is the problem?
    Later,I have installed it in a virtual machine of Windows 2003 Server and It works well but I`d rather use it in my Microsoft XP
    Thank you very much
    Fernando Martínez

    It looks like you can fix this if you replace the codearea.xbl.xml and codearea.iframe.html files in the
    /i/editor folder with files from an Apex 2.2.1 installation - such as the one on apex.oracle.com.
    Since I don't know what the licensing implications are, I will let you figure out the details.

  • Problem with oracle 10g express edition installation on linux(opensuse)

    This is the error it give's me when i install the software. The error come after i set http port and the acces port to database
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora: No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora: No such file or directory
    /bin/chown: cannot access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora': No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora: No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora: No such file or directory
    /bin/chown: cannot access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora': No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/postDBCreation.sql: No such file or directory
    /bin/chown: cannot access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/postDBCreation.sql': No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/DatabaseHomePage.sh: No such file or directory
    /bin/chown: cannot access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/DatabaseHomePage.sh': No such file or directory
    sed: can't read /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/readonlinehelp.sh: No such file or directory
    /bin/chown: cannot access `/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/readonlinehelp.sh': No such file or directory
    Configuring Database...grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory
    Done
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    Starting Oracle Database 10g Express Edition Instance...Done
    Installation Completed Successfully.
    To access the Database Home Page go to "http://127.0.0.1:8081/apex"
    The files exists to the path who is looking for them and tell me they don't exist
    can you help me please with this problem?
    Thanks
    Message was edited by:
    user652409

    hi,
    i've reinstalled the database and now it give's me just the last 3 error messages,and i don't now what to do :
    Configuring Database...grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory
    Done
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    this files or directories doesn't exists...
    Please help
    Teero

  • Login problem with Oracle 10g Express Edition as system user

    I have installed Oracle Database 10g Express Edition, but I can not login inside. I use the following:
    user: system
    password: ****** the password witch I put during the installation.
    As I click Login, the page returns to the same state and wants username and password again. As I write wrong user and pass it yields an error, as I write the right user and pass it returns to the same page again. I used uppercase for system and lower case, but the problem goes on. I read the documentation, but I didn't find a solution.
    Eventully I may be miss something. Can anyone help me?

    Hi,
    Are you try to connect sys user on sql command prompt and alter system user password then try to connect
    regards
    Taj

  • Installing SQLDeveloper with Oracle Database Express Edition 11g Release 2

    Hello,
    I have a problem with sqldeveloper in connecting to the database with the following message:
    *"java.lang.unsatisfiedlinkerror oracle.jdbc.driver.t2cconnection.t2csetsessiontimezone"*
    I can connect to the database via SQL / SQLPLUS. I cannot select from the dual table.
    My machine is windows 7 - 64 -bit. I downloaded SQLDEVELOPER for 32-bit.
    Thanks.
    Jaffee

    I downloaded the version without the JDK, because I already had Java on my machine. I will try with the JDK included.
    New update: I download the version with the JDK. I recevied the same message. Do I need to delete the first version of Java?
    Thanks.
    Jaffee
    Edited by: Jaffee2 on Jul 24, 2012 11:50 AM

  • How Users Interact with Oracle Database Express Edition in a Network?

    Please i just want to know how users can relate or access the Oracle DB xpress on a network. Coming from an oracle enterprise edition background i know when you install oracle on a network, isqlplus for example is centrally loaded meaning you dont need to install oracle on each machine in the network, so users can access the DB from their nodes. I am presently working in a big estate management firm and i want to create a structured database for them, they use excel to store records and want to introduce Oracle.

    You can access XE remotely through the browser after following the instructions here:
    http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/network.htm#BHCBCFBA
    If you are using APEX as the application, you'd need to do that. There may be other firewall consideration though (ie opening the relevant server ports).
    [There's no isqlplus anymore, but there is a similar sql worksheet in the Apex development environment).
    If you are just using the database as a data store behind, for example, a Java application, then connections will probably be through ODBC/JDBC/OCI and probably need some client installation too.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with Oracle 10g Express Edition

    Hi,
    Install OracleXE.exe in Windows 2000, but on having tried to enter the following mistake goes out: http://127.0.0.1:8080/apex
    It is not possible to show the page
    That is what happens
    Thank you

    You mention the default installation uses port 7777, then you mention that Apache is not used.
    Minor correction to your posts:
    1) The default installation for APEX uses Apache and defaults to port 7777;
    2) The default installation of XE does not include Apache, and the built-in environment defaults to port 8080
    Reference is the XE documentation, which supercedes the APEX documentation. That is found at http://www.oracle.com/pls/xe102/homepage
    And for clarification, the HTTP service in XE is composed of 2 parts:
    - the HTTP listener is handled by the Oracle listener, on the port registered using the "dbms_xdb.sethttpport();" procedure and reported using the "dbms_xpg.gethttpport()" function.
    - the HTTP server is primarily in the dbms_epg package.

  • Upgrade oracle database express edition

    good morning
    i've a question i'm working with oracle database express edition but now the memory is full and i want to upgrade it to oracle enterprise edition but i don't know the steps please can you help me in this
    best regards

    I've a question i'm working with oracle database express edition but now the memory is full and i want to upgrade it to oracle enterprise edition Hi,
    Not to dissuade you from that, but that's quite a leap from XE to EE, are you sure that SE One or SE would not be a 'better option' for you?
    Also, by 'memory is full', I assume you mean you've reached the 4Gb data limit?

  • Creating a Database with Oracle 10 Express Edition

    Hello,
    I had installed Oracle Database 10g Express Edition whith linux, fedora core 4.
    I want to create a new database with Oracle 10g Express Edition. How can i do this?
    I know that Orcale 10g express edition have only one Database which is installed by default sid 'XE', but my database must have another name.
    Thanks.

    Really you need to change database name ?
    Oracle 10g Espress Edition and change ORACLE_SID

  • Is the Oracle Database Express Edition 11g Release 2 enough for preparing for the 1Z0-051 and 1Z0-144 Exams?

    I am planning on getting certified as an OCA PL\SQL developer. I will be teaching myself and I have all the material needed to prepare.
    Except, I don't have a database that I can solve exercises on and practice commands.
    The two exams I will be taking are the :
    1Z0-051 exam: Oracle Database 11g: SQL Fundamentals I
    1Z0-144 exam: Oracle Database 11g: Program with PL/SQL
    So is the Oracle Database Express Edition 11g Release 2 is enough ?
    If it is not what other options do I have (I am running Windows 8.1) ?

    Yes -- 11gXE should be sufficient for practicing the vast majority of the skills required for those two exams.  I *think* that PARALLEL is not enabled in XE, so you could not test the functionality referred to in the "Use NOCOPY hint, PARALLEL ENABLE hint and DETERMINISTIC clause" topic of 1Z0-144.  I don't consider that to be a significant problem, however.  The material from the manual should suffice for the questions you'll see.
    As for what other options you have, you could download and install VirtualBox (free from Oracle).  You could then make a virtual machine on your Windows 8.1 machine and install Oracle Linux (free from Oracle).  You could then download and install Oracle Enterprise for Linux and install it on your virtual machine (allowable under the licensing when used for learning purposes only).  I have a similar setup on my Windows 7 laptop that I use when I absolutely have to test some feature that requires Oracle Enterprise.  Mind you, when I have the VM running on my system... it is ssssslllllloooooowwwwww because of the memory requirements.  I talk about using virtual machines as a certification aid in the following article:
    There is virtually no excuse to lack hands-on experience - CertMag

  • Does Oracle Database Express Edition 11g support CLOB datatype?

    I am having problems in displaying CLOB data type columns when I query my tables in Oracle Database Express Edition 11g. I am getting garbage values. However when I do the exact same thing in the Enterprise Edition I do not have any problems. So I am thinking that the Express Edition does not support CLOB data types due to its size limitations. Am I missing something here?

    Hi, and welcome to the OTN forums!
    I download a year ago oracle 10g and installed in windows7/64bit.
    Now 11g is available. But it says does not work in x64.Well, in fact, 10.2 XE wasn't certified for x64 either, not even for Linux x64...
    11.2 XE has a Linux x86_64 release, and there has been an announcement that there'll be a x64 release for Windows as well, but it's not available (yet).
    There have been a lot of reports that people got 11.2 XE work on x64 Windows machines as well, with a few tweaks at installation time and/or afterwards...
    You'll find tons of posts on that topic when using forum search...
    oracle 10g seems to be not available anymore.Right, the official downloads have been removed after all database 10.2 releases fell out of (regular) support.
    -Udo
    Edited by: Udo on 15.04.2013 21:48

  • Installing Oracle Database Express Edition 11g on UBUNTU

    Hello everyone,
    I want to install Oracle Database Express Edition 11g on UBUNTU. I followed the steps from this link created by Dude:
    https://forums.oracle.com/thread/2303639?start=0&tstart=0
    My problem becomes when I type in from the terminal:
    sudo /etc/init.d/oracle-xe configure
    I followed the instructions there, agreeing t HTTP port 8080, port database listener 1521,  specifying a password for my database account, and wanting Oracle Express to be started on boot. This is what I'm getting:
    Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directory
    Done
    Configuring database...
    Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
    I have no idea what this means, so I went into the log's location and I found 4 of them, so I clicked on each of them, and this is what I'm getting:
    1. cloneDBCreation.log:
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    ORA-00845: MEMORY_TARGET not supported on this system
    Create controlfile reuse set database "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system enable restricted session
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database "XE" open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter database rename global_name to "XE"
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system switch logfile
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    alter system checkpoint
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    2. CloneRmanRestore.log
    ORA-00845: MEMORY_TARGET not supported on this system
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    declare
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    3. postDBCreation.log
    begin
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    File created.
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    ORA-00845: MEMORY_TARGET not supported on this system
    select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN utl_recomp.recomp_serial(); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    4. postScripts.log
    CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/u01/app/oracle/product/11.2.0/xe/lib/libqsmashr.so';
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN dbms_datapump_utl.replace_default_dir; END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    commit
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    create or replace directory XMLDIR as '/u01/app/oracle/product/11.2.0/xe/rdbms/xml'
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY ORACLE_OCM_CONFIG_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY ADMIN_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    DROP DIRECTORY WORK_DIR
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    commit
    Can somebody that knows this, or has installed Oracle Express on Ubuntu, to please explain it to me what does it mean and why am I getting those errors. Please explain thoroughly as if I am an amateur person, IN DETAIL, STEP-BY-STEP. I want to run it and make it work! I heard that it encourages people to answer for points. I am open for your suggestions and experiences, as long as it's not 'use common sense', 'you're dumb', or an answer that is vaguely explained.  Thank you for those that take the time to read it.
    ec557fac-f825-4356-a220-1ec941ce7cd0 

    Hi Pradeepcmst,
    Thanks for your suggestion, but I found it sometimes misunderstanding on what he's trying to say - his instructions are not step-by-step and precise. Instead, I found this link that helped me a lot:
    Installing Oracle 11gXE on Mint and Ubuntu | The Anti-Kyte

  • Downloading Oracle Database Express Edition

    Hi everyone. I just downloaded the freeware Oracle Database Express Edition without any apparent problems. However, when I attempt to go to the Express Edition Homepage, which is location http://127.0.0.1:8080/apex,
    I get the message that my Internet Explorer cannot display the webpage. (It can, however, display other pages.) I cannot understand why this is the case since I successfully added Web site 127.0.0.1 in my Control Panel (as specified in the instructions.) Also, the instructions stated that HTTP port 8080 was the default port, unless my system said that this was not available (which it did not.) I also tried rebooting, which did not make a difference. Help!
    Thanks,
    Jason

    Hi,
    Use this forum to report problems with or suggestions for the download.oracle.com service or content.
    Please post your question in the appropriate forum for a better/faster response.
    Database - General
    General Database Discussions
    Thanks,
    Hussein

  • Problem with launching 10g express edition

    Hi, i am from Czech Republic and i have big problem with launching Oracle database 10g Express Edition.
    After instal program i launch "Go to Database Home Page" and IE write to me "Page not found" (web adress is http://127.0.0.1:8080/apex).
    Please,can anyone help me what i have to do to launch it correctly?
    Thank you.
    Message was edited by:
    user628210
    Message was edited by:
    user628210

    hi again. first a have to apologize. i have oracle
    database express edition 10g from school,so i dont
    have registered version.When I said 'register' I didn't mean have it licensed, Oracle XE doesn't require any kind of license registration, it is free. By registering it I meant a technical issue. Once the database is started it tries to contact the listener at 1521 port, once contacted the oracle instance registers itself against it, and if it is successful you will have the administrator's page initialized and ready to access at the default 8080 port.
    when i type SQL commands, command line wrote me
    SP2-0734:unknown command beginning ENTERED COMMAND
    Could you please specify which command did you try to enter?
    >
    and when i open RUN DATABASE, command line wrote
    C:\OracleDatabase\app\oracle\product\10.2.0\server\BIN
    net started OracleServiceXE - system error 5, accessdenied
    What do you mean with 'RUN DATABASE'?
    ~ Madrid
    http://hrivera99.blogspot.com/

Maybe you are looking for

  • How can I Create a exe file were a tab control on it work`s

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?"

  • Conditionally assign a value to a parameter

    I'm using this code to conditionally assign a value to a parameter p_data_type: <?if:H_ACCOUNT_HIER_DESC='EST'?><xsl:param name="p_data_type" select="'number'" xdofo:ctx="begin"/> <?end if?> <?if:H_ACCOUNT_HIER_DESC='PAR'?><xsl:param name="p_data_typ

  • How can I backup my iPhone if it is in the recovery mode? I do not have a backup on iCloud or iTunes

    How can I backup my iPhone if it is in the recovery mode? I do not have a backup on iCloud or iTunes

  • Printing issue in vf02

    Hi Expert, I have a issue, When i print in vfo2. In exnum it print 10 digit but i want to print only last 5 digit.before 2 days ago its working fine. but after changing financial year this problem occur from last 2 days. so please suggest me what sho

  • Widget Browser not working

    Hello Community, I'm desperate. I downloaded the Adobe Widget Browser today, but it isn't working. I have already tried to uninstall and install again, but it still does't work. I can log in but when I'm trying to download a widget the message is: Th