From alok.rhct at gmail.com Fri Apr 10 11:45:11 2009 From: alok.rhct at gmail.com (alok pandey) Date: Fri, 10 Apr 2009 17:15:11 +0530 Subject: Fwd: How to WIPE Service with D+ STAT In-Reply-To: References: Message-ID: Hi Recently I experienced a problem on one of user-desktop machine (centos5.2), when a user(with all access) deleted the file /var/log/messages to free some space (as df -h was showing /var 100% full), but still df -h shows 100% full. It takes around 10 min to figure out the problem. To resolve it, I just reloaded the syslog service. ( I was luck that user told me what he did before, otherwise I am sure it will take min of 1 to 2 hour ) I want to know that is there any way to get perfect details of such misguiding output. (one i know is fuser, but i didn't find it's helpful). To be more specific about problem I want to know ,Is there any way in Linux(centos) to do the following :- --Remove/reload/wipe process who's ps output comes with D+ stat --How to trace running script/process , were it is blocked/hold (basically exact line of script) --process/users details of using resource ( disk partition, memory, files, etc) . -- Thanks ALOK PANDEY -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: From alok.rhct at gmail.com Fri Apr 10 11:45:35 2009 From: alok.rhct at gmail.com (alok pandey) Date: Fri, 10 Apr 2009 17:15:35 +0530 Subject: Fwd: IPtables logs, coming to *tty and in dmesg In-Reply-To: References: Message-ID: Hi GURUS, I have configured iptables to log all incoming packets in a separate file at /var/log location. which is working fine, but the problem is : --The logs are displayed to all terminal, dmesg along with the actual file (i.e /var/log/firewall.log) My syslog contains : ##DUMP FIREWALL LOG : Added by Firewall Script kern.warn /var/log/firewall.log kern.info /var/log/firewall.log kern.none /dev/console After googling around, i tried to fix this by changing the /proc/sys/kernel/printk value. FYI, my system current printk value is "3 4 1 7 " I have no idea , what these value stands for , but it's not able to save my dmesg problem. Thanks in advance for your suggestions. -- Thanks ALOK PANDEY -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: From alok.rhct at gmail.com Fri Apr 10 12:02:27 2009 From: alok.rhct at gmail.com (alok pandey) Date: Fri, 10 Apr 2009 17:32:27 +0530 Subject: Problem with compiled kernel 2.6.26fc+ unable to identify cdrom format Message-ID: HI All, Recently I compiled a linux fedora kernel (2.6.27fc_x86_64bit) for stata support. After successful compilation and installation with new kernel, :- --System is not able to mount cdrom. --Always generate error, "medium not found" --dmesg have an entry some thing like " unable to understand cdrom format" I don't know what went wrong, but i cross checked my new kernel config and my new kernel have following support:- (in respect of cdrom) --SCSI device drive support [*] --iso9660 file system support [*] --ata-ide device support [*] I am attaching my kernel.conf file as attachment for better understanding. let me know if some other information is need in order to understand my issue. Also, I am highly confused in selection of modules as static or dynamic. It will be great help if any one can suggest me the rule/law behind dynamic[M] and static[*] selection of kernel modules. *I just need to ask , what if i select all kernel modules as lodable modules [M] instead of static modules [*] or vice versa !! Thanks -A -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricks at nerd.com Fri Apr 10 16:43:20 2009 From: ricks at nerd.com (Rick Stevens) Date: Fri, 10 Apr 2009 09:43:20 -0700 Subject: Fwd: How to WIPE Service with D+ STAT In-Reply-To: References: Message-ID: <49DF7728.8030900@nerd.com> alok pandey wrote: > Hi > Recently I experienced a problem on one of user-desktop machine > (centos5.2), when a user(with all access) deleted the file > /var/log/messages to free some space (as df -h was showing /var 100% > full), but still df -h shows 100% full. > It takes around 10 min to figure out the problem. To resolve it, I just > reloaded the syslog service. ( I was luck that user told me what he did > before, otherwise I am sure it will take min of 1 to 2 hour ) > > > I want to know that is there any way to get perfect details of such > misguiding output. (one i know is fuser, but i didn't find it's helpful). > > To be more specific about problem I want to know ,Is there any way in > Linux(centos) to do the following :- > --Remove/reload/wipe process who's ps output comes with D+ stat > --How to trace running script/process , were it is blocked/hold (basically > exact line of script) > --process/users details of using resource ( disk partition, memory, files, > etc) . When you free up space in a directory, all of the files in that directory must be closed before the free space will appear. As long as a program holds an open file there, the free space won't appear. In your case, syslog was holding /var/log/messages open so the free space was hidden. When you restarted syslog, it closed /var/log/messages allowing the true state of things to appear. It then reopened the file and life continues. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Better to understand a little than to misunderstand a lot. - ---------------------------------------------------------------------- From ricks at nerd.com Fri Apr 10 17:16:57 2009 From: ricks at nerd.com (Rick Stevens) Date: Fri, 10 Apr 2009 10:16:57 -0700 Subject: Fwd: IPtables logs, coming to *tty and in dmesg In-Reply-To: References: Message-ID: <49DF7F09.4090706@nerd.com> alok pandey wrote: > Hi GURUS, > I have configured iptables to log all incoming packets in a separate file at > /var/log location. > which is working fine, but the problem is : > --The logs are displayed to all terminal, dmesg along with the actual file > (i.e /var/log/firewall.log) > > My syslog contains : > ##DUMP FIREWALL LOG : Added by Firewall Script > kern.warn /var/log/firewall.log > kern.info /var/log/firewall.log Why two? Are you using two different levels of logging in iptables? > kern.none /dev/console > > > > After googling around, i tried to fix this by changing the > /proc/sys/kernel/printk value. > FYI, my system current printk value is "3 4 1 7 " > I have no idea , what these value stands for , but it's not able to save my > dmesg problem. Unless you know what you're doing, don't screw with things in /proc. Bad idea. By default, klogd (the kernel logger) will send any message that has a priority lower than 7 (DEBUG) to the console and that's why your stuff is appearing. If you change your iptables logging to "--log-level=7", change the /etc/syslog.conf to kern.debug /var/log/firewall.log and restart the kernel and system loggers ("service syslog restart"), you should be fine. If you want to change the level at which klogd starts sending things to the console, edit /etc/sysconfig/syslog and add "-c n" to the "KLOGD_OPTIONS" line, e.g. KLOGD_OPTIONS="-x -c 5" This will make klogd only send messages lower than priority 5 (LOG_NOTICE) to the console. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - A friend said he climbed to the top of Mount Rainier. My view is - - that if there's no elevator, it must not be that interesting. - ---------------------------------------------------------------------- From alok.rhct at gmail.com Mon Apr 13 04:40:27 2009 From: alok.rhct at gmail.com (alok pandey) Date: Mon, 13 Apr 2009 10:10:27 +0530 Subject: Fwd: How to WIPE Service with D+ STAT In-Reply-To: <49DF7728.8030900@nerd.com> References: <49DF7728.8030900@nerd.com> Message-ID: HI Rick, Thanks for your time but I am already aware of what you have stated, I am more ,about my other queries, i.e --Remove/reload/wipe process who's ps output comes with D+ stat --How to trace running script/process , were it is blocked/hold (basically exact line of script), (any combination of linux command) --process/users details of using resource ( disk partition, memory, files, etc) .(other than fuser)?. It will be a great help to me if you (or any one) can provide me a pointer regarding the same. Btw, Thanks again for your support. --Alok On 4/10/09, Rick Stevens wrote: > > alok pandey wrote: > >> Hi >> Recently I experienced a problem on one of user-desktop machine >> (centos5.2), when a user(with all access) deleted the file >> /var/log/messages to free some space (as df -h was showing /var 100% >> full), but still df -h shows 100% full. >> It takes around 10 min to figure out the problem. To resolve it, I just >> reloaded the syslog service. ( I was luck that user told me what he did >> before, otherwise I am sure it will take min of 1 to 2 hour ) >> >> >> I want to know that is there any way to get perfect details of such >> misguiding output. (one i know is fuser, but i didn't find it's helpful). >> >> To be more specific about problem I want to know ,Is there any way in >> Linux(centos) to do the following :- >> --Remove/reload/wipe process who's ps output comes with D+ stat >> --How to trace running script/process , were it is blocked/hold >> (basically >> exact line of script) >> --process/users details of using resource ( disk partition, memory, >> files, >> etc) . >> > > When you free up space in a directory, all of the files in that > directory must be closed before the free space will appear. As long as > a program holds an open file there, the free space won't appear. > > In your case, syslog was holding /var/log/messages open so the free > space was hidden. When you restarted syslog, it closed > /var/log/messages allowing the true state of things to appear. It then > reopened the file and life continues. > > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer ricks at nerd.com - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - Better to understand a little than to misunderstand a lot. - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: From alok.rhct at gmail.com Mon Apr 13 11:41:14 2009 From: alok.rhct at gmail.com (alok pandey) Date: Mon, 13 Apr 2009 17:11:14 +0530 Subject: Problem with compiled kernel 2.6.26fc+ unable to identify cdrom format In-Reply-To: References: Message-ID: HI, Still waiting for response, putting some more information for your better understanding. Exact error: in dmesg scsi 4:0:0:0: Direct-Access Dell Virtual Floppy 123 PQ: 0 ANSI: 0 CCS scsi 3:0:0:0: CD-ROM Dell Virtual CDROM 123 PQ: 0 ANSI: 0 CCS sd 4:0:0:0: [sdc] Attached SCSI removable disk "ISOFS: Unable to identify CD-ROM format" Btw, I can mount ISO image successfully (i.e mount -t iso9660 -o lo /path/to/image /mount/point), So i am sure FS is well supported. Attaching my config files as. LSPCI.txt :-> output of LSPCI command image-kernel-smpx86.conf:-> Kernel config paramater Bootfloppy-kernelXX.conf:->Boot image kernel config I have compiled the kernel to support cd-rom with my best linux knowledge, but unfortunately it's not working for me. I am quit sure that my kernel have all the required option enabled , it seems to me as kernel bug. You comment/suggestion is needed. Plz help. Thanks Alok Pandey On 4/10/09, alok pandey wrote: > > HI All, > Recently I compiled a linux fedora kernel (2.6.27fc_x86_64bit) for stata > support. After successful compilation and installation with new kernel, :- > --System is not able to mount cdrom. > --Always generate error, "medium not found" > --dmesg have an entry some thing like " unable to understand cdrom format" > > I don't know what went wrong, but i cross checked my new kernel config and > my new kernel have following support:- (in respect of cdrom) > --SCSI device drive support [*] > --iso9660 file system support [*] > --ata-ide device support [*] > > I am attaching my kernel.conf file as attachment for better understanding. > let me know if some other information is need in order to understand my > issue. > > Also, > I am highly confused in selection of modules as static or dynamic. It will > be great help if any one can suggest me the rule/law behind dynamic[M] and > static[*] selection of kernel modules. > > *I just need to ask , what if i select all kernel modules as lodable > modules [M] instead of static modules [*] or vice versa !! > > Thanks > -A > -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 00:00.0 Host bridge: Intel Corporation 5000X Chipset Memory Controller Hub (rev 12) 00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev 12) 00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 12) 00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev 12) 00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 5 (rev 12) 00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev 12) 00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 7 (rev 12) 00:10.0 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12) 00:10.1 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12) 00:10.2 Host bridge: Intel Corporation 5000 Series Chipset FSB Registers (rev 12) 00:11.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 12) 00:13.0 Host bridge: Intel Corporation 5000 Series Chipset Reserved Registers (rev 12) 00:15.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 12) 00:16.0 Host bridge: Intel Corporation 5000 Series Chipset FBD Registers (rev 12) 00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 09) 00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09) 00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09) 00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09) 00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d9) 00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 09) 00:1f.1 IDE interface: Intel Corporation 631xESB/632xESB IDE Controller (rev 09) 01:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev 09) 02:08.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068 PCI-X Fusion-MPT SAS (rev 01) 03:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) 04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 05:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01) 05:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01) 06:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01) 06:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01) 07:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) 08:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 0b:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) 0c:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 0e:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) 0f:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 11:0d.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02) -------------- next part -------------- A non-text attachment was scrubbed... Name: image-kernel-smp-x86_64.conf Type: application/octet-stream Size: 47702 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bootfloppy-kernel-uni-x86_64.conf Type: application/octet-stream Size: 38448 bytes Desc: not available URL: From ricks at nerd.com Mon Apr 13 17:31:10 2009 From: ricks at nerd.com (Rick Stevens) Date: Mon, 13 Apr 2009 10:31:10 -0700 Subject: Fwd: How to WIPE Service with D+ STAT In-Reply-To: References: <49DF7728.8030900@nerd.com> Message-ID: <49E376DE.6060608@nerd.com> alok pandey wrote: > HI Rick, > Thanks for your time but I am already aware of what you have stated, I am > more ,about my other queries, i.e > --Remove/reload/wipe process who's ps output comes with D+ stat You really can't. A process in a D state is in an I/O wait state. Until that I/O is satisfied (disk, network, keyboard, whatever), the process will remain. The only way out is to either give it the I/O it wants or reboot. Sorry. > --How to trace running script/process , were it is blocked/hold (basically > exact line of script), (any combination of linux command) You can use the "-p " option of strace to attach to and trace a running process. > --process/users details of using resource ( disk partition, memory, files, > etc) .(other than fuser)?. Have you looked at ac/accton/last/sa and their kin? Brief HOWTO: http://tldp.org/HOWTO/Process-Accounting/index.html Also have a look at sar and it's bits and pieces. Note that bottom posting is preferred on this and most of the other Red Hat/Fedora mailing lists. > It will be a great help to me if you (or any one) can provide me a pointer > regarding the same. > Btw, > Thanks again for your support. > > --Alok > > > On 4/10/09, Rick Stevens wrote: >> alok pandey wrote: >> >>> Hi >>> Recently I experienced a problem on one of user-desktop machine >>> (centos5.2), when a user(with all access) deleted the file >>> /var/log/messages to free some space (as df -h was showing /var 100% >>> full), but still df -h shows 100% full. >>> It takes around 10 min to figure out the problem. To resolve it, I just >>> reloaded the syslog service. ( I was luck that user told me what he did >>> before, otherwise I am sure it will take min of 1 to 2 hour ) >>> >>> >>> I want to know that is there any way to get perfect details of such >>> misguiding output. (one i know is fuser, but i didn't find it's helpful). >>> >>> To be more specific about problem I want to know ,Is there any way in >>> Linux(centos) to do the following :- >>> --Remove/reload/wipe process who's ps output comes with D+ stat >>> --How to trace running script/process , were it is blocked/hold >>> (basically >>> exact line of script) >>> --process/users details of using resource ( disk partition, memory, >>> files, >>> etc) . >>> >> When you free up space in a directory, all of the files in that >> directory must be closed before the free space will appear. As long as >> a program holds an open file there, the free space won't appear. >> >> In your case, syslog was holding /var/log/messages open so the free >> space was hidden. When you restarted syslog, it closed >> /var/log/messages allowing the true state of things to appear. It then >> reopened the file and life continues. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - To err is human, to moo bovine. - ---------------------------------------------------------------------- From ricks at nerd.com Mon Apr 13 17:37:05 2009 From: ricks at nerd.com (Rick Stevens) Date: Mon, 13 Apr 2009 10:37:05 -0700 Subject: Problem with compiled kernel 2.6.26fc+ unable to identify cdrom format In-Reply-To: References: Message-ID: <49E37841.8060407@nerd.com> alok pandey wrote: > HI, > Still waiting for response, putting some more information for your better > understanding. > > Exact error: in dmesg > scsi 4:0:0:0: Direct-Access Dell Virtual Floppy 123 PQ: 0 ANSI: 0 CCS > scsi 3:0:0:0: CD-ROM Dell Virtual CDROM 123 PQ: 0 ANSI: 0 CCS If you see this, then the kernel knows about your CD-ROM device. This is not a kernel issue. > sd 4:0:0:0: [sdc] Attached SCSI removable disk > "ISOFS: Unable to identify CD-ROM format" That's pretty obvious. The CD isn't burned correctly. > Btw, I can mount ISO image successfully (i.e mount -t iso9660 -o lo > /path/to/image /mount/point), So i am sure FS is well supported. It is. This is not a kernel or FS issue, it's a media problem. The CD you're feeding your machine is NOT an ISO9660 CD. The ISO image is fine since you can mount it via loopback, but the CD itself is burned incorrectly. > > Attaching my config files as. > LSPCI.txt :-> output of LSPCI command > image-kernel-smpx86.conf:-> Kernel config paramater > Bootfloppy-kernelXX.conf:->Boot image kernel config > > I have compiled the kernel to support cd-rom with my best linux knowledge, > but unfortunately it's not working for me. I am quit sure that my kernel > have all the required option enabled , it seems to me as kernel bug. > > You comment/suggestion is needed. Plz help. > > Thanks > Alok Pandey > > On 4/10/09, alok pandey wrote: >> HI All, >> Recently I compiled a linux fedora kernel (2.6.27fc_x86_64bit) for stata >> support. After successful compilation and installation with new kernel, :- >> --System is not able to mount cdrom. >> --Always generate error, "medium not found" >> --dmesg have an entry some thing like " unable to understand cdrom format" >> >> I don't know what went wrong, but i cross checked my new kernel config and >> my new kernel have following support:- (in respect of cdrom) >> --SCSI device drive support [*] >> --iso9660 file system support [*] >> --ata-ide device support [*] >> >> I am attaching my kernel.conf file as attachment for better understanding. >> let me know if some other information is need in order to understand my >> issue. >> >> Also, >> I am highly confused in selection of modules as static or dynamic. It will >> be great help if any one can suggest me the rule/law behind dynamic[M] and >> static[*] selection of kernel modules. >> >> *I just need to ask , what if i select all kernel modules as lodable >> modules [M] instead of static modules [*] or vice versa !! >> >> Thanks >> -A >> > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe -- ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - LOOK OUT!!! BEHIND YOU!!! - ---------------------------------------------------------------------- From alok.rhct at gmail.com Tue Apr 14 04:07:45 2009 From: alok.rhct at gmail.com (alok pandey) Date: Tue, 14 Apr 2009 09:37:45 +0530 Subject: Problem with compiled kernel 2.6.26fc+ unable to identify cdrom format In-Reply-To: <49E37841.8060407@nerd.com> References: <49E37841.8060407@nerd.com> Message-ID: It's happenings with all cd, apparently , that same cd get mounted successfully on other linux machines. What to do next ..? --Alok On 4/13/09, Rick Stevens wrote: > > alok pandey wrote: > >> HI, >> Still waiting for response, putting some more information for your better >> understanding. >> >> Exact error: in dmesg >> scsi 4:0:0:0: Direct-Access Dell Virtual Floppy 123 PQ: 0 ANSI: 0 CCS >> scsi 3:0:0:0: CD-ROM Dell Virtual CDROM 123 PQ: 0 ANSI: 0 CCS >> > > If you see this, then the kernel knows about your CD-ROM device. This > is not a kernel issue. > > sd 4:0:0:0: [sdc] Attached SCSI removable disk >> "ISOFS: Unable to identify CD-ROM format" >> > > That's pretty obvious. The CD isn't burned correctly. > > Btw, I can mount ISO image successfully (i.e mount -t iso9660 -o lo >> /path/to/image /mount/point), So i am sure FS is well supported. >> > > It is. This is not a kernel or FS issue, it's a media problem. The CD > you're feeding your machine is NOT an ISO9660 CD. The ISO image is > fine since you can mount it via loopback, but the CD itself is burned > incorrectly. > > >> Attaching my config files as. >> LSPCI.txt :-> output of LSPCI command >> image-kernel-smpx86.conf:-> Kernel config paramater >> Bootfloppy-kernelXX.conf:->Boot image kernel config >> >> I have compiled the kernel to support cd-rom with my best linux knowledge, >> but unfortunately it's not working for me. I am quit sure that my kernel >> have all the required option enabled , it seems to me as kernel bug. >> >> You comment/suggestion is needed. Plz help. >> >> Thanks >> Alok Pandey >> >> On 4/10/09, alok pandey wrote: >> >>> HI All, >>> Recently I compiled a linux fedora kernel (2.6.27fc_x86_64bit) for stata >>> support. After successful compilation and installation with new kernel, >>> :- >>> --System is not able to mount cdrom. >>> --Always generate error, "medium not found" >>> --dmesg have an entry some thing like " unable to understand cdrom >>> format" >>> >>> I don't know what went wrong, but i cross checked my new kernel config >>> and >>> my new kernel have following support:- (in respect of cdrom) >>> --SCSI device drive support [*] >>> --iso9660 file system support [*] >>> --ata-ide device support [*] >>> >>> I am attaching my kernel.conf file as attachment for better >>> understanding. >>> let me know if some other information is need in order to understand my >>> issue. >>> >>> Also, >>> I am highly confused in selection of modules as static or dynamic. It >>> will >>> be great help if any one can suggest me the rule/law behind dynamic[M] >>> and >>> static[*] selection of kernel modules. >>> >>> *I just need to ask , what if i select all kernel modules as lodable >>> modules [M] instead of static modules [*] or vice versa !! >>> >>> Thanks >>> -A >>> >>> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Redhat-install-list mailing list >> Redhat-install-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-install-list >> To Unsubscribe Go To ABOVE URL or send a message to: >> redhat-install-list-request at redhat.com >> Subject: unsubscribe >> > > > -- > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer ricks at nerd.com - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - LOOK OUT!!! BEHIND YOU!!! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: From alok.rhct at gmail.com Tue Apr 14 08:20:19 2009 From: alok.rhct at gmail.com (alok pandey) Date: Tue, 14 Apr 2009 13:50:19 +0530 Subject: Problem with compiled kernel 2.6.26fc+ unable to identify cdrom format In-Reply-To: References: <49E37841.8060407@nerd.com> Message-ID: Update, Now I can mount that device (cdrom) in ide-mode.(i.e providing kernel boot parameter as all-generic-ide) But still no luck with default parameter. --Is their any way to inform kernel to detect a particular device,partition in ide mode (actually looking for some thing at boot parameter like /dev/sdb1=generic-ide) ?? According to log's, My kernel is able to detect the device also I can mount an iso image with no error(i.e mount -t fs image dir). So what could be problem in middle? I have checked my cd is also perfect. Now I am feeling alone, plz show me some way to proceed !! Btw, My machine have 32G of Ram. could it be a problem for cdrom ?? --Alok On 4/14/09, alok pandey wrote: > > It's happenings with all cd, apparently , that same cd get mounted > successfully on other linux machines. > > What to do next ..? > --Alok > > > On 4/13/09, Rick Stevens wrote: >> >> alok pandey wrote: >> >>> HI, >>> Still waiting for response, putting some more information for your better >>> understanding. >>> >>> Exact error: in dmesg >>> scsi 4:0:0:0: Direct-Access Dell Virtual Floppy 123 PQ: 0 ANSI: 0 CCS >>> scsi 3:0:0:0: CD-ROM Dell Virtual CDROM 123 PQ: 0 ANSI: 0 CCS >>> >> >> If you see this, then the kernel knows about your CD-ROM device. This >> is not a kernel issue. >> >> sd 4:0:0:0: [sdc] Attached SCSI removable disk >>> "ISOFS: Unable to identify CD-ROM format" >>> >> >> That's pretty obvious. The CD isn't burned correctly. >> >> Btw, I can mount ISO image successfully (i.e mount -t iso9660 -o lo >>> /path/to/image /mount/point), So i am sure FS is well supported. >>> >> >> It is. This is not a kernel or FS issue, it's a media problem. The CD >> you're feeding your machine is NOT an ISO9660 CD. The ISO image is >> fine since you can mount it via loopback, but the CD itself is burned >> incorrectly. >> >> >>> Attaching my config files as. >>> LSPCI.txt :-> output of LSPCI command >>> image-kernel-smpx86.conf:-> Kernel config paramater >>> Bootfloppy-kernelXX.conf:->Boot image kernel config >>> >>> I have compiled the kernel to support cd-rom with my best linux >>> knowledge, >>> but unfortunately it's not working for me. I am quit sure that my kernel >>> have all the required option enabled , it seems to me as kernel bug. >>> >>> You comment/suggestion is needed. Plz help. >>> >>> Thanks >>> Alok Pandey >>> >>> On 4/10/09, alok pandey wrote: >>> >>>> HI All, >>>> Recently I compiled a linux fedora kernel (2.6.27fc_x86_64bit) for >>>> stata >>>> support. After successful compilation and installation with new kernel, >>>> :- >>>> --System is not able to mount cdrom. >>>> --Always generate error, "medium not found" >>>> --dmesg have an entry some thing like " unable to understand cdrom >>>> format" >>>> >>>> I don't know what went wrong, but i cross checked my new kernel config >>>> and >>>> my new kernel have following support:- (in respect of cdrom) >>>> --SCSI device drive support [*] >>>> --iso9660 file system support [*] >>>> --ata-ide device support [*] >>>> >>>> I am attaching my kernel.conf file as attachment for better >>>> understanding. >>>> let me know if some other information is need in order to understand my >>>> issue. >>>> >>>> Also, >>>> I am highly confused in selection of modules as static or dynamic. It >>>> will >>>> be great help if any one can suggest me the rule/law behind dynamic[M] >>>> and >>>> static[*] selection of kernel modules. >>>> >>>> *I just need to ask , what if i select all kernel modules as lodable >>>> modules [M] instead of static modules [*] or vice versa !! >>>> >>>> Thanks >>>> -A >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Redhat-install-list mailing list >>> Redhat-install-list at redhat.com >>> https://www.redhat.com/mailman/listinfo/redhat-install-list >>> To Unsubscribe Go To ABOVE URL or send a message to: >>> redhat-install-list-request at redhat.com >>> Subject: unsubscribe >>> >> >> >> -- >> ---------------------------------------------------------------------- >> - Rick Stevens, Systems Engineer ricks at nerd.com - >> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - >> - - >> - LOOK OUT!!! BEHIND YOU!!! - >> ---------------------------------------------------------------------- >> >> _______________________________________________ >> Redhat-install-list mailing list >> Redhat-install-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-install-list >> To Unsubscribe Go To ABOVE URL or send a message to: >> redhat-install-list-request at redhat.com >> Subject: unsubscribe >> > > > > -- > Thanks > ALOK PANDEY -- Thanks ALOK PANDEY -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramin.shariatian at ineo.com Tue Apr 14 08:03:55 2009 From: ramin.shariatian at ineo.com (ramin.shariatian at ineo.com) Date: Tue, 14 Apr 2009 10:03:55 +0200 Subject: Ramin SHARIATIAN est absent(e). Message-ID: Je serai absent(e) ? partir du 14/04/2009 de retour le 20/04/2009. Je r?pondrai ? votre message d?s mon retour. From henders254 at gmail.com Wed Apr 29 03:54:48 2009 From: henders254 at gmail.com (Chris Henderson) Date: Wed, 29 Apr 2009 13:54:48 +1000 Subject: nagios 3.0.6 for RHEL AS 4 Message-ID: I am unable to find this package. up2date nagios or up2date --showall | grep -i nagios gives me nothing. I also did a Package Search from Redhat's website. I found the package from http://rpm.pbone.net/ but I hit dependency hell - it required libperl. I don't want to download and compile from source. How do I install this package? Thanks. From ricks at nerd.com Wed Apr 29 16:38:18 2009 From: ricks at nerd.com (Rick Stevens) Date: Wed, 29 Apr 2009 09:38:18 -0700 Subject: nagios 3.0.6 for RHEL AS 4 In-Reply-To: References: Message-ID: <49F8827A.8000007@nerd.com> Chris Henderson wrote: > I am unable to find this package. up2date nagios or up2date --showall > | grep -i nagios gives me nothing. I also did a Package Search from > Redhat's website. I found the package from http://rpm.pbone.net/ but I > hit dependency hell - it required libperl. Like it or not, a HUGE part of Nagios IS perl, so this requirement is pretty understandable. > I don't want to download and compile from source. How do I install this package? AFAICR it never was available for RHEL4. I think you're going to have to build from scratch or upgrade to RHEL5 (it is available for 5). ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks at nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - A day for firm decisions!!! Well, then again, maybe not! - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Wed Apr 29 17:33:02 2009 From: karlp at ourldsfamily.com (Karl Pearson) Date: Wed, 29 Apr 2009 11:33:02 -0600 (MDT) Subject: nagios 3.0.6 for RHEL AS 4 In-Reply-To: <49F8827A.8000007@nerd.com> References: <49F8827A.8000007@nerd.com> Message-ID: On Wed, April 29, 2009 10:38 am, Rick Stevens wrote: > Chris Henderson wrote: >> I am unable to find this package. up2date nagios or up2date --showall >> | grep -i nagios gives me nothing. I also did a Package Search from >> Redhat's website. I found the package from http://rpm.pbone.net/ but I >> hit dependency hell - it required libperl. > > Like it or not, a HUGE part of Nagios IS perl, so this requirement is > pretty understandable. > >> I don't want to download and compile from source. How do I install >> this package? > > AFAICR it never was available for RHEL4. I think you're going to have > to build from scratch or upgrade to RHEL5 (it is available for 5). So, you might want to consider CPAN. It may be your friend here... Doing i /nagios/ gives this resulting list: cpan[1]> i /nagios/ CPAN: Storable loaded ok (v2.15) Going to read /root/.cpan/Metadata Database was generated on Thu, 16 Apr 2009 11:26:53 GMT CPAN: LWP::UserAgent loaded ok (v2.036) CPAN: Time::HiRes loaded ok (v1.86) Fetching with LWP: ftp://cpan.cs.utah.edu/pub/CPAN/authors/01mailrc.txt.gz CPAN: YAML loaded ok (v0.66) Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok (v2.015) ............................................................................DONE Fetching with LWP: ftp://cpan.cs.utah.edu/pub/CPAN/modules/02packages.details.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 29 Apr 2009 11:26:57 GMT ............................................................................DONE Fetching with LWP: ftp://cpan.cs.utah.edu/pub/CPAN/modules/03modlist.data.gz Going to read /root/.cpan/sources/modules/03modlist.data.gz ............................................................................DONE Going to write /root/.cpan/Metadata Distribution DUNCS/Nagios-Object-0.21.3.tar.gz Distribution GBARR/Nagios-Plugin-Beanstalk-0.04.tar.gz Distribution GBARR/Nagios-Plugin-LDAP-0.04.tar.gz Distribution HOPCROFTS/Nagios-Report-0.003.tar.gz Distribution HOPCROFTS/Nagios-WebTransact-0.16.tar.gz Distribution HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz Distribution HORSHACK/Nagios-Clientstatus-0.06.tar.gz Distribution JLMARTIN/Nagios-Plugin-DieNicely-0.03.tar.gz Distribution MAXSCHUBE/Nagios-Plugin-SNMP-1.0.tgz Distribution MOCONNOR/Nagios-NSCA-0.1.tar.gz Distribution MRDVT/Nagios-Plugin-Simple-0.04.tar.gz Distribution QUATRIX/Nagios-Downtime.tar.gz Distribution TOBEYA/Nagios-Cmd-0.05.tar.gz Distribution TONVOON/Nagios-Plugin-0.32.tar.gz Distribution ZIGOROU/Nagios-Plugins-Memcached-0.02.tar.gz Module ASNMTAP::Asnmtap::Plugins::Nagios (ASNMTAP/ASNMTAP-3.000020.tar.gz) Module Log::Dispatch::Nagios (N/A) Module Nagios::Clientstatus (HORSHACK/Nagios-Clientstatus-0.06.tar.gz) Module Nagios::Cmd (TOBEYA/Nagios-Cmd-0.05.tar.gz) Module Nagios::Cmd::Read (TOBEYA/Nagios-Cmd-0.05.tar.gz) Module Nagios::Config (DUNCS/Nagios-Object-0.21.3.tar.gz) Module Nagios::Config::File (DUNCS/Nagios-Object-0.21.3.tar.gz) Module Nagios::Downtime (QUATRIX/Nagios-Downtime.tar.gz) Module Nagios::NSCA::Base (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::Base (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::CommandLine (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::Config (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::Encrypt (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::InputFilter (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::Server (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Client::Settings (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::DataPacket (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::Encrypt (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::NSCA::InitPacket (MOCONNOR/Nagios-NSCA-0.1.tar.gz) Module Nagios::Object (DUNCS/Nagios-Object-0.21.3.tar.gz) Module Nagios::Object::Config (DUNCS/Nagios-Object-0.21.3.tar.gz) Module Nagios::Plugin (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::Beanstalk (GBARR/Nagios-Plugin-Beanstalk-0.04.tar.gz) Module Nagios::Plugin::CAS (N/A) Module Nagios::Plugin::Config (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::DieNicely (JLMARTIN/Nagios-Plugin-DieNicely-0.03.tar.gz) Module Nagios::Plugin::ExitResult (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::Functions (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::Getopt (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::LDAP (GBARR/Nagios-Plugin-LDAP-0.04.tar.gz) Module Nagios::Plugin::Performance (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::Range (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugin::SNMP (MAXSCHUBE/Nagios-Plugin-SNMP-1.0.tgz) Module Nagios::Plugin::Simple (MRDVT/Nagios-Plugin-Simple-0.04.tar.gz) Module Nagios::Plugin::Threshold (TONVOON/Nagios-Plugin-0.32.tar.gz) Module Nagios::Plugins::Memcached (ZIGOROU/Nagios-Plugins-Memcached-0.02.tar.gz) Module Nagios::Report (HOPCROFTS/Nagios-Report-0.003.tar.gz) Module Nagios::StatusLog (DUNCS/Nagios-Object-0.21.3.tar.gz) Module Nagios::WebTransact (HOPCROFTS/Nagios-WebTransact-0.16.tar.gz) Module Nagios::WebTransact::Timed (HOPCROFTS/Nagios-WebTransact-Timed-0.06.tar.gz) 56 items found Karl > ---------------------------------------------------------------------- > - Rick Stevens, Systems Engineer ricks at nerd.com - > - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - > - - > - A day for firm decisions!!! Well, then again, maybe not! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > --- Karl Pearson Karlp at ourldsfamily.com Owner/Administrator of the sites at http://ourldsfamily.com --- "To mess up your Linux PC, you have to really work at it; to mess up a microsoft PC you just have to work on it." --- Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. --Benjamin Franklin --- From celawrence at lbl.gov Wed Apr 29 18:55:39 2009 From: celawrence at lbl.gov (chuck lawrence) Date: Wed, 29 Apr 2009 11:55:39 -0700 Subject: nagios for RHEL In-Reply-To: <20090429160058.0722B61A256@hormel.redhat.com> References: <20090429160058.0722B61A256@hormel.redhat.com> Message-ID: <49F8A2AB.107@lbl.gov> On 4/29/2009 9:00 AM, redhat-install-list-request at redhat.com wrote: > I am unable to find this package. up2date nagios or up2date --showall > | grep -i nagios gives me nothing. I also did a Package Search from > Redhat's website. I found the package from http://rpm.pbone.net/ but I > hit dependency hell - it required libperl. > > I don't want to download and compile from source. How do I install this package? take a look at the fedora quickstart... http://nagios.sourceforge.net/docs/3_0/quickstart.html I was able to get it installed on centos 5 pretty easily. configuring it beyond the localhost was another story however. and now I have to do it for freebsd, alas. From David.Mackintosh at xdroop.com Wed Apr 29 19:10:08 2009 From: David.Mackintosh at xdroop.com (David.Mackintosh at xdroop.com) Date: Wed, 29 Apr 2009 15:10:08 -0400 Subject: nagios for RHEL In-Reply-To: <49F8A2AB.107@lbl.gov> References: <20090429160058.0722B61A256@hormel.redhat.com> <49F8A2AB.107@lbl.gov> Message-ID: <20090429191008.GC18145@xdroop.com> On Wed, Apr 29, 2009 at 11:55:39AM -0700, chuck lawrence wrote: > >I don't want to download and compile from source. How do I install this > >package? Look into rpmforge. You can just yum install nagios nagios-plugins. There's a short dependancy hell getting Yum working on RH4, but not too steep. You need: - python-elementtree - python-sqlite - python-urlgrabber - sqlite - yum ...all of which can be had at RPMforge. THen install rpmforge-release, and you are good to go. -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jdmfontz at yahoo.com Wed Apr 29 19:17:34 2009 From: jdmfontz at yahoo.com (Martin Fontanez) Date: Wed, 29 Apr 2009 12:17:34 -0700 (PDT) Subject: nagios for RHEL In-Reply-To: <49F8A2AB.107@lbl.gov> Message-ID: <386803.52958.qm@web59207.mail.re1.yahoo.com> Here is a quick cheat sheet for beyond localhost.?? Just finished an install and happen to see this e-mail. ? http://nagios.sourceforge.net/docs/2_0/installweb.html --- On Wed, 4/29/09, chuck lawrence wrote: From: chuck lawrence Subject: Re: nagios for RHEL To: redhat-install-list at redhat.com Date: Wednesday, April 29, 2009, 2:55 PM On 4/29/2009 9:00 AM, redhat-install-list-request at redhat.com wrote: > I am unable to find this package. up2date nagios or up2date --showall > | grep -i nagios gives me nothing. I also did a Package Search from > Redhat's website. I found the package from http://rpm.pbone.net/ but I > hit dependency hell - it required libperl. > > I don't want to download and compile from source. How do I install this package? take a look at the fedora quickstart... http://nagios.sourceforge.net/docs/3_0/quickstart.html I was able to get it installed on centos 5 pretty easily. configuring it beyond the localhost was another story however. and now I have to do it for freebsd, alas. _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: