ORA-27123 - Oracle 10g 10.1.0.3 on Redhat EL 4 AS Update 3
Hi.
During the installation of Oracle 10g on Redhat EL,
the Database Configuration Assistant, Creating and starting oracle instance, gave me an error:
ORA-27123 - unable to attachto shared memory segment
Configuration Info:
System:
RAM size 6 GB
SWAP size 6 GB
sysctl.conf
# oracle parameters
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
limits.conf
# oracle limits
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
Can somebody know what could create this error, and how solve it?
Thanks for help.
Nietzsche
I did a clean installation of RHEL4 from scratch, but still the solution you suggested did not work.
Other info:
During pre-requisite checking - oracle alerted me :
- it expected value for shmmax = 2147483648
- it expected package openmotif, it not found openmotif
(in the system exists openmotif21-2.1.33-11.RHEL4.4 and openmotif-2.2.3-9-RHEL4.1 )
I ignored the errors and continued, but i still get the same error:
"ORA-27123: unable to attach to shared memory segment"
Thanks for help.
Nietzsche
Similar Messages
-
Hi,
I installed the Oracle 10g in windows XP and I need to edit some parameters in the init.ora file.
When I searched for the init.ora file it is not available.
Please let me know whether in oracle 10g it is renamed as other file name or whether I need to edit the init.ora only in the enterprise manager which we connect through url as http://mydb:5055/em
Thanks and Regards,
A.Mohammed RafiRafi,
I am sure that the database is using spfile not the init.ora file.
The location of spfile is ORACLE_HOME/database directory.
However, you can easily modify the most of the parameters dynamically using the following command from sqlprompt.
alter system parameter = value scope = both;
when you say scope = both, parameters values are in the spfile and the values also reflect the new connections to the database.
If you wanna change in the spfile, then, you need to create pfile from spfile, since spfile can't directly modified, and change/add the parameters in the pfile(init.ora) and finally create spfile from pfile.
Jaffar
null -
Getting Error while installing oracle 10g 1.0.2.0 on Redhat - linux 64bit
I am installing oracle 10g on Redhat 64bit (VM ware). In the middle it gives some error oracle Net services cancelled. Please see the error message below and advise.
Configuration assistant "Oracle Net Configuration Assistant" was canceled.
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
Output generated from configuration assistant "Oracle Net Configuration Assistant":
Command = /u01/app/oracle/product/10.2.0/db_1/jdk/jre//bin/java -Duser.dir=/u01/app/oracle/product/10.2.0/db_1/network/jlib -classpath /u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/i18n.jar:/u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/rt.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/ewt3.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/ewtcompat-3_3_15.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/netcfg.jar:/u01/app/oracle/product/10.2.0/db_1/network/jlib/netcam.jar:/
u01/app/oracle/product/10.2.0/db_1/network/jlib/netca.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/help4.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/jewt4.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/oracle_ice.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/share.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/swingall-1_1_1.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/srvm.jar:/
u01/app/oracle/product/10.2.0/db_1/network/tools:/u01/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt9.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar:/
u01/app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar:/u01/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar oracle.net.ca.NetCA /orahome /u01/app/oracle/product/10.2.0/db_1 /orahnam OraDb10g_home1 /instype typical /inscomp client,
oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /
u01/app/oracle/product/10.2.0/db_1/network/install/netca_typ.rsp
Configuration assistant "Oracle Net Configuration Assistant" was canceled.
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.865231 wrote:
I am installing oracle 10g on Redhat 64bit (VM ware). In the middle it gives some error oracle Net services cancelled. Please see the error message below and advise.
Configuration assistant "Oracle Net Configuration Assistant" was canceled.
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
Output generated from configuration assistant "Oracle Net Configuration Assistant":
Command = /u01/app/oracle/product/10.2.0/db_1/jdk/jre//bin/java -Duser.dir=/u01/app/oracle/product/10.2.0/db_1/network/jlib -classpath /u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/i18n.jar:/u01/app/oracle/product/10.2.0/db_1/jdk/jre//lib/rt.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/ewt3.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/ewtcompat-3_3_15.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/netcfg.jar:/u01/app/oracle/product/10.2.0/db_1/network/jlib/netcam.jar:/
u01/app/oracle/product/10.2.0/db_1/network/jlib/netca.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/help4.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/jewt4.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/oracle_ice.jar:/
u01/app/oracle/product/10.2.0/db_1/jlib/share.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/swingall-1_1_1.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/srvm.jar:/
u01/app/oracle/product/10.2.0/db_1/network/tools:/u01/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt9.jar:/u01/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar:/
u01/app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar:/u01/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar oracle.net.ca.NetCA /orahome /u01/app/oracle/product/10.2.0/db_1 /orahnam OraDb10g_home1 /instype typical /inscomp client,
oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /
u01/app/oracle/product/10.2.0/db_1/network/install/netca_typ.rsp
Configuration assistant "Oracle Net Configuration Assistant" was canceled.
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.I thought the error message gave the advice already:
The "/u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled.
This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.Looks like you canceled the pop up to configure your tns files. No harm, your database created just fine, but probably didn't configure listener.ora, sqlnet.ora, and tnsnames.ora. Just run netca and finish the tns confiiguration. -
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 -
Move data from sql server v8 to oracle 10g
I just got urgent projects to migrate the data from MS SQL server 2000 to oracle 10g. The following are requirements:
Source data/table: MS sql server 2k (version 8) on MS 2000 machine.
Destination Data/table: oracle 10g (10.1.0.4) on Redhat version 3.
Total number of tables: < 10 tables and < 1000 rows each tables.
This is only one time data extraction. No periodically data extraction need.
Questions:
What connect method I should use? (odbc or jdbc)
What if I have image datatype?
Thanks in advance.Use the Oracle Migration Workbench.
http://www.oracle.com/technology/tech/migration/workbench/index.html
I think IMAGE will be migrated to BLOB by default.
Donal -
Hello,
Just a quick question,
I setup the audit for one oracle user on Oracle 10G :
AUDIT ALL BY myuser BY ACCESS;
AUDIT SELECT TABLE, UPDATE TABLE, INSERT TABLE, DELETE TABLE BY myuser BY ACCESS;
AUDIT EXECUTE PROCEDURE BY myuser BY ACCESS;
now, Where can I found the information about the audit? in which views?
Thanks all,;SQL> show parameter audit
NAME TYPE VALUE
audit_file_dest string /u01/app/oracle/admin/TEST/adump
audit_syslog_level string
audit_sys_operations boolean FALSE
audit_trail string NONE
SQL> -
ORA-03106 Error when connecting to Oracle 10g from Forms 6i
I have migrated my database from Oracle 8.0.5 to Oracle 10g, version 10.0.1.0.3 through import-export utility. During migration, one difference I made was to change the NLS_LANG to UTF8 from ANSI.
The NLS_LANG for client is AMERICAN_AMERICA.WE81S08859P1.
I am using HP ML370 Proliant Server and running Red Hat Enterprise Linux AS version 3 with Oracle 10g
My client-server application is based on Oracle Developer version 2.1. I am using forms 5.0 and reports 3.0 only.
The problem with me is that the client-server application is working against the upgraded database, but with greatly downgraded speed. The .fmb files cannot be compiled, however some of the .rdf files are compiled successfully, but remaining not.
My question is that is Developer 2000 (Forms 5.0.6 and Reports 3.0.5) compatable with Oracle 10 database, as my application is running very slow ?
I tried Forms 6i to remove this problem. I used Forms Developer 6i Recut version and successfully installed on Windows XP, however, when try to create connection using Net 8 Easy Utility, the connection does not establish with following error:
ORA-03106 : fatal two-task communication protocol error
The entry has been checked in tnsnames.ora and is found correct. I also tried connecting through SQL, but the application closes.
The patch set 17 for installation on Windows XP has also been applied, but still the same error persits.
The same installation has also been checked on Windows 2000, but the same problem persists.
I would be thankful if any one provide me solution for the same. Where I am mistaken and what do I do to get out of this problem.
Regards
Naveen.Naveen,
Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
Frank -
Repeated ORA-12547 Messages after installing Oracle 10g
Hi,
I installed Oracle 10g on a Redhat ES 3 box, and the install went okay, but when I try and interact with the server I get the message:
ORA-12547: TNS: lost contact
For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it. I have been told that this previous partial installation may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Is there any configuration changes I can make to resolve it? Also, what does this message actually mean?
I am new to Oracle, so thanks for any help with this problem.
Colm.My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
[root@awyr ~]# cat /proc/sys/kernel/shmmax
2147483648
[root@awyr ~]# cat /proc/sys/kernel/shmmni
4096
[root@awyr ~]# cat /proc/sys/kernel/shmall
2097152
[root@awyr ~]# ipcs -lm |grep "min seg size"
min seg size (bytes) = 1
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
250
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
32000
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
100
[root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
128
[root@awyr ~]# cat /proc/sys/fs/file-max
65536
[root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
1024 65000
[oracle@awyr Desktop]$ ulimit -n
63536
[oracle@awyr Desktop]$ ulimit -u
4091
[oracle@awyr Desktop]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 63536
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4091
virtual memory (kbytes, -v) unlimited
from sysctl -a
my fs.file-max = 65536
in my limits.conf I added:
oracle soft nofile 4096
oracle hard nofile 63536
in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
files I added:
session required pam_limits.so
and verified that it exists
in my limits.conf I added
oracle soft nproc 2047
oracle hard nproc 16384
my /etc/oratab has:
orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
I tried to change the N at the end to a Y but to no avail
my /etc/oraInst.loc has:
inventory_loc=/usr/local/oracle/app/oracle/oraInventory
inst_group=oinstall
Thanks again for your atention
Richard -
ORA-01722: Invalid number - error only in Oracle 10g?
While trying to insert a numeric value into a decimal column, I get this error. Hitherto, my update statements used to look fine.
Can anyone let me know if this enforcement is specific to Oracla 10g? I am running :
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Thanks in advance for your help!
NiranjanWell, you've a blank space which isn't a number, that's why you have an error.
Please see the following example to have a default value :
SQL> create table tutu (id number, text varchar2(10));
Table created.
SQL> alter table tutu modify id default 0;
Table altered.
SQL> insert into tutu values (' ', 'NoWork');
insert into tutu values (' ', 'NoWork')
ERROR at line 1:
ORA-01722: invalid number
SQL> insert into tutu values (null,'NullValue');
1 row created.
SQL> insert into tutu (text) values ('Default');
1 row created.
SQL> insert into tutu values (1,'NonDefault');
1 row created.
SQL> select * from tutu;
ID TEXT
NullValue
0 Default
1 NonDefault
SQL> Nicolas.
Message was edited by:
N. Gasparotto -
ORA-01722: invalid number error coming in Oracle 10g.
Hi,
We are getting the error "ORA-01722: invalid number" while opening a cursor using CURSOR FOR LOOP.
This error has started coming only after we have migrated to Oracle 10g from Oracle 9i. Earlier the same code used to work properly. And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works.
Does anybody know about any such bug in Oracle 10g. Our cursor is a parametrized cursor accepting a VARCHAR2 parameter and the value we are passing to it is also character.
Our database is Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production and is running on UNIX server.And also on Oracle 10g, its not happening every time. Sometimes it gives error while sometimes it works. This is typically due to
a) environment settings that differ from session to session
b) or more often, data
The actual error means that Oracle expects a number and is unable to obtain a number from the input (data or SQL or bind variables) supplied. I agree with William that it looks a lot like an implicit TO_NUMBER() conversion failing.
Why not add a debug exception handler to the code? When that exception occurs, dump the PL/SQL call stack and values of all variables and parameters to a debug/logging table (using an autonomous transaction). -
ORA-12154 while installing Oracle 10g on windows 7
Hi,
I am trying to install Oracle 10g express edition on my machine (core 2 duo 2.93) running on Windows 7.
The installation moves on perfectly for the 1st step and while running the 2nd step (Net configuration Assistant), it gives the ORA-12154 error.
The contents of my configuration files at this point are as follows:
Listener.ora
=============
SID_LIST_ORCL =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORCL)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
=============
And that of tnsnames.ora is:
=============
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
=============
After some googling around, I have found and installed the Microsoft Loopback adapter too (since my LAN is DHCP enabled) and also tried to turn on the firewall on my machine to check if it is not a problem with the port 1521 being blocked by the firewall.
However, even after all that I still get the error "ORA-12154: TNS:could not resolve the connect identifier specified." while running the Net configuration Assistant and/or running SQL Plus to connect to the SID - ORCL.
I can only see one service running in my services by the name : OracleOraDb10g_home1TNSListenerORCL
Any suggestions or advice on the error would be much welcome.
Is it anything related to Windows 7 ? Because I have managed to install using the same installer on another machine which runs Windows XP and everything seems fine there.
Thanking you all in anticipation.
Shreyasuser12753151 wrote:
Hmmm.. but then I'd have expected some installation error. I have read around that people have managed to install oracle on windows 7.
The error displayed seems to be indicating that there is some configuration or permissions issue.Check that the user has permission to write in the ORACLE_HOME\network\admin - UAC might be blocking that.
Install with software only, and run netca & dbca separately to create the database after the s/w install. (That's the way it is done in production anyway, so get used to it.)
But yes - you still may have problems. Those who did fake it out on Windows 7 usually understand what to do. If you are smart enough to actually do it, my hat is off to you. -
Ora-00604 while installing Oracle 10g on Windows XP SP2
I was installing Oracle 10g on Windows XP but the dbca was failling. So I tried to create a database manually.
But every time I launch this:
"SQL> startup nomount pfile="C:\oracle\product\10.2.0\admin\XP10G\scripts\initXP10G.ora";"
I always had:
ORA-00604: error occurred at recursive SQL level 1
ORA-02248: invalid option for ALTER SESSION
I tried to change some memory value in the init*.ora without more success.
So if anyone has been had such issue; he would be an help for me.
Thansks
MUGANGAinitXP10G.ora is a 3 Kbytes file created by OEM and updated by Dos edit program. Here bellow is the contain:
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# File Configuration
control_files=("C:\oracle\product\10.2.0\oradata\XP10G\control01.ctl", "C:\oracle\product\10.2.0\oradata\XP10G\control02.ctl", "C:\oracle\product\10.2.0\oradata\XP10G\control03.ctl")
db_recovery_file_dest=C:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Cursors and Library Cache
open_cursors=150
processes=100
# Diagnostics and Statistics
background_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\bdump
core_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\cdump
user_dump_dest=C:\oracle\product\10.2.0\admin\XP10G\udump
# Miscellaneous
compatible=10.2.0.1.0
# Job Queues
job_queue_processes=10
# Database Identification
db_domain=""
db_name=XP10G
# SGA Memory
sga_target=177209344
# Processes and Sessions
processes=150
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=XP10GXDB)"
# Security and Auditing
audit_file_dest=C:\oracle\product\10.2.0\admin\XP10G\adump
remote_login_passwordfile=EXCLUSIVE
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=58720256
shared_pool_size=83886080
nls_territory='SWITZERLAND'
nls_language='FRENCH' -
Cretaion of UTL.File in Oracle 10G and directory entry in Ora.ini file
Hi,
Kindly advise me if:
(!) we can create a directory and log file in this directory on some other server instead of creating it in the file system of the server where the Oracle 10G database is residing?
Created directory in Oracle using create or replace directory command.
My package will be creating a log file using UTL.File in the above directory.
I want to create this directory on some other server to save my log file/s. Is this possible?
(2) Also, let me know in Oracle 10G, do we need to add the directory entry (mention above in #1) in the Ora.ini file on the Oracle 10G server?Hi,
1) utl_dir are different from directory object
2) you cannot create directory on remote server and there is no need to write directory entry on oracle init file (not ini..)
Acr -
ORA-12157 when installing Oracle 10g on Fedora 5?
Hi, Im installing Oracle 10g on Fedora 5, I did it once, but when I tried to set it up again I
got this error on the last part of the install...
ORA-12157: TNS: internal network communication error
Anybody know what might cause this?
I think I have installed all required RPMs and set environment variables, kernel parameters,
created oracle users and groups as needed, but still get the above error. I searched the error and some claim it is a problem using newer glibc 2.4.4, so I tried installing on Fedora 4 and had the same error even with glibc 2.3???
Thanks so much,
JonOracle Database 10g Release 2 (10.2.0.1) Installation On Fedora Core 5 (FC5 X86) Step by Step
This is a Server Installation with a minimum of 2G swap, secure Linux disabled and the following package groups installed:
Editors
Graphical Internet
Administration Tools
Base
X Window System
System Tools
Server Configuration Tools
GNOME Desktop Environment
Development Libraries
Development Tools
Legacy Development Support
Legacy Server Support
Alternative installations may require more packages to be loaded, in addition to the ones listed below.
Download Software
Unpack Files
Hosts File
Set Kernel Parameters
Setup
Installation
Post Installation
Download Software
Download the following software:
Oracle Database 10g Release 2 (10.2.0.1) Software
openmotif21-2.1.30-14.i386.rpm
Unpack Files
Unzip the files:
unzip 10201_database_linux32.zipYou should now have a single directory containing installation files. Depending on the age of the download this may either be named "db/Disk1" or "database".
Hosts File
The /etc/hosts file must contain a fully qualified name for the server:
<IP-address> <fully-qualified-machine-name> <machine-name>Set Kernel Parameters
Add the following lines to the /etc/sysctl.conf file:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144Run the following command to change the current kernel parameters:
/sbin/sysctl -pAdd the following lines to the /etc/security/limits.conf file:
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536Add the following line to the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.soDisable secure linux by editing the /etc/selinux/config file, making sure the SELINUX flag is set as follows:
SELINUX=disabledAlternatively, this alteration can be done using the GUI tool (Desktop > System Settings > Security Level). Click on the SELinux tab and disable the feature.
Setup
Install the following packages:
# From Fedora Core 5 DVD
cd /media/dvd/Fedora/RPMS
rpm -Uvh setarch-*
rpm -Uvh --force tcl-*
rpm -Uvh libXp-*
rpm -Uvh openmotif-2*
rpm -Uvh compat-db-*
rpm -Uvh compat-libstdc++-33*
rpm -Uvh compat-libf2c-32-*
rpm -Uvh compat-gcc-32-*
rpm -Uvh libaio-*
rpm -Uvh compat-gcc-32-c++-*
rpm -Uvh compat-libstdc++-296*
rpm -Uvh compat-libgcc-296*
# From download
rpm -Uvh openmotif21-2.1.30-14.i386.rpmCreate the new groups and users:
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracleCreate the directories in which the Oracle software will be installed:
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01Login as root and issue the following command:
xhost +<machine-name>Edit the /etc/redhat-release file replacing the current release information (Fedora Core release 5 (Bordeaux)) with the following:
redhat-4Login as the oracle user and add the following lines at the end of the .bash_profile file:
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=TSH1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fiInstallation
Log into the oracle user. If you are using X emulation then set the DISPLAY environmental variable:
DISPLAY=<machine-name>:0.0; export DISPLAYStart the Oracle Universal Installer (OUI) by issuing the following command in the database directory:
./runInstallerEnter the appropriate ORACLE_HOME and name then continue with the installation.
During the installation, before the linking phase, edit the contents of the "$ORACLE_HOME/bin/gennttab" file, amending the following entries:
# Change this...
LIB=`$ECHO ${TtoLIB} | $SED 's/ /\\
/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
INI=`$ECHO ${TtoINI} | $SED 's/ /\\
/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
BAS=`$ECHO ${TtoBAS} | $SED 's/ /\\
/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
# To this...
LIB=`$ECHO ${TtoLIB} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
INI=`$ECHO ${TtoINI} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`
BAS=`$ECHO ${TtoBAS} | $SED 's/ /\n/g' | $GREP "^${T}:" | $AWK -F: '{print $2}'`If you don't do this the ntcontab will hang indefinitely during the linking phase.
Post Installation
Edit the /etc/redhat-release file restoring the original release information:
Fedora Core release 5 (Bordeaux)Finally edit the /etc/oratab file setting the restart flag for each instance to 'Y':
TSH1:/u01/app/oracle/product/10.2.0/db_1:Y
Ref.: http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnFedora5.php -
ORA-22275 writing BLOB using Oracle 10g
Am trying to INSERT a record including a BLOB. Using Visual C++ 6.0, Oracle 10g, and Oracle ODBC Driver.
Setup calls to SQLAllocStmt, SQLBindParameter (for the BLOB, only), and SQL_LEN_DATA_AT_EXEC all are ok as far as can be told. (Return code is zero.)
After setup calls, call to SQLExecDirect returns -1 (error with info) and the info is error ORA-22275 (invalid LOB locator specified). (Was expecting 99 (SQL_NEED_DATA) to start feeding LOB data.)
This same code ran under Oracle 9i, but fails under 10g. Did not even rebuild the code.
Does anyone have any ideas?
Thanks in advanceThis was resolved in the latest 10g ODBC driver (10.1.0.3.1)
Jon
Maybe you are looking for
-
How can we transfer the accruals posted from one rebate recipient to another in SAP.
we have like 20 invoices posted in SAP for one rebate recipient. but now the salesman has changed the territory and is replaced with another. starting May1st we need to pay the accruals to the new salesman instead of old salesman. Please advice. Rega
-
Mile stone billing with Down payment clearing
Hi, Urgent help needed. I need to set up mile stone billing plan at item level with down payment getting automatically offset with Invoice ie, I have 10% down payment (FAZ). And mile stone invoicing of 40% and 60% each. I have raised down payment req
-
In SXI_monitor unable to see receiver
Hello Friends, Regarding the Enhanced Receiver determination. I am working on the below blog "Illustration of Enhanced Receiver Determination - SP16 I have done the design in IR as below 1) Created two data types (one input,one output) 2)Created res
-
I was thinking of getting an TV but seems like the only feature I will be using is the ability of watching movies and listening to music housed on my laptop wireless on my TV. I have a W series Sony Bravia (direct connect to the web) as well as a PS
-
USB Mouse Draining Too Much Power
I have a 22" Cinema Display and I keep my USB Power Mac Mouse attached to the USB port in the back, but now both ports give the error message that the "USB Device" requires too much power. I can plug it into the keyboard and it works fine, does anyon