Tuesday, June 25, 2013
0 comments
undefined
undefined
Md. Mahidul HasanHow to Install locate package in RedHat 6
How to Install locate package in RedHat 6
Check whether locate or slocate or mlocate RPM is installed in your machine.[root@app2 ~]# rpm -qa| grep -i locateIf its not installed then search for the locate package from yum repository.[root@app2 ~]# yum search locate=============================== Matched: locate ================================mlocate.x86_64 : An utility for finding files by nameNow install the locate package. In old version it may be slocate.[root@app2 ~]# yum install mlocate[root@app2 ~]# locate testfilelocate: can not stat...
Monday, June 17, 2013
0 comments
undefined
undefined
Troubleshooting some nagios error
Troubleshooting Experience:
Troubleshooting some Nagios error:
Recently I was trying to deploy nagios to a RedHat 6 Server which I am use to deploy it in debian box. And as usual I found many problems in the installation procedure. One of the unusal thing is that I use latest nagios 3.5 and it does not have statusmap.cgi file and have some dependency issue. It gave me a hard time to solve the issue :D. So, This is how I fixed those problems-
1. snmp plugin fails due to perl dependency:
Error: Can't locate Net/SNMP.pm in @INC (@INC contains:...
Thursday, June 13, 2013
0 comments
undefined
undefined
Md. Mahidul HasanWhere is the syslog location in Redhat 6?
syslog location in Redhat 6
P { margin-bottom: 0.08in; }
Troubleshooting Experience:
What is syslog?
- Syslog keeps all the error report of
the system. It is extremely necessary for the system administrators
to monitor the system status to find out/ troubleshoot any system
related issue.
Where is the syslog location in Redhat 6?
- Silly question. But amazingly I
didn't find any syslog location in redhat. After some googling I find
out that by defaults syslog is not enabled in redhat. We need to
enable it manually for the first time. And this is how I did it:
First...
Subscribe to:
Posts (Atom)