ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, January 29, 2010

ERROR: Description table : The requested table is empty or does not exist.

Posted on 4:25 AM by Unknown
If you get this error while running load.pl

root@Test_Srv libexec]# ./check_snmp_load.pl -H 172.25.21.16 -Cpublic -w 80 -c 90

ERROR: Description table : The requested table is empty or does not exist.


Resolution:-

#vi /etc/snmp/snmpd.conf

# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
view systemview included .1


Note:- see the third line .. just add the MIB

After that restart the snmpd services.

#service snmpd restart

Now check

[root@Test libexec]# ./check_snmp_mem.pl -H 10.131.11.136 -Cpublic -w 99,20 -c 100,30
Ram : 36%, Swap : 0% : ; OK


Enjoy the setting.
Read More
Posted in | No comments

Can't locate Net/SNMP.pm in @INC (@INC contain s:

Posted on 3:06 AM by Unknown
Can't locate Net/SNMP.pm in @INC (@INC contain s: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_snmp_load.pl line 15.
BEGIN failed--compilation aborted at ./check_snmp_load.pl line 15


To Resolve this issue...

Download Net-SNMP-v6.0.0.tar.gz

Suppose you download under /tmp dir.

Now extract the package.

[root@Test_Srv tmp]# tar -xvzf Net-SNMP-v6.0.0.tar.gz

Now installation steps.

# cd /tmp/Net-SNMP-v6.0.0

[root@Test_Srv Net-SNMP-v6.0.0]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SNMP

[root@Test_Srv Net-SNMP-v6.0.0]# make test

t/ber....ok
t/dsp....ok
t/mp.....ok
t/usm....ok
All tests successful.
Files=4, Tests=43, 4 wallclock secs ( 0.35 cusr + 0.02 csys = 0.37 CPU)

Finally run make install.

#[root@GCash-Test_Srv Net-SNMP-v6.0.0]# make install
Manifying blib/man1/snmpkey.1

Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Net/SNMP/.packlist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod
Read More
Posted in | No comments

Friday, January 22, 2010

Disk Performance Monitoring

Posted on 12:44 AM by Unknown
For Linux

Package Name is sysstat

sysstat.i586 : The sar and iostat system monitoring commands


#[root@inf1sysadm1 ~]# sar -d 1 1
Linux 2.6.30.10-105.fc11.i586 (inf1sysadm1.ind.com) 01/22/2010

02:30:57 PM DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util
02:30:58 PM dev8-0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
02:30:58 PM dev8-1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
02:30:58 PM dev8-2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
02:30:58 PM dev8-3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
02:30:58 PM dev8-4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

********** -d Report activity for each block device ***********

#[root@inf1sysadm1 ~]# sar -u 1 1
Linux 2.6.30.10-105.fc11.i586 (inf1sysadm1.ind.com) 01/22/2010

02:34:29 PM CPU %user %nice %system %iowait %steal %idle
02:34:30 PM all 6.37 0.00 2.94 0.00 0.00 90.69
Average: all 6.37 0.00 2.94 0.00 0.00 90.69

****** -u 2 5 Report CPU utilization for each 2 seconds.5lines are displayed.*****



[root@inf1sysadm1 ~]# iostat 1 1
Linux 2.6.30.10-105.fc11.i586 (inf1sysadm1.ind.com) 01/22/2010

avg-cpu: %user %nice %system %iowait %steal %idle
5.63 0.44 2.72 1.28 0.00 89.94

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 7.15 99.33 38.85 1510463 590764
sda1 0.01 0.17 0.00 2624 4
sda2 7.10 98.47 38.39 1497306 583704
sda3 0.00 0.11 0.00 1715 0
sda4 0.04 0.53 0.46 8002 7056


--------------------------For Solaris---------------------------

# iostat -xc
extended device statistics cpu
device r/s w/s kr/s kw/s wait actv svc_t %w %b us sy wt id
fd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 8 64 27 0
sd0 51.1 0.2 6545.1 1.6 0.0 1.8 34.7 0 100
sd1 84.7 0.0 10615.1 0.0 0.0 1.6 19.0 1 98
sd4 27.6 6.8 220.5 51.6 0.0 2.9 83.0 0 98
sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0
nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0

