If you want to install Oracle DB on Linux machine and if you have this kind of errors:
Failed to link libclntsh.so.11.1
and
ld: cannot find -lxml11
Most probably you are trying to install 32bit Oracle installer on 64bit Linux.
You should use 64bit Oracle installer on 64bit Linux.
Also, see that you've exported LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$ORACLE_HOME/lib32
or
export LD_LIBRARY_PATH=$ORACLE_HOME/lib (for 64bit build artifacts)
Solving issues in software development
Thursday, 19 January 2017
Friday, 6 January 2017
Install 32bit libraries in 64bit RedHat 6
Trying to install those 32-bit libraries that do not come installed by default with RHEL 6 or above?
Connected the CD, opened and tuned Add/Remove software UI of RHEL and still don't find what you need?
Could it be that you simply have not turned OFF those two filters that may filter out your 32bit stuff?
Go to Filters menu of "Add/Remove software" and uncheck the checkboxes for only latest and only native packages.
Connected the CD, opened and tuned Add/Remove software UI of RHEL and still don't find what you need?
Could it be that you simply have not turned OFF those two filters that may filter out your 32bit stuff?
Go to Filters menu of "Add/Remove software" and uncheck the checkboxes for only latest and only native packages.
Monday, 10 October 2016
Install Tiger VNC on Redhat 6
If you need to install VNC on RedHat 6, usually you are advised to do a yum install. Most often you will not have a configured yum repository in order to use the command "yum install", and it can take some time to make a local one for yourself.
Lucky me, when I had to install a package in RHEL 6.3 and yum command was not useful, I found out that the packages I need were actually much closer to me than I thought - in the Packages directory of the installation media.
Just connect your RHEL CD. I was using vSphere client to run the VM and when I connected my .iso it was automatically recognized by the RHEL and on the Desktop I got a folder with the date of this disk.
In which I found /Packages and there was my tiger vnc rpm.
A double-click over it and it was installed right away.
Nice and easy, when you have the install media.
Lucky me, when I had to install a package in RHEL 6.3 and yum command was not useful, I found out that the packages I need were actually much closer to me than I thought - in the Packages directory of the installation media.
Just connect your RHEL CD. I was using vSphere client to run the VM and when I connected my .iso it was automatically recognized by the RHEL and on the Desktop I got a folder with the date of this disk.
In which I found /Packages and there was my tiger vnc rpm.
A double-click over it and it was installed right away.
Nice and easy, when you have the install media.
Monday, 12 September 2016
Linux host that pings itself resoves to 127.0.0.1
I had a RedHat linux machine which, when pinging itself, would resolve to 127.0.0.1 in the terminal output of the ping command.
This was caused by a wrong configuration in the /etc/hosts file:
127.0.0.1 MachineDNSName localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
I removed the MachineDNSName entry leaving it to:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Now the pinging the machine from itself started to return its real external IP instead of 127.0.0.1
My example does not show how a host file should be configured. This only shows that an additional entry was resulting with network issues in specific cases (not all the time).
So in case of issues with wrong resolving of machine DNS name, look at your host file for possible issues.
This was caused by a wrong configuration in the /etc/hosts file:
127.0.0.1 MachineDNSName localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
I removed the MachineDNSName entry leaving it to:
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Now the pinging the machine from itself started to return its real external IP instead of 127.0.0.1
My example does not show how a host file should be configured. This only shows that an additional entry was resulting with network issues in specific cases (not all the time).
So in case of issues with wrong resolving of machine DNS name, look at your host file for possible issues.
Friday, 2 September 2016
Execute command on remote unix machine via JMeter
To enable this functionality, go to https://github.com/yciabaud/jmeter-ssh-sampler/releases and download:
ApacheJMeter_ssh-1.1.0.jar
and
jsch-0.1.51.jar
Place the first in your JMeter install folder /lib/ext directory, and the second in /lib.
Restart JMeter, if already open.
Add sampler SSH Command.
ApacheJMeter_ssh-1.1.0.jar
and
jsch-0.1.51.jar
Place the first in your JMeter install folder /lib/ext directory, and the second in /lib.
Restart JMeter, if already open.
Add sampler SSH Command.
Monday, 22 August 2016
VNC server does not respond to ALT+Shift+R sent to Eclipse
Problem: Linux RedHat (RHEL) 5.5 accessed via VNC, open Eclipse IDE. I need to use keybinding Alt+Shift+R which should invoke a renaming operation. Instead, it just opens the "Run" menu.
An option needs to be passed to the vnc server.
In /etc/sysconfig/vncservers find
Add +kb
I also had to first find out which VNC server RHEL 5.5. was using because that was not in the docs, or at least I could not find it.
To find out the vendor, grep the vnc process, in my case it returned a list with Xvnc process.
Then do "man Xvnc" where at the botton you see RealVNC.
From here you can go on searching for details about this VNC server once that you know who the vendor is.
An option needs to be passed to the vnc server.
In /etc/sysconfig/vncservers find
VNCSERVERS="1:user" VNCSERVERARGS[1]="-geometry 1024x768 "
Add +kb
VNCSERVERARGS[1]="-geometry 1024x768 +kb "
and restart VNC server
+kb is used to enable the X Keyboard Extension
More options HERE.
I also had to first find out which VNC server RHEL 5.5. was using because that was not in the docs, or at least I could not find it.
To find out the vendor, grep the vnc process, in my case it returned a list with Xvnc process.
Then do "man Xvnc" where at the botton you see RealVNC.
From here you can go on searching for details about this VNC server once that you know who the vendor is.
Monday, 13 June 2016
Slave no longer connects to your Jenkins master - slave-agent.jnlp: 403 Forbidden
Recently I messed up with Jenkins security configuration causing my slave machines tono longer connect to the master with the following exception logged:Failing to obtain http://MY_JENKINS/computer/MY_SLAVE_NAME/slave-agent.jnlp java.io.IOException: Failed to load http://MY_JENKINS/computer/MY_SLAVE_NAME/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:275) at hudson.remoting.Launcher.run(Launcher.java:219) at hudson.remoting.Launcher.main(Launcher.java:192) Waiting 10 seconds before retry
Check your security configuration settings in Manage Jenkins->Configure global
security and verify that for Anonymous user you have allowed to connect to slave.
Subscribe to:
Posts (Atom)