Unable to decrease SGA on 10g
Hello Gurus
I have an Oracle 10g database on Solaris machine . following are the results of show SGA
Total System Global Area 1191182336 bytes
Fixed Size 2028080 bytes
Variable Size 355208656 bytes
Database Buffers 819200000 bytes
Redo Buffers 14745600 bytes
I want to decrease the SGA to 600 mb only but when i gave
SQL> alter system set sga_max_size=600m;
alter system set sga_max_size=600m
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
then i decide to make changes in init.ora file . i put
sga_max_size = 600m
but that too of no use i got
Specified value of sga_max_size is too small, bumping to 1103101952
in alert log file
please suggest what i'm doing wrong and what should be the proper way to do it
thanks
Hi,
sga_max_size = 600m
but that too of no use i got
Specified value of sga_max_size is too small, bumping to 1103101952
in alert log fileHow do you expect to reduce your SGA to 600 MB if only your buffer cache is 800 MB big?
To reduce the SGA_MAX_SIZE to 600MB you need to reduce the size of all SGA internal memory areas to use 600 MB or less (I'm talking about the sum of all this areas, no each one):
- The shared pool
- The large pool
- The Java pool
- The buffer cache
- The Streams pool
- The Log Buffer
All this memory areas together are the SGA.
Regards,
Francisco Munoz Alvarez
www.oraclenz.com
Similar Messages
-
How to decrease SGA size in oracle 9i
hi,
how to decrease SGA size .. now SGA size=400m i want to drecrease to 150m
Thanks,
MohammedWhy do you want to do this? Is your system low on memory?
Perhaps your DB is on a laptop with
only a small amount of memory?
Well an enterprise database server set of
thread inside a complex service would need
a high powered laptop with large amounts
of memory.
Or perhaps your UAT server has 10 databases
on it all competing for resource?The culprit may not be Oracle.
For example (as you have not told us your operating system, windows linux unix?) IBM's AIX unix operating system comes configured optimally for managing file caching in the OS memory; as Oracle also caches the blocks read from disk sometimes the file system caching is redundant and ends up using memory better allocated to Oracle. In that case you tune the Unix kernel to reduce memory allocated to the file system caching. The default settings allow IBM AIX to take up to 80% of system memory for caching bad if you have allocated 40% to the SGA already.........
The really cool thing about AIX is you can do this on the fly and you don't need to reboot so when you go live you juggle until you get an optimal setting and then monitor.
In the end you may just have to add memory. -
Client unable to connect to Oracle 10g on linux
I have installed Oracle 10g on an Intel box running RedHat AS 3.0. The database installation was succesful but I am unable to connect to it from the client on my laptop running Oracle 10g client and Winfdows XP Pro. The server ip is 192.168.1.10 and I can ping it from the client:
C:\>ping attila.n3kje.net
Pinging attila.n3kje.net [192.168.1.10] with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Here is some info about the 2 environments:
[oracle@attila bin]$ uname -a
Linux attila.n3kje.net 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux
Server hosts file
======================================================
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 attila.n3kje.net attila localhost.localdomain localhost
hostname output
======================================================
[root@attila root]# hostname
attila.n3kje.net
ifconfig output
=======================================================
[root@attila root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:0C:C8
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13772171 errors:0 dropped:0 overruns:0 frame:0
TX packets:13748842 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1269613311 (1210.7 Mb) TX bytes:4065314800 (3876.9 Mb)
Interrupt:16 Base address:0xecc0 Memory:fe100000-fe120000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5513840 errors:0 dropped:0 overruns:0 frame:0
TX packets:5513840 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:865454291 (825.3 Mb) TX bytes:865454291 (825.3 Mb)
Client TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLE10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
PRDSRR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dev10g)
Client SQLNET.ORA
======================================================
# sqlnet.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
Server TNSNAMES.ORA
======================================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Server LISTENER.ORA
======================================================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
Results from the TNSPING command issued at the client
=================================================================
C:\>tnsping prdsrr
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:11
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dev10g)))
TNS-12541: TNS:no listener
C:\>tnsping oracle10g
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
004 09:26:38
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVI
CE_NAME = DEV10G)))
TNS-12541: TNS:no listener
C:\>
Trying to connect to the database from the server
==================================================
[oracle@attila bin]$ echo $ORACLE_SID
DEV10G
[oracle@attila bin]$ ./sqlplus system
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:22:29 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
[oracle@attila bin]$ ./sqlplus system@dev10g
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:23:09 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
tnsping issued at the server
======================================================
[oracle@attila bin]$ tnsping dev10g
TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 02-APR-2004 12:3
:44
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
What am I doing wrong?
Thanks
RenatoOk, I was able to succesfully connect to the database from the client. I made the following changes to the sqlnet.ora, tnsnames and listener. Here are the changes I made:
sqlnet.ora
==============================
# SQLNET.ORA Network Configuration File: /u01/app/oracle/product/9.2.0.1.0/netwo
rk/admin/sqlnet.ora
# Generated by Oracle configuration tools.
# NAMES.DIRECTORY_PATH= (EZCONNECT)
NAMES.DIRECTORY_PATH= (EXCONNECT, TNSNAMES, ONAMES, HOSTNAME)
listener.ora
==============================
# listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = DEV10G)
(ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
(SID_NAME = DEV10G)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
tnsnames.ora
===========================================
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
etwork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DEV10G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DEV10G)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Here is the new problem!
I start the dbconsole using the folowing command:
[oracle@attila bin]$ ./emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
http://attila.n3kje.net:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ........................
... started.
Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/attila.n3kje
.net_DEV10G/sysman/log
When I try and access it from the client I get the following error message:
"The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation."
What am I doing wrong this time?
Your help would be greatly appreciated
Thanks
Renato -
Unable to Start Listner for 10g R2 after windows xp pro restart.
Database worked just fine until a system reboot after installing the Apache server and Apex 2.2 The service start and I'm able to connect to the database SQL*PLUS without specifying the host string
SQL*PLUS
User Name: xxxxx
Password : xxxxx
Host String: <Blank>
connect without any problem.
Once I include the orcl name I can't connect and get the following error message
TNS-12541: TNS: no listner
LSNRCTL> start
Starting tnslsnr: please wait...
Service OracleOraDb10g_home1TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL>
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
#Oracle Database 10g Enterprise Edition\
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
listner.ora as following
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\Db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
I have another home for the Apache Server.
Everything was just fine, Oracle, Apache, EM, and Apex.
I checked the path for windows it looks good, checked the registery looks good, two homes listed.
When I check the status for the LISTNER is win Service it show start
OracleOraDb10g_home1TNSListener
I have another listner OracleOraDb10g_home1TNSListenerLISTNER1 I don't know why it's there?
TNSPING ORCL WORKS
WITH THE SAME EORROR MESSAGE
PING WORK FOR THE HOST IP NO PROBLEM.
Please see the following to Analyze the Problem:
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl status orcl
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:24
:50
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(C
ONNECT_DATA=(SERVICE_NAME=orcl)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:25
:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:25
:41
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Service OracleOraDb10g_home1TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
C:\oracle\product\10.2.0\db_1\BIN>path
PATH=C:\oracle\product\10.2.0\Db_1\bin;C:\oracle\product\10.2.0\Db_1\jre\1.4.2\b
in\client;C:\oracle\product\10.2.0\Db\jre\1.4.2\bin;;C:\oracle\product\10.2.0\db
\bin;C:\oracle\product\10.2.0\db\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Fil
es\Common Files\Roxio Shared\DLLShared;D:\Program Files\Microsoft Visual Studio\
Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D
:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft
Visual Studio\VC98\bin
C:\oracle\product\10.2.0\db_1\BIN>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 16 21:26:44 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show user
USER is "SYSTEM"
SQL> select name from v$database;
NAME
ORCL
SQL>
IN THE PAST I WAS ABLE TO CONNECT TO ALL BUT NOW,
I'M UNABLE TO LOGIN TO APEX NEITHER EM DUE TO ORCL LISTNER.
Like I said before I have no problem connecting to SQL*PLS, BUT I can't Login to orcl APEX nor EM.
Any suggestion or solutions is really apreciated. I'm looking forward to hear from you ACES.......
Thank You Very Much,
MhndHi
Check this out.
TNS-12560: "protocol adapter error"
Cause: A generic protocol adapter error occurred.
Action: Check addresses used for proper protocol specification.
For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete.
TNS-00530: "protocol adapter error"
Cause: A generic protocol adapter error occurred.
Action: For further details, turn on tracing and reexecute the operation.
Proposed Solution on metalink.
Solution Description:
=====================
Delete the protocols in your "listener.ora" file that you do not use.
Edit the "listener.ora" file and look at the protocol section. Make sure that
only the protocols that you use on your system are there (i.e., TCP, IPC, ...)
and that there are no entries listed for SPX or NMP (named pipes).
Regards
Adnan
Since you are only using TCP I don't think that is the issue. You should turn on tracing to get more details.
Message was edited by: Adnan
amashhadi -
Unable to Start Listner for 10g R2 after windows xp pro restart. Please!
Database worked just fine until a system reboot after installing the Apache server and Apex 2.2 The service start and I'm able to connect to the database SQL*PLUS without specifying the host string
SQL*PLUS
User Name: xxxxx
Password : xxxxx
Host String: <Blank>
connect without any problem.
Once I include the orcl name I can't connect and get the following error message
TNS-12541: TNS: no listner
LSNRCTL> start
Starting tnslsnr: please wait...
Service OracleOraDb10g_home1TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
LSNRCTL>
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
#Oracle Database 10g Enterprise Edition\
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
listner.ora as following
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\Db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\Db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
I have another home for the Apache Server.
Everything was just fine, Oracle, Apache, EM, and Apex.
I checked the path for windows it looks good, checked the registery looks good, two homes listed.
When I check the status for the LISTNER is win Service it show start
OracleOraDb10g_home1TNSListener
I have another listner OracleOraDb10g_home1TNSListenerLISTNER1 I don't know why it's there?
TNSPING ORCL WORKS
WITH THE SAME EORROR MESSAGE
PING WORK FOR THE HOST IP NO PROBLEM.
Please see the following to Analyze the Problem:
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl status orcl
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:24
:50
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(C
ONNECT_DATA=(SERVICE_NAME=orcl)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:25
:23
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
C:\oracle\product\10.2.0\db_1\BIN>lsnrctl start
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:25
:41
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting tnslsnr: please wait...
Service OracleOraDb10g_home1TNSListener already running.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
C:\oracle\product\10.2.0\db_1\BIN>path
PATH=C:\oracle\product\10.2.0\Db_1\bin;C:\oracle\product\10.2.0\Db_1\jre\1.4.2\b
in\client;C:\oracle\product\10.2.0\Db\jre\1.4.2\bin;;C:\oracle\product\10.2.0\db
\bin;C:\oracle\product\10.2.0\db\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Fil
es\Common Files\Roxio Shared\DLLShared;D:\Program Files\Microsoft Visual Studio\
Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D
:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft
Visual Studio\VC98\bin
C:\oracle\product\10.2.0\db_1\BIN>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 16 21:26:44 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: system
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show user
USER is "SYSTEM"
SQL> select name from v$database;
NAME
ORCL
SQL>
IN THE PAST I WAS ABLE TO CONNECT TO ALL BUT NOW,
I'M UNABLE TO LOGIN TO APEX NEITHER EM DUE TO ORCL LISTNER.
Like I said before I have no problem connecting to SQL*PLS, BUT I can't Login to orcl APEX nor EM.
Any suggestion or solutions is really apreciated. I'm looking forward to hear from you ACES.......
Thank You Very Much,
MhndHi
Check this out.
TNS-12560: "protocol adapter error"
Cause: A generic protocol adapter error occurred.
Action: Check addresses used for proper protocol specification.
For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete.
TNS-00530: "protocol adapter error"
Cause: A generic protocol adapter error occurred.
Action: For further details, turn on tracing and reexecute the operation.
Proposed Solution on metalink.
Solution Description:
=====================
Delete the protocols in your "listener.ora" file that you do not use.
Edit the "listener.ora" file and look at the protocol section. Make sure that
only the protocols that you use on your system are there (i.e., TCP, IPC, ...)
and that there are no entries listed for SPX or NMP (named pipes).
Regards
Adnan
Since you are only using TCP I don't think that is the issue. You should turn on tracing to get more details.
Message was edited by: Adnan
amashhadi -
Unable to connect to the 10g Express edition database in oracle forms
hi,
i have installed Oracle Database 10g Express Edition and oracle 10g developer suite. i need to work on oracle forms by connecting to the database of the 10g express edition but unable to do so as i am not aware of the database name or SID.
can any one tell me how to connect to the above database in oracle forms by specifying username, password and database name ?
Thanks,
Vidduspecifying username, passwordSet up your database user, easy way is to grant them the resource role (*strongly* suggest not using sys nor system for user data) here's one command line sqlplus method:
$ sqlplus /nolog
SQL> connect system -- or connect /as sysdba; if system credential is lost/forgotten
SQL> create user username identified by userpasswd default tablespace <tablespace> temporary tablespace <temp tablespace>;
SQL> grant connect, resource to username;
SQL> exit;
> the database name or SID
Its XE "out of the box", with a servicename is XE as well, using the default port 1521 on the host. The install should also set up a tns alias named, oddly enough, XE, with those connection details from the install. It comes with a USERS data tablespace, and TEMP temporary tablespace.
So after the user is created, i.e. with sqlplus:
SQL> connect username/passwd
or if your session is not on the host where the database is running, with a tns alias pointing to the XE install host in place:
SQL> connect username/passwd@xe
From a different client machine you will need a tnsnames.ora entry defining an alias, it could be any name you would prefer to use as long as the entry points the the database host and port with the correct ORACLE_SID or the database service name.
And don't forget to glance over the documentation, it is thorough and helpful as well http://www.oracle.com/pls/xe102/homepage -
hi all ,,,
i have test server which is unix5.10 the databaseinstall on it is 10g
i have rman in my system is 8g
sga_max_size=1g
sga_target=1g
i have dmp in production database is 11g i want to imported in test server so as document say increase the sga to improve the performance
of import as i saied i have 8g ram i increase the sga max=4g i restart the database and then i increase the target sga to 4g but the command is not completed
take more than 10miniutes so i exit from the session and i restart the server
reboot
now i use this but see
billdb00:oraccbs:/ccbs/appl/oracle$ ssh [email protected]
ssh: connect to host 10.1.151.19 port 22: Connection refused
can you please help me how to start the server ???is the server is turn off???can i start it in safe more and decrase the sga and then start in normal way????
please advice861100 wrote:
hi all ,,,
i have test server which is unix5.10 the databaseinstall on it is 10g
i have rman in my system is 8g
sga_max_size=1g
sga_target=1g
i have dmp in production database is 11g i want to imported in test server so as document say increase the sga to improve the performance
of import as i saied i have 8g ram i increase the sga max=4g i restart the database and then i increase the target sga to 4g but the command is not completed
take more than 10miniutes so i exit from the session and i restart the server
reboot
now i use this but see
billdb00:oraccbs:/ccbs/appl/oracle$ ssh [email protected]
ssh: connect to host 10.1.151.19 port 22: Connection refused
can you please help me how to start the server ???is the server is turn off???can i start it in safe more and decrase the sga and then start in normal way????
I am completely lost , sorry. We can't tell you that the machine (server?) is off or not . Its you who have to tell us. There is no safe mode with oracle db and if it is your machine you are talking about, we are having a completely off-topic discussion. Please check and post what's the current, exact situation of your db . And second, don't bump up the thread. Its not Oracle Support .
Aman.... -
Unable to open forms in 10g AS, windows 2003
Hi
I successfully install oracle 10g AS R2 on windows 2003 server,but unable to opening default forms(text.fmx) from OracleAS form services also getting an error " Page cannot be displayed".
Initially when I run the test forms it installed jinitiator and closed the browser automatically, and the same repeating every time/page cannot be displayed.
I tried by changing the default forms path also, but no use :-(
Any suggestions?
I really appreciate your help
Chaituths 4 ur replay
I tried with local admin also but no use
http://yyy.yyy.yyy:8080/forms/frmservlet?form=test.fmx&userid=&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue
that's the default form like to check forms are working or not after installation of oracle 10g AS
Chaitu -
Unable to continue Oracle Database 10g R2 installation on IBM AIX 5.3L
I am facing some difficulties in installing the above. My environment is as follows:
Server is a IBM system P, OS is AIX 5.3L and oracle version is Oracle Database 10g R2 (10.2).
I encounter my problem when asked to changed/edit the shell script when changing oracle users. I can't find the % vi .login file. And I'm not sure how to proceed.
Please advice as to what needs to be done.
Thank youi'm using bash shell.If you are using a bash shell then .bash_profile is used by default.
It is located in user's home, if it does not exist then simply create it.
can this file be edited after installation?Yes. And also you can set the enviroment temporary (just for current session)
I just can't find the vi .login file."vi" is command (text editor very common in Unix and Unix like world)
.login does not need to exist (see .bash_profile as above). Note .login is ignored by bash shell. -
Unable to load taghandler on 10g(10.1.2.)
Hello forum,
I have one jstl tag to generate input fields, I have it in web-inf/tags and tld in web-inf/tld.
On my develper machine I use tomcat 5.0.28 all working fine. I moved it to ora server, and i will get this error
Unable to load taghandler class: http://cz.envinet/jsp/validAbleInput
for sure that tld file is in claaspath I copy it to web-inf/lib.
I use jakarta-taglibs-standard-1.0.6 standrat.jar and jstl.jar.
My tld file
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>valid able input</description>
<display-name>validAbleInpu</display-name>
<tlib-version>1.1</tlib-version>
<short-name>validAbleInput</short-name>
<uri>http://cz.envinet/jsp/validAbleInput</uri>
<tag-file>
<name>validAbleInput</name>
<path>/WEB-INF/tags/validAbleInput.tag</path>
</tag-file>
Im new in jstl so I tried find some good information about it, but still dont get a lot of info to solve why it doesnt work on ora server.
Anyone can help?
Petr, CZ
Im reading JSP documet for 10.1.2 server I did some changes in tld file and add taglib to web.xml
<taglib>
<taglib-uri>/validAbleInput</taglib-uri>
<taglib-location>/WEB-INF/tags/validAbleInput.tag</taglib-location>
</taglib>
I cannot find that how to use tag file, all use class file,
anyon eknow if 10.1.2 server can use tag jsp file?
and maybe is solution that I cannot use tag in validAbleInput.tag writing in jsp but I need use java class file tag.
Edited by: ppo on 9.4.2010 8:46
Edited by: ppo on 9.4.2010 8:54I rewrite it to class tag I succesfuly loaded and show to the page, but I canot assignr parametrs to the tag i can use only
example tag atibute name
this work
... name="Jan".... ----? it will show -----> jan
...name="${bean.getName()}" ----> show ----> ${bean.getName()}
...name="<%=bean.getName()%>" ----> show ----> <%=bean.getName()%>
anybody can help to understand
My tld
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<!-- a tab library descriptor -->
<taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor">
<description>valid able input</description>
<display-name>validAbleInpu</display-name>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>example</short-name>
<short-name>validAbleInput</short-name>
<uri>/validAbleInput</uri>
<tag>
<name>validAbleInput</name>
<tag-class>cz.envinet.jsp.tags.ValidAbleInputTag</tag-class>
<attribute>
<name>name</name>
<required>true</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>value</name>
<required>true</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>isError</name>
<required>true</required>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
<name>errorMsg</name>
<required>true</required>
<type>java.lang.String</type>
</attribute>
<attribute>
<name>isDateInput</name>
<required>false</required>
<type>java.lang.Boolean</type>
</attribute>
<attribute>
<name>reqValue</name>
<required>true</required>
<type>java.lang.String</type>
</attribute>
</tag>
</taglib>
web.xml definition
<taglib>
<taglib-uri>/validAbleInput</taglib-uri>
<taglib-location>/WEB-INF/tlds/validAbleInput.tld</taglib-location>
</taglib>
Petr, CZ
Edited by: ppo on 9.4.2010 11:16 -
Unable to install Oracle Lite 10g on Windows 7 64-bit
I've tried installing Oracle Lite 10g on my Windows 7 64-bit computer but I get a message saying "JDK is not installed on machine". I even have Java installed on my computer too.
Any ideas what could be causing the issue?
Thanks
GarethOracle lite 10g is not supported on Windows 7. The core issue is you are running on an unsupported platform.
You have may have to go in the docs and figure out what JDKs were supported, i think 1.4 and 1.5. and try
installing one of those and maybe you can get uninstall to work. This is just a guess though.
thanks
mike -
What is the SMALLEST SGA for 10g you can have on Windows OS?
Hi all,
We are setting up a server that will be used for some DBA classes. Each student will get their own database instance to play with. For this reason, we want to try and create the SGA's with the SMALLEST possible amount of memory, so that we can put as many instances as possible on the server.
So far, the smallest we've been able to get them is down to about 68 Megs. If the SGA_TARGET is set to anything smaller than that, we get the "ORA-04030 out of process memory" error.
I've often read about tricks in Windows to make your SGA bigger, does anyone know how to do the opposite?If you eliminate the Java, Large and Streams pools, you should be able to go a bit lower. However, tha means you can not use those features.
Remember that the smallest size is dependant on the definition of granule - in your case it'll be multiples of 4M.
It's been a while since I played with this area, but it seem to me the smallest I managed was around 56M. I also remember having discussion with someone who achieved around the 56-64M size by unloading Java ... all he needed was pure SQL for OiD. -
In 2012 I used bootcamp to get windows 7 on my macbook pro 8.1, running Lion. I was able to resize the partition at any time, over the last year windows 7 has become less needed and frankly it's a sucky OS anyway even compared to XP so I'm happy to reduce my bootcamp partition. Now the problem is whilst I can increase it I am now unable to reduce the size! The partition cannot be modified according to the disk utility, I still have over 220gb left on my main partition even so I rather have more, I could just erase bootcamp altogether if all else fails but I do have some older PC games that would go to waste if I do. Please help!
(I was able to resize it before last year)try camp tune, because tweaking partition sizes manually (even though you did it before) can toast one or both OSs on your machine
-
Query runs fine in 9i but results to ORA-01652 unable to extend temp in 10g
Hi,
We are having issues in running a SQL query in 10g. In 9i, it runs fine with no problems but when run in 10g, It takes forever and the temp tablespace grows very large upto 60GB until we get ORA-01652 error due to lack of disk space. This does not occur in 9i, where query runs in only 20 mins and does not take up temp that big. 9i version is 9.2.0.8. 10g is 10.2.0.3Heres the SQL query:
SELECT
J2.EMPLID,
TO_CHAR(J2.EFFDT,'YYYY-MM-DD'),
J2.EFFSEQ,
J2."ACTION",
J2.ACTION_REASON,
TO_CHAR(J2.GRADE_ENTRY_DT,'YYYY-MM-DD'),
J2.COMPRATE,
J2.CHANGE_AMT,
J2.COMP_FREQUENCY,
J2.STD_HOURS,
J2.JOBCODE,
J2.GRADE,
J2.PAYGROUP,
PN2.NATIONAL_ID,
TO_CHAR(PC.CHECK_DT,'YYYY-MM-DD'),
SUM(PO.OTH_EARNS),
To_CHAR(SUM(PO.OTH_EARNS)),
PO.ERNCD,
'3',
TO_CHAR(PC.PAY_END_DT,'YYYY-MM-DD'),
PC.PAYCHECK_NBR
FROM PS_JOB J2,
PS_PERS_NID PN2,
PS_PAY_OTH_EARNS PO,
PS_PAY_CHECK PC
WHERE J2.EMPL_RCD = 0
AND PN2.EMPLID = J2.EMPLID
AND PN2.COUNTRY = 'USA'
AND PN2.NATIONAL_ID_TYPE = 'PR'
AND J2.COMPANY <> '900'
AND J2.EFFDT <= SYSDATE
AND PC.EMPLID = J2.EMPLID
AND PC.COMPANY = PO.COMPANY
AND PC.PAYGROUP = PO.PAYGROUP
AND PC.PAY_END_DT = PO.PAY_END_DT
AND PC.OFF_CYCLE = PO.OFF_CYCLE
AND PC.PAGE_NUM = PO.PAGE_NUM
AND PC.LINE_NUM = PO.LINE_NUM
AND PC.SEPCHK = PO.SEPCHK
AND EXISTS (SELECT ERNCD
FROM PS_P1_CMP_ERNCD P1_CMP
WHERE P1_CMP.ERNCD = PO.ERNCD AND EFF_STATUS = 'A')
GROUP BY J2.EMPLID,
J2.EFFDT,
J2.EFFSEQ,
J2.ACTION,
J2.ACTION_REASON,
J2.GRADE_ENTRY_DT,
J2.COMPRATE,
J2.CHANGE_AMT,
J2.COMP_FREQUENCY,
J2.STD_HOURS,
J2.JOBCODE,
J2.GRADE,
J2.PAYGROUP,
PN2.NATIONAL_ID,
PC.CHECK_DT,
PO.ERNCD,
'3',
PC.PAY_END_DT,
PC.PAYCHECK_NBR -
Unable to download Oracle Database 10g Release 1 (10.1.0.2)
Got following message when I tried to download
Oracle Database 10g Release 1 (10.1.0.2)
Server Error
The following error occurred:
[code=SERVER_RESPONSE_RESET] The server response could not be read because of an error. Contact your system administrator.
Is any solution availableSeems to be working fine. You can try any one of these links:
[url http://www.oracle.com/technology/software/htdocs/xe_lic_prod.html?http://download-west.oracle.com/otn/nt/oracle10g/xe/10201/OracleXE.exe]OracleXE.exe
[url http://www.oracle.com/technology/software/htdocs/xe_lic_prod.html?http://download-east.oracle.com/otn/nt/oracle10g/xe/10201/OracleXE.exe]OracleXE.exe
[url http://www.oracle.com/technology/software/htdocs/xe_lic_prod.html?http://download-uk.oracle.com/otn/nt/oracle10g/xe/10201/OracleXE.exe]OracleXE.exe
Maybe you are looking for
-
Smart Recorder not working anym
I don't know what happened but Smart Recorder seems to have stopped working. It doesn't pick up on the input source. I have the Peak Meter box checked and there is no activity on there. I've tried different input sources. Wave and What U Hear but non
-
Can EPUB and ANNOT files in MY Documents be deleted automatically
I have noticed that ADE leaves EPUB and ANNOT files behind in My Documents for books I have deleted from my Nook reader via ADE. Is this common, or do I have to do something to have them automatically deleted? Can I just go in and delete them amnua
-
Record Real Time output from a Audio Instrument to Audio Track
Hey, Is there anyway to record in real-time the output of an Audio Instr? I use a plugin that doesn't support automation, so I need to record the changes as they appear? Any other solution? D
-
Unable to download simple PID loop configuration.
We have Foundation Fieldbus demonstration setup with Yokogawa's Flow meter , Positioner and Valve. NI-FBUS configurator Ver 3.2 is used. We are trying to set up simple PID loop with AI & PID blocks of Flow meter & AO block of Positioner. We are unab
-
Are detailed specs available for the new S10-3t Tablet? In particular I'm trying to find out if it has an actual capacitance screen or some type of advanced resistance, but I'd also like more detailed information on the wireless capabilities. Thanks