Looks like disk 'sd0' is really busy (100% busy!). Next step is to find out what is using it.

The fields have the following meanings:

disk name of the disk
r/s reads per second
w/s writes per second
Kr/s kilobytes read per second
Kw/s kilobytes written per second
wait average number of transactions waiting for ser-
vice (queue length)
actv average number of transactions actively being
serviced (removed from the queue but not yet
completed)

%w percent of time there are transactions waiting
for service (queue non-empty)
%b percent of time the disk is busy (transactions
in progress)


---------------------For AIX --------------------------------

On AIX 5.3

mypc:/#sar -d 1 1

AIX MYDB01 3 5 00C830104C00 01/22/10

System configuration: lcpu=14 drives=22 ent=3.50 mode=Capped

15:07:32 device %busy avque r+w/s Kbs/s avwait avserv

15:07:33 hdisk0 0 0.0 0 3 0.0 7.7
hdisk1 0 0.0 0 0 0.0 0.0
hdisk2 11 0.0 14 6087 0.0 12.5
hdisk3 10 0.0 12 6087 0.0 9.0
dac0 0 0.0 1953 96713 0.3 7.1
dac0utm 0 0.0 0 0 0.0 0.0
dac1 0 0.0 752 20925 0.0 5.5
dac1utm 0 0.0 0 0 0.0 0.0
hdisk4 99 0.0 542 67378 1.2 12.6
hdisk5 93 0.0 752 20925 0.0 5.5
hdisk6 98 0.0 549 18856 0.0 5.3



MyPC:/#iostat aux 1 1
iostat: 0551-154 Disk aux is not found.

System configuration: lcpu=14 drives=22 ent=3.50 paths=4 vdisks=0

tty: tin tout avg-cpu: % user % sys % idle % iowait physc % entc
0.0 126.5 66.4 24.7 4.5 4.3 3.2 92.3

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 2.9 19.6 4.9 16 4
hdisk1 1.0 3.9 1.0 0 4
hdisk2 98.0 65822.5 117.6 4660 62479
hdisk3 92.2 65771.6 106.9 5632 61455
dac0 0.0 115247.1 2169.6 83980 33572
dac0utm 0.0 0.0 0.0 0 0
dac1 0.0 21851.0 395.1 2640 19648
dac1utm 0.0 0.0 0.0 0 0


*****disk Read throughput:

# time dd if=/tmp/f66mb.out of=/dev/null bs=1024k
63+1 records in.
63+1 records out.

real 0m2.04s
user 0m0.00s
sys 0m1.05s

The 'time' command shows the amount of time it took to complete the read. The read throughput
in this example is about 33MB per second (66MB / 2.04 seconds real time)

******measure disk Write throughput

# sync; date; dd if=/dev/zero of=/tmp/1000m bs=1024k count=1000; date; sync; date
Thu Jan 5 23:02:41 PST 2006
1000+0 records in.
1000+0 records out.
Thu Jan 5 23:02:59 PST 2006
Thu Jan 5 23:02:59 PST 2006

In this example, dd completed after 18 seconds (23:02:59 - 23:02:41) and wrote with 55MB
per second (1GB / 18 seconds).
Read More
Posted in | No comments

Wednesday, January 20, 2010

Nagios installation steps on RHEL 4

Posted on 11:14 PM by Unknown
Tested on RHEL4 + Fedora 11 + CentOs 5.3 (in my environment)

Download latest stable release.

1)Nagios-3.2.0.tar.gz
2)Nagios-plugins-1.4.14.tar.gz

Before Installation check the Prerequisites.
like this
#rpm -qa | grep httpd

If the prerequisite not installed ..use the following steps to install.

#yum install httpd php

#yum install gcc glibc glibc-common

#yum install gd gd-devel

Once you installed then follow next steps.

*** Login as Root on the machine ***

Add Nagios user

#useradd -m nagios

