What is the problem with the export?
[oracle@wtu dbs]$ export ORACLE_SID=orcl
[oracle@wtu dbs]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 2 21:19:34 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1707446272 bytes
Fixed Size 1336988 bytes
Variable Size 1124075876 bytes
Database Buffers 570425344 bytes
Redo Buffers 11608064 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> exit
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@wtu dbs]$ export ORACLE_SID=pros
[oracle@wtu dbs]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 2 21:21:05 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 83697664 bytes
Fixed Size 1334660 bytes
Variable Size 75498108 bytes
Database Buffers 4194304 bytes
Redo Buffers 2670592 bytes
Database mounted.
Database opened.
SQL> select username from dbs_users;
select username from dbs_users
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select username from dba_user;
select username from dba_user
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select username from dba_users;
USERNAME
------------------------------
MGMT_VIEW
SYS
SYSTEM
DBSNMP
SYSMAN
SCOTT
TBS
R_CAT
OUTLN
FLOWS_FILES
MDSYS
USERNAME
------------------------------
ORDSYS
EXFSYS
WMSYS
APPQOSSYS
APEX_030200
OWBSYS_AUDIT
ORDDATA
CTXSYS
ANONYMOUS
XDB
ORDPLUGINS
USERNAME
------------------------------
OWBSYS
SI_INFORMTN_SCHEMA
OLAPSYS
ORACLE_OCM
XS$NULL
MDDATA
DIP
APEX_PUBLIC_USER
SPATIAL_CSW_ADMIN_USR
SPATIAL_WFS_ADMIN_USR
32 rows selected.
SQL> alter user scott account unlock;
User altered.
SQL> conn scott/tiger
Connected.
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
------------------------------ ------- ----------
BONUS TABLE
DEPT TABLE
EMP TABLE
SALGRADE TABLE
SQL> conn / as sysdba
Connected.
SQL> create directory mydir as '/home/oracle/Desktop/mydir';
Directory created.
SQL> desc dba_directories;
Name Null? Type
----------------------------------------- -------- ----------------------------
OWNER NOT NULL VARCHAR2(30)
DIRECTORY_NAME NOT NULL VARCHAR2(30)
DIRECTORY_PATH VARCHAR2(4000)
SQL> select directory_name from dba_directories;
DIRECTORY_NAME
------------------------------
MYDIR
XMLDIR
DATA_PUMP_DIR
ORACLE_OCM_CONFIG_DIR
SQL> select directory_path from dba_directories;
DIRECTORY_PATH
--------------------------------------------------------------------------------
/ade/b/1191423112/oracle/rdbms/xml
/home/oracle/Desktop/mydir
/u01/app/oracle/admin/pros/dpdump/
/u01/app/oracle/product/112/ccr/state
SQL> host
[oracle@wtu dbs]$
[oracle@wtu dbs]$ cd /home/oracle/Desktop/mydir
[oracle@wtu mydir]$ ls
[oracle@wtu mydir]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 2 21:47:35 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create user moon identified by light;
User created.
SQL> grant create session to moon;
Grant succeeded.
SQL> grant create table to moon;
Grant succeeded.
SQL> alter user moon quota 1M on users;
User altered.
SQL> alter user monn quota 1M on system;
alter user monn quota 1M on system
*
ERROR at line 1:
ORA-01918: user 'MONN' does not exist
SQL> alter user moon quota 1M on system;
User altered.
SQL> grant read,write on directory mydir to moon;
Grant succeeded.
SQL> conn scott/tiger
Connected.
SQL> select * from cat;
TABLE_NAME TABLE_TYPE
------------------------------ -----------
BONUS TABLE
DEPT TABLE
EMP TABLE
SALGRADE TABLE
SQL> host
[oracle@wtu mydir]$ expdp scott/tiger directory=mydir dumpfile=exp.dmp logfile=exp.log
Export: Release 11.2.0.1.0 - Production on Wed Jan 2 22:06:39 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
UDE-31623: operation generated ORACLE error 31623
ORA-31623: a job is not attached to this session via the specified handle
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3263
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4488
ORA-06512: at line 1
[oracle@wtu mydir]$
https://forums.oracle.com/forums/thread.jspa?threadID=2314328