Monday 13 April 2015

Cent OS 6.5 issue" -bash: /usr/bin/nslookup: No such file or directory"

Today I installed Cent OS 6.5 with minimal packages so that installation will get complete very soon.
After completion of installation of os I need to check some DNS base issue on that.
To troubleshoot that issue I need to run command "nslookp" command
But when I tried to run nslookup command it was not working


[root@Test1 ~]# nslookup google.com
-bash: nslookup: command not found
[root@Test1 ~]# /usr/bin/nslookup google.com
-bash: /usr/bin/nslookup: No such file or directory
[root@Test1 ~]#

So I got confused what to for this basic command, which rpm I should install so that nslookup command will work

Then I configure yum repository and installed bind-utils rpm.

[root@Test1 ~]# yum install bind-utils

After installation nslookup command worked.

[root@vcs1 rhel6_x86_64]# rpm -qi bind-utils
Name        : bind-utils                   Relocations: (not relocatable)
Version     : 9.8.2                             Vendor: CentOS
Release     : 0.17.rc1.el6_4.6              Build Date: Tue 27 Aug 2013 09:25:53 PM IST
Install Date: Mon 13 Apr 2015 06:24:31 PM IST      Build Host: c6b9.bsys.dev.centos.org
Group       : Applications/System           Source RPM: bind-9.8.2-0.17.rc1.el6_4.6.src.rpm
Size        : 448511                           License: ISC
Signature   : RSA/SHA1, Tue 27 Aug 2013 11:26:23 PM IST, Key ID 0946fca2c105b9de
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://www.isc.org/products/BIND/
Summary     : Utilities for querying DNS name servers
Description :
Bind-utils contains a collection of utilities for querying DNS (Domain
Name System) name servers to find out information about Internet
hosts. These tools will provide you with the IP addresses for given
host names, as well as other information about registered domains and
network addresses.

You should install bind-utils if you need to get information from DNS name
servers.


I hope if you face same issue on CentOS this post will helpful to you resolve the issue.



Saturday 28 March 2015

Weblogic application error "The server has not found anything matching the Request-URI"

When  I tried to access one of my application which is deployed on weblogic.
Everything working fine network connection and speed as well. Application access without any kind of error.

But day after tomorrow when I tried to access that application unable to access, I started to check basic requirement to access that application. No issue found everything working fine except that application, even I deleted cache and cookies of browser and finally restarted my computer. But still no solution. It gives me continuosly same error which is:

"
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address."

 Image of error that is captured below:

To resolve this issue I contact my  team members related to that application, DB admiin replied only they have reset password of DB account. Not sure that was changed on weblogic console's connection pool configuration or not. After reseting DB user accounts password I make activate changes on weblogic console.

Then I tried to access that application, It worked !!!!
There are so many reason related to this error, But I have posted here the solution that worked for me.
If you are facing some related issue hope will resolve your issue as well.