Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle XE 11g x64 does not run. No *DBF files inside of the XE folder. Windows 7 Pro x64.

2923809Apr 3 2015 — edited Apr 7 2015

Hello everyone!

I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.

1. I activated the Administrator mode on my PC (net user Administrator /active:yes)

2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.

3. Started the Database, OracleServiceXE, OracleXETNListener and other services.

4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.

5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.

6. I opened the cloneDBCreation.log and it contains these data:

SQL> Create controlfile reuse set database "XE"

2 MAXINSTANCES 8

3 MAXLOGHISTORY 1

4 MAXLOGFILES 16

5 MAXLOGMEMBERS 3

6 MAXDATAFILES 100

7 Datafile

8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',

9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',

10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',

11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'

12 LOGFILE

13 GROUP 1 SIZE 51200K,

14 GROUP 2 SIZE 51200K,

15 RESETLOGS;

SP2-0640: Not connected

SQL> exec dbms_backup_restore.zerodbid(0);

SP2-0640: Not connected

SP2-0641: "EXECUTE" requires connection to server

SQL> shutdown immediate;

ORA-12560: TNS:protocol adapter error

SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";

ORA-12560: TNS:protocol adapter error

SQL> Create controlfile reuse set database "XE"

2 MAXINSTANCES 8

3 MAXLOGHISTORY 1

4 MAXLOGFILES 16

5 MAXLOGMEMBERS 3

6 MAXDATAFILES 100

7 Datafile

8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',

9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',

10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',

11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'

12 LOGFILE

13 GROUP 1 SIZE 51200K,

14 GROUP 2 SIZE 51200K,

15 RESETLOGS;

SP2-0640: Not connected

SQL> alter system enable restricted session;

SP2-0640: Not connected

SQL> alter database "XE" open resetlogs;

SP2-0640: Not connected

SQL> alter database rename global_name to "XE";

SP2-0640: Not connected

SQL> alter system switch logfile;

SP2-0640: Not connected

SQL> alter system checkpoint;

SP2-0640: Not connected

SQL> alter database drop logfile group 3;

SP2-0640: Not connected

SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;

SP2-0640: Not connected

SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';

SP2-0640: Not connected

SQL> select sid, program, serial#, username from v$session;

SP2-0640: Not connected

SQL> alter user sys identified by "&&sysPassword";

SP2-0640: Not connected

SQL> alter user system identified by "&&systemPassword";

SP2-0640: Not connected

SQL> alter system disable restricted session;

SP2-0640: Not connected

SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql

SQL> connect "SYS"/"&&sysPassword" as SYSDBA

ERROR:

ORA-12560: TNS:protocol adapter error

SQL> set echo on

SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log

I spent around 2 days to come to this reason and now I do not know what to do next.

My actions to resolve this problem:

1. Checked if my user has administrative rights and belongs to ora_dba. It does!

2. Turned Microsoft UAC off.

3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:

 - ORACLE\_BASE -> C:\\oraclexe

 - ORACLE\_HOME -> %ORACLE\_BASE%\\app\\oracle\\product\\11.2.0\\server

 - ORACLE\_SID -> XE

 - Added to PATH -> C:\\oraclexe\\app\\oracle\\product\\11.2.0\\server\\bin;

 - TNS\_ADMIN -> %ORACLE\_HOME%\\network\\admin

4. Removed Oracle XE 11g and reinstalled to another drive. No sense!

Some more errors:

1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log

Instance created.

DIM-00019: create service error

O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.

It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.

I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.

2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:

LISTENER.jpg

Some other information relevant to the issue:

  1. echo %USERNAME% - Administrator

    echo %USERDOMAIN% - ildar-PC

  2. Listener.log:

SID_LIST_LISTENER =

(SID_LIST =

(SID\_DESC =

  (SID\_NAME = PLSExtProc)

  (ORACLE\_HOME = C:\\oraclexe\\app\\oracle\\product\\11.2.0\\server)

  (PROGRAM = extproc)

)

(SID\_DESC =

  (SID\_NAME = CLRExtProc)

  (ORACLE\_HOME = C:\\oraclexe\\app\\oracle\\product\\11.2.0\\server)

  (PROGRAM = extproc)

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

  (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))

)

)

DEFAULT_SERVICE_LISTENER = (XE)

  1. Tnsnames.log

XE =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))

(CONNECT\_DATA =

  (SERVER = DEDICATED)

  (SERVICE\_NAME = XE)

)

)

EXTPROC_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS\_LIST =

  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

)

(CONNECT\_DATA =

  (SID = PLSExtProc)

  (PRESENTATION = RO)

)

)

ORACLR_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS\_LIST =

  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

)

(CONNECT\_DATA =

  (SID = CLRExtProc)

  (PRESENTATION = RO)

)

)

  1. Sqlnet.log:

SQLNET.AUTHENTICATION_SERVICES = (NTS)

  1. While connecting by sqlplus, I get this errors/messages:

moreinfo.jpg

  1. Confirmation that I've got admin rights and I am in ORA_DBA:

Admin.jpg

If u need some more information from me, please let me know!!

Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!

Kind regards,

ildar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2015
Added on Apr 3 2015
7 comments
3,738 views