#passwd nagios ( but not required)

Now add Group,Add both the nagios user and the apache user to this group.

#groupadd nagcmd

#usermod -a -G nagcmd nagios

#usermod -a -G nagcmd apache


**** Installation Begin *******

Suppose you downloaded both packages under tmp dir

#cd /tmp

Now Extract nagios package

#tar -xvzf nagios-3.2.0.tar.gz

Now enter nagios dir.

#cd nagios-3.2.0

Now Run this command to script...

#./configure --with-command-group=nagcmd

Compile the Nagios source code.

#make all


Install binaries, init script, sample config files and set permissions on the external command directory.

#make install

#make install-init

#make install-config

#make install-commandmode

Now add you email id in configuration

#vi /usr/local/nagios/etc/objects/contacts.cfg

on line number 35 you found like this
email nagios@localhost ; <<**** * CHANGE THIS TO YOUR EMAIL ADDRESS ******

Add your mail id..on which you want the alerts.

Save the file & quit.

*****Now configure web interface*******

#make install-webconf

#htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

#service httpd restart


****Now Install Nagios Plugin****

#cd /tmp

#tar -xvzf nagios-plugins-1.4.14.tar.gz

#cd nagios-plugins-1.4.14

#./configure --with-nagios-user=nagios --with-nagios-group=nagios

------------Note:-- On Red Hat machines you find message like this------------
configure: See http://nagiosplugins.org/faq/compile/configure_appears_to_hang if this next part takes a long time
checking for redhat spopen problem...

To solve this run the following command.

#./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-redhat-pthread-workaround

-------------------------------------------------------------------------------------

#make

#make install



Nagios start automatically when the reboot the system.

#chkconfig --add nagios

#chkconfig nagios on

Verify the Nagios configuration files.

#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

if there are no errors, start Nagios.

#service nagios start

------------------------------------------------------------
Make sure Selinux disable

#[root@inf1sysadm1 ~]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=disabled


Reboot the system after this setting.

Now login on web interface.

http://your-machine-ip/nagios/


Its time to Play with Nagios configuration........ enjoy it ...
Read More
Posted in | No comments

Monday, January 18, 2010

Wireless Issue -Dell Vostro 1520 - Fedora 11 (Broadcom corporation BCM 4312 802.11b/g (rev 01) )

Posted on 3:42 AM by Unknown
Wireless Issue -Dell Vostro 1520 - Fedora 11 (Broadcom corporation BCM 4312 802.11b/g (rev 01) )

#lspci

(with this command you can find the details)

First rum this command as a root user

# rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

Now update the system.

#yum update -y

Once everything installed run this command.

#yum install wl-kmod -y

After this reboot your system.
Hope your wirelss working.

:)
Read More
Posted in | No comments

Friday, January 8, 2010

Skype in Fedora 11 audio + video sucessfully working

Posted on 2:04 AM by Unknown
After installation of Fedora 11

Run update ..like this.

#yum update -y

After this check rpm for skype.

[root@inf1sysadm1 Download]# rpm -qa | grep skype
skype-2.1.0.47-fc10.i586

Mean rpm insatlled... if not then download from this link..

http://www.skype.com/go/getskype-linux-beta-fc10

after download install like this..

[root@inf1sysadm1 Download]# rpm -ivh skype-2.1.0.47-fc10.i586.rpm
Preparing... ########################################### [100%]
1:skype ########################################### [100%]

Now create your skype account and login.

Make test call for check audio + video.

*****Troubleshooting**********

1) Right click on skype then ---> option

from left side ...choose sound device.

Microphone :-- pulseAudio Server (local)
speaker :- pulseAudio Server (local)
Ringing :- pulseAudio Server (local)


As per my hardware i.e dell vostro 1510

You can make test call & sound from this menu as well.


2) If you found you Mic not working...then go in

System > preference > sound

in 3rd tab you able to see Input ... Adjust according to yours..... (min in middle)


Now Audio + video skype calls work for you....

Cheers....
Read More
Posted in | No comments

Wednesday, January 6, 2010

