Error no privilege on system tablespace

Hi all,
I am trying to do follwing but getting an error
SQL> connect system/manager@kiran
Connected.
SQL> create user my_user
2 identified by my_user;
User created.
SQL> grant create session,create table
2 to my_user;
Grant succeeded.
SQL> connect my_user/my_user@kiran
Connected.
SQL> create table my_tab(a number);
create table my_tab(a number)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'SYSTEM'
Can anybody tell me why I am getting this error ???

SQL> create user test identified by test;
User created.
SQL> grant create session,create table to test;
Grant succeeded.
SQL> conn test/test
Connected.
SQL> create table test_tab(a number);
create table test_tab(a number)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'SYSTEM'
SQL> conn / as sysdba
Connected.
SQL> alter user test quota 10M on system;
User altered.
SQL> conn test/test
Connected.
SQL> create table test_tab(a number);
Table created.
SQL>As I said before, this is not the best way, you should define a default tablespace when you create users, e.g.
SQL> create user test identified by test
  2  default tablespace t_data
  3  temporary tablespace temp;Message was edited by:
Paul M.
Message was edited by:
Paul M.

Similar Messages

  • No privileges on system tablespace?

    I am a new dba & have succesfully created tables and added constraints.
    Today I tried to add a constraint to an existing table, and received the message
    ORA-01950: no privileges on tablespace 'SYSTEM'
    I tried to add the constraint as the owner of the table, as a user with granted privs on the table, and finally as SYS, and get the same error.
    The system tablespace is only about 60% full, and I have not changed any user privs since I last sucessfully added constraints.
    If someone would give me a clue as to what's going on, I would really appreciate it.
    Thanks, Helen

    I granted unlimited tablespace to the user that owns the table, and the constraint was added successfully.
    I don't know if a user should have unlimited tablespace on SYSTEM...any advice on what a good limit would be? My system tablespace is 325 M and about 60% full. Would it make sense to grant sys unlimited tablespace on SYSTEM?
    Thanks very much for your help. You gave me the incentive to keep trying things until something worked.

  • Error:cannot use system rollback segment for non-system tablespace

    Hi,
    I have created a oracle database 10.2.0 on fedora 9 system. I have created a user and assigned the default tablespace SATYA and given the permissions. But when I create a table in the user I am getting the following error.
    Can anyone help me in rectifying this error.
    ORA-01552: cannot use system rollback segment for non-system tablespace 'SATYA'
    thankyou
    satya

    Undo management is either AUTO or Manual, no local
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm#sthref1469
    Since you are using 10g, you are recommended to use Auto undo management
    If you still plan to use manual undo management, make sure you have other non-system rollback segment in place.

  • Multiple Event Viewer Error Ids, Corrupt Catalogs, System not working right. Please help.

     Since I could not find a list of the Event Ids that was accurate at all or not too general as to be useless and Microsoft won't let us know how to fix these ourselves without having a programming degree, I am begging for help from anyone who can help
    me get my computer working right again. I have some important things to get done which I can't do without my computer working. I have tried to get what I could get but I am blocked from many files which makes it difficult to get info. Please help. I appreciate
    any help I can get. Thank you,
    WhiteFox42
    I am not sure which one is more important.
    Event id 20
    Installation Failure: Windows failed to install the following update with error 0x80070643: Update for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 for x64-based Systems
    (KB2468871).
    Event id 11
    Possible Memory Leak.  Application (C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted) (PID: 476) has passed a non-NULL pointer to RPC for an [out] parameter marked [allocate(all_nodes)].  [allocate(all_nodes)] parameters are always
    reallocated; if the original pointer contained the address of valid memory, that memory will be leaked.  The call originated on the interface with UUID ({3f31c91e-2545-4b7b-9311-9529e8bffef6}), Method number (20).  User Action: Contact your application
    vendor for an updated version of the application.
    Event id 455
    taskhost (1348) WebCacheLocal: Error -1811 (0xfffff8ed) occurred while opening logfile R:\User\App Data\Roaming\Microsoft\Templates\Local\Microsoft\Windows\WebCache\V01.log.
    Event Xml:
    Event id 505
    wuaueng.dll (1012) SUS20ClientDataStore: An attempt to open the compressed file "C:\Windows\SoftwareDistribution\DataStore\DataStore.edb" for read / write access failed because it could not be converted to a normal file.  The open file operation
    will fail with error -4005 (0xfffff05b).  To prevent this error in the future you can manually decompress the file and change the compression state of the containing folder to uncompressed.  Writing to this file when it is compressed is not supported.
    Event id 513
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object
    Event id 1000
    Faulting application name: IEXPLORE.EXE, version: 11.0.9600.16428, time stamp: 0x525b664c
    Faulting module name: IEFRAME.dll, version: 11.0.9600.16476, time stamp: 0x52944cf2
    Exception code: 0xc0000005
    Fault offset: 0x00025f1d
    Faulting process id: 0x1854
    Faulting application start time: 0x01cf0735f0e5f0c7
    Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
    Faulting module path: C:\Windows\system32\IEFRAME.dll
    Report Id: e3dc1e9a-733f-11e3-b920-00215a2af202
    Event id 1000
    Faulting application name: msiexec.exe, version: 5.0.7601.17514, time stamp: 0x4ce79d93
    Faulting module name: msvcrt.dll, version: 7.0.7601.17744, time stamp: 0x4eeb033f
    Exception code: 0xc0000005
    Fault offset: 0x00000000000035e1
    Faulting process id: 0x1030
    Faulting application start time: 0x01cf01b77867a358
    Faulting application path: C:\Windows\system32\msiexec.exe
    Faulting module path: C:\Windows\system32\msvcrt.dll
    Report Id: f7253b17-6daa-11e3-b944-00215a2af202
    Event id 1002
    Computer:      w7mar-64  "I don't know why it has computer as this when it should not be."
    Description:
    The IP address lease 192.168.200.195 for the Network Card with network address 0x08002742F261 has been denied by the DHCP server 192.168.200.1 (The DHCP Server sent a DHCPNACK message).
    Event id 1008
    The Windows Search Service is starting up and attempting to remove the old search index {Reason: Index Corruption}.
    Event id 1008
    Computer:      w7mar-64
    Description:
    An errorUser:          LOCAL SERVICE
     occurred in initializing the interface. The error code is: 0x2.
    Event id 1014
    User:          NETWORK SERVICE
    Computer:    
    Description:
    Name resolution for the name wpad.westell.com timed out after none of the configured DNS servers responded.
    Event id 1015
    User:          N/A
    Computer:      w7mar-64
    Description:
    Event ID 1013 for the Windows Search Service has been suppressed 7 time(s) since 12:04:10 PM. This event is used to suppress Windows Search Service events that have occurred frequently within a short period of time.  See Event ID 1013 for further details
    on this event.
    Event id 1015
    Failed to connect to server. Error: 0x8007043C
    Event id 1018
    The description for Event ID 1018 from source EvntAgnt cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 1020
    Updates to the IIS metabase were aborted because IIS is either not installed or is disabled on this machine. To configure ASP.NET to run in IIS, please install or enable IIS and re-register ASP.NET using aspnet_regiis.exe /i.
    Event id 1028
    Windows Installer has determined that its configuration data cache folder was not secured properly. The owner of the key must be either Local System or Builtin\Administrators. The existing folder will be deleted and re-created with the appropriate security
    settings.
    Event id 1101
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile: System.Web.Entity.Design, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=msil . Error code = 0x80010108
    Event id 1500
    The description for Event ID 1500 from source SNMP cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 1530
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. 
    Event id 1530
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.  
     DETAIL -
     6 user registry handles leaked from \Registry\User\S-1-5-21-2959539970-205720217-4182857889-1000:
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Microsoft\Internet Explorer\Main
    Process 1020 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-2959539970-205720217-4182857889-1000\Software\Policies
    Event id 3028
    Context: Windows Application, SystemIndex Catalog
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 3029
    Context: Windows Application, SystemIndex Catalog
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 3036
    The content source <csc://{S-1-5-21-2959539970-205720217-4182857889-1001}/> cannot be accessed.
    Event id 3036
    No protocol handler is available. Install a protocol handler that can process this URL type.  (HRESULT : 0x80040d37) (0x80040d37)
    Event id 4104
    Description:
    The backup was not successful. The error is: Access is denied. (0x80070005).
    Event id 4228
    TCP/IP has chosen to restrict the scale factor due to a network condition.  This could be related to a problem in a network device and will cause  degraded throughput.
    Event id 4321
    The name "WHITEFOXPC     :0" could not be registered on the interface with IP address 192.168.1.21. The computer with the IP address 192.168.1.19 did not allow the name to be claimed by this computer.
    Event id 4373
    The description for Event ID 4373 from source NtServicePack cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Event id 4879
    MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system WHITEFOXPC.
    Event id 6000
    The winlogon notification subscriber <GPClient> was unavailable to handle a notification event.
    Event id 6006
    The winlogon notification subscriber <TrustedInstaller> took 186 second(s) to handle the notification event (CreateSession).
    Event id 7000
    The Windows Audio service failed to start due to the following error:
    A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view
    the service configuration and the account configuration.
    Event id 7001
    The Computer Browser service depends on the Server service which failed to start because of the following error:
    The dependency service or group failed to start.
    Event id 7010
    The index cannot be initialized.
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 7023
    The Block Level Backup Engine Service service terminated with the following error:
    %%-2147024713
    Event id 7024
    The Windows Search service terminated with service-specific error %%-1073473535.
    Event id 7026
    The following boot-start or system-start driver(s) failed to load:
    aswKbd
    aswRvrt
    aswSnx
    aswSP
    aswTdi
    aswVmm
    discache
    spldr
    Wanarpv6
    Event id 7030 & 7031
    The dldw_device service is marked as an interactive service.  However, the system is configured to not allow interactive services.  This service may not function properly.
    Event id 7032
    The Service Control Manager tried to take a corrective action (Restart the service) after the unexpected termination of the Windows Installer service, but this action failed with the following error:
    An instance of the service is already running.
    Event id 7040
    The search service has detected corrupted data files in the index {id=4700}. The service will attempt to automatically correct this problem by rebuilding the index.
    Event id 7042
    The Windows Search Service is being stopped because there is a problem with the indexer: The catalog is corrupt.
    Details:
        The content index catalog is corrupt.  (HRESULT : 0xc0041801) (0xc0041801)
    Event id 8210
    An unspecified error occurred during System Restore: (Installed Java 7 Update 45). Additional information: 0x80070003.
    Event id  9000
    The Windows Search Service cannot open the Jet property store.
    Details:
        0x%08x (0xc0041800 - The content index database is corrupt.  (HRESULT : 0xc0041800))
    Event id 10005
    DCOM got error "1084" attempting to start the service MSIServer with arguments "" in order to run the server:
    {000C101C-0000-0000-C000-000000000046}
    Event id 10010
    15 of these with different server codes which I can't copy unless I copy all the details.
    The server {3EEF301F-B596-4C0B-BD92-013BEAFCE793} did not register with DCOM within the required timeout.
    Event id 12348
    Volume Shadow Copy Service warning: VSS was denied access to the root of volume \\?\Volume{8e79517c-6c41-11e3-b621-cb03f0618d54}\. Denying administrators from accessing volume roots can cause many unexpected failures, and will prevent VSS from functioning
    properly.  Check security on the volume, and try the operation again.
    Event id 15006
    9 of these.
    Description:
    Owner of the log file or directory \SystemRoot\System32\LogFiles\HTTPERR\httperr1.log is invalid. This could be because another user has already created the log file or the directory.
    Event id 31004
    33 of tese.
    The DNS proxy agent was unable to allocate 0 bytes of memory. This may indicate that the system is low on virtual memory, or that the memory manager has encountered an internal error.
    The End.
    Kimberly D. White-Fox

    Please provide a copy of your System Information file. Type System Information in the Search Box above the start Button and press the ENTER key
    (alternative is Select Start, All Programs, Accessories, System Tools, System Information). Select File, Export and give the file a name noting where it is located. The system creates a new System Information file each time system information is accessed.
    You need to allow a minute or two for the file to be fully populated before exporting a copy. Please upload to your Sky Drive, share with everyone and post a link here. Please say if the report has been obtained in safe mode.
    Please upload and share with everyone copies of your System and Application logs from your Event Viewer to your Sky Drive and post a link here.
    To access the System log select Start, Control Panel, Administrative Tools, Event Viewer, from the list in the left side of the window select Windows
    Logs and System. Place the cursor on System, select Action from the Menu and Save All Events as (the default evtx file type) and give the file a name. Do the same for the Applications log. Do not provide filtered files.
    For help with Sky Drive see paragraph 9.3:
    http://www.gerryscomputertips.co.uk/MicrosoftCommunity1.htm
    Some Event Viewer reports are generated solely because the computer is in safe mode or safe mode with networking. You have at least one example of this in your long list. If you do not see the same report for a time when
    the computer was in normal mode then it can be disregarded.
    You will find some general advice on interpreting Event Viewer reports here:
    http://www.gerryscomputertips.co.uk/syserrors5.htm
    Hope this helps, Gerry

  • RMAN duplicate target database for standby from active fails to create newname for system tablespace/datafile

    When executing 'duplicate target database for standby from active'  the system tablespace/datafile (datafile 1)  is not cloned.  All other datafiles clone successfully.  The RMAN process aborts with the following errors while attempting to clone the system tablespace/datafile.
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03135: connection lost contact
    Here are the details:
    Primary is 11.2.0.2 RAC database  on an Exadata platform
    Standby is 11.2.0.2 Single Instance database (same patch level as primary) on a Red Hat Linux box
    This is an ASM to ASM duplication.
    This is not unique to this database.  We tried another database and go the same behavior - all datafiles clone successfully with the exception of the system tablespace/datafile.
    We have traced the RMAN execution and it seems to fail when it is trying to assign a NEWNAME to the system tablespace/datafile.
    We even issued an explicit SET NEWNAME command but RMAN ignored it.
    We also shutdown the primary and started is up in mount mode thinking that something had ahold of the System Tablespace/datafile.
    We also opened up the network firewall to allow permit any,any traffic.
    We increased the max_server_processes
    and added TCP.NODELAY=yes to the sqlnet.ora file.
    There seems to be some artifact present in our Primary System tablespace/data file that is preventing it form being cloned.
    checked all alert files grid, asm,  and dbhome - no abnormal messages.
    We are in the process of restoring the database from a backup but we would prefer to get this working using the 'Active Database' methodology

    I successfully created the standby database using RMAN backup and recovery.
    I started the managed recovery.  Archive logs are being sent from the primary to the standby ( I can see them in ASM), but the standby is not applying them.
    I get the following messages in the standby alert log...
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:19:58 2013
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
    Tue Nov 26 16:20:01 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:11 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:22 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    Tue Nov 26 16:20:32 2013
    Fetching gap sequence in thread 2, gap sequence 154158-154257
    I don't see any MRP processes:
    select process,
    status,
        thread#,
        sequence#,
       block#,
      blocks
      7     from v$managed_standby;
    PROCESS   STATUS          THREAD#  SEQUENCE#     BLOCK#     BLOCKS
    ARCH      CLOSING               2     154363          1        132
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    ARCH      CONNECTED             0          0          0          0
    RFS       IDLE                  0          0          0          0
    RFS       IDLE                  1     145418        121          1
    RFS       IDLE                  0          0          0          0
    PROCESS   STATUS          THREAD#  SEQUENCE#     BLOCK#     BLOCKS
    RFS       IDLE                  0          0          0          0
    12 rows selected.
    SQL>  SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
       THREAD#  SEQUENCE# APPLIED
             2     154356 NO
             2     154357 NO
             1     145411 NO
             2     154358 NO
             2     154360 NO
             2     154361 NO
             1     145414 NO
             1     145415 NO
             2     154362 NO
             2     154363 NO
             1     145416 NO
    11 rows selected.
    I do have the archive logs that cover sequences 154158-154257
    Crosschecked 38 objects
    Crosschecked 62 objects
    Finished implicit crosscheck backup at 26-NOV-13
    Starting implicit crosscheck copy at 26-NOV-13
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Crosschecked 2 objects
    archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154377.344.832521989 RECID=29 STAMP=832521990
    validation succeeded for archived log
    archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154378.346.832521991 RECID=31 STAMP=832521993
    Crosschecked 31 objects

  • How to create a system tablespace as  locally manged in 8.1.7

    After a good time looking for it I still haven't found an example of how to create a database with the system tablespace as locally managed in release 8.1.7
    I'm trying this, that isn't OK at all:
    create database CSR
    character set "WE8ISO8859P15"
    datafile '/home/oracle/create/CSR/system/sysCSR.dbf' size 75M
    extent management local
    DEFAULT TEMPORARY TABLESPACE tsp_temp
    DATAFILE '/home/oracle/create/CSR/temp/tempCSR.dbf'
    SIZE 80M REUSE
    logfile '/home/oracle/create/CSR/redo/redo1CSR.log' SIZE 500k,
         '/home/oracle/create/CSR/redo/redo2CSR.log' SIZE 500k,
         '/home/oracle/create/CSR/redo/redo3CSR.log' SIZE 500k;
    Can someone tell me what is wrong, please?

    I'm trying this, that isn't OK at allAre there any errors? can you explain what is not "OK"?

  • Migrating SYSTEM tablespace from DMTS to LMTS in Oracle 9.2.0.7

    Migrating SYSTEM tablespace from DMTS to LMTS in Oracle 9.2.0.7 using
    brspace -f dbcreate
    SAP version: 4.6C
    Oracle: 9.2.0.7
    OS: AIX 5.3
    BRTools: 6.40(42)    /**  6.40(10) or (12) will be sufficient according to SAP ***/
    IMPORTANT ***************************************
    MUST DO:
    1. Create a Full Backup of your system
    2. Test your Restore and recovery of your backup.
    3. Have a copy of all your tablespaces names on hand
    4. Know your SYS and SYSTEM passwords
    5. Run CheckDB in DB13 to ensure it is completed successfully with no warnings. This reduce the chance of hitting errors in the process
    6. Ensure your UNDO tablespace is big enough
    7. OSS 400241 Problems with ops$ or sapr3 connect to Oracle
    NOTE: OSS 706625(Read this note)
    The migration from a dictionary-managed SYSTEM tablespace to a locally-managed tablespace using the PL/SQL procedure DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL is not supported in the SAP environment.
    In UNIX, logon as ora<sid>
    run command: brspace -f dbcreate
    This command will triggers a Menu. The are seven(7) steps to complete the whole process. Do them in sequence, from step 1 to step 7 faithfully. In Step 1, ensure that your settings of PSAPTEMP, PSAPUNDO etc details such as filenames are correct. The rest I leave it as default and they are fine. Do not change redo log group from 8 to 4 even if you only have 4 redo groups. If not, you might need to restore the system! If the seven steps are complete without errors(warnings is acceptable), congrats. Perform a backup again.
    Problems I encountered that caused me to restore system:
    1./ Problem: I changed the redo group from 8 to 4 and in the later stage after the tablespaces and files are dropped, the system prompted me that 4 is not acceptable! I can't go back then so a restore is performed.
    Solution: Leave the default value 8 as it is
    2./ I was using wireless network and the network breaks thus process breaks.
    Solution: This process in user-interactive and requires you to input confirmation along the way so do it using LAN.
    3./ In the process of dropping  tablespace PSAP<SID>, I encountered:
    BR0301E SQL error -604 at location BrTspDrop-2
    ORA-00601: error occurred at recursive SQL level 1
    ORA-01555: snapshot too old: rollback segment number 22 with name '_SYSSMU22$" too small
    Solution: I have not fixed this yet but I think it is because my PSAPUNDO is too small(800M) so I will increase it to a bigger value e.g. 5GB
    4. Problem: Unable to start sap after successfully migrated. OPS$user problem
    Solution: logon as <sid>adm, run R3trans -x in a directory that <sid>adm has read/write permission. R3trans -x will creates a file call trans.log. Read the details and refer to OSS 400241
    Result: I have successfully performed this on one(1) system and doing this on the another one currently but encounter Problem 3. Will update this further if there are more findings.
    REFERENCE:
    OSS 748434 New BRSPACE function "dbcreate" - recreate database
    OSS 646681 Reorganizing tables with BRSPACE
    OSS 541538 FAX: Reorganizations
    Message was edited by:
            Annie Chan
    Message was edited by:
            Annie Chan
    Message was edited by:
            Annie Chan

    The current one I am implementing is a development system. The database is less than 100GB. 800MB of PSAPUNDO is sufficient for our development usage.
    Follow up on Problem 3:
    I created another undo tablespace PSAPUNDO2(undodata.dbf) with size of 5GB. I switched undo tablespace to PSAPUNDO2 and placed PSAPUNDO(undo.data1) offline. With PSAPUNDO2 online and PSAPUNDO offline, I started brspace -f dbcreate and encountered the error below at Step 2 Export User tablespace:
    BR0301E SQL error -376 at location BrStattabCreate-3
    ORA-00376: file 17 cannot be read at this time
    ORA-01110: data file 17: '/oracle/DVT/sapdata1/undo_1/undo.data1'
    ORA-06512: at 'SYS.DBMS_STATS", line 5317
    ORA-06512: at line 1
    I aborted the process and verified that SAP is able to run with this settings. I started CheckDB in DB13 and it shows me these messages:
    BR0301W SQL error -376 at location brc_dblog_open-5
    ORA-00376: file 17 cannot be read at this time
    ORA-01110: data file 17: '/oracle/DEV/sapdata1/undo_1/undo.data1'
    BR0324W Insertion of database log header failed
    I don't understand then. I have already switched the undo tablespace from PSAPUNDO to PSAPUNDO2. Why the message above still appears? Once I put PSAPUNDO online, CheckDB completes successfully without warning.
    I did show parameter undo_tablespace and the result is PSAPUNDO2(5GB).
    So exactly, what's going on? Can anyone advise?
    ===============================================
    I have managed to clear the message in DB13 after dropping PSAPUNDO tablespace including contents and datafiles. This is mentioned is OSS note 600141 pg 8 as below:
    Note: You cannot just set the old rollback-tablespace PSAPROLL to offline instead of deleting it properly. This results in ORA-00376 in connection with ORA-01110 error messages. PSAPROLL must remain ONLINE until it is deleted. (Oracle bug 3635653)
    Message was edited by:
            Annie Chan

  • ORACLE error 959 encountered ORA-00959: tablespace 'xyz' does not exist

    im importing a dump to a newly created BD and im using 11g. I have already tablespaces and user for the dump to be imported.
    The problems is, i have a total of 5 tablespaces created, all 4 are working well except the one tablespace and im receiving a 959 error(IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'xyz' does not exist). The log mentions that the tablespace does not exist even if this tablespace exist in the list of tablespace and datafiles created.
    Hope you could help me with this. Thanks
    Edited by: user8667617 on Feb 18, 2010 11:06 PM

    SQL> Select name from v$datafile;
    NAME
    C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSTEM01.DBF
    C:\APP\ORACLEADMIN\ORADATA\ORC11\SYSAUX01.DBF
    F:\ORC11DBUNDO\UNDOTBS01.DBF
    E:\ORC11DBUSER\USERS01.DBF
    E:\ORC11DBUSER\INT_TRANSACTIONS_DATA.DBF
    E:\ORC11DBUSER\INT_DATA.DBF
    E:\ORC11DBUSER\CAS_DATA.DBF
    E:\ORC11DBUSER\COS_DATA.DBF
    E:\ORC11DBUSER\INT_ONLINE_TRANSACTIONS_DATA.DBF
    9 rows selected.
    SQL> Select * from v$tablespace;
    TS# NAME INC BIG FLA ENC
    0 SYSTEM YES NO YES
    1 SYSAUX YES NO YES
    2 UNDOTBS1 YES NO YES
    4 USERS YES NO YES
    3 TEMP NO NO YES
    6 INT_TRANSACTIONS_DATA YES NO YES
    7 INT_DATA YES NO YES
    8 CAS_DATA YES NO YES
    9 COS_DATA YES NO YES
    10 INT_ONLINE_TRANSACTIONS_DATA YES NO YES
    10 rows selected.
    SQL>
    here are the result of my query and it seems that the tablespace is recognized by the DB.
    is there still any reason why? also when i try to drop the said tablespace in getting a response of the "tablespace does not exist" but when i try to create the tablespace it says that "ORA-00604: error occurred at recursive SQL level 1
    ORA-00001: unique constraint (SYS.I_TS1) violated"
    hope you can help me with this.

  • SYSTEM Tablespace issue (10.2.0.1 database)

    Hi ,
    Oracle database 10.2.0.1 (upgraded from 8.1.7.0 via 8.1.7.4)...successfully upgraded
    Now when we open dbcontrol, we are getting alerts regarding the Tablespace.
    It shows two critical alert messages as below :-
    1) Tablesapace SYSTEM (dictionary managed) is 95.16 % full
    2) 1 segment in SYSTEM tablespace is unable to extend.
    Now how to deal with this type of issues ?
    Can we extend the size of datafile of SYSTEM Tablespace which is dictionary managed ? or can we add another new datafile to system tablespace ? what is appropriate solution ?SYSTEM Tablespace
    How to solve the point no. (2) as the TS is dictionary managed ?
    With Regards

    hi ,
    Plz add the datafile to the system tablespace tp increase its size , and the conver the system tablespace from dictionary managed to local.
    To Change SYSTEM tablespaces to locally managed follow the below procedures:
    Before the SYSTEM tablespace can be migrated to locally managed format, you should ensure the following:
    The database has a default temporary tablespace which is not SYSTEM
    There are not any rollback segments in dictionary managed tablespaces
    There is at least one online rollback segment in a locally managed tablespace, or an undo tablespace (if using automatic undo management mode) should be online.
    All tablespaces other than the tablespace containing the undo space (undo tablespace or the tablespace containing the rollback segment) and the default temporary tablespace are in read-only mode.
    There is a complete backup of the system.
    The system is in restricted mode.
    Notr, that we already have an UNDO Tablespace. The following query determines whether the SYSTEM tablespace is locally managed:
    SQL> SELECT ts# FROM ts$ WHERE ts# = 0 AND bitmapped <> 0;
    If 0 rows are returned, then the SYSTEM tablespace is dictionary managed. Otherwise, the SYSTEM tablespace is locally managed.
    Steps to change SYSTEM tablespaces to locally managed
    SQL> shutdown immediate
    SQL> startup restrict
    SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
    ERROR at line 1:
    ORA-10644: SYSTEM tablespace cannot be default temporary tablespace
    ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
    ORA-06512: at line 1
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
    SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
    ERROR at line 1:
    ORA-10647: Tablespace other than SYSTEM, UNDO, TEMP not
    found in read only mode
    ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
    ORA-06512: at line 1
    SQL> select tablespace_name from dba_tablespaces;
    TABLESPACE_NAME
    SYSTEM
    TEMP
    USERS
    TAB
    IDX
    SYSAUX
    UNDO
    SQL> alter tablespace USERS read only;
    SQL> alter tablespace TAB read only;
    SQL> alter tablespace IDX read only;
    SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
    ERROR at line 1:
    ORA-10648: Tablespace SYSAUX is not offline
    ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
    ORA-06512: at line 1
    SQL> alter tablespace SYSAUX offline;
    SQL> execute DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL ('SYSTEM');
    PL/SQL procedure successfully completed.
    Regards,
    Mohd Mehraj Hussain
    http://mehrajdba.wordpress.com

  • System tablespace file suffered media failure

    Hi All,
    Our DB is shutdown due to this error:
    ===
    ORA-01243: system tablespace file suffered media failure
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/dumps/rmodevdb/db/apps_st/data/system01.dbf'
    ORA-01206: file is not part of this database - wrong database id
    CKPT: terminating instance due to error 1243
    Instance terminated by CKPT, pid = 8203
    ====
    Please let me know how to resolve this.
    Thanks,
    Kishore

    Yes Aman.. This happened after cloning in apps.
    However, issue got resolved.
    Data files were zipped using tar- cvzf ...
    I could successfully complete the cloning when backup is taken with "tar cvf" (with out including z)
    So, learnt that datafiles should not be zipped when tar.
    But datafiles can be zipped using gzip after " tar cvf " is completed.
    Am i right ?

  • How to remove data file from System tablespace

    Hi All,
    I have wrongly added data file in SYSTEM tablespace, now I want remove it. I have tried to set datafile offline but it is giving me the error system tableapce can not set offline. so please help me. I am working Oracle 10g .
    thanks in advance
    sv

    In 10gR2, you can drop a datafile from tablespace, as long it's empty (and of course not the last one):
    ALTER TABLESPACE tbs_03 DROP DATAFILE 'tbs_f04.dbf';
    Otherwise, there's no direct way to get rid of the file. You can just shrink it and move (i.e. "rename") it another location. For a non-system tablespace, move of all segments to another tablespace (and later renaming it) would be an option, but this of course won't work with system tablespace.

  • Block Corruption in SYSTEM Tablespace

    Hi,
    well it´s just a test database without a backup, but i would like to repair it anyway :-)
    Here are the facts:
    Errors in file c:\oracle\admin\o10g\bdump\o10g_smon_1404.trc:
    ORA-01578: ORACLE data block corrupted (file # 1, block # 50187)
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\O10G\SYSTEM01.DBF'
    1. I found the object: It´s a Cluster named SYS.C_TOID_VERSION#
    containing a lot of table stuff (type$,parameter$, ...)
    i tried to repair it with dbms_repair:
    BEGIN SYS.DBMS_REPAIR.SKIP_CORRUPT_BLOCKS (
    SCHEMA_NAME => 'SYS',
    OBJECT_NAME => 'C_TOID_VERSION#',
    OBJECT_TYPE => dbms_repair.cluster_object,
    FLAGS => dbms_repair.skip_flag);
    END;
    No error, but the same block corruption message in the alert.log 1 minute later.
    i can select the tables in the cluster.
    Has anyboby another trick to repair a cluster?
    Thanks
    Marco

    Hi,
    if you have rman backup then this problem become resolved by only one command.
    BLOCKRECOVER DATAFILE 1 BLOCK 3 DATAFILE 50187;
    otherwise restore system tablespace from backup and recover it.
    and one more thing
    **Don't fix the block in system tablespace it may create problem if that block contain some useful information of oracle(internal information).
    Thanks
    Kuljeet Pal Singh

  • InterMedia leaves garbage in the system tablespace

    During the creation of a context(interMedia) index, I shutdown
    the Oracle server with abort. I started the server up and
    proceeded to delete the bad index. When I tried to create a new
    index with the same name an error occured. I looked in some
    tables in the system tablespace under the ctxsys user, and found
    references to my corrupted index. Is there a way to clear out
    this bad data w/o having to re-install Oracle?

    You don't say what the error is so I can't be sure, but I
    suspect that deleting the entry in dr$index (owned by ctxsys)
    for your 'bad' index will allow you to recreate it.

  • Problem with purge temp and system tablespace

    hi,
    i am purging tablespec with sys user and it seems doing it, but tablespaces are still full
    also wanted to drop a datafile
    alter tablespace system drop
    datafile 'C:\oraclexe\files\sys.bf'
    and it giving the following error
    Error starting at line 28 in command:
    alter database datafile 'C:\oraclexe\files\sys.bf' offline drop
    Error report:
    SQL Error: ORA-01541: system tablespace cannot be brought offline; shut down if necessary
    01541. 00000 - "system tablespace cannot be brought offline; shut down if necessary"
    *Cause:    Tried to bring system tablespace offline
    *Action:   Shutdown if necessary to do recovery
    but if i shutdown how i drop it? or delete manually the file?
    sorry for the 2 question in one thread
    thanks

    but if i shutdown how i drop it? or delete manually the file?Operate in MOUNT state.
    But If you need to resize your system tablespace, You have to check HWM.
    On XE, I think it's easy to use full exp -> recreate -> full imp..
    Regards,

  • SYSTEM tablespace extend issue

    Hello, I am migrating from 8.1.7 to 9i and I got following error:
    ORA-1652: unable to extend temp segment by 3200 in tablespace SYSTEM
    As part of migration I added a new data file to system with 100 MB. So in total I have 250 MB of SYSTEM tablespace. Can someone tell mw what I can do?
    thanks
    Suresh

    I have 6 other dBs in 9i and I want to bring all dBs to same level before moving to 10g. Plan is to upgrate to 10g by end of this year.
    Can I just add more space and restart the migration or do I need to restore a backup copy and then start the migration?
    thanks
    Suresh

Maybe you are looking for