ORACLE 9i-illegal get command

HELP HELP
New to Oracle 9i, learning to use database and sql*plus. It took 2 weeks to download (issues) and 1 week to create and password correctly sql to make some practice tables. The tables are created in notepad and when I try to open them --
1. have to change to all types of files ( figured it out *.sql), and then I get a:
2. illegal get command
How do I use a get command? Can a cutnpaste picture be sent? Thanks a lot Sandee

Command errors-- this what I get; lol
SP2-0423: Illegal GET command
SQL>
SP2-0103: Nothing in SQL buffer to run.
Here is the table I made---( it was mentioned by the teacher that some some spaces and capitalizations were cosmetic in nature.Well, really, how are we students supposed to know which are needed?
SQL>
CREATE TABLE EMPLOYEE
(employee_SSN Number(9)NOTNULL,
first_name Varchar2(10)NOTNULL,
last_name Varchar2(15)NOTNULL,
address_1 Varchar2(25)NOTNULL,
address_2 Varchar2(25)NOTNULL,
city varchar2(25)NOTNULL,
state char(2)NOTNULL,
zip Varchar(10)NOTNULL,
telephone_no number(10)NOTNULL,
email_addr varchar2(50)NOTNULL,
birth_date dateNOTNULL,
hire_date dateNOTNULL,
department_ID Number(3)NOTNULL,
salary number(8,2)NOTNULL,
title_id number(3)NOTNULL)
-0423: Illegal GET command
>
-0423: Illegal GET command
>
-0103: Nothing in SQL buffer to run.
CREATE TABLE EMPLOYEE
(employee_SSN Number(9)NOTNULL,
first_name Varchar2(10)NOTNULL,-0734: unknown command beginning "first_name..." - rest of line ign
>
last_name Varchar2(15)NOTNULL,-0734: unknown command beginning "last_name ..." - rest of line ign
>
address_1 Varchar2(25)NOTNULL,-0734: unknown command beginning "address_1 ..." - rest of line ign
>
address_2 Varchar2(25)NOTNULL,-0734: unknown command beginning "address_2 ..." - rest of line ign
-0044: For a list of known commands enter HELP
to leave enter EXIT.
>
city varchar2(25)NOTNULL,-0734: unknown command beginning "city varch..." - rest of line ign
>
state char(2)NOTNULL,-0734: unknown command beginning "state char..." - rest of line ign
>
zip Varchar(10)NOTNULL,-0734: unknown command beginning "zip Varcha..." - rest of line ign
>
telephone_no number(10)NOTNULL,-0734: unknown command beginning "telephone_..." - rest of line ign
-0044: For a list of known commands enter HELP
to leave enter EXIT.
>
email_addr varchar2(50)NOTNULL,-0734: unknown command beginning "email_addr..." - rest of line ign
>
birth_date dateNOTNULL,-0734: unknown command beginning "birth_date..." - rest of line ign
>
hire_date dateNOTNULL,-0734: unknown command beginning "hire_date ..." - rest of line ign
>
department_ID Number(3)NOTNULL,-0734: unknown command beginning "department..." - rest of line ign
-0044: For a list of known commands enter HELP
to leave enter EXIT.
>
salary number(8,2)NOTNULL,-0734: unknown command beginning "salary num..." - rest of line ign
>
title_id number(3)NOTNULL)-0734: unknown command beginning "title_id n..." - rest of line ign
>
Here I do not have empty spaces.
(I added them in the first only to see if that would help.)
create table department
(department_id number(3)NOTNULL,
department_name varchar2(30)NOTNULL,
supervisor_ssn number(9)NOTNULL)
SQL> create table department
2
SQL> (department_id number(3)NOTNULL,
2 department_name varchar2(30)NOTNULL,
3 supervisor_ssn number(9)NOTNULL)
4 ;
(department_id number(3)NOTNULL,
ERROR at line 1:
ORA-00928: missing SELECT keyword
These were copied as best I could from my teacher's examples. Sigh....
Alrighty then, trying next suggestion...
SQL> create table department
2
SQL> (department_ID number(3) NOT
2 NULL,
3 department_name Varchar2(30) NOT
4 NULL,
5 supervisor_ssn number(9) NOT
6 NULL)
7 ;
8
9
10
11
12
13 run
14 /run
15 /
(department_ID number(3) NOT
ERROR at line 1:
ORA-00928: missing SELECT keyword
trying again with new copy and paste function as it won't open a file...
I'm using this table as it is the shortest...
SQL>
SQL>
SQL> create table department
2
SQL> (department_ID number(3) NOT
2 NULL,
3 department_name Varchar2(30) NOT
4 NULL,
5 supervisor_ssn number(9) NOT
6 NULL)
7 ;
(department_ID number(3) NOT
ERROR at line 1:
ORA-00928: missing SELECT keyword
SQL> /
(department_ID number(3) NOT
ERROR at line 1:
ORA-00928: missing SELECT keyword
SQL>
SQL>
Line 1 create table department
In a three word copy exercise, how did I go wrong? Sandee
dementia is beginging to be clearer now....lol

Similar Messages

  • SP2-0423 Illegal get command

    When I try to run a file using SQL Plus I get SP2-0423 Illegal get command. Can someone help me with this. I have tried uninstalling and reinstalling and it is not fixing the error.
    Thanks in advance for any help.

    Okay here is the code provided by the instructer. this is the Ch5Northwoods.sql...I opened in notepad. I need to run the following code
    -- script to create NORTHWOODS database
    -- revised 8/17/2002 JM
    -- modified 3/17/2004 LM
    DROP TABLE enrollment CASCADE CONSTRAINTS;
    DROP TABLE course_section CASCADE CONSTRAINTS;
    DROP TABLE term CASCADE CONSTRAINTS;
    DROP TABLE course CASCADE CONSTRAINTS;
    DROP TABLE student CASCADE CONSTRAINTS;
    DROP TABLE faculty CASCADE CONSTRAINTS;
    DROP TABLE location CASCADE CONSTRAINTS;
    CREATE TABLE LOCATION
    (loc_id NUMBER(6),
    bldg_code VARCHAR2(10),
    room VARCHAR2(6),
    capacity NUMBER(5),
    CONSTRAINT location_loc_id_pk PRIMARY KEY (loc_id));
    CREATE TABLE faculty
    (f_id NUMBER(6),
    f_last VARCHAR2(30),
    f_first VARCHAR2(30),
    f_mi CHAR(1),
    loc_id NUMBER(5),
    f_phone VARCHAR2(10),
    f_rank VARCHAR2(9),
    f_super NUMBER(6),
    f_pin NUMBER(4),
    f_image BLOB,
    CONSTRAINT faculty_f_id_pk PRIMARY KEY(f_id),
    CONSTRAINT faculty_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id));
    CREATE TABLE student
    (s_id VARCHAR2(6),
    s_last VARCHAR2(30),
    s_first VARCHAR2(30),
    s_mi CHAR(1),
    s_address VARCHAR2(25),
    s_city VARCHAR2(20),
    s_state CHAR(2),
    s_zip VARCHAR2(10),
    s_phone VARCHAR2(10),
    s_class CHAR(2),
    s_dob DATE,
    s_pin NUMBER(4),
    f_id NUMBER(6),
    --time_enrolled INTERVAL YEAR TO MONTH,
    time_enrolled VARCHAR2(30),
    CONSTRAINT student_s_id_pk PRIMARY KEY (s_id),
    CONSTRAINT student_f_id_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id));
    CREATE TABLE TERM
    (term_id NUMBER(6),
    term_desc VARCHAR2(20),
    status VARCHAR2(20),
    start_date DATE,
    CONSTRAINT term_term_id_pk PRIMARY KEY (term_id),
    CONSTRAINT term_status_cc CHECK ((status = 'OPEN') OR (status = 'CLOSED')));
    CREATE TABLE COURSE
    (course_no VARCHAR2(7),
    course_name VARCHAR2(25),
    credits NUMBER(2),
    CONSTRAINT course_course_id_pk PRIMARY KEY(course_no));
    CREATE TABLE COURSE_SECTION
    (c_sec_id NUMBER(6),
    course_no VARCHAR2(7) CONSTRAINT course_section_courseid_nn NOT NULL,
    term_id NUMBER(6) CONSTRAINT course_section_termid_nn NOT NULL,
    sec_num NUMBER(2) CONSTRAINT course_section_secnum_nn NOT NULL,
    f_id NUMBER(6),
    c_sec_day VARCHAR2(10),
    c_sec_time DATE,
    --c_sec_duration INTERVAL DAY TO SECOND,
    c_sec_duration VARCHAR2(13),
    loc_id NUMBER(6),
    max_enrl NUMBER(4) CONSTRAINT course_section_maxenrl_nn NOT NULL,
    CONSTRAINT course_section_csec_id_pk PRIMARY KEY (c_sec_id),
    CONSTRAINT course_section_cid_fk FOREIGN KEY (course_no) REFERENCES course(course_no),      
    CONSTRAINT course_section_loc_id_fk FOREIGN KEY (loc_id) REFERENCES location(loc_id),
    CONSTRAINT course_section_termid_fk FOREIGN KEY (term_id) REFERENCES term(term_id),
    CONSTRAINT course_section_fid_fk FOREIGN KEY (f_id) REFERENCES faculty(f_id));
    CREATE TABLE ENROLLMENT
    (s_id VARCHAR2(6),
    c_sec_id NUMBER(6),
    grade CHAR(1),
    CONSTRAINT enrollment_pk PRIMARY KEY (s_id, c_sec_id),
    CONSTRAINT enrollment_sid_fk FOREIGN KEY (s_id) REFERENCES student(s_id),
    CONSTRAINT enrollment_csecid_fk FOREIGN KEY (c_sec_id) REFERENCES course_section (c_sec_id));
    ---- inserting into LOCATION table
    INSERT INTO location VALUES
    (1, 'CR', '101', 150);
    INSERT INTO location VALUES
    (2, 'CR', '202', 40);
    INSERT INTO location VALUES
    (3, 'CR', '103', 35);
    INSERT INTO location VALUES
    (4, 'CR', '105', 35);
    INSERT INTO location VALUES
    (5, 'BUS', '105', 42);
    INSERT INTO location VALUES
    (6, 'BUS', '404', 35);
    INSERT INTO location VALUES
    (7, 'BUS', '421', 35);
    INSERT INTO location VALUES
    (8, 'BUS', '211', 55);
    INSERT INTO location VALUES
    (9, 'BUS', '424', 1);
    INSERT INTO location VALUES
    (10, 'BUS', '402', 1);
    INSERT INTO location VALUES
    (11, 'BUS', '433', 1);
    INSERT INTO location VALUES
    (12, 'LIB', '217', 2);
    INSERT INTO location VALUES
    (13, 'LIB', '222', 1);
    --- inserting records into FACULTY
    INSERT INTO faculty VALUES
    (1, 'Marx', 'Teresa', 'J', 9, '4075921695', 'Associate', 4, 6338, EMPTY_BLOB());
    INSERT INTO faculty VALUES
    (2, 'Zhulin', 'Mark', 'M', 10, '4073875682', 'Full', NULL, 1121, EMPTY_BLOB());
    INSERT INTO faculty VALUES
    (3, 'Langley', 'Colin', 'A', 12, '4075928719', 'Assistant', 4, 9871, EMPTY_BLOB());
    INSERT INTO faculty VALUES
    (4, 'Brown', 'Jonnel', 'D', 11, '4078101155', 'Full', NULL, 8297, EMPTY_BLOB());
    INSERT INTO faculty VALUES
    (5, 'Sealy', 'James', 'L', 13, '4079817153', 'Associate', 1, 6089, EMPTY_BLOB());
    --- inserting records into STUDENT
    INSERT INTO student VALUES
    ('JO100', 'Jones', 'Tammy', 'R', '1817 Eagleridge Circle', 'Tallahassee',
    'FL', '32811', '7155559876', 'SR', TO_DATE('07/14/1985', 'MM/DD/YYYY'), 8891, 1, '3-2');
    INSERT INTO student VALUES
    ('PE100', 'Perez', 'Jorge', 'C', '951 Rainbow Dr', 'Clermont',
    'FL', '34711', '7155552345', 'SR', TO_DATE('08/19/1985', 'MM/DD/YYYY'), 1230, 1, '4-2');
    INSERT INTO student VALUES
    ('MA100', 'Marsh', 'John', 'A', '1275 West Main St', 'Carrabelle',
    'FL', '32320', '7155553907', 'JR', TO_DATE('10/10/1982', 'MM/DD/YYYY'), 1613, 1, '3-0');
    INSERT INTO student VALUES
    ('SM100', 'Smith', 'Mike', NULL, '428 Markson Ave', 'Eastpoint',
    'FL', '32328', '7155556902', 'SO', TO_DATE('09/24/1986', 'MM/DD/YYYY'), 1841, 2, '2-2');
    INSERT INTO student VALUES
    ('JO101', 'Johnson', 'Lisa', 'M', '764 Johnson Place', 'Leesburg',
    'FL', '34751', '7155558899', 'SO', TO_DATE('11/20/1986', 'MM/DD/YYYY'), 4420, 4, '1-11');
    INSERT INTO student VALUES
    ('NG100', 'Nguyen', 'Ni', 'M', '688 4th Street', 'Orlando',
    'FL', '31458', '7155554944', 'FR', TO_DATE('12/4/1986', 'MM/DD/YYYY'), 9188, 3, '0-4');
    --- inserting records into TERM
    INSERT INTO term (term_id, term_desc, status) VALUES
    (1, 'Fall 2005', 'CLOSED');
    INSERT INTO term (term_id, term_desc, status) VALUES
    (2, 'Spring 2006', 'CLOSED');
    INSERT INTO term (term_id, term_desc, status) VALUES
    (3, 'Summer 2006', 'CLOSED');
    INSERT INTO term (term_id, term_desc, status) VALUES
    (4, 'Fall 2006', 'CLOSED');
    INSERT INTO term (term_id, term_desc, status) VALUES
    (5, 'Spring 2007', 'CLOSED');
    INSERT INTO term (term_id, term_desc, status) VALUES
    (6, 'Summer 2007', 'OPEN');
    --- inserting records into COURSE
    INSERT INTO course VALUES
    ('MIS 101', 'Intro. to Info. Systems', 3);
    INSERT INTO course VALUES
    ('MIS 301', 'Systems Analysis', 3);
    INSERT INTO course VALUES
    ('MIS 441', 'Database Management', 3);
    INSERT INTO course VALUES
    ('CS 155', 'Programming in C++', 3);
    INSERT INTO course VALUES
    ('MIS 451', 'Web-Based Systems', 3);
    --- inserting records into COURSE_SECTION
    INSERT INTO course_section VALUES
    (1, 'MIS 101', 4, 1, 2, 'MWF', TO_DATE('10:00 AM', 'HH:MI AM'), '0 00:00:50.00', 1, 140);
    INSERT INTO course_section VALUES
    (2, 'MIS 101', 4, 2, 3, 'TR', TO_DATE('09:30 AM', 'HH:MI AM'), '0 00:01:15.00', 7, 35);
    INSERT INTO course_section VALUES
    (3, 'MIS 101', 4, 3, 3, 'MWF', TO_DATE('08:00 AM', 'HH:MI AM'), '0 00:00:50.00', 2, 35);
    INSERT INTO course_section VALUES
    (4, 'MIS 301', 4, 1, 4, 'TR', TO_DATE('11:00 AM', 'HH:MI AM'), '0 00:01:15.00', 6, 35);
    INSERT INTO course_section VALUES
    (5, 'MIS 301', 5, 2, 4, 'TR', TO_DATE('02:00 PM', 'HH:MI PM'), '0 00:01:15.00', 6, 35);
    INSERT INTO course_section VALUES
    (6, 'MIS 441', 5, 1, 1, 'MWF', TO_DATE('09:00 AM', 'HH:MI AM'), '0 00:00:50.00', 5, 30);
    INSERT INTO course_section VALUES
    (7, 'MIS 441', 5, 2, 1, 'MWF', TO_DATE('10:00 AM', 'HH:MI AM'), '0 00:00:50.00', 5, 30);
    INSERT INTO course_section VALUES
    (8, 'CS 155', 5, 1, 5, 'TR', TO_DATE('08:00 AM', 'HH:MI AM'), '0 00:01:15.00', 3, 35);
    INSERT INTO course_section VALUES
    (9, 'MIS 451', 5, 1, 2, 'MWF', TO_DATE('02:00 PM', 'HH:MI PM'),'0 00:00:50.00', 5, 35);
    INSERT INTO course_section VALUES
    (10, 'MIS 451', 5, 2, 2, 'MWF', TO_DATE('03:00 PM', 'HH:MI PM'), '0 00:00:50.00', 5, 35);
    INSERT INTO course_section VALUES
    (11, 'MIS 101', 6, 1, 1, 'MTWRF', TO_DATE('08:00 AM', 'HH:MI AM'), '0 00:01:30.00', 1, 50);
    INSERT INTO course_section VALUES
    (12, 'MIS 301', 6, 1, 2, 'MTWRF', TO_DATE('08:00 AM', 'HH:MI AM'), '0 00:01:30.00', 6, 35);
    INSERT INTO course_section VALUES
    (13, 'MIS 441', 6, 1, 3, 'MTWRF', TO_DATE('09:00 AM', 'HH:MI AM'), '0 00:01:30.00', 5, 35);
    --- inserting records into ENROLLMENT
    INSERT INTO enrollment VALUES
    ('JO100', 1, 'A');
    INSERT INTO enrollment VALUES
    ('JO100', 4, 'A');
    INSERT INTO enrollment VALUES
    ('JO100', 6, 'B');
    INSERT INTO enrollment VALUES
    ('JO100', 9, 'B');
    INSERT INTO enrollment VALUES
    ('PE100', 1, 'C');
    INSERT INTO enrollment VALUES
    ('PE100', 5, 'B');
    INSERT INTO enrollment VALUES
    ('PE100', 6, 'A');
    INSERT INTO enrollment VALUES
    ('PE100', 9, 'B');
    INSERT INTO enrollment VALUES
    ('MA100', 1, 'C');
    INSERT INTO enrollment VALUES
    ('MA100', 12, NULL);
    INSERT INTO enrollment VALUES
    ('MA100', 13, NULL);
    INSERT INTO enrollment VALUES
    ('SM100', 11, NULL);
    INSERT INTO enrollment VALUES
    ('SM100', 12, NULL);
    INSERT INTO enrollment VALUES
    ('JO101', 1, 'B');
    INSERT INTO enrollment VALUES
    ('JO101', 5, 'C');
    INSERT INTO enrollment VALUES
    ('JO101', 9, 'C');
    INSERT INTO enrollment VALUES
    ('JO101', 11, NULL);
    INSERT INTO enrollment VALUES
    ('JO101', 13, NULL);
    INSERT INTO enrollment VALUES
    ('NG100', 11, NULL);
    INSERT INTO enrollment VALUES
    ('NG100', 12, NULL);
    COMMIT;

  • Starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact

    Hi Guys!
    Thanks for your advises. I still working toward a resolution.
    But I encountered another issue from Enterp Manager :
    ERROR : Please correct the following error: Connection string must be specified.
    My connection has this format:
    //using connection string attributes to connect to Oracle Database
      con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle";
      con.Open();
      Console.WriteLine("Connected to Oracle" + con.ServerVersion);
    Please tell me what is wrong here. Thanks. Dan.
    Hi all !
    I need help please for resolving the following :
    Problem:
    Im having frequent disconnection after abnormal shutdown due to power failure.
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    The alert.log is at the bottom
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0
    starting Oracle 11gr2 Im getting Error: ORA-03135: connection lost contact
    Im on Laptop running Linux Centos 6.3 Host.
    and Im running Oracle 11gr2 on Oracle Enterprise Linux in VMware (Guest).
    Im having frequent disconnection after abnormal shutdown due to power failure.
    When attempting login from the Oracle Enterprise Manager Database Control
    I got  Error: "Your username and/or password are invalid."
    [test@localhost ~]$ xhost +
    access control disabled, clients can connect from any host
    [test@localhost ~]$
    [test@localhost ~]$ su - root
    Password:
    [root@localhost ~]#
    [root@localhost ~]# su - oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ export ORACLE_SID=db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/db_1
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_BASE
    /u01/app/oracle
    [oracle@localhost ~]$
    [oracle@localhost ~]$ echo $ORACLE_SID
    db11gr2
    [oracle@localhost ~]$
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-DEC-2013 12:23:07
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                04-DEC-2013 12:23:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "db11gr2" has 1 instance(s).
      Instance "db11gr2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost ~]$
    [oracle@localhost ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............... started.
    Logs are generated in directory /u01/app/oracle/product/11.2.0/db_1/localhost.localdomain_db11gr2/sysman/log
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:26:38 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL>
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [4194], [: no
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 12:59:23 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL>
    ERROR at line 1:
    ORA-03135: connection lost contact
    Process ID: 8973
    Session ID: 1 Serial number: 5
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:12:03 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> select STATUS, DATABASE_STATUS from v$instance;
    STATUS       DATABASE_STATUS
    OPEN         ACTIVE
    SQL>
    SQL> SELECT * FROM v$instance;
    ERROR:
    ORA-03114: not connected to ORACLE
    [oracle@localhost ~]$
    [oracle@localhost ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 4 13:17:37 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area  799313920 bytes
    Fixed Size                  1339484 bytes
    Variable Size             318771108 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5246976 bytes
    Database mounted.
    Database opened.
    SQL>
    SQL> SELECT * FROM v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION           STARTUP_T STATUS       PAR    THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS     SHU DATABASE_STATUS   INSTANCE_ROLE      ACTIVE_ST BLO
                  1 db11gr2
    localhost.localdomain
    11.2.0.1.0        04-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL>
    alert log file
    [oracle@localhost ~]$
    [oracle@localhost ~]$ adrci
    ADRCI: Release 11.2.0.1.0 - Production on Wed Dec 4 17:09:47 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    ADR base = "/u01/app/oracle"
    adrci> set editor emacs
    adrci> show alert
    Choose the alert log from the following homes to view:
    1: diag/rdbms/unknown/DB11G
    2: diag/rdbms/db11gr2/db11gr2
    3: diag/tnslsnr/localhost/listener
    Q: to quit
    Please select option: 2
    *** glibc detected *** adrci: malloc(): memory corruption: 0x09de7160 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x1d42dd]
    /lib/libc.so.6(__libc_malloc+0x67)[0x1d5e97]
    /lib/ld-linux.so.2[0x331f8a]
    /lib/ld-linux.so.2[0x33215a]
    /lib/ld-linux.so.2[0x32e3ce]
    /lib/libc.so.6[0x272550]
    /lib/libc.so.6(_dl_sym+0x1a)[0x2728fa]
    /lib/libdl.so.2[0x110e08]
    /lib/ld-linux.so.2[0x331e66]
    /lib/libdl.so.2[0x1112cc]
    /lib/libdl.so.2(dlsym+0x63)[0x110d93]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(sskgds_save_text_start_end+0x47)[0xa0fb37]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(skgdsinit+0xb7)[0xa0a909]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x15edea8]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(kgdsdsts+0x26)[0x15ef8c2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStackWFlag+0x102)[0x198961a]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdGetCallStack+0x2d)[0x198950d]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1989250]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgemdFillIncCtx+0x72)[0x1989088]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexPopulateIncCtx+0x67)[0x1994d25]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgexProcessError+0x75)[0x1996437]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x19601c5]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgePostErrorDirect+0x650)[0x1960b3c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c58fb6]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x183c44e]
    [0x3bb440]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1cf7966]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrlrReadAlertMsg+0x562)[0x1cf7126]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrxae_alert_ext+0x2d4)[0xbbcf44]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb9f25c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch_real+0x23f)[0xb9bc1f]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrmqmf_fetch+0xee)[0xb9b520]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0xb53c3e]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgrip_relation_iterator+0x16c)[0xb531bc]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripricm_rltniter_wcbf_mt+0x1f7)[0xb52709]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgripritc_rltniter_wcbf+0xe6)[0xb585f2]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query+0x3f2)[0x1abe62c]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvm_query_wcmd+0x36f)[0x1abf053]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3e116]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c3f5b7]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1[0x1c4e2ae]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvciec_exec_cmd+0x4a2)[0x1c4d640]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(dbgvci_main_int+0x43b)[0x1c59e61]
    adrci[0x8048c5b]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmcall+0x363)[0x1496ec3]
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1(lpmpmai+0x15c)[0x1497904]
    adrci[0x8048aa5]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x17fe9c]
    adrci[0x8048811]
    ======= Memory map: ========
    00110000-00112000 r-xp 00000000 08:03 5925240    /lib/libdl-2.5.so
    00112000-00113000 r-xp 00001000 08:03 5925240    /lib/libdl-2.5.so
    00113000-00114000 rwxp 00002000 08:03 5925240    /lib/libdl-2.5.so
    00114000-00139000 r-xp 00000000 08:03 5925284    /lib/libm-2.5.so
    00139000-0013a000 r-xp 00024000 08:03 5925284    /lib/libm-2.5.so
    0013a000-0013b000 rwxp 00025000 08:03 5925284    /lib/libm-2.5.so
    0013b000-0014f000 r-xp 00000000 08:03 5925246    /lib/libpthread-2.5.so
    0014f000-00150000 r-xp 00013000 08:03 5925246    /lib/libpthread-2.5.so
    00150000-00151000 rwxp 00014000 08:03 5925246    /lib/libpthread-2.5.so
    00151000-00153000 rwxp 00151000 00:00 0
    00153000-00166000 r-xp 00000000 08:03 5925301    /lib/libnsl-2.5.so
    00166000-00167000 r-xp 00012000 08:03 5925301    /lib/libnsl-2.5.so
    00167000-00168000 rwxp 00013000 08:03 5925301    /lib/libnsl-2.5.so
    00168000-0016a000 rwxp 00168000 00:00 0
    0016a000-002a9000 r-xp 00000000 08:03 5925233    /lib/libc-2.5.so
    002a9000-002aa000 --xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002aa000-002ac000 r-xp 0013f000 08:03 5925233    /lib/libc-2.5.so
    002ac000-002ad000 rwxp 00141000 08:03 5925233    /lib/libc-2.5.so
    002ad000-002b0000 rwxp 002ad000 00:00 0
    002b0000-002b1000 r-xp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b1000-002b2000 rwxp 00000000 08:03 3905250    /usr/lib/libaio.so.1.0.1
    002b2000-002bb000 r-xp 00000000 08:03 5925256    /lib/libnss_files-2.5.so
    002bb000-002bc000 r-xp 00008000 08:03 5925256    /lib/libnss_files-2.5.so
    002bc000-002bd000 rwxp 00009000 08:03 5925256    /lib/libnss_files-2.5.so
    002bd000-002c8000 r-xp 00000000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    002c8000-002c9000 rwxp 0000a000 08:03 5925425    /lib/libgcc_s-4.1.2-20080825.so.1
    00324000-0033e000 r-xp 00000000 08:03 5925219    /lib/ld-2.5.so
    0033e000-0033f000 r-xp 00019000 08:03 5925219    /lib/ld-2.5.so
    0033f000-00340000 rwxp 0001a000 08:03 5925219    /lib/ld-2.5.so
    003bb000-003bc000 r-xp 003bb000 00:00 0          [vdso]
    003bc000-01fc3000 r-xp 00000000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    01fc3000-020a7000 rwxp 01c07000 08:03 4984633    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    020a7000-020c1000 rwxp 020a7000 00:00 0
    025b1000-027ce000 r-xp 00000000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027ce000-027fc000 rwxp 0021d000 08:03 5006042    /u01/app/oracle/product/11.2.0/db_1/lib/libnnz11.so
    027fc000-027fe000 rwxp 027fc000 00:00 0
    08048000-08049000 r-xp 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    08049000-0804a000 rw-p 00000000 08:03 1407670    /u01/app/oracle/product/11.2.0/db_1/bin/adrci
    09d62000-09e0d000 rw-p 09d62000 00:00 0          [heap]
    b7e00000-b7e21000 rw-p b7e00000 00:00 0
    b7e21000-b7f00000 ---p b7e21000 00:00 0
    b7f68000-b7f90000 rw-p b7f68000 00:00 0
    bfc54000-bfc6d000 rwxp bffe5000 00:00 0          [stack]
    bfc6d000-bfc6e000 rw-p bfffe000 00:00 0

    Hi,
    Please check Oracle support id : Troubleshooting ORA-3135 Connection Lost Contact (Doc ID 787354.1)

  • FTP/File Sender Adapter over SSL - 500 Illegal PORT command.

    Hello Experts!
    I'm trying to configure FTP Sender Adapter over SSL. This is the configuration I'm using:
    Server: server01
    Port: 21
    Data Connection: Active
    Timeout: 100
    Connection Security: FTPS (FTP Using SSL/TLS) for Control and Data Connection
    Command Order: AUTH TLS, USER, PASS, PBSZ, PROT
    I have imported ftp server certificate into TrustedCAs key store. When the sender adapter tries to connect it receives the error 500 Illegal PORT command when getting files list.
    This is an excerpt of the logs of connection steps:
    #Plain##ftp server returns reply '220 Restricted Access. All Actions are monitored.'#
    #Plain##Detected 'AUTH TLS' command: Preparing TLS/SSL connection upgrade#
    #Plain##'AUTH TLS' successful: Upgrading control channel to TLS/SSL#
    #Plain##ftp server returns reply '234 Proceed with negotiation.'#
    #Plain##ftp server returns reply '331 Please specify the password.'#
    #Plain##ftp server returns reply '230 Login successful.'#
    #Plain##ftp server returns reply '200 PBSZ set to 0.'#
    #Plain##ftp server returns reply '200 PROT now Private.'#
    #Plain##ftp server returns reply '215 UNIX Type: L8'#
    #Plain##ftp server returns reply '200 Switching to ASCII mode.'#
    #Plain##ftp server returns reply '250 Directory successfully changed.'#
    #Plain##ftp server returns reply '500 Illegal PORT command.'#
    Does anybody know how to solve it?
    Thank you in advance!
    Roger Allué i Vall

    Ok! This is the maximum i could obtain:
    Fri Dec 11 15:28:12 2009 [pid 15206] FTP response: Client "10.58.42.108", "220 Restricted Access. All Actions are monitored."
    Fri Dec 11 15:28:12 2009 [pid 15206] FTP command: Client "10.58.42.108", "AUTH TLS"
    Fri Dec 11 15:28:12 2009 [pid 15206] FTP response: Client "10.58.42.108", "234 Proceed with negotiation."
    Fri Dec 11 15:28:12 2009 [pid 15206] FTP command: Client "10.58.42.108", "USER iubsint"
    Fri Dec 11 15:28:12 2009 [pid 15206] [iubsint] FTP response: Client "10.58.42.108", "331 Please specify the password."
    Fri Dec 11 15:28:12 2009 [pid 15206] [iubsint] FTP command: Client "10.58.42.108", "PASS <password>"
    Fri Dec 11 15:28:12 2009 [pid 15205] [iubsint] OK LOGIN: Client "10.58.42.108"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "230 Login successful."
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "PBSZ 0"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "200 PBSZ set to 0."
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "PROT P"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "200 PROT now Private."
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "SYST"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "215 UNIX Type: L8"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "TYPE I"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "200 Switching to Binary mode."
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "CWD /interfaces"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "250 Directory successfully changed."
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "PORT 10,58,45,108,159,112"
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP response: Client "10.58.42.108", "500 Illegal PORT command."
    I think we found the problem though. FTP Administrator says this is wrong:
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "PORT 10,58,45,108,159,112"
    it should be
    Fri Dec 11 15:28:12 2009 [pid 15207] [iubsint] FTP command: Client "10.58.42.108", "PORT 10,58,42,108,159,112"
    Something is making SAP PI to take a wrong ip address (This server has two).
    I'll let you know if we solve it!!
    Thank you!!!

  • FTP : 502 Illegal PORT Command

    I'm developing a simple ftp client from the socket level , the program runs just fine in Solaris but not in the window XP. As the program sent a "PORT 10,100,151,180,5,201" to the ftp server (a Solaris) then I get the "502 Illegal PORT Command" reply. This won't happen when it is in Solaris. The ftp provided by win XP works just fine in the same pc. what's wrong with my ftp client program ?
    Pls help
    Samuel

    In terms of the Airport Extreme, is the Mac Mini Server currently set to the default host? If the Mac Mini Server is not currently set to the default host, this needs to be configured as such.
    To set up the Mac Mini Server as the default host on the Airport Extreme:
    1 Open AirPort Utility, select your wireless device, and then choose Manual Setup from the Base Station menu, or double-click the device icon to open its configuration in a separate window. Enter the password if necessary.
    2 Click the Internet button, and then click NAT.
    3 Select the “Enable Default Host at” checkbox if not already checked.
    4 Enter the same IP address of the Mac Mini Server.
    This works

  • FTP Server: PASV / Illegal PORT Command Issues

    Hi,
    I'm hoping someone can shed some light on this.
    We have an iMac running 10.6.6 server with the FTP service running. Everything has worked fine for the last 6 months, including an office move (new IPs, etc) but suddenly in this last week, a lot of users (internal and external) are getting an "Illegal PORT Command" error when connecting.
    The iMac is behind an Airport firewall with ports 20 and 21 forwarded to the server.
    From what I've read the issue is a NAT related but I can figure out how to fix. The weird thing is that none of us here can think of any changes we've made on the server or Airport in the last week.
    I've tried a mismatch of rules in the ftpaccess config file in /Library/FTPServer/Configuration/:
    passive address external_ip 0.0.0.0/0
    pasv-allow all 10.0.1.1/24
    passive ports 10.0.1.1/24 54350 65535
    with no success.
    Debug from transmit when connecting:
    Transmit 4.1.5 (x86_64) Session Transcript [Version 10.6.6 (Build 10J567)] (11-02-24 2:10 PM)
    LibNcFTP 3.2.3 (July 23, 2009) compiled for UNIX
    220: server.private FTP server ready.
    Connected to domain_name
    Cmd: USER username
    331: Password required for username.
    Cmd: PASS xxxxxxxx
    230: User username logged in.
    Cmd: TYPE A
    200: Type set to A.
    Logged in to domain_name as username.
    Cmd: SYST
    215: UNIX Type: L8 Version: BSD-199506
    Cmd: FEAT
    211: Supported features:
    REST STREAM
    ADAT
    AUTH
    CCC
    CONF
    ENC
    MIC
    PBSZ
    PROT
    MDTM
    UTF8
    SIZE
    End
    Cmd: OPTS UTF8 ON
    200: UTF-8 encoding enabled
    Cmd: PWD
    257: "/" is current directory.
    Cmd: PASV
    425: Can't open passive connection: Can't assign requested address.
    Passive mode refused.
    Connection falling back to port (PORT) mode.
    Cmd: PORT 10,0,1,6,250,79
    500: Illegal PORT Command
    Cmd: PORT 10,0,1,6,250,80
    500: Illegal PORT Command
    Cmd: PORT 10,0,1,6,250,81
    500: Illegal PORT Command
    Cmd: PORT 10,0,1,6,250,82
    500: Illegal PORT Command
    Disconnecting from server…
    Cmd: QUIT
    221: You have transferred 0 bytes in 0 files.
    Total traffic for this session was 187 bytes in 0 transfers.
    Thank you for using the FTP service on server.private.
    Goodbye.
    Anyone know what I can try?
    Thanks.
    Message was edited by: s-chilly

    In terms of the Airport Extreme, is the Mac Mini Server currently set to the default host? If the Mac Mini Server is not currently set to the default host, this needs to be configured as such.
    To set up the Mac Mini Server as the default host on the Airport Extreme:
    1 Open AirPort Utility, select your wireless device, and then choose Manual Setup from the Base Station menu, or double-click the device icon to open its configuration in a separate window. Enter the password if necessary.
    2 Click the Internet button, and then click NAT.
    3 Select the “Enable Default Host at” checkbox if not already checked.
    4 Enter the same IP address of the Mac Mini Server.
    This works

  • Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.

    Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.
    First my organize has Exchange on 2 site like
    site A (internet facing) : 2CAS 2 MB all are Services pack1
    site B (DR Site , no user active on this site) : 2CAS 2MB all are Services pack 1
    so today I upgrade Exchange 2013 from SP1 to CU5 start on "site B" and I found this issue and the details is....
    When I open EMS on any CU5 for query something (like get-mailboxdatabasecopystatus) the response return very slow and some query will not return at all (like get-owavirtualdirectory).
    But If I using EMS on SP1. Everything is ok then I try to use EMS on SP1 connect to CU5 and try to query something. the result is
    some query command cannot return for any result that are server on siteB (just some query command)
    Problem
    EMS on CU5 return very slow result.
    EMS on SP1 still ok.
    Does anyone face this problem before for CU5??? Please help me figure this out. Thank you
    reply from Social.technet

    Hi,
    Have you used the above cmdlets to check your Exchange server health?
    "all other command that I ran on EMS didn't logged on event viewer.", my environment is the same with you. I use Exchange 2013, only errors will be displayed in MSExchange Management. Actually, it is not related to slow EMS response.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Can execut a query in Oracle UCM to get View_Values instead of using GET_SC

    Dear All,
    i have a question that i had google it and didn't find anything helpful.
    i want to ask if i can execut a query in Oracle UCM to get View_Values instead of using GET_SCHEMA_VIEW_VLAUES service ?
    ie: asuume that we have a Table name called Employees (having empId, empName) and have a view named as Table name; Employees.
    instead of use the GET_SCHEMA_VIEW_VLAUES service to get the data of Employees, can i write a query, ex: select from Employees*_ to get the data.
    note: i have a connection parameter to connect to oracle UCM database
    any suggestions.
    Regards

    Yes, you can execute the query and store results into a result set (available also in iDocScript).
    There are two sample components that you could use as a starting point - see here http://www.oracle.com/technetwork/middleware/webcenter/content/howtocomponentsbundle-132171.zip or here for 11g http://bexhuff.com/2011/03/howto-component-samples-for-oracle-ucm-11g
    Take a look at DataAccess and DatabaseProvider from the sample stack.

  • FTP Server in FXP mode : PASV / Illegal PORT Command

    Hello,
    In our workflow, we transfer the media files with the FTP protocol in mode FXP (server to server), the commands are initiated by an automation system.
    This system work with the plateforms windows (serv-u), linux (vsftpd), osx (tnftpd) but it's impossible on a osx server (xftpd). The aim is to write file on our Xsan.
    The error is an illegal PORT command, when the automation system sent the IP adress of the other server.
    For test, If the IP adress of the destination server is the same that the automation server, the transfers are good, the PORT command is accepted.
    But in our case, the ip adress, is a other server...
    We can't to run the ftp server in FXP mode, and I do not want to install a Pureftp for to replace the tools included with osx server (and server admin).
    I think that's is possible, because this workflow works on a osx after we have modify the ftpd.conf (checkportcmd off).
    We not found in the file ftp access and nothing on the Internet, that's why I write on this board.
    I need your help, anyone have a solution, it's really important ?
    Thank you very much.
    Franck

    Hello Franck,
    I'm attempting the same thing.  Did you find a solution to your problem?

  • How to find memory taken by Oracle processes using top command

    I wanted to know how to find the memory taken by Oracle processes using top command. The output of the top command is as follows as an example:
    Mem: 16436072k total, 16215708k used, 220364k free, 395128k buffers
    Swap: 25165816k total, 1168288k used, 23997528k free, 13366520k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    27281 oraprod 15 0 6705m 1.3g 1.3g S 0.0 8.6 61:44.71 oracle
    27383 oraprod 15 0 6702m 1.2g 1.2g S 0.0 7.7 2:22.75 oracle
    5199 oraprod 16 0 6745m 1.1g 1.0g S 0.0 6.8 2:51.23 oracle
    The different Oracle processes could be Oracle database, Oracle listener, Oracle enterprise manager etc.
    I hope, my question is clear as to how to find the memory taken by a process using top command.
    Please revert with the reply to my query.
    Regards

    a short and correct answer would be: you can't.
    As oracle uses a fair amount of shared memory, and that shared memory is attached to most of the oracle processes, the same memory appears a number of times.
    you should rephrase your question / what is it you want to achieve?
    you can ask oracle how much memory is assigned to it, v$sga, v$sgastat, v$process (for PGA). moreover, you as DBA are the one who configured that.
    you can look at major an minor faults per process to see what is causing the paging (if you have any).
    you can also look at the /proc/pid/statm pseudofilesystem for your oracle pids.

  • GET Command

    Dear SDN,
    In order to create a custom Report, I need to understand a Standard program, which at a certain point has a "GET objec" command.
    The structure objec, in this case, is related to the OBJEC table, which is related to the PCH database that was defined as the Logical Database in the program Attributes. (So far so good!)
    My problem is that when the command "GET objec" is executed, it returns specific values in that structure, but I can't find where these data is coming from.
    When in my Z program I execute the same command, it returns a completely different set of data.
    Please, does anyone know what is the logic behind that command, or how I can find the source of the data that is loaded into this strucutre when the "GET" command is executed?
    (The SAP Report in case is RHSBES00)
    Thank you.

    Fabio,
    Please search the forums using 'Logical database' and read some documentation to understand the GET command.
    Basically it fills the structure from the database using select and goes in a select-endselect loop until the selection screen data is satisfied.
    BR,
    Diwakar

  • Unable to get command line from client!

    Does anyone know what this means? My G5 shuts itself down and I don't know what is causing it.
    Mac OS X Version 10.4.11 (Build 8S165)
    2009-02-12 11:01:19 -0800
    2009-02-12 11:01:21.760 SystemUIServer[199] lang is:en
    Feb 12 11:01:33 mDNSResponder: NAT Port Mapping (LLQ event port.): timeout
    Feb 12 11:01:37 cups-lpd[221]: Unable to get command line from client!
    Feb 12 11:10:48 Zelle-Olson cups-lpd[233]: Unable to get command line from client!
    Feb 12 11:17:37 cups-lpd[235]: Unable to get command line from client!

    Hello golferky,
    CUPS stands for Common Unix Printing System and is just one of the many background processes that is running on your system and is of no harm. What you are seeing in your message console is your Mac attempting to talk to a printer you have may have had or still have it connected to.
    Here is more information if you want to look into it.
    http://www.cups.org/
    B-rock

  • Problems with the "Get" command

    I downloaded my site to Dreamweaver. I used the "Get" command
    and imported it to Dreamweaver. That was fine except that it erased
    all my files on my server. Now my site is just a bunch of
    blank pages.
    I hope I can fix the problem by uploading my files back on to
    my server using the
    Put command.
    Is there any way to prevent this happening again?
    Thanks,

    > That was fine except that it erased
    all my files on my
    > server.
    Cannot possibly do this. The GET function only copies - it
    doesn't delete.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Tynos" <[email protected]> wrote in message
    news:ehfprp$fsl$[email protected]..
    >I downloaded my site to Dreamweaver. I used the "Get"
    command and imported
    >it
    > to Dreamweaver. That was fine except that it erased
    all my files
    > on my
    > server. Now my site is just a bunch of blank pages.
    >
    > I hope I can fix the problem by uploading my files back
    on to my server
    > using
    > the
    Put command.
    >
    > Is there any way to prevent this happening again?
    >
    > Thanks,
    >

  • How we can create Oracle 9i Database through Commands.

    How we can create Oracle 9i Database through Commands.
    We need step by step process and all the scripts.

    CREATE DATABASE
    Caution:
    This statement prepares a database for initial use and erases any data currently in the specified files. Use this statement only when you understand its ramifications.
    Note Regarding Security Enhancements:
    In this release of Oracle and in subsequent releases, several enhancements are being made to ensure the security of default database user accounts.
    To provide guidance for configuring Oracle9i in a secure manner, Oracle Corporation provides a security checklist. Oracle Corporation recommends that you read this checklist and configure your database accordingly. The security checklist can be found at the following URL:
    http://otn.oracle.com/deploy/security/oracle9i/pdf/9iR2_checklist.pdf
    Examples
    Creating a Database: Example
    The following statement creates a database and fully specifies each argument:
    CREATE DATABASE sample
    CONTROLFILE REUSE
    LOGFILE
    GROUP 1 ('diskx:log1.log', 'disky:log1.log') SIZE 50K,
    GROUP 2 ('diskx:log2.log', 'disky:log2.log') SIZE 50K
    MAXLOGFILES 5
    MAXLOGHISTORY 100
    MAXDATAFILES 10
    MAXINSTANCES 2
    ARCHIVELOG
    CHARACTER SET AL32UTF8
    NATIONAL CHARACTER SET AL16UTF16
    DATAFILE
    'disk1:df1.dbf' AUTOEXTEND ON,
    'disk2:df2.dbf' AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE temp_ts
    UNDO TABLESPACE undo_ts
    SET TIME_ZONE = '+02:00';
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_55a.htm#SQLRF01204
    Joel P�rez

  • Why oracle don't get clear error message? What is this symbols ???????

    jdk1.6
    oracle jdc driver - ojdbc14.jar
    when oracle throw exception I get somethin like this:
    [02 Jul 2010 20:10:36.145] com.mycompany.myproject.db.OracleStrategy.insertM2Document(OracleStrategy.java:147) ERROR:
    ? ??????? ??????????? ???????? IN ??? OUT:: 62
    java.sql.SQLException: ? ??????? ??????????? ???????? IN ??? OUT:: 62
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1729)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3365)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454)
    at com.mycompany.myproject.db.OracleStrategy.insertToDB(OracleStrategy.java:50)
    at com.mycompany.myproject.db.OracleStrategy.insertM2Document(OracleStrategy.java:139)
    at com.mycompany.myproject.db.DBManagerContext.insertM2Document(DBManagerContext.java:129)
    at com.mycompany.myproject.util.M2EIManager.importToOutM2PackDocuments(M2EIManager.java:154)
    at com.mycompany.myproject.views.OutgoingTabView.actionPerformed(OutgoingTabView.java:104)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    what is this symbols ??????. Why oracle don't get clear error message?

    The wrong character set encoding. Either by reading from the db or by displaying the error.

Maybe you are looking for