vpnc: peer selected (single) DES as "encryption" method

Posted on 4:12 AM by Unknown
When you trying to vpnc and get following message

#vpnc abc

[root@inf1sysadm1 vpnc]# vpnc abc
vpnc: peer selected (single) DES as "encryption" method.
This algorithm is considered too weak today
If your vpn concentrator admin still insists on using DES
use the "--enable-1des" option



To resolve this simply use this command.

[root@inf1sysadm1 vpnc]# vpnc --enable-1des abc
VPNC started in background (pid: 9444)...


Hope this will work for you :)
Read More
Posted in | No comments

cisco VPN .pcf file run under VPNC

Posted on 2:35 AM by Unknown
Through VPNC you can connect cisco vpn (.pcf) form Linux machine.
Make sure vpnc rpm installed on your machine.

1) #rpm -qa | grep vpnc

vpnc-0.5.3-3.fc11.i586

2) configure vpnc under /etc/vpnc
like this

[root@inf1sysadm1 vpnc]# cat raman (raman connection name)
IPSec gateway my.site.com.my
IPSec ID groupOther
IPSec obfuscated secret (****mentioned in pcf file****)
# your username goes here:
Xauth username raman
Xauth password (**password**)

3) After save the file run
#vpnc raman

[root@inf1sysadm1 vpnc]# vpnc raman
Connect Banner:
| Welcome to raman Enterprise Network via VPN
|
| You are connected as raman Contractors, Consultants, Vendors, etc.
|
| Unauthorized access is prohibited
| Violators will be prosecuted
| * You have been warned *

VPNC started in background (pid: 8811)...

This message show your connection established.

You can use following command for link status

#route -n



Now connect internal machines

4) ssh root@10.0.201.102 (internal ip)


Hope this will work for you.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • response to SOA query was unsuccessful: solved
    check your zone file [root@inf1sysadm1 data]# pwd /var/named/data # cat ind.raman.com.zone $ORIGIN . $TTL 3600 ; 1 hour ind.raman.com IN SO...
  • can't locate your x11 installation Fedora
    While install Conky, system through this error. Solution:- You need to install X11 Software Dev Package. Login on system with root user ...
  • Qmail Installation & Configuration step by step
    Tested under CentOS 5.8  64bit machine. 1)Packges which i installed for Qmail. httpd-2.2.3-76 php-5.1.6-39 perl-5.8.8 -38 gcc-4.1.2 mysql-5....
  • Dell MD3200 SAS Cabling With Diagram
    I have 2 MD3200 with SAS Ports + 2 Power Edge720. Task to connect Both DAS with Both server and make sure Both server showing  all DAS Parti...
  • It is safe to clean windows prefetch folder and registry folder ?
     It is safe to clean windows prefetch folder and registry folder ? Will this boost Windows operating system capabilities ? Many of you hav...
  • Windows 7 & Windows 8 fail to start
    Windows 7 fail to boot, what should I do? Is Windows 7 failing to boot after you installed the loader or after you just installed a fresh ne...
  • Steps how to change VolStatus in Bacula through bonsole.
    In my example MediaId=4 or Volumename=000018L4 shows volstatus is Purged. *list volumes Pool: Default +---------+------------+-----------+--...
  • Adobe Photoshop CS5 Error 16 , Adobe Photoshop CS5 Error 7
    When you install Adobe Photoshop CS5 you might get some errors. In case you get one you will see a code and a little description. Is very im...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ►  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ►  January (9)
  • ►  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ►  September (4)
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2011 (36)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (7)
  • ▼  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ▼  January (8)
      • ERROR: Description table : The requested table is ...
      • Can't locate Net/SNMP.pm in @INC (@INC contain s:
      • Disk Performance Monitoring
      • Nagios installation steps on RHEL 4
      • Wireless Issue -Dell Vostro 1520 - Fedora 11 (Broa...
      • Skype in Fedora 11 audio + video sucessfully working
      • vpnc: peer selected (single) DES as "encryption" m...
      • cisco VPN .pcf file run under VPNC
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile