Java_home settings in OEL 5.2
I have followe this steps to set my java home:
my installed java dir is ======= */usr/java*
step 1
[root@localhost java]# locate javac |grep bin
/u01/app/oracle/product/11.1.0/db_1/jdk/bin/javac
/usr/bin/javac
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/bin/javac
[REMEMBER:-locate database is updated once in a day]
STEP 2
[root@localhost java]# alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_16/bin/java 100
[root@localhost java]# alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar 100
[root@localhost java]# alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_16/bin/javac 100
STEP 3
STEP 3.1
[root@localhost java]# /usr/sbin/alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
*+ 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
2 /usr/java/jdk1.6.0_16/bin/java
Enter to keep the current selection[+], or type selection number: 2
STEP 3.2
[root@localhost java]# /usr/sbin/alternatives --config jar
There is 1 program that provides 'jar'.
Selection Command
* 1 /usr/java/jdk1.6.0_16/bin/jar
Enter to keep the current selection[+], or type selection number: 1
STEP 3.3
[ root@localhost java]# /usr/sbin/alternatives --config javac
There are 2 programs which provide 'javac'.
Selection Command
*+ 1 /usr/lib/jvm/java-1.4.2-gcj/bin/javac
2 /usr/java/jdk1.6.0_16/bin/javac
Enter to keep the current selection[+], or type selection number: 2
STEP 4
[root@localhost java]# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
[root@localhost java]#
cool right?
Hope it will solve your issue(s).
NB:-Whenever you need any new java command try run STEP 2 AND STEP 3 accordingly.is everything fine with these steps?
after a few moments i tried to revert it again in the same way but found some deficulty for jar command in java:
[root@localhost java]# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
[root@localhost java]# /usr/sbin/alternatives --config jar
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# /usr/sbin/alternatives --config javac
There are 2 programs which provide 'javac'.
Selection Command
* 1 /usr/lib/jvm/java-1.4.2-gcj/bin/javac
+ 2 /usr/java/jdk1.6.0_16/bin/javac
Enter to keep the current selection[+], or type selection number: 1
[root@localhost java]# /usr/sbin/alternatives --config javac
There are 2 programs which provide 'javac'.
Selection Command
*+ 1 /usr/lib/jvm/java-1.4.2-gcj/bin/javac
2 /usr/java/jdk1.6.0_16/bin/javac
Enter to keep the current selection[+], or type selection number: +2
[root@localhost java]# /usr/sbin/alternatives --config javac
There are 2 programs which provide 'javac'.
Selection Command
* 1 /usr/lib/jvm/java-1.4.2-gcj/bin/javac
+ 2 /usr/java/jdk1.6.0_16/bin/javac
Enter to keep the current selection[+], or type selection number: +2
[root@localhost java]# /usr/sbin/alternatives --config jar
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar 100
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar 100
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar 100
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# alternatives --install /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar 100
failed to read link /usr/bin/jar: No such file or directory
[root@localhost java]# can anyone help?
Similar Messages
-
Proxy settings in OEL 5.7 running in VMWare ESXi 4.1
Hi.
I am newbie to Linux. And I have problems with proxy settings in OEL 5.7, exactly when authentication is reqiured.
When trying connection from Firefox it works fine - the browser asks for user/passwd. There is possibility to choose
that browser should use system proxy setting. In that case, although user/passwd is set for proxy in the system,
the browser asks for the user/passwd again. And I guess it should not ask in that case.
And when I try connection from command line:
nc -vz linux-update.oracle.com 443*
it returns:
nc : connect to linux-update.oracle.com port 443 (tcp) failed: Connection refused*
Better is commad:
nc -X connect -x proxy_server:port -vz linux-update.oracle.com 443*
it returns:
nc: Proxy error: "HTTP /1.0 407 Proxy Authentication Required"*
But why is necessary to enter proxy server again and why it ignores user/passwd from the system proxy setup?
I did settings in Unbreakable Linux Network Configuration as well but id doesn't take effect.
I made several experiments with env variables proxy_user, PROXY_USER, proxy_password, PROXY_PASSWORD,
http_proxy, HTTP_PROXY, https_proxy and HTTPS_PROXY too, but without success.
When we went through the log files on proxy server it seems it (OEL) doesn't try to authenticate at all.
The only way, how to connect with nc* command is to make an exception for my IP address
on proxy server not to request authentication. But I still have to enter " -x proxy_server:port".
Has anyone experience with that behaviour? I have to mention that OEL runs as a VM under VMWare.
Regards
TomášPerhaps the following will help to avoid the repeating proxy authentication prompts:
Open Firefox and type "about:config" in the url field.
Double-click network.negotiate-auth.allow-proxies to toggle between true and false. The option must be set to false. It seems counterintuitive, but you set it to false to make it work with Microsoft's ISA proxy.
I'm not sure if NAT could be a problem, but you can configure the NIC of your VM in VMware to bridged mode to avoid NAT. -
hai
i want to run a war file on tomcat server
but is giving error:--JAVA_HOME does not point to JDK
i have done folloing settings in environmental settings of windows xp professional as environmental variables
JAVA_HOME:C:/ jsdk1.4
path=c:/jsdk1.4/bin
classpath= c:/jsdk1.2/lib
plz help
urgent
thanksjchobantonov
thanks for ur help
but i have checked all the settings but still it is giving same problem
i am again giving settings which i have done in environmetal settings
JAVA_HOME c:\j2sdk1.4.2_12
CATALINA_HOME c:\program files\tomcat 5.0
PATH c:\j2sdk1.4.2_12\bin
CLASSPATH c:\j2sdk1.4.2_12\lib
it is giving following error
unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath
perhaps JAVA_HOME does not point to the JDK -
JAVA_HOME settings - problem
Hello,
I am a Fedora user.
I installed apache tomcat to this location in my computer: /usr/local/apache-tomcat-5.5.20
When I want to run the "./startup.sh " command, I receive this error:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
It is normal.. Then I set the JAVA_HOME as following:
export JAVA_HOME=/usr/java/jdk1.5.0_10
However, I still receivethe same error:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
I am new in Linux and I could not understand why I receive this error even if I set the JAVA_HOME. Any recommendation would help me a lot!
Thanks & Regards
hsHello again,
If I set the JAVA_HOME on the console and run the startup script, tomcat works.
If I set the JAVA_HOME on the console but try to run the startup script on another console it does not work.
Permanent solution: (I am directly writing the instructions that I got from http://ubuntuforums.org/archive/index.php/t-44006.html)
You need to point out where you installed Java SDK. You will have to edit the file '.bashrc'. Backup this file first!
In terminal type:
gedit ~/.bashrc
Add the following lines to the file:
#Stuff we added to make tomcat go
export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
export CLASSPATH=/usr/local/tomcat/common/lib/jsp-api.jar:/usr/local/tomcat/common/lib/servlet-api.jar
This was probably an experience problem. Thank you very much for the answer!
Happy new year! :-)
hs -
Installing SAP NW on RHEL 5.3 JAVA_HOME issues
Hello,
I have worked for weeks trying to get the java part of install done properly. I have completed linux install with all parameters set properly. Only one thing holding preinstall test -- JAVA_HOME settings. I am loading SAP in distributed environment (main setup with database on another system) on 64 bit IBM Xseries system. I downloaded java 1.4.2_22 (from SUN) per a SAP note but this package does not have 64 bit JRE. Marcus stated in another listing installers need to load java 5.0 but I am wondering which package. Can someone tell me exactly which packages I need to install to complete and pathway of install. I have completely uninstalled all java packages and rpm s.
Thanks,
Jeffroot@linux ~# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20070626 (Red Hat 4.1.2-14)
Yes - as you see this is GNU java, not Sun Java - and Gnu java is not supported for a SAPGUI installation.
root@linux opt# java -jar PlatinGUI-Linux-710r6.jar
you have to set JAVA_HOME to the root of where you installed it.
so
export JAVA_HOME=/opt/<path-you-installed>
then edit your path:
export PATH=$JAVA_HOME/bin:$PATH
now "java -version" should output the Sun Java version.
Markus
Above is from another thread.
When I installed java rpm installed to /opt/IBMJava2-amd64-142 folder.
From above thread I learned to:
export JAVA_HOME=/opt/IBMJava2-amd64-142
then edit path:
export PATH=$JAVA_HOME/bin:$PATH so I entered
export PATH=/opt/IMBJava2-amd64-142/bin:$PATH
is this correct? Am I suppose to replace last $PATH with something?
I still get error on precheck about JAVA_HOME: Could not check
Any help is greatly appreciated.
Jeff -
Install failed on redhat 8.0 Any ideas?
this is the error message i receive :
I'm new to this
*** Got java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot access individual system properties. while trying to print stack trace
j2sdkee-1_4-beta-linux.sh: line 354: 3098 Aborted "$javahome/bin/java" -classpath "$jarfile" -Djava.ext.dirs= -Djava.endorsed.dirs= -Dtemp.dir="$TEMPDIR/$$/" J2EE "$@"
I am logged in as root
thanks,
knowledge43I got the same message. It turned out that it was ignoring my PATH and JAVA_HOME settings and picking up the GNU java interpreter. If you run it with -is:javahome $JAVA_HOME it should work.
Note - I figured this out by changing the installer to print it's value of $javahome, which corrupted the binary part of the installer, so that after I got that working I got the NoClassDefError: J2EE. I fixed that by downloiading a new installer.
Hope it helps. -
Package javax.servlet does not exist - settings appear to be correct
laugh as I write this post...it's hardly a "new topic."...but everything seems set just as it should be...
Okay...I'm a seasoned programmer in every language but JAVA. Here's the issue...every time I try to use the Core Servlets book/website by Marty Hall and Larry Brown I get hung up on the packages. This time, I downloaded and followed step by step what the website said to do...it was even preconfigured for me! Alas...I am getting the following compliation errors on a "simple packagless" program with NetBeans:
Compiling 1 source file to C:\Servlets+JSP\HelloServlet\build\classes
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:2: package javax.servlet does not exist
import javax.servlet.*;
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:13: cannot find symbol
symbol: class HttpServlet
public class HelloServlet extends HttpServlet {
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:14: cannot find symbol
symbol : class HttpServletRequest
location: class HelloServlet
public void doGet(HttpServletRequest request,
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:15: cannot find symbol
symbol : class HttpServletResponse
location: class HelloServlet
HttpServletResponse response)
C:\Servlets+JSP\HelloServlet\src\helloservlet\HelloServlet.java:16: cannot find symbol
symbol : class ServletException
location: class HelloServlet
throws ServletException, IOException {
6 errors
BUILD FAILED (total time: 0 seconds)
These are my environment settings (note that the JAVAX package is located under the src folder in Java)
Catalina Home:
C:\apache-tomcat-6.0.10
CLASSPATH:
C:\apache-tomcat-6.0.10\lib\servlet-api.jar;
C:\apache-tomcat-6.0.10\lib\jsp-api.jar;
C:\apache-tomcat-6.0.10\lib\el-api.jar;
C:\Servlets+JSP;..;..\..;
C:\Program Files\Java\jdk1.6.0_03\src
JAVA_HOME
C:\Program Files\Java\jdk1.6.0_03
Path:
C:\Program Files\Java\jdk1.6.0_03\bin;%PATH%
Any ideas (excluding the one that maybe I should let my hair grow out, put on some tackey shorts and sandles and start palying an instrument in the streets of Austin for living?)cabkats wrote:
You are then suggesting that I make the corrections directly to the files in apache using notepad instead of using the envir. variables?No I am not suggesting that. I am suggesting that you need to read the documentation about the product(s) and set them up the way they require, rather than blindly think that the CLASSPATH environment variable is some magical entity.
I will try this, but I was hoping that since my IDE auto configured (with exception to java_home) that I would not have to do this. I wil give it try....thanks for the suggestion.See, you're using an IDE. Like I mentioned, IDEs do not use the CLASSPATH environment variable. You need to set up your project in your IDE in such a way that it knows what the dependent jars are. I'm sure there's a way to add jars to your project's dependencies. -
100% CPU Usage Overhead running EM DBConsole 11g on OEL-5.2
After upgrading to OEL-5.2 and relinking all Oracle binaries, my old Oracle 11g installation, installed several months before on OEL-5.1, has been working well, including Enterprise Manager Database Console working nicely as always with respectful performance. Unfortunatelly, it lasted just several days.
Yesterday I decided to uninstall the 11g completely and perform new clean installation (software and database) with the same configuration options and settings as before, including EM dbconsole, all configured using dbca. After completing the installation (EM was started automatically by dbca), oracle continued to suck 80-85% CPU time. In further few minutes CPU utilization raised up to 99% due to only one (always the same PID) client process - "oracleorcl (LOCAL=NO)". For first ten minutes I didn't care too much since I always enable Automatic Management in dbca. But after two hours, I started to worry. The process was still running, consuming sustained 99% of CPU power. No other system activity, no database activity, no disks activity at all!
I was really puzzled since I installed and reinstalled the 11g at least 20 times on OEL-5.0 and 5.1, experimenting with ASM, raw devices, loopback devices and various combinations of installation options, but never experienced such a behaviour. It took me 3 minutes to log in to EM dbconsole as it was almost unusable performing too slow. After three hours CPU temperature was nearly 60 degrees celsius. I decided to shutdown EM and after that everything became quiet. Oracle was running normally. Started EM again, the problem was back again. Tracing enabled, it filled a 350 MB trace file in just 20 minutes. Reinstalling the software and database once again didn't help. Whenever EM is up, the CPU usage overhead of 99% persists.
Here is a cca 23 minutes session summary report taken from EM dbconsole's Performance page. The trace file is too big to list it here, but it shows the same.
Host CPU: 100%
Active Sessions: 100%The details for the Selected 5 Minute Interval (the last 5 min interval) are shown as follow:
TOP SESSIONS: SYSMAN, Program: OMS
Activity: 100%
TOP MODULES: OEM.CacheModeWaitPool, Service: orcl
Activity: 100%
TOP CLIENT: Unnamed
Activity: 99.1%
TOP ACTIONS: Unnamed (OEM.CacheModeWaitPool) (orcl)
Activity: 100%
TOP OBJECTS: SYSMAN.MGMT_JOB_EXEC_SUMMARY (Table)
Activity: 100%
TOP PL/SQL: SYSMAN.MGMT_JOB_ENGINE.INSERT_EXECUTION
PL/SQL Source: SYSMAN.MGMT_JOB_ENGINE
Line Number: 7135
Activity: 100%
TOP SQL: SELECT EXECUTION_ID, STATUS, STATUS_DETAIL FROM MGMT_JOB_EXEC_SUMMARY
WHERE JOB_ID = :B3 AND TARGET_LIST_INDEX = :B2 AND EXPECTED_START_TIME = :B1;
Activity: 100%
STATISTICS SUMMARY
cca 23 minutes session
with no other system activity
Per
Total Execution Per Row
Executions 105,103 1 10,510.30
Elapsed Time (sec) 1,358.95 0.01 135.90
CPU Time (sec) 1,070.42 0.01 107.04
Buffer Gets 85,585,518 814.30 8,558,551.80
Disk Reads 2 <0.01 0.20
Direct Writes 0 0.00 0.00
Rows 10 <0.01 1
Fetches 105,103 1.00 10,510.30
----------------------------------------Wow!!! Note: no disk, no database activity !
Has anyone experienced this or similar behaviour after clean 11g installation on OEL-5.2? If not, anyone has a clue what the hell is going on?
Thanks in advance.Hi Tommy,
I didn't want to experiment further with already working OEL-5.2, oracle and dbconsole on this machine, specially not after googling the problem and finding out that I am not alone in this world. There are another two threads on OTN forums (Database General) showing the same problem even on 2GB machines:
DBConsole easting a CPU
11g stuck. 50-100% CPU after fresh install
So, I took another, a smaller free machine I've got at home (1GB RAM, 2.2MHz Pentium4, three 80GB disks), on which I used to experiment with new releases of software (this is the machine on which I installed 11g for the first time when it was released on OEL-5.0, and I can recall that everything was OK with EM). This is what I did:
1. I installed OEL-5.0 on the machine, adjusted linux and kernel parameters, and performed full 11g installation. Database and EM dbconsole worked nice with acceptable performance. Without activity in the database, %CPU = zero !!! The whole system was perfectly quiet.
2. Since everything was OK, I shutdown EM and oracle, and performed the full upgrade to OEL-5.2. When the upgrade finished, restarted the system, relinked all oracle binaries, and started oracle and EM dbconsole. Both worked perfectly again, just as before the upgrade. I repeated restarting the database and dbconsole several times, always with the same result - it really rocks. Without database activity, %CPU = zero%.
3. Using dbca, I dropped the database and created the new one with the same configuration options. Wow! I'm again in trouble. A half an hour after the creation of the database, %CPU raised up to 99%. That's it.
The crucial question here is: what is that in OEL-5.2, not existing in the 5.0, that causes dbca/em scripts to be embarrassed at the time of EM agent configuration?
Here are the outputs you required picked 30 minutes after starting the database and EM dbconsole (sustained 99% CPU utilization). Note that this is just a 1GB machine.
Kernel command line: ro root=LABEL=/ elevator=deadline rhgb quiet
[root@localhost ~]# cat /proc/meminfo
MemTotal: 1034576 kB
MemFree: 27356 kB
Buffers: 8388 kB
Cached: 609660 kB
SwapCached: 18628 kB
Active: 675376 kB
Inactive: 287072 kB
HighTotal: 130304 kB
HighFree: 260 kB
LowTotal: 904272 kB
LowFree: 27096 kB
SwapTotal: 3148700 kB
SwapFree: 2940636 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 328700 kB
Mapped: 271316 kB
Slab: 21136 kB
PageTables: 14196 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3665988 kB
Committed_AS: 1187464 kB
VmallocTotal: 114680 kB
VmallocUsed: 5860 kB
VmallocChunk: 108476 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
[root@localhost ~]# cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
rpc_buffers 8 8 2048 2 1 : tunables 24 12 8 : slabdata 4 4 0
rpc_tasks 8 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
rpc_inode_cache 6 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
ip_conntrack_expect 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
ip_conntrack 68 68 228 17 1 : tunables 120 60 8 : slabdata 4 4 0
ip_fib_alias 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip_fib_hash 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
fib6_nodes 22 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip6_dst_cache 13 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
ndisc_cache 1 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAWv6 4 5 768 5 1 : tunables 54 27 8 : slabdata 1 1 0
UDPv6 9 12 640 6 1 : tunables 54 27 8 : slabdata 2 2 0
tw_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
request_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
TCPv6 1 3 1280 3 1 : tunables 24 12 8 : slabdata 1 1 0
jbd_1k 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
dm_mpath 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
dm_uevent 0 0 2460 3 2 : tunables 24 12 8 : slabdata 0 0 0
dm_tio 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
dm_io 0 0 20 169 1 : tunables 120 60 8 : slabdata 0 0 0
jbd_4k 1 1 4096 1 1 : tunables 24 12 8 : slabdata 1 1 0
scsi_cmd_cache 10 10 384 10 1 : tunables 54 27 8 : slabdata 1 1 0
sgpool-128 36 36 2048 2 1 : tunables 24 12 8 : slabdata 18 18 0
sgpool-64 33 36 1024 4 1 : tunables 54 27 8 : slabdata 9 9 0
sgpool-32 34 40 512 8 1 : tunables 54 27 8 : slabdata 5 5 0
sgpool-16 35 45 256 15 1 : tunables 120 60 8 : slabdata 3 3 0
sgpool-8 60 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
scsi_io_context 0 0 104 37 1 : tunables 120 60 8 : slabdata 0 0 0
ext3_inode_cache 4376 8216 492 8 1 : tunables 54 27 8 : slabdata 1027 1027 0
ext3_xattr 165 234 48 78 1 : tunables 120 60 8 : slabdata 3 3 0
journal_handle 8 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
journal_head 684 1008 52 72 1 : tunables 120 60 8 : slabdata 14 14 0
revoke_table 18 254 12 254 1 : tunables 120 60 8 : slabdata 1 1 0
revoke_record 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
uhci_urb_priv 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
UNIX 56 112 512 7 1 : tunables 54 27 8 : slabdata 16 16 0
flow_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_ioc_pool 0 0 92 42 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_pool 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
crq_pool 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
deadline_drq 140 252 44 84 1 : tunables 120 60 8 : slabdata 3 3 0
as_arq 0 0 56 67 1 : tunables 120 60 8 : slabdata 0 0 0
mqueue_inode_cache 1 6 640 6 1 : tunables 54 27 8 : slabdata 1 1 0
isofs_inode_cache 0 0 368 10 1 : tunables 54 27 8 : slabdata 0 0 0
hugetlbfs_inode_cache 1 11 340 11 1 : tunables 54 27 8 : slabdata 1 1 0
ext2_inode_cache 0 0 476 8 1 : tunables 54 27 8 : slabdata 0 0 0
ext2_xattr 0 0 48 78 1 : tunables 120 60 8 : slabdata 0 0 0
dnotify_cache 2 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
dquot 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
eventpoll_pwq 1 101 36 101 1 : tunables 120 60 8 : slabdata 1 1 0
eventpoll_epi 1 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_event_cache 1 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_watch_cache 23 92 40 92 1 : tunables 120 60 8 : slabdata 1 1 0
kioctx 135 135 256 15 1 : tunables 120 60 8 : slabdata 9 9 0
kiocb 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
fasync_cache 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
shmem_inode_cache 553 585 436 9 1 : tunables 54 27 8 : slabdata 65 65 0
posix_timers_cache 0 0 88 44 1 : tunables 120 60 8 : slabdata 0 0 0
uid_cache 5 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
ip_mrt_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
tcp_bind_bucket 32 203 16 203 1 : tunables 120 60 8 : slabdata 1 1 0
inet_peer_cache 1 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
secpath_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
xfrm_dst_cache 0 0 384 10 1 : tunables 54 27 8 : slabdata 0 0 0
ip_dst_cache 6 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
arp_cache 2 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAW 2 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
UDP 3 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
tw_sock_TCP 3 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
request_sock_TCP 4 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
TCP 43 49 1152 7 2 : tunables 24 12 8 : slabdata 7 7 0
blkdev_ioc 3 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
blkdev_queue 23 24 956 4 1 : tunables 54 27 8 : slabdata 6 6 0
blkdev_requests 137 161 172 23 1 : tunables 120 60 8 : slabdata 7 7 0
biovec-256 7 8 3072 2 2 : tunables 24 12 8 : slabdata 4 4 0
biovec-128 7 10 1536 5 2 : tunables 24 12 8 : slabdata 2 2 0
biovec-64 7 10 768 5 1 : tunables 54 27 8 : slabdata 2 2 0
biovec-16 7 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-4 8 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-1 406 406 16 203 1 : tunables 120 60 8 : slabdata 2 2 300
bio 564 660 128 30 1 : tunables 120 60 8 : slabdata 21 22 204
utrace_engine_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
utrace_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
sock_inode_cache 149 230 384 10 1 : tunables 54 27 8 : slabdata 23 23 0
skbuff_fclone_cache 20 20 384 10 1 : tunables 54 27 8 : slabdata 2 2 0
skbuff_head_cache 86 210 256 15 1 : tunables 120 60 8 : slabdata 14 14 0
file_lock_cache 22 40 96 40 1 : tunables 120 60 8 : slabdata 1 1 0
Acpi-Operand 1147 1196 40 92 1 : tunables 120 60 8 : slabdata 13 13 0
Acpi-ParseExt 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Parse 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-State 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Namespace 615 676 20 169 1 : tunables 120 60 8 : slabdata 4 4 0
delayacct_cache 233 312 48 78 1 : tunables 120 60 8 : slabdata 4 4 0
taskstats_cache 12 53 72 53 1 : tunables 120 60 8 : slabdata 1 1 0
proc_inode_cache 622 693 356 11 1 : tunables 54 27 8 : slabdata 63 63 0
sigqueue 8 27 144 27 1 : tunables 120 60 8 : slabdata 1 1 0
radix_tree_node 6220 8134 276 14 1 : tunables 54 27 8 : slabdata 581 581 0
bdev_cache 37 42 512 7 1 : tunables 54 27 8 : slabdata 6 6 0
sysfs_dir_cache 4980 4992 48 78 1 : tunables 120 60 8 : slabdata 64 64 0
mnt_cache 36 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
inode_cache 1113 1254 340 11 1 : tunables 54 27 8 : slabdata 114 114 81
dentry_cache 11442 18560 136 29 1 : tunables 120 60 8 : slabdata 640 640 180
filp 7607 10000 192 20 1 : tunables 120 60 8 : slabdata 500 500 120
names_cache 19 19 4096 1 1 : tunables 24 12 8 : slabdata 19 19 0
avc_node 14 72 52 72 1 : tunables 120 60 8 : slabdata 1 1 0
selinux_inode_security 814 1170 48 78 1 : tunables 120 60 8 : slabdata 15 15 0
key_jar 14 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
idr_layer_cache 170 203 136 29 1 : tunables 120 60 8 : slabdata 7 7 0
buffer_head 38892 39024 52 72 1 : tunables 120 60 8 : slabdata 542 542 0
mm_struct 108 135 448 9 1 : tunables 54 27 8 : slabdata 15 15 0
vm_area_struct 11169 14904 84 46 1 : tunables 120 60 8 : slabdata 324 324 144
fs_cache 82 177 64 59 1 : tunables 120 60 8 : slabdata 3 3 0
files_cache 108 140 384 10 1 : tunables 54 27 8 : slabdata 14 14 0
signal_cache 142 171 448 9 1 : tunables 54 27 8 : slabdata 19 19 0
sighand_cache 127 135 1344 3 1 : tunables 24 12 8 : slabdata 45 45 0
task_struct 184 246 1360 3 1 : tunables 24 12 8 : slabdata 82 82 0
anon_vma 3313 5842 12 254 1 : tunables 120 60 8 : slabdata 23 23 0
pgd 84 84 4096 1 1 : tunables 24 12 8 : slabdata 84 84 0
pid 237 303 36 101 1 : tunables 120 60 8 : slabdata 3 3 0
size-131072(DMA) 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-131072 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-65536(DMA) 0 0 65536 1 16 : tunables 8 4 0 : slabdata 0 0 0
size-65536 2 2 65536 1 16 : tunables 8 4 0 : slabdata 2 2 0
size-32768(DMA) 0 0 32768 1 8 : tunables 8 4 0 : slabdata 0 0 0
size-32768 9 9 32768 1 8 : tunables 8 4 0 : slabdata 9 9 0
size-16384(DMA) 0 0 16384 1 4 : tunables 8 4 0 : slabdata 0 0 0
size-16384 6 6 16384 1 4 : tunables 8 4 0 : slabdata 6 6 0
size-8192(DMA) 0 0 8192 1 2 : tunables 8 4 0 : slabdata 0 0 0
size-8192 5 5 8192 1 2 : tunables 8 4 0 : slabdata 5 5 0
size-4096(DMA) 0 0 4096 1 1 : tunables 24 12 8 : slabdata 0 0 0
size-4096 205 205 4096 1 1 : tunables 24 12 8 : slabdata 205 205 0
size-2048(DMA) 0 0 2048 2 1 : tunables 24 12 8 : slabdata 0 0 0
size-2048 260 270 2048 2 1 : tunables 24 12 8 : slabdata 135 135 0
size-1024(DMA) 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
size-1024 204 204 1024 4 1 : tunables 54 27 8 : slabdata 51 51 0
size-512(DMA) 0 0 512 8 1 : tunables 54 27 8 : slabdata 0 0 0
size-512 367 464 512 8 1 : tunables 54 27 8 : slabdata 58 58 0
size-256(DMA) 0 0 256 15 1 : tunables 120 60 8 : slabdata 0 0 0
size-256 487 495 256 15 1 : tunables 120 60 8 : slabdata 33 33 0
size-128(DMA) 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
size-128 2242 2490 128 30 1 : tunables 120 60 8 : slabdata 83 83 0
size-64(DMA) 0 0 64 59 1 : tunables 120 60 8 : slabdata 0 0 0
size-32(DMA) 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
size-64 1409 2950 64 59 1 : tunables 120 60 8 : slabdata 50 50 0
size-32 3596 3842 32 113 1 : tunables 120 60 8 : slabdata 34 34 0
kmem_cache 145 150 256 15 1 : tunables 120 60 8 : slabdata 10 10 0
[root@localhost ~]# slabtop -d 5
Active / Total Objects (% used) : 97257 / 113249 (85.9%)
Active / Total Slabs (% used) : 4488 / 4488 (100.0%)
Active / Total Caches (% used) : 101 / 146 (69.2%)
Active / Total Size (% used) : 15076.34K / 17587.55K (85.7%)
Minimum / Average / Maximum Object : 0.01K / 0.16K / 128.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
25776 25764 99% 0.05K 358 72 1432K buffer_head
16146 15351 95% 0.08K 351 46 1404K vm_area_struct
15138 7779 51% 0.13K 522 29 2088K dentry_cache
9720 9106 93% 0.19K 486 20 1944K filp
7714 7032 91% 0.27K 551 14 2204K radix_tree_node
5070 5018 98% 0.05K 65 78 260K sysfs_dir_cache
4826 4766 98% 0.01K 19 254 76K anon_vma
4824 3406 70% 0.48K 603 8 2412K ext3_inode_cache
3842 3691 96% 0.03K 34 113 136K size-32
2190 2174 99% 0.12K 73 30 292K size-128
1711 1364 79% 0.06K 29 59 116K size-64
1210 1053 87% 0.33K 110 11 440K inode_cache
1196 1147 95% 0.04K 13 92 52K Acpi-Operand
1170 814 69% 0.05K 15 78 60K selinux_inode_security
936 414 44% 0.05K 13 72 52K journal_head
747 738 98% 0.43K 83 9 332K shmem_inode_cache
693 617 89% 0.35K 63 11 252K proc_inode_cache
676 615 90% 0.02K 4 169 16K Acpi-Namespace
609 136 22% 0.02K 3 203 12K biovec-1
495 493 99% 0.25K 33 15 132K size-256
480 384 80% 0.12K 16 30 64K bio
440 399 90% 0.50K 55 8 220K size-512
312 206 66% 0.05K 4 78 16K delayacct_cache
303 209 68% 0.04K 3 101 12K pid
290 290 100% 0.38K 29 10 116K sock_inode_cache
[root@localhost ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# Controls IP packet forwarding
net.ipv4.ip_forward=0
# Controls source route verification
net.ipv4.conf.default.rp_filter=1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route=0
# Oracle
net.ipv4.ip_local_port_range=1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
net.ipv4.tcp_rmem=4096 65536 4194304
net.ipv4.tcp_wmem=4096 65536 4194304
# Keepalive Oracle
net.ipv4.tcp_keepalive_time=3000
net.ipv4.tcp_keepalive_intvl=30
net.ipv4.tcp_keepalive_probes=15
net.ipv4.tcp_retries2=3
net.ipv4.tcp_syn_retries=2
net.ipv4.tcp_sack=0
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_window_scaling=0
# Oracle
fs.file-max = 6553600
fs.aio-max-nr=3145728
kernel.shmmni=4096
kernel.sem=250 32000 100 142
kernel.shmmax=2147483648
kernel.shmall=3279547
kernel.msgmnb=65536
kernel.msgmni=2878
kernel.msgmax=8192
kernel.exec-shield=0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq=1
kernel.panic=60
kernel.core_uses_pid=1
[root@localhost ~]# free | grep Swap
Swap: 3148700 319916 2828784
[root@localhost ~]# cat /etc/fstab | grep "/dev/shm"
tmpfs /dev/shm tmpfs size=1024M 0 0
[root@localhost ~]# df | grep "/dev/shm"
tmpfs 1048576 452128 596448 44% /dev/shm
NON-DEFAULT DB PARAMETERS:
db_block_size 8192
memory_target 633339904 /* automatic memory management */
open_cursors 300
processes 256
disk_async_io TRUE
filesystemio_options SETALL -
EmCCR reports JAVA_HOME does not contain a valid JDK/JRE
Greetings,
I am seeing occasional emails from several OEM monitored targets reporting this issue. I have found a couple of support notes, 976112.1 & 832949.1 and understand the problem but am still unclear on a couple of things and hoping someone can assist me.
1) how to set the $JAVA_HOME variable. jdk is installed in both the $ORACLE_HOME and $AGENT_HOME directories. Does it matter which jdk I use?
2) The ccr directory is a subdirectory of the $ORACLE_HOME directory and the emCCR.jar file is also there. I assume that is the required jar file and so my $PATH must include that. Does that also mean the $JAVA_HOME variable should point there rather than at the $AGENT_HOME/jdk?
3) Note 976112.1 suggests setting the $JAVA_HOME variable in then running setupCCR. I do not find a setupCCR but I do find a configCCR. I am not sure which is the correct executable to use. emCCR status shows I have 12.0.0.0.1 installed -
iamdev1:product/11.2.0.2/dbhome_1/ccr/bin->./emCCR status
Oracle Configuration Manager - Release: 12.0.0.0.1 - Production
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
Start Date 04-Jan-2014 12:08:55
Last Collection Time 21-Jan-2014 12:07:00
Next Collection Time 22-Jan-2014 12:07:00
Collection Frequency Daily at 12:07
Collection Status idle
Log Directory /usr/local/oracle/product/11.2.0.2/dbhome_1/ccr/hosts/devon/log
Registered At 12-Jun-2011 12:07:47
Automatic Update On
Collector Mode Connected
4) I am also unclear as to which documentation I should follow.
Any help or suggestions are greatly appreciated. Thank you.
Bill WagmanHi Solomon,
Please cross check your settings with the following post about "configuring WLS (10.3.2) on Mac".
http://forums.oracle.com/forums/thread.jspa?messageID=4008200�
- Ram -
JAVA_HOME Environment Variable "Not Available"
I have installed j2sdk 1.4.2_17 for Windows Server 2008 64 bit for an installation of ERP 6.0. I have installed this in the following directory:
C:\j2sdk14217x64
- I have the JAVA_HOME variable (User variable for Administrator and System variable) set to: C:\j2sdk14217x64
- I have the PATH system variable (System variable) set to: C:\j2sdk14217x64\bin
When running the prerequisite checker I get the following error:
"It is not recommended to use JDK version 1.4.2_10. Current version: JAVA_HOME not available."
When I run %JAVA_HOME% from the command line the system finds it. I'm not sure what the issue is here.Hello,
Best to unistall JDK and reinstall latest one
There is a download page solely for SAP customers:
http://www.sun.com/software/javaforbusiness/sap_download.jsp
See notes
709140 Recommended JDK and VM Settings for the WebAS630/640/7.0
Note 716604 for the Sun JDK (Windows, Linux, Solaris)
regards,
John Feely -
how do i set the environmental variable JAVA_HOME to point to my jdk directory which is c:\\jdk1.3.1_02\
somebody please help me!!
ive been trying to setup this servlet engine for 5 days now and i still cant get it to work :(
i keep getting an error that i need to setup my JAVA_HOME variable when i try to run bin\startup
any help would be greatly appreciatedthis is what i got after "bin\startup" in dos after typing exactly what you had
2002-04-13 19:16:12 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
2002-04-13 19:16:12 - PathSetter: home=C:\Documents and Settings\Ivo\Desktop\jak
arta-tomcat-3.3.1
2002-04-13 19:16:12 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-12
7.0.0.1.xml
2002-04-13 19:16:12 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-ad
min.xml
2002-04-13 19:16:12 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-ex
amples.xml
2002-04-13 19:16:12 - AutoWebApp: Loaded from config: DEFAULT:/admin
2002-04-13 19:16:12 - AutoWebApp: Auto-Adding DEFAULT:/
2002-04-13 19:16:12 - AutoWebApp: Loaded from config: DEFAULT:/examples
2002-04-13 19:16:12 - ContextManager: Tomcat configured and in stable state
2002-04-13 19:16:13 - ContextManager: Adding DEFAULT:/admin
2002-04-13 19:16:13 - ContextManager: Adding DEFAULT:/examples
2002-04-13 19:16:13 - ContextManager: Adding DEFAULT:/ROOT
EmbededTomcat: Init time 1292
2002-04-13 19:16:13 - Http10Interceptor: Starting on 8080
2002-04-13 19:16:13 - Ajp12Interceptor: Starting on 8007
2002-04-13 19:16:13 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 471
does there seem to be anything wrong with this?
needless to say i still get the Server Error: BAD URL :(
it would greatly appreciated if anyone can help me get through this problem
ivo -
Environmental settings problem
i am trying to run a application on tomcat 5.0
i have checked all the settings but still it is giving same problem
i am giving settings which i have done in environmetal settings
JAVA_HOME c:\j2sdk1.4.2_12
CATALINA_HOME c:\program files\tomcat 5.0
PATH c:\j2sdk1.4.2_12\bin
CLASSPATH c:\j2sdk1.4.2_12\lib
it is giving following error
unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath
perhaps JAVA_HOME does not point to the JDKTry this ,please check the installed folder present on that destination
C:\j2sdk1.4.2_05\bin;
CLASS PATH
C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\lib
On PATH
C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\lib
CATALINA_HOME c:\program files\tomcat 5.0
check tomcat version also
Message was edited by:
loveme -
OEL 5.8 Oracle Validated Install
I'm trying to setup Oracle Database on an Oracle Minimal stripped down install of linux 5.8 64-bit where internt access seems blocked. Since it lacks internet access, I managed a work around by setting up a local yum repository from the OEL 5.8 Install disc rpm(MOS ID: 579101.1). now before i run a localinstall of oracle-validated package, I need to have glibc-devel-2.5-81.i386.rpm and glibc-devel-2.5-81.x86_64.rpm packages installed. These packaged throw me dependency errors. Seems like almost every package the Oracle Database needs this libraries so theres no work to skip these. However ever dependent package i try to install throws dependency errors. I've tried installing all of them together. That doesn't work either.
yum localinstall glibc-devel-2.5-81.i386.rpm
Loaded plugins: rhnplugin
There was an error parsing the ULN proxy settings.
ULN support will be disabled.
Setting up Local Package Process
Examining glibc-devel-2.5-81.i386.rpm: glibc-devel-2.5-81.i386
Marking glibc-devel-2.5-81.i386.rpm to be installed
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-headers
---> Package kernel-headers.x86_64 0:2.6.18-308.0.0.0.1.el5 set to be updated
--> Finished Dependency Resolution
glibc-headers-2.5-81.x86_64 from local has depsolving problems
--> Missing Dependency: glibc = 2.5-81 is needed by package glibc-headers-2.5-81.x86_64 (local)
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
--> Missing Dependency: glibc = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc = 2.5-81 is needed by package glibc-headers-2.5-81.x86_64 (local)
Error: Missing Dependency: glibc = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va nofiles nodigest
The program package-cleanup is found in the yum-utils package.
while a
rpm -qa|grep glibc lists
glibc-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7
Please advice.Ram Chaitanya wrote:
I'm trying to setup Oracle Database on an Oracle Minimal stripped down install of linux 5.8 64-bit where internt access seems blocked. Since it lacks internet access, I managed a work around by setting up a local yum repository from the OEL 5.8 Install disc rpm(MOS ID: 579101.1). now before i run a localinstall of oracle-validated package, I need to have glibc-devel-2.5-81.i386.rpm and glibc-devel-2.5-81.x86_64.rpm packages installed. These packaged throw me dependency errors. Seems like almost every package the Oracle Database needs this libraries so theres no work to skip these. However ever dependent package i try to install throws dependency errors. I've tried installing all of them together. That doesn't work either.
yum localinstall glibc-devel-2.5-81.i386.rpm
Loaded plugins: rhnplugin
There was an error parsing the ULN proxy settings.
ULN support will be disabled.
Setting up Local Package Process
Examining glibc-devel-2.5-81.i386.rpm: glibc-devel-2.5-81.i386
Marking glibc-devel-2.5-81.i386.rpm to be installed
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
---> Package glibc-headers.x86_64 0:2.5-81 set to be updated
--> Processing Dependency: glibc = 2.5-81 for package: glibc-headers
---> Package kernel-headers.x86_64 0:2.6.18-308.0.0.0.1.el5 set to be updated
--> Finished Dependency Resolution
glibc-headers-2.5-81.x86_64 from local has depsolving problems
--> Missing Dependency: glibc = 2.5-81 is needed by package glibc-headers-2.5-81.x86_64 (local)
glibc-devel-2.5-81.i386 from /glibc-devel-2.5-81.i386 has depsolving problems
--> Missing Dependency: glibc = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
Error: Missing Dependency: glibc = 2.5-81 is needed by package glibc-headers-2.5-81.x86_64 (local)
Error: Missing Dependency: glibc = 2.5-81 is needed by package glibc-devel-2.5-81.i386 (/glibc-devel-2.5-81.i386)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va nofiles nodigest
The program package-cleanup is found in the yum-utils package.
while a
rpm -qa|grep glibc lists
glibc-2.5-81.el5_8.7
glibc-2.5-81.el5_8.7
Please advice." internt access seems blocked."
I'd be solving that problem first. -
Hi all
I installed Oracle Enterprise Linux 5 in Virtual Box.
And I wanted to change resolution of screen, but there are only options - 800x600, 600x480
I googled what configuration do i have to and internet says
1) add 1024x768 in Modes in /etc/X11/xorg.conf
2) add the parameter "resolution=1024x768" to the kernel line in grub.conf
3) Add the parameter "video=1024x768" to the kernel line in grub.conf.
So I tried all.
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Oracle Linux Server (2.6.39-400.215.10.el5uek)
root (hd0,0)
kernel /vmlinuz-2.6.39-400.215.10.el5uek ro root=LABEL=/ rhgb quiet crashkernel=128M@16M
initrd /initrd-2.6.39-400.215.10.el5uek.img
title Oracle Linux Server-base (2.6.18-398.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-398.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-398.el5.img
# ki-tae, for resolution
resolution=1024x768
video=1024x768
after rebooting the virtual machine, i checked "Screen Resolution Preferences" and "Display Settings"
But the options are not different before setting above.
what do I have to do to extend resolution ???
Thanks & Regard.
p.s
"init" command is not recognized in my OEL.
should i install another rpm??When you start the VirtualBox machine there is an appropriate option under the Devices menu:
After you select this the menu option, it will attach the build-in ISO disk image, which you can mount as cdrom:
Then install the software:
In order for this to work you will most likely have to install:
gcc
kernel-devel-$(uname -r) or
kernel-uek-devel-$(uname -r) package.
(you can ignore warnings about kernel-headers)
Please see the virtualbox documentation about further details. It is all desribed there. -
Echec to install Oracle database 11gr2 in OEL5.6, OEL 5.5 and RHEL 5.6
I try to install Oracle 11gr2 in Linux with the traditionnal installation but after several installation test i am disappointed.
i make test on several distribution of Linux 64bits (OEL 5.6, OEL 5.5, RHEL 5.6) and SAME result : The installation of Oracle stop at 81 % .
I have installed the packages required with the command line : yum install oracle-validated
I thinks it's a problem of library but what library ?
Thanks you by advance.
The log of my install :
INFO: gcc -o ctxhx -m64 -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/stubs/ /oracledata/product/11.2.0/dbhome_3/ctx/lib/ctxhx.o -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz -lctxhx -Wl,-rpath,/oracledata/product/11.2.0/dbhome_3/ctx/lib -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracledata/pro
INFO: duct/11.2.0/dbhome_3/lib/sysliblist`
INFO: /usr/bin/ld: warning: libwv_core.so, needed by /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libstdc++.so.5: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeFree'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLoadLibrary'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VIn
INFO: it'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNDestroyCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNGetProcAddress'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeAlloc'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VCreateHandle'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VBailOut'
/ora
INFO: cledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VPushBailOutEx'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringConcat'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VDeinit'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeLock'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/oracle
INFO: data/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByName'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeUnlock'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_ex.so: undefined reference to `SYSNativeReAlloc'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCreateCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputVtabl
INFO: e'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringToBytes'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringCopy'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::~SCCExceptionTrap()'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCompareTimes'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VInitBail
INFO: Out'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SPSubstringReplace'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindClose'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNEnterCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFreeLibrary'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VOnAssertionFailure'
INFO: oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLeaveCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNGetLibrarySpec'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::SCCExceptionTrap(int, char const*, int)'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VDebugString'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined
INFO: reference to `SNFindFirstFile'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNSetCriticalSectionFactoryType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetDefaultOutputSolutionForType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetHandleUserData'
/oracledata/product/11.2.0/d
INFO: bhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VPopBailOut'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPBytesToString'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindNextFile'
collect2: ld a retourné 1 code d'état d'exécution
INFO: make: *** [ctxhx] Erreur 1
INFO: Arrêter la sortie à partir du processus généré dynamiquement.
List of my RPM
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|libstc|gcc'|sort
avahi-compat-libdns_sd-0.6.16-9.el5_5.x86_64
compat-dapl-2.0.25-2.el5_5.1.i386
compat-dapl-2.0.25-2.el5_5.1.x86_64
compat-dapl-devel-2.0.25-2.el5_5.1.i386
compat-dapl-devel-2.0.25-2.el5_5.1.x86_64
compat-dapl-utils-2.0.25-2.el5_5.1.x86_64
compat-db-4.2.52-5.1.x86_64
compat-gcc-34-3.4.6-4.1.x86_64
compat-gcc-34-c++-3.4.6-4.1.x86_64
compat-libgcc-296-2.96-138.i386
compat-libstdc++-296-2.96-138.i386
compat-libstdc++-33-3.2.3-61.i386
compat-libstdc++-33-3.2.3-61.x86_64
gcc-4.1.2-50.el5.x86_64
gcc-c++-4.1.2-50.el5.x86_64
gcc-gfortran-4.1.2-50.el5.x86_64
gcc-java-4.1.2-50.el5.x86_64
glibc-2.5-58.i686
glibc-2.5-58.x86_64
glibc-common-2.5-58.x86_64
glibc-devel-2.5-58.i386
glibc-devel-2.5-58.x86_64
glibc-headers-2.5-58.x86_64
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.i386
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.x86_64
java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.115.x86_64
libgcc-4.1.2-50.el5.i386
libgcc-4.1.2-50.el5.x86_64
My .bash_profile file
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=rhel56.bonifay.san; export ORACLE_HOSTNAME
ORACLE_UNQNAME=SID1; export ORACLE_UNQNAME
ORACLE_BASE=/oracledata; export ORACLE_BASE
ORACLE_HOME=/oraclebin/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=SID1; export ORACLE_SID
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/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHthanks Dude.
But same result with /u01 and $PATH
For info my variables environnement, if you have a idea
HOSTNAME=OEL55.bonifay.sa
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=SID1
TMPDIR=/tmp
USER=oracle
LD_LIBRARY_PATH=/u01/product/11.2.0/db_1/lib:/lib:/lib64:/usr/lib:/usr/lib64
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=SID1
ORACLE_BASE=/u01
ORACLE_HOSTNAME=OEL55.bonifay.sa
MAIL=/var/spool/mail/oracle
PATH=/u01/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
INPUTRC=/etc/inputrc
PWD=/home/oracle
LANG=fr_FR.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
CVS_RSH=ssh
CLASSPATH=/u01/product/11.2.0/db_1/jlib:/u01/product/11.2.0/db_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/product/11.2.0/db_1
G_BROKEN_FILENAMES=1
_=/bin/env
Maybe you are looking for
-
How to remove win 8 and install win 7 in bootcamp
I want to completely remove win 8 and install win 7 in bootcamp. I followed the steps in bootcamp assistant and it appears to remove the win 8 partition. However when starting a new win 7 bootcamp partition and installation setup still thinks win 8 i
-
Specify either address number or address handle(AM053)
Hi Experts, We have this error when we try to create a purchase order from a purchase requisition. This problem just appears for only one User, the same purchase requisition is ok to create the PO in the rest of the user. So we donu2019t know what is
-
I'm trying to connect to a wireless network (the network only provides Internet access) in the office and am receiving this error: "Hotspot login cannot open the page because it could not establish a secure connection to the server" Has anyone seen t
-
Suddenly my kernel panics or system freezes after loging in
My new MBP worked fine for about a month. Then, 2 days earlier it longer shutdown times than normally. But everything was still working. Suddenly I couldn't view flashvideos in firefox although I heard the audio. Then I got beachballs when trying to
-
Hi Experts, I am using xml based Adobe forms (ordinary print form) in WebDynpro component. I got one requirement to send that form as an attachment to dynamic email id either from form or from WebDynpro component. I tried using email submit button