From harold at hallikainen.com Sun Jan 1 01:09:59 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Sat, 31 Dec 2005 17:09:59 -0800 (PST) Subject: Messed up PCI Again In-Reply-To: <20051231222341.GA21834@bobcat.bobcatos.com> References: <1299.192.168.1.1.1136057744.squirrel@sujan.hallikainen.org> <20051231222341.GA21834@bobcat.bobcatos.com> Message-ID: <56011.192.168.1.1.1136077799.squirrel@sujan.hallikainen.org> > On Sat, Dec 31, 2005 at 11:35:44AM -0800, Harold Hallikainen wrote: >> I previously posted something about my HP laptop running FC4 suddenly >> giving PCI conflict messages during boot, and those keeping my WLAN from >> working. I fixed it by doing a re-install of FC4. >> >> Well, I did it again! Last night I let yum do a kernel update. I think >> that's what did it, as now I'm getting those same messages. The wired >> LAN >> still works, so I have net access on the machine. >> >> How do I go back to a previous version of the kernel? RH8 used to ask me >> during boot which version I wanted to boot. My installation of FC4 >> doesn't >> do this. > > I think, in FC4 there is a new option in grub.conf called > "hiddenmenu". The way that works, when the GRUB screen comes up, it > says something about booting kernel- in N seconds. The > timeout is five seconds. If you hit any key during that countdown, > you will get the normal GRUB menu with the choice of however many > kernels you have. > >> Is there some file I can edit to tell it to use a previous >> version (if it's still there) or a way to re-install the previous >> version? > > To go back to the usual GRUB menu, change this in > /boot/grub/grub.conf: > > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > hiddenmenu > > to > > timeout=10 > splashimage=(hd0,0)/grub/splash.xpm.gz > # hiddenmenu > > If you want the older kernel by default, change the "default" > argument. The kernel stanzas in grub.conf are numbered from 0, so you > probably want to change > > default=0 > > to > > default=1 > >> >> THANKS! >> >> Harold > > Happy New Year, > -- > Bob McClure, Jr. Bobcat Open Systems, Inc. > EXCELLENT! Actually, after posting my question, I DID notice that a menu was available during boot (I just never watched it that closely, but there is a hit any key to bring up the boot menu). I tried that and was able to go back to the previous version, and the WLAN works again. I was also digging through my Fedora Core Bible about configuring boot when your email showed up with how to change the default. Works great! THANKS! Happy new year! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com From tyche at ica.net Sun Jan 1 14:13:07 2006 From: tyche at ica.net (tyche) Date: Sun, 1 Jan 2006 14:13:07 +0000 Subject: cdrecord help Message-ID: <200601011413.07470.tyche@ica.net> when i first installed fc2, had no problem with the drive. as far as i know, it may still work. i have replaced it with another atapi drive, but still wont burn cd's. dmesg reports after the system finds the ide controller: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: 32X10, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 78165360 sectors (40020 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100) hda: hda1 hda2 hda3 hda4 hdb: max request size: 128KiB hdb: 80043264 sectors (40982 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133) hdb: hdb1 hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA Uniform CD-ROM driver Revision: 3.20 cdrecord -scanbus reports: scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 Warning: Using badly designed ATAPI via /dev/hd* interface. Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling'). scsibus1: 1,0,0 100) 'ATAPI ' 'CD-R/RW 32X10 ' 'T.LA' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * but when i go to burn a cd, i get: cdrecord dev=1,0,0 -v /home/tyche/isofiles/KNOPPIX_V4.0.2CD2005-09-23-EN.iso cdrecord: No write mode specified. cdrecord: Asuming -tao mode. cdrecord: Future versions of cdrecord may have different drive dependent defaults. cdrecord: Continuing in 5 seconds... Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling Note: This version is an unofficial (modified) version with DVD support Note: and therefore may have bugs that are not present in the original. Note: Please send bug reports or support requests to . Note: The author of cdrecord should not be bothered with problems in this version. TOC Type: 1 = CD-ROM scsidev: '1,0,0' scsibus: 1 target: 0 lun: 0 cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. lsmod returns: .... sg 27552 0 ..... sd_mod 16384 0 scsi_mod 91344 3 sg,libata,sd_mod is there something i am missing? am used to having ide-scsi loaded. any help would be appreciated tyche -- Win9x A 32 bit extention to a 16 bit patch for a 8 bit operating system on a 4 bit machine by a 2 bit company that cant stand 1 bit of competition From ciril at hcl.in Mon Jan 2 11:00:32 2006 From: ciril at hcl.in (Ciril Ignatious T) Date: Mon, 02 Jan 2006 16:30:32 +0530 Subject: Redhat Advanced Server 3.0 update 5 for IA64 In-Reply-To: <20051230172124.3f2bfbfd.erdinc@prosoft.com.tr> References: <43B50D2D.1010908@hclinsys.com> <20051230172124.3f2bfbfd.erdinc@prosoft.com.tr> Message-ID: <43B907D0.7040103@hcl.in> I have reintstalled the OS which is now Redhat Advanced Server 4.0 .Still it is giving very bad performance. Any problem with the configurations of the OS Ali Erdin? K?ro?lu wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, >If you have chance I recommend you to upgrade your system to v4 because v3 has max cpu limit upto 8. >New kernel (2.6) has many advantages [1], anyway I recommend rhel v4 :) > >[1] http://www.redhat.com/en_us/USA/rhel/details/features/ > >On Fri, 30 Dec 2005 16:04:21 +0530 >Ciril Ignatious T wrote: > >| Hi >| >| I have a doubt about Redhat Advanced Server 3.0 update 5 for IA64 . >| We have a 8 way itanium SMP server which is scalable upto 32 way. >| I installed Redhat Advanced Server 3.0 update 5 into the 8 way machine.. >| Now we upgraded the machine to 16 way without reinstalling the OS. >| >| Whether the linux kernel will scale to 16 processors from 8 or is there >| any need for any configuration changes? >| The machine is not showing enough performance when it is scaled to 16 >| way with the same OS. >| >| Whether I have to reinstall the OS to take up the changes? > >- -- >Regards >Ali Erdin? K?ro?lu >http://www.prosoft.com.tr >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) > >iD8DBQFDtVB0l+k9K746qXcRAq7kAJ9cYMOKkQ1IwsSkmtLbliy24htztACeOgQ7 >V4zlCs65RlH/8/iZlRqQqPo= >=vWnb >-----END PGP SIGNATURE----- > >_______________________________________________ >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 > >DISCLAIMER: >-------------------------------------------------------------------------------------------------------------- > >This e-mail contains confidential and/or privileged information. If you are not the intended recipient >(or have received this e-mail in error)please notify the sender immediately and destroy this e-mail. >Any unauthorized copying, disclosure, use or distribution of the material in this e-mail is strictly forbidden. >--------------------------------------------------------------------------------------------------------------- > > > -- CIRIL IGNATIOUS T RESEARCH & DEVELOPMENT HCL INFOSYSTEMS LTD PONDICHERRY From erdinc at prosoft.com.tr Mon Jan 2 10:58:32 2006 From: erdinc at prosoft.com.tr (Ali =?ISO-8859-9?B?RXJkaW7nIEv2cm/wbHU=?=) Date: Mon, 2 Jan 2006 12:58:32 +0200 Subject: Redhat Advanced Server 3.0 update 5 for IA64 In-Reply-To: <43B907D0.7040103@hcl.in> References: <43B50D2D.1010908@hclinsys.com> <20051230172124.3f2bfbfd.erdinc@prosoft.com.tr> <43B907D0.7040103@hcl.in> Message-ID: <20060102125832.14eb468b.erdinc@prosoft.com.tr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What do you mean bad performance? What do you tryin to do and how you measure it? On Mon, 02 Jan 2006 16:30:32 +0530 Ciril Ignatious T wrote: | I have reintstalled the OS which is now Redhat Advanced Server 4.0 | .Still it is giving very bad performance. | Any problem with the configurations of the OS - -- Regards Ali Erdin? K?ro?lu http://www.prosoft.com.tr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDuQdYl+k9K746qXcRAvL2AJ0VgBZvC4jjuHzk+bymkE7mKWFSSACgtiQA z9tc5j1N75LAYq1cQJesBEo= =h5Fc -----END PGP SIGNATURE----- From ciril at hcl.in Mon Jan 2 11:21:17 2006 From: ciril at hcl.in (Ciril Ignatious T) Date: Mon, 02 Jan 2006 16:51:17 +0530 Subject: Redhat Advanced Server 3.0 update 5 for IA64 In-Reply-To: <20060102125832.14eb468b.erdinc@prosoft.com.tr> References: <43B50D2D.1010908@hclinsys.com><20051230172124.3f2bfbfd.erdinc@p rosoft.com.tr><43B907D0.7040103@hcl.in> <20060102125832.14eb468b.erdinc@prosoft.com.tr> Message-ID: <43B90CAD.8080305@hcl.in> Hi I had executed intel optimized linpack benchmark and the results are coming down when it is 16 CPUs if it is 4 CPU it is giving 15 GFlops with 8 CPU giving 15.7 and with 16 CPU it is giving 12 GFlops. MAchine is having 16 CPUs and 16 GB RAM. Regards Ciril Ali Erdin? K?ro?lu wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >What do you mean bad performance? >What do you tryin to do and how you measure it? > >On Mon, 02 Jan 2006 16:30:32 +0530 >Ciril Ignatious T wrote: > >| I have reintstalled the OS which is now Redhat Advanced Server 4.0 >| .Still it is giving very bad performance. >| Any problem with the configurations of the OS > >- -- >Regards >Ali Erdin? K?ro?lu >http://www.prosoft.com.tr >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) > >iD8DBQFDuQdYl+k9K746qXcRAvL2AJ0VgBZvC4jjuHzk+bymkE7mKWFSSACgtiQA >z9tc5j1N75LAYq1cQJesBEo= >=h5Fc >-----END PGP SIGNATURE----- > >_______________________________________________ >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 > >DISCLAIMER: >-------------------------------------------------------------------------------------------------------------- > >This e-mail contains confidential and/or privileged information. If you are not the intended recipient >(or have received this e-mail in error)please notify the sender immediately and destroy this e-mail. >Any unauthorized copying, disclosure, use or distribution of the material in this e-mail is strictly forbidden. >--------------------------------------------------------------------------------------------------------------- > > > -- CIRIL IGNATIOUS T RESEARCH & DEVELOPMENT HCL INFOSYSTEMS LTD PONDICHERRY From rstevens at vitalstream.com Tue Jan 3 19:15:11 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 03 Jan 2006 11:15:11 -0800 Subject: cdrecord help In-Reply-To: <200601011413.07470.tyche@ica.net> References: <200601011413.07470.tyche@ica.net> Message-ID: <1136315711.3340.91.camel@prophead.corp.publichost.com> On Sun, 2006-01-01 at 14:13 +0000, tyche wrote: > when i first installed fc2, had no problem with the drive. as > far as i know, it may still work. i have replaced it with > another atapi drive, but still wont burn cd's. > > dmesg reports after the system finds the ide controller: > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > hdc: 32X10, ATAPI CD/DVD-ROM drive > ide1 at 0x170-0x177,0x376 on irq 15 > hda: max request size: 128KiB > hda: 78165360 sectors (40020 MB) w/8192KiB Cache, > CHS=65535/16/63, UDMA(100) > hda: hda1 hda2 hda3 hda4 > hdb: max request size: 128KiB > hdb: 80043264 sectors (40982 MB) w/7936KiB Cache, > CHS=65535/16/63, UDMA(133) > hdb: hdb1 > hdc: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA > Uniform CD-ROM driver Revision: 3.20 > > cdrecord -scanbus reports: > > scsidev: 'ATA' > devname: 'ATA' > scsibus: -2 target: -2 lun: -2 > Warning: Using badly designed ATAPI via /dev/hd* interface. > Linux sg driver version: 3.5.27 > Using libscg version 'schily-0.8'. > cdrecord: Warning: using inofficial libscg transport code > version (schily - Red Hat-scsi-linux-sg.c-1.80-RH > '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. > Schilling'). > scsibus1: > 1,0,0 100) 'ATAPI ' 'CD-R/RW 32X10 ' 'T.LA' > Removable CD-ROM > 1,1,0 101) * > 1,2,0 102) * > 1,3,0 103) * > 1,4,0 104) * > 1,5,0 105) * > 1,6,0 106) * > 1,7,0 107) * > > but when i go to burn a cd, i get: > > cdrecord dev=1,0,0 > -v /home/tyche/isofiles/KNOPPIX_V4.0.2CD2005-09-23-EN.iso > cdrecord: No write mode specified. > cdrecord: Asuming -tao mode. > cdrecord: Future versions of cdrecord may have different drive > dependent defaults. > cdrecord: Continuing in 5 seconds... > Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) > 1995-2004 J?rg Schilling > Note: This version is an unofficial (modified) version with > DVD support > Note: and therefore may have bugs that are not present in the > original. > Note: Please send bug reports or support requests to > . > Note: The author of cdrecord should not be bothered with > problems in this version. > TOC Type: 1 = CD-ROM > scsidev: '1,0,0' > scsibus: 1 target: 0 lun: 0 > cdrecord: No such file or directory. Cannot open '/dev/sg*'. > Cannot open SCSI driver. > cdrecord: For possible targets try 'cdrecord -scanbus'. Make > sure you are root. > cdrecord: For possible transport specifiers try 'cdrecord > dev=help'. > > lsmod returns: > .... > sg 27552 0 > ..... > sd_mod 16384 0 > scsi_mod 91344 3 sg,libata,sd_mod > > is there something i am missing? am used to having ide-scsi > loaded. > > any help would be appreciated Try "cdrecord dev=ATA:1,0,0" ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "How does that damned three seashell thing work?" - - - Sylvester Stallone, "Demolition Man" - ---------------------------------------------------------------------- From rodrigofariatavares at bol.com.br Thu Jan 5 01:20:46 2006 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Wed, 4 Jan 2006 23:20:46 -0200 Subject: Windows Update vs Squid with AUTH Message-ID: <001201c61196$453c63b0$0100a8c0@faria> Hello, The windows update isn't get make the downloads about Microsoft. I added some words, links full, in squid. Come this error in access.log 10.0.0.11 TCP_DENIED/407 1758 CONNECT update.microsoft.com:443 and come to screen in browser : -------------------------------------------- Type the credential by Proxy ------------------------------------------ Type your credentials for authetication of : User : Password : How I can to reslve it ? Best regards Rodrigo Faria Tavares -------------- next part -------------- An HTML attachment was scrubbed... URL: From lofstead at cc.gatech.edu Thu Jan 5 02:03:26 2006 From: lofstead at cc.gatech.edu (lofstead at cc.gatech.edu) Date: Wed, 4 Jan 2006 21:03:26 -0500 (EST) Subject: adding jfs after the fact Message-ID: <62827.24.196.230.196.1136426606.squirrel@webmail.cc.gatech.edu> I neglected to add jfs support when installing FC4. I can't seem to figure out how to add support for it on a running system. Can anyone suggest a proper way to do this? Thanks Jay Lofstead From tyche at ica.net Wed Jan 4 21:45:27 2006 From: tyche at ica.net (tyche) Date: Wed, 4 Jan 2006 21:45:27 +0000 Subject: cdrecord help In-Reply-To: <1136315711.3340.91.camel@prophead.corp.publichost.com> References: <200601011413.07470.tyche@ica.net> <1136315711.3340.91.camel@prophead.corp.publichost.com> Message-ID: <200601042145.28302.tyche@ica.net> On Tuesday 03 January 2006 19:15, Rick Stevens wrote: > On Sun, 2006-01-01 at 14:13 +0000, tyche wrote: > > when i first installed fc2, had no problem with the > > drive. as far as i know, it may still work. i have > > replaced it with another atapi drive, but still wont burn > > cd's. snip > > Try "cdrecord dev=ATA:1,0,0" will do, thanks rick -- Win9x A 32 bit extention to a 16 bit patch for a 8 bit operating system on a 4 bit machine by a 2 bit company that cant stand 1 bit of competition From brad.mugleston at comcast.net Thu Jan 5 02:47:05 2006 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Wed, 4 Jan 2006 19:47:05 -0700 (MST) Subject: Wireless Help In-Reply-To: <1135709279.7188.1.camel@prophead.corp.publichost.com> References: <1135709279.7188.1.camel@prophead.corp.publichost.com> Message-ID: Rick and List - My replies are within the email below. Thanks, Brad Mugleston, KI0OT There are 10 types of people in this world. Those that understand binary and those that don't. On Tue, 27 Dec 2005, Rick Stevens wrote: > On Mon, 2005-12-26 at 12:11 -0700, brad.mugleston at comcast.net wrote: > > Merry Day after Christmas - hope everyone had a good holiday. > > > > Now down to business - To catch everyone up. > > > > Wanted to upgrade my notebook to FC4 from FC2. The upgrade > > didn't work so I formated and did a fresh install of FC4. > > > > As it has a wireless card I needed to install NdisWrapper (or I > > think I do) to get it running, note I did find a sys file on the > > Linksys web site for this card and it said it was for FC3 - if > > this would work without NdisWrapper can someone direct me as to > > how to install it? > > > > Back to NdisWrapper - it needs the source code for the current > > kernel - in the past I've just downloaded it as an RPM and > > followed the instructions. This time strangeness happened. > > > > The instructions say to link the source to the module directory > > with the following command > > > > ln -s /usr/src/linux- /lib/modules/VERSION/build > > > > I did that replacing "linux-" and "VERSION" > > with the proper (I believe) wording and got the error that the > > link was already there. Asuming that it was from the source > > install I tried to go on with the NdisWrapper install and got the > > error that the link was to the wrong version (which looking at > > it, it was - how that happened I have no idea). > > > > I deleted the link and tried to redo it and get an error - > > any suggestions on how to procede. I'm thinking the instructions > > are for an older version of FC. > > Hi, Brad. > > ndiswrapper uses the Windows drivers (the .inf and .sys files), so > any reference to a ".sys" file that's appropriate for FC3 is kinda > misleading--the .sys file is the Windows driver. > > Now, as to kernel source code. Make sure you do a "yum install > kernel-devel". This will install the kernel headers and such needed to > build most drivers. NOTE: This is NOT the kernel source code. For > that, you need to do a bit more (details later). > DONE > Since you just did an FC4 install, I HIGHLY recommend you perform the > following actions first: > > # yum -y update > (reboot to the new kernel when that's done) > # yum -y install kernel-devel > DONE > Ok, you should have enough to build ndiswrapper at this point. Go into > your ndiswrapper build directory and do "make" and "make install". > Go fetch the .inf and .sys files from your Windows CD for the card and > put them in a directory somewhere (I typically use /usr/local/WinDrv), > then "ndiswrapper -i /path/to/windows/.inf/file" to install the Windows > driver. > Does not work - on running "make" I get the following error: can't find kernel sources in /lib/modules/2.6.14-1.1653_FC4/build Looking there build si a link to /usr/src/redhat/SOURCES and looking in there it looks like (as if I would know) the sources. So, I decided to go ahead and install the kernel as discribed below (please continue down) > Set up your alias in /etc/modprobe.conf: > > alias wlan0 ndiswrapper > > and "modprobe ndiswrapper" to bring it up. > > ---- CLIP HERE FOR USEFUL INFO ON GETTING THE FULL KERNEL SOURCE ---- > Now, regarding kernel source: As I said, FC4 doesn't have anything akin > to the old "kernel-source" RPM from the good old kernel 2.4 days. You > have to do it manually. Here's what I do: > > 1. You have to go to a Fedora mirror somewhere and get the > "kernel-(version).src.rpm". My favorite mirror would be: > > ftp://mirrors.kernel.org/fedora/core/updates/4/SRPMS > GOT this > >From there, download the source RPM for the kernel you're interested in > and save it somewhere. > > 2. Go to your download directory and install the source RPM: > > rpm -ivh kernel-(version).src.rpm > Did this > 3. Now you get to build the kernel source. Change directory to the > "SPECS" directory in the source RPM build tree: > > # cd /usr/src/redhat/SPECS > > Now you have to choose a direction to go. You now configure the source > for your type of CPU and such. Execute one of the following commands: > > # rpmbuild -bp --target=i686 kernel-2.6.spec > # rpmbuild -bp --target=x86_64 kernel-2.6.spec > rpmbuild had not been installed so I installed it from the CD's and it runs > (you get the idea...use "--target=your-cpu-of-choice") > > The system will now go through a bunch of gyrations, unpacking source, > doing patches and the like. When it's done, you have what was > essentially the old "kernel-source" contents, but it's in a different > directory and there's two versions...the "red hat" version and a > "vanilla" version. > > 4. Copy the kernel source to your /usr/src directory: > > # cd /usr/src/redhat/BUILD/kernel-2.6.(majvers) > # mv linux-2.6.(majvers) /usr/src/linux-2.6.(majvers.patch) > Did this > Note that "(majvers)" will only contain the major version number (e.g > "2.6.14", whereas "(majvers.patch)" should be the major version and > whatever patch level you're working with (e.g. "2.6.14-1.1653_FC4"). > > 5. You can now "cd /usr/src/linux-2.6.(majvers.patch)" and build > away. > Build what? make under ndiswrapper still not working. > Ok, examples are always nice, so here's how I did the latest FC4 kernel: > > # mkdir /usr/xxx > # cd /usr/xxx > # ftp > ftp://mirrors.kernel.org/fedora/core/updates/4/SRPMS/kernel-2.6.14-1.1653_FC4.src.rpm > # rpm -ivh kernel-2.6.14-1.1653_FC4.src.rpm > # cd /usr/src/redhat/SPECS > # rpmbuild -bp --target=i686 kernel-2.6.spec > # cd ../BUILD/kernel-2.6.14 > # mv linux-2.6.14 /usr/src/linux-2.6.14-1.1653_FC4 > (the next two are optional...) > # rm -f linux linux-2.6;ln -s linux-2.6.14-1.1653_FC4 linux > # ln -s linux-2.6.14-1.1653_FC4 linux-2.6 > > >From there, "cd /usr/src/linux-2.6.14-1.1653_FC4" and "make xconfig" to > configure your kernel. > Ta dah! > > Sure hope that helps. > > ---- END CLIP -- SAVE YOUR COUPONS FOR GREAT DISCOUNTS! Hehehehe! ---- > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - A day for firm decisions!!! Well, then again, maybe not! - > ---------------------------------------------------------------------- Well, that's where I sit - it's been a learning experience but I'm running short on time as it's starting to be my busy season at work - and no I dont do this for work. Thanks for any other suggestions. Brad From rstevens at vitalstream.com Thu Jan 5 02:49:41 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 04 Jan 2006 18:49:41 -0800 Subject: adding jfs after the fact In-Reply-To: <62827.24.196.230.196.1136426606.squirrel@webmail.cc.gatech.edu> References: <62827.24.196.230.196.1136426606.squirrel@webmail.cc.gatech.edu> Message-ID: <1136429382.3340.126.camel@prophead.corp.publichost.com> On Wed, 2006-01-04 at 21:03 -0500, lofstead at cc.gatech.edu wrote: > I neglected to add jfs support when installing FC4. I can't seem to > figure out how to add support for it on a running system. Can anyone > suggest a proper way to do this? Check to see if you have the file /lib/modules/`uname -r`/kernel/fs/jfs/jfs.ko on your system. If so, you have jfs installed. The system should load it automatically when you try to mount a jfs filesystem: mount -t jfs /dev/(partition-name) /mountpoint If you're creating a jfs filesystem, you need to do JUST ONE of the following: # mkfs -t jfs /dev/(partition-name) # jfs_mkfs /dev/(partition-name) See "man mkfs.jfs" for details on the various options. Example: To build a jfs filesystem on /dev/sdb4, label it as "jfs_test" and mount it at /jfs_test: # mkfs -t jfs -L jfs_test /dev/sdb4 # mkdir /jfs_test # mount -t jfs /dev/sdb4 /jfs_test ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I.R.S.: We've got what it takes to take what you've got! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Jan 5 03:08:14 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 04 Jan 2006 19:08:14 -0800 Subject: Wireless Help In-Reply-To: References: <1135709279.7188.1.camel@prophead.corp.publichost.com> Message-ID: <1136430494.3340.143.camel@prophead.corp.publichost.com> On Wed, 2006-01-04 at 19:47 -0700, brad.mugleston at comcast.net wrote: > Rick and List - My replies are within the email below. > > Thanks, > > Brad Mugleston, KI0OT > > There are 10 types of people in this world. Those that > understand binary and those that don't. > > On Tue, 27 Dec 2005, Rick Stevens wrote: > > > On Mon, 2005-12-26 at 12:11 -0700, brad.mugleston at comcast.net wrote: > > > Merry Day after Christmas - hope everyone had a good holiday. > > > > > > Now down to business - To catch everyone up. > > > > > > Wanted to upgrade my notebook to FC4 from FC2. The upgrade > > > didn't work so I formated and did a fresh install of FC4. > > > > > > As it has a wireless card I needed to install NdisWrapper (or I > > > think I do) to get it running, note I did find a sys file on the > > > Linksys web site for this card and it said it was for FC3 - if > > > this would work without NdisWrapper can someone direct me as to > > > how to install it? > > > > > > Back to NdisWrapper - it needs the source code for the current > > > kernel - in the past I've just downloaded it as an RPM and > > > followed the instructions. This time strangeness happened. > > > > > > The instructions say to link the source to the module directory > > > with the following command > > > > > > ln -s /usr/src/linux- /lib/modules/VERSION/build > > > > > > I did that replacing "linux-" and "VERSION" > > > with the proper (I believe) wording and got the error that the > > > link was already there. Asuming that it was from the source > > > install I tried to go on with the NdisWrapper install and got the > > > error that the link was to the wrong version (which looking at > > > it, it was - how that happened I have no idea). > > > > > > I deleted the link and tried to redo it and get an error - > > > any suggestions on how to procede. I'm thinking the instructions > > > are for an older version of FC. > > > > Hi, Brad. > > > > ndiswrapper uses the Windows drivers (the .inf and .sys files), so > > any reference to a ".sys" file that's appropriate for FC3 is kinda > > misleading--the .sys file is the Windows driver. > > > > Now, as to kernel source code. Make sure you do a "yum install > > kernel-devel". This will install the kernel headers and such needed to > > build most drivers. NOTE: This is NOT the kernel source code. For > > that, you need to do a bit more (details later). > > > > DONE > > > Since you just did an FC4 install, I HIGHLY recommend you perform the > > following actions first: > > > > # yum -y update > > (reboot to the new kernel when that's done) > > # yum -y install kernel-devel > > > > DONE > > > Ok, you should have enough to build ndiswrapper at this point. Go into > > your ndiswrapper build directory and do "make" and "make install". > > Go fetch the .inf and .sys files from your Windows CD for the card and > > put them in a directory somewhere (I typically use /usr/local/WinDrv), > > then "ndiswrapper -i /path/to/windows/.inf/file" to install the Windows > > driver. > > > > Does not work - on running "make" I get the following error: > can't find kernel sources in /lib/modules/2.6.14-1.1653_FC4/build See end of this posting. > Looking there build si a link to /usr/src/redhat/SOURCES and > looking in there it looks like (as if I would know) the sources. > > So, I decided to go ahead and install the kernel as discribed > below (please continue down) > > > Set up your alias in /etc/modprobe.conf: > > > > alias wlan0 ndiswrapper > > > > and "modprobe ndiswrapper" to bring it up. > > > > ---- CLIP HERE FOR USEFUL INFO ON GETTING THE FULL KERNEL SOURCE ---- > > Now, regarding kernel source: As I said, FC4 doesn't have anything akin > > to the old "kernel-source" RPM from the good old kernel 2.4 days. You > > have to do it manually. Here's what I do: > > > > 1. You have to go to a Fedora mirror somewhere and get the > > "kernel-(version).src.rpm". My favorite mirror would be: > > > > ftp://mirrors.kernel.org/fedora/core/updates/4/SRPMS > > > > GOT this > > > >From there, download the source RPM for the kernel you're interested in > > and save it somewhere. > > > > 2. Go to your download directory and install the source RPM: > > > > rpm -ivh kernel-(version).src.rpm > > > > Did this > > > 3. Now you get to build the kernel source. Change directory to the > > "SPECS" directory in the source RPM build tree: > > > > # cd /usr/src/redhat/SPECS > > > > Now you have to choose a direction to go. You now configure the source > > for your type of CPU and such. Execute one of the following commands: > > > > # rpmbuild -bp --target=i686 kernel-2.6.spec > > # rpmbuild -bp --target=x86_64 kernel-2.6.spec > > > > rpmbuild had not been installed so I installed it from the CD's > and it runs > > > (you get the idea...use "--target=your-cpu-of-choice") > > > > The system will now go through a bunch of gyrations, unpacking source, > > doing patches and the like. When it's done, you have what was > > essentially the old "kernel-source" contents, but it's in a different > > directory and there's two versions...the "red hat" version and a > > "vanilla" version. > > > > 4. Copy the kernel source to your /usr/src directory: > > > > # cd /usr/src/redhat/BUILD/kernel-2.6.(majvers) > > # mv linux-2.6.(majvers) /usr/src/linux-2.6.(majvers.patch) > > > > Did this > > > > Note that "(majvers)" will only contain the major version number (e.g > > "2.6.14", whereas "(majvers.patch)" should be the major version and > > whatever patch level you're working with (e.g. "2.6.14-1.1653_FC4"). > > > > 5. You can now "cd /usr/src/linux-2.6.(majvers.patch)" and build > > away. Oh. Sorry. Two more things. First, go to the new kernel source directory and edit the "Makefile". In there, you'll find a definition called "EXTRAVERSION=". You need to make that match your patch level. For example: VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 14 EXTRAVERSION = -1.1653_FC4 <<<--- MODIFY THAT! Ok, so far, so good. Now, you can do "make xconfig" and configure the kernel. When the configuration screen comes up, select the "folder" icon. In the dialog, select the "/boot" directory. In there, select the "config-2.6.14-1.1653_FC4" file. That's the configuration that you're using. Click on the "disk" icon to save the configuration, then exit the configuration screen. At this point, you've configured the kernel, but you haven't built it. If you want to actually build it, here are the steps: # make bzImage;make modules That builds the kernel. If you should want to install it (remember, this will overwrite the kernel you installed via yum): # make modules_install;make install Voila! > Build what? make under ndiswrapper still not working. > > > Ok, examples are always nice, so here's how I did the latest FC4 kernel: > > > > # mkdir /usr/xxx > > # cd /usr/xxx > > # ftp > > ftp://mirrors.kernel.org/fedora/core/updates/4/SRPMS/kernel-2.6.14-1.1653_FC4.src.rpm > > # rpm -ivh kernel-2.6.14-1.1653_FC4.src.rpm > > # cd /usr/src/redhat/SPECS > > # rpmbuild -bp --target=i686 kernel-2.6.spec > > # cd ../BUILD/kernel-2.6.14 > > # mv linux-2.6.14 /usr/src/linux-2.6.14-1.1653_FC4 > > (the next two are optional...) > > # rm -f linux linux-2.6;ln -s linux-2.6.14-1.1653_FC4 linux > > # ln -s linux-2.6.14-1.1653_FC4 linux-2.6 > > > > >From there, "cd /usr/src/linux-2.6.14-1.1653_FC4" and "make xconfig" to > > configure your kernel. > > Ta dah! > > > > Sure hope that helps. > > > Well, that's where I sit - it's been a learning experience but > I'm running short on time as it's starting to be my busy season > at work - and no I dont do this for work. Ok, you need to see where the "/lib/modules/`uname -r`/build" symlink is pointing. If it's a directory, the "yum -y install kernel-devel" should have filled it in. If it's empty, then delete the directory and point it at your CONFIGURED kernel source from the "rpmbuild" stuff: # cd /lib/modules/`uname -r` # rm -rf build # ln -s /usr/src/linux-`uname -r` build That will force the link to point at your actual, configured kernel source. That should do it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To err is human, to moo bovine. - ---------------------------------------------------------------------- From mdroz8 at gmail.com Thu Jan 5 04:48:15 2006 From: mdroz8 at gmail.com (mike) Date: Wed, 4 Jan 2006 20:48:15 -0800 Subject: forgot root pass on fedora core In-Reply-To: <1136429382.3340.126.camel@prophead.corp.publichost.com> Message-ID: <001e01c611b3$3e872420$6401a8c0@mk> Hello, I'm a linux newbie and I forgot my root pass on my fedora core installation. What can I do now?? From robertmcclure at earthlink.net Thu Jan 5 05:11:33 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 4 Jan 2006 23:11:33 -0600 Subject: forgot root pass on fedora core In-Reply-To: <001e01c611b3$3e872420$6401a8c0@mk> References: <1136429382.3340.126.camel@prophead.corp.publichost.com> <001e01c611b3$3e872420$6401a8c0@mk> Message-ID: <20060105051133.GB23174@bobcat.bobcatos.com> On Wed, Jan 04, 2006 at 08:48:15PM -0800, mike wrote: > Hello, I'm a linux newbie and I forgot my root pass on my fedora core > installation. What can I do now?? First please don't [Reply] to an unrelated message. Even if you change the subject, there is information in the header that tracks threads. What you have done is called thread hijacking. Just start a new message. There are two ways: - Boot to single user. When the GRUB screen comes up saying it's going to boot in 5..4..3.. seconds, hit any key to get the normal GRUB menu. Then with the desired kernel highlighted, hit "a" to append to the command. Then enter " single". Note the space. Then hit return. It should boot to single user (AKA maintenance) mode with a "#" shell prompt. Then passwd (enter the new password twice, as prompted) exit and let it boot to its normal configuration. - Boot from disk 1 of your distro to rescue mode (type "linux rescue" at the boot prompt). When it offers to find and mount your system, hit the "Continue" button. It will tell you that your system is mounted on /mnt/sysimage. Then chroot /mnt/sysimage passwd # same drill as above exit exit Yes, exit twice - once to exit the chroot shell, and again to reboot. Pop out the CD and let it boot normally. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From juan at uwtcallback.com Thu Jan 5 14:33:16 2006 From: juan at uwtcallback.com (Juan) Date: Thu, 5 Jan 2006 09:33:16 -0500 Subject: Security question Message-ID: <200601051433.k05EXahf030991@mx1.redhat.com> Hi all. I have FC4 installed. I was trying to setup the firewall using the Desktop/Security level tab and I mistakenly closed some ports I need open. When I realized my error I tried to get the setup screen again but now when I click on Security Level nothing happens. Is there a way to recover the functionality of "Security Level"? I had to disable iptables at the services screen in order to have this box usable but I am very concerned about its security. Thanks in advance Juan -------------- next part -------------- An HTML attachment was scrubbed... URL: From lofstead at cc.gatech.edu Thu Jan 5 14:44:24 2006 From: lofstead at cc.gatech.edu (Jay Lofstead) Date: Thu, 5 Jan 2006 09:44:24 -0500 Subject: adding jfs after the fact In-Reply-To: <1136429382.3340.126.camel@prophead.corp.publichost.com> Message-ID: <000001c61206$8640df60$6500a8c0@felix> I do have the jfs.ko file, but I do not have mkfs.jfs. I had tried mkfs -t jfs /dev/sda1, but that kept telling me that mkfs.jfs was not found. I could not find it either. Any suggestions? Thanks -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com]On Behalf Of Rick Stevens Sent: Wednesday, January 04, 2006 9:50 PM To: Getting started with Red Hat Linux Subject: Re: adding jfs after the fact On Wed, 2006-01-04 at 21:03 -0500, lofstead at cc.gatech.edu wrote: > I neglected to add jfs support when installing FC4. I can't seem to > figure out how to add support for it on a running system. Can anyone > suggest a proper way to do this? Check to see if you have the file /lib/modules/`uname -r`/kernel/fs/jfs/jfs.ko on your system. If so, you have jfs installed. The system should load it automatically when you try to mount a jfs filesystem: mount -t jfs /dev/(partition-name) /mountpoint If you're creating a jfs filesystem, you need to do JUST ONE of the following: # mkfs -t jfs /dev/(partition-name) # jfs_mkfs /dev/(partition-name) See "man mkfs.jfs" for details on the various options. Example: To build a jfs filesystem on /dev/sdb4, label it as "jfs_test" and mount it at /jfs_test: # mkfs -t jfs -L jfs_test /dev/sdb4 # mkdir /jfs_test # mount -t jfs /dev/sdb4 /jfs_test ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I.R.S.: We've got what it takes to take what you've got! - ---------------------------------------------------------------------- _______________________________________________ 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 From rstevens at vitalstream.com Thu Jan 5 18:04:30 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 05 Jan 2006 10:04:30 -0800 Subject: adding jfs after the fact In-Reply-To: <000001c61206$8640df60$6500a8c0@felix> References: <000001c61206$8640df60$6500a8c0@felix> Message-ID: <1136484270.3340.157.camel@prophead.corp.publichost.com> On Thu, 2006-01-05 at 09:44 -0500, Jay Lofstead wrote: > I do have the jfs.ko file, but I do not have mkfs.jfs. I had tried mkfs -t > jfs /dev/sda1, but that kept telling me that mkfs.jfs was not found. I > could not find it either. Any suggestions? Remember, you have to be the root user to use mkfs. The actual program that does it is /sbin/mkfs.jfs and /sbin is not part of a non-root user's path. By the way, Jay, we prefer bottom posting here on the list. Just put your comments AFTER what you're commenting on. It makes following the flow of information easier. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com]On Behalf Of Rick Stevens > Sent: Wednesday, January 04, 2006 9:50 PM > To: Getting started with Red Hat Linux > Subject: Re: adding jfs after the fact > > > On Wed, 2006-01-04 at 21:03 -0500, lofstead at cc.gatech.edu wrote: > > I neglected to add jfs support when installing FC4. I can't seem to > > figure out how to add support for it on a running system. Can anyone > > suggest a proper way to do this? > > Check to see if you have the file > > /lib/modules/`uname -r`/kernel/fs/jfs/jfs.ko > > on your system. If so, you have jfs installed. The system should load > it automatically when you try to mount a jfs filesystem: > > mount -t jfs /dev/(partition-name) /mountpoint > > If you're creating a jfs filesystem, you need to do JUST ONE of the > following: > > # mkfs -t jfs /dev/(partition-name) > # jfs_mkfs /dev/(partition-name) > > See "man mkfs.jfs" for details on the various options. Example: To > build a jfs filesystem on /dev/sdb4, label it as "jfs_test" and mount > it at /jfs_test: > > # mkfs -t jfs -L jfs_test /dev/sdb4 > # mkdir /jfs_test > # mount -t jfs /dev/sdb4 /jfs_test > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - I.R.S.: We've got what it takes to take what you've got! - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - First Law of Work: - - If you can't get it done in the first 24 hours, work nights. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Jan 5 18:06:58 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 05 Jan 2006 10:06:58 -0800 Subject: Security question In-Reply-To: <200601051433.k05EXahf030991@mx1.redhat.com> References: <200601051433.k05EXahf030991@mx1.redhat.com> Message-ID: <1136484418.3340.160.camel@prophead.corp.publichost.com> On Thu, 2006-01-05 at 09:33 -0500, Juan wrote: > > Hi all. > I have FC4 installed. > I was trying to setup the firewall using the Desktop/Security level > tab and I mistakenly closed some ports I need open. > When I realized my error I tried to get the setup screen again but now > when I click on Security Level nothing happens. > Is there a way to recover the functionality of "Security Level"? > I had to disable iptables at the services screen in order to have this > box usable but I am very concerned about its security. > Thanks in advance Depending on which ports you closed, the security program may not be able to connect to your GUI. Try running "system-config-securitylevel" as the root user. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "I was remembering the immortal words of Socrates when he said, - - 'I drank what?'" -- Val Kilmer in "Real Genius" - ---------------------------------------------------------------------- From juan at uwtcallback.com Thu Jan 5 18:26:08 2006 From: juan at uwtcallback.com (Juan) Date: Thu, 5 Jan 2006 13:26:08 -0500 Subject: Security question In-Reply-To: <1136484418.3340.160.camel@prophead.corp.publichost.com> Message-ID: <200601051826.k05IQMdq017304@mx1.redhat.com> -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Thursday, January 05, 2006 1:07 PM To: Getting started with Red Hat Linux Subject: Re: Security question On Thu, 2006-01-05 at 09:33 -0500, Juan wrote: > > Hi all. > I have FC4 installed. > I was trying to setup the firewall using the Desktop/Security level > tab and I mistakenly closed some ports I need open. > When I realized my error I tried to get the setup screen again but now > when I click on Security Level nothing happens. > Is there a way to recover the functionality of "Security Level"? > I had to disable iptables at the services screen in order to have this > box usable but I am very concerned about its security. > Thanks in advance Depending on which ports you closed, the security program may not be able to connect to your GUI. Try running "system-config-securitylevel" as the root user. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "I was remembering the immortal words of Socrates when he said, - - 'I drank what?'" -- Val Kilmer in "Real Genius" - ---------------------------------------------------------------------- Hi Rick. Thanks for your answer. I did it and got: Traceback (most recent call last): File "/usr/share/system-config-securitylevel/system-config-securitylevel.py" , line 18, in ? app.stand_alone() File "/usr/share/system-config-securitylevel/securitylevel.py" , line 453, in stand_alone self.readFile() File "/usr/share/system-config-securitylevel/securitylevel.py" , line353, in readFile protoname=socket.getservbyport(int(service), protocol) socket.error: port/proto not found Is there anything else I can do? Regards Juan_ _____________________________________________ 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 From rstevens at vitalstream.com Thu Jan 5 18:57:40 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 05 Jan 2006 10:57:40 -0800 Subject: Security question In-Reply-To: <200601051826.k05IQMdq017304@mx1.redhat.com> References: <200601051826.k05IQMdq017304@mx1.redhat.com> Message-ID: <1136487460.3340.178.camel@prophead.corp.publichost.com> On Thu, 2006-01-05 at 13:26 -0500, Juan wrote: > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Thursday, January 05, 2006 1:07 PM > To: Getting started with Red Hat Linux > Subject: Re: Security question > > On Thu, 2006-01-05 at 09:33 -0500, Juan wrote: > > > > Hi all. > > I have FC4 installed. > > I was trying to setup the firewall using the Desktop/Security level > > tab and I mistakenly closed some ports I need open. > > When I realized my error I tried to get the setup screen again but now > > when I click on Security Level nothing happens. > > Is there a way to recover the functionality of "Security Level"? > > I had to disable iptables at the services screen in order to have this > > box usable but I am very concerned about its security. > > Thanks in advance > > Depending on which ports you closed, the security program may not be able to > connect to your GUI. > > Try running "system-config-securitylevel" as the root user. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - "I was remembering the immortal words of Socrates when he said, - > - 'I drank what?'" -- Val Kilmer in "Real Genius" - > ---------------------------------------------------------------------- > Hi Rick. > Thanks for your answer. I did it and got: > > Traceback (most recent call last): > File > "/usr/share/system-config-securitylevel/system-config-securitylevel.py" , > line 18, in ? > app.stand_alone() > File "/usr/share/system-config-securitylevel/securitylevel.py" , line 453, > in stand_alone > self.readFile() > File "/usr/share/system-config-securitylevel/securitylevel.py" , line353, > in readFile > protoname=socket.getservbyport(int(service), protocol) > socket.error: port/proto not found > > Is there anything else I can do? Note that the program must be run in a terminal window in the GUI. If you're doing it from a raw command line, try the text version of the program: # system-config-securitylevel-tui ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - We are born naked, wet and hungry. Then things get worse. - ---------------------------------------------------------------------- From juan at uwtcallback.com Thu Jan 5 19:10:17 2006 From: juan at uwtcallback.com (Juan) Date: Thu, 5 Jan 2006 14:10:17 -0500 Subject: Security question In-Reply-To: <1136487460.3340.178.camel@prophead.corp.publichost.com> Message-ID: <200601051913.k05JD4aK001437@mx1.redhat.com> --Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Thursday, January 05, 2006 1:58 PM To: Getting started with Red Hat Linux Subject: RE: Security question On Thu, 2006-01-05 at 13:26 -0500, Juan wrote: > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > Stevens > Sent: Thursday, January 05, 2006 1:07 PM > To: Getting started with Red Hat Linux > Subject: Re: Security question > > On Thu, 2006-01-05 at 09:33 -0500, Juan wrote: > > > > Hi all. > > I have FC4 installed. > > I was trying to setup the firewall using the Desktop/Security level > > tab and I mistakenly closed some ports I need open. > > When I realized my error I tried to get the setup screen again but > > now when I click on Security Level nothing happens. > > Is there a way to recover the functionality of "Security Level"? > > I had to disable iptables at the services screen in order to have > > this box usable but I am very concerned about its security. > > Thanks in advance > > Depending on which ports you closed, the security program may not be > able to connect to your GUI. > > Try running "system-config-securitylevel" as the root user. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - "I was remembering the immortal words of Socrates when he said, - > - 'I drank what?'" -- Val Kilmer in "Real Genius" - > ---------------------------------------------------------------------- > Hi Rick. > Thanks for your answer. I did it and got: > > Traceback (most recent call last): > File > "/usr/share/system-config-securitylevel/system-config-securitylevel.py > " , line 18, in ? > app.stand_alone() > File "/usr/share/system-config-securitylevel/securitylevel.py" , > line 453, in stand_alone > self.readFile() > File "/usr/share/system-config-securitylevel/securitylevel.py" , > line353, in readFile > protoname=socket.getservbyport(int(service), protocol) > socket.error: port/proto not found > > Is there anything else I can do? Note that the program must be run in a terminal window in the GUI. If you're doing it from a raw command line, try the text version of the program: # system-config-securitylevel-tui ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - We are born naked, wet and hungry. Then things get worse. - ---------------------------------------------------------------------- This last worked like a charm. Thank you very much. Juan _______________________________________________ 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 From lofstead at cc.gatech.edu Thu Jan 5 19:41:44 2006 From: lofstead at cc.gatech.edu (Jay Lofstead) Date: Thu, 5 Jan 2006 14:41:44 -0500 Subject: adding jfs after the fact In-Reply-To: <1136484270.3340.157.camel@prophead.corp.publichost.com> Message-ID: <000001c61230$0f89d820$6500a8c0@felix> > > -----Original Message----- > > From: redhat-install-list-bounces at redhat.com > > [mailto:redhat-install-list-bounces at redhat.com]On Behalf Of > Rick Stevens > > Sent: Wednesday, January 04, 2006 9:50 PM > > To: Getting started with Red Hat Linux > > Subject: Re: adding jfs after the fact > > > > > > On Wed, 2006-01-04 at 21:03 -0500, lofstead at cc.gatech.edu wrote: > > > I neglected to add jfs support when installing FC4. I > can't seem to > > > figure out how to add support for it on a running system. > Can anyone > > > suggest a proper way to do this? > > > > Check to see if you have the file > > > > /lib/modules/`uname -r`/kernel/fs/jfs/jfs.ko > > > > on your system. If so, you have jfs installed. The system > should load > > it automatically when you try to mount a jfs filesystem: > > > > mount -t jfs /dev/(partition-name) /mountpoint > > > > If you're creating a jfs filesystem, you need to do JUST ONE of the > > following: > > > > # mkfs -t jfs /dev/(partition-name) > > # jfs_mkfs /dev/(partition-name) > > > > See "man mkfs.jfs" for details on the various options. Example: To > > build a jfs filesystem on /dev/sdb4, label it as "jfs_test" > and mount > > it at /jfs_test: > > > > # mkfs -t jfs -L jfs_test /dev/sdb4 > > # mkdir /jfs_test > > # mount -t jfs /dev/sdb4 /jfs_test > > > > -----Original Message----- > > From: Rick Stevens [mailto:rstevens at vitalstream.com] > > Sent: Thursday, January 05, 2006 1:05 PM > > To: Getting started with Red Hat Linux; lofstead at cc.gatech.edu > > Subject: RE: adding jfs after the fact > > > > > > On Thu, 2006-01-05 at 09:44 -0500, Jay Lofstead wrote: > > > I do have the jfs.ko file, but I do not have mkfs.jfs. I > > had tried mkfs -t > > > jfs /dev/sda1, but that kept telling me that mkfs.jfs was > > not found. I > > > could not find it either. Any suggestions? > > > > Remember, you have to be the root user to use mkfs. The > > actual program > > that does it is /sbin/mkfs.jfs and /sbin is not part of a non-root > > user's path. > > I do not have this file in /sbin. I do have versions for ext2, etc3, etc. Can you tell me how to add this in? Thanks Jay From rodrigofariatavares at bol.com.br Fri Jan 6 13:25:19 2006 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Fri, 6 Jan 2006 11:25:19 -0200 Subject: Graphic Interface for Sent Mail Message-ID: <001601c612c4$ac337020$0100a8c0@faria> Hello, Somebody about a program that count the numbers e-mails sent ? In graphic mode. Att, Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Fri Jan 6 17:24:29 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 06 Jan 2006 09:24:29 -0800 Subject: Graphic Interface for Sent Mail In-Reply-To: <001601c612c4$ac337020$0100a8c0@faria> References: <001601c612c4$ac337020$0100a8c0@faria> Message-ID: <1136568269.3340.206.camel@prophead.corp.publichost.com> On Fri, 2006-01-06 at 11:25 -0200, Rodrigo Faria Tavares wrote: > Hello, > > Somebody about a program that count the numbers e-mails sent ? > In graphic mode. Huh? Per account or in total? For the total messages successfully sent by a MACHINE, try # grep -i "relay=.*stat=Sent" /var/log/maillog | wc -l That scans /var/log/maillog looking for two items in each entry that pertain to outgoing mail...a "relay=(something)" bit (indicating that it connected to an outside node) AND a "stat=Sent" bit (indicating the mail was actually sent out), then counts the lines that match that criteria. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To understand recursion, you must first understand recursion. - ---------------------------------------------------------------------- From rodrigofariatavares at bol.com.br Sun Jan 8 17:20:39 2006 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Sun, 8 Jan 2006 15:20:39 -0200 Subject: Message in IMP Message-ID: <002d01c61477$daf87ea0$0100a8c0@faria> Hello, What is the message below ? I?m ussing php5 e Apache 2.0.54 Wow, a mystical version of PHP from the future. Let dev at lists.horde.org know what version you have so we can fix this script. What I can to do ? Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux -------------- next part -------------- An HTML attachment was scrubbed... URL: From dragonite.wylie at verizon.net Sun Jan 8 21:10:28 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Sun, 08 Jan 2006 15:10:28 -0600 Subject: Cannot install Fedora Core 4 Message-ID: <43C17FC4.10209@verizon.net> For some reason, I can't install Fedora Core 4 on my laptop. I can get the boot: prompt, but then it can't mount the root filesystem (i guess from the CD) and goes into kernel panic. I've done the checksums, and they add up correctly. What should I do? From hemzet at gmx.net Sun Jan 8 22:00:38 2006 From: hemzet at gmx.net (Oliver) Date: Sun, 8 Jan 2006 23:00:38 +0100 Subject: Cannot install Fedora Core 4 In-Reply-To: <43C17FC4.10209@verizon.net> References: <43C17FC4.10209@verizon.net> Message-ID: <182690487.20060108230038@gmx.net> try using acpi=off kernel boot option *** mail checked - no virus found *** > For some reason, I can't install Fedora Core 4 on my laptop. I can get > the boot: prompt, but then it can't mount the root filesystem (i guess > from the CD) and goes into kernel panic. I've done the checksums, and > they add up correctly. What should I do? > _______________________________________________ > 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 From harold at hallikainen.com Mon Jan 9 00:34:52 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Sun, 8 Jan 2006 16:34:52 -0800 (PST) Subject: FC4 and Intel 82559 NIC? Message-ID: <4403.192.168.1.1.1136766892.squirrel@sujan.hallikainen.org> This weekend I loaded FC4 onto my server that had been running RH8. Everything seems to have gone smoothly EXCEPT the LAN does not work. It seems to find the two ethernet interfaces, but does not talk to the remainder of the network. I've tried both static IP and DHCP. Neither seems to work. Do I need a special driver for the NIC? If so, where do I find it, and how do I install it? THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com -- FCC Rules Updated Daily at http://www.hallikainen.com From harold at hallikainen.com Mon Jan 9 03:06:18 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Sun, 8 Jan 2006 19:06:18 -0800 (PST) Subject: FC4 and Intel 82559 NIC? In-Reply-To: <4403.192.168.1.1.1136766892.squirrel@sujan.hallikainen.org> References: <4403.192.168.1.1.1136766892.squirrel@sujan.hallikainen.org> Message-ID: <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> > > This weekend I loaded FC4 onto my server that had been running RH8. > Everything seems to have gone smoothly EXCEPT the LAN does not work. It > seems to find the two ethernet interfaces, but does not talk to the > remainder of the network. I've tried both static IP and DHCP. Neither > seems to work. Do I need a special driver for the NIC? If so, where do I > find it, and how do I install it? > > THANKS! > > Harold > Following up... I found the e100 driver at http://www.intel.com/support/network/adapter/1000/linux/e100.htm and followed the instructions there. Stuff is still not working. Looking at /var/log/messages, I see e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr 00:E0:81:03:AF:3C I see a similar message for eth1. A while later is e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex A while later it cannot find ntp.org Then NETDEV WATCHDOG eth0; transmit timed out then another watchdog message. Any ideas? THANKS! Harold -- From jwirt001 at toward.com Mon Jan 9 03:33:54 2006 From: jwirt001 at toward.com (John Wirt) Date: Sun, 08 Jan 2006 22:33:54 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] Message-ID: <43C1D9A2.9030806@toward.com> Refugio, As Allan Grant has evidently not responded to your reply with the subject above, could you please add the next steps to your solution? Like Alan, I would like to add Linux to a boot manager other than Grub but my situation is somewhat different. The boot manager I am using is Boot-it by Terrabyte Unlimited (http://www.terabyteunlimited.com/). There are instructions on that website for reconfiguring Linux so that it can be added to the boot menu. The basic issue is moving Grub to the root directory of the Linux partition, as you outline is your instructions to Alan Grant. However, I also have two SCSI drives in my machine and am in the process swapping the position of one for the other. My machine originally came with Linux (RedHat Enterprise Workstation v.3) was on the first SCSI disk and the second one had a Linux partition on it. So Linux took up the whole first disk. A month ago, I swapped the position of the first and second drive and installed Windows XP on the new first drive. I erased the Linux partition on the new first drive and installed a primary partition for XP (NTFS), an extended partition with two NTFS volume in it, and Boot-it, which requires a small "EMBR" partition (FAT) partition. XP works fine. Now I want to add Linux, which is (now) on the 2nd SCSI disk, to Boot-it as a boot item. But the Linux on that disk is configured to run on a disk that is HD0. I have tried to (and can) boot my machine to LINUX RESCUE using the first CD. The next step, I presume, is that I should follow your instructions below to move Grub on the second disk to the root directory of the Linux partition on that second drive. Then I must need to reconfigure Grub (and or Linux) somehow to tell them that Linux is on HD1 and in what partitions. What I am not sure about is: a. What is the name of Linux drive likely to be in this new configuration? /dev/sda or /dev/sdb? As I said above, the new drive 0 with XP on it has one primary NTFS partition and an extended partition with 2 volumes on it. b. What is the best way to find out which partition on the Linux drive (the second drive) is the swap partition and which is the Linux partition? Will fdisk /dev/shX show me this? c. Once I know this, I should be able to use the, grub-install /sdXY command to move Grub to the root partition. d. Then, what else do I need to do to reconfigure Grub and/or Linux so that they know that Linux is now on HD1 instead of HD0? I have no clue about this. Having done all of this, I would shut down my machine, remove the Linux CD#1 from my CD drive, and my reboot my machine to Boot-It. The Linux and swap partitions should then show up in Boot-it. If they do, then I know how to add Linux to the boot items. Boot-it's instructions for installing Linux on the boot menu are in items #1 and #2 here (http://www.terabyteunlimited.com/kb/category.php?id=20). Thanks for any help. John Wirt - - - - - J. Refugio Rodriguez wrote: > > --- Grant Allan wrote: > > >>>On Thu, October 20, 2005 12:53 pm, Grant Allan >> >>said: >> >>>>hi, >>>> >>>>just installed FC4 into empty partition on same >> >>drive as WindowsXP >> >>>>(disk1). i'm aiming for dual-boot using NTLDR >> >>menu. >> >>>>i think i messed something up, cos now during >> >>reboot i get told that >> >>>>NTLDR >>>>can't be found. strange thing is, when i boot >> >>from SystemRecoveryCD, >> >>>>and >>>>then choose the option to boot from "disk1", >> >>WindowsXP boots fine (and >> >>>>so >>>>obviously NTLDR is there after all). >>> >>>No, the bootstrap isn't there but the partition is >> >>still active. It may >> >>>have been overwritten or corrupted by the FC4 >> >>install. I think the command >> >>>may still be fdisk /mbr which will re-write the >> >>NTLDR bootstrap. >> >>>>i'm confused - does this mean that my BIOS is not >> >>looking at my disk1 >> >>>>during the boot sequence any more? (hope not, >> >>cos my BIOS menu is in >> >>>>japanese, and i can't read it.) or maybe my MBR >> >>has gotten minced? >> >>>BIOS has to see the drive else booting wouldn't >> >>work at all regardless of >> >>>how you tried. The OS depends on the BIOS to tell >> >>it where to find the >> >>>hardware, but doesn't control what's on the >> >>hardware. >> >>new info, same but different: i have re-installed >>linux. this time during >>the installation, i asked it to use GRUB, and put it >>at the front of >>/dev/hda1. > > now i have the following behaviour: > >> reboot (CD & floppy drive empty) - message that >>NTLDR is missing >> reboot with SystemRescueCD, then typing "disk1" to >>boot from the active >>partition of my first hard drive - GRUB starts OK >> reboot with WinXP-generated boot floppy - >>windowsXP starts OK >> > > > Your initial aim was to install Fedora under WinXX's > boot manager; at this point you appear to have > overwritten your original MBR and thus you can not > boot into WinXX. > > Boot with your original WinXX media and select R to > repair you WinXX installation. After you type your > Admin password, etc.,etc., and you are at the command > prompt, type: > > HELP > > you will be shown a range of commands. Of those > commands select FIXMBR to return your MBR to boot > WinXX, as follows: > > FIXMBR 1 > > since you only have one hard disk. That should bring > you back to the original state before the Fedora > installation. Now type: > > BOOTCFG /SCAN > > and you will get a result of your WinXX installations > (for informational purposses you may want to write > down the info). Proceed by typing: > > FIXBOOT C: > > since c: is your WinXX drive. > > That should fix your MBR and WinXX boot manager to > initial specs. > > I hope that you noted that if you need help with any > of the commands, you can just enter the name of the > command followed by the switch /? > > > > To (re)install Grub on the Fedora partition, boot with > your Linux rescue media; if you do not have that, boot > with your first Linux installation CD media. At the > command prompt type: > > Linux rescue > > press enter. Make your selections when the program > requests you to do so, i.e., language, keyboard, etc. > > You will see a dialog that begins with: The rescue > environment will now attempt to find your Linux > installation and mount it under /mnt/sysimage. [...] > > Press the "continue" button. > > The program will find your Linux installation and will > let you know so (if everything goes well). > > At the command prompt in the shell type: > > chroot /mnt/sysimage > > you need to do that before you can use the Grub. Type: > > fdisk /dev/hda > > at the prompt type: > > p > > to print the partition table as seen by Linux; write > down in what partition your Linux resides (most likely > it will be /dev/hda2). Now, --very important! Type: > > q > > to exit from fdisk partitioning utility. > > Having noted the partition number of your Linux, type: > > grub-install /dev/hdaX > > where X represents (replace it by your actual > partition number) the partition number of your Linux. > > The grub boot manager should be installed where your > Linux partition resides SINCE you want to boot from > the WinXX boot manager. > > Again, do as above and we will add the Linux partition > to WinXX boot manager when you are ready. > > Regards. > > Jose Refugio Rodriguez > http://www.metztli-it.com > > P.S. Your BIOS is NOT damaged; the Penguin is nice ;) > > >>_______________________________________________ >>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 >> > > > > _______________________________________________ > 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 > > From robertmcclure at earthlink.net Mon Jan 9 04:00:18 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Sun, 8 Jan 2006 22:00:18 -0600 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] In-Reply-To: <43C1D9A2.9030806@toward.com> References: <43C1D9A2.9030806@toward.com> Message-ID: <20060109040018.GA22783@bobcat.bobcatos.com> On Sun, Jan 08, 2006 at 10:33:54PM -0500, John Wirt wrote: > > Refugio, > > As Allan Grant has evidently not responded to your reply with the > subject above, could you please add the next steps to your solution? > Like Alan, I would like to add Linux to a boot manager other than Grub > but my situation is somewhat different. > > The boot manager I am using is Boot-it by Terrabyte Unlimited > (http://www.terabyteunlimited.com/). There are instructions on that > website for reconfiguring Linux so that it can be added to the boot > menu. The basic issue is moving Grub to the root directory of the Linux > partition, as you outline is your instructions to Alan Grant. > > However, I also have two SCSI drives in my machine and am in the process > swapping the position of one for the other. My machine originally came > with Linux (RedHat Enterprise Workstation v.3) was on the first SCSI > disk and the second one had a Linux partition on it. So Linux took up > the whole first disk. A month ago, I swapped the position of the first > and second drive and installed Windows XP on the new first drive. > > I erased the Linux partition on the new first drive and installed a > primary partition for XP (NTFS), an extended partition with two NTFS > volume in it, and Boot-it, which requires a small "EMBR" partition (FAT) > partition. XP works fine. Now I want to add Linux, which is (now) on the > 2nd SCSI disk, to Boot-it as a boot item. But the Linux on that disk is > configured to run on a disk that is HD0. > > I have tried to (and can) boot my machine to LINUX RESCUE using the > first CD. The next step, I presume, is that I should follow your > instructions below to move Grub on the second disk to the root directory > of the Linux partition on that second drive. Well, actually, you're going to install it on the boot sector of your drive, not the root directory. > Then I must need to > reconfigure Grub (and or Linux) somehow to tell them that Linux is on > HD1 and in what partitions. > > What I am not sure about is: > > a. What is the name of Linux drive likely to be in this new > configuration? /dev/sda or /dev/sdb? > > As I said above, the new drive 0 with XP on it has one primary NTFS > partition and an extended partition with 2 volumes on it. I might guess /dev/sdb, but I'm not all that smart about SCSI. Boot to rescue mode, let it mount your system, and then run mount That should show you the device names. > b. What is the best way to find out which partition on the Linux drive > (the second drive) is the swap partition and which is the Linux > partition? Will fdisk /dev/shX show me this? Well, yes, but this would be better: fdisk -l That's 'ell' as in list. > c. Once I know this, I should be able to use the, > > grub-install /sdXY > > command to move Grub to the root partition. Yes, but you may also need to add the device to /boot/grub/device.map. > d. Then, what else do I need to do to reconfigure Grub and/or Linux so > that they know that Linux is now on HD1 instead of HD0? I have no clue > about this. In /etc/fstab, you need to change any references to /dev/sda to /dev/sdb or whatever your second drive became. In /boot/grub/grub.conf, you need to change any references to hd0,x to hd1,x (I think). > Having done all of this, I would shut down my machine, remove the Linux > CD#1 from my CD drive, and my reboot my machine to Boot-It. The Linux > and swap partitions should then show up in Boot-it. If they do, then I > know how to add Linux to the boot items. > > Boot-it's instructions for installing Linux on the boot menu are in > items #1 and #2 here > > (http://www.terabyteunlimited.com/kb/category.php?id=20). > > Thanks for any help. > > John Wirt Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From bret_stern at machinemanagement.com Mon Jan 9 04:15:54 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Sun, 8 Jan 2006 20:15:54 -0800 Subject: FC4 and Intel 82559 NIC? In-Reply-To: <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> Message-ID: <000001c614d3$65c25f50$0205a8c0@mmbret> Try adding the eth0 to the trusted devices in the SELinux firewall. -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Harold Hallikainen Sent: Sunday, January 08, 2006 7:06 PM To: Getting started with Red Hat Linux Subject: Re: FC4 and Intel 82559 NIC? > > This weekend I loaded FC4 onto my server that had been running RH8. > Everything seems to have gone smoothly EXCEPT the LAN does not work. > It seems to find the two ethernet interfaces, but does not talk to the > remainder of the network. I've tried both static IP and DHCP. Neither > seems to work. Do I need a special driver for the NIC? If so, where do > I find it, and how do I install it? > > THANKS! > > Harold > Following up... I found the e100 driver at http://www.intel.com/support/network/adapter/1000/linux/e100.htm and followed the instructions there. Stuff is still not working. Looking at /var/log/messages, I see e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr 00:E0:81:03:AF:3C I see a similar message for eth1. A while later is e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex A while later it cannot find ntp.org Then NETDEV WATCHDOG eth0; transmit timed out then another watchdog message. Any ideas? THANKS! Harold -- _______________________________________________ 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 From j.wirt.112 at comcast.net Mon Jan 9 04:36:16 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Sun, 08 Jan 2006 23:36:16 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] In-Reply-To: <20060109040018.GA22783@bobcat.bobcatos.com> References: <43C1D9A2.9030806@toward.com> <20060109040018.GA22783@bobcat.bobcatos.com> Message-ID: <43C1E840.1090900@comcast.net> Bob, thank you. Except I think Grub does need to be moved to the root directory of the Linux partition. This is what the grub-install /dev/hdaX command specified by Allan Grant does. This command is also specified in the Linux pages on the Boot-it website. Boot-it goes to the partition selected on the Boot menu rather than the MPR of the drive that the operating system (i.e., Linux) is on. Otherwise, what you say looks right from the investigations I've done and I hadn't found all the steps that you've got.. John - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Bob McClure Jr wrote: >On Sun, Jan 08, 2006 at 10:33:54PM -0500, John Wirt wrote: > > >>Refugio, >> >>As Allan Grant has evidently not responded to your reply with the >>subject above, could you please add the next steps to your solution? >>Like Alan, I would like to add Linux to a boot manager other than Grub >>but my situation is somewhat different. >> >>The boot manager I am using is Boot-it by Terrabyte Unlimited >>(http://www.terabyteunlimited.com/). There are instructions on that >>website for reconfiguring Linux so that it can be added to the boot >>menu. The basic issue is moving Grub to the root directory of the Linux >>partition, as you outline is your instructions to Alan Grant. >> >>However, I also have two SCSI drives in my machine and am in the process >>swapping the position of one for the other. My machine originally came >>with Linux (RedHat Enterprise Workstation v.3) was on the first SCSI >>disk and the second one had a Linux partition on it. So Linux took up >>the whole first disk. A month ago, I swapped the position of the first >>and second drive and installed Windows XP on the new first drive. >> >>I erased the Linux partition on the new first drive and installed a >>primary partition for XP (NTFS), an extended partition with two NTFS >>volume in it, and Boot-it, which requires a small "EMBR" partition (FAT) >>partition. XP works fine. Now I want to add Linux, which is (now) on the >>2nd SCSI disk, to Boot-it as a boot item. But the Linux on that disk is >>configured to run on a disk that is HD0. >> >>I have tried to (and can) boot my machine to LINUX RESCUE using the >>first CD. The next step, I presume, is that I should follow your >>instructions below to move Grub on the second disk to the root directory >>of the Linux partition on that second drive. >> >> > >Well, actually, you're going to install it on the boot sector of your >drive, not the root directory. > > > >>Then I must need to >>reconfigure Grub (and or Linux) somehow to tell them that Linux is on >>HD1 and in what partitions. >> >>What I am not sure about is: >> >> a. What is the name of Linux drive likely to be in this new >>configuration? /dev/sda or /dev/sdb? >> >> As I said above, the new drive 0 with XP on it has one primary NTFS >>partition and an extended partition with 2 volumes on it. >> >> > >I might guess /dev/sdb, but I'm not all that smart about SCSI. Boot >to rescue mode, let it mount your system, and then run > > mount > >That should show you the device names. > > > >> b. What is the best way to find out which partition on the Linux drive >>(the second drive) is the swap partition and which is the Linux >>partition? Will fdisk /dev/shX show me this? >> >> > >Well, yes, but this would be better: > > fdisk -l > >That's 'ell' as in list. > > > >> c. Once I know this, I should be able to use the, >> >> grub-install /sdXY >> >>command to move Grub to the root partition. >> >> > >Yes, but you may also need to add the device to >/boot/grub/device.map. > > > >> d. Then, what else do I need to do to reconfigure Grub and/or Linux so >>that they know that Linux is now on HD1 instead of HD0? I have no clue >>about this. >> >> > >In /etc/fstab, you need to change any references to /dev/sda to >/dev/sdb or whatever your second drive became. > >In /boot/grub/grub.conf, you need to change any references to hd0,x to >hd1,x (I think). > > > >>Having done all of this, I would shut down my machine, remove the Linux >>CD#1 from my CD drive, and my reboot my machine to Boot-It. The Linux >>and swap partitions should then show up in Boot-it. If they do, then I >>know how to add Linux to the boot items. >> >>Boot-it's instructions for installing Linux on the boot menu are in >>items #1 and #2 here >> >> (http://www.terabyteunlimited.com/kb/category.php?id=20). >> >>Thanks for any help. >> >>John Wirt >> >> > >Cheers, > > From j.wirt.112 at comcast.net Mon Jan 9 07:17:13 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Mon, 09 Jan 2006 02:17:13 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] In-Reply-To: <20060109040018.GA22783@bobcat.bobcatos.com> References: <43C1D9A2.9030806@toward.com> <20060109040018.GA22783@bobcat.bobcatos.com> Message-ID: <43C20DF9.6070005@comcast.net> Bob (and Ian), I checked further and the, grub-install /dev/sdXY command installs Grub to the "boot directory" of the "root partition." See http://www.terabyteunlimited.com/kb/article.php?id=232 . (note only one "r" in terabyte). My understanding is that the root partition is the one where Linux is installed. But this is only when one is booting from the same Linux installation that one is reinstalling Grub for. If one is booted to a Linux shell. then the two commands that should be used are: a) when the /boot directory is included in the /root partition, which may be the 2nd partition on the 2nd disk: root (hd1,1) (this tells Grub that /boot directory is on the 2nd partition of the 2nd scsi disk --- i.e., /dev/sdb2 ) setup (hd1,1) (tells Grub to install boot code in the boot sector of partition /dev/sdb2) b) when the /boot partition is separate from the /root partition. root (hd1,0) (tells Grub that the /boot directory in the 1st partition on /dev/sdb1 setup (hd1,0) (tells Grub to install the boot code to that first partition on /dev/sdb1 -- or the boot code can be installed to the second (or root) partition. Then the command would be -- setup (hd1, 1) The kb article on the Boot-it site recommends the second alternative even if the /boot partition is separate from the the /root partition. Because I want to boot to Linux from the 1st CD of RedHat Enterprise Workstation v.3, this is my situation. So currently, I plan to follow b) with the second option. My first question is, does this make sense? My second question is, how do I figure out whether the Linux installed on my computer has the /boot partition separate from the /root partition or in the root partition? -- Is the /boot partition the same thing as the "swap" partition? -- if not how do I need to tell Linux where the swap partition is? Does it know since it is on the same disk that it was, even though the drive number has changed? Thanks for any further comments you have on these four issues. John Wirt From admin at tootai.net Mon Jan 9 09:04:31 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Mon, 09 Jan 2006 10:04:31 +0100 Subject: FC4 and Intel 82559 NIC? In-Reply-To: <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> References: <4403.192.168.1.1.1136766892.squirrel@sujan.hallikainen.org> <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> Message-ID: <43C2271F.2010603@tootai.net> Harold Hallikainen a ?crit : >>This weekend I loaded FC4 onto my server that had been running RH8. >>Everything seems to have gone smoothly EXCEPT the LAN does not work. It >>seems to find the two ethernet interfaces, but does not talk to the >>remainder of the network. I've tried both static IP and DHCP. Neither >>seems to work. Do I need a special driver for the NIC? If so, where do I >>find it, and how do I install it? >> >>THANKS! >> >>Harold >> >> >> > >Following up... I found the e100 driver at >http://www.intel.com/support/network/adapter/1000/linux/e100.htm and >followed the instructions there. Stuff is still not working. Looking at >/var/log/messages, I see > >e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr >00:E0:81:03:AF:3C > >I see a similar message for eth1. > >A while later is >e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex > >A while later it cannot find ntp.org > >Then NETDEV WATCHDOG eth0; transmit timed out >then another watchdog message. > > Open a console and type ifconfig to see if your device is up. If yes, type route and check that your default route is your device or your gateway IP. -- Daniel From rodrigofariatavares at bol.com.br Mon Jan 9 10:27:42 2006 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Mon, 9 Jan 2006 08:27:42 -0200 Subject: Apache 2.0.55 with Rewrite Rule Message-ID: <003e01c61507$55165880$0100a8c0@faria> Hello, I recompilled Apache 2.0.55 with PHP 4.3.11 using these options : ./configure --prefix=/usr/local/apache2 --enable-so --enable-auth-digest --enable-rewrite --enable-setenvif --enable-mime --enable-deflate --enable-ssl --with-ssl=/usr/local --enable-headers In my httpd.conf there is lines with rewrite rule : ServerName www.dominio.com.br RewriteEngine On RewriteLog "/tmp/rewrite_log" RewriteLogLevel 0 RewriteRule ^/local/ - [L] RewriteRule ^/(.*) http://10.0.0.199:80/$1 [P] When I try to access the site dominio.com.br with a browser como in the screen : Forbidden You don't have permission to access / on this server. In log come these message : Mon Jan 09 08:21:11 2006] [error] [client 201.19.122.211] attempt to make remote request from mod_rewrite without proxy enabled: proxy:http://10.0.0.199:80/ Why it?s happen ? Because I recompilled apache with --enable-rewrite. Ps : I can?t to installed the rpm apache FC4 because the version PHP5. How I can to resolve this problem in Apache 2.0.55 ? Best regards, Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux _______________________________________________________ Yahoo! doce lar. Fa?a do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html From robertmcclure at earthlink.net Mon Jan 9 13:58:08 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Mon, 9 Jan 2006 07:58:08 -0600 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] In-Reply-To: <43C20DF9.6070005@comcast.net> References: <43C1D9A2.9030806@toward.com> <20060109040018.GA22783@bobcat.bobcatos.com> <43C20DF9.6070005@comcast.net> Message-ID: <20060109135808.GA9341@bobcat.bobcatos.com> On Mon, Jan 09, 2006 at 02:17:13AM -0500, John Wirt wrote: > > > Bob (and Ian), > > I checked further and the, > > grub-install /dev/sdXY > > command installs Grub to the "boot directory" of the "root partition." > See http://www.terabyteunlimited.com/kb/article.php?id=232 . (note only > one "r" in terabyte). My understanding is that the root partition is the > one where Linux is installed. Methinks TBU knows more about Windoze than Linux. And Rick Stevens knows a good deal more than I about Linux and SCSI. I'll let him weigh in. > But this is only when one is booting from the same Linux installation > that one is reinstalling Grub for. > > If one is booted to a Linux shell. then the two commands that should > be used are: > > a) when the /boot directory is included in the /root partition, > which may be the 2nd partition > on the 2nd disk: > > root (hd1,1) (this tells Grub that /boot directory is on > the 2nd partition of > the 2nd scsi disk --- i.e., > /dev/sdb2 ) > setup (hd1,1) (tells Grub to install boot code in the boot > sector of partition /dev/sdb2) > > b) when the /boot partition is separate from the /root partition. > > root (hd1,0) (tells Grub that the /boot directory in the 1st > partition on /dev/sdb1 > > setup (hd1,0) (tells Grub to install the boot code to that > first partition on /dev/sdb1 > > -- or the boot code can be installed to the second (or root) > partition. > Then the command would be -- > > setup (hd1, 1) > > The kb article on the Boot-it site recommends the second > alternative even if the > /boot partition is separate from the the /root partition. > > Because I want to boot to Linux from the 1st CD of RedHat Enterprise > Workstation v.3, this is my situation. So currently, I plan to follow b) > with the second option. > > My first question is, does this make sense? Yes. > My second question is, how do I figure out whether the Linux installed > on my computer has the /boot partition separate from the /root partition > or in the root partition? > > -- Is the /boot partition the same thing as the "swap" partition? Absolutely not. > -- if not how do I need to tell Linux where the swap partition is? > Does it know since it is on the same disk that it was, even though the > drive number has changed? Here's the result of "fdisk -l" on one of the machines I admin: Disk /dev/hda: 81.9 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 19 152586 83 Linux /dev/hda2 20 38 152617+ 83 Linux /dev/hda3 39 282 1959930 82 Linux swap /dev/hda4 283 9964 77770665 5 Extended /dev/hda5 283 1256 7823623+ 83 Linux /dev/hda6 1257 2230 7823623+ 83 Linux /dev/hda7 2231 2353 987966 83 Linux /dev/hda8 2354 2840 3911796 83 Linux /dev/hda9 2841 3327 3911796 83 Linux /dev/hda10 3328 3814 3911796 83 Linux /dev/hda11 3815 4788 7823623+ 83 Linux See, /dev/hda3 is marked as partition type "Linux swap". The applicable line from its /etc/fstab looks like this: /dev/hda3 swap swap defaults 0 0 My guess is that some /dev/sdax was defined as type swap. That will now be (probably) /dev/sdbx. That designation will need to be changed in /etc/fstab. > Thanks for any further comments you have on these four issues. > > John Wirt Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From rstevens at vitalstream.com Mon Jan 9 18:05:57 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 10:05:57 -0800 Subject: Message in IMP In-Reply-To: <002d01c61477$daf87ea0$0100a8c0@faria> References: <002d01c61477$daf87ea0$0100a8c0@faria> Message-ID: <1136829957.3340.223.camel@prophead.corp.publichost.com> On Sun, 2006-01-08 at 15:20 -0200, Rodrigo Faria Tavares wrote: > Hello, > > What is the message below ? > > I?m ussing php5 e Apache 2.0.54 > > Wow, a mystical version of PHP from the future. Let > dev at lists.horde.org know what version you have so we can fix this > script. > > What I can to do ? It's rather obvious, isn't it? Send a message to dev at lists.horde.org, and tell them which versions of Horde, Imp and PHP you're running. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - 500: Internal Fortune Cookie Error - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 9 18:12:06 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 10:12:06 -0800 Subject: FC4 and Intel 82559 NIC? In-Reply-To: <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> References: <4403.192.168.1.1.1136766892.squirrel@sujan.hallikainen.org> <33073.192.168.1.1.1136775978.squirrel@sujan.hallikainen.org> Message-ID: <1136830326.3340.228.camel@prophead.corp.publichost.com> On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: > > > > This weekend I loaded FC4 onto my server that had been running RH8. > > Everything seems to have gone smoothly EXCEPT the LAN does not work. It > > seems to find the two ethernet interfaces, but does not talk to the > > remainder of the network. I've tried both static IP and DHCP. Neither > > seems to work. Do I need a special driver for the NIC? If so, where do I > > find it, and how do I install it? > > > > THANKS! > > > > Harold > > > > Following up... I found the e100 driver at > http://www.intel.com/support/network/adapter/1000/linux/e100.htm and > followed the instructions there. Stuff is still not working. Looking at > /var/log/messages, I see > > e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr > 00:E0:81:03:AF:3C > > I see a similar message for eth1. > > A while later is > e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex > > A while later it cannot find ntp.org > > Then NETDEV WATCHDOG eth0; transmit timed out > then another watchdog message. > > Any ideas? First, as the root user, do "ifconfig" and verify that there's actually IP addresses assigned to your NIC. Next (also as root), do "netstat -rn" and verify that the default gateway is pointing at your router. If that's all good, then you may be blocked by either iptables or SELinux. Try turning off iptables temporarily by "service iptables off" (as root again). If that doesn't work, try (as root) "setenforce 0" to temporarily disable SELinux. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Admitting you have a problem is the first step toward getting - - medicated for it. -- Jim Evarts (http://www.TopFive.com) - ---------------------------------------------------------------------- From redhat at buglecreek.com Mon Jan 9 18:58:27 2006 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Mon, 09 Jan 2006 11:58:27 -0700 Subject: Aliased IPs Message-ID: <1136833107.6265.251435529@webmail.messagingengine.com> We have a server that that has a bunch of aliased IP addresses (eth0:1 - eth0:20). When doing a reboot or "service network restart" all of the aliased ips show in the up condition with ifconfig, but when trying to ping some of them they do not respond. When we manually do ifup eth0:5 for example the interface starts responding. If we do this to all the interfaces that initially do not respond they all seem to work fine. Any clues as to why this is? System runs Redhat ES4 Update 2 Standard interface config file: DEVICE=eth0:5 ONBOOT=yes BOOTPROTO=static IPADDR=xxx.xxx.xxx.xxx NETMASK=xxx.xxx.xxx.xxx GATEWAY=xxx.xxx.xxx.xxx From john.bergeski at alpsautomotive.com Mon Jan 9 19:03:14 2006 From: john.bergeski at alpsautomotive.com (john.bergeski at alpsautomotive.com) Date: Mon, 9 Jan 2006 14:03:14 -0500 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! Message-ID: From hemzet at gmx.net Mon Jan 9 20:53:43 2006 From: hemzet at gmx.net (Oliver) Date: Mon, 9 Jan 2006 21:53:43 +0100 Subject: Aliased IPs In-Reply-To: <1136833107.6265.251435529@webmail.messagingengine.com> References: <1136833107.6265.251435529@webmail.messagingengine.com> Message-ID: <1421848850.20060109215343@gmx.net> look at the /etc/sysconfig/network-scripts/ifup-aliases script, whether it's configured correct. at me, the interface config files look like this... DEVICE=eth0:x BOOTPROTO=static BROADCAST=xxx.xxx.xxx.xxx HWADDR=xx:xx:xx:xx:xx:xx IPADDR=xxx.xxx.xxx.xxx NETMASK=xxx.xxx.xxx.xxx NETWORK=xxx.xxx.xxx.xxx ONBOOT=yes TYPE=Ethernet *** mail checked - no virus found *** > We have a server that that has a bunch of aliased IP addresses (eth0:1 - > eth0:20). When doing a reboot or "service network restart" all of the > aliased ips show in the up condition with ifconfig, but when trying to > ping some of them they do not respond. When we manually do ifup eth0:5 > for example the interface starts responding. If we do this to all the > interfaces that initially do not respond they all seem to work fine. > Any clues as to why this is? > System runs Redhat ES4 Update 2 > Standard interface config file: > DEVICE=eth0:5 > ONBOOT=yes > BOOTPROTO=static > IPADDR=xxx.xxx.xxx.xxx > NETMASK=xxx.xxx.xxx.xxx > GATEWAY=xxx.xxx.xxx.xxx > _______________________________________________ > 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 From rstevens at vitalstream.com Mon Jan 9 22:23:46 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 14:23:46 -0800 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] In-Reply-To: <20060109135808.GA9341@bobcat.bobcatos.com> References: <43C1D9A2.9030806@toward.com> <20060109040018.GA22783@bobcat.bobcatos.com> <43C20DF9.6070005@comcast.net> <20060109135808.GA9341@bobcat.bobcatos.com> Message-ID: <1136845426.3340.264.camel@prophead.corp.publichost.com> On Mon, 2006-01-09 at 07:58 -0600, Bob McClure Jr wrote: > On Mon, Jan 09, 2006 at 02:17:13AM -0500, John Wirt wrote: > > > > > > Bob (and Ian), > > > > I checked further and the, > > > > grub-install /dev/sdXY > > > > command installs Grub to the "boot directory" of the "root partition." > > See http://www.terabyteunlimited.com/kb/article.php?id=232 . (note only > > one "r" in terabyte). My understanding is that the root partition is the > > one where Linux is installed. > > Methinks TBU knows more about Windoze than Linux. And Rick Stevens > knows a good deal more than I about Linux and SCSI. I'll let him > weigh in. Oh, gawd! Ok, here we go with the "Reader's Digest" version... Let's define some things: /dev/sd refers to a SCSI disk device /dev/hd refers to an IDE disk device Following the "sd" or "hd" is a letter, "a" through "p", which will refer to a specific drive in that class. In the SCSI world, these drive identifiers are allocated sequentially, depending on what drives are found EVEN IF the SCSI IDs are not. The scan starts at SCSI ID 0, then 2, then 3 on up to 15 (SCSI controllers are ignored). So, the drive with the lowest ID will be "/dev/sda", the second lowest "/dev/sdb" and so on. The naming assignments for IDE drives are more predictable: Master drive on primary controller: /dev/hda Slave drive on primary controller: /dev/hdb Master drive on secondary controller: /dev/hdc Slave drive on secondary controller: /dev/hdd Using that data, "/dev/hda" is the first IDE drive, "/dev/sdg" would be the seventh SCSI disk. After the drive designator comes a number, 1 through 16, which defines the partition number of the given drive. "grub-install" expects a drive OR partition specification as its argument. Using the data above, grub-install /dev/sda3 would install grub into the third partition of the first SCSI disk. Conversely, grub-install /dev/sdc2 would install it into the second partition of the third SCSI disk. If you do NOT specify a partition, then grub will be installed into the MBR (master boot record) of the DRIVE. So, grub-install /dev/sdb would install grub into the MBR of the second SCSI disk. That's all well and good as long as Linux is running. However, at boot time "/dev/sdXY" and "/dev/hdXY" don't exist as far as your BIOS is concerned. All it knows is "hard drive IDs", and these are single-byte hexadecimal numbers. Drive ID 0x80 is the "first" drive, 0x81 is the second and so on. In the IDE world, they follow the conventions: Master drive on primary controller: 0x80 Slave drive on primary controller: 0x81 Master drive on secondary controller: 0x82 Slave drive on secondary controller: 0x83 In the SCSI world, it works more or less the same--the drive with the lowest SCSI ID is 0x80. Installing grub into an appropriate partition (as opposed to the MBR) isn't hard--you want to install it into the partition that contains the "/boot" filesystem. If you have Linux running, check the mount table by entering "mount" as the root user. Each line will contain data to the effect: (partition) on (mountpoint) type (fs-type) (access) You want to look at the "on (mountpoint)" parts. If you see "/boot" listed, then the boot partition is a separate filesystem on its own partition. If you do NOT see "/boot" listed, then the boot data is in the root of the filesystem, and that's where you want to install grub. Examples: /dev/hda1 on / type ext3 (rw) /dev/hda2 on /boot type ext3 (rw) That indicates that /boot is on a separate partition/filesystem and you want to do "grub-install /dev/hda2" /dev/hda1 on / type ext3 (rw) /dev/hda2 on /images type ext3 (rw) /dev/hda7 on /usr type ext3 (rw) /dev/hda5 on /var type ext3 (rw) /dev/hda3 on /work type ext3 (rw) This indicates that /boot is part of the root filesystem and you want to do a "grub-install /dev/hda1". Note that no matter WHAT you do, the partition must be between 1 and 4 (the primary partitions). Partitions 5-16 are EXTENDED partitions and actually live inside partition 4. I hope that clears some of it up. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I'm afraid my karma just ran over your dogma - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 9 22:26:42 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 14:26:42 -0800 Subject: Aliased IPs In-Reply-To: <1136833107.6265.251435529@webmail.messagingengine.com> References: <1136833107.6265.251435529@webmail.messagingengine.com> Message-ID: <1136845603.3340.268.camel@prophead.corp.publichost.com> On Mon, 2006-01-09 at 11:58 -0700, redhat at buglecreek.com wrote: > We have a server that that has a bunch of aliased IP addresses (eth0:1 - > eth0:20). When doing a reboot or "service network restart" all of the > aliased ips show in the up condition with ifconfig, but when trying to > ping some of them they do not respond. When we manually do ifup eth0:5 > for example the interface starts responding. If we do this to all the > interfaces that initially do not respond they all seem to work fine. > Any clues as to why this is? > > System runs Redhat ES4 Update 2 > > Standard interface config file: > DEVICE=eth0:5 > ONBOOT=yes > BOOTPROTO=static > IPADDR=xxx.xxx.xxx.xxx > NETMASK=xxx.xxx.xxx.xxx > GATEWAY=xxx.xxx.xxx.xxx You can only have ONE gateway on an interface. What's happening is that the default gateway keeps getting wonked by the GATEWAY= stuff in each config file. You should set up a single GATEWAY= line in the /etc/sysconfig/network file AND DELETE IT from all the /etc/sysconfig/network-scripts/ifcfg-ethx:y files. > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Animal testing is futile. They always get nervous and give the - - wrong answers - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 9 23:26:52 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 15:26:52 -0800 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! In-Reply-To: References: Message-ID: <1136849212.3340.275.camel@prophead.corp.publichost.com> On Mon, 2006-01-09 at 14:03 -0500, john.bergeski at alpsautomotive.com wrote: Please don't put your whole message in the subject line, John. Are you launching anything from, say, /etc/rc.d/rc.local that doesn't let go of the console? If so, then that's what's happening. You might also try to boot the system in run level 3 (don't let it go to the GUI) and see if it's an X problem. To do that, at the grub menu, hit "E" to edit the boot entry, scroll down to the "kernel" line, hit "E" again, go to the end of the line and add " 3" to it (note: you must include the space before the "3"). It should look sorta like: kernel /boot/vmlinuz-2.6.13-1.1532_FC4 ro root=LABEL=/ rhgb quiet 3 Then hit the ENTER key and then "B" to boot it. The system should come up to the text login. If it does, then you have an X configuration issue and you should, as the root user, rerun "system-config-display" and make sure X is configured correctly. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Millihelen, adj: The amount of beauty required to launch one ship. - ---------------------------------------------------------------------- From dragonite.wylie at verizon.net Tue Jan 10 00:48:24 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Mon, 09 Jan 2006 18:48:24 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <182690487.20060108230038@gmx.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> Message-ID: <43C30458.1030303@verizon.net> nope. it goes into panic after displaying "VFS: please append a correct 'root=' boot option" or something to that effect. also says it can't find a device, then it gives (8,3), which i'm guessing is a location. the message saying it can't find the device comes before the VFS message. what is going on here? Oliver wrote: >try using acpi=off kernel boot option > > > >*** mail checked - no virus found *** > > > > > >>For some reason, I can't install Fedora Core 4 on my laptop. I can get >>the boot: prompt, but then it can't mount the root filesystem (i guess >>from the CD) and goes into kernel panic. I've done the checksums, and >>they add up correctly. What should I do? >> >> > > > >>_______________________________________________ >>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 >> >> > > > >_______________________________________________ >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 > > > From rstevens at vitalstream.com Tue Jan 10 02:06:06 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 09 Jan 2006 18:06:06 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43C30458.1030303@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> Message-ID: <1136858767.3340.284.camel@prophead.corp.publichost.com> On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: > nope. > it goes into panic after displaying "VFS: please append a correct > 'root=' boot option" or something to that effect. also says it can't > find a device, then it gives (8,3), which i'm guessing is a location. > the message saying it can't find the device comes before the VFS > message. what is going on here? It appears that the initrd file wasn't built with the ext3 filesystem support module or the lvm system. Boot off the first CD in rescue mode and let the system search for and mount the existing system. At the "#" prompt, do the following: # chroot /mnt/sysimage # cd /boot # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 Verify that the ext3 filesystem module gets loaded in, and if you're using LVM, that the LVM modules get loaded as well. When that's done: # exit # exit (yes, two "exit" commands--the first exits the chroot environment, the second terminates the rescue boot). Pop the CD out and see if it'll boot. > > Oliver wrote: > > >try using acpi=off kernel boot option > > > > > > > >*** mail checked - no virus found *** > > > > > > > > > > > >>For some reason, I can't install Fedora Core 4 on my laptop. I can get > >>the boot: prompt, but then it can't mount the root filesystem (i guess > >>from the CD) and goes into kernel panic. I've done the checksums, and > >>they add up correctly. What should I do? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - First Law of Work: - - If you can't get it done in the first 24 hours, work nights. - ---------------------------------------------------------------------- From daisyofbywater at yahoo.com Tue Jan 10 04:38:38 2006 From: daisyofbywater at yahoo.com (daisy) Date: Mon, 9 Jan 2006 20:38:38 -0800 (PST) Subject: cannot boot up Message-ID: <20060110043838.33251.qmail@web32215.mail.mud.yahoo.com> My Red Hat linux system stalled one day and wouldn't allow any keyboard input. We only use this machine as a web server and no one was using the machine at the time. We tried to reboot the machine but couldn't. The boot up process just stops The first time it stops at the following line, INIT: version 2.78 booting The second and third time it stopped at Setting hostname www.mycomputer.com I have no idea where to start looking for the problem, let alone how to start to fix it. I would be very grateful for any help. Thanks in advance. Daisy --------------------------------- Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at tootai.net Tue Jan 10 09:49:20 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Tue, 10 Jan 2006 10:49:20 +0100 Subject: cannot boot up In-Reply-To: <20060110043838.33251.qmail@web32215.mail.mud.yahoo.com> References: <20060110043838.33251.qmail@web32215.mail.mud.yahoo.com> Message-ID: <43C38320.60503@tootai.net> daisy a ?crit : > My Red Hat linux system stalled one day and wouldn't allow any > keyboard input. We only use this machine as a web server and no one > was using the machine at the time. > > We tried to reboot the machine but couldn't. The boot up process just > stops The first time it stops at the following line, > > INIT: version 2.78 booting > > The second and third time it stopped at > > Setting hostname www.mycomputer.com > > I have no idea where to start looking for the problem, let alone how > to start to fix it. I would be very grateful for any help. Thanks in > advance. > I would suspect a hardware failure, memory specially. Run a memtest from a live CD (eg Ubuntu). -- Daniel From john.bergeski at alpsautomotive.com Tue Jan 10 13:34:59 2006 From: john.bergeski at alpsautomotive.com (john.bergeski at alpsautomotive.com) Date: Tue, 10 Jan 2006 08:34:59 -0500 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! In-Reply-To: <1136849212.3340.275.camel@prophead.corp.publichost.com> Message-ID: Sorry about the message in the subject line, won't happen again. When I am at the grub menu I have the following line. Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 rhgb quiet 3 I deleted the rhgb quiet 3 so it looks like the following: Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 I hit "b" to boot the system but I get the following error: Booting command-list Error 27: Unrecognised command Thanks for your help! Rick Stevens To Sent by: Getting started with Red Hat Linux redhat-install-li st-bounces at redhat cc .com Subject Re: Server will not boot stuck 01/09/2006 06:26 after sarting HAL deamon (OK) .. no PM other error messages. Thanks! Please respond to Getting started with Red Hat Linux On Mon, 2006-01-09 at 14:03 -0500, john.bergeski at alpsautomotive.com wrote: Please don't put your whole message in the subject line, John. Are you launching anything from, say, /etc/rc.d/rc.local that doesn't let go of the console? If so, then that's what's happening. You might also try to boot the system in run level 3 (don't let it go to the GUI) and see if it's an X problem. To do that, at the grub menu, hit "E" to edit the boot entry, scroll down to the "kernel" line, hit "E" again, go to the end of the line and add " 3" to it (note: you must include the space before the "3"). It should look sorta like: kernel /boot/vmlinuz-2.6.13-1.1532_FC4 ro root=LABEL=/ rhgb quiet 3 Then hit the ENTER key and then "B" to boot it. The system should come up to the text login. If it does, then you have an X configuration issue and you should, as the root user, rerun "system-config-display" and make sure X is configured correctly. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Millihelen, adj: The amount of beauty required to launch one ship. - ---------------------------------------------------------------------- _______________________________________________ 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 -- This message has been scanned for viruses and dangerous content by ALAI MailScanner, and is believed to be clean. From rstevens at vitalstream.com Tue Jan 10 17:42:10 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 10 Jan 2006 09:42:10 -0800 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! In-Reply-To: References: Message-ID: <1136914931.3340.301.camel@prophead.corp.publichost.com> On Tue, 2006-01-10 at 08:34 -0500, john.bergeski at alpsautomotive.com wrote: > Sorry about the message in the subject line, won't happen again. That's OK. It just makes following the thread a bit uglier. One other thing...we kinda prefer bottom-posting here (making your comments AFTER what you're commenting on), as I'm doing here. > When I am at the grub menu I have the following line. > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 rhgb quiet 3 > > I deleted the rhgb quiet 3 so it looks like the following: > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 > > > I hit "b" to boot the system but I get the following error: > > Booting command-list > > Error 27: Unrecognised command That seems odd. It may be that grub doesn't understand the capital "K" you have on the line (I can't recall if grub is case sensitive or not). Make sure the line reads: kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 3 (lower case "k" in "kernel"). The " 3" means to boot to text mode, not GUI mode. BTW, it's pretty obvious here that you do use ext3 AND LVM. BACKGROUND: When you get to the boot display, grub displays the labels for the various kernels it knows about. To change the boot characteristics for one of the kernels FOR THIS BOOT ONLY, you use the arrow keys to select one of those labels and hit "E". The display should change to show all lines pertaining to that kernel. In most cases, there should be three lines. Example: root (hd0,0) kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.14-1.1656_FC4.img You only want to edit the "kernel" line and leave the other two alone. So, you use the arrow keys to get to the "kernel" line, then hit "E" again. Do whatever editing you want, then press "ENTER" to terminate the edit session. Then press "B" and it should boot. Note that these edits are temporary...they will affect this boot session only. If you wish them to be permanent, you must edit the /boot/grub/grub.conf file after the system comes up. In case you're curious, the "rhgb" means to use the "Red Hat Graphical Boot" (that pretty windowed startup screen) and "quiet" means to not complain about innocuous failures when trying to start X (not getting to DNS, etc.). > On Mon, 2006-01-09 at 14:03 -0500, john.bergeski at alpsautomotive.com > wrote: > > Please don't put your whole message in the subject line, John. > > Are you launching anything from, say, /etc/rc.d/rc.local that doesn't > let go of the console? If so, then that's what's happening. > > You might also try to boot the system in run level 3 (don't let it go > to the GUI) and see if it's an X problem. To do that, at the grub > menu, hit "E" to edit the boot entry, scroll down to the "kernel" line, > hit "E" again, go to the end of the line and add " 3" to it (note: you > must include the space before the "3"). It should look sorta like: > > kernel /boot/vmlinuz-2.6.13-1.1532_FC4 ro root=LABEL=/ rhgb quiet 3 > > Then hit the ENTER key and then "B" to boot it. > > The system should come up to the text login. If it does, then you > have an X configuration issue and you should, as the root user, rerun > "system-config-display" and make sure X is configured correctly. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Is that a buffer overflow or are you just happy to see me? - ---------------------------------------------------------------------- From bret_stern at machinemanagement.com Tue Jan 10 17:52:20 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Tue, 10 Jan 2006 09:52:20 -0800 Subject: vsftp - can browse but cannot put Message-ID: <000001c6160e$9b697210$0205a8c0@mmbret> I can connect and browse to vsftp on FC4, but cannot put files. Ideally, I would like to only allow a specific system user (not root) to login and put files. Suggestions.. here's my vsftpd.conf. Thank you Bret Stern # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # READ THIS: This example file is NOT an exhaustive list of vsftpd options. # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's # capabilities. # # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=NO # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES # # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpd's) local_umask=022 # # Uncomment this to allow the anonymous FTP user to upload files. This only # has an effect if the above global write enable is activated. Also, you will # obviously need to create a directory writable by the FTP user. #uncommented 12-23-2005 bret stern anon_upload_enable=YES # # Uncomment this if you want the anonymous FTP user to be able to create # new directories. #anon_mkdir_write_enable=YES # # Activate directory messages - messages given to remote users when they # go into a certain directory. dirmessage_enable=YES # # Activate logging of uploads/downloads. xferlog_enable=YES # # Make sure PORT transfer connections originate from port 20 (ftp-data). connect_from_port_20=YES # # If you want, you can arrange for uploaded anonymous files to be owned by # a different user. Note! Using "root" for uploaded files is not # recommended! #chown_uploads=YES #chown_username=whoever # # You may override where the log file goes if you like. The default is shown # below. #xferlog_file=/var/log/vsftpd.log # # If you want, you can have your log file in standard ftpd xferlog format xferlog_std_format=YES # # You may change the default value for timing out an idle session. #idle_session_timeout=600 # # You may change the default value for timing out a data connection. #data_connection_timeout=120 # # It is recommended that you define on your system a unique user which the # ftp server can use as a totally isolated and unprivileged user. #nopriv_user=ftpsecure # # Enable this and the server will recognise asynchronous ABOR requests. Not # recommended for security (the code is non-trivial). Not enabling it, # however, may confuse older FTP clients. #async_abor_enable=YES # # By default the server will pretend to allow ASCII mode but in fact ignore # the request. Turn on the below options to have the server actually do ASCII # mangling on files when in ASCII mode. # Beware that turning on ascii_download_enable enables malicious remote parties # to consume your I/O resources, by issuing the command "SIZE /big/file" in # ASCII mode. # These ASCII options are split into upload and download because you may wish # to enable ASCII uploads (to prevent uploaded scripts etc. from breaking), # without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be # on the client anyway.. #ascii_upload_enable=YES #ascii_download_enable=YES # # You may fully customise the login banner string: #ftpd_banner=Tracert has recorded your login map # # You may specify a file of disallowed anonymous e-mail addresses. Apparently # useful for combatting certain DoS attacks. #deny_email_enable=YES # (default follows) #banned_email_file=/etc/vsftpd/banned_emails # # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). #chroot_list_enable=YES # (default follows) #chroot_list_file=/etc/vsftpd/chroot_list # # You may activate the "-R" option to the builtin ls. This is disabled by # default to avoid remote users being able to cause excessive I/O on large # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume # the presence of the "-R" option, so there is a strong case for enabling it. #ls_recurse_enable=YES pam_service_name=vsftpd userlist_enable=YES #enable for standalone mode listen=YES tcp_wrappers=YES From rstevens at vitalstream.com Tue Jan 10 18:10:31 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 10 Jan 2006 10:10:31 -0800 Subject: vsftp - can browse but cannot put In-Reply-To: <000001c6160e$9b697210$0205a8c0@mmbret> References: <000001c6160e$9b697210$0205a8c0@mmbret> Message-ID: <1136916631.3340.313.camel@prophead.corp.publichost.com> On Tue, 2006-01-10 at 09:52 -0800, Bret Stern wrote: > I can connect and browse to vsftp on FC4, but cannot > put files. You can only upload files to directories you have write access to. By "you", I mean the user you logged into FTP as. > Ideally, I would like to only allow a specific system user > (not root) to login and put files. > > Suggestions.. here's my vsftpd.conf. > > Thank you > > Bret Stern > > # Example config file /etc/vsftpd/vsftpd.conf > # > # The default compiled in settings are fairly paranoid. This sample file > # loosens things up a bit, to make the ftp daemon more usable. > # Please see vsftpd.conf.5 for all compiled in defaults. > # > # READ THIS: This example file is NOT an exhaustive list of vsftpd options. > # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's > # capabilities. > # > # Allow anonymous FTP? (Beware - allowed by default if you comment this > out). > anonymous_enable=NO > # > # Uncomment this to allow local users to log in. > local_enable=YES > # > # Uncomment this to enable any form of FTP write command. > write_enable=YES > # > # Default umask for local users is 077. You may wish to change this to 022, > # if your users expect that (022 is used by most other ftpd's) > local_umask=022 > # > # Uncomment this to allow the anonymous FTP user to upload files. This only > # has an effect if the above global write enable is activated. Also, you > will > # obviously need to create a directory writable by the FTP user. > #uncommented 12-23-2005 bret stern > anon_upload_enable=YES Why do you have this enabled when you have "anonymous_enable" disabled? If you want anonymous FTP, do you really understand how to set that up? If you don't, then I'd either comment this out or set it to "NO". > # > # Uncomment this if you want the anonymous FTP user to be able to create > # new directories. > #anon_mkdir_write_enable=YES > # > # Activate directory messages - messages given to remote users when they > # go into a certain directory. > dirmessage_enable=YES > # > # Activate logging of uploads/downloads. > xferlog_enable=YES > # > # Make sure PORT transfer connections originate from port 20 (ftp-data). > connect_from_port_20=YES > # > # If you want, you can arrange for uploaded anonymous files to be owned by > # a different user. Note! Using "root" for uploaded files is not > # recommended! > #chown_uploads=YES > #chown_username=whoever > # > # You may override where the log file goes if you like. The default is shown > # below. > #xferlog_file=/var/log/vsftpd.log > # > # If you want, you can have your log file in standard ftpd xferlog format > xferlog_std_format=YES > # > # You may change the default value for timing out an idle session. > #idle_session_timeout=600 > # > # You may change the default value for timing out a data connection. > #data_connection_timeout=120 > # > # It is recommended that you define on your system a unique user which the > # ftp server can use as a totally isolated and unprivileged user. > #nopriv_user=ftpsecure > # > # Enable this and the server will recognise asynchronous ABOR requests. Not > # recommended for security (the code is non-trivial). Not enabling it, > # however, may confuse older FTP clients. > #async_abor_enable=YES > # > # By default the server will pretend to allow ASCII mode but in fact ignore > # the request. Turn on the below options to have the server actually do > ASCII > # mangling on files when in ASCII mode. > # Beware that turning on ascii_download_enable enables malicious remote > parties > # to consume your I/O resources, by issuing the command "SIZE /big/file" in > # ASCII mode. > # These ASCII options are split into upload and download because you may > wish > # to enable ASCII uploads (to prevent uploaded scripts etc. from breaking), > # without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be > # on the client anyway.. > #ascii_upload_enable=YES > #ascii_download_enable=YES > # > # You may fully customise the login banner string: > #ftpd_banner=Tracert has recorded your login map > # > # You may specify a file of disallowed anonymous e-mail addresses. > Apparently > # useful for combatting certain DoS attacks. > #deny_email_enable=YES > # (default follows) > #banned_email_file=/etc/vsftpd/banned_emails > # > # You may specify an explicit list of local users to chroot() to their home > # directory. If chroot_local_user is YES, then this list becomes a list of > # users to NOT chroot(). > #chroot_list_enable=YES > # (default follows) > #chroot_list_file=/etc/vsftpd/chroot_list > # > # You may activate the "-R" option to the builtin ls. This is disabled by > # default to avoid remote users being able to cause excessive I/O on large > # sites. However, some broken FTP clients such as "ncftp" and "mirror" > assume > # the presence of the "-R" option, so there is a strong case for enabling > it. > #ls_recurse_enable=YES > > pam_service_name=vsftpd > userlist_enable=YES > #enable for standalone mode > listen=YES > tcp_wrappers=YES Ok, what do you have in your /etc/vsftpd.user_list file? It should contain the usernames that are allowed to use FTP, one per line. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When in doubt, mumble. - ---------------------------------------------------------------------- From john.bergeski at alpsautomotive.com Tue Jan 10 18:28:01 2006 From: john.bergeski at alpsautomotive.com (john.bergeski at alpsautomotive.com) Date: Tue, 10 Jan 2006 13:28:01 -0500 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! In-Reply-To: <1136914931.3340.301.camel@prophead.corp.publichost.com> Message-ID: On Tue, 2006-01-10 at 08:34 -0500, john.bergeski at alpsautomotive.com wrote: > Sorry about the message in the subject line, won't happen again. That's OK. It just makes following the thread a bit uglier. One other thing...we kinda prefer bottom-posting here (making your comments AFTER what you're commenting on), as I'm doing here. > When I am at the grub menu I have the following line. > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 rhgb quiet 3 > > I deleted the rhgb quiet 3 so it looks like the following: > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 > > > I hit "b" to boot the system but I get the following error: > > Booting command-list > > Error 27: Unrecognised command That seems odd. It may be that grub doesn't understand the capital "K" you have on the line (I can't recall if grub is case sensitive or not). Make sure the line reads: kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 3 (lower case "k" in "kernel"). The " 3" means to boot to text mode, not GUI mode. BTW, it's pretty obvious here that you do use ext3 AND LVM. BACKGROUND: When you get to the boot display, grub displays the labels for the various kernels it knows about. To change the boot characteristics for one of the kernels FOR THIS BOOT ONLY, you use the arrow keys to select one of those labels and hit "E". The display should change to show all lines pertaining to that kernel. In most cases, there should be three lines. Example: root (hd0,0) kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb quiet initrd /boot/initrd-2.6.14-1.1656_FC4.img You only want to edit the "kernel" line and leave the other two alone. So, you use the arrow keys to get to the "kernel" line, then hit "E" again. Do whatever editing you want, then press "ENTER" to terminate the edit session. Then press "B" and it should boot. Note that these edits are temporary...they will affect this boot session only. If you wish them to be permanent, you must edit the /boot/grub/grub.conf file after the system comes up. In case you're curious, the "rhgb" means to use the "Red Hat Graphical Boot" (that pretty windowed startup screen) and "quiet" means to not complain about innocuous failures when trying to start X (not getting to DNS, etc.). > On Mon, 2006-01-09 at 14:03 -0500, john.bergeski at alpsautomotive.com > wrote: > > Please don't put your whole message in the subject line, John. > > Are you launching anything from, say, /etc/rc.d/rc.local that doesn't > let go of the console? If so, then that's what's happening. > > You might also try to boot the system in run level 3 (don't let it go > to the GUI) and see if it's an X problem. To do that, at the grub > menu, hit "E" to edit the boot entry, scroll down to the "kernel" line, > hit "E" again, go to the end of the line and add " 3" to it (note: you > must include the space before the "3"). It should look sorta like: > > kernel /boot/vmlinuz-2.6.13-1.1532_FC4 ro root=LABEL=/ rhgb quiet 3 > > Then hit the ENTER key and then "B" to boot it. > > The system should come up to the text login. If it does, then you > have an X configuration issue and you should, as the root user, rerun > "system-config-display" and make sure X is configured correctly. Thanks for the information. I got the system to boot into command line per your instructions. I ran the system-config-display command and the system boots normally!! From rstevens at vitalstream.com Tue Jan 10 23:42:05 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 10 Jan 2006 15:42:05 -0800 Subject: Server will not boot stuck after sarting HAL deamon (OK) .. no other error messages. Thanks! In-Reply-To: References: Message-ID: <1136936525.3340.329.camel@prophead.corp.publichost.com> On Tue, 2006-01-10 at 13:28 -0500, john.bergeski at alpsautomotive.com wrote: > On Tue, 2006-01-10 at 08:34 -0500, john.bergeski at alpsautomotive.com > wrote: > > Sorry about the message in the subject line, won't happen again. > > That's OK. It just makes following the thread a bit uglier. One other > thing...we kinda prefer bottom-posting here (making your comments AFTER > what you're commenting on), as I'm doing here. > > > When I am at the grub menu I have the following line. > > > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 rhgb quiet > 3 > > > > I deleted the rhgb quiet 3 so it looks like the following: > > > > Kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 > > > > > > I hit "b" to boot the system but I get the following error: > > > > Booting command-list > > > > Error 27: Unrecognised command > > That seems odd. It may be that grub doesn't understand the capital "K" > you have on the line (I can't recall if grub is case sensitive or not). > Make sure the line reads: > > kernel /vmlinuz-2.6.9-5.ELsmp ro root=/dev/Volgroup00/LogVol00 > 3 > > (lower case "k" in "kernel"). The " 3" means to boot to text mode, not > GUI mode. BTW, it's pretty obvious here that you do use ext3 AND LVM. > > BACKGROUND: > When you get to the boot display, grub displays the labels for the > various kernels it knows about. To change the boot characteristics for > one of the kernels FOR THIS BOOT ONLY, you use the arrow keys to select > one of those labels and hit "E". The display should change to show all > lines pertaining to that kernel. In most cases, there should be three > lines. Example: > > root (hd0,0) > kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb quiet > initrd /boot/initrd-2.6.14-1.1656_FC4.img > > You only want to edit the "kernel" line and leave the other two alone. > So, you use the arrow keys to get to the "kernel" line, then hit "E" > again. Do whatever editing you want, then press "ENTER" to terminate > the edit session. Then press "B" and it should boot. Note that these > edits are temporary...they will affect this boot session only. If you > wish them to be permanent, you must edit the /boot/grub/grub.conf file > after the system comes up. > > In case you're curious, the "rhgb" means to use the "Red Hat Graphical > Boot" (that pretty windowed startup screen) and "quiet" means to not > complain about innocuous failures when trying to start X (not getting to > DNS, etc.). > > > On Mon, 2006-01-09 at 14:03 -0500, john.bergeski at alpsautomotive.com > > wrote: > > > > Please don't put your whole message in the subject line, John. > > > > Are you launching anything from, say, /etc/rc.d/rc.local that doesn't > > let go of the console? If so, then that's what's happening. > > > > You might also try to boot the system in run level 3 (don't let it go > > to the GUI) and see if it's an X problem. To do that, at the grub > > menu, hit "E" to edit the boot entry, scroll down to the "kernel" line, > > hit "E" again, go to the end of the line and add " 3" to it (note: you > > must include the space before the "3"). It should look sorta like: > > > > kernel /boot/vmlinuz-2.6.13-1.1532_FC4 ro root=LABEL=/ rhgb quiet 3 > > > > Then hit the ENTER key and then "B" to boot it. > > > > The system should come up to the text login. If it does, then you > > have an X configuration issue and you should, as the root user, rerun > > "system-config-display" and make sure X is configured correctly. > > Thanks for the information. I got the system to boot into command line per > your instructions. I ran the system-config-display command and the system > boots normally!! Ta DAH! Congratulations! Glad I could help. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The moving cursor writes, and having written, blinks on. - ---------------------------------------------------------------------- From mdroz8 at gmail.com Wed Jan 11 01:31:36 2006 From: mdroz8 at gmail.com (mike) Date: Tue, 10 Jan 2006 17:31:36 -0800 Subject: nagios Message-ID: <1a4b2b830601101731m1d736933g56cccc98508fb812@mail.gmail.com> has anyone here setup up nagios on linux to work using the send_nsca addon? i'm stretching it here by asking this list, but i have a feeling my problem setting this up could be my linux related... -------------- next part -------------- An HTML attachment was scrubbed... URL: From inode0 at gmail.com Wed Jan 11 01:45:56 2006 From: inode0 at gmail.com (inode0) Date: Tue, 10 Jan 2006 19:45:56 -0600 Subject: nagios In-Reply-To: <1a4b2b830601101731m1d736933g56cccc98508fb812@mail.gmail.com> References: <1a4b2b830601101731m1d736933g56cccc98508fb812@mail.gmail.com> Message-ID: On 1/10/06, mike wrote: > has anyone here setup up nagios on linux to work using the send_nsca addon? > i'm stretching it here by asking this list, but i have a feeling my problem > setting this up could be my linux related... I have on a Debian box a long time ago ... it is still there for reference though. John From harold at hallikainen.com Wed Jan 11 04:46:46 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Tue, 10 Jan 2006 20:46:46 -0800 (PST) Subject: FC4 and Intel 82559 NIC? Message-ID: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: >> > >> > This weekend I loaded FC4 onto my server that had been running RH8. Everything seems to have gone smoothly EXCEPT the LAN does not work. >> It >> > seems to find the two ethernet interfaces, but does not talk to the remainder of the network. I've tried both static IP and DHCP. Neither seems to work. Do I need a special driver for the NIC? If so, where do >> I >> > find it, and how do I install it? >> > >> > THANKS! >> > >> > Harold >> > >> Following up... I found the e100 driver at >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm and followed the instructions there. Stuff is still not working. Looking at /var/log/messages, I see >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr 00:E0:81:03:AF:3C >> I see a similar message for eth1. >> A while later is >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex >> A while later it cannot find ntp.org >> Then NETDEV WATCHDOG eth0; transmit timed out >> then another watchdog message. >> Any ideas? > > First, as the root user, do "ifconfig" and verify that there's actually IP addresses assigned to your NIC. Next (also as root), do "netstat -rn" and verify that the default gateway is pointing at your router. > > If that's all good, then you may be blocked by either iptables or SELinux. Try turning off iptables temporarily by "service iptables off" (as root again). If that doesn't work, try (as root) "setenforce 0" to temporarily disable SELinux. > Thanks for the responses! It's really a pain to not have network connectivity. I can't just copy and paste stuff into an email. Instead, I'm copying off one screen and typing on another (my laptop). So excuse the typos! It's interesting that I'm having network problems with this one machine. I've installed FC4 on another server and my laptop with no problem. Oh well... I tried the stuff above to get the network back and was about to type all the results when I thought I'd try something else (anything to avoid typing all that stuff). This is a dual processor machine that had always worked fine using SMP on RH8. I tried telling it to NOT run smp on a reboot, and the network works great! No other changes! I'll mess with it some more in the next couple days. Is anyone else running smp on FC4? THANKS for all the help! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com -- FCC Rules Updated Daily at http://www.hallikainen.com From bret_stern at machinemanagement.com Wed Jan 11 16:57:10 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Wed, 11 Jan 2006 08:57:10 -0800 Subject: vsftp - can browse but cannot put In-Reply-To: <1136916631.3340.313.camel@prophead.corp.publichost.com> Message-ID: <000001c616d0$120c1c30$0205a8c0@mmbret> -----Original Message----- From: Rick Stevens [mailto:rstevens at vitalstream.com] Sent: Tuesday, January 10, 2006 10:11 AM To: Getting started with Red Hat Linux; bret_stern at machinemanagement.com Subject: Re: vsftp - can browse but cannot put On Tue, 2006-01-10 at 09:52 -0800, Bret Stern wrote: > I can connect and browse to vsftp on FC4, but cannot put files. You can only upload files to directories you have write access to. By "you", I mean the user you logged into FTP as. > Ideally, I would like to only allow a specific system user (not root) > to login and put files. > > Suggestions.. here's my vsftpd.conf. > > Thank you > > Bret Stern > > # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled > in settings are fairly paranoid. This sample file # loosens things up > a bit, to make the ftp daemon more usable. > # Please see vsftpd.conf.5 for all compiled in defaults. > # > # READ THIS: This example file is NOT an exhaustive list of vsftpd options. > # Please read the vsftpd.conf.5 manual page to get a full idea of > vsftpd's # capabilities. > # > # Allow anonymous FTP? (Beware - allowed by default if you comment > this out). > anonymous_enable=NO > # > # Uncomment this to allow local users to log in. > local_enable=YES > # > # Uncomment this to enable any form of FTP write command. > write_enable=YES > # > # Default umask for local users is 077. You may wish to change this to > 022, # if your users expect that (022 is used by most other ftpd's) > local_umask=022 > # > # Uncomment this to allow the anonymous FTP user to upload files. This > only # has an effect if the above global write enable is activated. > Also, you will # obviously need to create a directory writable by the > FTP user. > #uncommented 12-23-2005 bret stern > anon_upload_enable=YES Why do you have this enabled when you have "anonymous_enable" disabled? If you want anonymous FTP, do you really understand how to set that up? If you don't, then I'd either comment this out or set it to "NO". > # > # Uncomment this if you want the anonymous FTP user to be able to > create # new directories. > #anon_mkdir_write_enable=YES > # > # Activate directory messages - messages given to remote users when > they # go into a certain directory. > dirmessage_enable=YES > # > # Activate logging of uploads/downloads. > xferlog_enable=YES > # > # Make sure PORT transfer connections originate from port 20 (ftp-data). > connect_from_port_20=YES > # > # If you want, you can arrange for uploaded anonymous files to be > owned by # a different user. Note! Using "root" for uploaded files is > not # recommended! > #chown_uploads=YES > #chown_username=whoever > # > # You may override where the log file goes if you like. The default is > shown # below. > #xferlog_file=/var/log/vsftpd.log > # > # If you want, you can have your log file in standard ftpd xferlog > format xferlog_std_format=YES # # You may change the default value for > timing out an idle session. > #idle_session_timeout=600 > # > # You may change the default value for timing out a data connection. > #data_connection_timeout=120 > # > # It is recommended that you define on your system a unique user which > the # ftp server can use as a totally isolated and unprivileged user. > #nopriv_user=ftpsecure > # > # Enable this and the server will recognise asynchronous ABOR > requests. Not # recommended for security (the code is non-trivial). > Not enabling it, # however, may confuse older FTP clients. > #async_abor_enable=YES > # > # By default the server will pretend to allow ASCII mode but in fact > ignore # the request. Turn on the below options to have the server > actually do ASCII # mangling on files when in ASCII mode. > # Beware that turning on ascii_download_enable enables malicious > remote parties # to consume your I/O resources, by issuing the command > "SIZE /big/file" in # ASCII mode. > # These ASCII options are split into upload and download because you > may wish # to enable ASCII uploads (to prevent uploaded scripts etc. > from breaking), # without the DoS risk of SIZE and ASCII downloads. > ASCII mangling should be # on the client anyway.. > #ascii_upload_enable=YES > #ascii_download_enable=YES > # > # You may fully customise the login banner string: > #ftpd_banner=Tracert has recorded your login map # # You may specify a > file of disallowed anonymous e-mail addresses. > Apparently > # useful for combatting certain DoS attacks. > #deny_email_enable=YES > # (default follows) > #banned_email_file=/etc/vsftpd/banned_emails > # > # You may specify an explicit list of local users to chroot() to their > home # directory. If chroot_local_user is YES, then this list becomes > a list of # users to NOT chroot(). > #chroot_list_enable=YES > # (default follows) > #chroot_list_file=/etc/vsftpd/chroot_list > # > # You may activate the "-R" option to the builtin ls. This is disabled > by # default to avoid remote users being able to cause excessive I/O > on large # sites. However, some broken FTP clients such as "ncftp" and "mirror" > assume > # the presence of the "-R" option, so there is a strong case for > enabling it. > #ls_recurse_enable=YES > > pam_service_name=vsftpd > userlist_enable=YES > #enable for standalone mode > listen=YES > tcp_wrappers=YES Ok, what do you have in your /etc/vsftpd.user_list file? It should contain the usernames that are allowed to use FTP, one per line. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When in doubt, mumble. - ---------------------------------------------------------------------- I commented out the: anon_upload_enable=YES line my user is 'mm' my home directory (/home/mm) is where I land when I connect I set chmod 777 to the directory I have port 20 and 21 open on my firewall I added userlist_deny=NO to vsftpd.conf I added mm to the /etc/vsftpd/user_list file I can connect, but cannot upload to the /home/mm folder Is selinux overriding my setup? Anything... From rstevens at vitalstream.com Wed Jan 11 17:36:41 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 09:36:41 -0800 Subject: FC4 and Intel 82559 NIC? In-Reply-To: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> References: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> Message-ID: <1137001001.3340.337.camel@prophead.corp.publichost.com> On Tue, 2006-01-10 at 20:46 -0800, Harold Hallikainen wrote: > > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: > >> > > >> > This weekend I loaded FC4 onto my server that had been running RH8. > Everything seems to have gone smoothly EXCEPT the LAN does not work. > >> It > >> > seems to find the two ethernet interfaces, but does not talk to the > remainder of the network. I've tried both static IP and DHCP. Neither > seems to work. Do I need a special driver for the NIC? If so, where do > >> I > >> > find it, and how do I install it? > >> > > >> > THANKS! > >> > > >> > Harold > >> > > >> Following up... I found the e100 driver at > >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm and > followed the instructions there. Stuff is still not working. Looking at > /var/log/messages, I see > >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr > 00:E0:81:03:AF:3C > >> I see a similar message for eth1. > >> A while later is > >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex > >> A while later it cannot find ntp.org > >> Then NETDEV WATCHDOG eth0; transmit timed out > >> then another watchdog message. > >> Any ideas? > > > > First, as the root user, do "ifconfig" and verify that there's actually > IP addresses assigned to your NIC. Next (also as root), do "netstat -rn" > and verify that the default gateway is pointing at your router. > > > > If that's all good, then you may be blocked by either iptables or > SELinux. Try turning off iptables temporarily by "service iptables off" > (as root again). If that doesn't work, try (as root) "setenforce 0" to > temporarily disable SELinux. > > > > > Thanks for the responses! It's really a pain to not have network > connectivity. I can't just copy and paste stuff into an email. Instead, > I'm copying off one screen and typing on another (my laptop). So excuse > the typos! It's interesting that I'm having network problems with this one > machine. I've installed FC4 on another server and my laptop with no > problem. Oh well... > > I tried the stuff above to get the network back and was about to type all > the results when I thought I'd try something else (anything to avoid > typing all that stuff). This is a dual processor machine that had always > worked fine using SMP on RH8. I tried telling it to NOT run smp on a > reboot, and the network works great! No other changes! I'll mess with it > some more in the next couple days. Is anyone else running smp on FC4? I do, a lot. Two things to check...first, make bloody sure the motherboard is running the latest BIOS from the vendor. If this is an AMD-based SMP machine, try booting with the "noapic" option set (add " noapic" to the end of the kernel line at the grub boot screen). If you don't know how to do that: 1. Boot the machine. 2. At the screen that displays the various kernels, use the arrow keys to select the SMP kernel and hit "E". 3. Use the arrow keys to scroll down to the line that starts with "kernel". 4. Hit "E" again. Use the arrow keys to go to the end of the line. 5. Put in " noapic" (don't forget the space) at the end of the line. 6. Hit "ENTER" to exit the edit mode, then "B" to boot the machine. 7. The machine should now boot with the "noapic" option. NOTE: This is temporary and will only survive this boot. If you need the "noapic" option permanently, you must edit the /boot/grub/grub.conf file. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Squawk! Pieces of Seven! Pieces of Seven! Parity Error! - ---------------------------------------------------------------------- From harold at hallikainen.com Wed Jan 11 17:49:09 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Wed, 11 Jan 2006 09:49:09 -0800 (PST) Subject: FC4 and Intel 82559 NIC? In-Reply-To: <1137001001.3340.337.camel@prophead.corp.publichost.com> References: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> <1137001001.3340.337.camel@prophead.corp.publichost.com> Message-ID: <42480.207.177.227.29.1137001749.squirrel@sujan.hallikainen.org> > On Tue, 2006-01-10 at 20:46 -0800, Harold Hallikainen wrote: >> > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: >> >> > >> >> > This weekend I loaded FC4 onto my server that had been running RH8. >> Everything seems to have gone smoothly EXCEPT the LAN does not work. >> >> It >> >> > seems to find the two ethernet interfaces, but does not talk to the >> remainder of the network. I've tried both static IP and DHCP. Neither >> seems to work. Do I need a special driver for the NIC? If so, where do >> >> I >> >> > find it, and how do I install it? >> >> > >> >> > THANKS! >> >> > >> >> > Harold >> >> > >> >> Following up... I found the e100 driver at >> >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm and >> followed the instructions there. Stuff is still not working. Looking at >> /var/log/messages, I see >> >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr >> 00:E0:81:03:AF:3C >> >> I see a similar message for eth1. >> >> A while later is >> >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex >> >> A while later it cannot find ntp.org >> >> Then NETDEV WATCHDOG eth0; transmit timed out >> >> then another watchdog message. >> >> Any ideas? >> > >> > First, as the root user, do "ifconfig" and verify that there's >> actually >> IP addresses assigned to your NIC. Next (also as root), do "netstat >> -rn" >> and verify that the default gateway is pointing at your router. >> > >> > If that's all good, then you may be blocked by either iptables or >> SELinux. Try turning off iptables temporarily by "service iptables off" >> (as root again). If that doesn't work, try (as root) "setenforce 0" to >> temporarily disable SELinux. >> > >> >> >> Thanks for the responses! It's really a pain to not have network >> connectivity. I can't just copy and paste stuff into an email. Instead, >> I'm copying off one screen and typing on another (my laptop). So excuse >> the typos! It's interesting that I'm having network problems with this >> one >> machine. I've installed FC4 on another server and my laptop with no >> problem. Oh well... >> >> I tried the stuff above to get the network back and was about to type >> all >> the results when I thought I'd try something else (anything to avoid >> typing all that stuff). This is a dual processor machine that had always >> worked fine using SMP on RH8. I tried telling it to NOT run smp on a >> reboot, and the network works great! No other changes! I'll mess with it >> some more in the next couple days. Is anyone else running smp on FC4? > > I do, a lot. Two things to check...first, make bloody sure the > motherboard is running the latest BIOS from the vendor. If this is an > AMD-based SMP machine, try booting with the "noapic" option set (add > " noapic" to the end of the kernel line at the grub boot screen). > If you don't know how to do that: > > 1. Boot the machine. > > 2. At the screen that displays the various kernels, use the arrow keys > to select the SMP kernel and hit "E". > > 3. Use the arrow keys to scroll down to the line that starts with > "kernel". > > 4. Hit "E" again. Use the arrow keys to go to the end of the line. > > 5. Put in " noapic" (don't forget the space) at the end of the line. > > 6. Hit "ENTER" to exit the edit mode, then "B" to boot the machine. > > 7. The machine should now boot with the "noapic" option. > > NOTE: This is temporary and will only survive this boot. If you need > the "noapic" option permanently, you must edit the /boot/grub/grub.conf > file. > Thanks! I'll give it a try! The BIOS is the original one that came with the board (maybe 5 years ago). I haven't done any BIOS upgrades in a while, but back when I did, they seemed to assume you were running DOS. I just looked at the Tyan website and see that BIOS updates are done by booting from floppy with DOS. I'll try upgrading the BIOS as soon as I can find the time (within a week, I hope). Ideally that will ALSO fix the problem I had when I tried a pair of 80G drives (install went fine, but then during reboot the drives could not be found by FC4... the BIOS says they're there, though.). THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com From rstevens at vitalstream.com Wed Jan 11 17:55:19 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 09:55:19 -0800 Subject: vsftp - can browse but cannot put In-Reply-To: <000001c616d0$120c1c30$0205a8c0@mmbret> References: <000001c616d0$120c1c30$0205a8c0@mmbret> Message-ID: <1137002119.3340.347.camel@prophead.corp.publichost.com> On Wed, 2006-01-11 at 08:57 -0800, Bret Stern wrote: > > -----Original Message----- > From: Rick Stevens [mailto:rstevens at vitalstream.com] > Sent: Tuesday, January 10, 2006 10:11 AM > To: Getting started with Red Hat Linux; bret_stern at machinemanagement.com > Subject: Re: vsftp - can browse but cannot put > > On Tue, 2006-01-10 at 09:52 -0800, Bret Stern wrote: > > I can connect and browse to vsftp on FC4, but cannot put files. > > You can only upload files to directories you have write access to. By > "you", I mean the user you logged into FTP as. > > > Ideally, I would like to only allow a specific system user (not root) > > to login and put files. > > > > Suggestions.. here's my vsftpd.conf. > > > > Thank you > > > > Bret Stern > > > > # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled > > in settings are fairly paranoid. This sample file # loosens things up > > a bit, to make the ftp daemon more usable. > > # Please see vsftpd.conf.5 for all compiled in defaults. > > # > > # READ THIS: This example file is NOT an exhaustive list of vsftpd > options. > > # Please read the vsftpd.conf.5 manual page to get a full idea of > > vsftpd's # capabilities. > > # > > # Allow anonymous FTP? (Beware - allowed by default if you comment > > this out). > > anonymous_enable=NO > > # > > # Uncomment this to allow local users to log in. > > local_enable=YES > > # > > # Uncomment this to enable any form of FTP write command. > > write_enable=YES > > # > > # Default umask for local users is 077. You may wish to change this to > > 022, # if your users expect that (022 is used by most other ftpd's) > > local_umask=022 > > # > > # Uncomment this to allow the anonymous FTP user to upload files. This > > only # has an effect if the above global write enable is activated. > > Also, you will # obviously need to create a directory writable by the > > FTP user. > > #uncommented 12-23-2005 bret stern > > anon_upload_enable=YES > > Why do you have this enabled when you have "anonymous_enable" disabled? > If you want anonymous FTP, do you really understand how to set that up? > If you don't, then I'd either comment this out or set it to "NO". > > > # > > # Uncomment this if you want the anonymous FTP user to be able to > > create # new directories. > > #anon_mkdir_write_enable=YES > > # > > # Activate directory messages - messages given to remote users when > > they # go into a certain directory. > > dirmessage_enable=YES > > # > > # Activate logging of uploads/downloads. > > xferlog_enable=YES > > # > > # Make sure PORT transfer connections originate from port 20 (ftp-data). > > connect_from_port_20=YES > > # > > # If you want, you can arrange for uploaded anonymous files to be > > owned by # a different user. Note! Using "root" for uploaded files is > > not # recommended! > > #chown_uploads=YES > > #chown_username=whoever > > # > > # You may override where the log file goes if you like. The default is > > shown # below. > > #xferlog_file=/var/log/vsftpd.log > > # > > # If you want, you can have your log file in standard ftpd xferlog > > format xferlog_std_format=YES # # You may change the default value for > > timing out an idle session. > > #idle_session_timeout=600 > > # > > # You may change the default value for timing out a data connection. > > #data_connection_timeout=120 > > # > > # It is recommended that you define on your system a unique user which > > the # ftp server can use as a totally isolated and unprivileged user. > > #nopriv_user=ftpsecure > > # > > # Enable this and the server will recognise asynchronous ABOR > > requests. Not # recommended for security (the code is non-trivial). > > Not enabling it, # however, may confuse older FTP clients. > > #async_abor_enable=YES > > # > > # By default the server will pretend to allow ASCII mode but in fact > > ignore # the request. Turn on the below options to have the server > > actually do ASCII # mangling on files when in ASCII mode. > > # Beware that turning on ascii_download_enable enables malicious > > remote parties # to consume your I/O resources, by issuing the command > > "SIZE /big/file" in # ASCII mode. > > # These ASCII options are split into upload and download because you > > may wish # to enable ASCII uploads (to prevent uploaded scripts etc. > > from breaking), # without the DoS risk of SIZE and ASCII downloads. > > ASCII mangling should be # on the client anyway.. > > #ascii_upload_enable=YES > > #ascii_download_enable=YES > > # > > # You may fully customise the login banner string: > > #ftpd_banner=Tracert has recorded your login map # # You may specify a > > file of disallowed anonymous e-mail addresses. > > Apparently > > # useful for combatting certain DoS attacks. > > #deny_email_enable=YES > > # (default follows) > > #banned_email_file=/etc/vsftpd/banned_emails > > # > > # You may specify an explicit list of local users to chroot() to their > > home # directory. If chroot_local_user is YES, then this list becomes > > a list of # users to NOT chroot(). > > #chroot_list_enable=YES > > # (default follows) > > #chroot_list_file=/etc/vsftpd/chroot_list > > # > > # You may activate the "-R" option to the builtin ls. This is disabled > > by # default to avoid remote users being able to cause excessive I/O > > on large # sites. However, some broken FTP clients such as "ncftp" and > "mirror" > > assume > > # the presence of the "-R" option, so there is a strong case for > > enabling it. > > #ls_recurse_enable=YES > > > > pam_service_name=vsftpd > > userlist_enable=YES > > #enable for standalone mode > > listen=YES > > tcp_wrappers=YES > > Ok, what do you have in your /etc/vsftpd.user_list file? It should contain > the usernames that are allowed to use FTP, one per line. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - When in doubt, mumble. - > ---------------------------------------------------------------------- > > I commented out the: anon_upload_enable=YES line > > my user is 'mm' > > my home directory (/home/mm) is where I land when I connect > I set chmod 777 to the directory > > I have port 20 and 21 open on my firewall That may not be enough. Remember that FTP uses a different port than you think, depending on if you're using PASV or not. Since PASV is enabled by default on vsftpd and you don't have it explicitly disabled in your config, this may be your problem. > I added userlist_deny=NO to vsftpd.conf > I added mm to the /etc/vsftpd/user_list file > > I can connect, but cannot upload to the /home/mm folder Can you do an "ls"? This is also affected by PASV and the FTP data port selection. If you can't do an "ls" on the client end, your firewall may be in the way. > Is selinux overriding my setup? It is possible, but let's make sure of the firewall first. You didn't say if the firewall is at the server or the client end (or both). Which is it, and what kind of firewalls are involved? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The world is coming to an end ... SAVE YOUR FILES!!! - ---------------------------------------------------------------------- From bret_stern at machinemanagement.com Wed Jan 11 17:57:41 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Wed, 11 Jan 2006 09:57:41 -0800 Subject: vsftp - can browse but cannot put In-Reply-To: <1136916631.3340.313.camel@prophead.corp.publichost.com> Message-ID: <000301c616d8$84cfb670$0205a8c0@mmbret> -----Original Message----- From: Rick Stevens [mailto:rstevens at vitalstream.com] Sent: Tuesday, January 10, 2006 10:11 AM To: Getting started with Red Hat Linux; bret_stern at machinemanagement.com Subject: Re: vsftp - can browse but cannot put On Tue, 2006-01-10 at 09:52 -0800, Bret Stern wrote: > I can connect and browse to vsftp on FC4, but cannot put files. You can only upload files to directories you have write access to. By "you", I mean the user you logged into FTP as. > Ideally, I would like to only allow a specific system user (not root) > to login and put files. > > Suggestions.. here's my vsftpd.conf. > > Thank you > > Bret Stern > > # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled > in settings are fairly paranoid. This sample file # loosens things up > a bit, to make the ftp daemon more usable. > # Please see vsftpd.conf.5 for all compiled in defaults. > # > # READ THIS: This example file is NOT an exhaustive list of vsftpd options. > # Please read the vsftpd.conf.5 manual page to get a full idea of > vsftpd's # capabilities. > # > # Allow anonymous FTP? (Beware - allowed by default if you comment > this out). > anonymous_enable=NO > # > # Uncomment this to allow local users to log in. > local_enable=YES > # > # Uncomment this to enable any form of FTP write command. > write_enable=YES > # > # Default umask for local users is 077. You may wish to change this to > 022, # if your users expect that (022 is used by most other ftpd's) > local_umask=022 > # > # Uncomment this to allow the anonymous FTP user to upload files. This > only # has an effect if the above global write enable is activated. > Also, you will # obviously need to create a directory writable by the > FTP user. > #uncommented 12-23-2005 bret stern > anon_upload_enable=YES Why do you have this enabled when you have "anonymous_enable" disabled? If you want anonymous FTP, do you really understand how to set that up? If you don't, then I'd either comment this out or set it to "NO". > # > # Uncomment this if you want the anonymous FTP user to be able to > create # new directories. > #anon_mkdir_write_enable=YES > # > # Activate directory messages - messages given to remote users when > they # go into a certain directory. > dirmessage_enable=YES > # > # Activate logging of uploads/downloads. > xferlog_enable=YES > # > # Make sure PORT transfer connections originate from port 20 (ftp-data). > connect_from_port_20=YES > # > # If you want, you can arrange for uploaded anonymous files to be > owned by # a different user. Note! Using "root" for uploaded files is > not # recommended! > #chown_uploads=YES > #chown_username=whoever > # > # You may override where the log file goes if you like. The default is > shown # below. > #xferlog_file=/var/log/vsftpd.log > # > # If you want, you can have your log file in standard ftpd xferlog > format xferlog_std_format=YES # # You may change the default value for > timing out an idle session. > #idle_session_timeout=600 > # > # You may change the default value for timing out a data connection. > #data_connection_timeout=120 > # > # It is recommended that you define on your system a unique user which > the # ftp server can use as a totally isolated and unprivileged user. > #nopriv_user=ftpsecure > # > # Enable this and the server will recognise asynchronous ABOR > requests. Not # recommended for security (the code is non-trivial). > Not enabling it, # however, may confuse older FTP clients. > #async_abor_enable=YES > # > # By default the server will pretend to allow ASCII mode but in fact > ignore # the request. Turn on the below options to have the server > actually do ASCII # mangling on files when in ASCII mode. > # Beware that turning on ascii_download_enable enables malicious > remote parties # to consume your I/O resources, by issuing the command > "SIZE /big/file" in # ASCII mode. > # These ASCII options are split into upload and download because you > may wish # to enable ASCII uploads (to prevent uploaded scripts etc. > from breaking), # without the DoS risk of SIZE and ASCII downloads. > ASCII mangling should be # on the client anyway.. > #ascii_upload_enable=YES > #ascii_download_enable=YES > # > # You may fully customise the login banner string: > #ftpd_banner=Tracert has recorded your login map # # You may specify a > file of disallowed anonymous e-mail addresses. > Apparently > # useful for combatting certain DoS attacks. > #deny_email_enable=YES > # (default follows) > #banned_email_file=/etc/vsftpd/banned_emails > # > # You may specify an explicit list of local users to chroot() to their > home # directory. If chroot_local_user is YES, then this list becomes > a list of # users to NOT chroot(). > #chroot_list_enable=YES > # (default follows) > #chroot_list_file=/etc/vsftpd/chroot_list > # > # You may activate the "-R" option to the builtin ls. This is disabled > by # default to avoid remote users being able to cause excessive I/O > on large # sites. However, some broken FTP clients such as "ncftp" and "mirror" > assume > # the presence of the "-R" option, so there is a strong case for > enabling it. > #ls_recurse_enable=YES > > pam_service_name=vsftpd > userlist_enable=YES > #enable for standalone mode > listen=YES > tcp_wrappers=YES Ok, what do you have in your /etc/vsftpd.user_list file? It should contain the usernames that are allowed to use FTP, one per line. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When in doubt, mumble. - ---------------------------------------------------------------------- I commented out the: anon_upload_enable=YES line my user is 'mm' my home directory (/home/mm) is where I land when I connect I set chmod 777 to the directory I have port 20 and 21 open on my firewall I added userlist_deny=NO to vsftpd.conf I added mm to the /etc/vsftpd/user_list file I can connect, but cannot upload to the /home/mm folder Is selinux overriding my setup? Anything... From KitchenProven at comcast.net Wed Jan 11 18:21:41 2006 From: KitchenProven at comcast.net (Albus Dumbledore) Date: Wed, 11 Jan 2006 10:21:41 -0800 Subject: Defragging Linux Message-ID: <1137003701.2644.60.camel@localhost.localdomain> I am just starting out with Linux (Red Hat Workstation 3) and I have a lot of basic questions, such as "Do I need to defragment Linux like I do Windows and if so, how". Is this the proper forum for these questions or is there a more appropriate one somewhere? From bret_stern at machinemanagement.com Wed Jan 11 18:28:23 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Wed, 11 Jan 2006 10:28:23 -0800 Subject: vsftp - can browse but cannot put In-Reply-To: <1137002119.3340.347.camel@prophead.corp.publichost.com> Message-ID: <000401c616dc$ce2debd0$0205a8c0@mmbret> -----Original Message----- From: Rick Stevens [mailto:rstevens at vitalstream.com] Sent: Wednesday, January 11, 2006 9:55 AM To: Getting started with Red Hat Linux; bret_stern at machinemanagement.com Subject: RE: vsftp - can browse but cannot put On Wed, 2006-01-11 at 08:57 -0800, Bret Stern wrote: > > -----Original Message----- > From: Rick Stevens [mailto:rstevens at vitalstream.com] > Sent: Tuesday, January 10, 2006 10:11 AM > To: Getting started with Red Hat Linux; > bret_stern at machinemanagement.com > Subject: Re: vsftp - can browse but cannot put > > On Tue, 2006-01-10 at 09:52 -0800, Bret Stern wrote: > > I can connect and browse to vsftp on FC4, but cannot put files. > > You can only upload files to directories you have write access to. By > "you", I mean the user you logged into FTP as. > > > Ideally, I would like to only allow a specific system user (not > > root) to login and put files. > > > > Suggestions.. here's my vsftpd.conf. > > > > Thank you > > > > Bret Stern > > > > # Example config file /etc/vsftpd/vsftpd.conf # # The default > > compiled in settings are fairly paranoid. This sample file # loosens > > things up a bit, to make the ftp daemon more usable. > > # Please see vsftpd.conf.5 for all compiled in defaults. > > # > > # READ THIS: This example file is NOT an exhaustive list of vsftpd > options. > > # Please read the vsftpd.conf.5 manual page to get a full idea of > > vsftpd's # capabilities. > > # > > # Allow anonymous FTP? (Beware - allowed by default if you comment > > this out). > > anonymous_enable=NO > > # > > # Uncomment this to allow local users to log in. > > local_enable=YES > > # > > # Uncomment this to enable any form of FTP write command. > > write_enable=YES > > # > > # Default umask for local users is 077. You may wish to change this > > to 022, # if your users expect that (022 is used by most other > > ftpd's) > > local_umask=022 > > # > > # Uncomment this to allow the anonymous FTP user to upload files. > > This only # has an effect if the above global write enable is activated. > > Also, you will # obviously need to create a directory writable by > > the FTP user. > > #uncommented 12-23-2005 bret stern > > anon_upload_enable=YES > > Why do you have this enabled when you have "anonymous_enable" disabled? > If you want anonymous FTP, do you really understand how to set that up? > If you don't, then I'd either comment this out or set it to "NO". > > > # > > # Uncomment this if you want the anonymous FTP user to be able to > > create # new directories. > > #anon_mkdir_write_enable=YES > > # > > # Activate directory messages - messages given to remote users when > > they # go into a certain directory. > > dirmessage_enable=YES > > # > > # Activate logging of uploads/downloads. > > xferlog_enable=YES > > # > > # Make sure PORT transfer connections originate from port 20 (ftp-data). > > connect_from_port_20=YES > > # > > # If you want, you can arrange for uploaded anonymous files to be > > owned by # a different user. Note! Using "root" for uploaded files > > is not # recommended! > > #chown_uploads=YES > > #chown_username=whoever > > # > > # You may override where the log file goes if you like. The default > > is shown # below. > > #xferlog_file=/var/log/vsftpd.log > > # > > # If you want, you can have your log file in standard ftpd xferlog > > format xferlog_std_format=YES # # You may change the default value > > for timing out an idle session. > > #idle_session_timeout=600 > > # > > # You may change the default value for timing out a data connection. > > #data_connection_timeout=120 > > # > > # It is recommended that you define on your system a unique user > > which the # ftp server can use as a totally isolated and unprivileged user. > > #nopriv_user=ftpsecure > > # > > # Enable this and the server will recognise asynchronous ABOR > > requests. Not # recommended for security (the code is non-trivial). > > Not enabling it, # however, may confuse older FTP clients. > > #async_abor_enable=YES > > # > > # By default the server will pretend to allow ASCII mode but in fact > > ignore # the request. Turn on the below options to have the server > > actually do ASCII # mangling on files when in ASCII mode. > > # Beware that turning on ascii_download_enable enables malicious > > remote parties # to consume your I/O resources, by issuing the > > command "SIZE /big/file" in # ASCII mode. > > # These ASCII options are split into upload and download because you > > may wish # to enable ASCII uploads (to prevent uploaded scripts etc. > > from breaking), # without the DoS risk of SIZE and ASCII downloads. > > ASCII mangling should be # on the client anyway.. > > #ascii_upload_enable=YES > > #ascii_download_enable=YES > > # > > # You may fully customise the login banner string: > > #ftpd_banner=Tracert has recorded your login map # # You may specify > > a file of disallowed anonymous e-mail addresses. > > Apparently > > # useful for combatting certain DoS attacks. > > #deny_email_enable=YES > > # (default follows) > > #banned_email_file=/etc/vsftpd/banned_emails > > # > > # You may specify an explicit list of local users to chroot() to > > their home # directory. If chroot_local_user is YES, then this list > > becomes a list of # users to NOT chroot(). > > #chroot_list_enable=YES > > # (default follows) > > #chroot_list_file=/etc/vsftpd/chroot_list > > # > > # You may activate the "-R" option to the builtin ls. This is > > disabled by # default to avoid remote users being able to cause > > excessive I/O on large # sites. However, some broken FTP clients > > such as "ncftp" and > "mirror" > > assume > > # the presence of the "-R" option, so there is a strong case for > > enabling it. > > #ls_recurse_enable=YES > > > > pam_service_name=vsftpd > > userlist_enable=YES > > #enable for standalone mode > > listen=YES > > tcp_wrappers=YES > > Ok, what do you have in your /etc/vsftpd.user_list file? It should > contain the usernames that are allowed to use FTP, one per line. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - When in doubt, mumble. - > ---------------------------------------------------------------------- > > I commented out the: anon_upload_enable=YES line > > my user is 'mm' > > my home directory (/home/mm) is where I land when I connect I set > chmod 777 to the directory > > I have port 20 and 21 open on my firewall That may not be enough. Remember that FTP uses a different port than you think, depending on if you're using PASV or not. Since PASV is enabled by default on vsftpd and you don't have it explicitly disabled in your config, this may be your problem. > I added userlist_deny=NO to vsftpd.conf I added mm to the > /etc/vsftpd/user_list file > > I can connect, but cannot upload to the /home/mm folder Can you do an "ls"? This is also affected by PASV and the FTP data port selection. If you can't do an "ls" on the client end, your firewall may be in the way. > Is selinux overriding my setup? It is possible, but let's make sure of the firewall first. You didn't say if the firewall is at the server or the client end (or both). Which is it, and what kind of firewalls are involved? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The world is coming to an end ... SAVE YOUR FILES!!! - ---------------------------------------------------------------------- I can do a "ls". I have a D-Link 624 router/firewall The machine i'm on (XP) has no firewall active. Even when I had : anon_upload_enable=YES I was unable to put.. Does the user mm need to belong to the ftp group? Will xferlog or other log indicate anything? Can I config SELinux with vi to test any conflict? (no monitor is on my server) Sorry for the kitchen sink Bret From bret_stern at machinemanagement.com Wed Jan 11 18:31:16 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Wed, 11 Jan 2006 10:31:16 -0800 Subject: Defragging Linux In-Reply-To: <1137003701.2644.60.camel@localhost.localdomain> Message-ID: <000501c616dd$357680e0$0205a8c0@mmbret> -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Albus Dumbledore Sent: Wednesday, January 11, 2006 10:22 AM To: Redhat-Installers-List Subject: Defragging Linux I am just starting out with Linux (Red Hat Workstation 3) and I have a lot of basic questions, such as "Do I need to defragment Linux like I do Windows and if so, how". Is this the proper forum for these questions or is there a more appropriate one somewhere? _______________________________________________ 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 I'll wait for the experts..but i've never heard the term discussed in or around Linux. I've had machines running Linux for years and never thought of it as an answer to any type of problem. Bret Stern Machine Management From rstevens at vitalstream.com Wed Jan 11 18:39:09 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 10:39:09 -0800 Subject: Defragging Linux In-Reply-To: <1137003701.2644.60.camel@localhost.localdomain> References: <1137003701.2644.60.camel@localhost.localdomain> Message-ID: <1137004749.3340.357.camel@prophead.corp.publichost.com> On Wed, 2006-01-11 at 10:21 -0800, Albus Dumbledore wrote: > I am just starting out with Linux (Red Hat Workstation 3) and I have a > lot of basic questions, such as "Do I need to defragment Linux like I do > Windows and if so, how". Is this the proper forum for these questions > or is there a more appropriate one somewhere? Well, we're here primarily to help with installation issues and troubleshooting, but yes, we can help with most of what you seem to want. For your first question, no, you don't need to defrag any of the various Linux filesystems (ext2, ext3, jfs, xfs, etc.). The reason is that these were designed from the beginning to be used on multiuser computers with hard disks and are far, far more efficient than the Windows filesystems (any of the FAT series or even NTFS). The Windows FAT (file allocation table) filesystem was developed for DOS systems on 320KB floppies and the various later permutations just variations on a bad idea. NTFS (Windows NT File System) is a not-too- well-done pilfering of the old DEC VAX/VMS filesystem. It's better than FAT, but it still has many of the issues that FAT (and VAX/VMS) have, including very inefficient handling of files that are not on contiguous disk sectors (hence the need to defrag). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - - process. Prepare to vi." - ---------------------------------------------------------------------- From robertmcclure at earthlink.net Wed Jan 11 18:47:32 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 11 Jan 2006 12:47:32 -0600 Subject: Defragging Linux In-Reply-To: <1137003701.2644.60.camel@localhost.localdomain> References: <1137003701.2644.60.camel@localhost.localdomain> Message-ID: <20060111184732.GA15534@bobcat.bobcatos.com> On Wed, Jan 11, 2006 at 10:21:41AM -0800, Albus Dumbledore wrote: > I am just starting out with Linux (Red Hat Workstation 3) and I have a > lot of basic questions, such as "Do I need to defragment Linux like I do > Windows and if so, how". No. The way the linux filesystem works, it always stays well defragmented. If you watch the results of fsck (filesystem check), at the end it will report the amount of fragmentation for your information. It's typically under 2%. > Is this the proper forum for these questions Yes. > or is there a more appropriate one somewhere? There are others, but they are not necessarily better or worse than this list. You could Google for "linux newbies" and find some of them. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From KitchenProven at comcast.net Wed Jan 11 19:11:37 2006 From: KitchenProven at comcast.net (Albus Dumbledore) Date: Wed, 11 Jan 2006 11:11:37 -0800 Subject: Anti-virus and Firewall protection for Linux Message-ID: <1137006697.2644.71.camel@localhost.localdomain> Do I need anti-virus and firewall protection for Linux (RHW-3) like I do for Windows. If so what would you recommend? From tbw at geo.hunter.cuny.edu Wed Jan 11 19:10:42 2006 From: tbw at geo.hunter.cuny.edu (Thomas Walter) Date: Wed, 11 Jan 2006 14:10:42 -0500 (EST) Subject: Problem making dual-boot Optiplex GX620 Message-ID: I recently received 25 Dell Optiplex GX620s with two 160GB SATA hard drives (DC115 HARD DRIVE, 160G, S2, 7.2K, 8M, LEAD FREE, WD-HAWK) and WinXP installed. I want to make the machines dual-boot and first tried to install RHEL 3. The install did not see the hard drives. My search on the web indicated spotty Linux support for SATA hard drives so I downloaded RHEL 4 ES update 2 and tried to install. The Optiplex boots off the first install CD, passes the CD media test, begins running annaconda, probes and sees video card, monitor and mouse, etc but then hangs when going into X leaving a white screen. We don't have a Redhat support contract so they're no help and the Dell rep spent 10 days "researching" an answer and only referred me to a web site I found in a nanosecond. I have to return the 25 computers by 1/13 if I can't find a solution. Dell sells the Precision workstation with the same 160GB SATA drives with RHEL installed so I don't know where the problem might lie. Any help will, of course, be greatly appreciated. Tom ================================================================================== Thomas Walter Geography & Computer Science Departments Hunter College of the City University of New York 695 Park Avenue New York, NY 10021 (212)772-5457 Office (212)772-5268 Fax tbwalter at geo.hunter.cuny.edu http://geography.hunter.cuny.edu/~tbw From robertmcclure at earthlink.net Wed Jan 11 19:27:09 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 11 Jan 2006 13:27:09 -0600 Subject: Anti-virus and Firewall protection for Linux In-Reply-To: <1137006697.2644.71.camel@localhost.localdomain> References: <1137006697.2644.71.camel@localhost.localdomain> Message-ID: <20060111192709.GA17433@bobcat.bobcatos.com> On Wed, Jan 11, 2006 at 11:11:37AM -0800, Albus Dumbledore wrote: > Do I need anti-virus No, unless your machine is a mail server for Windoze boxen. If it is, get Clam AntiVirus and clamassassin. > and firewall protection for Linux (RHW-3) like I > do for Windows. Yes. > If so what would you recommend? Your distro probably has adequate tools for the job. My FC4 box has firewall-config, maybe yours does too. If not, it's called something else. Look in the system tools of your menus. If you need more fine-tuning of the firewall, Google for "linux firewall". Firestarter is a pretty good one. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From ktr at mtu.edu Wed Jan 11 19:58:33 2006 From: ktr at mtu.edu (Kevin Raber) Date: Wed, 11 Jan 2006 14:58:33 -0500 Subject: Problem making dual-boot Optiplex GX620 In-Reply-To: References: Message-ID: <43C56369.20806@mtu.edu> Thomas Walter wrote: > I recently received 25 Dell Optiplex GX620s with two 160GB SATA hard > drives (DC115 HARD DRIVE, 160G, S2, 7.2K, 8M, LEAD FREE, WD-HAWK) and > WinXP installed. I want to make the machines dual-boot and first tried to > install RHEL 3. The install did not see the hard drives. My search on the > web indicated spotty Linux support for SATA hard drives so I downloaded > RHEL 4 ES update 2 and tried to install. The Optiplex boots off the first > install CD, passes the CD media test, begins running annaconda, probes and > sees video card, monitor and mouse, etc but then hangs when going into X > leaving a white screen. > > We don't have a Redhat support contract so they're no help and the Dell > rep spent 10 days "researching" an answer and only referred me to a web > site I found in a nanosecond. I have to return the 25 computers by 1/13 if > I can't find a solution. Dell sells the Precision workstation with the > same 160GB SATA drives with RHEL installed so I don't know where the > problem might lie. > > Any help will, of course, be greatly appreciated. > > Tom > > ================================================================================== > > Thomas Walter Tom, Kernel support for the GX620 starts after the latest kernel for RHEL4. We were able to install FC4 on ours, or you can try building a RHEL4 kernel with the driver on RH4 compatible machine, then use that kernel on the GX620. Kevin Raber MTU From rstevens at vitalstream.com Wed Jan 11 20:04:40 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 12:04:40 -0800 Subject: Anti-virus and Firewall protection for Linux In-Reply-To: <1137006697.2644.71.camel@localhost.localdomain> References: <1137006697.2644.71.camel@localhost.localdomain> Message-ID: <1137009880.14840.27.camel@prophead.corp.publichost.com> On Wed, 2006-01-11 at 11:11 -0800, Albus Dumbledore wrote: > Do I need anti-virus and firewall protection for Linux (RHW-3) like I > do for Windows. If so what would you recommend? There are several anti-virus systems available (all for free). The best is called "ClamAV". Just do a Google search for that and you'll find it. As to firewalls, Linux comes with something called "iptables", which is a fully-stateful firewall system. I'm not sure where the config tool is located on RHW3, but it'll in one of these two places: 1. Click on the Red Hat icon, go to "System Tools" and select "Security Level". 2. Click on "Desktop" in the main menu bar, then "System Tools", then "Security Level". >From the command line as the root user, just run either "system-config-securitylevel" or "redhat-config-securitylevel" (again, I can't recall which they call it on RHW3). You can also get a slightly easier tool to use called "Firestarter". It uses iptables, but the GUI is a little easier to use. Again, just Google for that and you'll find it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The gene pool could use a little chlorine. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Jan 11 20:13:49 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 12:13:49 -0800 Subject: Problem making dual-boot Optiplex GX620 In-Reply-To: References: Message-ID: <1137010429.14840.37.camel@prophead.corp.publichost.com> On Wed, 2006-01-11 at 14:10 -0500, Thomas Walter wrote: > I recently received 25 Dell Optiplex GX620s with two 160GB SATA hard > drives (DC115 HARD DRIVE, 160G, S2, 7.2K, 8M, LEAD FREE, WD-HAWK) and > WinXP installed. I want to make the machines dual-boot and first tried to > install RHEL 3. The install did not see the hard drives. My search on the > web indicated spotty Linux support for SATA hard drives so I downloaded > RHEL 4 ES update 2 and tried to install. The 2.4-series of Linux kernels (which is what RHEL3 is based on) has very marginal support for SATA. RHEL4 is based on the 2.6-series of kernels and is much better at it, as are the Fedora Core 2, 3, and 4 releases (and they're free!). In fact, RHEL4 is based on Fedora Core 2. > The Optiplex boots off the first > install CD, passes the CD media test, begins running annaconda, probes and > sees video card, monitor and mouse, etc but then hangs when going into X > leaving a white screen. I've seen a lot of Anaconda problems regarding GUI installs. It seems to set up some weird video mode that some video cards don't like. > We don't have a Redhat support contract so they're no help and the Dell > rep spent 10 days "researching" an answer and only referred me to a web > site I found in a nanosecond. Yeah, they're a bit weak on that. We use a TON of Dells (servers, the 1850 and 2850-series). > I have to return the 25 computers by 1/13 if > I can't find a solution. Dell sells the Precision workstation with the > same 160GB SATA drives with RHEL installed so I don't know where the > problem might lie. There are four installation text consoles active during a GUI install (and a text install for that matter). Try hitting "CTRL-ALT-F1" from that white screen to get to the first text console. Hit "ALT-F2" from there to get to the second one, "ALT-F3" and "ALT-F4" to get to the others. Check each of those for error messages or state information and let us know what you see. "ALT-F7" should return you to the GUI screen. > Any help will, of course, be greatly appreciated. Well, you could try installing in text mode on one of the machines. At the boot prompt, enter "linux text" and press ENTER. You'll go through a text install, but you'll still be able to set up the GUI stuff. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If Bill Gates got a dime for every time Windows crashes... - - ...oh, wait. He does. THAT explains it! - ---------------------------------------------------------------------- From mdroz8 at gmail.com Wed Jan 11 23:24:18 2006 From: mdroz8 at gmail.com (mike) Date: Wed, 11 Jan 2006 15:24:18 -0800 Subject: piping standard input to a program? Message-ID: <1a4b2b830601111524o452582a5obb658d7f5acf172f@mail.gmail.com> so i have a program that takes standard input as input. it's run from a shell like so: echo -e "blah blah blah" | my question is how would i do this in like C/C++ code? how do i in c/c++ take standard input and pipe it to this program as input? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret_stern at machinemanagement.com Thu Jan 12 01:31:46 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Wed, 11 Jan 2006 17:31:46 -0800 Subject: piping standard input to a program? In-Reply-To: <1a4b2b830601111524o452582a5obb658d7f5acf172f@mail.gmail.com> Message-ID: <000901c61717$f44f9260$0205a8c0@mmbret> _____ From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of mike Sent: Wednesday, January 11, 2006 3:24 PM To: Getting started with Red Hat Linux Subject: piping standard input to a program? so i have a program that takes standard input as input. it's run from a shell like so: echo -e "blah blah blah" | my question is how would i do this in like C/C++ code? how do i in c/c++ take standard input and pipe it to this program as input? This isn't the best place for a programming question, but here's a sample to get you thinking. This was found at: http://www.metalshell.com/view/source/116/ Basic programming like this will get you started. And there are plenty of sites with this info. Get it running. Break it. Change it. This is a console application. The input options you ask about are arguments to the program. They use argc and argv. argc = number of arguments to the program argv = values of arguments /* openreaddir.c by mind [mind at metalshell.com] * * Example on using opendir, closedir, and readdir to open a directory * stream and read in and print file names. * * 06/04/03 * * http://www.metalshell.com/ * */ #include #include #include #include int main(int argc, char *argv[]) { DIR *dip; struct dirent *dit; int i = 0; /* check to see if user entered a directory name */ if (argc < 2) { printf("Usage: %s \n", argv[0]); return 0; } /* DIR *opendir(const char *name); * * Open a directory stream to argv[1] and make sure * it's a readable and valid (directory) */ if ((dip = opendir(argv[1])) == NULL) { perror("opendir"); return 0; } printf("Directory stream is now open\n"); /* struct dirent *readdir(DIR *dir); * * Read in the files from argv[1] and print */ while ((dit = readdir(dip)) != NULL) { i++; printf("\n%s", dit->d_name); } printf("\n\nreaddir() found a total of %i files\n", i); /* int closedir(DIR *dir); * * Close the stream to argv[1]. And check for errors. */ if (closedir(dip) == -1) { perror("closedir"); return 0; } printf("\nDirectory stream is now closed\n"); return 1; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Thu Jan 12 01:40:04 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 11 Jan 2006 17:40:04 -0800 Subject: piping standard input to a program? In-Reply-To: <1a4b2b830601111524o452582a5obb658d7f5acf172f@mail.gmail.com> References: <1a4b2b830601111524o452582a5obb658d7f5acf172f@mail.gmail.com> Message-ID: <1137030004.14840.75.camel@prophead.corp.publichost.com> On Wed, 2006-01-11 at 15:24 -0800, mike wrote: > so i have a program that takes standard input as input. it's run from > a shell like so: > > echo -e "blah blah blah" | > > my question is how would i do this in like C/C++ code? how do i in > c/c++ take standard input and pipe it to this program as input? Well, here's a C code fragment: int main(int argc, char **argv) { char buff[256]; int x; x = fread(stdin, buff, 255); By default, the C and C++ startup code has three buffered file descriptors opened: Name in C Name in C++ stdin cin stdout cout stderr cerr These also correspond to the unbuffered file descriptors 0, 1 and 2, respectively (0 is stdin/cin, 1 is stdout/cout, 2 is stderr/cerr). This is all very well described in the various C and C++ primers. These are, BTW, the same as the shell's "0", "1" and "2" descriptors. You know, to send stdout and stderr to /dev/null, you'd do something like: echo "Garbage" >/dev/null 2>&1 The ">/dev/null" sends stdout to /dev/null, the "2>&1" means "send stderr to the same spot as stdout". ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Death is nature's way of dropping carrier - ---------------------------------------------------------------------- From tek_guy at rediffmail.com Thu Jan 12 15:13:22 2006 From: tek_guy at rediffmail.com (Tech Guy) Date: 12 Jan 2006 15:13:22 -0000 Subject: finding free memory slots Message-ID: <20060112151322.21104.qmail@webmail57.rediffmail.com> ? Hello, I would like to know if there is any command in redhat linux to know the hardware configuration for the system . I want to know the available free MEMORY slots or CPU slots without opening the box. I appreciate your help Thanks TG -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdroz8 at gmail.com Thu Jan 12 15:39:01 2006 From: mdroz8 at gmail.com (mike) Date: Thu, 12 Jan 2006 07:39:01 -0800 Subject: how to know if firewall on? Message-ID: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> i have some sort of communication between a windows client and my linux box that is failing, and i want to check if this is a firewall issue. how do i do this on my linux box? thx -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Thu Jan 12 17:40:00 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 09:40:00 -0800 Subject: finding free memory slots In-Reply-To: <20060112151322.21104.qmail@webmail57.rediffmail.com> References: <20060112151322.21104.qmail@webmail57.rediffmail.com> Message-ID: <1137087600.14840.90.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 15:13 +0000, Tech Guy wrote: > > Hello, > > I would like to know if there is any command in redhat linux to know > the hardware configuration for the system . > > I want to know the available free MEMORY slots or CPU slots without > opening the box. There's no way to determine how many memory, PCI or AGP slots there are by querying the OS. The BIOS may know as it's mobo-specific, but the OS only knows what responds when it probes the various buses. When the OS probes the PCI bus for example, what's installed responds and the system allocates resources for it. However, things that AREN'T there don't respond (obviously)...and that includes empty slots of any kind. So, you know what's installed AND how much contiguous memory you have starting at address 0, but you don't know HOW that memory is spread across the SIMMS, DIMMS, whatever. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When in doubt, mumble. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Jan 12 17:42:09 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 09:42:09 -0800 Subject: how to know if firewall on? In-Reply-To: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> References: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> Message-ID: <1137087729.14840.94.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 07:39 -0800, mike wrote: > i have some sort of communication between a windows client and my > linux box that is failing, and i want to check if this is a firewall > issue. how do i do this on my linux box? You can see if the firewall on Linux is running by using the command: iptables -L -n as the root user. If you see any rules displayed, then the firewall is running. To turn it off temporarily, use the command service iptables stop as the root user. To turn it on again: service iptables start as the root user. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Better to understand a little than to misunderstand a lot. - ---------------------------------------------------------------------- From mdroz8 at gmail.com Thu Jan 12 17:53:17 2006 From: mdroz8 at gmail.com (mike) Date: Thu, 12 Jan 2006 09:53:17 -0800 Subject: how to know if firewall on? In-Reply-To: <1137087729.14840.94.camel@prophead.corp.publichost.com> References: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> <1137087729.14840.94.camel@prophead.corp.publichost.com> Message-ID: <1a4b2b830601120953j44191f0fv4395977d070c3376@mail.gmail.com> iptables is not a command on my linux box. is it located somewhere i can run it or can i do a differnt way? On 1/12/06, Rick Stevens wrote: > > On Thu, 2006-01-12 at 07:39 -0800, mike wrote: > > i have some sort of communication between a windows client and my > > linux box that is failing, and i want to check if this is a firewall > > issue. how do i do this on my linux box? > > You can see if the firewall on Linux is running by using the command: > > iptables -L -n > > as the root user. If you see any rules displayed, then the firewall is > running. To turn it off temporarily, use the command > > service iptables stop > > as the root user. To turn it on again: > > service iptables start > > as the root user. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - 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 > -- There are 10 types of people, those who understand binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Thu Jan 12 18:14:14 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 10:14:14 -0800 Subject: how to know if firewall on? In-Reply-To: <1a4b2b830601120953j44191f0fv4395977d070c3376@mail.gmail.com> References: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> <1137087729.14840.94.camel@prophead.corp.publichost.com> <1a4b2b830601120953j44191f0fv4395977d070c3376@mail.gmail.com> Message-ID: <1137089654.14840.112.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 09:53 -0800, mike wrote: > iptables is not a command on my linux box. is it located somewhere i > can run it or can i do a differnt way? Oh, yes it is. You have to be the root user to use it. Either log in as root or, as a normal user, use the command "su -" and give it the root password. You then become the root user. Do the commands you need. When it's time to stop being the root user, type in "exit" and you become the normal user again. DON'T REMAIN AS THE ROOT USER ANY LONGER THAN YOU HAVE TO! You can do a lot of damage to your machine if you're root and you're not careful! > > On 1/12/06, Rick Stevens wrote: > On Thu, 2006-01-12 at 07:39 -0800, mike wrote: > > i have some sort of communication between a windows client > and my > > linux box that is failing, and i want to check if this is a > firewall > > issue. how do i do this on my linux box? > > You can see if the firewall on Linux is running by using the > command: > > iptables -L -n > > as the root user. If you see any rules displayed, then the > firewall is > running. To turn it off temporarily, use the command > > service iptables stop > > as the root user. To turn it on again: > > service iptables start > > as the root user. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer > rstevens at vitalstream.com - > - VitalStream, Inc. > http://www.vitalstream.com - > - - > - 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 > > > > -- > There are 10 types of people, those who understand binary and those > who don't. > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Brain: The organ with which we think that we think. - ---------------------------------------------------------------------- From admin at tootai.net Thu Jan 12 18:18:29 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Thu, 12 Jan 2006 19:18:29 +0100 Subject: how to know if firewall on? In-Reply-To: <1a4b2b830601120953j44191f0fv4395977d070c3376@mail.gmail.com> References: <1a4b2b830601120739o2c4095fawb145d00e573cbbe0@mail.gmail.com> <1137087729.14840.94.camel@prophead.corp.publichost.com> <1a4b2b830601120953j44191f0fv4395977d070c3376@mail.gmail.com> Message-ID: <43C69D75.3020901@tootai.net> mike a ?crit : > iptables is not a command on my linux box. is it located somewhere i > can run it or can i do a differnt way? Or it's not in your path (usually /sbin/iptables), or it's not installed. On a FC3, in a console [user at server]$ rpm -qi iptables Name : iptables Relocations: /usr Version : 1.2.11 Vendor: Red Hat, Inc. Release : 3.1.FC3 Build Date: Thu 11 Nov 2004 01:07:24 PM CET Install Date: Thu 18 Aug 2005 01:22:43 PM CEST Build Host: dolly.build.redhat.com Group : System Environment/Base Source RPM: iptables-1.2.11-3.1.FC3.src.rpm Size : 378919 License: GPL Signature : DSA/SHA1, Thu 11 Nov 2004 04:06:40 PM CET, Key ID b44269d04f2a6fd2 Packager : Red Hat, Inc. URL : http://www.netfilter.org/ Summary : Tools for managing Linux kernel packet filtering capabilities. Description : The iptables utility controls the network packet filtering code in the Linux kernel. If you need to set up firewalls and/or IP masquerading, you should install this package. -- Daniel From Jacques.Riopel at equant.com Thu Jan 12 21:31:36 2006 From: Jacques.Riopel at equant.com (Jacques.Riopel at equant.com) Date: Thu, 12 Jan 2006 16:31:36 -0500 Subject: Moving from Debian to RH Enterprise WS Message-ID: On a "mature" HP Vectra dual P90 box with SCSI disk subsystem, I would like to move to RH Enterprise WS. I am fairly newbie at this, and the person who installed Debian on it found it challenging because the CDROM is SCSI, as are the 2 internal HD. And it doesnt know how to boot from the CD. Currently, it boots OK from the 1st HD. It is a basic install, and the box can be reformatted, no data on it. I can access the network from it, including a machine on which I am running ftp server and have copied the RedHat directory and release notes from the 4 CDs I downloaded. I installed another more modern machine from these CDs and they work. So how do I start an FTP install, where I want to basically reformat this whole machine and just have RH running on it? For reference, here is my dmesg from the machine in question: Linux version 2.4.29 (root at Debian) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #57 SMP Mon Dec 12 10:22:12 GMT 2005 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009f800 (usable) BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 0000000008000000 (usable) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 128MB LOWMEM available. found SMP MP-table at 000f9470 hm, page 000f9000 reserved twice. hm, page 000fa000 reserved twice. On node 0 totalpages: 32768 zone(0): 4096 pages. zone(1): 28672 pages. zone(2): 0 pages. DMI not present. ACPI: Unable to locate RSDP Intel MultiProcessor Specification v1.1 Virtual Wire compatibility mode. Default MP configuration #5 Processor #0 Pentium(tm) APIC version 16 Processor #1 Pentium(tm) APIC version 16 I/O APIC #2 Version 16 at 0xFEC00000. ISA/PCI bus type with no IRQ information... falling back to ELCR Using ELCR to identify PCI interrupts Processors: 2 Kernel command line: BOOT_IMAGE=Linux ro root=802 Initializing CPU#0 Detected 90.207 MHz processor. Console: mono EGA+ 80x25 Calibrating delay loop... 179.81 BogoMIPS Memory: 125140k/131072k available (2690k kernel code, 5544k reserved, 771k data, 140k init, 0k highmem) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) Intel Pentium with F0 0F bug - workaround enabled. CPU: After generic, caps: 000007bf 00000000 00000000 00000000 CPU: Common caps: 000007bf 00000000 00000000 00000000 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX CPU: After generic, caps: 000007bf 00000000 00000000 00000000 CPU: Common caps: 000007bf 00000000 00000000 00000000 CPU0: Intel Pentium 75 - 200 stepping 04 per-CPU timeslice cutoff: 160.18 usecs. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000008 ESR value after enabling vector: 00000000 Booting processor 1/1 eip 2000 Initializing CPU#1 masked ExtINT on CPU#1 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Calibrating delay loop... 180.22 BogoMIPS CPU: After generic, caps: 000007bf 00000000 00000000 00000000 CPU: Common caps: 000007bf 00000000 00000000 00000000 CPU1: Intel Pentium 75 - 200 stepping 04 Total of 2 processors activated (360.03 BogoMIPS). WARNING: SMP operation may be unreliable with B stepping processors. ENABLING IO-APIC IRQs Setting 2 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 2 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 2-0 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 16. number of IO-APIC #2 registers: 16. testing the IO APIC....................... IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 ....... : Delivery Type: 0 ....... : LTS : 0 .... register #01: 000F0011 ....... : max redirection entries: 000F ....... : PRQ implemented: 0 ....... : IO APIC version: 0011 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 003 03 0 0 0 0 0 1 1 39 02 003 03 0 0 0 0 0 1 1 31 03 003 03 0 0 0 0 0 1 1 41 04 003 03 0 0 0 0 0 1 1 49 05 003 03 0 0 0 0 0 1 1 51 06 003 03 0 0 0 0 0 1 1 59 07 003 03 0 0 0 0 0 1 1 61 08 003 03 0 0 0 0 0 1 1 69 09 003 03 1 1 0 0 0 1 1 71 0a 003 03 1 1 0 0 0 1 1 79 0b 003 03 0 0 0 0 0 1 1 81 0c 003 03 0 0 0 0 0 1 1 89 0d 003 03 0 0 0 0 0 1 1 91 0e 003 03 0 0 0 0 0 1 1 99 0f 003 03 0 0 0 0 0 1 1 A1 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ11 -> 0:11 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ14 -> 0:14 IRQ15 -> 0:15 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 90.2008 MHz. ..... host bus clock speed is 60.1336 MHz. cpu: 0, clocks: 601336, slice: 200445 CPU0 cpu: 1, clocks: 601336, slice: 200445 CPU1 checking TSC synchronization across CPUs: passed. Waiting on wait_init_idle (map = 0x2) All processors have done init_idle PCI: PCI BIOS revision 2.00 entry at 0xfdcf0, last bus=0 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI BIOS passed nonexistent PCI bus 0! PCI BIOS passed nonexistent PCI bus 0! PCI BIOS passed nonexistent PCI bus 0! isapnp: Scanning for PnP cards... isapnp: SB audio device quirk - increasing port range isapnp: Card 'Creative ViBRA16C PnP' isapnp: 1 Plug & Play card detected total Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Journalled Block Device driver loaded Installing knfsd (copyright (C) 1996 okir at monad.swb.de). udf: registering filesystem SGI XFS with no debug enabled i2c-core.o: i2c core module version 2.6.1 (20010830) i2c-algo-bit.o: i2c bit algorithm module tridentfb: Trident framebuffer 0.7.5 initializing vga16fb: initializing vga16fb: mapped to 0xc00a0000 Console: switching to colour frame buffer device 80x30 fb0: VGA16 VGA frame buffer device pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) pcnet32.c:v1.30h 06.24.2004 tsbogend at alpha.franken.de PCI: Setting latency timer of device 00:03.0 to 64 pcnet32: PCnet/PCI 79C970 at 0xffe0, 08 00 09 4f 18 fe assigned IRQ 9. eth0: registered as PCnet/PCI 79C970 pcnet32: 1 cards_found. Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 96M agpgart: no supported devices found. [drm] Initialized tdfx 1.0.0 20010216 on minor 0 [drm] Initialized radeon 1.7.0 20020828 on minor 1 [drm:drm_init] *ERROR* Cannot initialize the agpgart module. SCSI subsystem driver Revision: 1.00 Red Hat/Adaptec aacraid driver (1.1-3 Dec 12 2005 09:19:25) DC390_init: No EEPROM found! Trying default settings ... DC390: Used defaults: AdaptID=7, SpeedIdx=0 (10.0 MHz), DevMode=0x1f, AdaptMode=0x2f, TaggedCmnds=3 (16), DelayReset=1s PCI: Setting latency timer of device 00:04.0 to 64 DC390: 1 adapters found scsi1 : Tekram DC390/AM53C974 V2.0f 2000-12-20 Vendor: SEAGATE Model: ST39140N Rev: 1487 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SEAGATE Model: ST52160N Rev: 0285 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SONY Model: CD-ROM CDU-55S Rev: 1.0q Type: CD-ROM ANSI SCSI revision: 02 Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0 DC390: Target 0: Sync transfer 10.0 MHz, Offset 15 SCSI device sda: 17783240 512-byte hdwr sectors (9105 MB) Partition check: sda: sda1 sda2 sda3 sda4 < sda5 > DC390: Target 1: Sync transfer 10.0 MHz, Offset 15 SCSI device sdb: 4238282 512-byte hdwr sectors (2170 MB) sdb: sdb1 Attached scsi CD-ROM sr0 at scsi1, channel 0, id 2, lun 0 DC390: Target 2: Sync transfer 4.0 MHz, Offset 15 sr0: scsi-1 drive Uniform CD-ROM driver Revision: 3.12 Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] Linux video capture interface: v1.00 mice: PS/2 mouse device common for all mice I2O Core - (C) Copyright 1999 Red Hat Software I2O: Event thread created as pid 17 I2O configuration manager v 0.04. (C) Copyright 1999 Red Hat Software NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 8192) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. ds: no socket drivers loaded! kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 140k freed Adding Swap: 401616k swap-space (priority -1) EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal ttyS1: LSR safety check engaged! ttyS1: LSR safety check engaged! kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,5), internal journal EXT3-fs: mounted filesystem with ordered data mode. From KitchenProven at comcast.net Thu Jan 12 23:26:28 2006 From: KitchenProven at comcast.net (Albus Dumbledore) Date: Thu, 12 Jan 2006 15:26:28 -0800 Subject: Command input Message-ID: <1137108388.3020.8.camel@localhost.localdomain> I am using RHW3 which has a graphic user interface. How do I get to a command line where I can input commands such as "fsck" (file system check) that was suggested to me in an earlier answer on this forum? From john.johnston at taos.fnsb.lib.ak.us Thu Jan 12 16:14:01 2006 From: john.johnston at taos.fnsb.lib.ak.us (John Johnston) Date: Thu, 12 Jan 2006 07:14:01 -0900 Subject: vsftpd problem logging on Message-ID: <43C68049.6040204@taos.fnsb.lib.ak.us> I can't get vsftpd to accept my logon creditials. When I try to connect to the localhost from the system terminal I get. tp> open localhost Connected to localhost.localdomain. 220 booklet.nwl.local FTP server (Version 5.60) ready. 334 Using authentication type GSSAPI; ADAT must follow GSSAPI accepted as authentication type GSSAPI error major: Miscellaneous failure GSSAPI error minor: Unknown code krb5 195 GSSAPI error: initializing context GSSAPI authentication failed 334 Using authentication type KERBEROS_V4; ADAT must follow KERBEROS_V4 accepted as authentication type Kerberos V4 krb_mk_req failed: You have no tickets cached Name (localhost:kanikpuk): bearqst 530 Must perform authentication before identifying USER. Login failed. Remote system type is UNIX. Using binary mode to transfer files. ftp> ftp> user -d username 530 Must perform authentication before identifying USER. Login failed. ftp> ftp> user -d username 530 Must perform authentication before identifying USER. When I try to connect from a remote host I can logon as a guest, but not as a user of the system ftp> open 172.17.65.249 Connected to 172.17.65.249. 220 booklet.nwl.local FTP server (Version 5.60) ready. User (172.17.65.249:(none)): ftp 331 Guest login ok, send ident as password. Password: 230 Guest login ok, access restrictions apply. ftp> ls 200 PORT command successful. 150 Opening ASCII mode data connection for file list. pub 226 Transfer complete. ftp: 5 bytes received in 0.00Seconds 5000.00Kbytes/sec. ftp> pwd 257 "/" is current directory. ftp> close 221 Goodbye. ftp> open 172.17.65.249 Connected to 172.17.65.249. 220 booklet.nwl.local FTP server (Version 5.60) ready. User (172.17.65.249:(none)): username 530 Must perform authentication before identifying USER. Login failed. What am I missing TIA -- ************** John Johnston http://www.johnstons.cc From rstevens at vitalstream.com Fri Jan 13 00:09:03 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 16:09:03 -0800 Subject: Command input In-Reply-To: <1137108388.3020.8.camel@localhost.localdomain> References: <1137108388.3020.8.camel@localhost.localdomain> Message-ID: <1137110943.14840.153.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 15:26 -0800, Albus Dumbledore wrote: > I am using RHW3 which has a graphic user interface. How do I get to a > command line where I can input commands such as "fsck" (file system > check) that was suggested to me in an earlier answer on this forum? Right click on the desktop background and select "Open Terminal". Poof! A terminal window will open. This is roughly equivalent to the dread "DOS Box" on Winblows. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The light at the end of the tunnel is really an oncoming train. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Jan 13 00:20:19 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 16:20:19 -0800 Subject: vsftpd problem logging on In-Reply-To: <43C68049.6040204@taos.fnsb.lib.ak.us> References: <43C68049.6040204@taos.fnsb.lib.ak.us> Message-ID: <1137111619.14840.164.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 07:14 -0900, John Johnston wrote: > I can't get vsftpd to accept my logon creditials. > > When I try to connect to the localhost from the system terminal I get. > > > tp> open localhost > Connected to localhost.localdomain. > 220 booklet.nwl.local FTP server (Version 5.60) ready. > 334 Using authentication type GSSAPI; ADAT must follow > GSSAPI accepted as authentication type > GSSAPI error major: Miscellaneous failure > GSSAPI error minor: Unknown code krb5 195 > GSSAPI error: initializing context > GSSAPI authentication failed > 334 Using authentication type KERBEROS_V4; ADAT must follow > KERBEROS_V4 accepted as authentication type > Kerberos V4 krb_mk_req failed: You have no tickets cached > Name (localhost:kanikpuk): bearqst > 530 Must perform authentication before identifying USER. > Login failed. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> > ftp> user -d username > 530 Must perform authentication before identifying USER. > Login failed. > ftp> > ftp> user -d username > 530 Must perform authentication before identifying USER. > > > When I try to connect from a remote host I can logon as a guest, but not > as a user of the system > > > ftp> open 172.17.65.249 > Connected to 172.17.65.249. > 220 booklet.nwl.local FTP server (Version 5.60) ready. > User (172.17.65.249:(none)): ftp > 331 Guest login ok, send ident as password. > Password: > 230 Guest login ok, access restrictions apply. > ftp> ls > 200 PORT command successful. > 150 Opening ASCII mode data connection for file list. > pub > 226 Transfer complete. > ftp: 5 bytes received in 0.00Seconds 5000.00Kbytes/sec. > ftp> pwd > 257 "/" is current directory. > ftp> close > 221 Goodbye. > ftp> open 172.17.65.249 > Connected to 172.17.65.249. > 220 booklet.nwl.local FTP server (Version 5.60) ready. > User (172.17.65.249:(none)): username > 530 Must perform authentication before identifying USER. > Login failed. > > What am I missing Several things. The system defaults to "anonymous_enable = YES", so that's why the anonymous user (user "ftp") is allowed in. However, the system also defaults to "local_enable = NO", so the only way for NORMAL users is via Kerberos. As the root user, edit the file "/etc/vsftpd/vsftpd.conf" and uncomment the line: local_enable=YES by deleting the leading "#" mark. Then, still as the root user, enter the command: # service vsftpd restart Then try "ftp localhost" again. I'll bet it works now. You should check out the man page for the vsftpd.conf file. The command to do that is "man vsftpd.conf" as any user. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Lottery: A tax on people who are bad at math. - ---------------------------------------------------------------------- From ecbrown at lanl.gov Fri Jan 13 00:34:55 2006 From: ecbrown at lanl.gov (E. Craig Brown) Date: Thu, 12 Jan 2006 17:34:55 -0700 Subject: Setting Kernel Parameters Message-ID: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> I am trying to change the default values for kernel parameters rmem_default, rmem_max, wmem_default and wmem_max. I modify the /etc/sysctl.conf file and add rows: rmem_default = 262144 rmem_max = 262144 wmem_default = 262144 wmem_max = 262144 In case this looks familiar, I am doing this to install an Oracle database. I have set the values of other kernel parameters in this way, however, when I try to set these and execute sysctl -p, these four return a message of error: 'rmem_default' is an unknown key error: 'rmem_max' is an unknown key error: 'wmem_default' is an unknown key error: 'wmem_max' is an unknown key Do any of you have any ideas as to why these parameters will not be set? I run the command "/sbin/sysctl -a | grep rmem_default" and have a message return the current value of each of these as expected. My guess is that while I am using the specific string that the Oracle Documentation guide suggests to use to change the values of these parameters, I probably need a different syntax. Thank you, Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdroz8 at gmail.com Fri Jan 13 00:35:29 2006 From: mdroz8 at gmail.com (mike) Date: Thu, 12 Jan 2006 16:35:29 -0800 Subject: run commands remotely? Message-ID: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> what if i want to run a command on a linux box remotely from a windows machine and i want to pass in different parameters at any given time. is this as difficult as it sounds? -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Fri Jan 13 00:55:46 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 16:55:46 -0800 Subject: Setting Kernel Parameters In-Reply-To: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> References: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> Message-ID: <1137113746.14840.198.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 17:34 -0700, E. Craig Brown wrote: > I am trying to change the default values for kernel parameters > rmem_default, rmem_max, wmem_default and wmem_max. I modify > the /etc/sysctl.conf file and add rows: > rmem_default = 262144 > rmem_max = 262144 > wmem_default = 262144 > wmem_max = 262144 > > In case this looks familiar, I am doing this to install an Oracle > database. I have set the values of other kernel parameters in this > way, however, when I try to set these and execute sysctl -p, these > four return a message of > error: 'rmem_default' is an unknown key > error: 'rmem_max' is an unknown key > error: 'wmem_default' is an unknown key > error: 'wmem_max' is an unknown key > Do any of you have any ideas as to why these parameters will not be > set? I run the command "/sbin/sysctl -a | grep rmem_default" and have > a message return the current value of each of these as expected. My > guess is that while I am using the specific string that the Oracle > Documentation guide suggests to use to change the values of these > parameters, I probably need a different syntax. Yes, the keys in the /etc/sysctl.conf file are incorrect. Modify your entries to read: net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144 The keys are the full path names under the "/proc/sys" directory, with the "/"s replaced with dots and the "/proc/sys" bit stripped out. In your case, the "rmem_default" file is located at /proc/sys/net/core/rmem_default so you drop the "/proc/sys" bit, transliterate the remaining "/"s to dots and end up with net.core.rmem_default ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Never eat anything larger than your head - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Jan 13 00:56:54 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 16:56:54 -0800 Subject: run commands remotely? In-Reply-To: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> References: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> Message-ID: <1137113815.14840.199.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 16:35 -0800, mike wrote: > what if i want to run a command on a linux box remotely from a windows > machine and i want to pass in different parameters at any given time. > is this as difficult as it sounds? No. If you run sshd on the Linux box, you can use something like "putty" on Windows, log into the Linux box and run whatever you want. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Doctor! My brain hurts!" "It will have to come out!" - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Jan 13 01:01:53 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 17:01:53 -0800 Subject: Moving from Debian to RH Enterprise WS In-Reply-To: References: Message-ID: <1137114113.14840.205.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 16:31 -0500, Jacques.Riopel at equant.com wrote: > On a "mature" HP Vectra dual P90 box with SCSI disk subsystem, I would > like to move to RH Enterprise WS. I am fairly newbie at this, and the > person who installed Debian on it found it challenging because the CDROM is > SCSI, as are the 2 internal HD. And it doesnt know how to boot from the CD. > Currently, it boots OK from the 1st HD. It is a basic install, and the > box can be reformatted, no data on it. I can access the network from it, > including a machine on which I am running ftp server and have copied the > RedHat directory and release notes from the 4 CDs I downloaded. I > installed another more modern machine from these CDs and they work. By "mature", you assume you really mean "friggin' ancient!" :-) You're going to have issues. If the BIOS can't boot from a SCSI CD, I doubt it'll boot from a USB device either. Unfortunately, any RHEL 4 product is based on the 2.6 kernel, and it's too big to fit on a floppy. You have to be able to boot from CD, DVD or something like a USB jump drive (something that's AT LEAST about 2.5MB in size). You can do a TFTP install, but you have to set up a bootp server to do it and that's pretty involved if you've never done it. > So how do I start an FTP install, where I want to basically reformat > this whole machine and just have RH running on it? For reference, here is > my dmesg from the machine in question: > > Linux version 2.4.29 (root at Debian) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #57 SMP Mon Dec 12 10:22:12 GMT 2005 > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009f800 (usable) > BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) > BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 0000000008000000 (usable) > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) > 128MB LOWMEM available. > found SMP MP-table at 000f9470 > hm, page 000f9000 reserved twice. > hm, page 000fa000 reserved twice. > On node 0 totalpages: 32768 > zone(0): 4096 pages. > zone(1): 28672 pages. > zone(2): 0 pages. > DMI not present. > ACPI: Unable to locate RSDP > Intel MultiProcessor Specification v1.1 > Virtual Wire compatibility mode. > Default MP configuration #5 > Processor #0 Pentium(tm) APIC version 16 > Processor #1 Pentium(tm) APIC version 16 > I/O APIC #2 Version 16 at 0xFEC00000. > ISA/PCI bus type with no IRQ information... falling back to ELCR > Using ELCR to identify PCI interrupts > Processors: 2 > Kernel command line: BOOT_IMAGE=Linux ro root=802 > Initializing CPU#0 > Detected 90.207 MHz processor. > Console: mono EGA+ 80x25 > Calibrating delay loop... 179.81 BogoMIPS > Memory: 125140k/131072k available (2690k kernel code, 5544k reserved, 771k data, 140k init, 0k highmem) > Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) > Inode cache hash table entries: 8192 (order: 4, 65536 bytes) > Mount cache hash table entries: 512 (order: 0, 4096 bytes) > Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) > Page-cache hash table entries: 32768 (order: 5, 131072 bytes) > Intel Pentium with F0 0F bug - workaround enabled. > CPU: After generic, caps: 000007bf 00000000 00000000 00000000 > CPU: Common caps: 000007bf 00000000 00000000 00000000 > Checking 'hlt' instruction... OK. > POSIX conformance testing by UNIFIX > CPU: After generic, caps: 000007bf 00000000 00000000 00000000 > CPU: Common caps: 000007bf 00000000 00000000 00000000 > CPU0: Intel Pentium 75 - 200 stepping 04 > per-CPU timeslice cutoff: 160.18 usecs. > enabled ExtINT on CPU#0 > ESR value before enabling vector: 00000008 > ESR value after enabling vector: 00000000 > Booting processor 1/1 eip 2000 > Initializing CPU#1 > masked ExtINT on CPU#1 > ESR value before enabling vector: 00000000 > ESR value after enabling vector: 00000000 > Calibrating delay loop... 180.22 BogoMIPS > CPU: After generic, caps: 000007bf 00000000 00000000 00000000 > CPU: Common caps: 000007bf 00000000 00000000 00000000 > CPU1: Intel Pentium 75 - 200 stepping 04 > Total of 2 processors activated (360.03 BogoMIPS). > WARNING: SMP operation may be unreliable with B stepping processors. > ENABLING IO-APIC IRQs > Setting 2 in the phys_id_present_map > ...changing IO-APIC physical APIC ID to 2 ... ok. > init IO_APIC IRQs > IO-APIC (apicid-pin) 2-0 not connected. > ..TIMER: vector=0x31 pin1=2 pin2=0 > number of MP IRQ sources: 16. > number of IO-APIC #2 registers: 16. > testing the IO APIC....................... > > IO APIC #2...... > .... register #00: 02000000 > ....... : physical APIC id: 02 > ....... : Delivery Type: 0 > ....... : LTS : 0 > .... register #01: 000F0011 > ....... : max redirection entries: 000F > ....... : PRQ implemented: 0 > ....... : IO APIC version: 0011 > .... register #02: 00000000 > ....... : arbitration: 00 > .... IRQ redirection table: > NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: > 00 000 00 1 0 0 0 0 0 0 00 > 01 003 03 0 0 0 0 0 1 1 39 > 02 003 03 0 0 0 0 0 1 1 31 > 03 003 03 0 0 0 0 0 1 1 41 > 04 003 03 0 0 0 0 0 1 1 49 > 05 003 03 0 0 0 0 0 1 1 51 > 06 003 03 0 0 0 0 0 1 1 59 > 07 003 03 0 0 0 0 0 1 1 61 > 08 003 03 0 0 0 0 0 1 1 69 > 09 003 03 1 1 0 0 0 1 1 71 > 0a 003 03 1 1 0 0 0 1 1 79 > 0b 003 03 0 0 0 0 0 1 1 81 > 0c 003 03 0 0 0 0 0 1 1 89 > 0d 003 03 0 0 0 0 0 1 1 91 > 0e 003 03 0 0 0 0 0 1 1 99 > 0f 003 03 0 0 0 0 0 1 1 A1 > IRQ to pin mappings: > IRQ0 -> 0:2 > IRQ1 -> 0:1 > IRQ3 -> 0:3 > IRQ4 -> 0:4 > IRQ5 -> 0:5 > IRQ6 -> 0:6 > IRQ7 -> 0:7 > IRQ8 -> 0:8 > IRQ9 -> 0:9 > IRQ10 -> 0:10 > IRQ11 -> 0:11 > IRQ12 -> 0:12 > IRQ13 -> 0:13 > IRQ14 -> 0:14 > IRQ15 -> 0:15 > .................................... done. > Using local APIC timer interrupts. > calibrating APIC timer ... > ..... CPU clock speed is 90.2008 MHz. > ..... host bus clock speed is 60.1336 MHz. > cpu: 0, clocks: 601336, slice: 200445 > CPU0 > cpu: 1, clocks: 601336, slice: 200445 > CPU1 > checking TSC synchronization across CPUs: passed. > Waiting on wait_init_idle (map = 0x2) > All processors have done init_idle > PCI: PCI BIOS revision 2.00 entry at 0xfdcf0, last bus=0 > PCI: Using configuration type 1 > PCI: Probing PCI hardware > PCI: Probing PCI hardware (bus 00) > PCI BIOS passed nonexistent PCI bus 0! > PCI BIOS passed nonexistent PCI bus 0! > PCI BIOS passed nonexistent PCI bus 0! > isapnp: Scanning for PnP cards... > isapnp: SB audio device quirk - increasing port range > isapnp: Card 'Creative ViBRA16C PnP' > isapnp: 1 Plug & Play card detected total > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Journalled Block Device driver loaded > Installing knfsd (copyright (C) 1996 okir at monad.swb.de). > udf: registering filesystem > SGI XFS with no debug enabled > i2c-core.o: i2c core module version 2.6.1 (20010830) > i2c-algo-bit.o: i2c bit algorithm module > tridentfb: Trident framebuffer 0.7.5 initializing > vga16fb: initializing > vga16fb: mapped to 0xc00a0000 > Console: switching to colour frame buffer device 80x30 > fb0: VGA16 VGA frame buffer device > pty: 256 Unix98 ptys configured > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled > ttyS00 at 0x03f8 (irq = 4) is a 16550A > Floppy drive(s): fd0 is 1.44M > FDC 0 is a National Semiconductor PC87306 > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > loop: loaded (max 8 devices) > pcnet32.c:v1.30h 06.24.2004 tsbogend at alpha.franken.de > PCI: Setting latency timer of device 00:03.0 to 64 > pcnet32: PCnet/PCI 79C970 at 0xffe0, 08 00 09 4f 18 fe assigned IRQ 9. > eth0: registered as PCnet/PCI 79C970 > pcnet32: 1 cards_found. > Linux agpgart interface v0.99 (c) Jeff Hartmann > agpgart: Maximum main memory to use for agp memory: 96M > agpgart: no supported devices found. > [drm] Initialized tdfx 1.0.0 20010216 on minor 0 > [drm] Initialized radeon 1.7.0 20020828 on minor 1 > [drm:drm_init] *ERROR* Cannot initialize the agpgart module. > SCSI subsystem driver Revision: 1.00 > Red Hat/Adaptec aacraid driver (1.1-3 Dec 12 2005 09:19:25) > DC390_init: No EEPROM found! Trying default settings ... > DC390: Used defaults: AdaptID=7, SpeedIdx=0 (10.0 MHz), DevMode=0x1f, AdaptMode=0x2f, TaggedCmnds=3 (16), DelayReset=1s > PCI: Setting latency timer of device 00:04.0 to 64 > DC390: 1 adapters found > scsi1 : Tekram DC390/AM53C974 V2.0f 2000-12-20 > Vendor: SEAGATE Model: ST39140N Rev: 1487 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: SEAGATE Model: ST52160N Rev: 0285 > Type: Direct-Access ANSI SCSI revision: 02 > Vendor: SONY Model: CD-ROM CDU-55S Rev: 1.0q > Type: CD-ROM ANSI SCSI revision: 02 > Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 > Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0 > DC390: Target 0: Sync transfer 10.0 MHz, Offset 15 > SCSI device sda: 17783240 512-byte hdwr sectors (9105 MB) > Partition check: > sda: sda1 sda2 sda3 sda4 < sda5 > > DC390: Target 1: Sync transfer 10.0 MHz, Offset 15 > SCSI device sdb: 4238282 512-byte hdwr sectors (2170 MB) > sdb: sdb1 > Attached scsi CD-ROM sr0 at scsi1, channel 0, id 2, lun 0 > DC390: Target 2: Sync transfer 4.0 MHz, Offset 15 > sr0: scsi-1 drive > Uniform CD-ROM driver Revision: 3.12 > Linux Kernel Card Services 3.1.22 > options: [pci] [cardbus] > Linux video capture interface: v1.00 > mice: PS/2 mouse device common for all mice > I2O Core - (C) Copyright 1999 Red Hat Software > I2O: Event thread created as pid 17 > I2O configuration manager v 0.04. > (C) Copyright 1999 Red Hat Software > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP > IP: routing cache hash table of 1024 buckets, 8Kbytes > TCP: Hash tables configured (established 8192 bind 8192) > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > ds: no socket drivers loaded! > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > Freeing unused kernel memory: 140k freed > Adding Swap: 401616k swap-space (priority -1) > EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal > ttyS1: LSR safety check engaged! > ttyS1: LSR safety check engaged! > kjournald starting. Commit interval 5 seconds > EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal > EXT3-fs: mounted filesystem with ordered data mode. > kjournald starting. Commit interval 5 seconds > EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,5), internal journal > EXT3-fs: mounted filesystem with ordered data mode. > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Squawk! Pieces of Seven! Pieces of Seven! Parity Error! - ---------------------------------------------------------------------- From mdroz8 at gmail.com Fri Jan 13 01:02:42 2006 From: mdroz8 at gmail.com (mike) Date: Thu, 12 Jan 2006 17:02:42 -0800 Subject: run commands remotely? In-Reply-To: <1137113815.14840.199.camel@prophead.corp.publichost.com> References: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> <1137113815.14840.199.camel@prophead.corp.publichost.com> Message-ID: <1a4b2b830601121702u22af5acfp6c05887f2229aa05@mail.gmail.com> sorry, i meant from C/C++ code... On 1/12/06, Rick Stevens wrote: > > On Thu, 2006-01-12 at 16:35 -0800, mike wrote: > > what if i want to run a command on a linux box remotely from a windows > > machine and i want to pass in different parameters at any given time. > > is this as difficult as it sounds? > > No. If you run sshd on the Linux box, you can use something like > "putty" on Windows, log into the Linux box and run whatever you want. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - "Doctor! My brain hurts!" "It will have to come out!" - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 > -- There are 10 types of people, those who understand binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikerault at yahoo.com Fri Jan 13 01:07:02 2006 From: mikerault at yahoo.com (Michael Ault) Date: Thu, 12 Jan 2006 17:07:02 -0800 (PST) Subject: Setting Kernel Parameters In-Reply-To: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> Message-ID: <20060113010703.81198.qmail@web30805.mail.mud.yahoo.com> Usually you need to do a full path to the values look on http://www.puschitz.com/InstallingOracle9i.html for guidelines on how to set these properly. Mike Ault --- "E. Craig Brown" wrote: > I am trying to change the default values for kernel > parameters > rmem_default, rmem_max, wmem_default and wmem_max. I > modify the > /etc/sysctl.conf file and add rows: > rmem_default = 262144 > rmem_max = 262144 > wmem_default = 262144 > wmem_max = 262144 > > In case this looks familiar, I am doing this to > install an Oracle database. > I have set the values of other kernel parameters in > this way, however, when > I try to set these and execute sysctl -p, these four > return a message of > error: 'rmem_default' is an unknown key > error: 'rmem_max' is an unknown key > error: 'wmem_default' is an unknown key > error: 'wmem_max' is an unknown key > Do any of you have any ideas as to why these > parameters will not be set? I > run the command "/sbin/sysctl -a | grep > rmem_default" and have a message > return the current value of each of these as > expected. My guess is that > while I am using the specific string that the Oracle > Documentation guide > suggests to use to change the values of these > parameters, I probably need a > different syntax. > Thank you, > Craig > _______________________________________________ > 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 Michael R. Ault Senior Consultant Burleson Oracle Consulting 770-754-9057 www.ault.cc www.remote-dba.com From rstevens at vitalstream.com Fri Jan 13 01:08:33 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 17:08:33 -0800 Subject: run commands remotely? In-Reply-To: <1a4b2b830601121702u22af5acfp6c05887f2229aa05@mail.gmail.com> References: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> <1137113815.14840.199.camel@prophead.corp.publichost.com> <1a4b2b830601121702u22af5acfp6c05887f2229aa05@mail.gmail.com> Message-ID: <1137114513.14840.212.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 17:02 -0800, mike wrote: > sorry, i meant from C/C++ code... Oh. Yeah, that's involved. There's a bunch of ways to approach it. For example, you could create an RPC service to do it or you could get an ssh client library and use it to connect to the Linux box's ssh daemon and send it commands. The problem is figuring out which is best for what you want to do. As far as coding it...well, that's a bit beyond the scope of a mailing list! > On 1/12/06, Rick Stevens wrote: > On Thu, 2006-01-12 at 16:35 -0800, mike wrote: > > what if i want to run a command on a linux box remotely from > a windows > > machine and i want to pass in different parameters at any > given time. > > is this as difficult as it sounds? > > No. If you run sshd on the Linux box, you can use something > like > "putty" on Windows, log into the Linux box and run whatever > you want. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer > rstevens at vitalstream.com - > - VitalStream, Inc. > http://www.vitalstream.com - > - - > - "Doctor! My brain hurts!" "It will have to come out!" > - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 > > > > -- > There are 10 types of people, those who understand binary and those > who don't. > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - ---------------------------------------------------------------------- From bret_stern at machinemanagement.com Fri Jan 13 01:16:01 2006 From: bret_stern at machinemanagement.com (Bret Stern) Date: Thu, 12 Jan 2006 17:16:01 -0800 Subject: run commands remotely? In-Reply-To: <1137113815.14840.199.camel@prophead.corp.publichost.com> Message-ID: <003301c617de$eaa1ab00$2701a8c0@mmbret> -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Thursday, January 12, 2006 4:57 PM To: Getting started with Red Hat Linux Subject: Re: run commands remotely? On Thu, 2006-01-12 at 16:35 -0800, mike wrote: > what if i want to run a command on a linux box remotely from a windows > machine and i want to pass in different parameters at any given time. > is this as difficult as it sounds? No. If you run sshd on the Linux box, you can use something like "putty" on Windows, log into the Linux box and run whatever you want. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Doctor! My brain hurts!" "It will have to come out!" - ---------------------------------------------------------------------- Putty can be found by searching google..or go to http://www.openssh.com/windows.html very reliable remote terminal. a good way to find out where things are in Linux (because the x graphical screen is very nice on FC4 and hides the details of editing setup files etc) so you get to try editing using 'vi' to read logs and such. (i still like 'edlin' better) _______________________________________________ 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 From rstevens at vitalstream.com Fri Jan 13 01:21:11 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 12 Jan 2006 17:21:11 -0800 Subject: run commands remotely? In-Reply-To: <003301c617de$eaa1ab00$2701a8c0@mmbret> References: <003301c617de$eaa1ab00$2701a8c0@mmbret> Message-ID: <1137115271.14840.218.camel@prophead.corp.publichost.com> On Thu, 2006-01-12 at 17:16 -0800, Bret Stern wrote: > > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Thursday, January 12, 2006 4:57 PM > To: Getting started with Red Hat Linux > Subject: Re: run commands remotely? > > On Thu, 2006-01-12 at 16:35 -0800, mike wrote: > > what if i want to run a command on a linux box remotely from a windows > > machine and i want to pass in different parameters at any given time. > > is this as difficult as it sounds? > > No. If you run sshd on the Linux box, you can use something like "putty" on > Windows, log into the Linux box and run whatever you want. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - "Doctor! My brain hurts!" "It will have to come out!" - > ---------------------------------------------------------------------- > > > Putty can be found by searching google..or go to > http://www.openssh.com/windows.html > > very reliable remote terminal. a good way to find out where things > are in Linux (because the x graphical screen is very nice on FC4 > and hides the details of editing setup files etc) > so you get to try editing using 'vi' to read logs and such. > (i still like 'edlin' better) You're freakin' warped, my man! You're probably a big fan of teco, as well! :-D > > > > > _______________________________________________ > 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 > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Life: That which happens while you search for the remote control. - ---------------------------------------------------------------------- From micros50 at computer.net Fri Jan 13 10:14:06 2006 From: micros50 at computer.net (mylar) Date: Fri, 13 Jan 2006 05:14:06 -0500 Subject: Command input In-Reply-To: <1137108388.3020.8.camel@localhost.localdomain> References: <1137108388.3020.8.camel@localhost.localdomain> Message-ID: <1137147246.6906.246.camel@manhattan.ruffe.edu> Can't you open an "xterm" or similar terminal application that gives access to a command shell and CLI ?? mylar On Thu, 2006-01-12 at 18:26, Albus Dumbledore wrote: > I am using RHW3 which has a graphic user interface. How do I get to a > command line where I can input commands such as "fsck" (file system > check) that was suggested to me in an earlier answer on this forum? > > _______________________________________________ > 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 From Pjadler355 at cs.com Fri Jan 13 15:17:38 2006 From: Pjadler355 at cs.com (Pjadler355 at cs.com) Date: Fri, 13 Jan 2006 10:17:38 EST Subject: Moving from Debian to RH Enterprise WS Message-ID: <157.5f18b0bd.30f91e92@cs.com> Hello, Try the following instructions on the attached ".doc" to create a Linux rescue boot-floppy that will let you boot a cd. Hope this helps. ----------------------------------- Philip Jay Adler 215.369.4814 philipjadler at compuserve.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1.44 MB floppy Linux rescue system.doc Type: application/octet-stream Size: 33792 bytes Desc: not available URL: From rstevens at vitalstream.com Fri Jan 13 18:20:48 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 13 Jan 2006 10:20:48 -0800 Subject: Moving from Debian to RH Enterprise WS In-Reply-To: <157.5f18b0bd.30f91e92@cs.com> References: <157.5f18b0bd.30f91e92@cs.com> Message-ID: <1137176448.14840.256.camel@prophead.corp.publichost.com> On Fri, 2006-01-13 at 10:17 -0500, Pjadler355 at cs.com wrote: > Hello, > Try the following instructions on the attached ".doc" to create a > Linux rescue boot-floppy that will let you boot a cd. Hope this helps. You know, now that I think about it, there's a very good program that allows you to boot damned near any media you have on your system...and this program fits on a floppy. It's called "Smart Boot Manager" and it can be found at: http://btmgr.webframe.org/ For that ancient machine, booting off a SBM floppy will allow you to boot that SCSI CDROM--even if the BIOS won't let you do it natively. This is something I keep in my arsenal at all times! I dunno why I didn't remember it yesterday. I'm an idiot! ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Admitting you have a problem is the first step toward getting - - medicated for it. -- Jim Evarts (http://www.TopFive.com) - ---------------------------------------------------------------------- From admin at tootai.net Fri Jan 13 18:47:34 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Fri, 13 Jan 2006 19:47:34 +0100 Subject: Broken display Message-ID: <43C7F5C6.5070801@tootai.net> Hi all, I face a strange behavior on a FC3. I'm connecting via ssh and then run screen, locale give me: LANG=en_US.iso885915 LC_CTYPE="en_US.iso885915" LC_NUMERIC="en_US.iso885915" LC_TIME="en_US.iso885915" LC_COLLATE="en_US.iso885915" LC_MONETARY="en_US.iso885915" LC_MESSAGES="en_US.iso885915" LC_PAPER="en_US.iso885915" LC_NAME="en_US.iso885915" LC_ADDRESS="en_US.iso885915" LC_TELEPHONE="en_US.iso885915" LC_MEASUREMENT="en_US.iso885915" LC_IDENTIFICATION="en_US.iso885915" LC_ALL= Now if I run man, I get RPM(8) R?? H?? L???? RPM(8) NAME ??? - RPM P?????? M?????? SYNOPSIS QUERYING AND VERIFYING PACKAGES: ??? ?-??--?????? [??????-???????] [?????-???????] ??? ?-V?--??????? [??????-???????] [??????-???????] ??? --?????? PUBKEY ... ??? ?-K?--????????? [--???????????] [--????????] PACKAGE FILE ... [and so on] Not really readable! Running mc under root give me the same behavior, only CTRL/L give me back a decent display. Running under a normal user, same behaviour. This is a ls in console: [??@????? ?]$ ?? ??????.?? ??? ?????.???? ?????.????.???????? M??? ??? [??@????? ?]$ Any hint? From rstevens at vitalstream.com Fri Jan 13 19:06:17 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 13 Jan 2006 11:06:17 -0800 Subject: Broken display In-Reply-To: <43C7F5C6.5070801@tootai.net> References: <43C7F5C6.5070801@tootai.net> Message-ID: <1137179177.14840.266.camel@prophead.corp.publichost.com> On Fri, 2006-01-13 at 19:47 +0100, Administrator TOOTAI wrote: > Hi all, > > I face a strange behavior on a FC3. I'm connecting via ssh and then run > screen, locale give me: > > LANG=en_US.iso885915 > LC_CTYPE="en_US.iso885915" > LC_NUMERIC="en_US.iso885915" > LC_TIME="en_US.iso885915" > LC_COLLATE="en_US.iso885915" > LC_MONETARY="en_US.iso885915" > LC_MESSAGES="en_US.iso885915" > LC_PAPER="en_US.iso885915" > LC_NAME="en_US.iso885915" > LC_ADDRESS="en_US.iso885915" > LC_TELEPHONE="en_US.iso885915" > LC_MEASUREMENT="en_US.iso885915" > LC_IDENTIFICATION="en_US.iso885915" > LC_ALL= > > Now if I run man, I get > > RPM(8) R?? H?? L???? RPM(8) > > NAME > ??? - RPM P?????? M?????? > > SYNOPSIS > QUERYING AND VERIFYING PACKAGES: > ??? ?-??--?????? [??????-???????] [?????-???????] > > ??? ?-V?--??????? [??????-???????] [??????-???????] > > ??? --?????? PUBKEY ... > > ??? ?-K?--????????? [--???????????] [--????????] > PACKAGE FILE ... > > [and so on] > > Not really readable! Running mc under root give me the same behavior, > only CTRL/L give me back a decent display. Running under a normal user, > same behaviour. This is a ls in console: > > [??@????? ?]$ ?? > ??????.?? ??? ?????.???? ?????.????.???????? M??? ??? > [??@????? ?]$ > > Any hint? Bad locale setting. Edit your /etc/sysconfig/i18n file and make sure it contains: LANG="en_US.UTF-8" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16" Reboot and try it again. There's lots of problems with the en_US.iso885915 locale. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Okay, who put a "stop payment" on my reality check? - ---------------------------------------------------------------------- From dragonite.wylie at verizon.net Sat Jan 14 01:47:18 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Fri, 13 Jan 2006 19:47:18 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1136858767.3340.284.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> Message-ID: <43C85826.9020901@verizon.net> yeah small problem with that... none of the modes will boot. unless you mean i should let the thing run through its kernel panic script...? I'm trying to install it on a laptop that doesn't have a floppy drive, might that have something to do with it? Rick Stevens wrote: >On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: > > >>nope. >>it goes into panic after displaying "VFS: please append a correct >>'root=' boot option" or something to that effect. also says it can't >>find a device, then it gives (8,3), which i'm guessing is a location. >>the message saying it can't find the device comes before the VFS >>message. what is going on here? >> >> > >It appears that the initrd file wasn't built with the ext3 filesystem >support module or the lvm system. Boot off the first CD in rescue mode >and let the system search for and mount the existing system. At the >"#" prompt, do the following: > > # chroot /mnt/sysimage > # cd /boot > # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > >Verify that the ext3 filesystem module gets loaded in, and if you're >using LVM, that the LVM modules get loaded as well. When that's done: > > # exit > # exit > >(yes, two "exit" commands--the first exits the chroot environment, the >second terminates the rescue boot). Pop the CD out and see if it'll >boot. > > > >>Oliver wrote: >> >> >> >>>try using acpi=off kernel boot option >>> >>> >>> >>>*** mail checked - no virus found *** >>> >>> >>> >>> >>> >>> >>> >>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get >>>>the boot: prompt, but then it can't mount the root filesystem (i guess >>>> >>>> >>>>from the CD) and goes into kernel panic. I've done the checksums, and >>> >>> >>>>they add up correctly. What should I do? >>>> >>>> > >---------------------------------------------------------------------- >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- First Law of Work: - >- If you can't get it done in the first 24 hours, work nights. - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From admin at tootai.net Sat Jan 14 15:43:26 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Sat, 14 Jan 2006 16:43:26 +0100 Subject: Broken display In-Reply-To: <1137179177.14840.266.camel@prophead.corp.publichost.com> References: <43C7F5C6.5070801@tootai.net> <1137179177.14840.266.camel@prophead.corp.publichost.com> Message-ID: <43C91C1E.90509@tootai.net> Rick Stevens a ?crit : >On Fri, 2006-01-13 at 19:47 +0100, Administrator TOOTAI wrote: > > >>Hi all, >> >>I face a strange behavior on a FC3. I'm connecting via ssh and then run >>screen, locale give me: >> >>LANG=en_US.iso885915 >>[...] >> >> > >Bad locale setting. Edit your /etc/sysconfig/i18n file and make sure >it contains: > > LANG="en_US.UTF-8" > SUPPORTED="en_US.UTF-8:en_US:en" > SYSFONT="latarcyrheb-sun16" > >Reboot and try it again. There's lots of problems with the >en_US.iso885915 locale. > > I put fr_FR.iso885915 and it's ok. en.US.UTF-8 or fr_FR.UTF-8 had the same behavior that the described one. Thanks for your help. -- Daniel From pradeepkrlko at gmail.com Sun Jan 15 09:33:05 2006 From: pradeepkrlko at gmail.com (Kumar Pradeep) Date: Sun, 15 Jan 2006 09:33:05 +0000 Subject: Command input In-Reply-To: <1137108388.3020.8.camel@localhost.localdomain> References: <1137108388.3020.8.camel@localhost.localdomain> Message-ID: Just right click anywhere on your desktop and click the terminal and there you will get a terminal where u can write command On 1/12/06, Albus Dumbledore wrote: > > I am using RHW3 which has a graphic user interface. How do I get to > a > command line where I can input commands such as "fsck" (file system > check) that was suggested to me in an earlier answer on this forum? > > _______________________________________________ > 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 > -- Regards, Pradeep +91 934294 8743 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pradeepkrlko at gmail.com Sun Jan 15 09:42:39 2006 From: pradeepkrlko at gmail.com (Kumar Pradeep) Date: Sun, 15 Jan 2006 09:42:39 +0000 Subject: DHCP Server Message-ID: Hi all, I have installed a DHCP Server on RHEL 4 and now I wants windows machines to get IPaddress from the DHCP server, is there any way,,,,,,,,,,Please help me. -- Regards, Pradeep +91 934294 8743 -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.mokhtari at menara.ma Sun Jan 15 13:55:36 2006 From: s.mokhtari at menara.ma (Said MOKHTARI) Date: Sun, 15 Jan 2006 13:55:36 +0000 Subject: Setting Kernel Parameters In-Reply-To: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> References: <6.2.0.14.2.20060112172549.056b0b80@nmt-mail.lanl.gov> Message-ID: <43CA5458.9020505@menara.ma> The parameter your are trying to set are not for Linux (RedHat), i guess they are for Solaris or HPUX The right params for ORacle 9i are # configuration du fichier /etc/sysctl.conf #Disable packet forwarding net.ipv4.ip_forwardi = 0 #Enable source route verification net.ipv4.conf.default.rp_filter = 1 #Disable the magic-sysrq key kernel.sysrq = 0 # Parametres for Oracle9i R2 (9.0.2) and + kernel.sem = 250 32000 100 128 # kernel.shmmax = 2147483647 (2Gb) if you have 4GB RAM kernel.shmmax = 2147483647 kernel.shmmni = 4096 kernel.shmall = 2097152 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 # to activate the new params (hot) : sysctl -p Verify the file /etc/pam.d/system-auth : session required /lib/security/pam_limits.so session required /lib/security/pam_unix.so Add these lines to the file /etc/security/limits.conf oracle soft nofile 4096 oracle hard nofile 8192 E. Craig Brown wrote: > I am trying to change the default values for kernel parameters > rmem_default, rmem_max, wmem_default and wmem_max. I modify the > /etc/sysctl.conf file and add rows: > rmem_default = 262144 > rmem_max = 262144 > wmem_default = 262144 > wmem_max = 262144 > > In case this looks familiar, I am doing this to install an Oracle > database. I have set the values of other kernel parameters in this > way, however, when I try to set these and execute sysctl -p, these > four return a message of > error: 'rmem_default' is an unknown key > error: 'rmem_max' is an unknown key > error: 'wmem_default' is an unknown key > error: 'wmem_max' is an unknown key > Do any of you have any ideas as to why these parameters will not be > set? I run the command "/sbin/sysctl -a | grep rmem_default" and have > a message return the current value of each of these as expected. My > guess is that while I am using the specific string that the Oracle > Documentation guide suggests to use to change the values of these > parameters, I probably need a different syntax. > Thank you, > Craig > >------------------------------------------------------------------------ > >_______________________________________________ >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 > From peeyush_maurya at yahoo.com Sun Jan 15 16:25:17 2006 From: peeyush_maurya at yahoo.com (Peeyush Maurya) Date: Sun, 15 Jan 2006 08:25:17 -0800 (PST) Subject: run commands remotely? In-Reply-To: <1a4b2b830601121635q31307a9ak99b1625df6ed4259@mail.gmail.com> Message-ID: <20060115162517.82845.qmail@web54211.mail.yahoo.com> use telnet or ssh enable telnet [root at 123~]# vi /etc/xinetd.d/telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID } http://www.linux-faqs.com/HOWTO/Text-Terminal-HOWTO-11.php#ss11.5 http://www.linux-faqs.com/HOWTO/MindTerm-SSH-HOWTO/index.php Hope it helps Peeyush Maurya http://www.linux-faqs.com/ http://www.lug.co.in/ --- mike wrote: > what if i want to run a command on a linux box remotely > from a windows > machine and i want to pass in different parameters at any > given time. is > this as difficult as it sounds? > > _______________________________________________ > 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mdroz8 at gmail.com Sun Jan 15 21:12:03 2006 From: mdroz8 at gmail.com (mike) Date: Sun, 15 Jan 2006 13:12:03 -0800 Subject: netwiork server bind failure (98: address already in use) Message-ID: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> when i try to run this process, i am getting the error localhost nsca[3xxx] : Network server bind failure (98: Address already in use) how do i fix this so i can get the nsca daemon to run? thx -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertmcclure at earthlink.net Sun Jan 15 21:38:34 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Sun, 15 Jan 2006 15:38:34 -0600 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> Message-ID: <20060115213834.GA29324@bobcat.bobcatos.com> On Sun, Jan 15, 2006 at 01:12:03PM -0800, mike wrote: > when i try to run this process, i am getting the error > > localhost nsca[3xxx] : Network server bind failure (98: Address already in > use) > > how do i fix this so i can get the nsca daemon to run? > > thx Maybe it's already running. Here's how to find who is on that port (run this as root): netstat -lpn | fgrep :98 Out of curiosity, what's nsca? Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From mdroz8 at gmail.com Sun Jan 15 22:37:57 2006 From: mdroz8 at gmail.com (mike) Date: Sun, 15 Jan 2006 14:37:57 -0800 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <20060115213834.GA29324@bobcat.bobcatos.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> <20060115213834.GA29324@bobcat.bobcatos.com> Message-ID: <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> nsca is a damon for use with nagios, the freeway monitoring system. that command returned nothing to me as root. what does that mean? ps axu | grep nsca doesn't return anything either. why can i not find if this nsca daemon is running or not? On 1/15/06, Bob McClure Jr wrote: > > On Sun, Jan 15, 2006 at 01:12:03PM -0800, mike wrote: > > when i try to run this process, i am getting the error > > > > localhost nsca[3xxx] : Network server bind failure (98: Address already > in > > use) > > > > how do i fix this so i can get the nsca daemon to run? > > > > thx > > Maybe it's already running. Here's how to find who is on that port > (run this as root): > > netstat -lpn | fgrep :98 > > Out of curiosity, what's nsca? > > Cheers, > -- > Bob McClure, Jr. Bobcat Open Systems, Inc. > robertmcclure at earthlink.net http://www.bobcatos.com > Peace begins not at a Mideast table, but at a Mideast stable > > _______________________________________________ > 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 > -- There are 10 types of people, those who understand binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertmcclure at earthlink.net Sun Jan 15 22:49:02 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Sun, 15 Jan 2006 16:49:02 -0600 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> <20060115213834.GA29324@bobcat.bobcatos.com> <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> Message-ID: <20060115224902.GA962@bobcat.bobcatos.com> On Sun, Jan 15, 2006 at 02:37:57PM -0800, mike wrote: > nsca is a damon for use with nagios, the freeway monitoring system. > > that command returned nothing to me as root. what does that mean? That means that no process appears to have that port occupied. > ps axu | > grep nsca doesn't return anything either. > > why can i not find if this nsca daemon is running or not? Well, I'd say that your "ps axu | grep nsca" tells you it's not. How is it getting started? Try starting it by hand. Check /var/log/messages for clues. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From mdroz8 at gmail.com Sun Jan 15 23:06:59 2006 From: mdroz8 at gmail.com (mike) Date: Sun, 15 Jan 2006 15:06:59 -0800 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <20060115224902.GA962@bobcat.bobcatos.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> <20060115213834.GA29324@bobcat.bobcatos.com> <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> <20060115224902.GA962@bobcat.bobcatos.com> Message-ID: <1a4b2b830601151506g4936e822kc7ef8927e51bd2d4@mail.gmail.com> actually this is a daemon that runs under xinetd and actually listens on port 5667. when i do a netstat like u said but on port 5667 i get this: tcp 0 0 0.0.0.0:5667 0.0.0.0.* LISTEN 2740/xinetd does that look right? i know this nsca daemon is set to listen on port 5667... thx for helping me out. i've been trying to get this thing working for days now. mike On 1/15/06, Bob McClure Jr wrote: > > On Sun, Jan 15, 2006 at 02:37:57PM -0800, mike wrote: > > nsca is a damon for use with nagios, the freeway monitoring system. > > > > that command returned nothing to me as root. what does that mean? > > That means that no process appears to have that port occupied. > > > ps axu | > > grep nsca doesn't return anything either. > > > > why can i not find if this nsca daemon is running or not? > > Well, I'd say that your "ps axu | grep nsca" tells you it's not. > > How is it getting started? > > Try starting it by hand. Check /var/log/messages for clues. > > Cheers, > -- > Bob McClure, Jr. Bobcat Open Systems, Inc. > robertmcclure at earthlink.net http://www.bobcatos.com > Peace begins not at a Mideast table, but at a Mideast stable > > _______________________________________________ > 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 > -- There are 10 types of people, those who understand binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdroz8 at gmail.com Mon Jan 16 00:14:35 2006 From: mdroz8 at gmail.com (mike) Date: Sun, 15 Jan 2006 16:14:35 -0800 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <1a4b2b830601151506g4936e822kc7ef8927e51bd2d4@mail.gmail.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> <20060115213834.GA29324@bobcat.bobcatos.com> <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> <20060115224902.GA962@bobcat.bobcatos.com> <1a4b2b830601151506g4936e822kc7ef8927e51bd2d4@mail.gmail.com> Message-ID: <1a4b2b830601151614k6b824017y53b29ffc025adc19@mail.gmail.com> appears to be a permission issue. running it under a different user (the user it was confied to run under) it THEN did show up under ps axu | grep nsca... didn't even show up when i tried to run it under root. isn't that kinda weird? On 1/15/06, mike wrote: > > actually this is a daemon that runs under xinetd and actually listens on > port 5667. > when i do a netstat like u said but on port 5667 i get this: > > tcp 0 0 0.0.0.0:5667 0.0.0.0.* LISTEN 2740/xinetd > > does that look right? i know this nsca daemon is set to listen on port > 5667... > > thx for helping me out. i've been trying to get this thing working for > days now. > mike > > > On 1/15/06, Bob McClure Jr wrote: > > > > On Sun, Jan 15, 2006 at 02:37:57PM -0800, mike wrote: > > > nsca is a damon for use with nagios, the freeway monitoring system. > > > > > > that command returned nothing to me as root. what does that mean? > > > > That means that no process appears to have that port occupied. > > > > > ps axu | > > > grep nsca doesn't return anything either. > > > > > > why can i not find if this nsca daemon is running or not? > > > > Well, I'd say that your "ps axu | grep nsca" tells you it's not. > > > > How is it getting started? > > > > Try starting it by hand. Check /var/log/messages for clues. > > > > Cheers, > > -- > > Bob McClure, Jr. Bobcat Open Systems, Inc. > > robertmcclure at earthlink.net http://www.bobcatos.com > > Peace begins not at a Mideast table, but at a Mideast stable > > > > _______________________________________________ > > 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 > > > > > > -- > There are 10 types of people, those who understand binary and those who > don't. > -- There are 10 types of people, those who understand binary and those who don't. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertmcclure at earthlink.net Mon Jan 16 02:35:31 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Sun, 15 Jan 2006 20:35:31 -0600 Subject: netwiork server bind failure (98: address already in use) In-Reply-To: <1a4b2b830601151506g4936e822kc7ef8927e51bd2d4@mail.gmail.com> References: <1a4b2b830601151312o19bdad78lbfdc2cc881a9b0de@mail.gmail.com> <20060115213834.GA29324@bobcat.bobcatos.com> <1a4b2b830601151437k3d078086ld8507ad8ec3891a8@mail.gmail.com> <20060115224902.GA962@bobcat.bobcatos.com> <1a4b2b830601151506g4936e822kc7ef8927e51bd2d4@mail.gmail.com> Message-ID: <20060116023531.GA9501@bobcat.bobcatos.com> On Sun, Jan 15, 2006 at 03:06:59PM -0800, mike wrote: > actually this is a daemon that runs under xinetd and actually listens on > port 5667. > when i do a netstat like u said but on port 5667 i get this: > > tcp 0 0 0.0.0.0:5667 0.0.0.0.* LISTEN 2740/xinetd > > does that look right? Yep. > i know this nsca daemon is set to listen on port 5667... Well, technically it's not a daemon because it doesn't run full-time. It is a _service_ of xinetd. It doesn't run until xinetd dispatches a call to it. When it has done its job, it goes away. > thx for helping me out. i've been trying to get this thing working for days > now. > mike I don't think I did much, but am glad you got it going. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From P.C.M.Chiu at rl.ac.uk Mon Jan 16 08:54:48 2006 From: P.C.M.Chiu at rl.ac.uk (Chiu, PCM (Peter)) Date: Mon, 16 Jan 2006 08:54:48 -0000 Subject: RH AS 4U2 - LVM extend Message-ID: Hi, I recall in the past that I was able to extend a lvm file system without the need of reformatting and restoring the contents, but I don't seem to be able to do under RH AS 4U2. Below are the steps that I take. vgdisplay shows the volume group capacity is extended, but lvdisplay shows the logical volume is not. Have I missed something here? Thanks. fdisk /dev/had to make new partitions 7 and 8 with type 8e pvcreate /dev/hda7 vgcreate peter-vg /dev/hda7 lvcreate -L 2G /dev/peter-vg -n peter-lv mke2fs -j /dev/peter-vg/peter-lv mount /dev/peter-vg/peter-lv /data - A 2GB /data is mounted and works ok. umount /data pvcreate /dev/hda8 vgextend peter-vg /dev/hda8 lvextend -L 4G /dev/peter-vg/peter-lv The last command is accepted but no action is taken. The /dev/peter-vg/peter-lv is still mounted as a 2GB file system. Tried reboot, vgscan and vgchange -ay, no luck. From john.bergeski at alpsautomotive.com Mon Jan 16 17:45:24 2006 From: john.bergeski at alpsautomotive.com (john.bergeski at alpsautomotive.com) Date: Mon, 16 Jan 2006 12:45:24 -0500 Subject: Services will not start after machine reboot In-Reply-To: <20060115224902.GA962@bobcat.bobcatos.com> Message-ID: Apache, ViewCVS, and MySQL Server are not working on my Redhat Linux server. The server was rebooted after an error occurred(windows display would freeze up and boot would not finish). Now when I try to start Apache (/etc/init.d/httpd start), I get this: DocumentRoot must be a directory But the DocumentRot is set correctly, it just has something to do with security privileges on the machine. Also, I cannot start MySQL (/etc/init.d/mysqld start) Thanks - John From rstevens at vitalstream.com Mon Jan 16 18:09:05 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 10:09:05 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43C85826.9020901@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> Message-ID: <1137434945.6444.8.camel@prophead.corp.publichost.com> On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: > yeah small problem with that... none of the modes will boot. > unless you mean i should let the thing run through its kernel panic > script...? > I'm trying to install it on a laptop that doesn't have a floppy drive, > might that have something to do with it? Absolutely not. You have to boot of the first CD in rescue mode. That means that you boot off the CD, then at the "boot:" prompt, put in "linux rescue". The system will boot of the CD and go look for your Linux installation. If it is found, then the system will ask you if you want to mount it. Answer "Yes". The system will mount the installed Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's when you put in the five commands: # chroot /mnt/sysimage # cd /boot # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 # exit # exit as I described earlier. That rebuilds your initrd image and reinstalls it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was installed (and that value is the kernel installed with FC4). If you use a different kernel, replace the above with your kernel version. > > Rick Stevens wrote: > > >On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: > > > > > >>nope. > >>it goes into panic after displaying "VFS: please append a correct > >>'root=' boot option" or something to that effect. also says it can't > >>find a device, then it gives (8,3), which i'm guessing is a location. > >>the message saying it can't find the device comes before the VFS > >>message. what is going on here? > >> > >> > > > >It appears that the initrd file wasn't built with the ext3 filesystem > >support module or the lvm system. Boot off the first CD in rescue mode > >and let the system search for and mount the existing system. At the > >"#" prompt, do the following: > > > > # chroot /mnt/sysimage > > # cd /boot > > # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > > > >Verify that the ext3 filesystem module gets loaded in, and if you're > >using LVM, that the LVM modules get loaded as well. When that's done: > > > > # exit > > # exit > > > >(yes, two "exit" commands--the first exits the chroot environment, the > >second terminates the rescue boot). Pop the CD out and see if it'll > >boot. > > > > > > > >>Oliver wrote: > >> > >> > >> > >>>try using acpi=off kernel boot option > >>> > >>> > >>> > >>>*** mail checked - no virus found *** > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get > >>>>the boot: prompt, but then it can't mount the root filesystem (i guess > >>>> > >>>> > >>>>from the CD) and goes into kernel panic. I've done the checksums, and > >>> > >>> > >>>>they add up correctly. What should I do? > >>>> > >>>> > > > >---------------------------------------------------------------------- > >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >- VitalStream, Inc. http://www.vitalstream.com - > >- - > >- First Law of Work: - > >- If you can't get it done in the first 24 hours, work nights. - > >---------------------------------------------------------------------- > > > >_______________________________________________ > >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 > > > > > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Denial. It ain't just a river in Egypt anymore! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 16 18:23:24 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 10:23:24 -0800 Subject: RH AS 4U2 - LVM extend In-Reply-To: References: Message-ID: <1137435805.6444.15.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 08:54 +0000, Chiu, PCM (Peter) wrote: > Hi, > > I recall in the past that I was able to extend a lvm file system > without the need of reformatting and restoring the contents, but > I don't seem to be able to do under RH AS 4U2. > > Below are the steps that I take. vgdisplay shows the volume group > capacity is extended, but lvdisplay shows the logical volume is not. > Have I missed something here? > > Thanks. > > fdisk /dev/had to make new partitions 7 and 8 with type 8e > > pvcreate /dev/hda7 > vgcreate peter-vg /dev/hda7 > lvcreate -L 2G /dev/peter-vg -n peter-lv > mke2fs -j /dev/peter-vg/peter-lv > mount /dev/peter-vg/peter-lv /data > - A 2GB /data is mounted and works ok. > > umount /data > pvcreate /dev/hda8 > vgextend peter-vg /dev/hda8 > lvextend -L 4G /dev/peter-vg/peter-lv > > The last command is accepted but no action is taken. Did you try it with a "-v" option to see what it was doing? Did you check /var/log/messages and the output of "dmesg" to see if any errors were spewed out? > The /dev/peter-vg/peter-lv is still mounted as a 2GB file system. You mean when you remount /data it still shows as a 2GB filesystem? How big is /dev/hda8? > Tried reboot, vgscan and vgchange -ay, no luck. It should have, unless /dev/hda8 isn't 4G in size. If there's an issue, I'd expect an error message...either on the console or in /var/log/messages or dmesg. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - BASIC is the Computer Science version of `Scientific Creationism' - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 16 18:31:12 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 10:31:12 -0800 Subject: DHCP Server In-Reply-To: References: Message-ID: <1137436272.6444.24.camel@prophead.corp.publichost.com> On Sun, 2006-01-15 at 09:42 +0000, Kumar Pradeep wrote: > Hi all, > > I have installed a DHCP Server on RHEL 4 and now I wants windows > machines to get IPaddress from the DHCP server, is there any > way,,,,,,,,,,Please help me. There are a couple of possibilities that occur to me: 1. You installed dhcpd but didn't actually start it. Verify that it's actually running via "ps ax" or by verifying that something is listening on TCP or UDP port 67 ("# netstat -lpn | grep :67"). 2. You have a config problem in /etc/dhcpd.conf that's preventing it from starting. Check the same stuff as 1. above and also check /var/log/messages. 3. Your firewall is blocking DHCP requests from Windows clients. Make sure you accept requests on TCP and UDP ports 67 and 68. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Give me ambiguity or give me something else! - ---------------------------------------------------------------------- From j.wirt.112 at comcast.net Mon Jan 16 20:19:00 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Mon, 16 Jan 2006 15:19:00 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] (More) Message-ID: <43CBFFB4.5030904@comcast.net> Rick, A clarification would be helpful. In your instructions on 1/9/06 14:23:46, you "as long as Linux is running." When I reconfigure Grub, it will be from Linux running on the #1 install CD and not Linux in the boot partition where Grub is to be installed. Q1: In this case, would the command to install grub to the third partition of the second scsi disk still be, grub-install /dev/sdb3 or would it be these two commands: root (sdb,2) and, if the /root partition is fourth partition on the second disk, setup (sdb,5) These two instructions (root and setup) for re-installing Grub from a "boot install disk (not the installed copy of Linux) can be found here: www.terabyteunlimited/cm/kb/article.php?id=232 . These commands say that the Linux boot directory is located in the third partition on the second scsi drive and the root partition is in the fifth partition on the second scsi drive. The configuration of the second drive on my machine, where I am trying to reinstall Grub is: > MBR Entry 0____ Partition____ 16mb______ Dell Utility > NO-NAME________ Partition____ 2565mb____ FAT-32 > MBR Entry 2____ Partition____ 102mb_____ Linux native > MBR Entry 3____ Partition__ 32020mb_____ Extended > UnNamed________ Volume_____ 30043mb_____ Linux native > UnNamed________ Volume______ 1997mb_____ Linux Swap/Solaris > From this list, I assume that the Linux /boot directory is MBR entry 3 and the /root partition is the first "UnNamed" partition. John Wirt - - - - - - - - - - - - - - - * /From/: Rick Stevens * /To/: Getting started with Red Hat Linux * /Subject/: Re: no boot XP after FC4 (REPHRASING OF THE QUESTION)] * /Date/: Mon, 09 Jan 2006 14:23:46 -0800 ------------------------------------------------------------------------ On Mon, 2006-01-09 at 07:58 -0600, Bob McClure Jr wrote: > On Mon, Jan 09, 2006 at 02:17:13AM -0500, John Wirt wrote: > > > > > > Bob (and Ian), > > > > I checked further and the, > > > > grub-install /dev/sdXY > > > > command installs Grub to the "boot directory" of the "root partition." > > See http://www.terabyteunlimited.com/kb/article.php?id=232 . (note only > > one "r" in terabyte). My understanding is that the root partition is the > > one where Linux is installed. > > Methinks TBU knows more about Windoze than Linux. And Rick Stevens > knows a good deal more than I about Linux and SCSI. I'll let him > weigh in. Oh, gawd! Ok, here we go with the "Reader's Digest" version... Let's define some things: /dev/sd refers to a SCSI disk device /dev/hd refers to an IDE disk device Following the "sd" or "hd" is a letter, "a" through "p", which will refer to a specific drive in that class. In the SCSI world, these drive identifiers are allocated sequentially, depending on what drives are found EVEN IF the SCSI IDs are not. The scan starts at SCSI ID 0, then 2, then 3 on up to 15 (SCSI controllers are ignored). So, the drive with the lowest ID will be "/dev/sda", the second lowest "/dev/sdb" and so on. The naming assignments for IDE drives are more predictable: Master drive on primary controller: /dev/hda Slave drive on primary controller: /dev/hdb Master drive on secondary controller: /dev/hdc Slave drive on secondary controller: /dev/hdd Using that data, "/dev/hda" is the first IDE drive, "/dev/sdg" would be the seventh SCSI disk. After the drive designator comes a number, 1 through 16, which defines the partition number of the given drive. "grub-install" expects a drive OR partition specification as its argument. Using the data above, grub-install /dev/sda3 would install grub into the third partition of the first SCSI disk. Conversely, grub-install /dev/sdc2 would install it into the second partition of the third SCSI disk. If you do NOT specify a partition, then grub will be installed into the MBR (master boot record) of the DRIVE. So, grub-install /dev/sdb would install grub into the MBR of the second SCSI disk. That's all well and good as long as Linux is running. However, at boot time "/dev/sdXY" and "/dev/hdXY" don't exist as far as your BIOS is concerned. All it knows is "hard drive IDs", and these are single-byte hexadecimal numbers. Drive ID 0x80 is the "first" drive, 0x81 is the second and so on. In the IDE world, they follow the conventions: Master drive on primary controller: 0x80 Slave drive on primary controller: 0x81 Master drive on secondary controller: 0x82 Slave drive on secondary controller: 0x83 In the SCSI world, it works more or less the same--the drive with the lowest SCSI ID is 0x80. Installing grub into an appropriate partition (as opposed to the MBR) isn't hard--you want to install it into the partition that contains the "/boot" filesystem. If you have Linux running, check the mount table by entering "mount" as the root user. Each line will contain data to the effect: (partition) on (mountpoint) type (fs-type) (access) You want to look at the "on (mountpoint)" parts. If you see "/boot" listed, then the boot partition is a separate filesystem on its own partition. If you do NOT see "/boot" listed, then the boot data is in the root of the filesystem, and that's where you want to install grub. Examples: /dev/hda1 on / type ext3 (rw) /dev/hda2 on /boot type ext3 (rw) That indicates that /boot is on a separate partition/filesystem and you want to do "grub-install /dev/hda2" /dev/hda1 on / type ext3 (rw) /dev/hda2 on /images type ext3 (rw) /dev/hda7 on /usr type ext3 (rw) /dev/hda5 on /var type ext3 (rw) /dev/hda3 on /work type ext3 (rw) This indicates that /boot is part of the root filesystem and you want to do a "grub-install /dev/hda1". Note that no matter WHAT you do, the partition must be between 1 and 4 (the primary partitions). Partitions 5-16 are EXTENDED partitions and actually live inside partition 4. I hope that clears some of it up. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens vitalstream com - - VitalStream, Inc. http://www.vitalstream.com - - - - I'm afraid my karma just ran over your dogma - ---------------------------------------------------------------------- From j.wirt.112 at comcast.net Mon Jan 16 20:46:51 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Mon, 16 Jan 2006 15:46:51 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] (More) In-Reply-To: <43CBFFB4.5030904@comcast.net> References: <43CBFFB4.5030904@comcast.net> Message-ID: <43CC063B.7040708@comcast.net> John Wirt wrote: > A correction in the message I just posted: > >> MBR Entry 0____ Partition____ 16mb______ Dell Utility >> NO-NAME________ Partition____ 2565mb____ FAT-32 >> MBR Entry 2____ Partition____ 102mb_____ Linux native >> MBR Entry 3____ Partition__ 32020mb_____ Extended >> UnNamed________ Volume_____ 30043mb_____ Linux native >> UnNamed________ Volume______ 1997mb_____ Linux Swap/Solaris >> > From this list, I assume that the Linux /boot directory is MBR entry > 2 (not 3 ) and the /root partition is the first "UnNamed" partition. > > John Wirt > > From dragonite.wylie at verizon.net Mon Jan 16 22:50:58 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Mon, 16 Jan 2006 16:50:58 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1137434945.6444.8.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> Message-ID: <43CC2352.8070402@verizon.net> that is the problem. it can't get that far. i get the "boot:" prompt, then when it tries to mount the root filesystem while booting the kernel off the CD, it says kernel panic - not syncing. VFS: cannot mount root filesystem on unknown block (8,3). the boot: prompt is the only prompt i can reach Rick Stevens wrote: >On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: > > >>yeah small problem with that... none of the modes will boot. >>unless you mean i should let the thing run through its kernel panic >>script...? >>I'm trying to install it on a laptop that doesn't have a floppy drive, >>might that have something to do with it? >> >> > >Absolutely not. You have to boot of the first CD in rescue mode. That >means that you boot off the CD, then at the "boot:" prompt, put in >"linux rescue". The system will boot of the CD and go look for your >Linux installation. If it is found, then the system will ask you if you >want to mount it. Answer "Yes". The system will mount the installed >Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's >when you put in the five commands: > > # chroot /mnt/sysimage > # cd /boot > # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > # exit > # exit > >as I described earlier. That rebuilds your initrd image and reinstalls >it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was >installed (and that value is the kernel installed with FC4). If you use >a different kernel, replace the above with your kernel version. > > > >>Rick Stevens wrote: >> >> >> >>>On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: >>> >>> >>> >>> >>>>nope. >>>>it goes into panic after displaying "VFS: please append a correct >>>>'root=' boot option" or something to that effect. also says it can't >>>>find a device, then it gives (8,3), which i'm guessing is a location. >>>>the message saying it can't find the device comes before the VFS >>>>message. what is going on here? >>>> >>>> >>>> >>>> >>>It appears that the initrd file wasn't built with the ext3 filesystem >>>support module or the lvm system. Boot off the first CD in rescue mode >>>and let the system search for and mount the existing system. At the >>>"#" prompt, do the following: >>> >>> # chroot /mnt/sysimage >>> # cd /boot >>> # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 >>> >>>Verify that the ext3 filesystem module gets loaded in, and if you're >>>using LVM, that the LVM modules get loaded as well. When that's done: >>> >>> # exit >>> # exit >>> >>>(yes, two "exit" commands--the first exits the chroot environment, the >>>second terminates the rescue boot). Pop the CD out and see if it'll >>>boot. >>> >>> >>> >>> >>> >>>>Oliver wrote: >>>> >>>> >>>> >>>> >>>> >>>>>try using acpi=off kernel boot option >>>>> >>>>> >>>>> >>>>>*** mail checked - no virus found *** >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get >>>>>>the boot: prompt, but then it can't mount the root filesystem (i guess >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>from the CD) and goes into kernel panic. I've done the checksums, and >>>>> >>>>> >>>>> >>>>> >>>>>>they add up correctly. What should I do? >>>>>> >>>>>> >>>>>> >>>>>> >>>---------------------------------------------------------------------- >>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >>>- VitalStream, Inc. http://www.vitalstream.com - >>>- - >>>- First Law of Work: - >>>- If you can't get it done in the first 24 hours, work nights. - >>>---------------------------------------------------------------------- >>> >>>_______________________________________________ >>>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 >>> >>> >>> >>> >>> >>_______________________________________________ >>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, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- Denial. It ain't just a river in Egypt anymore! - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From bwnayak at yahoo.com Mon Jan 16 23:26:14 2006 From: bwnayak at yahoo.com (Biswajit Nayak) Date: Mon, 16 Jan 2006 15:26:14 -0800 (PST) Subject: Install Issues ( No hard drives have been found you probably ) Message-ID: <20060116232614.30086.qmail@web30708.mail.mud.yahoo.com> Folks, I have a problem when i am trying to install Red Hat Enterprise Linux ES 4 Update 2 (AMD64/Intel EM64T). I am getting the following message. Can anyone suggest where to get the proper drivers ? "No hard drives have been found you probably need to manually choose drivers for the installation to succed" My mother board is BIOSTAR TForce6100-939 Socket 939 NVIDIA GeForce 6100 Micro ATX AMD Motherboard My Hard Drive Seagate Barracuda 7200.7 ST380817AS 80GB 7200 RPM 8MB Cache Serial ATA150 Hard Drive - OEM CPU AMD Athlon 64 Processor 3200+, 2.0 GHZ, 2000 mhz FSB 512 KB L2 Cache Thanks Biswajit __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Douglas.Chen at Micrel.Com Tue Jan 17 00:09:09 2006 From: Douglas.Chen at Micrel.Com (Chen, Douglas) Date: Mon, 16 Jan 2006 16:09:09 -0800 Subject: GTK+ and Glib installation Message-ID: <608E4B633F6C214F94A6440E4E56064D791CAB@MORGANITE.micrel.com> Hi, Please forgive me if this is not the right forum to post question regarding library installation. I tried to install a copy of Gtk+-2.6 in attempt to make Acrobat7 work on a Redhat 2.4.21-15.EL (WS release 3) machine and got error message during ./configure It complained "for BASE_DEPENDENCIES ... Requested 'glib-2.0>=2.6.0' but version of GLib is 2.2.3 I then downloaded glib-2.8.5 and installed it (use default configure, make, and make install) and tried to run ./configure under gtk+-2.6 again, but still got the same error message. Do I need to do something more or set some variables in order to make it work. You help is greatly appreciated. Douglas From robertmcclure at earthlink.net Tue Jan 17 00:26:39 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Mon, 16 Jan 2006 18:26:39 -0600 Subject: GTK+ and Glib installation In-Reply-To: <608E4B633F6C214F94A6440E4E56064D791CAB@MORGANITE.micrel.com> References: <608E4B633F6C214F94A6440E4E56064D791CAB@MORGANITE.micrel.com> Message-ID: <20060117002639.GA5025@bobcat.bobcatos.com> On Mon, Jan 16, 2006 at 04:09:09PM -0800, Chen, Douglas wrote: > Hi, > > Please forgive me if this is not the right forum to post question regarding library > installation. > > I tried to install a copy of Gtk+-2.6 in attempt to make Acrobat7 work on a Redhat > 2.4.21-15.EL (WS release 3) machine and got error message during ./configure > > It complained > > "for BASE_DEPENDENCIES ... Requested 'glib-2.0>=2.6.0' but version of GLib is 2.2.3 > > I then downloaded glib-2.8.5 and installed it (use default configure, make, and make install) > and tried to run ./configure under gtk+-2.6 again, but still got the same error message. Alas, rpm doesn't care what's actually installed, but what the rpm database says is installed. So what you need to do is find an RPM of a suitable version and use that to upgrade (rpm -Uvh ). I don't know if you have yum, but if you do, you could yum update glib > Do I need to do something more or set some variables in order to make it work. You help > is greatly appreciated. > > Douglas Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From rstevens at vitalstream.com Tue Jan 17 01:22:05 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 17:22:05 -0800 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] (More) In-Reply-To: <43CBFFB4.5030904@comcast.net> References: <43CBFFB4.5030904@comcast.net> Message-ID: <1137460925.6444.56.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 15:19 -0500, John Wirt wrote: > Rick, > > A clarification would be helpful. > > In your instructions on 1/9/06 14:23:46, you "as long as Linux is > running." When I reconfigure Grub, it will be from Linux running on the > > #1 install CD and not Linux in the boot partition where Grub is to be > installed. Then you're fine. /dev/sda will be the SCSI disk with the lowest SCSI ID, /dev/sdb will be the one with the second lowest SCSI ID and so on. > Q1: In this case, would the command to install grub to the third > partition of the second scsi disk still be, > > grub-install /dev/sdb3 That's the one. > or would it be these two commands: > > root (sdb,2) > > and, if the /root partition is fourth partition on the second disk, Whoa, mate! "/root" is the home directory of the root user, NOT the root of the filesystem. The root of the filesystem is "/". > setup (sdb,5) > > These two instructions (root and setup) for re-installing Grub from a > "boot install disk (not the installed copy of Linux) can be found here: > www.terabyteunlimited/cm/kb/article.php?id=232 . These commands say > that the Linux boot directory is located in the third partition on the > second scsi drive and the root partition is in the fifth partition on > the second scsi drive. Ok, when I say "root of the filesystem", I mean the partition that holds the "/" directory, and that's where you want to install grub. grub does not know about any device called "(sdx,y)". It understands "(fdx,y)" and "(hdx,y)". The concept of "sd" is a Linux naming thing ONLY. grub knows disks as enumerated by your BIOS. hd0 is the first drive your BIOS sees (regardless whether it's SCSI or IDE), hd1 is the second and so on. If you had a mix of two IDE and two SCSI drives and do NOT tell the SCSI controller that it's first in line, then: hd0 First IDE drive hd1 Second IDE drive hd2 First SCSI drive hd3 Second SCSI drive If you did tell the SCSI controller it was first, then: hd0 First SCSI drive hd1 Second SCSI drive hd2 First IDE drive hd3 Second IDE drive Under Linux, the third partition of second SCSI disk is called "/dev/sdb3". This is exactly the same thing as "(hd1,2)" in grub parlance. Similarly, the fifth partition of the second SCSI disk is "/dev/sdb5" under Linux and "(hd1,4)" for grub. And just for giggles, the sixth partition of the first SCSI is "/dev/sda6" under Linux and "(hd0,5)" for grub. Just keep in mind that grub does not differentiate between SCSI and IDE, uses numbers exclusively and starts numbering at 0. Linux DOES differentiate between SCSI and IDE, uses letters for the drives and numbers for the partitions, and starts counting partitions at 1. If you boot off the CD in rescue mode, after the system finds and mounts your installed system, do a "mount -l" command and look for the device name associated with the "/mnt/sysimage". THAT'S where you want to do your "grub-install" to. > The configuration of the second drive on my machine, where I am trying > to reinstall Grub is: > > > MBR Entry 0____ Partition____ 16mb______ Dell Utility > > NO-NAME________ Partition____ 2565mb____ FAT-32 > > MBR Entry 2____ Partition____ 102mb_____ Linux native > > MBR Entry 3____ Partition__ 32020mb_____ Extended > > UnNamed________ Volume_____ 30043mb_____ Linux native > > UnNamed________ Volume______ 1997mb_____ Linux Swap/Solaris > > > > From this list, I assume that the Linux /boot directory is MBR entry 3 > and the /root partition is the first "UnNamed" partition. Sorta. Assuming you set up a "/boot" of about 102MB, then yes, /dev/sdb3 (or grub "(hd1,2)") is /boot. It appears you put everything else in a single 30G partition. In that case, then the root of the filesystem is /dev/sda5 (grub "(hd1,4)") and it's called "/". > > John Wirt > > - - - - - - - - - - - - - - - > > > * /From/: Rick Stevens > * /To/: Getting started with Red Hat Linux redhat com> > * /Subject/: Re: no boot XP after FC4 (REPHRASING OF THE QUESTION)] > * /Date/: Mon, 09 Jan 2006 14:23:46 -0800 > > ------------------------------------------------------------------------ > > On Mon, 2006-01-09 at 07:58 -0600, Bob McClure Jr wrote: > > On Mon, Jan 09, 2006 at 02:17:13AM -0500, John Wirt wrote: > > > > > > > > > Bob (and Ian), > > > > > > I checked further and the, > > > > > > grub-install /dev/sdXY > > > > > > command installs Grub to the "boot directory" of the "root partition." > > > See http://www.terabyteunlimited.com/kb/article.php?id=232 . (note only > > > one "r" in terabyte). My understanding is that the root partition is the > > > one where Linux is installed. > > > > Methinks TBU knows more about Windoze than Linux. And Rick Stevens > > knows a good deal more than I about Linux and SCSI. I'll let him > > weigh in. > > Oh, gawd! Ok, here we go with the "Reader's Digest" version... > > Let's define some things: > > /dev/sd refers to a SCSI disk device > /dev/hd refers to an IDE disk device > > Following the "sd" or "hd" is a letter, "a" through "p", which will > refer to a specific drive in that class. In the SCSI world, these drive > identifiers are allocated sequentially, depending on what drives are > found EVEN IF the SCSI IDs are not. The scan starts at SCSI ID 0, then > 2, then 3 on up to 15 (SCSI controllers are ignored). So, the drive > with the lowest ID will be "/dev/sda", the second lowest "/dev/sdb" and > so on. > > The naming assignments for IDE drives are more predictable: > > Master drive on primary controller: /dev/hda > Slave drive on primary controller: /dev/hdb > Master drive on secondary controller: /dev/hdc > Slave drive on secondary controller: /dev/hdd > > Using that data, "/dev/hda" is the first IDE drive, "/dev/sdg" would be > the seventh SCSI disk. > > After the drive designator comes a number, 1 through 16, which defines > the partition number of the given drive. > > "grub-install" expects a drive OR partition specification as its > argument. Using the data above, > > grub-install /dev/sda3 > > would install grub into the third partition of the first SCSI disk. > Conversely, > > grub-install /dev/sdc2 > > would install it into the second partition of the third SCSI disk. If > you do NOT specify a partition, then grub will be installed into the MBR > (master boot record) of the DRIVE. So, > > grub-install /dev/sdb > > would install grub into the MBR of the second SCSI disk. > > That's all well and good as long as Linux is running. However, at boot > time "/dev/sdXY" and "/dev/hdXY" don't exist as far as your BIOS is > concerned. All it knows is "hard drive IDs", and these are single-byte > hexadecimal numbers. Drive ID 0x80 is the "first" drive, 0x81 is the > second and so on. In the IDE world, they follow the conventions: > > Master drive on primary controller: 0x80 > Slave drive on primary controller: 0x81 > Master drive on secondary controller: 0x82 > Slave drive on secondary controller: 0x83 > > In the SCSI world, it works more or less the same--the drive with the > lowest SCSI ID is 0x80. > > Installing grub into an appropriate partition (as opposed to the MBR) > isn't hard--you want to install it into the partition that contains the > "/boot" filesystem. If you have Linux running, check the mount table > by entering "mount" as the root user. Each line will contain data > to the effect: > > (partition) on (mountpoint) type (fs-type) (access) > > You want to look at the "on (mountpoint)" parts. If you see "/boot" > listed, then the boot partition is a separate filesystem on its own > partition. If you do NOT see "/boot" listed, then the boot data is in > the root of the filesystem, and that's where you want to install grub. > Examples: > > /dev/hda1 on / type ext3 (rw) > /dev/hda2 on /boot type ext3 (rw) > > That indicates that /boot is on a separate partition/filesystem and you > want to do "grub-install /dev/hda2" > > /dev/hda1 on / type ext3 (rw) > /dev/hda2 on /images type ext3 (rw) > /dev/hda7 on /usr type ext3 (rw) > /dev/hda5 on /var type ext3 (rw) > /dev/hda3 on /work type ext3 (rw) > > This indicates that /boot is part of the root filesystem and you want > to do a "grub-install /dev/hda1". Note that no matter WHAT you do, > the partition must be between 1 and 4 (the primary partitions). > Partitions 5-16 are EXTENDED partitions and actually live inside > partition 4. > > I hope that clears some of it up. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens vitalstream com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - I'm afraid my karma just ran over your dogma - > ---------------------------------------------------------------------- > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Doctor! My brain hurts!" "It will have to come out!" - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Jan 17 01:24:57 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 17:24:57 -0800 Subject: Install Issues ( No hard drives have been found you probably ) In-Reply-To: <20060116232614.30086.qmail@web30708.mail.mud.yahoo.com> References: <20060116232614.30086.qmail@web30708.mail.mud.yahoo.com> Message-ID: <1137461097.6444.59.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 15:26 -0800, Biswajit Nayak wrote: > Folks, > > I have a problem when i am trying to install Red Hat > Enterprise Linux ES 4 Update 2 (AMD64/Intel EM64T). I > am getting the following message. Can anyone suggest > where to get the proper drivers ? > > "No hard drives have been found you probably need to > manually choose drivers for the installation to > succed" > > My mother board is > BIOSTAR TForce6100-939 Socket 939 NVIDIA GeForce 6100 > Micro ATX AMD Motherboard > > My Hard Drive > Seagate Barracuda 7200.7 ST380817AS 80GB 7200 RPM 8MB > Cache Serial ATA150 Hard Drive - OEM > > CPU > AMD Athlon 64 Processor 3200+, 2.0 GHZ, 2000 mhz FSB > 512 KB L2 Cache You'll need to check the motherboard maker's website to see if they have an RHEL SATA boot floppy. AFAIK, that SATA controller is not natively supported by RHEL4. Without controller support, it can't see your disks and you get that message. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If your broker is so damned smart...why is he still working? - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Jan 17 01:27:57 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 16 Jan 2006 17:27:57 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43CC2352.8070402@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> Message-ID: <1137461278.6444.63.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 16:50 -0600, Russell Golden wrote: > that is the problem. it can't get that far. i get the "boot:" prompt, > then when it tries to mount the root filesystem while booting the kernel > off the CD, it says > kernel panic - not syncing. VFS: cannot mount root filesystem on unknown > block (8,3). > the boot: prompt is the only prompt i can reach You mean that entering "linux rescue" at the "boot:" prompt off the CD panics? Are you SURE you're booting off the CD? Get into your BIOS and make SURE that the CD is checked BEFORE the hard drive. Ideally, you should set the BIOS to boot in this sequence: floppy first CD/DVD second hard drive third network last > > Rick Stevens wrote: > > >On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: > > > > > >>yeah small problem with that... none of the modes will boot. > >>unless you mean i should let the thing run through its kernel panic > >>script...? > >>I'm trying to install it on a laptop that doesn't have a floppy drive, > >>might that have something to do with it? > >> > >> > > > >Absolutely not. You have to boot of the first CD in rescue mode. That > >means that you boot off the CD, then at the "boot:" prompt, put in > >"linux rescue". The system will boot of the CD and go look for your > >Linux installation. If it is found, then the system will ask you if you > >want to mount it. Answer "Yes". The system will mount the installed > >Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's > >when you put in the five commands: > > > > # chroot /mnt/sysimage > > # cd /boot > > # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > > # exit > > # exit > > > >as I described earlier. That rebuilds your initrd image and reinstalls > >it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was > >installed (and that value is the kernel installed with FC4). If you use > >a different kernel, replace the above with your kernel version. > > > > > > > >>Rick Stevens wrote: > >> > >> > >> > >>>On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: > >>> > >>> > >>> > >>> > >>>>nope. > >>>>it goes into panic after displaying "VFS: please append a correct > >>>>'root=' boot option" or something to that effect. also says it can't > >>>>find a device, then it gives (8,3), which i'm guessing is a location. > >>>>the message saying it can't find the device comes before the VFS > >>>>message. what is going on here? > >>>> > >>>> > >>>> > >>>> > >>>It appears that the initrd file wasn't built with the ext3 filesystem > >>>support module or the lvm system. Boot off the first CD in rescue mode > >>>and let the system search for and mount the existing system. At the > >>>"#" prompt, do the following: > >>> > >>> # chroot /mnt/sysimage > >>> # cd /boot > >>> # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > >>> > >>>Verify that the ext3 filesystem module gets loaded in, and if you're > >>>using LVM, that the LVM modules get loaded as well. When that's done: > >>> > >>> # exit > >>> # exit > >>> > >>>(yes, two "exit" commands--the first exits the chroot environment, the > >>>second terminates the rescue boot). Pop the CD out and see if it'll > >>>boot. > >>> > >>> > >>> > >>> > >>> > >>>>Oliver wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>try using acpi=off kernel boot option > >>>>> > >>>>> > >>>>> > >>>>>*** mail checked - no virus found *** > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get > >>>>>>the boot: prompt, but then it can't mount the root filesystem (i guess > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>from the CD) and goes into kernel panic. I've done the checksums, and > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>they add up correctly. What should I do? > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>---------------------------------------------------------------------- > >>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >>>- VitalStream, Inc. http://www.vitalstream.com - > >>>- - > >>>- First Law of Work: - > >>>- If you can't get it done in the first 24 hours, work nights. - > >>>---------------------------------------------------------------------- > >>> > >>>_______________________________________________ > >>>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 > >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>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, Senior Systems Engineer rstevens at vitalstream.com - > >- VitalStream, Inc. http://www.vitalstream.com - > >- - > >- Denial. It ain't just a river in Egypt anymore! - > >---------------------------------------------------------------------- > > > >_______________________________________________ > >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 > > > > > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Brain: The organ with which we think that we think. - ---------------------------------------------------------------------- From dragonite.wylie at verizon.net Tue Jan 17 01:55:22 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Mon, 16 Jan 2006 19:55:22 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1137461278.6444.63.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> Message-ID: <43CC4E8A.4000000@verizon.net> *sigh* yes, i'm sure... when i boot RHL9 off the hard disk it boots fine. I'm using a laptop, there is no floppy drive. any boot option i use panics. when i use it on my tower, it boots, but then hangs and can't even get past loading /sbin/loader. starting to sound like fedora sucks... Rick Stevens wrote: >On Mon, 2006-01-16 at 16:50 -0600, Russell Golden wrote: > > >>that is the problem. it can't get that far. i get the "boot:" prompt, >>then when it tries to mount the root filesystem while booting the kernel >>off the CD, it says >>kernel panic - not syncing. VFS: cannot mount root filesystem on unknown >>block (8,3). >>the boot: prompt is the only prompt i can reach >> >> > >You mean that entering "linux rescue" at the "boot:" prompt off the >CD panics? Are you SURE you're booting off the CD? Get into your >BIOS and make SURE that the CD is checked BEFORE the hard drive. >Ideally, you should set the BIOS to boot in this sequence: > > floppy first > CD/DVD second > hard drive third > network last > > > > >>Rick Stevens wrote: >> >> >> >>>On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: >>> >>> >>> >>> >>>>yeah small problem with that... none of the modes will boot. >>>>unless you mean i should let the thing run through its kernel panic >>>>script...? >>>>I'm trying to install it on a laptop that doesn't have a floppy drive, >>>>might that have something to do with it? >>>> >>>> >>>> >>>> >>>Absolutely not. You have to boot of the first CD in rescue mode. That >>>means that you boot off the CD, then at the "boot:" prompt, put in >>>"linux rescue". The system will boot of the CD and go look for your >>>Linux installation. If it is found, then the system will ask you if you >>>want to mount it. Answer "Yes". The system will mount the installed >>>Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's >>>when you put in the five commands: >>> >>> # chroot /mnt/sysimage >>> # cd /boot >>> # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 >>> # exit >>> # exit >>> >>>as I described earlier. That rebuilds your initrd image and reinstalls >>>it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was >>>installed (and that value is the kernel installed with FC4). If you use >>>a different kernel, replace the above with your kernel version. >>> >>> >>> >>> >>> >>>>Rick Stevens wrote: >>>> >>>> >>>> >>>> >>>> >>>>>On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>nope. >>>>>>it goes into panic after displaying "VFS: please append a correct >>>>>>'root=' boot option" or something to that effect. also says it can't >>>>>>find a device, then it gives (8,3), which i'm guessing is a location. >>>>>>the message saying it can't find the device comes before the VFS >>>>>>message. what is going on here? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>It appears that the initrd file wasn't built with the ext3 filesystem >>>>>support module or the lvm system. Boot off the first CD in rescue mode >>>>>and let the system search for and mount the existing system. At the >>>>>"#" prompt, do the following: >>>>> >>>>> # chroot /mnt/sysimage >>>>> # cd /boot >>>>> # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 >>>>> >>>>>Verify that the ext3 filesystem module gets loaded in, and if you're >>>>>using LVM, that the LVM modules get loaded as well. When that's done: >>>>> >>>>> # exit >>>>> # exit >>>>> >>>>>(yes, two "exit" commands--the first exits the chroot environment, the >>>>>second terminates the rescue boot). Pop the CD out and see if it'll >>>>>boot. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Oliver wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>try using acpi=off kernel boot option >>>>>>> >>>>>>> >>>>>>> >>>>>>>*** mail checked - no virus found *** >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get >>>>>>>>the boot: prompt, but then it can't mount the root filesystem (i guess >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>from the CD) and goes into kernel panic. I've done the checksums, and >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>they add up correctly. What should I do? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>---------------------------------------------------------------------- >>>>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >>>>>- VitalStream, Inc. http://www.vitalstream.com - >>>>>- - >>>>>- First Law of Work: - >>>>>- If you can't get it done in the first 24 hours, work nights. - >>>>>---------------------------------------------------------------------- >>>>> >>>>>_______________________________________________ >>>>>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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>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, Senior Systems Engineer rstevens at vitalstream.com - >>>- VitalStream, Inc. http://www.vitalstream.com - >>>- - >>>- Denial. It ain't just a river in Egypt anymore! - >>>---------------------------------------------------------------------- >>> >>>_______________________________________________ >>>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 >>> >>> >>> >>> >>> >>_______________________________________________ >>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, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- Brain: The organ with which we think that we think. - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From j.wirt.112 at comcast.net Tue Jan 17 04:15:45 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Mon, 16 Jan 2006 23:15:45 -0500 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] (More) In-Reply-To: <1137460925.6444.56.camel@prophead.corp.publichost.com> References: <43CBFFB4.5030904@comcast.net> <1137460925.6444.56.camel@prophead.corp.publichost.com> Message-ID: <43CC6F71.4080106@comcast.net> Rick, Is this a "bad" configuration of Linux? It's the way Dell did it. Should I change this? 2.5gb seems like a lot for a boot partition. What's in it? I asked Dell what the FAT32 partition is and they said, "The FAT-32 shows where the extended logical drive is at. All the drives after are logical drives." Seems crazy to me. I've created many an extended partition and none have required a corresponding FA-32 partition. Thank you for all your assistance. Very helpful. John Wirt > > >>The configuration of the second drive on my machine, where I am trying >>to reinstall Grub is: >> >> >> >>>MBR Entry 0____ Partition____ 16mb______ Dell Utility >>>NO-NAME________ Partition____ 2565mb____ FAT-32 >>>MBR Entry 2____ Partition____ 102mb_____ Linux native >>>MBR Entry 3____ Partition__ 32020mb_____ Extended >>>UnNamed________ Volume_____ 30043mb_____ Linux native >>>UnNamed________ Volume______ 1997mb_____ Linux Swap/Solaris >>> >>> >>> >> From this list, I assume that the Linux /boot directory is MBR entry 3 >>and the /root partition is the first "UnNamed" partition. >> >> > >Sorta. Assuming you set up a "/boot" of about 102MB, then >yes, /dev/sdb3 (or grub "(hd1,2)") is /boot. It appears you put >everything else in a single 30G partition. In that case, then the >root of the filesystem is /dev/sda5 (grub "(hd1,4)") and it's called >"/". > > > > From P.C.M.Chiu at rl.ac.uk Tue Jan 17 08:17:14 2006 From: P.C.M.Chiu at rl.ac.uk (Chiu, PCM (Peter)) Date: Tue, 17 Jan 2006 08:17:14 -0000 Subject: RH AS 4U2 - LVM extend Message-ID: Thanks a lot, Nick, Ext2online does extend a mounted an ext3 file system live. While checking the man page on ext2online, I have also found ext2resize and ext2prepare being mentioned for the better support of resizing at larger capacity. But I cannot locate ext2resize nor ext2prepare binaries, and they man pages. Do you have any experience on them, or do you know which package they belong to? Peter -----Original Message----- From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Lunt, Nick Sent: 16 January 2006 09:00 To: General Red Hat Linux discussion list; Getting started with Red Hat Linux Subject: RE: RH AS 4U2 - LVM extend Hi, > -----Original Message----- > From: Chiu, PCM (Peter) [mailto:P.C.M.Chiu at rl.ac.uk] > Sent: 16 January 2006 08:55 > To: General Red Hat Linux discussion list; Getting started with Red > Hat Linux > Cc: Chiu, PCM (Peter) > Subject: RH AS 4U2 - LVM extend > > > Hi, > > I recall in the past that I was able to extend a lvm file system > without the need of reformatting and restoring the contents, but I > don't seem to be able to do under RH AS 4U2. > > Below are the steps that I take. vgdisplay shows the volume group > capacity is extended, but lvdisplay shows the logical volume is not. > Have I missed something here? > > Thanks. > > fdisk /dev/had to make new partitions 7 and 8 with type 8e > > pvcreate /dev/hda7 > vgcreate peter-vg /dev/hda7 > lvcreate -L 2G /dev/peter-vg -n peter-lv mke2fs -j > /dev/peter-vg/peter-lv mount /dev/peter-vg/peter-lv /data > - A 2GB /data is mounted and works ok. > > umount /data > pvcreate /dev/hda8 > vgextend peter-vg /dev/hda8 > lvextend -L 4G /dev/peter-vg/peter-lv > > The last command is accepted but no action is taken. > The /dev/peter-vg/peter-lv is still mounted as a 2GB file system. > Tried reboot, vgscan and vgchange -ay, no luck. > have you tried ext2online /dev/peter-vg/peter-lv ? This should work with the filesystem mounted. Having said that, I've only ever used it on ext3 (journalling), but the man page says it's ext2 so you should be fine. The filesystem should be extended after that. As it stands at the moment you've just extended the nr of extents available but not yet used them. Some shops do that to make it easy to extend filesystems when they fill up. Good luck, Nick . Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes. CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. -- redhat-list mailing list unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list From rstevens at vitalstream.com Tue Jan 17 18:40:45 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 17 Jan 2006 10:40:45 -0800 Subject: no boot XP after FC4 (REPHRASING OF THE QUESTION)] (More) In-Reply-To: <43CC6F71.4080106@comcast.net> References: <43CBFFB4.5030904@comcast.net> <1137460925.6444.56.camel@prophead.corp.publichost.com> <43CC6F71.4080106@comcast.net> Message-ID: <1137523245.6444.77.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 23:15 -0500, John Wirt wrote: > Rick, > > Is this a "bad" configuration of Linux? It's the way Dell did it. Should > I change this? 2.5gb seems like a lot for a boot partition. What's in it? It certainly isn't how I'd set it up. I'm pretty sure the boot partition is the 102MB "MBR Entry 2" partition. > I asked Dell what the FAT32 partition is and they said, > > "The FAT-32 shows where the extended logical drive is at. All the drives after are logical drives." > > > Seems crazy to me. I've created many an extended partition and none > have required a corresponding FA-32 partition. They're nuts. The FAT-32 is where Windows is. The "MBR Entry 3" or "Extended" partition is where the other stuff is. It contains the two "Unnamed" partitions, one of which is "/" and the other is the swap partition. I'll comment each partition below with what I think it is. > Thank you for all your assistance. Very helpful. > > John Wirt > > > > > > >>The configuration of the second drive on my machine, where I am trying > >>to reinstall Grub is: > >> > >> > >> > >>>MBR Entry 0____ Partition____ 16mb______ Dell Utility Dell-specific utilities (disk recovery, etc.). Linux /dev/sdb1, grub (hd1,0) > >>>NO-NAME________ Partition____ 2565mb____ FAT-32 Windows. Linux /dev/sdb2, grub (hd1,1) > >>>MBR Entry 2____ Partition____ 102mb_____ Linux native /boot for Linux. Linux /dev/sdb3, grub (hd1,2) > >>>MBR Entry 3____ Partition__ 32020mb_____ Extended Extended partition containing virtual drives. Linux /dev/sdb4, grub (hd1,3) > >>>UnNamed________ Volume_____ 30043mb_____ Linux native "/" for Linux. Linux /dev/sdb5, grub (hd1,4) > >>>UnNamed________ Volume______ 1997mb_____ Linux Swap/Solaris Swap space. Linux /dev/sdb6, grub (hd1,5) Note that in Linux, the extended partition is virtually ALWAYS partition 4, and any partition over 4 (5-16) will be in that extended partition. > >> From this list, I assume that the Linux /boot directory is MBR entry 3 > >>and the /root partition is the first "UnNamed" partition. > >> > >> > > > >Sorta. Assuming you set up a "/boot" of about 102MB, then > >yes, /dev/sdb3 (or grub "(hd1,2)") is /boot. It appears you put > >everything else in a single 30G partition. In that case, then the > >root of the filesystem is /dev/sda5 (grub "(hd1,4)") and it's called > >"/". > > > > > > > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Okay, who put a "stop payment" on my reality check? - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Jan 17 18:43:26 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 17 Jan 2006 10:43:26 -0800 Subject: RH AS 4U2 - LVM extend In-Reply-To: References: Message-ID: <1137523406.6444.80.camel@prophead.corp.publichost.com> On Tue, 2006-01-17 at 08:17 +0000, Chiu, PCM (Peter) wrote: > Thanks a lot, Nick, > > Ext2online does extend a mounted an ext3 file system live. > > While checking the man page on ext2online, I have also found ext2resize > and ext2prepare being mentioned for the better support of resizing at > larger capacity. > > But I cannot locate ext2resize nor ext2prepare binaries, and they man > pages. > > Do you have any experience on them, or do you know which package they > belong to? The utility is "resize2fs" and it's part of the e2fsprogs RPM. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Dyslexics of the world: UNTIE! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Jan 17 19:22:44 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 17 Jan 2006 11:22:44 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43CC4E8A.4000000@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> Message-ID: <1137525764.6444.98.camel@prophead.corp.publichost.com> On Mon, 2006-01-16 at 19:55 -0600, Russell Golden wrote: > *sigh* yes, i'm sure... when i boot RHL9 off the hard disk it boots fine. > I'm using a laptop, there is no floppy drive. > any boot option i use panics. when i use it on my tower, it boots, but > then hangs and can't even get past loading /sbin/loader. > starting to sound like fedora sucks... Wait, wait, wait. I'm getting confused here. You say you have RHL9 on that machine's hard drive, yet you installed FC4 on it and booting off an FC4 CD in rescue mode gets a kernel panic. I've never heard of a rescue boot kernel panic, so I suspect you really aren't doing what you think you are. Don't take that as an insult, it's danged confusing at times and I could be totally wrong in my assumptions. Here's what I'd like you to do: Get into the BIOS of the machine. Take the hard drive completely out of the boot sequence, so the machine will only try to boot the CD. Let it boot either the first FC4 CD or the FC4 Rescue CD. If it's the first CD, then make sure you put in "linux rescue" at the "boot:" prompt. Let's see if that works. If it does, read on. Here's another issue that may be causing problems. If you indeed do have RH9 and FC4 on the same hard drive, it's entirely possible that the loader is trying to mount the WRONG root partition--especially if you used filesystem labels when you built the thing. If we successfully get to the "#" in a rescue boot, you should take a look at the file "/mnt/sysimage/etc/fstab". If you see entries such as: LABEL="/" / ext3 defaults 1 1 then we may have an issue. If you have two partitions that have labels of "/", then the system may be trying to mount your RH9 "/" instead of your FC4 "/" and yes, that will cause MONDO problems. In that case, you should do this command: # fdisk -l /dev/hda and look at its output. For each partition listed, you should: # e2label /dev/hdaN replacing "N" with the partition number. Find out which two have the same "/" label. Pick one and modify that /mnt/sysimage/etc/fstab file and replace the 'LABEL="/"' with the actual partition name so the line reads something like: /dev/hda2 / ext3 defaults 1 1 Re-enable the boot for the hard disk and try a reboot. If that doesn't work, then try the rescue boot again and swap the partition name for the other one labeled "/" and try again. Note that if we do fix it this way and you have more than one Linux partition (e.g. a separate "/usr" partition), we'll have to sort those out as well. To the other readers...this is one of the reasons I dislike using filesystem labels instead of device names. If you are only using a single version of Linux on a given hard drive, they're fine. As soon as you try to have multiple versions, confusion reigns supreme. If you do want multiple Linux installations, PLEASE label the filesystems appropriately, e.g. "/-FC4", "/usr-FC4". That way, there's no confusion as to what partition belongs to which OS. > > Rick Stevens wrote: > > >On Mon, 2006-01-16 at 16:50 -0600, Russell Golden wrote: > > > > > >>that is the problem. it can't get that far. i get the "boot:" prompt, > >>then when it tries to mount the root filesystem while booting the kernel > >>off the CD, it says > >>kernel panic - not syncing. VFS: cannot mount root filesystem on unknown > >>block (8,3). > >>the boot: prompt is the only prompt i can reach > >> > >> > > > >You mean that entering "linux rescue" at the "boot:" prompt off the > >CD panics? Are you SURE you're booting off the CD? Get into your > >BIOS and make SURE that the CD is checked BEFORE the hard drive. > >Ideally, you should set the BIOS to boot in this sequence: > > > > floppy first > > CD/DVD second > > hard drive third > > network last > > > > > > > > > >>Rick Stevens wrote: > >> > >> > >> > >>>On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: > >>> > >>> > >>> > >>> > >>>>yeah small problem with that... none of the modes will boot. > >>>>unless you mean i should let the thing run through its kernel panic > >>>>script...? > >>>>I'm trying to install it on a laptop that doesn't have a floppy drive, > >>>>might that have something to do with it? > >>>> > >>>> > >>>> > >>>> > >>>Absolutely not. You have to boot of the first CD in rescue mode. That > >>>means that you boot off the CD, then at the "boot:" prompt, put in > >>>"linux rescue". The system will boot of the CD and go look for your > >>>Linux installation. If it is found, then the system will ask you if you > >>>want to mount it. Answer "Yes". The system will mount the installed > >>>Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's > >>>when you put in the five commands: > >>> > >>> # chroot /mnt/sysimage > >>> # cd /boot > >>> # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > >>> # exit > >>> # exit > >>> > >>>as I described earlier. That rebuilds your initrd image and reinstalls > >>>it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was > >>>installed (and that value is the kernel installed with FC4). If you use > >>>a different kernel, replace the above with your kernel version. > >>> > >>> > >>> > >>> > >>> > >>>>Rick Stevens wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>nope. > >>>>>>it goes into panic after displaying "VFS: please append a correct > >>>>>>'root=' boot option" or something to that effect. also says it can't > >>>>>>find a device, then it gives (8,3), which i'm guessing is a location. > >>>>>>the message saying it can't find the device comes before the VFS > >>>>>>message. what is going on here? > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>It appears that the initrd file wasn't built with the ext3 filesystem > >>>>>support module or the lvm system. Boot off the first CD in rescue mode > >>>>>and let the system search for and mount the existing system. At the > >>>>>"#" prompt, do the following: > >>>>> > >>>>> # chroot /mnt/sysimage > >>>>> # cd /boot > >>>>> # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 > >>>>> > >>>>>Verify that the ext3 filesystem module gets loaded in, and if you're > >>>>>using LVM, that the LVM modules get loaded as well. When that's done: > >>>>> > >>>>> # exit > >>>>> # exit > >>>>> > >>>>>(yes, two "exit" commands--the first exits the chroot environment, the > >>>>>second terminates the rescue boot). Pop the CD out and see if it'll > >>>>>boot. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Oliver wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>try using acpi=off kernel boot option > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>*** mail checked - no virus found *** > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get > >>>>>>>>the boot: prompt, but then it can't mount the root filesystem (i guess > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>from the CD) and goes into kernel panic. I've done the checksums, and > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>they add up correctly. What should I do? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>---------------------------------------------------------------------- > >>>>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >>>>>- VitalStream, Inc. http://www.vitalstream.com - > >>>>>- - > >>>>>- First Law of Work: - > >>>>>- If you can't get it done in the first 24 hours, work nights. - > >>>>>---------------------------------------------------------------------- > >>>>> > >>>>>_______________________________________________ > >>>>>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 > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>_______________________________________________ > >>>>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, Senior Systems Engineer rstevens at vitalstream.com - > >>>- VitalStream, Inc. http://www.vitalstream.com - > >>>- - > >>>- Denial. It ain't just a river in Egypt anymore! - > >>>---------------------------------------------------------------------- > >>> > >>>_______________________________________________ > >>>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 > >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>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, Senior Systems Engineer rstevens at vitalstream.com - > >- VitalStream, Inc. http://www.vitalstream.com - > >- - > >- Brain: The organ with which we think that we think. - > >---------------------------------------------------------------------- > > > >_______________________________________________ > >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 > > > > > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When all else fails, try reading the instructions. - ---------------------------------------------------------------------- From KitchenProven at comcast.net Tue Jan 17 21:07:14 2006 From: KitchenProven at comcast.net (Albus Dumbledore) Date: Tue, 17 Jan 2006 13:07:14 -0800 Subject: Basic command line input Message-ID: <1137532034.2645.39.camel@localhost.localdomain> I am trying to learn to run RHW3 from the command line. So far I have had limited success, I am sure it is because I am making some sort of basic error. I start by right clicking on the desktop and selecting "New Terminal" from the pop up window that appearers. I have selected the command "fsck" to try because it seem harmless if it goes arry. It doesn't work but it does return the following error message. [albus at localhost albus]$ fsck -C bash: fsck: command not found [albus at localhost albus]$ What am I doing wrong? From jmpurser at gmail.com Tue Jan 17 21:23:22 2006 From: jmpurser at gmail.com (John Purser) Date: Tue, 17 Jan 2006 13:23:22 -0800 Subject: Basic command line input In-Reply-To: <1137532034.2645.39.camel@localhost.localdomain> References: <1137532034.2645.39.camel@localhost.localdomain> Message-ID: <479803a70601171323v4bafd608ka0178cdbdb6f520b@mail.gmail.com> First, congratulations on your goal. Second, fsck IS NOT the command to learn on. Try "ls" instead. It's like "dir" under dos with about a million flags. You can probably see these flags by typing "man ls" without the quotes. Third, what your box is trying to tell you is that it can't find the command fsck. It searched your whole path, nuthin. To see the path it searched you can type in "echo $PATH". Don't include the quotes, do include the capital letters. Linux is case sensitive. I think you'll find you have fsck in the /sbin directory which is not in your path because it contains commands that every joe user shouldn't be running. Good luck on this. Take it slow, check out some "how-to"s and maybe take a look at www.tldp.org John Purser On 1/17/06, Albus Dumbledore wrote: > I am trying to learn to run RHW3 from the command line. So far I have > had limited success, I am sure it is because I am making some sort of > basic error. > I start by right clicking on the desktop and selecting "New Terminal" > from the pop up window that appearers. I have selected the command > "fsck" to try because it seem harmless if it goes arry. It doesn't work > but it does return the following error message. > > [albus at localhost albus]$ fsck -C > bash: fsck: command not found > [albus at localhost albus]$ > > What am I doing wrong? > > > _______________________________________________ > 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 > From robertmcclure at earthlink.net Tue Jan 17 21:24:37 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 17 Jan 2006 15:24:37 -0600 Subject: Basic command line input In-Reply-To: <1137532034.2645.39.camel@localhost.localdomain> References: <1137532034.2645.39.camel@localhost.localdomain> Message-ID: <20060117212437.GB20919@bobcat.bobcatos.com> On Tue, Jan 17, 2006 at 01:07:14PM -0800, Albus Dumbledore wrote: > I am trying to learn to run RHW3 from the command line. So far I have > had limited success, I am sure it is because I am making some sort of > basic error. > I start by right clicking on the desktop and selecting "New Terminal" > from the pop up window that appearers. I have selected the command > "fsck" to try because it seem harmless if it goes arry. It doesn't work > but it does return the following error message. > > [albus at localhost albus]$ fsck -C > bash: fsck: command not found > [albus at localhost albus]$ > > What am I doing wrong? You are trying to execute a command as your mere mortal self that only root is allowed to run. To execute one of those commands you must su - # then enter the root password Then you are operating as if you had logged in as root. NOTE: operate as root only as long as you must. Everything else, do as your mere mortal self. If you make a mistake as root you can do _great_ damage. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From dragonite.wylie at verizon.net Tue Jan 17 22:13:47 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Tue, 17 Jan 2006 16:13:47 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1137525764.6444.98.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> <1137525764.6444.98.camel@prophead.corp.publichost.com> Message-ID: <43CD6C1B.40707@verizon.net> no, i already have RHL9 and i'm TRYING to install FC4 on it, either overwriting RHL9 or upgrading it. If I can ever get the stupid thing to work, by the time it's done there will only be one version of Linux on my hard disk. Rick Stevens wrote: >On Mon, 2006-01-16 at 19:55 -0600, Russell Golden wrote: > > >>*sigh* yes, i'm sure... when i boot RHL9 off the hard disk it boots fine. >>I'm using a laptop, there is no floppy drive. >>any boot option i use panics. when i use it on my tower, it boots, but >>then hangs and can't even get past loading /sbin/loader. >>starting to sound like fedora sucks... >> >> > >Wait, wait, wait. I'm getting confused here. You say you have RHL9 on >that machine's hard drive, yet you installed FC4 on it and booting off >an FC4 CD in rescue mode gets a kernel panic. I've never heard of a >rescue boot kernel panic, so I suspect you really aren't doing what you >think you are. Don't take that as an insult, it's danged confusing at >times and I could be totally wrong in my assumptions. Here's what I'd >like you to do: > >Get into the BIOS of the machine. Take the hard drive completely out of >the boot sequence, so the machine will only try to boot the CD. Let it >boot either the first FC4 CD or the FC4 Rescue CD. If it's the first >CD, then make sure you put in "linux rescue" at the "boot:" prompt. >Let's see if that works. If it does, read on. > >Here's another issue that may be causing problems. If you indeed do >have RH9 and FC4 on the same hard drive, it's entirely possible that >the loader is trying to mount the WRONG root partition--especially if >you used filesystem labels when you built the thing. If we successfully >get to the "#" in a rescue boot, you should take a look at the file >"/mnt/sysimage/etc/fstab". If you see entries such as: > > LABEL="/" / ext3 defaults 1 1 > >then we may have an issue. If you have two partitions that have labels >of "/", then the system may be trying to mount your RH9 "/" instead of >your FC4 "/" and yes, that will cause MONDO problems. In that case, >you should do this command: > > # fdisk -l /dev/hda > >and look at its output. For each partition listed, you should: > > # e2label /dev/hdaN > >replacing "N" with the partition number. Find out which two have the >same "/" label. Pick one and modify that /mnt/sysimage/etc/fstab file >and replace the 'LABEL="/"' with the actual partition name so the line >reads something like: > > /dev/hda2 / ext3 defaults 1 1 > >Re-enable the boot for the hard disk and try a reboot. If that doesn't >work, then try the rescue boot again and swap the partition name for the >other one labeled "/" and try again. > >Note that if we do fix it this way and you have more than one Linux >partition (e.g. a separate "/usr" partition), we'll have to sort those >out as well. > >To the other readers...this is one of the reasons I dislike using >filesystem labels instead of device names. If you are only using a >single version of Linux on a given hard drive, they're fine. As soon >as you try to have multiple versions, confusion reigns supreme. If you >do want multiple Linux installations, PLEASE label the filesystems >appropriately, e.g. "/-FC4", "/usr-FC4". That way, there's no confusion >as to what partition belongs to which OS. > > > >>Rick Stevens wrote: >> >> >> >>>On Mon, 2006-01-16 at 16:50 -0600, Russell Golden wrote: >>> >>> >>> >>> >>>>that is the problem. it can't get that far. i get the "boot:" prompt, >>>>then when it tries to mount the root filesystem while booting the kernel >>>>off the CD, it says >>>>kernel panic - not syncing. VFS: cannot mount root filesystem on unknown >>>>block (8,3). >>>>the boot: prompt is the only prompt i can reach >>>> >>>> >>>> >>>> >>>You mean that entering "linux rescue" at the "boot:" prompt off the >>>CD panics? Are you SURE you're booting off the CD? Get into your >>>BIOS and make SURE that the CD is checked BEFORE the hard drive. >>>Ideally, you should set the BIOS to boot in this sequence: >>> >>> floppy first >>> CD/DVD second >>> hard drive third >>> network last >>> >>> >>> >>> >>> >>> >>>>Rick Stevens wrote: >>>> >>>> >>>> >>>> >>>> >>>>>On Fri, 2006-01-13 at 19:47 -0600, Russell Golden wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>yeah small problem with that... none of the modes will boot. >>>>>>unless you mean i should let the thing run through its kernel panic >>>>>>script...? >>>>>>I'm trying to install it on a laptop that doesn't have a floppy drive, >>>>>>might that have something to do with it? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Absolutely not. You have to boot of the first CD in rescue mode. That >>>>>means that you boot off the CD, then at the "boot:" prompt, put in >>>>>"linux rescue". The system will boot of the CD and go look for your >>>>>Linux installation. If it is found, then the system will ask you if you >>>>>want to mount it. Answer "Yes". The system will mount the installed >>>>>Linux system at "/mnt/sysimage" and drop you to a "#" prompt. That's >>>>>when you put in the five commands: >>>>> >>>>> # chroot /mnt/sysimage >>>>> # cd /boot >>>>> # mkinitrd -v -f initrd-2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 >>>>> # exit >>>>> # exit >>>>> >>>>>as I described earlier. That rebuilds your initrd image and reinstalls >>>>>it. Note that the "2.6.11-1.1369_FC4" bit refers to the kernel that was >>>>>installed (and that value is the kernel installed with FC4). If you use >>>>>a different kernel, replace the above with your kernel version. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Rick Stevens wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>On Mon, 2006-01-09 at 18:48 -0600, Russell Golden wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>nope. >>>>>>>>it goes into panic after displaying "VFS: please append a correct >>>>>>>>'root=' boot option" or something to that effect. also says it can't >>>>>>>>find a device, then it gives (8,3), which i'm guessing is a location. >>>>>>>>the message saying it can't find the device comes before the VFS >>>>>>>>message. what is going on here? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>It appears that the initrd file wasn't built with the ext3 filesystem >>>>>>>support module or the lvm system. Boot off the first CD in rescue mode >>>>>>>and let the system search for and mount the existing system. At the >>>>>>>"#" prompt, do the following: >>>>>>> >>>>>>> # chroot /mnt/sysimage >>>>>>> # cd /boot >>>>>>> # mkinitrd -v -f initrd-`2.6.11-1.1369_FC4.img 2.6.11-1.1369_FC4 >>>>>>> >>>>>>>Verify that the ext3 filesystem module gets loaded in, and if you're >>>>>>>using LVM, that the LVM modules get loaded as well. When that's done: >>>>>>> >>>>>>> # exit >>>>>>> # exit >>>>>>> >>>>>>>(yes, two "exit" commands--the first exits the chroot environment, the >>>>>>>second terminates the rescue boot). Pop the CD out and see if it'll >>>>>>>boot. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Oliver wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>try using acpi=off kernel boot option >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>*** mail checked - no virus found *** >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>>For some reason, I can't install Fedora Core 4 on my laptop. I can get >>>>>>>>>>the boot: prompt, but then it can't mount the root filesystem (i guess >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>from the CD) and goes into kernel panic. I've done the checksums, and >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>>they add up correctly. What should I do? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>---------------------------------------------------------------------- >>>>>>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >>>>>>>- VitalStream, Inc. http://www.vitalstream.com - >>>>>>>- - >>>>>>>- First Law of Work: - >>>>>>>- If you can't get it done in the first 24 hours, work nights. - >>>>>>>---------------------------------------------------------------------- >>>>>>> >>>>>>>_______________________________________________ >>>>>>>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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>_______________________________________________ >>>>>>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, Senior Systems Engineer rstevens at vitalstream.com - >>>>>- VitalStream, Inc. http://www.vitalstream.com - >>>>>- - >>>>>- Denial. It ain't just a river in Egypt anymore! - >>>>>---------------------------------------------------------------------- >>>>> >>>>>_______________________________________________ >>>>>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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>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, Senior Systems Engineer rstevens at vitalstream.com - >>>- VitalStream, Inc. http://www.vitalstream.com - >>>- - >>>- Brain: The organ with which we think that we think. - >>>---------------------------------------------------------------------- >>> >>>_______________________________________________ >>>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 >>> >>> >>> >>> >>> >>_______________________________________________ >>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, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- When all else fails, try reading the instructions. - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From rstevens at vitalstream.com Wed Jan 18 17:19:00 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 18 Jan 2006 09:19:00 -0800 Subject: Basic command line input In-Reply-To: <1137532034.2645.39.camel@localhost.localdomain> References: <1137532034.2645.39.camel@localhost.localdomain> Message-ID: <1137604740.6444.123.camel@prophead.corp.publichost.com> On Tue, 2006-01-17 at 13:07 -0800, Albus Dumbledore wrote: > I am trying to learn to run RHW3 from the command line. So far I have > had limited success, I am sure it is because I am making some sort of > basic error. > I start by right clicking on the desktop and selecting "New Terminal" > from the pop up window that appearers. I have selected the command > "fsck" to try because it seem harmless if it goes arry. It doesn't work > but it does return the following error message. > > [albus at localhost albus]$ fsck -C > bash: fsck: command not found > [albus at localhost albus]$ > > What am I doing wrong? Certain commands (fsck being one of them) can only be run by the root user. The prompt you display above, "[albus at localhost albus]", breaks down as this: albus at localhost means you're logged in as the user "albus" on the machine called "localhost" albus means you're in albus' home directory. albus is NOT the root user, so many commands are not available to him. BTW, "fsck" is not an innocuous command. First, you should only run it on unmounted filesystems. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Change is inevitable, except from a vending machine. - ---------------------------------------------------------------------- From mdroz8 at gmail.com Wed Jan 18 18:19:29 2006 From: mdroz8 at gmail.com (mike) Date: Wed, 18 Jan 2006 10:19:29 -0800 Subject: simple downloading from the internet? Message-ID: <1a4b2b830601181019r20d0dceep69ba263d76cb9ec6@mail.gmail.com> so if i have some type of xwindows intalled i can browse the net and downoad files like windows, but what if i have nothing, no gui. what's the easiest way to download things off the net? right now i'm downloading them with my windows box, and ftp'ing them to my unix. seems like there should be an easier way! i dont' get mget on this box either, which i believe someone suggested before... -------------- next part -------------- An HTML attachment was scrubbed... URL: From redhat at buglecreek.com Wed Jan 18 18:19:18 2006 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Wed, 18 Jan 2006 11:19:18 -0700 Subject: dd and lvm Message-ID: <1137608358.24397.252164143@webmail.messagingengine.com> We have a few redhat ES-4 systems that were originally installed with lvm across two drives. We would like to clone the hardrives using dd, but are not sure if if will work correctly since the drives were setup using lvm. Normally I would just do something like the following: dd if=/dev/hda of=/backup/image.img and do the opposite to the new hardrive. Can this be done with the current lvm setup on these systems? Will something like this work: dd if=/dev/mapper/VolGroup00-LogVol00 of=/backup/image.img? Or maybe do each drive separately? Thanks From robertmcclure at earthlink.net Wed Jan 18 18:38:43 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 18 Jan 2006 12:38:43 -0600 Subject: simple downloading from the internet? In-Reply-To: <1a4b2b830601181019r20d0dceep69ba263d76cb9ec6@mail.gmail.com> References: <1a4b2b830601181019r20d0dceep69ba263d76cb9ec6@mail.gmail.com> Message-ID: <20060118183843.GA4062@bobcat.bobcatos.com> On Wed, Jan 18, 2006 at 10:19:29AM -0800, mike wrote: > so if i have some type of xwindows intalled i can browse the net and downoad > files like windows, but what if i have nothing, no gui. what's the easiest > way to download things off the net? right now i'm downloading them with my > windows box, and ftp'ing them to my unix. seems like there should be an > easier way! i dont' get mget on this box either, which i believe someone > suggested before... Perhaps you mean wget? That's useful if you have the full URL to the file. If you have it you can wget http://some.web.site/full/path/to/desired/file.tar.gz or wget ftp://some.web.site/full/path/to/desired/file.tar.gz If that's not available, see if you have lynx, a text mode browser, then use it from the command line as lynx http://some.web.site/ and navigate to where you want to go. If you have neither but have yum, you should be able to yum install lynx or yum install wget to install the desired RPMs from the 'Net. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From mlandman at face2interface.com Wed Jan 18 18:45:19 2006 From: mlandman at face2interface.com (Marty Landman) Date: Wed, 18 Jan 2006 13:45:19 -0500 Subject: simple downloading from the internet? In-Reply-To: <1a4b2b830601181019r20d0dceep69ba263d76cb9ec6@mail.gmail.co m> References: <1a4b2b830601181019r20d0dceep69ba263d76cb9ec6@mail.gmail.com> Message-ID: <6.2.0.14.0.20060118134410.032c78a0@face2interface.com> At 01:19 PM 1/18/2006, mike wrote: >so if i have some type of xwindows intalled i can browse the net and >downoad files like windows, but what if i have nothing, no gui. Mike you don't need the GUI browser. I just downloaded a file from a website using lynx and it saved it to my current directory. hth, Marty Marty Landman, Face 2 Interface Inc. 845-679-9387 Webmaster's Bulletin Board: http://bbs.face2interface.com/ Web Installed Formmail: http://face2interface.com/formINSTal From rstevens at vitalstream.com Wed Jan 18 21:43:12 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 18 Jan 2006 13:43:12 -0800 Subject: dd and lvm In-Reply-To: <1137608358.24397.252164143@webmail.messagingengine.com> References: <1137608358.24397.252164143@webmail.messagingengine.com> Message-ID: <1137620592.6444.135.camel@prophead.corp.publichost.com> On Wed, 2006-01-18 at 11:19 -0700, redhat at buglecreek.com wrote: > We have a few redhat ES-4 systems that were originally installed with > lvm across two drives. We would like to clone the hardrives using dd, > but are not sure if if will work correctly since the drives were setup > using lvm. Normally I would just do something like the following: dd > if=/dev/hda of=/backup/image.img and do the opposite to the new > hardrive. > Can this be done with the current lvm setup on these systems? Will > something like this work: dd if=/dev/mapper/VolGroup00-LogVol00 > of=/backup/image.img? Or maybe do each drive separately? This can be ugly. Ideally, you should put the new drives in the system and make a separate volume group/logical volume from them and mount it somewhere. Then do a # cp -a /old/LVM/mountpoint /new/LVM/mountpoint Once that's done, unmount the new LVM and do a "vgexport" of the volume group involved. Put the new drives on a system and do a "vgimport" to import them. See "man vgexport" and "man vgimport" for details. The problem is that "dd" wants sequential data from a device and you've got a "quasi" device here. The new drives may not lay out the same as the old ones. It's best to try to copy the _filesystem_ data, not the raw device data. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Careful! Ugly strikes 9 out of 10 people! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Jan 18 22:09:26 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 18 Jan 2006 14:09:26 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43CD6C1B.40707@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> <1137525764.6444.98.camel@prophead.corp.publichost.com> <43CD6C1B.40707@verizon.net> Message-ID: <1137622166.6444.149.camel@prophead.corp.publichost.com> On Tue, 2006-01-17 at 16:13 -0600, Russell Golden wrote: > no, i already have RHL9 and i'm TRYING to install FC4 on it, either > overwriting RHL9 or upgrading it. If I can ever get the stupid thing to > work, by the time it's done there will only be one version of Linux on > my hard disk. Ok, so if I understand correctly, you're doing a fresh install of FC4 over the top of RH9 on your second SCSI hard disk and you want your current boot loader (which isn't grub, but likely ntloader or System Commander or something) to boot to grub on that fresh install. If I have that right, I just want you to verify a few things: 1. You've booted the first FC4 CD and actually done the installation, overwriting RH9. When you did the installation, you told anaconda (the FC4 install program) that it that it was to put FC4 in the various partitions of /dev/sdb, and not /dev/sda (which it will try to do by default). 2. Now, when you try to boot the FC4 installation, it gets a kernel panic. 3. If you boot off the first FC4 CD and enter "linux rescue" at the "boot:" prompt, it still kernel panics. This is where things get weird. I've never heard of a kernel panic on a rescue boot when the installer itself didn't panic when things were installed. They use the same kernel (the installer and the rescue). There's really no way for one to panic and not the other. What actually occurred, I think, is that you installed FC4 on /dev/sda. The reason I say this is that you can still succesfully boot RH9. Had you actually installed FC4 where you think you did (replacing RH9), then RH9 has been wiped out it can't boot. Do you see why I'm confused? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To err is human, to moo bovine. - ---------------------------------------------------------------------- From dragonite.wylie at verizon.net Wed Jan 18 22:58:27 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Wed, 18 Jan 2006 16:58:27 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1137622166.6444.149.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> <1137525764.6444.98.camel@prophead.corp.publichost.com> <43CD6C1B.40707@verizon.net> <1137622166.6444.149.camel@prophead.corp.publichost.com> Message-ID: <43CEC813.1070404@verizon.net> verifications: 1. i have not been able to get the installer to work in the first place. I still have RHL9 on my only hard disk, hda. uses the GRUB boot loader. First CD goes into panic whenever i try to boot off of it to install FC4. (I don't know where you got the idea that i have a SCSI disk...) 2. see #1 3. see #2 It's really confusing troubleshooting by email lol. Rick Stevens wrote: >On Tue, 2006-01-17 at 16:13 -0600, Russell Golden wrote: > > >>no, i already have RHL9 and i'm TRYING to install FC4 on it, either >>overwriting RHL9 or upgrading it. If I can ever get the stupid thing to >>work, by the time it's done there will only be one version of Linux on >>my hard disk. >> >> > >Ok, so if I understand correctly, you're doing a fresh install of FC4 >over the top of RH9 on your second SCSI hard disk and you want your >current boot loader (which isn't grub, but likely ntloader or System >Commander or something) to boot to grub on that fresh install. > >If I have that right, I just want you to verify a few things: > >1. You've booted the first FC4 CD and actually done the installation, >overwriting RH9. When you did the installation, you told anaconda >(the FC4 install program) that it that it was to put FC4 in the various >partitions of /dev/sdb, and not /dev/sda (which it will try to do by >default). > >2. Now, when you try to boot the FC4 installation, it gets a kernel >panic. > >3. If you boot off the first FC4 CD and enter "linux rescue" at the >"boot:" prompt, it still kernel panics. > >This is where things get weird. I've never heard of a kernel panic on >a rescue boot when the installer itself didn't panic when things were >installed. They use the same kernel (the installer and the rescue). >There's really no way for one to panic and not the other. > >What actually occurred, I think, is that you installed FC4 on /dev/sda. >The reason I say this is that you can still succesfully boot RH9. Had >you actually installed FC4 where you think you did (replacing RH9), then >RH9 has been wiped out it can't boot. Do you see why I'm confused? > >---------------------------------------------------------------------- >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- To err is human, to moo bovine. - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From rstevens at vitalstream.com Wed Jan 18 23:09:06 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 18 Jan 2006 15:09:06 -0800 Subject: Cannot install Fedora Core 4 In-Reply-To: <43CEC813.1070404@verizon.net> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> <1137525764.6444.98.camel@prophead.corp.publichost.com> <43CD6C1B.40707@verizon.net> <1137622166.6444.149.camel@prophead.corp.publichost.com> <43CEC813.1070404@verizon.net> Message-ID: <1137625746.6444.161.camel@prophead.corp.publichost.com> On Wed, 2006-01-18 at 16:58 -0600, Russell Golden wrote: > verifications: > 1. i have not been able to get the installer to work in the first place. > I still have RHL9 on my only hard disk, hda. uses the GRUB boot loader. > First CD goes into panic whenever i try to boot off of it to install > FC4. (I don't know where you got the idea that i have a SCSI disk...) I've been chasing another issue with someone else who does have a two-disk SCSI arrangement. I must've gotten confused. Ok. Hmmmm. Panic right off the bat on install with FC4. Did you check the SHA1 checksum of the disks after you burned them? Just boot in RH9, put in each CD in turn and run: sha1sum -b /dev/cdrom Here are the checksums you SHOULD get: 2f151a7329846da685c2a72fcb40eba3e8a355a0 FC4-i386-DVD.iso aa82f4be0be901777537b6ad0906c4f3c2d84bc3 FC4-i386-SRPMS-disc1.iso e43a0db88bf537f6dab6e49513c6391a4aa9b549 FC4-i386-SRPMS-disc2.iso 37c0a3dacf0e803e402474ecca6a16bf177490b4 FC4-i386-SRPMS-disc3.iso 72fd68d72a2c7563b74073c25dccb903a2a34a01 FC4-i386-SRPMS-disc4.iso 3fb2924c8fb8098dbc8260f69824e9c437d28c68 FC4-i386-disc1.iso 31fdc2d7a1f1709aa02c9ea5854015645bd69504 FC4-i386-disc2.iso 032455cdf457179916be3a739ca16add75b768b7 FC4-i386-disc3.iso f560f26a32820143e8286afb188f7c36d905a735 FC4-i386-disc4.iso 736e1555e88740d6131c5c84fbe69ed1073ba82d FC4-i386-rescuecd.iso > 2. see #1 > 3. see #2 > It's really confusing troubleshooting by email lol. That it is, my friend, that it is. :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - BASIC is the Computer Science version of `Scientific Creationism' - ---------------------------------------------------------------------- From dragonite.wylie at verizon.net Thu Jan 19 00:44:28 2006 From: dragonite.wylie at verizon.net (Russell Golden) Date: Wed, 18 Jan 2006 18:44:28 -0600 Subject: Cannot install Fedora Core 4 In-Reply-To: <1137625746.6444.161.camel@prophead.corp.publichost.com> References: <43C17FC4.10209@verizon.net> <182690487.20060108230038@gmx.net> <43C30458.1030303@verizon.net> <1136858767.3340.284.camel@prophead.corp.publichost.com> <43C85826.9020901@verizon.net> <1137434945.6444.8.camel@prophead.corp.publichost.com> <43CC2352.8070402@verizon.net> <1137461278.6444.63.camel@prophead.corp.publichost.com> <43CC4E8A.4000000@verizon.net> <1137525764.6444.98.camel@prophead.corp.publichost.com> <43CD6C1B.40707@verizon.net> <1137622166.6444.149.camel@prophead.corp.publichost.com> <43CEC813.1070404@verizon.net> <1137625746.6444.161.camel@prophead.corp.publichost.com> Message-ID: <43CEE0EC.2000907@verizon.net> An HTML attachment was scrubbed... URL: From j.wirt.112 at comcast.net Thu Jan 19 03:17:57 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Wed, 18 Jan 2006 22:17:57 -0500 Subject: Installing SCSI driver in Linux Rescue Message-ID: <43CF04E5.4090505@comcast.net> A new front has opened in my endeaver to install Grub in the Linux root ("/") partition of drive 2 as part of a move to dual boot Linux RedHat Enterprise and XP on my machine using Bootit on drive 1 as the boot manager. XP is on drive 1 and Linux is on drive 1. From Rick Stevens and others on this forum (thank you), I know the procedure and Linux commands to accomplish the necessary reinstallation of Grub. Last night I attempted to reinstall Grub using these commands but immediately ran into a problem. I have three Adaptec U320 drives on the machine. Two are combined into one RAID 0 drive (drive 1) and Linux will be on the third physical drive (drive 2). I booted to the 1st RedHat Enterprise v.3 CD, selected Linux Rescue, and got the boot: prompt (I think this was the order). Anyway I ended up at the Boot: prompt in Linux Rescue. Fine except in the course of this boot it was clear that Linux could not find any drivers for my SCSI drives on the CD. This is not surprising. When I installed XP, I had to supply drivers. (Linux came installed on the machine by Dell.) The question is, how can I provide the necessary driver in booting from the Linux RedHat CD #1. Dell has sent me the drivers that need to be installed. The driver package seems to have the solution: Installing Red Hat Enterprise Linux 3 For a new installation of Red Hat Enterprise Linux 3, you will need to use a device driver diskette image. Perform the following steps: 1. Copy the appropriate device driver diskette image to a Linux system 2. Put a floppy into the floppy drive 3. At a command prompt, type "cat dd if= of=/dev/fd0". This will create your device driver diskette 4. Boot to the Red Hat Enterprise Linux 3 media 5. When you receive the "boot:" prompt, type "linux dd" 6. Follow the instructions onscreen to proceed Will this work? After loading the SCSI driver, I have to run the install-grub command from Boot: to complete the Linux (re)installation. Apparently, I have to go to my friend's house and have him make the device driver diskette (my friend is a Linux technician). Then, I can load the driver from the disketter at the Boot: command. Will this work? Since the Linux running in memory from the CD sees no SCSI drives, where will it put the driver? In memory? And then, boot the SCSI drives? Is this going to work? The copy of Linux already installed on drive 2 has the necessary SCSI driver. The desired final configuration will be, selecting Linux from the Bootit boot menu will "boot" Grub in the root partition on drive 2, which will boot Linux on drive 2. Just to be complete, the final configuration is planned to be: Drive 1 Part 1 MBR XP Part 2 Windows XP Part 3 EMBR (Extended Master Boot Record for Bootit boot manager) Part 4 Extended Partition Part 5 Volume Part 6 Volume Drive 2 (simplified a bit) Part 1 MBR Part 2 Linux /boot partition Part 3 Linux root directory Part 4 Linux swap partition Thank you. John WIrt From P.C.M.Chiu at rl.ac.uk Tue Jan 17 08:17:14 2006 From: P.C.M.Chiu at rl.ac.uk (Chiu, PCM (Peter)) Date: Tue, 17 Jan 2006 08:17:14 -0000 Subject: RH AS 4U2 - LVM extend Message-ID: Thanks a lot, Nick, Ext2online does extend a mounted an ext3 file system live. While checking the man page on ext2online, I have also found ext2resize and ext2prepare being mentioned for the better support of resizing at larger capacity. But I cannot locate ext2resize nor ext2prepare binaries, and they man pages. Do you have any experience on them, or do you know which package they belong to? Peter -----Original Message----- From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Lunt, Nick Sent: 16 January 2006 09:00 To: General Red Hat Linux discussion list; Getting started with Red Hat Linux Subject: RE: RH AS 4U2 - LVM extend Hi, > -----Original Message----- > From: Chiu, PCM (Peter) [mailto:P.C.M.Chiu at rl.ac.uk] > Sent: 16 January 2006 08:55 > To: General Red Hat Linux discussion list; Getting started with Red > Hat Linux > Cc: Chiu, PCM (Peter) > Subject: RH AS 4U2 - LVM extend > > > Hi, > > I recall in the past that I was able to extend a lvm file system > without the need of reformatting and restoring the contents, but I > don't seem to be able to do under RH AS 4U2. > > Below are the steps that I take. vgdisplay shows the volume group > capacity is extended, but lvdisplay shows the logical volume is not. > Have I missed something here? > > Thanks. > > fdisk /dev/had to make new partitions 7 and 8 with type 8e > > pvcreate /dev/hda7 > vgcreate peter-vg /dev/hda7 > lvcreate -L 2G /dev/peter-vg -n peter-lv mke2fs -j > /dev/peter-vg/peter-lv mount /dev/peter-vg/peter-lv /data > - A 2GB /data is mounted and works ok. > > umount /data > pvcreate /dev/hda8 > vgextend peter-vg /dev/hda8 > lvextend -L 4G /dev/peter-vg/peter-lv > > The last command is accepted but no action is taken. > The /dev/peter-vg/peter-lv is still mounted as a 2GB file system. > Tried reboot, vgscan and vgchange -ay, no luck. > have you tried ext2online /dev/peter-vg/peter-lv ? This should work with the filesystem mounted. Having said that, I've only ever used it on ext3 (journalling), but the man page says it's ext2 so you should be fine. The filesystem should be extended after that. As it stands at the moment you've just extended the nr of extents available but not yet used them. Some shops do that to make it easy to extend filesystems when they fill up. Good luck, Nick . Wesleyan Administration Services Ltd registered number 5188850 and Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM Ltd") are wholly owned subsidiary companies of Wesleyan Assurance Society, whose registered number is ZC145. WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration Centre: PO Box 9033, Chelmsford, SM99 2WQ Telephone: 0870 601 6129 Wesleyan Assurance Society and WUTM Ltd are authorised and regulated by the Financial Services Authority. Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200 3003 Fax 0121 200 2971. Website: www.wesleyan.co.uk Telephone calls may be recorded for monitoring and training purposes. CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. While every reasonable precaution to minimise this risk has been taken, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checking procedure before opening any attachment. -- redhat-list mailing list unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list From rstevens at vitalstream.com Thu Jan 19 17:35:00 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 19 Jan 2006 09:35:00 -0800 Subject: Installing SCSI driver in Linux Rescue In-Reply-To: <43CF04E5.4090505@comcast.net> References: <43CF04E5.4090505@comcast.net> Message-ID: <1137692100.6444.198.camel@prophead.corp.publichost.com> On Wed, 2006-01-18 at 22:17 -0500, John Wirt wrote: > A new front has opened in my endeaver to install Grub in the Linux root > ("/") partition of drive 2 as part of a move to dual boot Linux RedHat > Enterprise and XP on my machine using Bootit on drive 1 as the boot > manager. XP is on drive 1 and Linux is on drive 1. From Rick Stevens and > others on this forum (thank you), I know the procedure and Linux > commands to accomplish the necessary reinstallation of Grub. > > Last night I attempted to reinstall Grub using these commands but > immediately ran into a problem. I have three Adaptec U320 drives on the > machine. Two are combined into one RAID 0 drive (drive 1) and Linux will > be on the third physical drive (drive 2). > > I booted to the 1st RedHat Enterprise v.3 CD, selected Linux Rescue, and > got the boot: prompt (I think this was the order). Anyway I ended up at > the Boot: prompt in Linux Rescue. Fine except in the course of this > boot it was clear that Linux could not find any drivers for my SCSI > drives on the CD. This is not surprising. When I installed XP, I had to > supply drivers. (Linux came installed on the machine by Dell.) > > The question is, how can I provide the necessary driver in booting from > the Linux RedHat CD #1. At the "boot:" prompt, enter: linux rescue dd When the system asks for the driver, stick in the floppy and press ENTER. > > Dell has sent me the drivers that need to be installed. The driver > package seems to have the solution: > > Installing Red Hat Enterprise Linux 3 > For a new installation of Red Hat Enterprise Linux 3, you will need to > use a device driver diskette image. Perform the following steps: > 1. Copy the appropriate device driver diskette image to a Linux system > 2. Put a floppy into the floppy drive > 3. At a command prompt, type "cat dd if= of=/dev/fd0". > This > will create your device driver diskette > 4. Boot to the Red Hat Enterprise Linux 3 media > 5. When you receive the "boot:" prompt, type "linux dd" > 6. Follow the instructions onscreen to proceed > > Will this work? For a fresh install, yes. To do a rescue boot, you still need to specify "rescue" in the boot command: boot: linux rescue dd > > After loading the SCSI driver, I have to run the install-grub command > from Boot: to complete the Linux (re)installation. > > Apparently, I have to go to my friend's house and have him make the > device driver diskette (my friend is a Linux technician). Then, I can > load the driver from the disketter at the Boot: command. Well, you really don't. True, "dd" is a Unix/Linux-specific command, but there is a program under DOS that does the same thing, "rawrite". Here's a link to it: http://www.fdos.org/ripcord/rawrite/ > Will this work? Since the Linux running in memory from the CD sees no > SCSI drives, where will it put the driver? In memory? And then, boot > the SCSI drives? Is this going to work? Yes, the driver will be loaded in to the kernel's memory on boot. Once the driver is loaded, the rescue boot will be able to see the SCSI drives and you should be good to go. > The copy of Linux already installed on drive 2 has the necessary SCSI > driver. The desired final configuration will be, selecting Linux from > the Bootit boot menu will "boot" Grub in the root partition on drive 2, > which will boot Linux on drive 2. If you're certain the driver is actually there, after you do the "chroot /mnt/sysimage" command, look at the "/etc/modules.conf" file and make sure there's a line that looks like alias scsi-hostadapter name-of-scsi-driver because that's what the mkinitrd command will use to load the appropriate driver into the boot ramdisk image. > Just to be complete, the final configuration is planned to be: > > Drive 1 > Part 1 MBR XP > Part 2 Windows XP > Part 3 EMBR (Extended Master Boot Record for Bootit boot > manager) > Part 4 Extended Partition > Part 5 Volume > Part 6 Volume > > Drive 2 (simplified a bit) > Part 1 MBR > Part 2 Linux /boot partition > Part 3 Linux root directory > Part 4 Linux swap partition Your Linux tech friend may be able to help you with this. He/she should understand all this weird stuff with booting and how to make it work. It's a bit difficult to describe in an email. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When all else fails, try reading the instructions. - ---------------------------------------------------------------------- From j.wirt.112 at comcast.net Fri Jan 20 01:27:37 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Thu, 19 Jan 2006 20:27:37 -0500 Subject: Installing SCSI driver in Linux Rescue In-Reply-To: <1137692100.6444.198.camel@prophead.corp.publichost.com> References: <43CF04E5.4090505@comcast.net> <1137692100.6444.198.camel@prophead.corp.publichost.com> Message-ID: <43D03C89.30005@comcast.net> Rick, you have been terrifically helpful. Thank you. I'll give a (short) success report. John > > From j.wirt.112 at comcast.net Fri Jan 20 13:43:41 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Fri, 20 Jan 2006 08:43:41 -0500 Subject: Installing SCSI driver in Linux Rescue In-Reply-To: <1137692100.6444.198.camel@prophead.corp.publichost.com> References: <43CF04E5.4090505@comcast.net> <1137692100.6444.198.camel@prophead.corp.publichost.com> Message-ID: <43D0E90D.6010606@comcast.net> Can I make sure I have this correct? Use Rawrite to convert the driver file to an image file. (No other files are included.) Use Rawritewin to make a diskette from the image file. John Wirt Rick Stevens wrote: >On Wed, 2006-01-18 at 22:17 -0500, John Wirt wrote: > > >>A new front has opened in my endeaver to install Grub in the Linux root >>("/") partition of drive 2 as part of a move to dual boot Linux RedHat >>Enterprise and XP on my machine using Bootit on drive 1 as the boot >>manager. XP is on drive 1 and Linux is on drive 1. From Rick Stevens and >>others on this forum (thank you), I know the procedure and Linux >>commands to accomplish the necessary reinstallation of Grub. >> >>Last night I attempted to reinstall Grub using these commands but >>immediately ran into a problem. I have three Adaptec U320 drives on the >>machine. Two are combined into one RAID 0 drive (drive 1) and Linux will >>be on the third physical drive (drive 2). >> >>I booted to the 1st RedHat Enterprise v.3 CD, selected Linux Rescue, and >>got the boot: prompt (I think this was the order). Anyway I ended up at >>the Boot: prompt in Linux Rescue. Fine except in the course of this >>boot it was clear that Linux could not find any drivers for my SCSI >>drives on the CD. This is not surprising. When I installed XP, I had to >>supply drivers. (Linux came installed on the machine by Dell.) >> >>The question is, how can I provide the necessary driver in booting from >>the Linux RedHat CD #1. >> >> > >At the "boot:" prompt, enter: > > linux rescue dd > >When the system asks for the driver, stick in the floppy and press >ENTER. > > > >>Dell has sent me the drivers that need to be installed. The driver >>package seems to have the solution: >> >> Installing Red Hat Enterprise Linux 3 >> For a new installation of Red Hat Enterprise Linux 3, you will need to >> use a device driver diskette image. Perform the following steps: >> 1. Copy the appropriate device driver diskette image to a Linux system >> 2. Put a floppy into the floppy drive >> 3. At a command prompt, type "cat dd if= of=/dev/fd0". >>This >> will create your device driver diskette >> 4. Boot to the Red Hat Enterprise Linux 3 media >> 5. When you receive the "boot:" prompt, type "linux dd" >> 6. Follow the instructions onscreen to proceed >> >>Will this work? >> >> > >For a fresh install, yes. To do a rescue boot, you still need to >specify "rescue" in the boot command: > > boot: linux rescue dd > > > >>After loading the SCSI driver, I have to run the install-grub command >>from Boot: to complete the Linux (re)installation. >> >>Apparently, I have to go to my friend's house and have him make the >>device driver diskette (my friend is a Linux technician). Then, I can >>load the driver from the disketter at the Boot: command. >> >> > >Well, you really don't. True, "dd" is a Unix/Linux-specific command, >but there is a program under DOS that does the same thing, "rawrite". >Here's a link to it: > > http://www.fdos.org/ripcord/rawrite/ > > > > >>Will this work? Since the Linux running in memory from the CD sees no >>SCSI drives, where will it put the driver? In memory? And then, boot >>the SCSI drives? Is this going to work? >> >> > >Yes, the driver will be loaded in to the kernel's memory on boot. Once >the driver is loaded, the rescue boot will be able to see the SCSI >drives and you should be good to go. > > > >>The copy of Linux already installed on drive 2 has the necessary SCSI >>driver. The desired final configuration will be, selecting Linux from >>the Bootit boot menu will "boot" Grub in the root partition on drive 2, >>which will boot Linux on drive 2. >> >> > >If you're certain the driver is actually there, after you do the >"chroot /mnt/sysimage" command, look at the "/etc/modules.conf" file >and make sure there's a line that looks like > > alias scsi-hostadapter name-of-scsi-driver > >because that's what the mkinitrd command will use to load the >appropriate driver into the boot ramdisk image. > > > >>Just to be complete, the final configuration is planned to be: >> >> Drive 1 >> Part 1 MBR XP >> Part 2 Windows XP >> Part 3 EMBR (Extended Master Boot Record for Bootit boot >>manager) >> Part 4 Extended Partition >> Part 5 Volume >> Part 6 Volume >> >> Drive 2 (simplified a bit) >> Part 1 MBR >> Part 2 Linux /boot partition >> Part 3 Linux root directory >> Part 4 Linux swap partition >> >> > >Your Linux tech friend may be able to help you with this. He/she should >understand all this weird stuff with booting and how to make it work. >It's a bit difficult to describe in an email. >---------------------------------------------------------------------- >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- When all else fails, try reading the instructions. - >---------------------------------------------------------------------- > >_______________________________________________ >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 > > > From gerrynix at yahoo.com Fri Jan 20 14:43:56 2006 From: gerrynix at yahoo.com (gerrynix) Date: Fri, 20 Jan 2006 06:43:56 -0800 (PST) Subject: Remote Linux desktop? Message-ID: <20060120144356.41941.qmail@web51914.mail.yahoo.com> Hello all, I have a client who needs to display a desktop from one Linux box to another on their Local Area Network. Which might be the best besr method? Is there a VNC client for Linux? Is rsh or ssh better? MTIA for your info - comments. -- Nix -------------- next part -------------- An HTML attachment was scrubbed... URL: From robertmcclure at earthlink.net Fri Jan 20 15:13:04 2006 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Fri, 20 Jan 2006 09:13:04 -0600 Subject: Remote Linux desktop? In-Reply-To: <20060120144356.41941.qmail@web51914.mail.yahoo.com> References: <20060120144356.41941.qmail@web51914.mail.yahoo.com> Message-ID: <20060120151304.GA10769@bobcat.bobcatos.com> On Fri, Jan 20, 2006 at 06:43:56AM -0800, gerrynix wrote: > Hello all, > > I have a client who needs to display a desktop from one Linux box to another on their Local Area Network. Which might be the best besr method? Is there a VNC client for Linux? Is rsh or ssh better? > > MTIA for your info - comments. > -- > Nix Use the vnc RPM. It has the client in it. One recommendation: If the serving machine is used by others or other tasks, turn off the screen saver on the desktop on the machine that is serving vnc. It's unnecessary and sucks a lot CPU cycles. You can (and arguably should) tunnel vnc through SSH if you need it off-site. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From rstevens at vitalstream.com Fri Jan 20 17:20:17 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 20 Jan 2006 09:20:17 -0800 Subject: Installing SCSI driver in Linux Rescue In-Reply-To: <43D0E90D.6010606@comcast.net> References: <43CF04E5.4090505@comcast.net> <1137692100.6444.198.camel@prophead.corp.publichost.com> <43D0E90D.6010606@comcast.net> Message-ID: <1137777617.6444.295.camel@prophead.corp.publichost.com> On Fri, 2006-01-20 at 08:43 -0500, John Wirt wrote: > Can I make sure I have this correct? > Use Rawrite to convert the driver file to an image file. (No other > files are included.) > Use Rawritewin to make a diskette from the image file. The image file an image of the entire floppy. I'll bet that if you look at its size, it'll be 1.44MB (the same size as a floppy). rawrite writes the image file to a floppy. It's the DOS equivalent of "dd". rawritewin is the Windows (GUI) version of it. > > John Wirt > > Rick Stevens wrote: > > >On Wed, 2006-01-18 at 22:17 -0500, John Wirt wrote: > > > > > >>A new front has opened in my endeaver to install Grub in the Linux root > >>("/") partition of drive 2 as part of a move to dual boot Linux RedHat > >>Enterprise and XP on my machine using Bootit on drive 1 as the boot > >>manager. XP is on drive 1 and Linux is on drive 1. From Rick Stevens and > >>others on this forum (thank you), I know the procedure and Linux > >>commands to accomplish the necessary reinstallation of Grub. > >> > >>Last night I attempted to reinstall Grub using these commands but > >>immediately ran into a problem. I have three Adaptec U320 drives on the > >>machine. Two are combined into one RAID 0 drive (drive 1) and Linux will > >>be on the third physical drive (drive 2). > >> > >>I booted to the 1st RedHat Enterprise v.3 CD, selected Linux Rescue, and > >>got the boot: prompt (I think this was the order). Anyway I ended up at > >>the Boot: prompt in Linux Rescue. Fine except in the course of this > >>boot it was clear that Linux could not find any drivers for my SCSI > >>drives on the CD. This is not surprising. When I installed XP, I had to > >>supply drivers. (Linux came installed on the machine by Dell.) > >> > >>The question is, how can I provide the necessary driver in booting from > >>the Linux RedHat CD #1. > >> > >> > > > >At the "boot:" prompt, enter: > > > > linux rescue dd > > > >When the system asks for the driver, stick in the floppy and press > >ENTER. > > > > > > > >>Dell has sent me the drivers that need to be installed. The driver > >>package seems to have the solution: > >> > >> Installing Red Hat Enterprise Linux 3 > >> For a new installation of Red Hat Enterprise Linux 3, you will need to > >> use a device driver diskette image. Perform the following steps: > >> 1. Copy the appropriate device driver diskette image to a Linux system > >> 2. Put a floppy into the floppy drive > >> 3. At a command prompt, type "cat dd if= of=/dev/fd0". > >>This > >> will create your device driver diskette > >> 4. Boot to the Red Hat Enterprise Linux 3 media > >> 5. When you receive the "boot:" prompt, type "linux dd" > >> 6. Follow the instructions onscreen to proceed > >> > >>Will this work? > >> > >> > > > >For a fresh install, yes. To do a rescue boot, you still need to > >specify "rescue" in the boot command: > > > > boot: linux rescue dd > > > > > > > >>After loading the SCSI driver, I have to run the install-grub command > >>from Boot: to complete the Linux (re)installation. > >> > >>Apparently, I have to go to my friend's house and have him make the > >>device driver diskette (my friend is a Linux technician). Then, I can > >>load the driver from the disketter at the Boot: command. > >> > >> > > > >Well, you really don't. True, "dd" is a Unix/Linux-specific command, > >but there is a program under DOS that does the same thing, "rawrite". > >Here's a link to it: > > > > http://www.fdos.org/ripcord/rawrite/ > > > > > > > > > >>Will this work? Since the Linux running in memory from the CD sees no > >>SCSI drives, where will it put the driver? In memory? And then, boot > >>the SCSI drives? Is this going to work? > >> > >> > > > >Yes, the driver will be loaded in to the kernel's memory on boot. Once > >the driver is loaded, the rescue boot will be able to see the SCSI > >drives and you should be good to go. > > > > > > > >>The copy of Linux already installed on drive 2 has the necessary SCSI > >>driver. The desired final configuration will be, selecting Linux from > >>the Bootit boot menu will "boot" Grub in the root partition on drive 2, > >>which will boot Linux on drive 2. > >> > >> > > > >If you're certain the driver is actually there, after you do the > >"chroot /mnt/sysimage" command, look at the "/etc/modules.conf" file > >and make sure there's a line that looks like > > > > alias scsi-hostadapter name-of-scsi-driver > > > >because that's what the mkinitrd command will use to load the > >appropriate driver into the boot ramdisk image. > > > > > > > >>Just to be complete, the final configuration is planned to be: > >> > >> Drive 1 > >> Part 1 MBR XP > >> Part 2 Windows XP > >> Part 3 EMBR (Extended Master Boot Record for Bootit boot > >>manager) > >> Part 4 Extended Partition > >> Part 5 Volume > >> Part 6 Volume > >> > >> Drive 2 (simplified a bit) > >> Part 1 MBR > >> Part 2 Linux /boot partition > >> Part 3 Linux root directory > >> Part 4 Linux swap partition > >> > >> > > > >Your Linux tech friend may be able to help you with this. He/she should > >understand all this weird stuff with booting and how to make it work. > >It's a bit difficult to describe in an email. > >---------------------------------------------------------------------- > >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >- VitalStream, Inc. http://www.vitalstream.com - > >- - > >- When all else fails, try reading the instructions. - > >---------------------------------------------------------------------- > > > >_______________________________________________ > >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 > > > > > > > > _______________________________________________ > 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, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Beware of programmers who carry screwdrivers - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Jan 20 17:24:39 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 20 Jan 2006 09:24:39 -0800 Subject: Remote Linux desktop? In-Reply-To: <20060120144356.41941.qmail@web51914.mail.yahoo.com> References: <20060120144356.41941.qmail@web51914.mail.yahoo.com> Message-ID: <1137777879.6444.301.camel@prophead.corp.publichost.com> On Fri, 2006-01-20 at 06:43 -0800, gerrynix wrote: > Hello all, > > I have a client who needs to display a desktop from one Linux box to > another on their Local Area Network. Which might be the best besr > method? Is there a VNC client for Linux? Is rsh or ssh better? Linux comes with VNC (both server and client). You can have multiple VNC desktops (each with a different user) or share the main one over VNC. See "man vncserver" for details. The client is called "vncviewer". See "man vncviewer" for details. Personally, I tunnel VNC through ssh. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To err is human, to forgive, beyond the scope of the OS - ---------------------------------------------------------------------- From geg1 at earthlink.net Fri Jan 20 18:43:05 2006 From: geg1 at earthlink.net (Gregory E. Garland) Date: Fri, 20 Jan 2006 13:43:05 -0500 Subject: New video card, X server will not start; irqbalance shutdown fails Message-ID: Hello all, My previous video card (ATI Radeon 9800 AGP) decided to bite the dust, so I replaced it with a new ATI Radeon X700 Pro AGP card. Naturally, this card does not appear in the list for the display configuration tool, and trying to use any of the other Radeon types that are gives an error of "No Matching Device Section for instance (BusID PCI:1:0:1) found"; "No devices detected" and the X server does not start. I can start server using the generic VESA type, and there does appear to be a relevant article (Article ID: 5642) in the Red Hat Knowledgebase about installing ATI Drivers on a 64-bit machine (The PC has an AMD Athlon 64 CPU, and is running Red Hat ES 4). However, before I install these 32-bit packages and see if that solves the problem I have noticed that when the machine shuts down there now appears an error message saying that irqbalance failed to shut down. So I'm wondering if there is something else going on that causes the system to fail to detect the new video card. Thanks for any observations. Greg From rstevens at vitalstream.com Fri Jan 20 22:24:22 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 20 Jan 2006 14:24:22 -0800 Subject: New video card, X server will not start; irqbalance shutdown fails In-Reply-To: References: Message-ID: <1137795863.6444.307.camel@prophead.corp.publichost.com> On Fri, 2006-01-20 at 13:43 -0500, Gregory E. Garland wrote: > Hello all, > > My previous video card (ATI Radeon 9800 AGP) decided to bite the dust, so I > replaced it with a new ATI Radeon X700 Pro AGP card. Naturally, this card > does not appear in the list for the display configuration tool, and trying > to use any of the other Radeon types that are gives an error of "No Matching > Device Section for instance (BusID PCI:1:0:1) found"; "No devices detected" > and the X server does not start. I can start server using the generic VESA > type, and there does appear to be a relevant article (Article ID: 5642) in > the Red Hat Knowledgebase about installing ATI Drivers on a 64-bit machine > (The PC has an AMD Athlon 64 CPU, and is running Red Hat ES 4). However, > before I install these 32-bit packages and see if that solves the problem I > have noticed that when the machine shuts down there now appears an error > message saying that irqbalance failed to shut down. So I'm wondering if > there is something else going on that causes the system to fail to detect > the new video card. Have you "up2date"d your machine recently? There may be an updated driver set for your card. Should you wish to install the ATI proprietary drivers, first you must see if you're running the 32-bit version of RHEL or the 64-bit version. A simple "uname -a" will tell you. You must then install the FireGL version appropriate to your hardware BEFORE you install the driver. As far as the irqbalance not shutting down, that's a minor thing and I wouldn't worry about it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - On a scale of 1 to 10 I'd say... oh, somewhere in there. - ---------------------------------------------------------------------- From harold at hallikainen.com Sat Jan 21 22:23:55 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Sat, 21 Jan 2006 14:23:55 -0800 (PST) Subject: FC4 and Intel 82559 NIC? In-Reply-To: <42480.207.177.227.29.1137001749.squirrel@sujan.hallikainen.org> References: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> <1137001001.3340.337.camel@prophead.corp.publichost.com> <42480.207.177.227.29.1137001749.squirrel@sujan.hallikainen.org> Message-ID: <50961.192.168.1.1.1137882235.squirrel@sujan.hallikainen.org> > >> On Tue, 2006-01-10 at 20:46 -0800, Harold Hallikainen wrote: >>> > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: >>> >> > >>> >> > This weekend I loaded FC4 onto my server that had been running >>> RH8. >>> Everything seems to have gone smoothly EXCEPT the LAN does not work. >>> >> It >>> >> > seems to find the two ethernet interfaces, but does not talk to >>> the >>> remainder of the network. I've tried both static IP and DHCP. Neither seems to work. Do I need a special driver for the NIC? If so, where do >>> >> I >>> >> > find it, and how do I install it? >>> >> > >>> >> > THANKS! >>> >> > >>> >> > Harold >>> >> > >>> >> Following up... I found the e100 driver at >>> >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm and >>> followed the instructions there. Stuff is still not working. Looking at >>> /var/log/messages, I see >>> >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr >>> 00:E0:81:03:AF:3C >>> >> I see a similar message for eth1. >>> >> A while later is >>> >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex >>> >> A while later it cannot find ntp.org >>> >> Then NETDEV WATCHDOG eth0; transmit timed out >>> >> then another watchdog message. >>> >> Any ideas? >>> > >>> > First, as the root user, do "ifconfig" and verify that there's >>> actually >>> IP addresses assigned to your NIC. Next (also as root), do "netstat -rn" >>> and verify that the default gateway is pointing at your router. >>> > >>> > If that's all good, then you may be blocked by either iptables or >>> SELinux. Try turning off iptables temporarily by "service iptables off" >>> (as root again). If that doesn't work, try (as root) "setenforce 0" to >>> temporarily disable SELinux. >>> > >>> Thanks for the responses! It's really a pain to not have network connectivity. I can't just copy and paste stuff into an email. Instead, >>> I'm copying off one screen and typing on another (my laptop). So excuse >>> the typos! It's interesting that I'm having network problems with this one >>> machine. I've installed FC4 on another server and my laptop with no problem. Oh well... >>> I tried the stuff above to get the network back and was about to type all >>> the results when I thought I'd try something else (anything to avoid typing all that stuff). This is a dual processor machine that had always >>> worked fine using SMP on RH8. I tried telling it to NOT run smp on a reboot, and the network works great! No other changes! I'll mess with it >>> some more in the next couple days. Is anyone else running smp on FC4? >> I do, a lot. Two things to check...first, make bloody sure the motherboard is running the latest BIOS from the vendor. If this is an AMD-based SMP machine, try booting with the "noapic" option set (add " noapic" to the end of the kernel line at the grub boot screen). If you don't know how to do that: >> 1. Boot the machine. >> 2. At the screen that displays the various kernels, use the arrow keys to select the SMP kernel and hit "E". >> 3. Use the arrow keys to scroll down to the line that starts with "kernel". >> 4. Hit "E" again. Use the arrow keys to go to the end of the line. 5. Put in " noapic" (don't forget the space) at the end of the line. 6. Hit "ENTER" to exit the edit mode, then "B" to boot the machine. 7. The machine should now boot with the "noapic" option. >> NOTE: This is temporary and will only survive this boot. If you need the "noapic" option permanently, you must edit the /boot/grub/grub.conf file. > > > Thanks! I'll give it a try! The BIOS is the original one that came with the board (maybe 5 years ago). I haven't done any BIOS upgrades in a while, but back when I did, they seemed to assume you were running DOS. I > just looked at the Tyan website and see that BIOS updates are done by booting from floppy with DOS. I'll try upgrading the BIOS as soon as I can > find the time (within a week, I hope). Ideally that will ALSO fix the problem I had when I tried a pair of 80G drives (install went fine, but then during reboot the drives could not be found by FC4... the BIOS says they're there, though.). > > THANKS! > > Harold > Following up on this, the bios update DID get the NIC working! I'm really surprised the bios had anything to do with the NIC. I tend to think of the old days where bios did more basic things... Anyway, it works! The update still doesn't make my new Hitachi 80G drives work, but the old 40G drives are working fine, so I guess I'll stick with them for a while. During the FC4 install, pretty early in the install, I get a complaint that hda could not be found. The system then continues with the install. When installing the file system, it properly identifies both drives. The installation then continues fine. On reboot, the system starts and loads some stuff and then gives some sort of drive not found error. Error messages on reboot include: Couldn't find device with uuid '.....' (skipping the long numbers) Couldn'tfind all physical volumes for volume group VolGroup01. Couldn't find device with uuid '.....' (same id as last time) Volume group "VolGroup01" not found ERROR: /bin/lvm exited abnormally with value 5 !(pid 396). ... bunch more error messages, then kernel panic. So, I guess the bios perhaps doesn't like these drives? But it (and FC4) seem to identify them properly. Harold From rstevens at vitalstream.com Mon Jan 23 18:00:28 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 23 Jan 2006 10:00:28 -0800 Subject: FC4 and Intel 82559 NIC? In-Reply-To: <50961.192.168.1.1.1137882235.squirrel@sujan.hallikainen.org> References: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> <1137001001.3340.337.camel@prophead.corp.publichost.com> <42480.207.177.227.29.1137001749.squirrel@sujan.hallikainen.org> <50961.192.168.1.1.1137882235.squirrel@sujan.hallikainen.org> Message-ID: <1138039228.6444.325.camel@prophead.corp.publichost.com> On Sat, 2006-01-21 at 14:23 -0800, Harold Hallikainen wrote: > > > >> On Tue, 2006-01-10 at 20:46 -0800, Harold Hallikainen wrote: > >>> > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: > >>> >> > > >>> >> > This weekend I loaded FC4 onto my server that had been running > >>> RH8. > >>> Everything seems to have gone smoothly EXCEPT the LAN does not work. > >>> >> It > >>> >> > seems to find the two ethernet interfaces, but does not talk to > >>> the > >>> remainder of the network. I've tried both static IP and DHCP. Neither > seems to work. Do I need a special driver for the NIC? If so, where do > >>> >> I > >>> >> > find it, and how do I install it? > >>> >> > > >>> >> > THANKS! > >>> >> > > >>> >> > Harold > >>> >> > > >>> >> Following up... I found the e100 driver at > >>> >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm > and > >>> followed the instructions there. Stuff is still not working. Looking > at > >>> /var/log/messages, I see > >>> >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr > >>> 00:E0:81:03:AF:3C > >>> >> I see a similar message for eth1. > >>> >> A while later is > >>> >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex > >>> >> A while later it cannot find ntp.org > >>> >> Then NETDEV WATCHDOG eth0; transmit timed out > >>> >> then another watchdog message. > >>> >> Any ideas? > >>> > > >>> > First, as the root user, do "ifconfig" and verify that there's > >>> actually > >>> IP addresses assigned to your NIC. Next (also as root), do "netstat -rn" > >>> and verify that the default gateway is pointing at your router. > >>> > > >>> > If that's all good, then you may be blocked by either iptables or > >>> SELinux. Try turning off iptables temporarily by "service iptables off" > >>> (as root again). If that doesn't work, try (as root) "setenforce 0" > to > >>> temporarily disable SELinux. > >>> > > >>> Thanks for the responses! It's really a pain to not have network > connectivity. I can't just copy and paste stuff into an email. > Instead, > >>> I'm copying off one screen and typing on another (my laptop). So > excuse > >>> the typos! It's interesting that I'm having network problems with this > one > >>> machine. I've installed FC4 on another server and my laptop with no > problem. Oh well... > >>> I tried the stuff above to get the network back and was about to type all > >>> the results when I thought I'd try something else (anything to avoid > typing all that stuff). This is a dual processor machine that had > always > >>> worked fine using SMP on RH8. I tried telling it to NOT run smp on a > reboot, and the network works great! No other changes! I'll mess with > it > >>> some more in the next couple days. Is anyone else running smp on FC4? > >> I do, a lot. Two things to check...first, make bloody sure the > motherboard is running the latest BIOS from the vendor. If this is an > AMD-based SMP machine, try booting with the "noapic" option set (add " > noapic" to the end of the kernel line at the grub boot screen). If you > don't know how to do that: > >> 1. Boot the machine. > >> 2. At the screen that displays the various kernels, use the arrow keys > to select the SMP kernel and hit "E". > >> 3. Use the arrow keys to scroll down to the line that starts with > "kernel". > >> 4. Hit "E" again. Use the arrow keys to go to the end of the line. 5. > Put in " noapic" (don't forget the space) at the end of the line. 6. > Hit "ENTER" to exit the edit mode, then "B" to boot the machine. 7. The > machine should now boot with the "noapic" option. > >> NOTE: This is temporary and will only survive this boot. If you need > the "noapic" option permanently, you must edit the /boot/grub/grub.conf > file. > > > > > > Thanks! I'll give it a try! The BIOS is the original one that came with > the board (maybe 5 years ago). I haven't done any BIOS upgrades in a > while, but back when I did, they seemed to assume you were running DOS. > I > > just looked at the Tyan website and see that BIOS updates are done by > booting from floppy with DOS. I'll try upgrading the BIOS as soon as I > can > > find the time (within a week, I hope). Ideally that will ALSO fix the > problem I had when I tried a pair of 80G drives (install went fine, but > then during reboot the drives could not be found by FC4... the BIOS says > they're there, though.). > > > > THANKS! > > > > Harold > > > > Following up on this, the bios update DID get the NIC working! I'm really > surprised the bios had anything to do with the NIC. I tend to think of the > old days where bios did more basic things... Anyway, it works! The update > still doesn't make my new Hitachi 80G drives work, but the old 40G drives > are working fine, so I guess I'll stick with them for a while. During the > FC4 install, pretty early in the install, I get a complaint that hda could > not be found. The system then continues with the install. When installing > the file system, it properly identifies both drives. The installation then > continues fine. On reboot, the system starts and loads some stuff and then > gives some sort of drive not found error. > > Error messages on reboot include: > Couldn't find device with uuid '.....' (skipping the long numbers) > Couldn'tfind all physical volumes for volume group VolGroup01. > Couldn't find device with uuid '.....' (same id as last time) > Volume group "VolGroup01" not found > ERROR: /bin/lvm exited abnormally with value 5 !(pid 396). > > ... bunch more error messages, then kernel panic. > > So, I guess the bios perhaps doesn't like these drives? But it (and FC4) > seem to identify them properly. It appears that there's a spinup issue with one of the drives. You set up LVM and one of the drives that makes up the volume group (a "physical volume" or "PV") didn't answer the bell. So, the volume group ("VG") couldn't be created. Without the VG, the logical volume ("LV") couldn't be brought up and since you probably have "/" on it, you don't have the root of the filesystem. See if there's a setting on your BIOS that causes the drives to spin up at power up rather than when the bus is scanned. This will give the drives a bit longer to spin up and the laggard drive may come up in time for the PV scan to see it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Do you know how to save five drowning lawyers? No? GOOD! - ---------------------------------------------------------------------- From pwambach at gmail.com Tue Jan 24 18:43:30 2006 From: pwambach at gmail.com (Patrick Wambach) Date: Tue, 24 Jan 2006 11:43:30 -0700 Subject: Fedora Install/Upgrade from RedHat 8.0 Message-ID: <000c01c62116$13591480$0c01a8c0@WAMBACHDELL> I am a Windows Admin looking to learn more about linux so any help would be appreciated. I have an older laptop that I setup a couple of years ago with Redhat 8.0 with kernel 2.4.18. The problem that I have is that it does not have an internal CDROM drive or floppy or BIOS that supports USB booting. I have downloaded the FEDORA 5 Test 2 DVD and was wondering if there is a way to run the install/upgrade on an existing red hat install to upgrade to the latest Fedora. In Windows you can kick off the installer ontop of the existing Windows install. Is there an equiviant option for Fedora?? Thanks in advance. Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at tootai.net Tue Jan 24 18:57:37 2006 From: admin at tootai.net (Administrator TOOTAI) Date: Tue, 24 Jan 2006 19:57:37 +0100 Subject: Fedora Install/Upgrade from RedHat 8.0 In-Reply-To: <000c01c62116$13591480$0c01a8c0@WAMBACHDELL> References: <000c01c62116$13591480$0c01a8c0@WAMBACHDELL> Message-ID: <43D678A1.4030908@tootai.net> Patrick Wambach a ?crit : > I am a Windows Admin looking to learn more about linux so any help > would be appreciated. > > > > I have an older laptop that I setup a couple of years ago with Redhat > 8.0 with kernel 2.4.18. The problem that I have is that it does not > have an internal CDROM drive or floppy or BIOS that supports USB > booting. I have downloaded the FEDORA 5 Test 2 DVD and was wondering > if there is a way to run the install/upgrade on an existing red hat > install to upgrade to the latest Fedora. In Windows you can kick off > the installer ontop of the existing Windows install. Is there an > equiviant option for Fedora?? > > > I updated from RedHat 7.3 to Fedora Core 3 through internet using apt-get tools. Here you will find an exemple http://fedoranews.org/ghenry/apt-fc2/ It should be also possible to do it with up2date. And once you will have yum to your disposal, you can use it too. -- Daniel From tkobayas at indiana.edu Tue Jan 24 19:04:59 2006 From: tkobayas at indiana.edu (takatsugu kobayashi) Date: Tue, 24 Jan 2006 14:04:59 -0500 Subject: unable to mount a CD and cannot listen to music Message-ID: <43D67A5B.5010306@indiana.edu> Dear all, I have recently migrated from Windows to Redhat WS4. I have a problem regarding my CD-DVDROM. When I inserted a music CD and tried to listen to it, audio player started to run, but cannot listen to music at all. I checked my sound card configuration, but it is properly working. I googled for the solution, and changed sound stuff with kmix, but nothing happened....... Then I thought something should be wrong with mounting CDROMs, and it is a problem. When I tried to mount a CDROM, I got an error message like /dev/hdb: Input/output error mount: block device /dev/hdb is write-protected, mounting read-only /dev/hdb: Input/output error mount: /dev/hdb: can't read superblock I would not mind the first error because this was a music CD. But I have no idea why I cannot mount any CDs...... I appreciate any help in advance. Taka From rstevens at vitalstream.com Tue Jan 24 19:33:01 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 24 Jan 2006 11:33:01 -0800 Subject: Fedora Install/Upgrade from RedHat 8.0 In-Reply-To: <000c01c62116$13591480$0c01a8c0@WAMBACHDELL> References: <000c01c62116$13591480$0c01a8c0@WAMBACHDELL> Message-ID: <1138131181.16107.13.camel@prophead.corp.publichost.com> On Tue, 2006-01-24 at 11:43 -0700, Patrick Wambach wrote: > I am a Windows Admin looking to learn more about linux so any help > would be appreciated. > > > > I have an older laptop that I setup a couple of years ago with Redhat > 8.0 with kernel 2.4.18. The problem that I have is that it does not > have an internal CDROM drive or floppy or BIOS that supports USB > booting. I have downloaded the FEDORA 5 Test 2 DVD and was wondering > if there is a way to run the install/upgrade on an existing red hat > install to upgrade to the latest Fedora. In Windows you can kick off > the installer ontop of the existing Windows install. Is there an > equiviant option for Fedora?? Whoo, boy. How did you install RH8.0? You had to have SOME form of removable media. Someone else replied that they did an up2date upgrade from 7.3 to FC3. You can try that but it may not be successful (such a major upgrade can be problematic). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Brain: The organ with which we think that we think. - ---------------------------------------------------------------------- From redhat at buglecreek.com Tue Jan 24 23:03:17 2006 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Tue, 24 Jan 2006 16:03:17 -0700 Subject: ssh log weirdness Message-ID: <1138143797.11355.252677601@webmail.messagingengine.com> I noticed while going over log entries that ssh seems to be logging system access strangely. I have a user with a account that has password aging enabled: "Chage -l userX" says the account will expire on Jan 12 2006. While looking at /var/log/messages and /var/log/secure I saw the following: Jan 23 18:43:16 server sshd(pam_unix)[20699]: session opened for user userX by (uid=0) Jan 23 18:43:16 server sshd(pam_unix)[20699]: session closed for user userX Jan 23 18:43:16 server sshd[20690]: Accepted password for userX from xxx.xxx.xxx.xxx port 1512 ssh2 With password aging enabled, I don't see how this is possible. Using the "last" and "lastlog" commands it shows that this user last logged in on Jan 12 2006. Password aging definitely works, I tested it. Anyone have any ideas how this can happen? It is interesting that the open and close times are the same in /var/log/messages. I have checked the shadow and password file and all seems normal. When I try to su to this user from root it says the password is expired. All seems normal except for those log entries. System runs Red Hat Enterprise Linux ES release 4 Thanks From j.wirt.112 at comcast.net Wed Jan 25 01:42:39 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Tue, 24 Jan 2006 20:42:39 -0500 Subject: Can't get to Grub from FSRD Wait: GOT TO GRUB!! In-Reply-To: <20060124060655.ZVGB3131.fed1rmmtao07.cox.net@localmail.TeraByteUnlimited.com> References: <20060124060655.ZVGB3131.fed1rmmtao07.cox.net@localmail.TeraByteUnlimited.com> Message-ID: <43D6D78F.4000905@comcast.net> WAIT! If I select the up.down arrows at the opening boot options it seems to hold the boot screen. Then, there is a message to enter "c" at the prompt. I did and a "grub>" prompt appears. Now I think I just need to follow the instructions at www.terabyteunlimited.com/kb/article.php?id=232. So, you have to select Linux FSRD at the openning screen to apparently select the boot "operating system" or the boot quickly pulls that screen away and one is booted to a "#" prompt. (What is the "#" prompt?) To repeat the previous paragrpah, if I hit the up/down arrows to induce selection of the "only" operating system listed on the boot menu, and then "c," the boot sequence conitnues to what is apparently a Grub prompt. Contrary to the help on the boot screen, no white bar appears when the up.down arrows are selected to select the operating system. So, I will try following the rest of the #2 instructions later tonight. I feel like I will have be crossed the Rubicon, if I succed. But, if I move Grub and I don't send it to the right place, the goose may be cooked (i.e., my existing Linux installation will be lost forever). My concern is that, when attempting to move Grub using the Linux Rescue from the install disk, Linux Rescue would not recognizing any of the Linux partitions (boot, root, and swap) that I KNOW are on drive 2. The question is will moving _Grub_ using the Grub install commands actually move Grub to a "partition's boot sector, (from) than the MBR," as apparant;y is m,y goal (from the BOOTIT instructions). I am not clear exactly what this means. What is a "partition's boot sector?" The MBR of the partition? I understand that Linux can be configured to have both a /boot sector (or directory), which my second drive apparently has, and a "root" directory on a different partition. The configuration of the drives on my system is (as reported by BOOTIT) is the following: Drive 0 CDrive Partition 5 gb XP is here '----------- Partition 5 gb free space Extended Partition 29gb extended F Drive Volume 10gb logical drive (Windows programs and data) G drive Volume 10gb logical drive '----------- Volume 5 gb free space Bootit EMBPM Partition 8gb Drive 1 MBR Entry 0 Partititon 39mb Dell boot utility NO NAME-1 Partition 2565mb FAT32 (I think this is free space; put there by Dell) MBR Entry 2 Partititon 102mb Linux native ( I think this is Linux MBR partition) MBR Entry 3 Partition 32gb Extended unamed Volume 30043mb Linux Native (I think this is where the Linux "/" directory is) unnamed Volume 2gb Linux Swap/Solaris As delivered originally by Dell, Drive 0 above was Drive 1 on my machine and Drive 1 was Drive 0. Drive 0 had Linux installed by Dell on it which rran, fine. Drive 1 was blank, or rather had an empty partition with the Linux file system on it. To install XP on this (new) blank drive I swapped the SCSI IDs of these two drives, which effectively made drive 1 into drive 0 and drive 0 into drive 1. Then, I created the partition structure on the blank drive 0 as shown above and installed Bootit and Windows XP to it. After getting XP to run (it runs great!), my goal was to add the old (i.e., moved) copy of Linux (now on drive 1) to the Bootit menu so I can multi-boot Linux and XP (or "Windoz" as the Linuxers call it). From the BOOTIT instructions, my understanding is that in order to make this possible, I need to move GRUB from the Linux MBR (where the Linux /boot directory is?) to the "unamed" Linux Native Volume shown above. This is what I am trying to do with the FSRD disk I made now. Apparently, Dell installed Linux with separate "boot" and "root" partitions. Anyway, that's how I read the partition structure above and this is confirmed by comments from the RedHat install list group.. My basic question is, do I have all of this right above (i.e., mainly that I need to move Grub from the Linux MBR to the Linux Native Volume, and then add the Linux Native Volume as the boot item in BOOTIT). My second quesion is, will this work? In the end, will I be able to boot my machine to either XP or Linux? I have Linux RedHat Enterprise v3. The drives are U320 Seagate 30 gb SCSI's. I actually have three U320s but the first two (drive 0) are RAID 0'd together into one drive. Thanks. I've been working on this for quite a long time with increments of progress forward week-by-week. Now I need to strike pay dirt. i know all the Grub commands I need to move reposition Grub if it is where I think it is, as above. I have gotten a lot of help from Rick Stevens on the RedHat Install group but they know nothing about Bootit. So I need some help from the BootIt world. Thanks, in advance, as they say. John Wirt Wash, DC, home of corruption. John David F. wrote: >I'll have to look in to it but maybe just type grub or GRUB > > > > > >Regards, > >-- >David F. >TeraByte Unlimited >http://www.terabyteunlimited.com > > > > > >>-----Original Message----- >>From: John Wirt [mailto:j.wirt.112 at comcast.net] >>Sent: Monday, January 23, 2006 9:47 PM >>To: Terabyte Unlimited >>Subject: Can't get to Grub from FSRD >> >>David, >> >>I am trying to get to a Grub prompt using the 2nd method >>described in the Additional Information section of Grub Article #2. >> >>My problem is that the FSRD disk boots to a prompt that does >>not allow me to enter "" as specified in the instructions >>to get to a Grub prompt. >> >>I am looking at a "Welcome to the Linux FSRD - Version 1.03" >>screen that ends in a prompt like this: >> >> # _ >> >>If I enter "c" (the letter 'c'), the screen says, "c: not >>found" and returns to the # _ prompt. >> >>If I enter "", the screen says, " not found. And so on. >>In other words, no Grub prompt. >> >>I don't; know what the Grub prompt looks like but I don't >>think # is it.. >> >>So apparently, the instructions in the Additional Information >>section, subsection 2) are wrong. >> >>How can I get to a Grub prompt with the FSRD boot disk? >> >>Thank you. >> >>John Wirt >> >> >> >> > > > > > From j.wirt.112 at comcast.net Wed Jan 25 02:47:48 2006 From: j.wirt.112 at comcast.net (John Wirt) Date: Tue, 24 Jan 2006 21:47:48 -0500 Subject: Can't get to Grub from FSRD Wait: GOT TO GRUB!!]] Message-ID: <43D6E6D4.5040102@comcast.net> (reformatted version-please help) WAIT! If I select the up.down arrows at the opening boot options it seems to hold the boot screen. Then, there is a message to enter "c" at the prompt. I did and a "grub>" prompt appears. Now I think I just need to follow the instructions at www.terabyteunlimited.com/kb/article.php?id=232. So, you have to select Linux FSRD at the openning screen to apparently select the boot "operating system" or the boot quickly pulls that screen away and one is booted to a "#" prompt. (What is the "#" prompt?) To repeat the previous paragrpah, if I hit the up/down arrows to induce selection of the "only" operating system listed on the boot menu, and then "c," the boot sequence conitnues to what is apparently a Grub prompt. Contrary to the help on the boot screen, no white bar appears when the up.down arrows are selected to select the operating system. So, I will try following the rest of the #2 instructions later tonight. I feel like I will have be crossed the Rubicon, if I succed. But, if I move Grub and I don't send it to the right place, the goose may be cooked (i.e., my existing Linux installation will be lost forever). My concern is that, when attempting to move Grub using the Linux Rescue from the install disk, Linux Rescue would not recognizing any of the Linux partitions (boot, root, and swap) that I KNOW are on drive 2. The question is will moving _Grub_ using the Grub install commands actually move Grub to a "partition's boot sector, (from) than the MBR," as apparant;y is m,y goal (from the BOOTIT instructions). I am not clear exactly what this means. What is a "partition's boot sector?" The MBR of the partition? I understand that Linux can be configured to have both a /boot sector (or directory), which my second drive apparently has, and a "root" directory on a different partition. The configuration of the drives on my system is (as reported by BOOTIT) is the following: Drive 0 CDrive Part'n 5 gb XP is here '------ Part' 5 gb free space Extended Part'n 29gb extended F Drive Volume 10gb logical drive (Windows prog and data) G drive Volume 10gb logical drive '----------- Volume 5 gb free space Bootit EMBPM Partition 8mb Drive 1 MBR Entry 0 Partititon 39mb Dell boot utility NO NAME-1 Partition 2565mb FAT32 (I think this is free space) MBR Entry 2 Partititon 102mb Linux native (Linux MBR partition?) MBR Entry 3 Partition 32gb Extended unamed Volume 30043mb Linux Native (the Linux "/"?) unnamed Volume 2gb Linux Swap/Solaris As delivered originally by Dell, Drive 0 above was Drive 1 on my machine and Drive 1 was Drive 0. Drive 0 had Linux installed by Dell on it which ran, fine. Drive 1 was blank, or rather had an empty partition with the Linux file system on it. To install XP on this (new) blank drive I swapped the SCSI IDs of these two drives, which effectively made drive 1 into drive 0 and drive 0 into drive 1. Then, I created the partition structure on the blank drive 0 as shown above and installed Bootit and Windows XP to it. After getting XP to run (it runs great!), my goal was to add the old (i.e., moved) copy of Linux (now on drive 1) to the Bootit menu so I can multi-boot Linux and XP (or "Windoz" as the Linuxers call it). >From the BOOTIT instructions, my understanding is that in order to make this possible, I need to move GRUB from the Linux /boot directory (which is in the MBR Entry 2 partition?) to the "unamed" Linux Native Volume shown above. This is what I am trying to do with the FSRD disk I made now. Apparently, Dell installed Linux with separate "boot" and "root" partitions. Anyway, that's how I read the partition structure above and this is confirmed by comments from the RedHat install list group. Is this correct? My basic question is, do I have all of this right above? I.e., mainly that I need to move Grub from the Linux MBR Entry 2 partition to the Linux Native Volume, and then add the Linux Native Volume as the boot item in BOOTIT? My second quesion is, will this work? In the end, will I be able to boot my machine to either XP or Linux? I have Linux RedHat Enterprise v3. The drives are U320 Seagate 30 gb SCSI's. I actually have three U320s but the first two (drive 0) are RAID 0'd together into one drive. Thanks. I've been working on this for quite a long time with increments of progress forward week-by-week. Now I need to strike pay dirt. i know all the Grub commands I need to move reposition Grub if it is where I think it is, as above. I have gotten a lot of help from Rick Stevens on the RedHat Install group but they know nothing about Bootit. So I need some help from the BootIt world. Thanks, in advance, as they say. John Wirt Wash, DC, home of corruption. John David F. wrote: >I'll have to look in to it but maybe just type grub or GRUB > > > > > >Regards, > >-- >David F. >TeraByte Unlimited >http://www.terabyteunlimited.com > > > > > >>-----Original Message----- >>From: John Wirt [mailto:j.wirt.112 at comcast.net] >>Sent: Monday, January 23, 2006 9:47 PM >>To: Terabyte Unlimited >>Subject: Can't get to Grub from FSRD >> >>David, >> >>I am trying to get to a Grub prompt using the 2nd method >>described in the Additional Information section of Grub Article #2. >> >>My problem is that the FSRD disk boots to a prompt that does >>not allow me to enter "" as specified in the instructions >>to get to a Grub prompt. >> >>I am looking at a "Welcome to the Linux FSRD - Version 1.03" >>screen that ends in a prompt like this: >> >> # _ >> >>If I enter "c" (the letter 'c'), the screen says, "c: not >>found" and returns to the # _ prompt. >> >>If I enter "", the screen says, " not found. And so on. >>In other words, no Grub prompt. >> >>I don't; know what the Grub prompt looks like but I don't >>think # is it.. >> >>So apparently, the instructions in the Additional Information >>section, subsection 2) are wrong. >> >>How can I get to a Grub prompt with the FSRD boot disk? >> >>Thank you. >> >>John Wirt >> >> >> >> > > > > > From bob at bobcatos.com Wed Jan 25 03:37:14 2006 From: bob at bobcatos.com (Bob McClure) Date: Tue, 24 Jan 2006 21:37:14 -0600 Subject: Can't get to Grub from FSRD Wait: GOT TO GRUB!!]] In-Reply-To: <43D6E6D4.5040102@comcast.net> References: <43D6E6D4.5040102@comcast.net> Message-ID: <43D6F26A.8030908@bobcatos.com> I have precious little experience with what you're trying to do, but can answer a few questions. John Wirt wrote: > (reformatted version-please help) > > WAIT! If I select the up.down arrows at the opening boot options it > seems to hold the boot screen. Then, there is a message to enter "c" > at the prompt. I did and a "grub>" prompt appears. Now I think I > just need to follow the instructions at > www.terabyteunlimited.com/kb/article.php?id=232. > > So, you have to select Linux FSRD at the openning screen to apparently > select the boot "operating system" or the boot quickly pulls that > screen away and one is booted to a "#" prompt. (What is the "#" prompt?) That is the root shell prompt. That is the command interpreter ready to do your bidding. > To repeat the previous paragrpah, if I hit the up/down arrows to > induce selection of the "only" operating system listed on the boot > menu, and then "c," the boot sequence conitnues to what is apparently > a Grub prompt. Contrary to the help on the boot screen, no white bar > appears when the up.down arrows are selected to select the operating > system. > > So, I will try following the rest of the #2 instructions later tonight. > > I feel like I will have be crossed the Rubicon, if I succed. But, if > I move Grub and I don't send it to the right place, the goose may be > cooked (i.e., my existing Linux installation will be lost forever). > > My concern is that, when attempting to move Grub using the Linux > Rescue from the install disk, Linux Rescue would not recognizing any > of the Linux partitions (boot, root, and swap) that I KNOW are on > drive 2. The question is will moving _Grub_ using the Grub install > commands actually move Grub to a "partition's boot sector, (from) than > the MBR," as apparant;y is m,y goal (from the BOOTIT instructions). Well, it doesn't really _move_ it, but it installs it in the boot sector. The MBR will be ignored. As drive 1, it is irrelevant. > > I am not clear exactly what this means. What is a "partition's boot > sector?" The MBR of the partition? Well, that's a way to think of it, but there's only one MBR on the disk and it's independent of all of the partitions. In fact, it is where the primary partition table is stored. The boot sector is the first sector of the partition. > I understand that Linux can be configured to have both a /boot > sector (or directory), It's not a /boot sector. There is a /boot directory on which is sometimes mounted what is rather loosely called a boot partition. > which my second drive apparently has, and a "root" directory on a > different partition. Yes, the "root" partition mounts on /, and is essential. A separate boot partition is sometimes required by some (especially older) BIOSs. I prefer to have a separate boot partition even on new systems. > The configuration of the drives on my system is (as reported by > BOOTIT) is the following: > > Drive 0 > CDrive Part'n 5 gb XP is here > '------ Part' 5 gb free space > Extended Part'n 29gb extended > F Drive Volume 10gb logical drive (Windows prog and data) G > drive Volume 10gb logical drive > '----------- Volume 5 gb free space > Bootit EMBPM Partition 8mb > > Drive 1 > MBR Entry 0 Partititon 39mb Dell boot utility NO NAME-1 > Partition 2565mb FAT32 (I think this is free space) > MBR Entry 2 Partititon 102mb Linux native (Linux MBR partition?) No, that's probably the boot partition, no relation to the MBR. > MBR Entry 3 Partition 32gb Extended > unamed Volume 30043mb Linux Native (the Linux "/"?) Probably. > unnamed Volume 2gb Linux Swap/Solaris > > As delivered originally by Dell, Drive 0 above was Drive 1 on my > machine and Drive 1 was Drive 0. Drive 0 had Linux installed by Dell > on it which ran, fine. Drive 1 was blank, or rather had an empty > partition with the Linux file system on it. > > To install XP on this (new) blank drive I swapped the SCSI IDs of > these two drives, which effectively made drive 1 into drive 0 and > drive 0 into drive 1. Then, I created the partition structure on the > blank drive 0 as shown above and installed Bootit and Windows XP to it. > After getting XP to run (it runs great!), my goal was to add the old > (i.e., moved) copy of Linux (now on drive 1) to the Bootit menu so I > can multi-boot Linux and XP (or "Windoz" as the Linuxers call it). And some other unflattering names. :-) > >> From the BOOTIT instructions, my understanding is that in order to make > > this possible, I need to move GRUB from the Linux /boot directory > (which is in the MBR Entry 2 partition?) to the "unamed" Linux Native > Volume shown above. This is what I am trying to do with the FSRD disk > I made now. Apparently, Dell installed Linux with separate "boot" and > "root" partitions. Anyway, that's how I read the partition structure > above and this is confirmed by comments from the RedHat install list > group. Is this correct? > > My basic question is, do I have all of this right above? I.e., mainly > that I need to move Grub from the Linux MBR Entry 2 partition to the > Linux Native Volume, and then add the Linux Native Volume as the boot > item in BOOTIT? IIRC Rick Stevens correctly responded to that question. I'm not qualified. > > My second quesion is, will this work? In the end, will I be able to > boot my machine to either XP or Linux? I think so. > > I have Linux RedHat Enterprise v3. The drives are U320 Seagate 30 gb > SCSI's. I actually have three U320s but the first two (drive 0) are > RAID 0'd together into one drive. > > Thanks. > > I've been working on this for quite a long time with increments of > progress forward week-by-week. Now I need to strike pay dirt. i know > all the Grub commands I need to move reposition Grub if it is where I > think it is, as above. I have gotten a lot of help from Rick Stevens > on the RedHat Install group but they know nothing about Bootit. So I > need some help from the BootIt world. > > Thanks, in advance, as they say. > > John Wirt > Wash, DC, home of corruption. > > > > > > > > > > John > > David F. wrote: > >> I'll have to look in to it but maybe just type grub or GRUB >> >> >> >> >> >> Regards, >> -- >> David F. >> TeraByte Unlimited >> http://www.terabyteunlimited.com >> >> >> >> >> >>> -----Original Message----- >>> From: John Wirt [mailto:j.wirt.112 at comcast.net] Sent: Monday, >>> January 23, 2006 9:47 PM >>> To: Terabyte Unlimited >>> Subject: Can't get to Grub from FSRD >>> >>> David, >>> >>> I am trying to get to a Grub prompt using the 2nd method described >>> in the Additional Information section of Grub Article #2. >>> >>> My problem is that the FSRD disk boots to a prompt that does not >>> allow me to enter "" as specified in the instructions to get to a >>> Grub prompt. >>> >>> I am looking at a "Welcome to the Linux FSRD - Version 1.03" screen >>> that ends in a prompt like this: >>> >>> # _ >>> >>> If I enter "c" (the letter 'c'), the screen says, "c: not found" >>> and returns to the # _ prompt. >>> >>> If I enter "", the screen says, " not found. And so on. In >>> other words, no Grub prompt. >>> >>> I don't; know what the Grub prompt looks like but I don't think # >>> is it.. >>> >>> So apparently, the instructions in the Additional Information >>> section, subsection 2) are wrong. >>> >>> How can I get to a Grub prompt with the FSRD boot disk? >>> >>> Thank you. >>> >>> John Wirt >>> Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob at bobcatos.com http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From hq4ever at gmail.com Wed Jan 25 17:56:15 2006 From: hq4ever at gmail.com (Maxim Vexler) Date: Wed, 25 Jan 2006 19:56:15 +0200 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES Message-ID: Hello, I used the driver supplied by the vendor [1] to add aditional drivers for the setup of redhat on intel SE7230nh1 server board. Now, we need to update to the updated kernel. Luckly the vendor does provide a driver to the RH4-ES-U1 kerenl but only in a img file format. i.e. sutible only for fresh install. I would like to use the driver provided by this image, which I downloaded and mounted by: <<< mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ >>> on my working system. Using rhn I have downloaded the new rpm kernel package and it's installed in the grub boot menu but when trying to boot the kernel I get kernel panic stating that no drives were found. Thank you for helping. [1] http://downloadfinder.intel.com/scripts-df-external/filter_results.aspx?strTypes=all&ProductID=2162&OSFullName=Red+Hat*+Enterprise+Linux+Desktop+4+Update+1&lang=eng&strOSs=117&submit=Go%21 -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? From rstevens at vitalstream.com Wed Jan 25 20:20:10 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 25 Jan 2006 12:20:10 -0800 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES In-Reply-To: References: Message-ID: <1138220410.16107.67.camel@prophead.corp.publichost.com> On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > Hello, > > I used the driver supplied by the vendor [1] to add aditional drivers > for the setup of redhat on intel SE7230nh1 server board. > > Now, we need to update to the updated kernel. Luckly the vendor does > provide a driver to the RH4-ES-U1 kerenl but only in a img file > format. i.e. sutible only for fresh install. > > I would like to use the driver provided by this image, which I > downloaded and mounted by: > <<< > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ > >>> > on my working system. > > Using rhn I have downloaded the new rpm kernel package and it's > installed in the grub boot menu but when trying to boot the kernel I > get kernel panic stating that no drives were found. You need to get into that /media/fd0 directory and find the driver itself. It'll have ".ko" after the name, e.g. "driver.ko". That will have to be put into the /lib/modules/(updated-kernel-version)/kernel/drivers/scsi directory, and you will then need to rebuild the initrd image for the new kernel. I can give you the commands, but I'll need a few things from you: 1. I need you to mount that image again and post the output of "find /media/fd0 -print" (run as the root user) 2. I need the kernel version number of the new kernel you installed. Or post the content of the /boot/grub/grub.conf file. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Thu Jan 26 01:51:24 2006 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Wed, 25 Jan 2006 18:51:24 -0700 (MST) Subject: Word To The Wise... Message-ID: <29743.198.60.114.90.1138240284.squirrel@webmail.ourldsfamily.com> I use VNC a lot. With Fedora Core 4, I was pleasantly surprized to see that I can share my desktop with some different options. The time came this past weekend when my wife (Windows XP Pro) needed to see something on my screen and so I VNCed to her PC and (you see what's coming don't you...) VNCed back to mine through that VNC window. You know the affect you get when you stand in a room with mirrors on both walls? You see yourself, looking at yourself, looking at you looking at yourself and so on and so on and so on... Do you know how hard it is to close a VNC window when it's regenerating one every few micro-seconds? Now you don't have to. I did it for you. ARRRRRRRRRRGGGGGGGGGHHH! HTH (someone). And I didn't want to get up and walk the 18 feet to where she has her PC. Laziness is its own punishment, someone wiser than I once said. Karl From DFEARON at llbean.com Thu Jan 26 17:30:34 2006 From: DFEARON at llbean.com (Dick Fearon) Date: Thu, 26 Jan 2006 12:30:34 -0500 Subject: Redhat-install-list Digest, Vol 23, Issue 25 Message-ID: -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of redhat-install-list-request at redhat.com Sent: Thursday, January 26, 2006 12:01 PM To: redhat-install-list at redhat.com Subject: Redhat-install-list Digest, Vol 23, Issue 25 Send Redhat-install-list mailing list submissions to redhat-install-list at redhat.com To subscribe or unsubscribe via the World Wide Web, visit https://www.redhat.com/mailman/listinfo/redhat-install-list or, via email, send a message with subject or body 'help' to redhat-install-list-request at redhat.com You can reach the person managing the list at redhat-install-list-owner at redhat.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Redhat-install-list digest..." Today's Topics: 1. Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES (Maxim Vexler) 2. Re: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES (Rick Stevens) 3. Word To The Wise... (karlp at ourldsfamily.com) ---------------------------------------------------------------------- Message: 1 Date: Wed, 25 Jan 2006 19:56:15 +0200 From: Maxim Vexler Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES To: redhat-install-list at redhat.com Cc: support at intel.com Message-ID: Content-Type: text/plain; charset=UTF-8 Hello, I used the driver supplied by the vendor [1] to add aditional drivers for the setup of redhat on intel SE7230nh1 server board. Now, we need to update to the updated kernel. Luckly the vendor does provide a driver to the RH4-ES-U1 kerenl but only in a img file format. i.e. sutible only for fresh install. I would like to use the driver provided by this image, which I downloaded and mounted by: <<< mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ >>> on my working system. Using rhn I have downloaded the new rpm kernel package and it's installed in the grub boot menu but when trying to boot the kernel I get kernel panic stating that no drives were found. Thank you for helping. [1] http://downloadfinder.intel.com/scripts-df-external/filter_results.aspx? strTypes=all&ProductID=2162&OSFullName=Red+Hat*+Enterprise+Linux+Desktop +4+Update+1&lang=eng&strOSs=117&submit=Go%21 -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? ------------------------------ Message: 2 Date: Wed, 25 Jan 2006 12:20:10 -0800 From: Rick Stevens Subject: Re: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES To: Getting started with Red Hat Linux Message-ID: <1138220410.16107.67.camel at prophead.corp.publichost.com> Content-Type: text/plain On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > Hello, > > I used the driver supplied by the vendor [1] to add aditional drivers > for the setup of redhat on intel SE7230nh1 server board. > > Now, we need to update to the updated kernel. Luckly the vendor does > provide a driver to the RH4-ES-U1 kerenl but only in a img file > format. i.e. sutible only for fresh install. > > I would like to use the driver provided by this image, which I > downloaded and mounted by: > <<< > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img > /media/fd0/ > >>> > on my working system. > > Using rhn I have downloaded the new rpm kernel package and it's > installed in the grub boot menu but when trying to boot the kernel I > get kernel panic stating that no drives were found. You need to get into that /media/fd0 directory and find the driver itself. It'll have ".ko" after the name, e.g. "driver.ko". That will have to be put into the /lib/modules/(updated-kernel-version)/kernel/drivers/scsi directory, and you will then need to rebuild the initrd image for the new kernel. I can give you the commands, but I'll need a few things from you: 1. I need you to mount that image again and post the output of "find /media/fd0 -print" (run as the root user) 2. I need the kernel version number of the new kernel you installed. Or post the content of the /boot/grub/grub.conf file. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Have you noticed that "human readable" configuration file - - directives are beginning to resemble COBOL code? - ---------------------------------------------------------------------- ------------------------------ Message: 3 Date: Wed, 25 Jan 2006 18:51:24 -0700 (MST) From: karlp at ourldsfamily.com Subject: Word To The Wise... To: redhat-install-list at redhat.com Message-ID: <29743.198.60.114.90.1138240284.squirrel at webmail.ourldsfamily.com> Content-Type: text/plain;charset=iso-8859-1 I use VNC a lot. With Fedora Core 4, I was pleasantly surprized to see that I can share my desktop with some different options. The time came this past weekend when my wife (Windows XP Pro) needed to see something on my screen and so I VNCed to her PC and (you see what's coming don't you...) VNCed back to mine through that VNC window. You know the affect you get when you stand in a room with mirrors on both walls? You see yourself, looking at yourself, looking at you looking at yourself and so on and so on and so on... Do you know how hard it is to close a VNC window when it's regenerating one every few micro-seconds? Now you don't have to. I did it for you. ARRRRRRRRRRGGGGGGGGGHHH! HTH (someone). And I didn't want to get up and walk the 18 feet to where she has her PC. Laziness is its own punishment, someone wiser than I once said. Karl ------------------------------ _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list End of Redhat-install-list Digest, Vol 23, Issue 25 *************************************************** From redhat at buglecreek.com Thu Jan 26 18:22:35 2006 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Thu, 26 Jan 2006 11:22:35 -0700 Subject: Idle ssh users Message-ID: <1138299755.5962.252840362@webmail.messagingengine.com> On occasion we have have people login via ssh to some of our RH linux systems and they do not log out. When doing a "w" or "who" we see idle connections for days sometimes. What is the recommended way to log these users out? Is there a better way than just killing the users ssh process? Thanks From rstevens at vitalstream.com Thu Jan 26 18:47:42 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 26 Jan 2006 10:47:42 -0800 Subject: Word To The Wise... In-Reply-To: <29743.198.60.114.90.1138240284.squirrel@webmail.ourldsfamily.com> References: <29743.198.60.114.90.1138240284.squirrel@webmail.ourldsfamily.com> Message-ID: <1138301262.27892.8.camel@prophead.corp.publichost.com> On Wed, 2006-01-25 at 18:51 -0700, karlp at ourldsfamily.com wrote: > I use VNC a lot. With Fedora Core 4, I was pleasantly surprized to see > that I can share my desktop with some different options. The time came > this past weekend when my wife (Windows XP Pro) needed to see something on > my screen and so I VNCed to her PC and (you see what's coming don't > you...) VNCed back to mine through that VNC window. > > You know the affect you get when you stand in a room with mirrors on both > walls? You see yourself, looking at yourself, looking at you looking at > yourself and so on and so on and so on... > > Do you know how hard it is to close a VNC window when it's regenerating > one every few micro-seconds? Now you don't have to. I did it for you. > > ARRRRRRRRRRGGGGGGGGGHHH! > > HTH (someone). And I didn't want to get up and walk the 18 feet to where > she has her PC. Laziness is its own punishment, someone wiser than I once > said. You could have "su - killall vncviewer" on your box to "end the madness", but that'd be too simple... :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - - process. Prepare to vi." - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Jan 26 19:17:20 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 26 Jan 2006 11:17:20 -0800 Subject: Idle ssh users In-Reply-To: <1138299755.5962.252840362@webmail.messagingengine.com> References: <1138299755.5962.252840362@webmail.messagingengine.com> Message-ID: <1138303040.27892.21.camel@prophead.corp.publichost.com> On Thu, 2006-01-26 at 11:22 -0700, redhat at buglecreek.com wrote: > On occasion we have have people login via ssh to some of our RH linux > systems and they do not log out. When doing a "w" or > "who" we see idle connections for days sometimes. What is the > recommended way to log these users out? Is there a better way than just > killing the users ssh process? Not really. You can write a script that parses the output of the "last" or "who" commands and kills off the processes involved. For example: #!/bin/bash PATH=$PATH;/usr/bin;/bin WHOLIST=`who -u` for LINE in $WHOLIST; do echo $LINE | awk '{if (index($6, "old")) system("kill "$7);}' done would kill any user's login process that had been idle for over a day. I'd set that up as a shell script and run a cron job for it every, oh, four hours or so, depending on what you want to do. See "info who" for details on the "-u" option. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You know the old saying--any technology sufficiently advanced is - - indistinguishable from a Perl script - - --Programming Perl, 2nd Edition - ---------------------------------------------------------------------- From hq4ever at gmail.com Thu Jan 26 19:51:09 2006 From: hq4ever at gmail.com (Maxim Vexler) Date: Thu, 26 Jan 2006 21:51:09 +0200 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES In-Reply-To: <1138220410.16107.67.camel@prophead.corp.publichost.com> References: <1138220410.16107.67.camel@prophead.corp.publichost.com> Message-ID: On 1/25/06, Rick Stevens wrote: > On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > > Hello, > > > > I used the driver supplied by the vendor [1] to add aditional drivers > > for the setup of redhat on intel SE7230nh1 server board. > > > > Now, we need to update to the updated kernel. Luckly the vendor does > > provide a driver to the RH4-ES-U1 kerenl but only in a img file > > format. i.e. sutible only for fresh install. > > > > I would like to use the driver provided by this image, which I > > downloaded and mounted by: > > <<< > > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ > > >>> > > on my working system. > > > > Using rhn I have downloaded the new rpm kernel package and it's > > installed in the grub boot menu but when trying to boot the kernel I > > get kernel panic stating that no drives were found. > Thank you for helping. > You need to get into that /media/fd0 directory and find the driver > itself. It'll have ".ko" after the name, e.g. "driver.ko". That will > have to be put into the > > /lib/modules/(updated-kernel-version)/kernel/drivers/scsi > > directory, and you will then need to rebuild the initrd image for the > new kernel. I can give you the commands, but I'll need a few things > from you: > > 1. I need you to mount that image again and post the output of > "find /media/fd0 -print" (run as the root user) > Sure, I'm doing this on my debian testing server but as soon as get it all working I will redo it on the RH box. <<< debsrv:~# mount -o loop /home/hq4ever/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/floppy0 debsrv:~# find /media/floppy floppy/ floppy0/ debsrv:~# find /media/floppy0 -print /media/floppy0 /media/floppy0/modinfo /media/floppy0/modules.cgz /media/floppy0/modules.dep /media/floppy0/pcitable /media/floppy0/rhdd debsrv:~# id uid=0(root) gid=0(root) groups=0(root) >>> > 2. I need the kernel version number of the new kernel you > installed. Or post the content of the /boot/grub/grub.conf > file. The kernel that I have installed the system with was kernel-smp-2.6.9-5.EL The kernel that later on got downloaded by the rhn network is kernel-smp-2.6.9-22.0.2.EL The first one boots, sadly the second one doesn't. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Have you noticed that "human readable" configuration file - > - directives are beginning to resemble COBOL code? - > ---------------------------------------------------------------------- The only concrete solution I've managed to come up with so far was to install a RH4.ES.U1 on a different machine and then copy all the /boot & /lib/modules to the working machine. Thank you very much for assisting me with this issue. -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? From karlp at ourldsfamily.com Thu Jan 26 19:58:27 2006 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Thu, 26 Jan 2006 12:58:27 -0700 (MST) Subject: Word To The Wise... In-Reply-To: <1138301262.27892.8.camel@prophead.corp.publichost.com> References: <29743.198.60.114.90.1138240284.squirrel@webmail.ourldsfamily.com> <1138301262.27892.8.camel@prophead.corp.publichost.com> Message-ID: <53679.207.173.117.242.1138305507.squirrel@ourldsfamily.com> On Thu, January 26, 2006 11:47 am, Rick Stevens said: > On Wed, 2006-01-25 at 18:51 -0700, karlp at ourldsfamily.com wrote: >> I use VNC a lot. With Fedora Core 4, I was pleasantly surprized to see >> that I can share my desktop with some different options. The time came >> this past weekend when my wife (Windows XP Pro) needed to see something >> on >> my screen and so I VNCed to her PC and (you see what's coming don't >> you...) VNCed back to mine through that VNC window. >> >> You know the affect you get when you stand in a room with mirrors on >> both >> walls? You see yourself, looking at yourself, looking at you looking at >> yourself and so on and so on and so on... >> >> Do you know how hard it is to close a VNC window when it's regenerating >> one every few micro-seconds? Now you don't have to. I did it for you. >> >> ARRRRRRRRRRGGGGGGGGGHHH! >> >> HTH (someone). And I didn't want to get up and walk the 18 feet to >> where >> she has her PC. Laziness is its own punishment, someone wiser than I >> once >> said. > > You could have "su - killall vncviewer" on your box to "end the > madness", but that'd be too simple... Oh come on Rick... and not be able to see (morbid curiosity here) how many new 'windows' before the system stalls? Perish the thought. I'd have used fuser -k /usr/bin/vncviewer anyway. . . Yes, I'm a bit anal. Karl > > :-) > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - > - process. Prepare to vi." - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson KarlP at ourldsfamily.com --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- My Thoughts on Terrorism In America: http://www.ourldsfamily.com/wtc.shtml --- A right is not what someone gives you; it's what no one can take from you. -Ramsey Clark --- From rstevens at vitalstream.com Thu Jan 26 23:11:33 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 26 Jan 2006 15:11:33 -0800 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES In-Reply-To: References: <1138220410.16107.67.camel@prophead.corp.publichost.com> Message-ID: <1138317093.27892.47.camel@prophead.corp.publichost.com> On Thu, 2006-01-26 at 21:51 +0200, Maxim Vexler wrote: > On 1/25/06, Rick Stevens wrote: > > On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > > > Hello, > > > > > > I used the driver supplied by the vendor [1] to add aditional drivers > > > for the setup of redhat on intel SE7230nh1 server board. > > > > > > Now, we need to update to the updated kernel. Luckly the vendor does > > > provide a driver to the RH4-ES-U1 kerenl but only in a img file > > > format. i.e. sutible only for fresh install. > > > > > > I would like to use the driver provided by this image, which I > > > downloaded and mounted by: > > > <<< > > > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ > > > >>> > > > on my working system. > > > > > > Using rhn I have downloaded the new rpm kernel package and it's > > > installed in the grub boot menu but when trying to boot the kernel I > > > get kernel panic stating that no drives were found. > > > > Thank you for helping. > > > You need to get into that /media/fd0 directory and find the driver > > itself. It'll have ".ko" after the name, e.g. "driver.ko". That will > > have to be put into the > > > > /lib/modules/(updated-kernel-version)/kernel/drivers/scsi > > > > directory, and you will then need to rebuild the initrd image for the > > new kernel. I can give you the commands, but I'll need a few things > > from you: > > > > 1. I need you to mount that image again and post the output of > > "find /media/fd0 -print" (run as the root user) > > > > Sure, I'm doing this on my debian testing server but as soon as get it > all working I will redo it on the RH box. > <<< > debsrv:~# mount -o loop > /home/hq4ever/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img > /media/floppy0 > debsrv:~# find /media/floppy > floppy/ floppy0/ > debsrv:~# find /media/floppy0 -print > /media/floppy0 > /media/floppy0/modinfo > /media/floppy0/modules.cgz > /media/floppy0/modules.dep > /media/floppy0/pcitable > /media/floppy0/rhdd > debsrv:~# id > uid=0(root) gid=0(root) groups=0(root) > >>> > > > 2. I need the kernel version number of the new kernel you > > installed. Or post the content of the /boot/grub/grub.conf > > file. > > The kernel that I have installed the system with was kernel-smp-2.6.9-5.EL > The kernel that later on got downloaded by the rhn network is > kernel-smp-2.6.9-22.0.2.EL > > The first one boots, sadly the second one doesn't. That's because it doesn't have the driver. Boot the machine to update with the old kernel. Take a look at the "/etc/modprobe.conf" file and look for the "alias scsi_hostadapter" line. The data on the right is the name of the driver module used for the SCSI/SATA interface. For example, I have this in /etc/modprobe.conf alias scsi_hostadapter aic7xxx meaning that my machine uses the "aic7xxx" driver. On the debian machine with the driver image loaded, do this: # cd /tmp # gunzip -c /media/floppy0/modules.cgz | cpio -i -t Look for a "something.ko" file that matches the name you got from the modprobe.conf file (in my case, I'd look for "aic7xxx.ko"). If you see it, then: # gunzip -c /media/floppy0/modules.cgz | cpio -i name-of-file That should extract the driver to /tmp. Get that file over to the machine to be updated somehow (ftp, floppy, USB drive, something). On the machine to be updated, do this: # cp /path/driver.ko \ /lib/modules/2.6.9-22.0.2.ELsmp/kernel/drivers/scsi Replace "/path" to wherever you have the driver file. This should put the driver in the right spot for the kernel to work. Next: # cd /boot # mkinitrd -vr initrd-2.6.9-22.0.2.ELsmp.img 2.6.9-22.0.2.ELsmp That should rebuild the initrd image for the kernel you're trying to boot. Watch the output carefully and make sure the driver in question gets loaded. If all that works, you should be able to boot the new kernel. If I'm not clear about anything, let me know. It's a bit difficult to describe in an email. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To iterate is human, to recurse, divine. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Jan 26 23:15:10 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 26 Jan 2006 15:15:10 -0800 Subject: Word To The Wise... In-Reply-To: <53679.207.173.117.242.1138305507.squirrel@ourldsfamily.com> References: <29743.198.60.114.90.1138240284.squirrel@webmail.ourldsfamily.com> <1138301262.27892.8.camel@prophead.corp.publichost.com> <53679.207.173.117.242.1138305507.squirrel@ourldsfamily.com> Message-ID: <1138317310.27892.52.camel@prophead.corp.publichost.com> On Thu, 2006-01-26 at 12:58 -0700, karlp at ourldsfamily.com wrote: > On Thu, January 26, 2006 11:47 am, Rick Stevens said: > > On Wed, 2006-01-25 at 18:51 -0700, karlp at ourldsfamily.com wrote: > >> I use VNC a lot. With Fedora Core 4, I was pleasantly surprized to see > >> that I can share my desktop with some different options. The time came > >> this past weekend when my wife (Windows XP Pro) needed to see something > >> on > >> my screen and so I VNCed to her PC and (you see what's coming don't > >> you...) VNCed back to mine through that VNC window. > >> > >> You know the affect you get when you stand in a room with mirrors on > >> both > >> walls? You see yourself, looking at yourself, looking at you looking at > >> yourself and so on and so on and so on... > >> > >> Do you know how hard it is to close a VNC window when it's regenerating > >> one every few micro-seconds? Now you don't have to. I did it for you. > >> > >> ARRRRRRRRRRGGGGGGGGGHHH! > >> > >> HTH (someone). And I didn't want to get up and walk the 18 feet to > >> where > >> she has her PC. Laziness is its own punishment, someone wiser than I > >> once > >> said. > > > > You could have "su - killall vncviewer" on your box to "end the > > madness", but that'd be too simple... > > Oh come on Rick... and not be able to see (morbid curiosity here) how many > new 'windows' before the system stalls? Perish the thought. I'd start seeking professional help, there, Karl. I mean, what did the poor machine do to _you_ that makes you want to torture it so? :-D > I'd have used fuser -k /usr/bin/vncviewer anyway. . . Yes, I'm a bit anal. Uh, huh. (slipping quietly out the door...) ;-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Heisenberg _may_ have slept here - ---------------------------------------------------------------------- From fdgrant at powercom.net Thu Jan 26 23:47:10 2006 From: fdgrant at powercom.net (Fred Grant) Date: Thu, 26 Jan 2006 17:47:10 -0600 Subject: fax modem vs modem Message-ID: <1138319229.2803.1.camel@localhost.localdomain> Is there really any difference between a fax modem and a plain old modem (besides price)? -- Fred From bob at bobcatos.com Fri Jan 27 00:10:55 2006 From: bob at bobcatos.com (Bob McClure Jr) Date: Thu, 26 Jan 2006 18:10:55 -0600 Subject: fax modem vs modem In-Reply-To: <1138319229.2803.1.camel@localhost.localdomain> References: <1138319229.2803.1.camel@localhost.localdomain> Message-ID: <20060127001055.GA30144@bobcat.bobcatos.com> On Thu, Jan 26, 2006 at 05:47:10PM -0600, Fred Grant wrote: > Is there really any difference between a fax modem and a plain old modem > (besides price)? > -- > Fred I guess it's been a long time since I bought a modem. I didn't think any modems were currently made that didn't have fax capability. The answer is, for plain data use, no, no difference. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob at bobcatos.com http://www.bobcatos.com Peace begins not at a Mideast table, but at a Mideast stable From rstevens at vitalstream.com Fri Jan 27 00:22:59 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 26 Jan 2006 16:22:59 -0800 Subject: fax modem vs modem In-Reply-To: <1138319229.2803.1.camel@localhost.localdomain> References: <1138319229.2803.1.camel@localhost.localdomain> Message-ID: <1138321380.27892.73.camel@prophead.corp.publichost.com> On Thu, 2006-01-26 at 17:47 -0600, Fred Grant wrote: > Is there really any difference between a fax modem and a plain old modem > (besides price)? Yes. A "plain old modem" can't do group 2 or 3 FAX operations. A FAX modem will act as a normal modem AND can act as your FAX machine. If it receives a call, it checks the carrier tone. If it appears to be a FAX, it'll trigger your FAX software and receive the FAX. If it's a regular data call, it'll launch the login sequence on your machine. Since I have a scanner, printer and a FAX modem, I combine them via Linux into an "all-in-one" thing like HP sells. Incoming FAXes come in and are spooled up on the machine for me to look at. If I want the FAX, I print it out. I don't waste paper on junk FAXes (and I get a ton of those). If I want to send a FAX (not that common, but on occasion I do), I scan it in and use efix to convert the file to FAX format. I then use efax to send it out via the modem. Yes, sending faxes is a bit harder than using an all-in-one or FAX machine, but just barely. If I dial into my machine (almost NEVER since I'm on cable modem), I can do that as well. I prefer using the separate boxes for several reasons: 1. I already had them (and I'm cheap!) 2. Often the "all-in-one" scanners aren't as good (lower resolution) as a real scanner. 2. The "all-in-one" boxes often require special drivers that the makers simply won't provide to us open-source guys, so you have to roll your own or wait for linux-printing.org to come up with one. Do what you wish. See "man mgetty" for details about the incoming call handling if you wish to follow in my well-trodden footsteps. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Is that a buffer overflow or are you just happy to see me? - ---------------------------------------------------------------------- From micros50 at computer.net Fri Jan 27 04:09:22 2006 From: micros50 at computer.net (mylar) Date: Thu, 26 Jan 2006 23:09:22 -0500 Subject: Idle ssh users In-Reply-To: <1138299755.5962.252840362@webmail.messagingengine.com> References: <1138299755.5962.252840362@webmail.messagingengine.com> Message-ID: <1138334961.8544.1690.camel@manhattan.ruffe.edu> Why are they being allowed to login via ssh at all ?? What are they logging into a command shell ?? or are you serving an application via ssh ? Your best bet is to disallow ssh logins unless absolutely nessesary. mylar On Thu, 2006-01-26 at 13:22, redhat at buglecreek.com wrote: > On occasion we have have people login via ssh to some of our RH linux > systems and they do not log out. When doing a "w" or > "who" we see idle connections for days sometimes. What is the > recommended way to log these users out? Is there a better way than just > killing the users ssh process? > > Thanks > > _______________________________________________ > 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 From hq4ever at gmail.com Fri Jan 27 10:20:56 2006 From: hq4ever at gmail.com (Maxim Vexler) Date: Fri, 27 Jan 2006 12:20:56 +0200 Subject: Basic question : How to add new packages in RH ES 4 Message-ID: Well... I'm sorry for this but I have no idea how the package management of RedHat EL works. I need to add basic software, such as for example graphical Internet. I used the system-config-packages utility but it demands for a CD #2, I currently don't have a cdrom no this system but I do have legal access to rhn. How would I install additional software without the original installation media ? Specifically I would like to add FireFox as a web browser. Thank you. -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? From pradeepkrlko at gmail.com Fri Jan 27 11:05:21 2006 From: pradeepkrlko at gmail.com (Kumar Pradeep) Date: Fri, 27 Jan 2006 16:35:21 +0530 Subject: Basic question : How to add new packages in RH ES 4 In-Reply-To: References: Message-ID: Hi *Maxim Vexler,* ** *First download the RPM and use this command to install that* ** *#rpm -ivh (rpm name) -aid* Regards, Pradeep On 1/27/06, Maxim Vexler wrote: > > Well... > > I'm sorry for this but I have no idea how the package management of > RedHat EL works. > > I need to add basic software, such as for example graphical Internet. > I used the system-config-packages utility but it demands for a CD #2, > I currently don't have a cdrom no this system but I do have legal > access to rhn. > > How would I install additional software without the original > installation media ? Specifically I would like to add FireFox as a web > browser. > > Thank you. > > -- > Cheers, > Maxim Vexler (hq4ever). > > Do u GNU ? > > _______________________________________________ > 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 > -- Regards, Pradeep +91 934294 8743 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hq4ever at gmail.com Fri Jan 27 12:01:40 2006 From: hq4ever at gmail.com (Maxim Vexler) Date: Fri, 27 Jan 2006 14:01:40 +0200 Subject: Basic question : How to add new packages in RH ES 4 In-Reply-To: References: Message-ID: Thank you, I managed to get it working by issuing "up2date firefox". Is there some frontend to up2date ? Because I'm affried that if I would do this the "rpm way" I would be required to manually supply all the dependencies for firefox and I would really prefer this to be an automatic process. Thank you. On 1/27/06, Kumar Pradeep wrote: > Hi Maxim Vexler, > > > First download the RPM and use this command to install that > > #rpm -ivh (rpm name) -aid > > > Regards, > Pradeep > > On 1/27/06, Maxim Vexler wrote: > > > > Well... > > > > I'm sorry for this but I have no idea how the package management of > > RedHat EL works. > > > > I need to add basic software, such as for example graphical Internet. > > I used the system-config-packages utility but it demands for a CD #2, > > I currently don't have a cdrom no this system but I do have legal > > access to rhn. > > > > How would I install additional software without the original > > installation media ? Specifically I would like to add FireFox as a web > > browser. > > > > Thank you. > > > > -- > > Cheers, > > Maxim Vexler (hq4ever). > > > > Do u GNU ? > > > > _______________________________________________ > > 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 > > > > > > -- > Regards, > Pradeep > +91 934294 8743 > _______________________________________________ > 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 > > -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? From hq4ever at gmail.com Fri Jan 27 12:09:30 2006 From: hq4ever at gmail.com (Maxim Vexler) Date: Fri, 27 Jan 2006 14:09:30 +0200 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES In-Reply-To: <1138317093.27892.47.camel@prophead.corp.publichost.com> References: <1138220410.16107.67.camel@prophead.corp.publichost.com> <1138317093.27892.47.camel@prophead.corp.publichost.com> Message-ID: On 1/27/06, Rick Stevens wrote: > On Thu, 2006-01-26 at 21:51 +0200, Maxim Vexler wrote: > > On 1/25/06, Rick Stevens wrote: > > > On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > > > > Hello, > > > > > > > > I used the driver supplied by the vendor [1] to add aditional drivers > > > > for the setup of redhat on intel SE7230nh1 server board. > > > > > > > > Now, we need to update to the updated kernel. Luckly the vendor does > > > > provide a driver to the RH4-ES-U1 kerenl but only in a img file > > > > format. i.e. sutible only for fresh install. > > > > > > > > I would like to use the driver provided by this image, which I > > > > downloaded and mounted by: > > > > <<< > > > > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ > > > > >>> > > > > on my working system. > > > > > > > > Using rhn I have downloaded the new rpm kernel package and it's > > > > installed in the grub boot menu but when trying to boot the kernel I > > > > get kernel panic stating that no drives were found. > > > > > > > Thank you for helping. > > > > > You need to get into that /media/fd0 directory and find the driver > > > itself. It'll have ".ko" after the name, e.g. "driver.ko". That will > > > have to be put into the > > > > > > /lib/modules/(updated-kernel-version)/kernel/drivers/scsi > > > > > > directory, and you will then need to rebuild the initrd image for the > > > new kernel. I can give you the commands, but I'll need a few things > > > from you: > > > > > > 1. I need you to mount that image again and post the output of > > > "find /media/fd0 -print" (run as the root user) > > > > > > > Sure, I'm doing this on my debian testing server but as soon as get it > > all working I will redo it on the RH box. > > <<< > > debsrv:~# mount -o loop > > /home/hq4ever/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img > > /media/floppy0 > > debsrv:~# find /media/floppy > > floppy/ floppy0/ > > debsrv:~# find /media/floppy0 -print > > /media/floppy0 > > /media/floppy0/modinfo > > /media/floppy0/modules.cgz > > /media/floppy0/modules.dep > > /media/floppy0/pcitable > > /media/floppy0/rhdd > > debsrv:~# id > > uid=0(root) gid=0(root) groups=0(root) > > >>> > > > > > 2. I need the kernel version number of the new kernel you > > > installed. Or post the content of the /boot/grub/grub.conf > > > file. > > > > The kernel that I have installed the system with was kernel-smp-2.6.9-5.EL > > The kernel that later on got downloaded by the rhn network is > > kernel-smp-2.6.9-22.0.2.EL > > > > The first one boots, sadly the second one doesn't. > > That's because it doesn't have the driver. Boot the machine to update > with the old kernel. Take a look at the "/etc/modprobe.conf" file and > look for the "alias scsi_hostadapter" line. The data on the right is > the name of the driver module used for the SCSI/SATA interface. > > For example, I have this in /etc/modprobe.conf > > alias scsi_hostadapter aic7xxx > > meaning that my machine uses the "aic7xxx" driver. > > On the debian machine with the driver image loaded, do this: > > # cd /tmp > # gunzip -c /media/floppy0/modules.cgz | cpio -i -t > > Look for a "something.ko" file that matches the name you got from the > modprobe.conf file (in my case, I'd look for "aic7xxx.ko"). If you see > it, then: > > # gunzip -c /media/floppy0/modules.cgz | cpio -i name-of-file > I had some trouble extracting the cpio archive. I had to use the -d switch, the command that worked for me was gunzip -c /media/floppy0/modules.cgz | cpio -ivd > That should extract the driver to /tmp. Get that file over to the > machine to be updated somehow (ftp, floppy, USB drive, something). > > On the machine to be updated, do this: > > # cp /path/driver.ko \ > /lib/modules/2.6.9-22.0.2.ELsmp/kernel/drivers/scsi > > Replace "/path" to wherever you have the driver file. This should put > the driver in the right spot for the kernel to work. Next: > > # cd /boot > # mkinitrd -vr initrd-2.6.9-22.0.2.ELsmp.img 2.6.9-22.0.2.ELsmp > > That should rebuild the initrd image for the kernel you're trying to > boot. Watch the output carefully and make sure the driver in question > gets loaded. > > If all that works, you should be able to boot the new kernel. If I'm > not clear about anything, let me know. Thank you dear friend, it worked great. >It's a bit difficult to describe > in an email. > And yet you managed to explain it perfectly. Thank you! > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - To iterate is human, to recurse, divine. - > ---------------------------------------------------------------------- Maxim. -- Cheers, Maxim Vexler (hq4ever). Do u GNU ? From A.Fadyushin at it-centre.ru Fri Jan 27 16:48:38 2006 From: A.Fadyushin at it-centre.ru (A.Fadyushin at it-centre.ru) Date: Fri, 27 Jan 2006 19:48:38 +0300 Subject: Idle ssh users Message-ID: If your users are using bash as their shell and just forget to log out after they no longer need a shell session (so the shell is still waiting for the user to enter something at the command prompt) you can use the bash's environment variable TMOUT. That variable contains the number of second which bash will wait for the user to enter the command at the prompt. If the sessions is idle (at the command prompt) for that number of seconds bash will terminate and the user will be logged out. This variable could be set in global or per user .profile files. Of course, the users can reset this value if they need a longer period of waiting at the command prompt so this limit can not be strictly enforced by the system administrator. However, the users who forget to log out most probably will forget to change this value also. Alexey Fadyushin Brainbench MVP for Linux. http://www.brainbench.com > -----Original Message----- > From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list- > bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Thursday, January 26, 2006 10:17 PM > To: Getting started with Red Hat Linux > Subject: Re: Idle ssh users > > On Thu, 2006-01-26 at 11:22 -0700, redhat at buglecreek.com wrote: > > On occasion we have have people login via ssh to some of our RH linux > > systems and they do not log out. When doing a "w" or > > "who" we see idle connections for days sometimes. What is the > > recommended way to log these users out? Is there a better way than just > > killing the users ssh process? > > Not really. You can write a script that parses the output of the "last" > or "who" commands and kills off the processes involved. For example: > > #!/bin/bash > PATH=$PATH;/usr/bin;/bin > WHOLIST=`who -u` > for LINE in $WHOLIST; do > echo $LINE | awk '{if (index($6, "old")) system("kill "$7);}' > done > > would kill any user's login process that had been idle for over a day. > I'd set that up as a shell script and run a cron job for it every, oh, > four hours or so, depending on what you want to do. > > See "info who" for details on the "-u" option. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - You know the old saying--any technology sufficiently advanced is - > - indistinguishable from a Perl script - > - --Programming Perl, 2nd Edition - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 From rstevens at vitalstream.com Fri Jan 27 18:22:41 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 27 Jan 2006 10:22:41 -0800 Subject: Basic question : How to add new packages in RH ES 4 In-Reply-To: References: Message-ID: <1138386161.27892.90.camel@prophead.corp.publichost.com> On Fri, 2006-01-27 at 14:01 +0200, Maxim Vexler wrote: > Thank you, I managed to get it working by issuing "up2date firefox". > Is there some frontend to up2date ? Because I'm affried that if I > would do this the "rpm way" I would be required to manually supply all > the dependencies for firefox and I would really prefer this to be an > automatic process. You can set up up2date to run automatically, enter this command at root: chkconfig rhnsd on will set it to run on the next boot. By default, up2date will run every four hours (240 minutes). You can change that by editing /etc/sysconfig/rhn/rhnsd and changing the value for INTERVAL=. To start this process immediately AND set it to do it again on boot, enter these commands as root: chkconfig rhnsd on service rhnsd start ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The Theory of Rapitivity: E=MC Hammer - - -- Glenn Marcus (via TopFive.com) - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Jan 27 18:27:58 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 27 Jan 2006 10:27:58 -0800 Subject: Updating RAID driver when upgrading from kernel 2.6.9-5 to 2.6.9-11 on rh4 ES In-Reply-To: References: <1138220410.16107.67.camel@prophead.corp.publichost.com> <1138317093.27892.47.camel@prophead.corp.publichost.com> Message-ID: <1138386478.27892.96.camel@prophead.corp.publichost.com> On Fri, 2006-01-27 at 14:09 +0200, Maxim Vexler wrote: > On 1/27/06, Rick Stevens wrote: > > On Thu, 2006-01-26 at 21:51 +0200, Maxim Vexler wrote: > > > On 1/25/06, Rick Stevens wrote: > > > > On Wed, 2006-01-25 at 19:56 +0200, Maxim Vexler wrote: > > > > > Hello, > > > > > > > > > > I used the driver supplied by the vendor [1] to add aditional drivers > > > > > for the setup of redhat on intel SE7230nh1 server board. > > > > > > > > > > Now, we need to update to the updated kernel. Luckly the vendor does > > > > > provide a driver to the RH4-ES-U1 kerenl but only in a img file > > > > > format. i.e. sutible only for fresh install. > > > > > > > > > > I would like to use the driver provided by this image, which I > > > > > downloaded and mounted by: > > > > > <<< > > > > > mount -o loop /tmp/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img /media/fd0/ > > > > > >>> > > > > > on my working system. > > > > > > > > > > Using rhn I have downloaded the new rpm kernel package and it's > > > > > installed in the grub boot menu but when trying to boot the kernel I > > > > > get kernel panic stating that no drives were found. > > > > > > > > > > Thank you for helping. > > > > > > > You need to get into that /media/fd0 directory and find the driver > > > > itself. It'll have ".ko" after the name, e.g. "driver.ko". That will > > > > have to be put into the > > > > > > > > /lib/modules/(updated-kernel-version)/kernel/drivers/scsi > > > > > > > > directory, and you will then need to rebuild the initrd image for the > > > > new kernel. I can give you the commands, but I'll need a few things > > > > from you: > > > > > > > > 1. I need you to mount that image again and post the output of > > > > "find /media/fd0 -print" (run as the root user) > > > > > > > > > > Sure, I'm doing this on my debian testing server but as soon as get it > > > all working I will redo it on the RH box. > > > <<< > > > debsrv:~# mount -o loop > > > /home/hq4ever/dud-rh40-u1-x86_64-megaide-v5.08u-generic-1.img > > > /media/floppy0 > > > debsrv:~# find /media/floppy > > > floppy/ floppy0/ > > > debsrv:~# find /media/floppy0 -print > > > /media/floppy0 > > > /media/floppy0/modinfo > > > /media/floppy0/modules.cgz > > > /media/floppy0/modules.dep > > > /media/floppy0/pcitable > > > /media/floppy0/rhdd > > > debsrv:~# id > > > uid=0(root) gid=0(root) groups=0(root) > > > >>> > > > > > > > 2. I need the kernel version number of the new kernel you > > > > installed. Or post the content of the /boot/grub/grub.conf > > > > file. > > > > > > The kernel that I have installed the system with was kernel-smp-2.6.9-5.EL > > > The kernel that later on got downloaded by the rhn network is > > > kernel-smp-2.6.9-22.0.2.EL > > > > > > The first one boots, sadly the second one doesn't. > > > > That's because it doesn't have the driver. Boot the machine to update > > with the old kernel. Take a look at the "/etc/modprobe.conf" file and > > look for the "alias scsi_hostadapter" line. The data on the right is > > the name of the driver module used for the SCSI/SATA interface. > > > > For example, I have this in /etc/modprobe.conf > > > > alias scsi_hostadapter aic7xxx > > > > meaning that my machine uses the "aic7xxx" driver. > > > > On the debian machine with the driver image loaded, do this: > > > > # cd /tmp > > # gunzip -c /media/floppy0/modules.cgz | cpio -i -t > > > > Look for a "something.ko" file that matches the name you got from the > > modprobe.conf file (in my case, I'd look for "aic7xxx.ko"). If you see > > it, then: > > > > # gunzip -c /media/floppy0/modules.cgz | cpio -i name-of-file > > > > I had some trouble extracting the cpio archive. > I had to use the -d switch, the command that worked for me was > > gunzip -c /media/floppy0/modules.cgz | cpio -ivd Hmmm. It needed to create a directory? Weird. Ah, well, you figured it out. > > That should extract the driver to /tmp. Get that file over to the > > machine to be updated somehow (ftp, floppy, USB drive, something). > > > > On the machine to be updated, do this: > > > > # cp /path/driver.ko \ > > /lib/modules/2.6.9-22.0.2.ELsmp/kernel/drivers/scsi > > > > Replace "/path" to wherever you have the driver file. This should put > > the driver in the right spot for the kernel to work. Next: > > > > # cd /boot > > # mkinitrd -vr initrd-2.6.9-22.0.2.ELsmp.img 2.6.9-22.0.2.ELsmp > > > > That should rebuild the initrd image for the kernel you're trying to > > boot. Watch the output carefully and make sure the driver in question > > gets loaded. > > > > If all that works, you should be able to boot the new kernel. If I'm > > not clear about anything, let me know. > > Thank you dear friend, it worked great. Good! So you're up in the new kernel? Terrific! > >It's a bit difficult to describe > > in an email. > > > > And yet you managed to explain it perfectly. > Thank you! Well, I forgot the "-d" option to cpio, but you got the idea. I'm just glad you got it going, and now you'll know what to do the next time you need to update your kernel. I'd print out a copy of this note and keep it in your "magic bag of tricks" for later use. Congratulations! ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Animal testing is futile. They always get nervous and give the - - wrong answers - ---------------------------------------------------------------------- From kostassf at cha.forthnet.gr Fri Jan 27 21:45:06 2006 From: kostassf at cha.forthnet.gr (Kostas Sfakiotakis) Date: Fri, 27 Jan 2006 23:45:06 +0200 Subject: fax modem vs modem In-Reply-To: <1138321380.27892.73.camel@prophead.corp.publichost.com> References: <1138319229.2803.1.camel@localhost.localdomain> <1138321380.27892.73.camel@prophead.corp.publichost.com> Message-ID: <43DA9462.5090002@cha.forthnet.gr> Greetings Rick, Rick Stevens wrote: < snip > > I prefer using the separate boxes for several reasons: > > 1. I already had them (and I'm cheap!) > > 2. Often the "all-in-one" scanners aren't as good (lower > resolution) as a real scanner. Well from my own experience ( my Lexmark X1155 ) i would say that if you don't want to scan something with pretty tiny details then the "all in one" thing will do a terriffic job . All it comes down to what you want to scan . > 2. The "all-in-one" boxes often require special drivers that > the makers simply won't provide to us open-source guys, so you > have to roll your own or wait for linux-printing.org to come up > with one. I second that . Meanwhille i always enjoy dual booting if neccessary . Kind Regards, Kostas From rstevens at vitalstream.com Fri Jan 27 22:44:33 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 27 Jan 2006 14:44:33 -0800 Subject: fax modem vs modem In-Reply-To: <43DA9462.5090002@cha.forthnet.gr> References: <1138319229.2803.1.camel@localhost.localdomain> <1138321380.27892.73.camel@prophead.corp.publichost.com> <43DA9462.5090002@cha.forthnet.gr> Message-ID: <1138401873.18733.6.camel@prophead.corp.publichost.com> On Fri, 2006-01-27 at 23:45 +0200, Kostas Sfakiotakis wrote: > Greetings Rick, > Rick Stevens wrote: > > < snip > > > > > I prefer using the separate boxes for several reasons: > > > > 1. I already had them (and I'm cheap!) > > > > 2. Often the "all-in-one" scanners aren't as good (lower > > resolution) as a real scanner. > > Well from my own experience ( my Lexmark X1155 ) i would say > that if you don't want to scan something with pretty tiny details > then the "all in one" thing will do a terriffic job . All it comes down > to what you want to scan . For the most part, I have to agree. On occasion, however, I want to scan a photo or something and as I said, I'm cheap! I already have a fine-detail scanner, a printer and a modem. Oh, and my printer is a high-speed color laser. When I'm printing out source code, I don't want to wait around for an ink jet. So, for me, a separate printer, modem, and scanner is perfect. > > 2. The "all-in-one" boxes often require special drivers that > > the makers simply won't provide to us open-source guys, so you > > have to roll your own or wait for linux-printing.org to come up > > with one. > > I second that . Meanwhille i always enjoy dual booting if neccessary . Ah, now that's a terrible thing to have to do! :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Very funny, Scotty. Now beam down my clothes." - ---------------------------------------------------------------------- From bwnayak at yahoo.com Sat Jan 28 00:42:20 2006 From: bwnayak at yahoo.com (Biswajit Nayak) Date: Fri, 27 Jan 2006 16:42:20 -0800 (PST) Subject: HDIO_SET_DMA failed: Operation not permitted In-Reply-To: <1138386478.27892.96.camel@prophead.corp.publichost.com> Message-ID: <20060128004220.26016.qmail@web30704.mail.mud.yahoo.com> Hi Experts, I want to enable the DMA on my linux server. I got the following error "HDIO_SET_DMA failed: Operation not permitted ". Any take on this ? [root at localhost ocsperf]# /sbin/hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) [root at localhost ocsperf]# __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From rstevens at vitalstream.com Sat Jan 28 01:41:19 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 27 Jan 2006 17:41:19 -0800 Subject: HDIO_SET_DMA failed: Operation not permitted In-Reply-To: <20060128004220.26016.qmail@web30704.mail.mud.yahoo.com> References: <20060128004220.26016.qmail@web30704.mail.mud.yahoo.com> Message-ID: <1138412479.18733.25.camel@prophead.corp.publichost.com> On Fri, 2006-01-27 at 16:42 -0800, Biswajit Nayak wrote: > Hi Experts, > I want to enable the DMA on my linux server. I got > the following error "HDIO_SET_DMA failed: Operation > not permitted ". Any take on this ? > > [root at localhost ocsperf]# /sbin/hdparm -d1 /dev/hda > > /dev/hda: > setting using_dma to 1 (on) > HDIO_SET_DMA failed: Operation not permitted > using_dma = 0 (off) > [root at localhost ocsperf]# Did you boot the system with "nodma" set? Check the output of "cat /proc/cmdline" to see. If you did, you'll have to reboot the system WITHOUT that option. It's also possible that your controller (or drive) doesn't permit DMA. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Do you suffer from long-term memory loss?" "I don't remember" - - -- Chumbawumba, "Amnesia" (TubThumping) - ---------------------------------------------------------------------- From bwnayak at yahoo.com Sat Jan 28 01:49:21 2006 From: bwnayak at yahoo.com (Biswajit Nayak) Date: Fri, 27 Jan 2006 17:49:21 -0800 (PST) Subject: HDIO_SET_DMA failed: Operation not permitted In-Reply-To: <1138412479.18733.25.camel@prophead.corp.publichost.com> Message-ID: <20060128014921.48733.qmail@web30711.mail.mud.yahoo.com> No I do not think i did with nodma . Here is the output of [root at localhost ocsperf]# cat /proc/cmdline ro root=/dev/VolGroup00/LogVol00 rhgb quiet 2. How to make sure that the controller/drive does not permit dma ? Thanks Biswajit --- Rick Stevens wrote: > On Fri, 2006-01-27 at 16:42 -0800, Biswajit Nayak > wrote: > > Hi Experts, > > I want to enable the DMA on my linux server. I > got > > the following error "HDIO_SET_DMA failed: > Operation > > not permitted ". Any take on this ? > > > > [root at localhost ocsperf]# /sbin/hdparm -d1 > /dev/hda > > > > /dev/hda: > > setting using_dma to 1 (on) > > HDIO_SET_DMA failed: Operation not permitted > > using_dma = 0 (off) > > [root at localhost ocsperf]# > > Did you boot the system with "nodma" set? Check the > output of > "cat /proc/cmdline" to see. If you did, you'll have > to reboot the > system WITHOUT that option. > > It's also possible that your controller (or drive) > doesn't permit DMA. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer > rstevens at vitalstream.com - > - VitalStream, Inc. > http://www.vitalstream.com - > - > - > - "Do you suffer from long-term memory loss?" "I > don't remember" - > - -- Chumbawumba, > "Amnesia" (TubThumping) - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From harold at hallikainen.com Mon Jan 30 02:07:13 2006 From: harold at hallikainen.com (Harold Hallikainen) Date: Sun, 29 Jan 2006 18:07:13 -0800 (PST) Subject: FC4 and Intel 82559 NIC? In-Reply-To: <1138039228.6444.325.camel@prophead.corp.publichost.com> References: <34993.192.168.1.1.1136954806.squirrel@sujan.hallikainen.org> <1137001001.3340.337.camel@prophead.corp.publichost.com> <42480.207.177.227.29.1137001749.squirrel@sujan.hallikainen.org> <50961.192.168.1.1.1137882235.squirrel@sujan.hallikainen.org> <1138039228.6444.325.camel@prophead.corp.publichost.com> Message-ID: <46716.192.168.1.1.1138586833.squirrel@sujan.hallikainen.org> > On Sat, 2006-01-21 at 14:23 -0800, Harold Hallikainen wrote: >> > >> >> On Tue, 2006-01-10 at 20:46 -0800, Harold Hallikainen wrote: >> >>> > On Sun, 2006-01-08 at 19:06 -0800, Harold Hallikainen wrote: >> >>> >> > >> >>> >> > This weekend I loaded FC4 onto my server that had been running >> >>> RH8. >> >>> Everything seems to have gone smoothly EXCEPT the LAN does not work. >> >>> >> It >> >>> >> > seems to find the two ethernet interfaces, but does not talk to >> >>> the >> >>> remainder of the network. I've tried both static IP and DHCP. >> Neither >> seems to work. Do I need a special driver for the NIC? If so, where do >> >>> >> I >> >>> >> > find it, and how do I install it? >> >>> >> > >> >>> >> > THANKS! >> >>> >> > >> >>> >> > Harold >> >>> >> > >> >>> >> Following up... I found the e100 driver at >> >>> >> http://www.intel.com/support/network/adapter/1000/linux/e100.htm >> and >> >>> followed the instructions there. Stuff is still not working. Looking >> at >> >>> /var/log/messages, I see >> >>> >> e100: eth0: eth0: e100_probe: addr 0xd6202000, irq 11, MAC addr >> >>> 00:E0:81:03:AF:3C >> >>> >> I see a similar message for eth1. >> >>> >> A while later is >> >>> >> e100: eth0: e100_wathcdog: link up, 10Mbps, half-duplex >> >>> >> A while later it cannot find ntp.org >> >>> >> Then NETDEV WATCHDOG eth0; transmit timed out >> >>> >> then another watchdog message. >> >>> >> Any ideas? >> >>> > >> >>> > First, as the root user, do "ifconfig" and verify that there's >> >>> actually >> >>> IP addresses assigned to your NIC. Next (also as root), do "netstat >> -rn" >> >>> and verify that the default gateway is pointing at your router. >> >>> > >> >>> > If that's all good, then you may be blocked by either iptables or >> >>> SELinux. Try turning off iptables temporarily by "service iptables >> off" >> >>> (as root again). If that doesn't work, try (as root) "setenforce 0" >> to >> >>> temporarily disable SELinux. >> >>> > >> >>> Thanks for the responses! It's really a pain to not have network >> connectivity. I can't just copy and paste stuff into an email. >> Instead, >> >>> I'm copying off one screen and typing on another (my laptop). So >> excuse >> >>> the typos! It's interesting that I'm having network problems with >> this >> one >> >>> machine. I've installed FC4 on another server and my laptop with no >> problem. Oh well... >> >>> I tried the stuff above to get the network back and was about to >> type all >> >>> the results when I thought I'd try something else (anything to avoid >> typing all that stuff). This is a dual processor machine that had >> always >> >>> worked fine using SMP on RH8. I tried telling it to NOT run smp on a >> reboot, and the network works great! No other changes! I'll mess with >> it >> >>> some more in the next couple days. Is anyone else running smp on >> FC4? >> >> I do, a lot. Two things to check...first, make bloody sure the >> motherboard is running the latest BIOS from the vendor. If this is an >> AMD-based SMP machine, try booting with the "noapic" option set (add " >> noapic" to the end of the kernel line at the grub boot screen). If you >> don't know how to do that: >> >> 1. Boot the machine. >> >> 2. At the screen that displays the various kernels, use the arrow >> keys >> to select the SMP kernel and hit "E". >> >> 3. Use the arrow keys to scroll down to the line that starts with >> "kernel". >> >> 4. Hit "E" again. Use the arrow keys to go to the end of the line. >> 5. >> Put in " noapic" (don't forget the space) at the end of the line. 6. >> Hit "ENTER" to exit the edit mode, then "B" to boot the machine. 7. The >> machine should now boot with the "noapic" option. >> >> NOTE: This is temporary and will only survive this boot. If you need >> the "noapic" option permanently, you must edit the /boot/grub/grub.conf >> file. >> > >> > >> > Thanks! I'll give it a try! The BIOS is the original one that came >> with >> the board (maybe 5 years ago). I haven't done any BIOS upgrades in a >> while, but back when I did, they seemed to assume you were running DOS. >> I >> > just looked at the Tyan website and see that BIOS updates are done by >> booting from floppy with DOS. I'll try upgrading the BIOS as soon as I >> can >> > find the time (within a week, I hope). Ideally that will ALSO fix the >> problem I had when I tried a pair of 80G drives (install went fine, but >> then during reboot the drives could not be found by FC4... the BIOS says >> they're there, though.). >> > >> > THANKS! >> > >> > Harold >> > >> >> Following up on this, the bios update DID get the NIC working! I'm >> really >> surprised the bios had anything to do with the NIC. I tend to think of >> the >> old days where bios did more basic things... Anyway, it works! The >> update >> still doesn't make my new Hitachi 80G drives work, but the old 40G >> drives >> are working fine, so I guess I'll stick with them for a while. During >> the >> FC4 install, pretty early in the install, I get a complaint that hda >> could >> not be found. The system then continues with the install. When >> installing >> the file system, it properly identifies both drives. The installation >> then >> continues fine. On reboot, the system starts and loads some stuff and >> then >> gives some sort of drive not found error. >> >> Error messages on reboot include: >> Couldn't find device with uuid '.....' (skipping the long numbers) >> Couldn'tfind all physical volumes for volume group VolGroup01. >> Couldn't find device with uuid '.....' (same id as last time) >> Volume group "VolGroup01" not found >> ERROR: /bin/lvm exited abnormally with value 5 !(pid 396). >> >> ... bunch more error messages, then kernel panic. >> >> So, I guess the bios perhaps doesn't like these drives? But it (and FC4) >> seem to identify them properly. > > It appears that there's a spinup issue with one of the drives. You set > up LVM and one of the drives that makes up the volume group (a "physical > volume" or "PV") didn't answer the bell. So, the volume group ("VG") > couldn't be created. Without the VG, the logical volume ("LV") couldn't > be brought up and since you probably have "/" on it, you don't have > the root of the filesystem. > > See if there's a setting on your BIOS that causes the drives to spin up > at power up rather than when the bus is scanned. This will give the > drives a bit longer to spin up and the laggard drive may come up in time > for the PV scan to see it. > THANKS for the help! No such setting in the BIOS. I did see a jumper setting on the drives marked "autospin disable." From the description, it looks like setting autospin disable would keep the drive from spinning up on power up. Instead, it would wait for an ATA command. I don't have that jumper in, so it looks like the drive should spin up on power up. So, the problem remains. I've got my old 40G drives in the machine and will probably just leave it like that until I run out of room. This is a standby server anyway, and the motherboard is getting old. By the time I run out of room, I'll probably be ready for another new machine. THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com From ramin.shariatian at ineo.com Mon Jan 30 03:01:14 2006 From: ramin.shariatian at ineo.com (ramin.shariatian at ineo.com) Date: Mon, 30 Jan 2006 04:01:14 +0100 Subject: Ramin SHARIATIAN est absent(e). Message-ID: Je serai absent(e) du 30/01/2006 au 06/02/2006. Je r?pondrai ? votre message d?s mon retour. From tek_guy at rediffmail.com Mon Jan 30 14:50:08 2006 From: tek_guy at rediffmail.com (Tech Guy) Date: 30 Jan 2006 14:50:08 -0000 Subject: NIC speed Message-ID: <20060130145008.2802.qmail@webmail50.rediffmail.com> Hello, ? FTP connection is kind of slow on my server running Redhat 3.0 When I tried to view the NIC speed using mii-tool and ethtool, they both show different speeds. mii-tool shows 100Mbps and ethtool shows 1000Mbps # mii-tool -v eth0 eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:aa:00, model 56 rev 0 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD # ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: umbg Wake-on: d Current message level: 0x00000007 (7) Link detected: yes dmesg shows "e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex" which is the correct setting? is it 100 or 1000 Mbps ? what could be the cause for a slow FTP connection. All other servers are fine except this. I appreciate your suggestions and help Thx in advance TG -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.DiSorbo at yale.edu Mon Jan 30 15:16:52 2006 From: Steve.DiSorbo at yale.edu (Steve) Date: Mon, 30 Jan 2006 10:16:52 -0500 Subject: NIC speed In-Reply-To: <20060130145008.2802.qmail@webmail50.rediffmail.com> References: <20060130145008.2802.qmail@webmail50.rediffmail.com> Message-ID: <43DE2DE4.6030503@yale.edu> As far as I know, mii-tool only recognizes 10/100 NIC cards. Its difficult to get this from the man page, but FWIW. To handle such devices, the MII protocol also allows for establishing a link by simply detecting either a 10baseT or 100baseT link beat. I would trust ethtool. Tech Guy wrote: > Hello, > > FTP connection is kind of slow on my server running Redhat 3.0 > When I tried to view the NIC speed using mii-tool and ethtool, they > both show different speeds. mii-tool shows 100Mbps and ethtool shows > 1000Mbps > > # mii-tool -v eth0 > eth0: negotiated 100baseTx-FD, link ok > product info: vendor 00:aa:00, model 56 rev 0 > basic mode: autonegotiation enabled > basic status: autonegotiation complete, link ok > capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > flow-control > link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > > > # ethtool eth0 > Settings for eth0: > Supported ports: [ TP ] > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full > Supports auto-negotiation: Yes > Advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full > Advertised auto-negotiation: Yes > Speed: 1000Mb/s > Duplex: Full > Port: Twisted Pair > PHYAD: 0 > Transceiver: internal > Auto-negotiation: on > Supports Wake-on: umbg > Wake-on: d > Current message level: 0x00000007 (7) > Link detected: yes > > dmesg shows "e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps > Full Duplex" > > which is the correct setting? is it 100 or 1000 Mbps ? > what could be the cause for a slow FTP connection. All other servers > are fine except this. > > I appreciate your suggestions and help > > Thx in advance > TG > From rstevens at vitalstream.com Mon Jan 30 17:33:54 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 30 Jan 2006 09:33:54 -0800 Subject: NIC speed In-Reply-To: <20060130145008.2802.qmail@webmail50.rediffmail.com> References: <20060130145008.2802.qmail@webmail50.rediffmail.com> Message-ID: <1138642434.18733.32.camel@prophead.corp.publichost.com> On Mon, 2006-01-30 at 14:50 +0000, Tech Guy wrote: > Hello, > > FTP connection is kind of slow on my server running Redhat 3.0 > When I tried to view the NIC speed using mii-tool and ethtool, they > both show different speeds. mii-tool shows 100Mbps and ethtool shows > 1000Mbps Yeah, that's not uncommon. Trust ethtool. mii-tool gets confused on some hardware. > # mii-tool -v eth0 > eth0: negotiated 100baseTx-FD, link ok > product info: vendor 00:aa:00, model 56 rev 0 > basic mode: autonegotiation enabled > basic status: autonegotiation complete, link ok > capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > flow-control > link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > > > # ethtool eth0 > Settings for eth0: > Supported ports: [ TP ] > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full > Supports auto-negotiation: Yes > Advertised link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Full > Advertised auto-negotiation: Yes > Speed: 1000Mb/s > Duplex: Full > Port: Twisted Pair > PHYAD: 0 > Transceiver: internal > Auto-negotiation: on > Supports Wake-on: umbg > Wake-on: d > Current message level: 0x00000007 (7) > Link detected: yes > > dmesg shows "e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps > Full Duplex" > > which is the correct setting? is it 100 or 1000 Mbps ? > what could be the cause for a slow FTP connection. All other servers > are fine except this. Upload or download? Binary or text? FTP or sftp? And what's slow? The actual data transfer, the login process or what? Oh, and if it's possible, PLEASE don't send advertising on your messages to the list. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Do you know how to save five drowning lawyers? No? GOOD! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Jan 30 17:37:08 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 30 Jan 2006 09:37:08 -0800 Subject: HDIO_SET_DMA failed: Operation not permitted In-Reply-To: <20060128014921.48733.qmail@web30711.mail.mud.yahoo.com> References: <20060128014921.48733.qmail@web30711.mail.mud.yahoo.com> Message-ID: <1138642628.18733.36.camel@prophead.corp.publichost.com> On Fri, 2006-01-27 at 17:49 -0800, Biswajit Nayak wrote: > No I do not think i did with nodma . Here is the > output of > > [root at localhost ocsperf]# cat /proc/cmdline > ro root=/dev/VolGroup00/LogVol00 rhgb quiet Ok, so you didn't disable DMA there. You are, however, using LVM. Are you using hardware or software RAID? If so, then you can't just turn DMA on on one drive, but on all drives that make up the RAID. We also need to know a bit more about your hardware. What motherboard are you using? What kind of drives? > 2. How to make sure that the controller/drive does not > permit dma > ? Again, it could be an interaction between RAID (if used), LVM and your controller. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Polygon: A dead parrot (With apologies to John Cleese) - ---------------------------------------------------------------------- From brkittycat at verizon.net Mon Jan 30 21:16:48 2006 From: brkittycat at verizon.net (Brenda Radford) Date: Mon, 30 Jan 2006 16:16:48 -0500 Subject: RHEL AS 4 U2 Slow Message-ID: <43DE8240.6080905@verizon.net> Installed RHEL AS 4 U2 on an 80 GB HD (non-production, educational box). When I turn it on, it is slow doing all the things it does when it boots up. After it is finished, I right-click on Open Terminal, and it takes forever for a window to pop up. How do I find out why it is so slow? I have 895 MB memory and a 1995.494 MHz CPU. The only thing I did manually in the install was to partition the hard disk (from df): Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda5 1004024 162144 790876 18% / /dev/hda1 497829 15985 456142 4% /boot none 452880 0 452880 0% /dev/shm /dev/hda10 20161172 123016 19014016 1% /home /dev/hda3 2016044 35836 1877796 2% /opt /dev/hda8 10080488 55408 9513012 1% /tmp /dev/hda2 10080520 3546400 6022052 38% /usr /dev/hda7 5036284 42924 4737528 1% /usr/local /dev/hda9 10080488 147520 9420900 2% /var /dev/hdb1 101089 33094 62776 35% /mnt/hdb1 /dev/hdb2 76051264 24007900 48180136 34% /mnt/hdb2 /dev/fd0 1424 3 1421 1% /media/floppy I do have a second hard drive that ran RHEL AS 3, but it isn't mounted in /etc/fstab; it was done manually above. I do have 2 errors in the kernel log, but I don't know what they mean: shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5 shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5 Thanks in advance for any information. Brenda From rstevens at vitalstream.com Mon Jan 30 21:44:51 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 30 Jan 2006 13:44:51 -0800 Subject: RHEL AS 4 U2 Slow In-Reply-To: <43DE8240.6080905@verizon.net> References: <43DE8240.6080905@verizon.net> Message-ID: <1138657491.18733.57.camel@prophead.corp.publichost.com> On Mon, 2006-01-30 at 16:16 -0500, Brenda Radford wrote: > Installed RHEL AS 4 U2 on an 80 GB HD (non-production, educational box). > When I turn it on, it is slow doing all the things it does when it boots > up. > After it is finished, I right-click on Open Terminal, and it takes > forever for a > window to pop up. How do I find out why it is so slow? You need to look at the output of "ps ax" or "top" and see which process is sucking up the resources. You then have to sort out why that's happening. If this is the first boot on the machine, the dread "updatedb" process may be running. It can take a lot of resources. Either wait for it to finish (it will, eventually) or kill it and let it run when your machine isn't busy. It is what updates the "slocate" database and typically runs at 4:00 a.m.--provided you leave the machine on. If you shut the machine off and 4:00 a.m. rolls by while it's off, the process will launch shortly after the machine boots so it can "catch up". Of course, if you don't need the "slocate" command then disable the updatedb process completely by editing /etc/updatedb.conf and changing "DAILY_UPDATE=yes" to "DAILY_UPDATE=no" and killing any currently running process. > I have 895 MB memory and a 1995.494 MHz CPU. > > The only thing I did manually in the install was to partition the hard > disk (from df): > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda5 1004024 162144 790876 18% / > /dev/hda1 497829 15985 456142 4% /boot > none 452880 0 452880 0% /dev/shm > /dev/hda10 20161172 123016 19014016 1% /home > /dev/hda3 2016044 35836 1877796 2% /opt > /dev/hda8 10080488 55408 9513012 1% /tmp > /dev/hda2 10080520 3546400 6022052 38% /usr > /dev/hda7 5036284 42924 4737528 1% /usr/local > /dev/hda9 10080488 147520 9420900 2% /var > /dev/hdb1 101089 33094 62776 35% /mnt/hdb1 > /dev/hdb2 76051264 24007900 48180136 34% /mnt/hdb2 > /dev/fd0 1424 3 1421 1% /media/floppy > > I do have a second hard drive that ran RHEL AS 3, but it isn't mounted in > /etc/fstab; it was done manually above. > > I do have 2 errors in the kernel log, but I don't know what they mean: > > shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5 > shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5 I wouldn't worry about those. They're related to the ACPI (Advanced Configuration and Power Interface) system and aren't critical. You may wish to turn off ACPI ("chkconfig acpid off;service acpid stop") or boot with "noacpi". ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Time: Nature's way of keeping everything from happening at once. - ---------------------------------------------------------------------- From tbw at geo.hunter.cuny.edu Mon Jan 30 22:03:02 2006 From: tbw at geo.hunter.cuny.edu (Thomas Walter) Date: Mon, 30 Jan 2006 17:03:02 -0500 (EST) Subject: session opened for user root by (uid=0) In-Reply-To: Message-ID: Good Evening, I have a RHEL 4 machine, recently brough online. I see today the following entries (hundreds actually) every 5 minutes. There are no entries in root crontab. Web search indicates a possible intrusion but the examples I see don't refer to crond. Can anyone help? TIA. Tom Walter Jan 29 10:15:01 earth crond(pam_unix)[31492]: session opened for user root by (uid=0) Jan 29 10:15:01 earth crond(pam_unix)[31492]: session closed for user root Jan 29 10:20:01 earth crond(pam_unix)[31514]: session opened for user root by (uid=0) Jan 29 10:20:01 earth crond(pam_unix)[31515]: session opened for user root by (uid=0) Jan 29 10:20:01 earth crond(pam_unix)[31514]: session closed for user root Jan 29 10:20:01 earth crond(pam_unix)[31515]: session closed for user root Jan 29 10:25:01 earth crond(pam_unix)[31541]: session opened for user root by (uid=0) Jan 29 10:25:01 earth crond(pam_unix)[31541]: session closed for user root Jan 29 10:30:01 earth crond(pam_unix)[31563]: session opened for user root by (uid=0) Jan 29 10:30:01 earth crond(pam_unix)[31564]: session opened for user root by (uid=0) Jan 29 10:30:01 earth crond(pam_unix)[31563]: session closed for user root Jan 29 10:30:01 earth crond(pam_unix)[31564]: session closed for user root ================================================================================== Thomas Walter Geography & Computer Science Departments Hunter College of the City University of New York 695 Park Avenue New York, NY 10021 (212)772-5457 Office (212)772-5268 Fax tbwalter at geo.hunter.cuny.edu http://geography.hunter.cuny.edu/~tbw From brkittycat at verizon.net Mon Jan 30 23:55:35 2006 From: brkittycat at verizon.net (Brenda Radford) Date: Mon, 30 Jan 2006 18:55:35 -0500 Subject: RHEL AS 4 U2 Slow In-Reply-To: <1138657491.18733.57.camel@prophead.corp.publichost.com> References: <43DE8240.6080905@verizon.net> <1138657491.18733.57.camel@prophead.corp.publichost.com> Message-ID: <43DEA777.9040706@verizon.net> Rick Stevens wrote: >On Mon, 2006-01-30 at 16:16 -0500, Brenda Radford wrote: > > >>Installed RHEL AS 4 U2 on an 80 GB HD (non-production, educational box). >>When I turn it on, it is slow doing all the things it does when it boots >>up. >>After it is finished, I right-click on Open Terminal, and it takes >>forever for a >>window to pop up. How do I find out why it is so slow? >> >> > >You need to look at the output of "ps ax" or "top" and see which process >is sucking up the resources. You then have to sort out why that's >happening. > >If this is the first boot on the machine, the dread "updatedb" process >may be running. It can take a lot of resources. Either wait for it to >finish (it will, eventually) or kill it and let it run when your machine >isn't busy. It is what updates the "slocate" database and typically >runs at 4:00 a.m.--provided you leave the machine on. If you shut the >machine off and 4:00 a.m. rolls by while it's off, the process will >launch shortly after the machine boots so it can "catch up". > >Of course, if you don't need the "slocate" command then disable the >updatedb process completely by editing /etc/updatedb.conf and changing >"DAILY_UPDATE=yes" to "DAILY_UPDATE=no" and killing any currently >running process. > > > >>I have 895 MB memory and a 1995.494 MHz CPU. >> >>The only thing I did manually in the install was to partition the hard >>disk (from df): >> >>Filesystem 1K-blocks Used Available Use% Mounted on >>/dev/hda5 1004024 162144 790876 18% / >>/dev/hda1 497829 15985 456142 4% /boot >>none 452880 0 452880 0% /dev/shm >>/dev/hda10 20161172 123016 19014016 1% /home >>/dev/hda3 2016044 35836 1877796 2% /opt >>/dev/hda8 10080488 55408 9513012 1% /tmp >>/dev/hda2 10080520 3546400 6022052 38% /usr >>/dev/hda7 5036284 42924 4737528 1% /usr/local >>/dev/hda9 10080488 147520 9420900 2% /var >>/dev/hdb1 101089 33094 62776 35% /mnt/hdb1 >>/dev/hdb2 76051264 24007900 48180136 34% /mnt/hdb2 >>/dev/fd0 1424 3 1421 1% /media/floppy >> >>I do have a second hard drive that ran RHEL AS 3, but it isn't mounted in >>/etc/fstab; it was done manually above. >> >>I do have 2 errors in the kernel log, but I don't know what they mean: >> >>shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5 >>shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5 >> >> > >I wouldn't worry about those. They're related to the ACPI (Advanced >Configuration and Power Interface) system and aren't critical. You may >wish to turn off ACPI ("chkconfig acpid off;service acpid stop") or >boot with "noacpi". > >---------------------------------------------------------------------- >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- Time: Nature's way of keeping everything from happening at once. - >---------------------------------------------------------------------- > >_______________________________________________ >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, There were no resource hogs in "ps ax" or "top". It wasn't "updatedb". "DAILY_UPDATE" was no. I have been booting the machine at least once a day since I installed on January 16. BTW, I love "slocate". I turned off acpid first by stopping the service; things improved dramatically and instantly. Then I chkconfig'd it off. I want to boot with "noacpi". Where do I put that? Thanks, Brenda From rstevens at vitalstream.com Tue Jan 31 00:04:53 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 30 Jan 2006 16:04:53 -0800 Subject: session opened for user root by (uid=0) In-Reply-To: References: Message-ID: <1138665893.27596.12.camel@prophead.corp.publichost.com> On Mon, 2006-01-30 at 17:03 -0500, Thomas Walter wrote: > Good Evening, > > I have a RHEL 4 machine, recently brough online. I see today the following > entries (hundreds actually) every 5 minutes. There are no entries in root > crontab. Web search indicates a possible intrusion but the examples I see > don't refer to crond. Can anyone help? > > TIA. > > Tom Walter > > > Jan 29 10:15:01 earth crond(pam_unix)[31492]: session opened for user root by (uid=0) > Jan 29 10:15:01 earth crond(pam_unix)[31492]: session closed for user root > Jan 29 10:20:01 earth crond(pam_unix)[31514]: session opened for user root by (uid=0) > Jan 29 10:20:01 earth crond(pam_unix)[31515]: session opened for user root by (uid=0) > Jan 29 10:20:01 earth crond(pam_unix)[31514]: session closed for user root > Jan 29 10:20:01 earth crond(pam_unix)[31515]: session closed for user root > Jan 29 10:25:01 earth crond(pam_unix)[31541]: session opened for user root by (uid=0) > Jan 29 10:25:01 earth crond(pam_unix)[31541]: session closed for user root > Jan 29 10:30:01 earth crond(pam_unix)[31563]: session opened for user root by (uid=0) > Jan 29 10:30:01 earth crond(pam_unix)[31564]: session opened for user root by (uid=0) > Jan 29 10:30:01 earth crond(pam_unix)[31563]: session closed for user root > Jan 29 10:30:01 earth crond(pam_unix)[31564]: session closed for user root Those probably aren't intrusion attempts (those will usually be against an RPC port or sshd). You may not have anything in root's crontab, but you undoubtedly have stuff in anacron. Note that those entries are about 5 minutes apart. Check the contents of "/etc/crontab" and the contents of the files in the "/etc/cron*" directories and you may get a hint as to what's going on. (Hint: Check /etc/cron.d/mrtg and you'll see it runs every 5 minutes.) Also, check root's mailbox and see if there are messages that coincide with those log entries. If so, then look at the messages to see that may give a clue. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Microsoft Windows: Proof that P.T. Barnum was right - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Jan 31 00:10:24 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 30 Jan 2006 16:10:24 -0800 Subject: RHEL AS 4 U2 Slow In-Reply-To: <43DEA777.9040706@verizon.net> References: <43DE8240.6080905@verizon.net> <1138657491.18733.57.camel@prophead.corp.publichost.com> <43DEA777.9040706@verizon.net> Message-ID: <1138666224.27596.18.camel@prophead.corp.publichost.com> On Mon, 2006-01-30 at 18:55 -0500, Brenda Radford wrote: > Rick Stevens wrote: > > >On Mon, 2006-01-30 at 16:16 -0500, Brenda Radford wrote: > > > > > >>Installed RHEL AS 4 U2 on an 80 GB HD (non-production, educational box). > >>When I turn it on, it is slow doing all the things it does when it boots > >>up. > >>After it is finished, I right-click on Open Terminal, and it takes > >>forever for a > >>window to pop up. How do I find out why it is so slow? > >> > >> > > > >You need to look at the output of "ps ax" or "top" and see which process > >is sucking up the resources. You then have to sort out why that's > >happening. > > > >If this is the first boot on the machine, the dread "updatedb" process > >may be running. It can take a lot of resources. Either wait for it to > >finish (it will, eventually) or kill it and let it run when your machine > >isn't busy. It is what updates the "slocate" database and typically > >runs at 4:00 a.m.--provided you leave the machine on. If you shut the > >machine off and 4:00 a.m. rolls by while it's off, the process will > >launch shortly after the machine boots so it can "catch up". > > > >Of course, if you don't need the "slocate" command then disable the > >updatedb process completely by editing /etc/updatedb.conf and changing > >"DAILY_UPDATE=yes" to "DAILY_UPDATE=no" and killing any currently > >running process. > > > > > > > >>I have 895 MB memory and a 1995.494 MHz CPU. > >> > >>The only thing I did manually in the install was to partition the hard > >>disk (from df): > >> > >>Filesystem 1K-blocks Used Available Use% Mounted on > >>/dev/hda5 1004024 162144 790876 18% / > >>/dev/hda1 497829 15985 456142 4% /boot > >>none 452880 0 452880 0% /dev/shm > >>/dev/hda10 20161172 123016 19014016 1% /home > >>/dev/hda3 2016044 35836 1877796 2% /opt > >>/dev/hda8 10080488 55408 9513012 1% /tmp > >>/dev/hda2 10080520 3546400 6022052 38% /usr > >>/dev/hda7 5036284 42924 4737528 1% /usr/local > >>/dev/hda9 10080488 147520 9420900 2% /var > >>/dev/hdb1 101089 33094 62776 35% /mnt/hdb1 > >>/dev/hdb2 76051264 24007900 48180136 34% /mnt/hdb2 > >>/dev/fd0 1424 3 1421 1% /media/floppy > >> > >>I do have a second hard drive that ran RHEL AS 3, but it isn't mounted in > >>/etc/fstab; it was done manually above. > >> > >>I do have 2 errors in the kernel log, but I don't know what they mean: > >> > >>shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5 > >>shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5 > >> > >> > > > >I wouldn't worry about those. They're related to the ACPI (Advanced > >Configuration and Power Interface) system and aren't critical. You may > >wish to turn off ACPI ("chkconfig acpid off;service acpid stop") or > >boot with "noacpi". > > > >---------------------------------------------------------------------- > >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >- VitalStream, Inc. http://www.vitalstream.com - > >- - > >- Time: Nature's way of keeping everything from happening at once. - > >---------------------------------------------------------------------- > > > >_______________________________________________ > >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, > > There were no resource hogs in "ps ax" or "top". > > It wasn't "updatedb". "DAILY_UPDATE" was no. I have been booting the > machine at least once a day > since I installed on January 16. BTW, I love "slocate". > > I turned off acpid first by stopping the service; things improved > dramatically and instantly. > Then I chkconfig'd it off. Interesting that acpid hosed the machine that badly. Weird! > I want to boot with "noacpi". Where do I put that? Edit /boot/grub/grub.conf. Find the stanza that reflects your kernel, and edit the "kernel=" line. Put " noacpi" at the end. For example, on my Fedora Core 4 machine: title Fedora Core (2.6.14-1.1656_FC4) root (hd0,0) kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb quiet noacpi <<<<====NOTE! initrd /boot/initrd-2.6.14-1.1656_FC4.img If you just want to try it once, reboot the system. At the grub screen scroll to the kernel you want to play with and hit "E". Scroll down to the kernel line and hit "E" again. Go to the end of the line and add " noacpi" to it (don't forget the leading space and do NOT include the quote marks), then hit and press B. The system will boot with noacpi THIS TIME ONLY. If you want it to be permanent, you have to edit the grub.conf file as I mentioned above. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If this is the first day of the rest of my life... - - I'm in BIG trouble! - ---------------------------------------------------------------------- From Andrew.Bowden at med.monash.edu.au Tue Jan 31 02:23:47 2006 From: Andrew.Bowden at med.monash.edu.au (Andrew Bowden) Date: Tue, 31 Jan 2006 13:23:47 +1100 Subject: HDIO_SET_DMA failed: Operation not permitted Message-ID: > On Fri, 2006-01-27 at 17:49 -0800, Biswajit Nayak wrote: > > No I do not think i did with nodma . Here is the > > output of > > > > [root at localhost ocsperf]# cat /proc/cmdline > > ro root=/dev/VolGroup00/LogVol00 rhgb quiet > > Ok, so you didn't disable DMA there. You are, however, using LVM. > Are you using hardware or software RAID? If so, then you can't just > turn DMA on on one drive, but on all drives that make up the RAID. > > We also need to know a bit more about your hardware. What motherboard > are you using? What kind of drives? > > > 2. How to make sure that the controller/drive does not > > permit dma > > ? > > Again, it could be an interaction between RAID (if used), LVM and your > controller. Hi, I'm a long time reader, first time poster ;) I think that I had this problem about a week ago when I was rebuilding my kernel on a new Debian box. It turned out that the problem was that if you compiled the kernel with ide_generic enabled, this module 'knocked' off any specific ide controller (this was with kernel 2.6.12 - I think). The way that I ended up fixing this was to do lspci and work out what chipset was controlling the ide channel (from memory it was a VIA) and then enabling this in the kernel and disabling the ide_generic module. This worked for me, I am not guaranteeing anything for you - but if you break it you get to keep both the pieces :) Andrew Bowden From bwnayak at yahoo.com Tue Jan 31 06:20:10 2006 From: bwnayak at yahoo.com (Biswajit Nayak) Date: Mon, 30 Jan 2006 22:20:10 -0800 (PST) Subject: HDIO_SET_DMA failed: Operation not permitted In-Reply-To: Message-ID: <20060131062010.84246.qmail@web30712.mail.mud.yahoo.com> Thanks a lot. I switced the machine to Windows. I will try to reinstall linux and try to fix the DMA issue. Biswajit --- Andrew Bowden wrote: > > On Fri, 2006-01-27 at 17:49 -0800, Biswajit Nayak > wrote: > > > No I do not think i did with nodma . Here is the > > > output of > > > > > > [root at localhost ocsperf]# cat /proc/cmdline > > > ro root=/dev/VolGroup00/LogVol00 rhgb quiet > > > > Ok, so you didn't disable DMA there. You are, > however, using LVM. > > Are you using hardware or software RAID? If so, > then you can't just > > turn DMA on on one drive, but on all drives that > make up the RAID. > > > > We also need to know a bit more about your > hardware. What motherboard > > are you using? What kind of drives? > > > > > 2. How to make sure that the controller/drive > does not > > > permit dma > > > ? > > > > Again, it could be an interaction between RAID (if > used), LVM and your > > controller. > > Hi, I'm a long time reader, first time poster ;) > I think that I had this problem about a week ago > when I was rebuilding > my kernel on a new Debian box. It turned out that > the problem was that > if you compiled the kernel with ide_generic enabled, > this module > 'knocked' off any specific ide controller (this was > with kernel 2.6.12 - > I think). > > The way that I ended up fixing this was to do lspci > and work out what > chipset was controlling the ide channel (from memory > it was a VIA) and > then enabling this in the kernel and disabling the > ide_generic module. > > This worked for me, I am not guaranteeing anything > for you - but if you > break it you get to keep both the pieces :) > > Andrew Bowden > > _______________________________________________ > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ciril at hcl.in Tue Jan 31 06:39:17 2006 From: ciril at hcl.in (Ciril Ignatious T) Date: Tue, 31 Jan 2006 12:09:17 +0530 Subject: Numa Architecture Support in Redhat Advanced Server 4.0 Message-ID: <43DF0615.7060609@hcl.in> Dear All We have a 16 way Numa Architecture server . Whether Redhat Advanced Server Supports NUMA architecture. Thanks and Regards Ciril From rstevens at vitalstream.com Tue Jan 31 17:47:38 2006 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 31 Jan 2006 09:47:38 -0800 Subject: Numa Architecture Support in Redhat Advanced Server 4.0 In-Reply-To: <43DF0615.7060609@hcl.in> References: <43DF0615.7060609@hcl.in> Message-ID: <1138729658.27596.24.camel@prophead.corp.publichost.com> On Tue, 2006-01-31 at 12:09 +0530, Ciril Ignatious T wrote: > Dear All > > We have a 16 way Numa Architecture server . > Whether Redhat Advanced Server Supports NUMA architecture. AS4 will support as many CPUs as you have. The Linux kernel is limited to 64 maximum. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Always remember you're unique, just like everyone else. - ----------------------------------------------------------------------