From redhat at buglecreek.com Fri Feb 2 18:24:39 2007 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Fri, 02 Feb 2007 11:24:39 -0700 Subject: Showing NFS server client mounts Message-ID: <1170440679.5283.1172619583@webmail.messagingengine.com> Does any one know of a way to accurately show which clients are currently mounted to a nfs server. The showmount command is always inaccurate due to stale entries in rmtab. On a nfs server that definitely does not have any remote mounts using showmount shows many clients mounted. I have also tried looking at the contents of /var/lib/nfs/xtab, it is sometimes correct and other times it mirrors the output of showmount. Using exportfs -r seems to sync the wrong data (showmount output) to /var/lib/nfs/xtab. According to the man page exportfs -f only works in new mode (2.6 kernel), this server runs a 2.4 kernel. Is there any other way to get accurate client mount information? Thanks From Taylor_WarrenL at emc.com Sun Feb 4 03:31:49 2007 From: Taylor_WarrenL at emc.com (Taylor_WarrenL at emc.com) Date: Sat, 3 Feb 2007 22:31:49 -0500 Subject: Installation error Message-ID: Traceback (most recent call last): File "/usr/bin/anaconda", line 1181, in ? Intf.run(id, dispatch, configFileData) File "/usr/src/build/761797-s390x/install//usr/lib/anaconda/text.py", line 510 , in run dispatch.gotoNext() File "/usr/src/build/76197-390x/install//usr/lib/anaconda/dispatch.py", line 171, in gotoNext self.moveStep() File "/usr/src/build/761797-s390x/install//usr/lib/anaconda/dispatch.py", line 239, in moveStep rc = apply(func, self.bindArgs(args)) File "/usr/src/build/76197-s390x/install//usr/lib/anaconda/packages.py", line 158, in readPackages hdrlist = method.readHeaders() File "/usr/src/build/76197-s390x/install//usr/lib/anaconda/urlinstall.py", line 197, in readHeaders raise TypeError, "header list is empty!" TypeError: header list is empty! > /usr/src/build/761797-s390x/install/usr/lib/anaconda/urlinstall.py(197)r eadHeaders() -> raise TypeError, "header list is empty!" Anyone know what I'm doing wrong?? From mansoore at nesma.net.sa Sun Feb 4 21:13:57 2007 From: mansoore at nesma.net.sa (Mansour Mohammed) Date: Mon, 5 Feb 2007 00:13:57 +0300 Subject: Red Hat Enterprise Linux AS 4 Update 1 (AMD64/Intel EM64T) Message-ID: Dear All, How to install RHEL4 update1 on SAS drive? We have DELL PE1955 plade servers, which has SAS HD. We need to install Red Hat Enterprise Linux AS 4 Update 1 (AMD64/Intel EM64T) which is NOT supported by DELL OpenManage Server Assistant tool; that contains SAS driver. So I have to go with RedHat CDs. I downloaded the SAS driver and I have it over a CD. I search in RHN knowledgebase but nothing. -Is there any kernel parameter that i can pass while installation? I tried while installation. 1-[# Linux dd updates], 2- I got prompt for any existing Disk Driver. 3- I force it to go for the CDROM. 4- prompt "no driver found, insert disk driver" Your help will appreciate Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Mon Feb 5 17:06:16 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 05 Feb 2007 09:06:16 -0800 Subject: Red Hat Enterprise Linux AS 4 Update 1 (AMD64/Intel EM64T) In-Reply-To: References: Message-ID: <1170695176.3045.57.camel@prophead.corp.publichost.com> On Mon, 2007-02-05 at 00:13 +0300, Mansour Mohammed wrote: > Dear All, > > > > How to install RHEL4 update1 on SAS drive? > > > > > We have DELL PE1955 plade servers, which has SAS HD. > We need to install Red Hat Enterprise Linux AS 4 Update 1 (AMD64/Intel > EM64T) which is NOT supported by DELL > OpenManage Server Assistant tool; that contains SAS driver. > So I have to go with RedHat CDs. I downloaded the SAS driver and I > have it > over a CD. > > I search in RHN knowledgebase but nothing. > > -Is there any kernel parameter that i can pass while installation? > I tried while installation. > 1-[# Linux dd updates], > 2- I got prompt for any existing Disk Driver. > 3- I force it to go for the CDROM. > 4- prompt "no driver found, insert disk driver" Driver disk images have a very specific format for the installer to use them. At a minimum, the disk must have the following files: modinfo modules.cgz modules.dep pcitable rhdd-6.1 If your driver disk (floppy, CD, whatever) is NOT set up that way, you can't use it with the installer. If, however, it IS set up like that, then use either the "expert" or "dd" options to the the boot command to make the installer request the driver disk: boot: linux dd When prompted, pop out the Red Hat CD, put in your driver CD and press "ENTER". You didn't say which SAS board you have, so I can't advise you any further. However, my scan of the Adaptec site shows that the downloads associated with the cards contain both RPM and driver disk images. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Microsoft is a cross between The Borg and the Ferengi. - - Unfortunately they use Borg to do their marketing and Ferengi to - - do their programming." -- Simon Slavin - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Feb 5 17:11:42 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 05 Feb 2007 09:11:42 -0800 Subject: Installation error In-Reply-To: References: Message-ID: <1170695502.3045.64.camel@prophead.corp.publichost.com> On Sat, 2007-02-03 at 22:31 -0500, Taylor_WarrenL at emc.com wrote: > Traceback (most recent call last): > File "/usr/bin/anaconda", line 1181, in ? > Intf.run(id, dispatch, configFileData) > File "/usr/src/build/761797-s390x/install//usr/lib/anaconda/text.py", > line 510 > , in run > dispatch.gotoNext() > File > "/usr/src/build/76197-390x/install//usr/lib/anaconda/dispatch.py", line > 171, in gotoNext > self.moveStep() > File > "/usr/src/build/761797-s390x/install//usr/lib/anaconda/dispatch.py", > line > 239, in moveStep > rc = apply(func, self.bindArgs(args)) > File > "/usr/src/build/76197-s390x/install//usr/lib/anaconda/packages.py", line > 158, in readPackages > hdrlist = method.readHeaders() > File > "/usr/src/build/76197-s390x/install//usr/lib/anaconda/urlinstall.py", > line > 197, in readHeaders > raise TypeError, "header list is empty!" > TypeError: header list is empty! > > > > /usr/src/build/761797-s390x/install/usr/lib/anaconda/urlinstall.py(197)r > eadHeaders() > -> raise TypeError, "header list is empty!" > > Anyone know what I'm doing wrong?? It would help if you'd tell us what you're trying to do. "Installation error" covers a LOT of ground. When posting a question, please try to provide as much information as possible. At the very least: Operating system version involved Attempted operation (install, update, etc.) CPU type and motherboard Disk type (SATA, IDE, SCSI, SAS) and size Memory size Video card Detailed error messages We can then winnow out what you need to know and or do. At least it gives us a good starting point. Also be aware that the gang here are volunteers...we're not Red Hat employees, so don't beat us up too much if we don't have the answer. We're good, but not perfect! :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Batteries not included. Offer not valid in some states. - - Your mileage may vary. Void where prohibited. - ---------------------------------------------------------------------- From Travis.R.Waldher at boeing.com Mon Feb 5 20:12:09 2007 From: Travis.R.Waldher at boeing.com (Waldher, Travis R) Date: Mon, 5 Feb 2007 12:12:09 -0800 Subject: VERY weird ypserve problem Message-ID: It is actually the same problem this guy is having: http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2006-01/msg005 54.html But, he never got an answer and was hoping someone here might. Versions of yp software on my system: yp-tools-2.8-7 ypserv-2.13-9 ypbind-1.17.2-8 ypinit/make is using /usr/lib64/yp to do the builds. NIS master is 64 bit Redhat, clients are 32 bit ydl (redhats step child) Thanks, Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Travis.R.Waldher at boeing.com Mon Feb 5 20:39:13 2007 From: Travis.R.Waldher at boeing.com (Waldher, Travis R) Date: Mon, 5 Feb 2007 12:39:13 -0800 Subject: VERY weird ypserve problem In-Reply-To: Message-ID: Found the fix: http://help.lockergnome.com/linux/Redhat-AS4-fresh-install-ypserv-stable -ftopict376106.html haven't tested it out yet. ________________________________ From: Waldher, Travis R Sent: Monday, February 05, 2007 12:12 PM To: Getting started with Red Hat Linux Subject: VERY weird ypserve problem It is actually the same problem this guy is having: http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2006-01/msg005 54.html But, he never got an answer and was hoping someone here might. Versions of yp software on my system: yp-tools-2.8-7 ypserv-2.13-9 ypbind-1.17.2-8 ypinit/make is using /usr/lib64/yp to do the builds. NIS master is 64 bit Redhat, clients are 32 bit ydl (redhats step child) Thanks, Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From Travis.R.Waldher at boeing.com Tue Feb 6 00:02:45 2007 From: Travis.R.Waldher at boeing.com (Waldher, Travis R) Date: Mon, 5 Feb 2007 16:02:45 -0800 Subject: VERY weird ypserve problem In-Reply-To: Message-ID: Confirmed, it's fixed with 2.13-14. ________________________________ From: Waldher, Travis R Sent: Monday, February 05, 2007 12:39 PM To: Getting started with Red Hat Linux Subject: RE: VERY weird ypserve problem Found the fix: http://help.lockergnome.com/linux/Redhat-AS4-fresh-install-ypserv-stable -ftopict376106.html haven't tested it out yet. ________________________________ From: Waldher, Travis R Sent: Monday, February 05, 2007 12:12 PM To: Getting started with Red Hat Linux Subject: VERY weird ypserve problem It is actually the same problem this guy is having: http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2006-01/msg005 54.html But, he never got an answer and was hoping someone here might. Versions of yp software on my system: yp-tools-2.8-7 ypserv-2.13-9 ypbind-1.17.2-8 ypinit/make is using /usr/lib64/yp to do the builds. NIS master is 64 bit Redhat, clients are 32 bit ydl (redhats step child) Thanks, Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodrigofariatavares at bol.com.br Tue Feb 6 01:46:41 2007 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Mon, 5 Feb 2007 23:46:41 -0200 Subject: Create Subpackages Message-ID: <000d01c74990$a6ddf1f0$0100000a@faria> Hello, About Subpackages in Maximum RPM. They are often used ? Best regards, Rodrigo Faria From rodrigofariatavares at bol.com.br Tue Feb 6 12:52:30 2007 From: rodrigofariatavares at bol.com.br (rodrigofariatavares) Date: Tue, 6 Feb 2007 10:52:30 -0200 Subject: How to create packages another plataforms Message-ID: Hello, I read http://www.rpm.org/max-rpm/ch-rpm-multi.html I'm a litte confused. I saw, that : arc_canon : define architecture name os_canon : define operation system name buildarchtranslate : build platform information buildostranslate : define the build operating system for systems running the Linux operating system Do I have create a rpmrc in source directory ? How I can to compile this package, from another plataform ? Best regards, Rodrigo Faria Tavares From rstevens at vitalstream.com Tue Feb 6 17:54:53 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Feb 2007 09:54:53 -0800 Subject: How to create packages another plataforms In-Reply-To: References: Message-ID: <1170784493.5284.30.camel@prophead.corp.publichost.com> On Tue, 2007-02-06 at 10:52 -0200, rodrigofariatavares wrote: > Hello, > > I read http://www.rpm.org/max-rpm/ch-rpm-multi.html > I'm a litte confused. > > I saw, that : > > arc_canon : define architecture name > os_canon : define operation system name > buildarchtranslate : build platform information > buildostranslate : define the build operating system for systems running the Linux operating system > > > Do I have create a rpmrc in source directory ? No, you can specify where the rpmrc file is located. > How I can to compile this package, from another plataform ? You need the source code RPM. If all you have is a binary RPM, then you have no source to rebuild the code. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You know you've landed gear-up when it takes full power to taxi. - - -- Chuck Yeager - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Feb 6 18:00:18 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Feb 2007 10:00:18 -0800 Subject: Create Subpackages In-Reply-To: <000d01c74990$a6ddf1f0$0100000a@faria> References: <000d01c74990$a6ddf1f0$0100000a@faria> Message-ID: <1170784818.5284.36.camel@prophead.corp.publichost.com> On Mon, 2007-02-05 at 23:46 -0200, Rodrigo Faria Tavares wrote: > Hello, > > About Subpackages in Maximum RPM. > > They are often used ? No. Sometimes they're used to create dependencies (e.g. the "xxx-libs" RPM that makes up a whole package). For example, the "e2fsprogs" package is made up of: e2fsprogs-devel-(version) e2fsprogs-libs-(version) e2fsprogs-(version) Subpackages may be used to create the "e2fsprogs-libs" and/or "e2fsprogs-devel" RPMs. More commonly, those are created by a separate build process. Your choice. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - 500: Internal Fortune Cookie Error - ---------------------------------------------------------------------- From rodrigofariatavares at bol.com.br Wed Feb 7 11:05:29 2007 From: rodrigofariatavares at bol.com.br (rodrigofariatavares) Date: Wed, 7 Feb 2007 09:05:29 -0200 Subject: Creating packages another plataform Message-ID: Hi Stevens, I have the sources. I create this rpmrc. arch_canon: i686: i686 1 os_canon: Linux: Linux 1 buildarchtranslate: i586: i386 buildostranslate: Linux: Linux arch_compat: i586: i486 arch_compat: i486: i386 Then i run this command: rpmbuild --rcfile=rpmrc package/SPECS/package.spec After i run rpmbuild -bb but not create with i686. What's happening ? Best regards, Rodrigo Faria Tavares > Hello, > > I read http://www.rpm.org/max-rpm/ch-rpm-multi.html > I'm a litte confused. > > I saw, that : > > arc_canon : define architecture name > os_canon : define operation system name > buildarchtranslate : build platform information > buildostranslate : define the build operating system for systems running the Linux operating system > > > Do I have create a rpmrc in source directory ? >No, you can specify where the rpmrc file is located. > How I can to compile this package, from another plataform ? >You need the source code RPM. If all you have is a binary RPM, then you >have no source to rebuild the code. From rstevens at vitalstream.com Wed Feb 7 18:06:15 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 07 Feb 2007 10:06:15 -0800 Subject: Creating packages another plataform In-Reply-To: References: Message-ID: <1170871575.5284.73.camel@prophead.corp.publichost.com> On Wed, 2007-02-07 at 09:05 -0200, rodrigofariatavares wrote: > Hi Stevens, > > I have the sources. > I create this rpmrc. > > arch_canon: i686: i686 1 > os_canon: Linux: Linux 1 > buildarchtranslate: i586: i386 > buildostranslate: Linux: Linux > arch_compat: i586: i486 > arch_compat: i486: i386 > > Then i run this command: > > rpmbuild --rcfile=rpmrc package/SPECS/package.spec > After i run rpmbuild -bb but not create with i686. > > > What's happening ? You've got everything covered EXCEPT an i686. You should probably add a "buildtranslate: i686: i586" and an "arch_compat: i686: i586". > > Hello, > > > > I read http://www.rpm.org/max-rpm/ch-rpm-multi.html > > I'm a litte confused. > > > > I saw, that : > > > > arc_canon : define architecture name > > os_canon : define operation system name > > buildarchtranslate : build platform information > > buildostranslate : define the build operating system for systems running the Linux operating system > > > > > > Do I have create a rpmrc in source directory ? > > >No, you can specify where the rpmrc file is located. > > > How I can to compile this package, from another plataform ? > > >You need the source code RPM. If all you have is a binary RPM, then you > >have no source to rebuild the code. > > > > _______________________________________________ > 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 - - - - I.R.S.: We've got what it takes to take what you've got! - ---------------------------------------------------------------------- From micros50 at verizon.net Thu Feb 8 04:32:45 2007 From: micros50 at verizon.net (mylar) Date: Wed, 07 Feb 2007 23:32:45 -0500 Subject: Yum dependency Problem after Upgrade ? Message-ID: <1170909164.20920.1868.camel@manhattan.ruffe.edu> Howdy, Just the other day I updated a FC3 box to FC5 via CD's. For the very first time I opted to do an upgrade instead of a fresh install. The upgrade went fine, or so I thought. Then some problems crept in... I noticed some apps (i.e.) emacs seem to be missing necessary fonts. But most important, I can't do any updates with yum. If I try to update a (say kde) I get the following dependency eerrors XFree86-devel needed... xorg-x11-devel needed... If I try and install these via yum it doesn't work... Any ideas ? Could it have something to do with depreciation of certain packages between versions ?? I tried googling around but found nothing helpful. Or should I just go back and do a fresh install of FC5 ?? Help ??? mylar From gipt.system at gmail.com Thu Feb 8 16:35:13 2007 From: gipt.system at gmail.com (Boris Raikhlin) Date: Thu, 8 Feb 2007 18:35:13 +0200 Subject: RHEL v4 can't find HDD issue Message-ID: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> Hello, I have a new PC of the following configuration: - Motherboard: Intel DG965WH; - CPU Intel Core 2 Duo E6600; - Chipset: G965; - SATA controller: ICH8; - HDD: 2x250GB disks. 1) I'm trying to install RHEL Server v4 kit (trial license). 2) I downloaded and burned the x86_64 version. 3) I know about the only working AHCI mode for ICH8. 4) I tried all the three drives options: IDE, AHCI and RAID (with RAID configuration). I get "No driver found" message at the beginning of the installation. 5) I installed the last BIOS update: MQ1618. Nothing has changed. 6) I tried RHEL v5 also. Same result. Please, help. Thanks Boris Raikhlin System Manager Gallery IP Telephony -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Thu Feb 8 17:28:16 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 08 Feb 2007 09:28:16 -0800 Subject: Yum dependency Problem after Upgrade ? In-Reply-To: <1170909164.20920.1868.camel@manhattan.ruffe.edu> References: <1170909164.20920.1868.camel@manhattan.ruffe.edu> Message-ID: <1170955696.5284.162.camel@prophead.corp.publichost.com> On Wed, 2007-02-07 at 23:32 -0500, mylar wrote: > Howdy, > > Just the other day I updated a FC3 box to FC5 via CD's. For the very > first time I opted to do an upgrade instead of a fresh install. The > upgrade went fine, or so I thought. Then some problems crept in... > > I noticed some apps (i.e.) emacs seem to be missing necessary fonts. > > But most important, I can't do any updates with yum. If I try to update > a (say kde) I get the following dependency eerrors > > XFree86-devel needed... > xorg-x11-devel needed... > > If I try and install these via yum it doesn't work... > > Any ideas ? Could it have something to do with depreciation of certain > packages between versions ?? I tried googling around but found nothing > helpful. Or should I just go back and do a fresh install of FC5 ?? I'd do a fresh install. FC5 uses Xorg for X instead of FC3's XFree86. There's lots of inherent differences between the two systems... especially in the development trees. You're running into that issue. Can you fix it without a reinstall? Yes, but it can be rather time consuming and frustrating. I've done it. I wouldn't do it again. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Artificial Intelligence usually beats real stupidity. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Feb 8 17:35:05 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 08 Feb 2007 09:35:05 -0800 Subject: RHEL v4 can't find HDD issue In-Reply-To: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> References: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> Message-ID: <1170956106.5284.166.camel@prophead.corp.publichost.com> On Thu, 2007-02-08 at 18:35 +0200, Boris Raikhlin wrote: > Hello, > > I have a new PC of the following configuration: > > - Motherboard: Intel DG965WH; > > - CPU Intel Core 2 Duo E6600; > > - Chipset: G965; > > - SATA controller: ICH8; > > - HDD: 2x250GB disks. > > 1) I'm trying to install RHEL Server v4 kit (trial license). > > 2) I downloaded and burned the x86_64 version. > > 3) I know about the only working AHCI mode for ICH8. > > 4) I tried all the three drives options: IDE, AHCI and RAID (with RAID > configuration). > > I get "No driver found" message at the beginning of the installation. > > 5) I installed the last BIOS update: MQ1618. Nothing has changed. > > 6) I tried RHEL v5 also. Same result. I'm not sure that controller is recognized by RHEL. It's pretty new. The current compatible hardware list is at: http://hardware.redhat.com/hcl/ You may find you need to download a driver from Intel's site (if there is one). ---------------------------------------------------------------------- - 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 ktr at mtu.edu Thu Feb 8 18:37:11 2007 From: ktr at mtu.edu (Kevin Raber) Date: Thu, 08 Feb 2007 13:37:11 -0500 Subject: RHEL v4 can't find HDD issue In-Reply-To: <1170956106.5284.166.camel@prophead.corp.publichost.com> References: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> <1170956106.5284.166.camel@prophead.corp.publichost.com> Message-ID: <45CB6DD7.5080802@mtu.edu> Rick Stevens wrote: > On Thu, 2007-02-08 at 18:35 +0200, Boris Raikhlin wrote: >> Hello, >> >> I have a new PC of the following configuration: >> >> - Motherboard: Intel DG965WH; >> >> - CPU Intel Core 2 Duo E6600; >> >> - Chipset: G965; >> >> - SATA controller: ICH8; >> >> - HDD: 2x250GB disks. >> >> 1) I'm trying to install RHEL Server v4 kit (trial license). >> >> 2) I downloaded and burned the x86_64 version. >> >> 3) I know about the only working AHCI mode for ICH8. >> >> 4) I tried all the three drives options: IDE, AHCI and RAID (with RAID >> configuration). >> >> I get "No driver found" message at the beginning of the installation. >> >> 5) I installed the last BIOS update: MQ1618. Nothing has changed. >> >> 6) I tried RHEL v5 also. Same result. > > I'm not sure that controller is recognized by RHEL. It's pretty new. > The current compatible hardware list is at: > > http://hardware.redhat.com/hcl/ > > You may find you need to download a driver from Intel's site (if there > is one). > Hi - I think you will find that Fedora Core 6 will recognize that SATA controller, and also Redhat 5 beta 2 will as well. If you want to stay with RH4, then take a look here: http://www.jmicron.com/Driver.htm there is an FTP link at the bottom where you can download a floppy image to use with "linux dd" at the first RH4 cd install prompt, ktr From micros50 at verizon.net Thu Feb 8 21:08:39 2007 From: micros50 at verizon.net (Micros50) Date: Thu, 08 Feb 2007 16:08:39 -0500 Subject: Yum dependency Problem after Upgrade ? In-Reply-To: <1170955696.5284.162.camel@prophead.corp.publichost.com> References: <1170909164.20920.1868.camel@manhattan.ruffe.edu> <1170955696.5284.162.camel@prophead.corp.publichost.com> Message-ID: <1170968919.10821.145.camel@manhattan.ruffe.edu> On Thu, 2007-02-08 at 12:28, Rick Stevens wrote: > On Wed, 2007-02-07 at 23:32 -0500, mylar wrote: > > Howdy, > > > > Just the other day I updated a FC3 box to FC5 via CD's. For the very > > first time I opted to do an upgrade instead of a fresh install. The > > upgrade went fine, or so I thought. Then some problems crept in... > > > > I noticed some apps (i.e.) emacs seem to be missing necessary fonts. > > > > But most important, I can't do any updates with yum. If I try to update > > a (say kde) I get the following dependency eerrors > > > > XFree86-devel needed... > > xorg-x11-devel needed... > > > > If I try and install these via yum it doesn't work... > > > > Any ideas ? Could it have something to do with depreciation of certain > > packages between versions ?? I tried googling around but found nothing > > helpful. Or should I just go back and do a fresh install of FC5 ?? > > I'd do a fresh install. FC5 uses Xorg for X instead of FC3's XFree86. > There's lots of inherent differences between the two systems... > especially in the development trees. You're running into that issue. > > Can you fix it without a reinstall? Yes, but it can be rather time > consuming and frustrating. I've done it. I wouldn't do it again. > Thanks Rick. I thought I might have missed something during the upgrade. But from the dependency errors I saw it look like what you describe, compatibility issues between Xorg and XFree86. I'd imagine fixing it manually will lead me into "dependency hell". I was hoping I could manage with a simple upgrade rather than a full re-install but I guess that would be too easy :) I'll give a go at a re installation. I'm stuck at home with a injured leg so it will give me something to do. mylar From rstevens at vitalstream.com Thu Feb 8 21:56:22 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 08 Feb 2007 13:56:22 -0800 Subject: Yum dependency Problem after Upgrade ? In-Reply-To: <1170968919.10821.145.camel@manhattan.ruffe.edu> References: <1170909164.20920.1868.camel@manhattan.ruffe.edu> <1170955696.5284.162.camel@prophead.corp.publichost.com> <1170968919.10821.145.camel@manhattan.ruffe.edu> Message-ID: <1170971782.5284.194.camel@prophead.corp.publichost.com> On Thu, 2007-02-08 at 16:08 -0500, Micros50 wrote: > On Thu, 2007-02-08 at 12:28, Rick Stevens wrote: > > On Wed, 2007-02-07 at 23:32 -0500, mylar wrote: > > > Howdy, > > > > > > Just the other day I updated a FC3 box to FC5 via CD's. For the very > > > first time I opted to do an upgrade instead of a fresh install. The > > > upgrade went fine, or so I thought. Then some problems crept in... > > > > > > I noticed some apps (i.e.) emacs seem to be missing necessary fonts. > > > > > > But most important, I can't do any updates with yum. If I try to update > > > a (say kde) I get the following dependency eerrors > > > > > > XFree86-devel needed... > > > xorg-x11-devel needed... > > > > > > If I try and install these via yum it doesn't work... > > > > > > Any ideas ? Could it have something to do with depreciation of certain > > > packages between versions ?? I tried googling around but found nothing > > > helpful. Or should I just go back and do a fresh install of FC5 ?? > > > > I'd do a fresh install. FC5 uses Xorg for X instead of FC3's XFree86. > > There's lots of inherent differences between the two systems... > > especially in the development trees. You're running into that issue. > > > > Can you fix it without a reinstall? Yes, but it can be rather time > > consuming and frustrating. I've done it. I wouldn't do it again. > > > > Thanks Rick. I thought I might have missed something during the upgrade. But > from the dependency errors I saw it look like what you describe, compatibility > issues between Xorg and XFree86. I'd imagine fixing it manually will lead me > into "dependency hell". I was hoping I could manage with a simple > upgrade rather than a full re-install but I guess that would be too easy :) > > I'll give a go at a re installation. I'm stuck at home with a injured leg > so it will give me something to do. Well, you can try "rpm -e XFree86*" and that will either delete it or spew a list of packages that depend on it. You can delete those first, then delete XFree86. "yum delete XFree86*" would probably do it as well as deleting the dependencies. Just be warned that you may hose things badly. If you're stuck at home, why not go for FC6? FC5 won't be around that much longer with FC7 gets released. A word of warning: FC6's installer will install the 586 kernel on a 686 machine (known problem). As soon as it's installed, make sure you yum install kernel-`uname -r`.i686 to make sure you have the i686 kernel installed. Then reboot using that kernel and "yum delete kernel-`uname -r`.i586" to make sure the old 586 kernel RPM is gone. Even better, go to fedoraunity.org and download the FC6 respin. That's FC6 plus all the updates through January 11, 2007 or so. It will install the correct kernel as well as reducing the number of updates that have to be done via yum (if you have everything installed, there's something like 500 updates--it can take a while). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I never drink water because of the disgusting things that fish do - - in it. - - -- WC. Fields - ---------------------------------------------------------------------- From gipt.system at gmail.com Fri Feb 9 06:38:07 2007 From: gipt.system at gmail.com (Boris Raikhlin) Date: Fri, 9 Feb 2007 08:38:07 +0200 Subject: RHEL v4 can't find HDD issue In-Reply-To: <45CB6DD7.5080802@mtu.edu> References: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> <1170956106.5284.166.camel@prophead.corp.publichost.com> <45CB6DD7.5080802@mtu.edu> Message-ID: <1d0043e80702082238r3ca4b826x9becebbd43056c@mail.gmail.com> Thank you, I'll try this driver. The RHEL v5 Beta 2 doesn't include it either. Boris Raikhlin System Manager Gallery IP Telephony On 2/8/07, Kevin Raber wrote: > > Rick Stevens wrote: > > On Thu, 2007-02-08 at 18:35 +0200, Boris Raikhlin wrote: > >> Hello, > >> > >> I have a new PC of the following configuration: > >> > >> - Motherboard: Intel DG965WH; > >> > >> - CPU Intel Core 2 Duo E6600; > >> > >> - Chipset: G965; > >> > >> - SATA controller: ICH8; > >> > >> - HDD: 2x250GB disks. > >> > >> 1) I'm trying to install RHEL Server v4 kit (trial license). > >> > >> 2) I downloaded and burned the x86_64 version. > >> > >> 3) I know about the only working AHCI mode for ICH8. > >> > >> 4) I tried all the three drives options: IDE, AHCI and RAID (with RAID > >> configuration). > >> > >> I get "No driver found" message at the beginning of the installation. > >> > >> 5) I installed the last BIOS update: MQ1618. Nothing has changed. > >> > >> 6) I tried RHEL v5 also. Same result. > > > > I'm not sure that controller is recognized by RHEL. It's pretty new. > > The current compatible hardware list is at: > > > > http://hardware.redhat.com/hcl/ > > > > You may find you need to download a driver from Intel's site (if there > > is one). > > > Hi - I think you will find that Fedora Core 6 will recognize that SATA > controller, and also Redhat 5 beta 2 will as well. If you want to stay > with RH4, then take a look here: > > http://www.jmicron.com/Driver.htm > > there is an FTP link at the bottom where you can download a floppy image > to use with "linux dd" at the first RH4 cd install prompt, > > ktr > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aubreys_key at yahoo.com Sat Feb 10 21:29:49 2007 From: aubreys_key at yahoo.com (Aubrey Barnard) Date: Sat, 10 Feb 2007 13:29:49 -0800 (PST) Subject: Mapping UIDS/GIDS between ext3 filesystems Message-ID: <48682.61624.qm@web36509.mail.mud.yahoo.com> All helpful gurus, I am transitioning to a new install of Fedora on a personal computer. I have two sets of partitions, one for a previous install and one for the new install. Both partitions use ext3. What I would like to do is have each user on the new install be able to access their files on the previous install. I am planning just to put a symlink in their new home directories which will point to their old home directories. I want to eventually phase out the old home directories and reclaim the disk space used for the old installation after the users have had time to copy relevant data and adjust to the new installation. This is all very straightforward, so what is the problem? The problem is that I want to have a different (cleaner) set of UIDS/GIDS on the new installation. Is there some way of mapping UIDS/GIDS between mounted filesystems so that I can create the new users the way I want and they will be able to seamlessly access the old files? I want to preserve the old installation as is so I can boot it if need be. This eliminates the option of changing all the permissions on the old system to match the new UIDS/GIDS. Do you have any suggestions for the future, if I want to do a similar thing again? Would a different filesystem alleviate this problem or by using ACLs instead of unix-style permissions? I am considering copying all the user data on the old installation to the new installation, but then I have the social problem of getting the users to clean out old junk. Maybe a read-only subdirectory of their home directory containing a copy of the old data would work? (This is effectively what I am trying to do with creating a symlink to the old data.) I only have a handful of users to manage so the solution doesn't need to be scalable to business proportions. I understand this question might be more appropriately put on the fedora lists, but the problem is essentially distribution-independent and this list needs some traffic too. Thanks a bundle! Aubrey Barnard ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html From gipt.system at gmail.com Sun Feb 11 14:02:52 2007 From: gipt.system at gmail.com (Boris Raikhlin) Date: Sun, 11 Feb 2007 16:02:52 +0200 Subject: RHEL v4 can't find HDD issue In-Reply-To: <45CB6DD7.5080802@mtu.edu> References: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> <1170956106.5284.166.camel@prophead.corp.publichost.com> <45CB6DD7.5080802@mtu.edu> Message-ID: <1d0043e80702110602uff21805x7e06324972fc9b10@mail.gmail.com> Hi Kevin, no jmicron driver nor Redhat 5 beta 2 helps. But Open Suse 10.2 sees disks in ahci mode and WinXP sees disks in IDE mode. Do you have any other options to try? Thank you. Boris Raikhlin System Manager Gallery IP Telephony On 2/8/07, Kevin Raber wrote: > > Rick Stevens wrote: > > On Thu, 2007-02-08 at 18:35 +0200, Boris Raikhlin wrote: > >> Hello, > >> > >> I have a new PC of the following configuration: > >> > >> - Motherboard: Intel DG965WH; > >> > >> - CPU Intel Core 2 Duo E6600; > >> > >> - Chipset: G965; > >> > >> - SATA controller: ICH8; > >> > >> - HDD: 2x250GB disks. > >> > >> 1) I'm trying to install RHEL Server v4 kit (trial license). > >> > >> 2) I downloaded and burned the x86_64 version. > >> > >> 3) I know about the only working AHCI mode for ICH8. > >> > >> 4) I tried all the three drives options: IDE, AHCI and RAID (with RAID > >> configuration). > >> > >> I get "No driver found" message at the beginning of the installation. > >> > >> 5) I installed the last BIOS update: MQ1618. Nothing has changed. > >> > >> 6) I tried RHEL v5 also. Same result. > > > > I'm not sure that controller is recognized by RHEL. It's pretty new. > > The current compatible hardware list is at: > > > > http://hardware.redhat.com/hcl/ > > > > You may find you need to download a driver from Intel's site (if there > > is one). > > > Hi - I think you will find that Fedora Core 6 will recognize that SATA > controller, and also Redhat 5 beta 2 will as well. If you want to stay > with RH4, then take a look here: > > http://www.jmicron.com/Driver.htm > > there is an FTP link at the bottom where you can download a floppy image > to use with "linux dd" at the first RH4 cd install prompt, > > ktr > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktr at mtu.edu Sun Feb 11 18:55:28 2007 From: ktr at mtu.edu (Kevin Raber) Date: Sun, 11 Feb 2007 13:55:28 -0500 Subject: RHEL v4 can't find HDD issue In-Reply-To: <1d0043e80702110602uff21805x7e06324972fc9b10@mail.gmail.com> References: <1d0043e80702080835o4f859ae3p375f7d54e962b7a0@mail.gmail.com> <1170956106.5284.166.camel@prophead.corp.publichost.com> <45CB6DD7.5080802@mtu.edu> <1d0043e80702110602uff21805x7e06324972fc9b10@mail.gmail.com> Message-ID: <45CF66A0.4060103@mtu.edu> Boris Raikhlin wrote: > Hi Kevin, > > no jmicron driver nor Redhat 5 beta 2 helps. > > But Open Suse 10.2 sees disks in ahci mode > and WinXP sees disks in IDE mode. > > Do you have any other options to try? > > > Thank you. > > Boris Raikhlin > > System Manager > > Gallery IP Telephony > > On 2/8/07, *Kevin Raber* > wrote: > > Rick Stevens wrote: > > On Thu, 2007-02-08 at 18:35 +0200, Boris Raikhlin wrote: > >> Hello, > >> > >> I have a new PC of the following configuration: > >> > >> - Motherboard: Intel DG965WH; > >> > >> - CPU Intel Core 2 Duo E6600; > >> > >> - Chipset: G965; > >> > >> - SATA controller: ICH8; > >> > >> - HDD: 2x250GB disks. > >> > >> 1) I'm trying to install RHEL Server v4 kit (trial license). > >> > >> 2) I downloaded and burned the x86_64 version. > >> > >> 3) I know about the only working AHCI mode for ICH8. > >> > >> 4) I tried all the three drives options: IDE, AHCI and RAID > (with RAID > >> configuration). > >> > >> I get "No driver found" message at the beginning of the > installation. > >> Hi again, It looks like you could try plugging the boot disk into the Jmicron SATA controller, or get the ICH8 driver from here: http://www.intel.com/cd/channel/reseller/asmo-na/eng/products/linux/feature/319373.htm not a lot of support for that chipset from RedHat it seems, ktr From rstevens at vitalstream.com Mon Feb 12 18:55:00 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Feb 2007 10:55:00 -0800 Subject: Mapping UIDS/GIDS between ext3 filesystems In-Reply-To: <48682.61624.qm@web36509.mail.mud.yahoo.com> References: <48682.61624.qm@web36509.mail.mud.yahoo.com> Message-ID: <1171306500.3074.26.camel@prophead.corp.publichost.com> On Sat, 2007-02-10 at 13:29 -0800, Aubrey Barnard wrote: > All helpful gurus, > > I am transitioning to a new install of Fedora on a personal computer. I > have two sets of partitions, one for a previous install and one for the > new install. Both partitions use ext3. What I would like to do is have > each user on the new install be able to access their files on the previous > install. I am planning just to put a symlink in their new home directories > which will point to their old home directories. I want to eventually phase > out the old home directories and reclaim the disk space used for the old > installation after the users have had time to copy relevant data and > adjust to the new installation. > > This is all very straightforward, so what is the problem? The problem is > that I want to have a different (cleaner) set of UIDS/GIDS on the new > installation. Is there some way of mapping UIDS/GIDS between mounted > filesystems so that I can create the new users the way I want and they > will be able to seamlessly access the old files? I want to preserve the > old installation as is so I can boot it if need be. This eliminates the > option of changing all the permissions on the old system to match the new > UIDS/GIDS. UIDs and GIDs are assigned at login by whatever authentication mechanism you use (passwd files, LDAP, Kerberos, whatever) and are system wide, not filesystem wide. Without using the "su" or "chgrp" commands, a user retains the UID and GID that they were assigned at login time. > Do you have any suggestions for the future, if I want to do a similar > thing again? Would a different filesystem alleviate this problem or by > using ACLs instead of unix-style permissions? ACLs supplement Unix permissions...they do not replace them. > I am considering copying all the user data on the old installation to the > new installation, but then I have the social problem of getting the users > to clean out old junk. Maybe a read-only subdirectory of their home > directory containing a copy of the old data would work? (This is > effectively what I am trying to do with creating a symlink to the old > data.) > > I only have a handful of users to manage so the solution doesn't need to > be scalable to business proportions. You can change the ownership and group of files on the old system to what the new system expects. By default, RHEL starts assigning normal user and group IDs starting at 500. Anything less than that is considered a "system" account (actually, anything from 0 to 100 is a true system account...RHEL reserves a 101-499 gap for future expansion). Set up your new users, get their UID and GIDs, then as root: # chown -R NEWUID:NEWGID /path/to/old/content # ln -s /path/to/old/content ~USERNAME/OLDSTUFF > I understand this question might be more appropriately put on the fedora > lists, but the problem is essentially distribution-independent and this > list needs some traffic too. Nah, this list is fine and yes, it is a distribution-agnostic thing. I've seen the same thing over and over in my 30 years of Unix service. As far as this list...yeah, Fedora has stolen a lot of our thunder. It's OK, however, as FC is the lab rat for RHEL and once installation issues are sorted out there, when they're rolled into RHEL, we end up with very few issues. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Any sufficiently advanced technology is indistinguishable from a - - rigged demo. - ---------------------------------------------------------------------- From lmrc at iss.com.mx Mon Feb 12 19:15:16 2007 From: lmrc at iss.com.mx (=?iso-8859-1?Q?Luis_Rodr=EDguez?=) Date: Mon, 12 Feb 2007 13:15:16 -0600 Subject: boot after kernel panic Message-ID: Hi i can't access a redhat AS2.1 after a power failure can boot this message appear: kernel panic can't continius are some way to boot... an easy way? or just acces from another linux, or with boot disk to try recover some files? the server is a proliant dl 580 with array raid 5. i appreciate any comment about this issue. Thanks -- Luis From rstevens at vitalstream.com Mon Feb 12 19:31:09 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Feb 2007 11:31:09 -0800 Subject: boot after kernel panic In-Reply-To: References: Message-ID: <1171308669.3074.47.camel@prophead.corp.publichost.com> On Mon, 2007-02-12 at 13:15 -0600, Luis Rodr?guez wrote: > Hi > > i can't access a redhat AS2.1 > > after a power failure can boot this message appear: > kernel panic can't continius > > are some way to boot... an easy way? > > or just acces from another linux, or with boot disk to try recover some > files? > > the server is a proliant dl 580 with array raid 5. > > i appreciate any comment about this issue. Lovely. Sounds like the initrd got screwed up. Boot off the rescue floppy (you DID build one, didn't you?) and run an fsck against the root partition of the hard drive. If you didn't make a rescue floppy, then you'll need to boot another version of RHEL in rescue mode and run the fsck from there. Also, AS2.1 is REALLY, REALLY ancient. It's not supported any longer and hasn't been for at least three years. Why haven't you upgraded to RHEL3 or RHEL4 or their free counterparts, CentOS? > > Thanks > > -- > Luis > > _______________________________________________ > 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 - - - - LOOK OUT!!! BEHIND YOU!!! - ---------------------------------------------------------------------- From inode0 at gmail.com Mon Feb 12 19:36:45 2007 From: inode0 at gmail.com (inode0) Date: Mon, 12 Feb 2007 13:36:45 -0600 Subject: boot after kernel panic In-Reply-To: <1171308669.3074.47.camel@prophead.corp.publichost.com> References: <1171308669.3074.47.camel@prophead.corp.publichost.com> Message-ID: On 2/12/07, Rick Stevens wrote: > Also, AS2.1 is REALLY, REALLY ancient. It's not supported any longer > and hasn't been for at least three years. Why haven't you upgraded to > RHEL3 or RHEL4 or their free counterparts, CentOS? AS2.1 is in maintenance support until May 31, 2009. John From lmrc at iss.com.mx Mon Feb 12 19:47:55 2007 From: lmrc at iss.com.mx (=?UTF-8?Q?Luis_Rodr=C3=ADguez?=) Date: Mon, 12 Feb 2007 13:47:55 -0600 Subject: boot after kernel panic In-Reply-To: <1171308669.3074.47.camel@prophead.corp.publichost.com> Message-ID: Hi Rick we not upgrade because a postgresql 7.1.3 issue, the dump can't migrate to a newer version, we need to do a process, we expect to do this in this year. about floppy, we not have one... is possible to boot with install CD? or may be create a CD boot disk? about fsck when start the linux appears a message that permit verify integrity. do 100% and after that appears kernel panic advise... this verifiy integrity, is the fsck? we appreciate your comments 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: Lunes, 12 de Febrero de 2007 01:31 p.m. To: Getting started with Red Hat Linux Subject: Re: boot after kernel panic On Mon, 2007-02-12 at 13:15 -0600, Luis Rodr?guez wrote: > Hi > > i can't access a redhat AS2.1 > > after a power failure can boot this message appear: > kernel panic can't continius > > are some way to boot... an easy way? > > or just acces from another linux, or with boot disk to try recover some > files? > > the server is a proliant dl 580 with array raid 5. > > i appreciate any comment about this issue. Lovely. Sounds like the initrd got screwed up. Boot off the rescue floppy (you DID build one, didn't you?) and run an fsck against the root partition of the hard drive. If you didn't make a rescue floppy, then you'll need to boot another version of RHEL in rescue mode and run the fsck from there. Also, AS2.1 is REALLY, REALLY ancient. It's not supported any longer and hasn't been for at least three years. Why haven't you upgraded to RHEL3 or RHEL4 or their free counterparts, CentOS? > > Thanks > > -- > Luis > > _______________________________________________ > 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 - - - - LOOK OUT!!! BEHIND YOU!!! - ---------------------------------------------------------------------- _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe From rstevens at vitalstream.com Mon Feb 12 19:56:07 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Feb 2007 11:56:07 -0800 Subject: boot after kernel panic In-Reply-To: References: <1171308669.3074.47.camel@prophead.corp.publichost.com> Message-ID: <1171310167.3074.53.camel@prophead.corp.publichost.com> On Mon, 2007-02-12 at 13:36 -0600, inode0 wrote: > On 2/12/07, Rick Stevens wrote: > > Also, AS2.1 is REALLY, REALLY ancient. It's not supported any longer > > and hasn't been for at least three years. Why haven't you upgraded to > > RHEL3 or RHEL4 or their free counterparts, CentOS? > > AS2.1 is in maintenance support until May 31, 2009. Really? Wow! I'm impressed. I thought they dumped it when RHEL4 came out. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - A squeegee, by any other name, wouldn't sound as funny. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Feb 12 20:00:47 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Feb 2007 12:00:47 -0800 Subject: boot after kernel panic In-Reply-To: References: Message-ID: <1171310447.3074.59.camel@prophead.corp.publichost.com> On Mon, 2007-02-12 at 13:47 -0600, Luis Rodr?guez wrote: > Hi Rick > > we not upgrade because a postgresql 7.1.3 issue, the dump can't migrate to a newer version, we need to do a process, we expect to do this in this year. Ah. > about floppy, we not have one... > > is possible to boot with install CD? > or may be create a CD boot disk? Hmmm. Man, it's been a long time since I used 2.1. Well, try booting the CD and see if there's a "rescue" mode on it. If there is, select it and let the system come up and mount your old system at /mnt/sysimage. > about fsck > > when start the linux > > appears a message that permit verify integrity. > > do 100% > > and after that appears kernel panic advise... > > this verifiy integrity, is the fsck? Yes, it should be. Can you post the exact panic message and the last 10 or so messages BEFORE it? That'll help us iron out what part's failing. It may not be finding the ramdisk image, which is reasonably easy to fix. ---------------------------------------------------------------------- - 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 inode0 at gmail.com Mon Feb 12 20:00:59 2007 From: inode0 at gmail.com (inode0) Date: Mon, 12 Feb 2007 14:00:59 -0600 Subject: boot after kernel panic In-Reply-To: <1171310167.3074.53.camel@prophead.corp.publichost.com> References: <1171308669.3074.47.camel@prophead.corp.publichost.com> <1171310167.3074.53.camel@prophead.corp.publichost.com> Message-ID: On 2/12/07, Rick Stevens wrote: > On Mon, 2007-02-12 at 13:36 -0600, inode0 wrote: > > On 2/12/07, Rick Stevens wrote: > > > Also, AS2.1 is REALLY, REALLY ancient. It's not supported any longer > > > and hasn't been for at least three years. Why haven't you upgraded to > > > RHEL3 or RHEL4 or their free counterparts, CentOS? > > > > AS2.1 is in maintenance support until May 31, 2009. > > Really? Wow! I'm impressed. I thought they dumped it when RHEL4 came > out. Yes. Upgrading may be a good idea but in some situations the 7 year support cycle of RHEL is an attractive reason to pay for RHEL. If it does its job, doesn't need new features, then updating it perhaps can wait a while longer. https://www.redhat.com/security/updates/errata/ John From lmrc at iss.com.mx Mon Feb 12 20:40:12 2007 From: lmrc at iss.com.mx (=?UTF-8?Q?Luis_Rodr=C3=ADguez?=) Date: Mon, 12 Feb 2007 14:40:12 -0600 Subject: boot after kernel panic In-Reply-To: <1171310447.3074.59.camel@prophead.corp.publichost.com> Message-ID: ok Rick thanks for the help y go to the site and later advice what happen. 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: Lunes, 12 de Febrero de 2007 02:01 p.m. To: Getting started with Red Hat Linux Subject: RE: boot after kernel panic On Mon, 2007-02-12 at 13:47 -0600, Luis Rodr?guez wrote: > Hi Rick > > we not upgrade because a postgresql 7.1.3 issue, the dump can't migrate to a newer version, we need to do a process, we expect to do this in this year. Ah. > about floppy, we not have one... > > is possible to boot with install CD? > or may be create a CD boot disk? Hmmm. Man, it's been a long time since I used 2.1. Well, try booting the CD and see if there's a "rescue" mode on it. If there is, select it and let the system come up and mount your old system at /mnt/sysimage. > about fsck > > when start the linux > > appears a message that permit verify integrity. > > do 100% > > and after that appears kernel panic advise... > > this verifiy integrity, is the fsck? Yes, it should be. Can you post the exact panic message and the last 10 or so messages BEFORE it? That'll help us iron out what part's failing. It may not be finding the ramdisk image, which is reasonably easy to fix. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Microsoft Windows: Proof that P.T. Barnum was right - ---------------------------------------------------------------------- _______________________________________________ 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 lmrc at iss.com.mx Tue Feb 13 00:19:53 2007 From: lmrc at iss.com.mx (=?UTF-8?Q?Luis_Rodr=C3=ADguez?=) Date: Mon, 12 Feb 2007 18:19:53 -0600 Subject: boot after kernel panic In-Reply-To: <1171310447.3074.59.camel@prophead.corp.publichost.com> Message-ID: i check the options you tell me... about fsck i rescue boot and the filesystem put in /mnt/sysimage so is safe to ran fsck /mnt/sysimage/root or need to umount and ran fsck over dev hd? Thanks again -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com]On Behalf Of Rick Stevens Sent: Lunes, 12 de Febrero de 2007 02:01 p.m. To: Getting started with Red Hat Linux Subject: RE: boot after kernel panic On Mon, 2007-02-12 at 13:47 -0600, Luis Rodr?guez wrote: > Hi Rick > > we not upgrade because a postgresql 7.1.3 issue, the dump can't migrate to a newer version, we need to do a process, we expect to do this in this year. Ah. > about floppy, we not have one... > > is possible to boot with install CD? > or may be create a CD boot disk? Hmmm. Man, it's been a long time since I used 2.1. Well, try booting the CD and see if there's a "rescue" mode on it. If there is, select it and let the system come up and mount your old system at /mnt/sysimage. > about fsck > > when start the linux > > appears a message that permit verify integrity. > > do 100% > > and after that appears kernel panic advise... > > this verifiy integrity, is the fsck? Yes, it should be. Can you post the exact panic message and the last 10 or so messages BEFORE it? That'll help us iron out what part's failing. It may not be finding the ramdisk image, which is reasonably easy to fix. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Microsoft Windows: Proof that P.T. Barnum was right - ---------------------------------------------------------------------- _______________________________________________ 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 Feb 13 01:58:57 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Feb 2007 17:58:57 -0800 Subject: boot after kernel panic In-Reply-To: References: Message-ID: <1171331937.3074.80.camel@prophead.corp.publichost.com> On Mon, 2007-02-12 at 18:19 -0600, Luis Rodr?guez wrote: > i check the options you tell me... > > about fsck > > i rescue boot and the filesystem put in /mnt/sysimage > > so > > is safe to ran fsck /mnt/sysimage/root > > or need to umount and ran fsck over dev hd? Take note of what's mounted as /mnt/sysimage, then unmount it and run fsck against it. Your fsck should look like: fsck -y /dev/hda1 The "hda1" may be "hda2" or some other name. If it checks out, reboot again in rescue mode and let the volume mount again. You need to know what kernel version you're running and you'll need to run the following commands: # chroot /mnt/sysimage # cd /boot # mkinitrd -f -v initrd-(kernel-version).img (kernel-version) # exit # exit Replace "(kernel-version)" with the version of the kernel you normally run on that machine. The first "exit" will exit the chroot environment, the second exits the rescue mode. Pop out the CD and see if it'll boot. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - All generalizations are false. - ---------------------------------------------------------------------- From lmrc at iss.com.mx Tue Feb 13 07:12:23 2007 From: lmrc at iss.com.mx (=?UTF-8?B?THVpcyBSb2Ryw61ndWV6?=) Date: Tue, 13 Feb 2007 01:12:23 -0600 Subject: boot after kernel panic In-Reply-To: <1171331937.3074.80.camel@prophead.corp.publichost.com> References: <1171331937.3074.80.camel@prophead.corp.publichost.com> Message-ID: <45D164D7.7060606@iss.com.mx> Hi Rick i attach a txt file with the last 10 messages before kernel panic advise... you ask for this in first mail. i enter in rescue mode, and can see mysql and postgresql files in /mnt/sysimage i have 2 questions: 1. is possible to mount a usb hd to backup? this is becasue the ethernet card appears not up... so i try to attach an usb hd when review dmesg appears the usb is detected, but not assign any device. apparently assign sda2, but when try to mount an error appears advice that nothing there.. later check, and this sda2 and sda5 not in /dev appears with permission like this brwx------ in /tmp 2. fsck is safe for ext3 filesystem? i review the fstab and have something like this: / ext3 /dev/cciss/c0d1p2 swap /dev/cciss/c0d1p3 swap /dev/cciss/c0d1p5 swap /dev/cciss/c0d1p6 swap /dev/cciss/c0d1p7 swap /dev/cciss/c0d1p8 swap and some ohter entries. the Raid is via hardware: Controler Compaq Smart Array 5i slot 0 the array are 3 scsi hd about 75GB, the controller have 18GB i not an expert, so... i hope can you help me, or may be what recommend: try to restore the system or try to backup the databases and install the OS again . this last option i try to avoid because we have several configurations to access some data in another servers, and imply 4 or more days of work. and this server have applications must be run yesterday... why note have a backup server... please dont ask. why not have a database backup? the last one have about 45 days. we appreciate any comment. Thanks again. Rick Stevens escribi?: > On Mon, 2007-02-12 at 18:19 -0600, Luis Rodr?guez wrote: > >> i check the options you tell me... >> >> about fsck >> >> i rescue boot and the filesystem put in /mnt/sysimage >> >> so >> >> is safe to ran fsck /mnt/sysimage/root >> >> or need to umount and ran fsck over dev hd? >> > > Take note of what's mounted as /mnt/sysimage, then unmount it and run > fsck against it. Your fsck should look like: > > fsck -y /dev/hda1 > > The "hda1" may be "hda2" or some other name. If it checks out, reboot > again in rescue mode and let the volume mount again. You need to know > what kernel version you're running and you'll need to run the following > commands: > > # chroot /mnt/sysimage > # cd /boot > # mkinitrd -f -v initrd-(kernel-version).img (kernel-version) > # exit > # exit > > Replace "(kernel-version)" with the version of the kernel you normally > run on that machine. The first "exit" will exit the chroot environment, > the second exits the rescue mode. Pop out the CD and see if it'll boot. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - All generalizations are false. - > ---------------------------------------------------------------------- > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: last10.txt URL: From karlp at ourldsfamily.com Fri Feb 16 06:54:31 2007 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Thu, 15 Feb 2007 23:54:31 -0700 (MST) Subject: Missing Desktop Options after upgrade In-Reply-To: <1170971782.5284.194.camel@prophead.corp.publichost.com> References: <1170909164.20920.1868.camel@manhattan.ruffe.edu> <1170955696.5284.162.camel@prophead.corp.publichost.com> <1170968919.10821.145.camel@manhattan.ruffe.edu> <1170971782.5284.194.camel@prophead.corp.publichost.com> Message-ID: <17815.198.60.114.90.1171608871.squirrel@webmail.ourldsfamily.com> After doing an upgrade from FC5 to FC6 on my laptop using the regular DVD iso and having to go through the kernel bug, I downloaded the respin from FedoraUnity.org. It went very nicely, even though it removed all kernel things, which I didn't mind. I promptly did a yum update and 333 packages came flying down the pipe. However, if I use Gnome and click on System, Preferences there's only the Desktop Background option, not the option to turn on cubed workspaces, etc. How can I get it? Is there a menu regeneration option I've not found in gnome? I've been using primarilly KDE or XFCE4 for the past year or so, and WindowMaker before that, but Gnome has some nice stuff I want to give a try to... TIA, Karl From jreyn at us.ibm.com Fri Feb 16 21:42:21 2007 From: jreyn at us.ibm.com (John Reynolds) Date: Fri, 16 Feb 2007 13:42:21 -0800 Subject: Cleaning up /var/lib/rpm Message-ID: Hello, collective mind. I have several Redhat systems where /var/lib/rpm is on the order of 150MB, I've been reading the docs to figure out how to clean up cruft in there, and the best I can see is the -F option, which only works if you're updating something. Is there a simple way to identify and remove RPM cruft and reduce that disk use? If there's something on the rhil.net I should know about, I can't access the site at the moment, but I will try later. Many thanks, have a good weekend. John Reynolds SDS San Francisco CA IBM Inc. From rstevens at vitalstream.com Fri Feb 16 22:25:33 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 16 Feb 2007 14:25:33 -0800 Subject: Cleaning up /var/lib/rpm In-Reply-To: References: Message-ID: <1171664733.23610.34.camel@prophead.corp.publichost.com> On Fri, 2007-02-16 at 13:42 -0800, John Reynolds wrote: > Hello, collective mind. > > I have several Redhat systems where /var/lib/rpm is on the order of 150MB, > I've been reading the docs to figure out how to clean up cruft in there, > and the best I can see is the -F option, which only works if you're > updating something. Is there a simple way to identify and remove RPM > cruft and reduce that disk use? Not really. Most of what's in /var/lib/rpm are flat files and you really don't want to pare them down or you can't rebuild databases nor know what is and isn't installed. > If there's something on the rhil.net I should know about, I can't access > the site at the moment, but I will try later. I'm the owner of rhil.net and unfortunately the server died a rather ugly death a couple of months ago (somehow, the smoke got let out of a couple of chips on the mobo...and if you let out the smoke, they don't work anymore). I'll be up there on Tuesday to replace the hardware (it was on an ancient IBM x330, it'll be on a Dell 1950 when I'm done). ---------------------------------------------------------------------- - 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 micros50 at verizon.net Sat Feb 17 22:11:43 2007 From: micros50 at verizon.net (mylar) Date: Sat, 17 Feb 2007 17:11:43 -0500 Subject: YUM Errors !! Message-ID: <1171750304.4508.76.camel@manhattan.ruffe.edu> Hello, I recently installed FC6 on my machine to replace an aging version of FC1. Thus far everything has gone well and I am very pleased with the performance of FC6 as well as it's many improvements over FC1. Quite naturally I have been using yum to perform package updates as well as to install additional packages that I need for my day to day work. That said I have recently run into a little problem when doing installations and updates with yum. The installation or update works fine, the proper packages get updated and/or installed but, I am also getting a bunch of error messages spit out at the end of each run if yum. The error message states: "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found." error:error:(-30897) getting "" records from Requireversion index". Okay, anyone know what this means. The package or update gets done fine but this message gets spit out a dozen times or more. Someone told me that the rpm database is probably corrupt and that I should run "rpm --rebuilddb". Any ideas if this will work ?? Any help appreciated... Thanks. mylar -- mylar From jreyn at us.ibm.com Sun Feb 18 04:04:07 2007 From: jreyn at us.ibm.com (John Reynolds) Date: Sat, 17 Feb 2007 20:04:07 -0800 Subject: Cleaning up /var/lib/rpm In-Reply-To: <1171664733.23610.34.camel@prophead.corp.publichost.com> Message-ID: Rick Stevens wrote on 02/16/2007 02:25:33 PM: > On Fri, 2007-02-16 at 13:42 -0800, John Reynolds wrote: > > Hello, collective mind. > > > > I have several Redhat systems where /var/lib/rpm is on the order of 150MB, > > I've been reading the docs to figure out how to clean up cruft in there, > > and the best I can see is the -F option, which only works if you're > > updating something. Is there a simple way to identify and remove RPM > > cruft and reduce that disk use? > > Not really. Most of what's in /var/lib/rpm are flat files and you > really don't want to pare them down or you can't rebuild databases nor > know what is and isn't installed. Pity. Well, it was worth asking, thanks! > > If there's something on the rhil.net I should know about, I can't access > > the site at the moment, but I will try later. > > I'm the owner of rhil.net and unfortunately the server died a rather > ugly death a couple of months ago (somehow, the smoke got let out of > a couple of chips on the mobo...and if you let out the smoke, they don't > work anymore). That's why it's a good idea to have a smoke and mirror site. ;) > > I'll be up there on Tuesday to replace the hardware (it was on an > ancient IBM x330, it'll be on a Dell 1950 when I'm done). > Good luck, and thanks again. John Reynolds SDS Sam Clamsdisco CA IBM Inc. From rstevens at vitalstream.com Mon Feb 19 17:44:52 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Feb 2007 09:44:52 -0800 Subject: YUM Errors !! In-Reply-To: <1171750304.4508.76.camel@manhattan.ruffe.edu> References: <1171750304.4508.76.camel@manhattan.ruffe.edu> Message-ID: <1171907092.569.4.camel@prophead.corp.publichost.com> On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > Hello, I recently installed FC6 on my machine to replace an aging > version of FC1. Thus far everything has gone well and I am very pleased > with the performance of FC6 as well as it's many improvements over FC1. > Quite naturally I have been using yum to perform package updates as well > as to install additional packages that I need for my day to day work. > > That said I have recently run into a little problem when doing > installations and updates with yum. The installation or update works > fine, the proper packages get updated and/or installed but, I am also > getting a bunch of error messages spit out at the end of each run if > yum. > > The error message states: > > "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested > page not found." > error:error:(-30897) getting "" records from Requireversion index". > > Okay, anyone know what this means. The package or update gets done fine > but this message gets spit out a dozen times or more. Someone told me > that the rpm database is probably corrupt and that I should run "rpm > --rebuilddb". Any ideas if this will work ?? It can't hurt. Here's the commands (as root, of course): # cd /var/lib/rpm # rm -f __db* # rpm --rebuilddb That's two underscore characters before the "db" in the second command. In fact you may not want to use the "-f" option, but delete each file itself. There will be three or four of them, depending on how many updates you've done. Note that the rpm command will take a while to complete, so don't panic. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Very funny, Scotty. Now beam down my clothes." - ---------------------------------------------------------------------- From daisyofbywater at yahoo.com Tue Feb 20 05:54:39 2007 From: daisyofbywater at yahoo.com (daisy) Date: Mon, 19 Feb 2007 21:54:39 -0800 (PST) Subject: stalled boot up process Message-ID: <935641.27469.qm@web32209.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 At the second and third attempt to boot, the set up process stopped at Setting hostname www.mycomputer.com The last time it stopped at the following (Pressing Y did not do anything. Boot up is still stalled.) Initializing USB Controller (usb-uhci) Your system appears to have shut down uncleanly Press Y within X seconds to force file system integrity check. As shown the boot up process stops at different points. Does anybody have any idea what the problem could be? Hardward? Software? I am sorry but I have no idea how to proceed, and would be grateful for any help. --------------------------------- Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Tue Feb 20 22:07:27 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 20 Feb 2007 14:07:27 -0800 Subject: stalled boot up process In-Reply-To: <935641.27469.qm@web32209.mail.mud.yahoo.com> References: <935641.27469.qm@web32209.mail.mud.yahoo.com> Message-ID: <1172009247.569.19.camel@prophead.corp.publichost.com> On Mon, 2007-02-19 at 21:54 -0800, daisy wrote: > 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 > > > At the second and third attempt to boot, the set up process stopped > at > > Setting hostname www.mycomputer.com > > > The last time it stopped at the following (Pressing Y did not do > anything. Boot up is still stalled.) > > Initializing USB Controller (usb-uhci) > Your system appears to have shut down uncleanly > Press Y within X seconds to force file system integrity check. > > > As shown the boot up process stops at different points. Does anybody > have any idea what the problem could be? Hardward? Software? I am > sorry but I have no idea how to proceed, and would be grateful for any > help. The system seems to think that it got shut down by a power failure or something of that nature. Try booting again, but when you see the "Press Y" prompt, press "Y". The system will attempt to do an fsck on your root drive (the one with the "/" filesystem). If it finds badness on the drive, it will try to repair it, but be warned that you may lose some data if it finds the disk corrupted. If pressing "Y" doesn't work, verify that the keyboard is functional. Press the CAPS LOCK key and verify that the LED lights up. If it doesn't, then you may have a hardware problem. It could be a bad keyboard, a bad motherboard, bad memory or a bad power supply. If the keyboard works at the BIOS prompts and such, then I'd try to boot off the first install CD and at the "boot:" prompt, enter "memtest86" to test your memory. If the memory passes the test, then I'd start looking at the power supply. If you know how to use a multimeter, check the power levels. You'd be amazed at how flakey a system can get with a bad power supply. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Cuteness can be overcome through sufficient bastardry - - --Mark 'Kamikaze' Hughes - ---------------------------------------------------------------------- From micros50 at verizon.net Tue Feb 20 23:39:28 2007 From: micros50 at verizon.net (Micros50) Date: Tue, 20 Feb 2007 18:39:28 -0500 Subject: YUM Errors !! In-Reply-To: <1171907092.569.4.camel@prophead.corp.publichost.com> References: <1171750304.4508.76.camel@manhattan.ruffe.edu> <1171907092.569.4.camel@prophead.corp.publichost.com> Message-ID: <1172014768.17017.8.camel@manhattan.ruffe.edu> On Mon, 2007-02-19 at 09:44 -0800, Rick Stevens wrote: > On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > > Hello, I recently installed FC6 on my machine to replace an aging > > version of FC1. Thus far everything has gone well and I am very pleased > > with the performance of FC6 as well as it's many improvements over FC1. > > Quite naturally I have been using yum to perform package updates as well > > as to install additional packages that I need for my day to day work. > > > > That said I have recently run into a little problem when doing > > installations and updates with yum. The installation or update works > > fine, the proper packages get updated and/or installed but, I am also > > getting a bunch of error messages spit out at the end of each run if > > yum. > > > > The error message states: > > > > "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested > > page not found." > > error:error:(-30897) getting "" records from Requireversion index". > > > > Okay, anyone know what this means. The package or update gets done fine > > but this message gets spit out a dozen times or more. Someone told me > > that the rpm database is probably corrupt and that I should run "rpm > > --rebuilddb". Any ideas if this will work ?? > > It can't hurt. Here's the commands (as root, of course): > > # cd /var/lib/rpm > # rm -f __db* > # rpm --rebuilddb > > That's two underscore characters before the "db" in the second command. > In fact you may not want to use the "-f" option, but delete each file > itself. There will be three or four of them, depending on how many > updates you've done. > > Note that the rpm command will take a while to complete, so don't panic. Hi Rick.. Thanks for the help. I did a # rpm --rebuilddb and that seemed to correct the problem. However, when i did it I forgot to remove the "__db*" files. Should I have removed them first ? Everything seems to be working fine now I can install or update via rpm and yum, but I wonder if perhaps I should still do a # rm -f __db* # rpm --rebuilddb or should I leave everything alone at this point since it is working ? I am inclined to leave well enough alone at this point and go through the 3 steps in the event I experience such problems again. mylar From john.j.poole at usa-spaceops.com Wed Feb 21 17:49:33 2007 From: john.j.poole at usa-spaceops.com (Poole, John J) Date: Wed, 21 Feb 2007 12:49:33 -0500 Subject: stalled boot up process In-Reply-To: <20070221170034.4184A7333B@hormel.redhat.com> Message-ID: <5599C9E027D65D4DB3CB4C0539533142603838@usaflcms03.usa-spaceops.ksc.nasa.gov> Is is possible the disk is full? John -----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: Wednesday, February 21, 2007 12:01 PM To: redhat-install-list at redhat.com Subject: Redhat-install-list Digest, Vol 36, Issue 16 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. Re: stalled boot up process (Rick Stevens) 2. Re: YUM Errors !! (Micros50) ---------------------------------------------------------------------- Message: 1 Date: Tue, 20 Feb 2007 14:07:27 -0800 From: Rick Stevens Subject: Re: stalled boot up process To: Getting started with Red Hat Linux Message-ID: <1172009247.569.19.camel at prophead.corp.publichost.com> Content-Type: text/plain On Mon, 2007-02-19 at 21:54 -0800, daisy wrote: > 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 > > > At the second and third attempt to boot, the set up process stopped > at > > Setting hostname www.mycomputer.com > > > The last time it stopped at the following (Pressing Y did not do > anything. Boot up is still stalled.) > > Initializing USB Controller (usb-uhci) > Your system appears to have shut down uncleanly > Press Y within X seconds to force file system integrity check. > > > As shown the boot up process stops at different points. Does anybody > have any idea what the problem could be? Hardward? Software? I am > sorry but I have no idea how to proceed, and would be grateful for any > help. The system seems to think that it got shut down by a power failure or something of that nature. Try booting again, but when you see the "Press Y" prompt, press "Y". The system will attempt to do an fsck on your root drive (the one with the "/" filesystem). If it finds badness on the drive, it will try to repair it, but be warned that you may lose some data if it finds the disk corrupted. If pressing "Y" doesn't work, verify that the keyboard is functional. Press the CAPS LOCK key and verify that the LED lights up. If it doesn't, then you may have a hardware problem. It could be a bad keyboard, a bad motherboard, bad memory or a bad power supply. If the keyboard works at the BIOS prompts and such, then I'd try to boot off the first install CD and at the "boot:" prompt, enter "memtest86" to test your memory. If the memory passes the test, then I'd start looking at the power supply. If you know how to use a multimeter, check the power levels. You'd be amazed at how flakey a system can get with a bad power supply. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Cuteness can be overcome through sufficient bastardry - - --Mark 'Kamikaze' Hughes - ---------------------------------------------------------------------- ------------------------------ Message: 2 Date: Tue, 20 Feb 2007 18:39:28 -0500 From: Micros50 Subject: Re: YUM Errors !! To: Getting started with Red Hat Linux Message-ID: <1172014768.17017.8.camel at manhattan.ruffe.edu> Content-Type: text/plain On Mon, 2007-02-19 at 09:44 -0800, Rick Stevens wrote: > On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > > Hello, I recently installed FC6 on my machine to replace an aging > > version of FC1. Thus far everything has gone well and I am very pleased > > with the performance of FC6 as well as it's many improvements over FC1. > > Quite naturally I have been using yum to perform package updates as well > > as to install additional packages that I need for my day to day work. > > > > That said I have recently run into a little problem when doing > > installations and updates with yum. The installation or update works > > fine, the proper packages get updated and/or installed but, I am also > > getting a bunch of error messages spit out at the end of each run if > > yum. > > > > The error message states: > > > > "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested > > page not found." > > error:error:(-30897) getting "" records from Requireversion index". > > > > Okay, anyone know what this means. The package or update gets done fine > > but this message gets spit out a dozen times or more. Someone told me > > that the rpm database is probably corrupt and that I should run "rpm > > --rebuilddb". Any ideas if this will work ?? > > It can't hurt. Here's the commands (as root, of course): > > # cd /var/lib/rpm > # rm -f __db* > # rpm --rebuilddb > > That's two underscore characters before the "db" in the second command. > In fact you may not want to use the "-f" option, but delete each file > itself. There will be three or four of them, depending on how many > updates you've done. > > Note that the rpm command will take a while to complete, so don't panic. Hi Rick.. Thanks for the help. I did a # rpm --rebuilddb and that seemed to correct the problem. However, when i did it I forgot to remove the "__db*" files. Should I have removed them first ? Everything seems to be working fine now I can install or update via rpm and yum, but I wonder if perhaps I should still do a # rm -f __db* # rpm --rebuilddb or should I leave everything alone at this point since it is working ? I am inclined to leave well enough alone at this point and go through the 3 steps in the event I experience such problems again. mylar ------------------------------ _______________________________________________ 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 36, Issue 16 *************************************************** From rstevens at vitalstream.com Wed Feb 21 18:15:55 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 21 Feb 2007 10:15:55 -0800 Subject: YUM Errors !! In-Reply-To: <1172014768.17017.8.camel@manhattan.ruffe.edu> References: <1171750304.4508.76.camel@manhattan.ruffe.edu> <1171907092.569.4.camel@prophead.corp.publichost.com> <1172014768.17017.8.camel@manhattan.ruffe.edu> Message-ID: <1172081755.569.58.camel@prophead.corp.publichost.com> On Tue, 2007-02-20 at 18:39 -0500, Micros50 wrote: > On Mon, 2007-02-19 at 09:44 -0800, Rick Stevens wrote: > > On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > > > Hello, I recently installed FC6 on my machine to replace an aging > > > version of FC1. Thus far everything has gone well and I am very pleased > > > with the performance of FC6 as well as it's many improvements over FC1. > > > Quite naturally I have been using yum to perform package updates as well > > > as to install additional packages that I need for my day to day work. > > > > > > That said I have recently run into a little problem when doing > > > installations and updates with yum. The installation or update works > > > fine, the proper packages get updated and/or installed but, I am also > > > getting a bunch of error messages spit out at the end of each run if > > > yum. > > > > > > The error message states: > > > > > > "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested > > > page not found." > > > error:error:(-30897) getting "" records from Requireversion index". > > > > > > Okay, anyone know what this means. The package or update gets done fine > > > but this message gets spit out a dozen times or more. Someone told me > > > that the rpm database is probably corrupt and that I should run "rpm > > > --rebuilddb". Any ideas if this will work ?? > > > > It can't hurt. Here's the commands (as root, of course): > > > > # cd /var/lib/rpm > > # rm -f __db* > > # rpm --rebuilddb > > > > That's two underscore characters before the "db" in the second command. > > In fact you may not want to use the "-f" option, but delete each file > > itself. There will be three or four of them, depending on how many > > updates you've done. > > > > Note that the rpm command will take a while to complete, so don't panic. > > Hi Rick.. Thanks for the help. I did a > > # rpm --rebuilddb > > and that seemed to correct the problem. However, when i did it I forgot > to remove the "__db*" files. Should I have removed them first ? > Everything seems to be working fine now I can install or update via rpm > and yum, but I wonder if perhaps I should still do a > > # rm -f __db* > # rpm --rebuilddb > > or should I leave everything alone at this point since it is working ? I > am inclined to leave well enough alone at this point and go through the > 3 steps in the event I experience such problems again. If it fixed the problem, no, don't worry about deleting the db files. There is a failure mode where the db files are so corrupt that rpm can't fix them. When that happens, you must delete the db files and run the "--rebuilddb". Because you really don't know when you need to do that, I always delete them. In actual fact, I wrote an "SLS" (stupid little script) that does it: [root at prophead ~]# ls -l /usr/local/bin/fixrpmdb -rwxr-xr-x 1 root root 345 Jan 22 2004 fixrpmdb [root at prophead ~]# cat /usr/local/bin/fixrpmdb #!/bin/bash # fixrpmdb - Clean up RPM database weirdness # Rick Stevens, VitalStream, Inc., 22 January 2004 # First, delete the RPM database files since they may be # beyond help... rm -f /var/lib/rpm/__db.* # Now, rebuild the RPM database... echo -n "Rebuilding RPM database, do NOT interrupt..." rpm --rebuilddb echo "Rebuild complete" exit 0 Feel free to use it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Jimmie crack corn and I don't care...what kind of lousy attitude - - is THAT to have, huh? -- Dennis Miller - ---------------------------------------------------------------------- From micros50 at verizon.net Wed Feb 21 20:12:54 2007 From: micros50 at verizon.net (mylar) Date: Wed, 21 Feb 2007 15:12:54 -0500 Subject: YUM Errors !! In-Reply-To: <1172081755.569.58.camel@prophead.corp.publichost.com> References: <1171750304.4508.76.camel@manhattan.ruffe.edu> <1171907092.569.4.camel@prophead.corp.publichost.com> <1172014768.17017.8.camel@manhattan.ruffe.edu> <1172081755.569.58.camel@prophead.corp.publichost.com> Message-ID: <1172088774.18849.3.camel@manhattan.ruffe.edu> On Wed, 2007-02-21 at 10:15 -0800, Rick Stevens wrote: > On Tue, 2007-02-20 at 18:39 -0500, Micros50 wrote: > > On Mon, 2007-02-19 at 09:44 -0800, Rick Stevens wrote: > > > On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > > > > Hello, I recently installed FC6 on my machine to replace an aging > > > > > There is a failure mode where the db files are so corrupt that rpm can't > fix them. When that happens, you must delete the db files and run the > "--rebuilddb". Because you really don't know when you need to do that, > I always delete them. In actual fact, I wrote an "SLS" (stupid little > script) that does it: > > [root at prophead ~]# ls -l /usr/local/bin/fixrpmdb > -rwxr-xr-x 1 root root 345 Jan 22 2004 fixrpmdb > > [root at prophead ~]# cat /usr/local/bin/fixrpmdb > #!/bin/bash > # fixrpmdb - Clean up RPM database weirdness > # Rick Stevens, VitalStream, Inc., 22 January 2004 > # First, delete the RPM database files since they may be > # beyond help... > rm -f /var/lib/rpm/__db.* > # Now, rebuild the RPM database... > echo -n "Rebuilding RPM database, do NOT interrupt..." > rpm --rebuilddb > echo "Rebuild complete" > exit 0 > > Feel free to use it. > Thanks, I'll keep that little shell script handy in the event I should ever run into this problem again. mylar -- email-> micros50 at computer.net Website-> http://home.computer.net/~micros50/n2ize_index.html "I Speak Mathematics" From bc98kinney at yahoo.com Thu Feb 22 04:04:28 2007 From: bc98kinney at yahoo.com (Bob Kinney) Date: Wed, 21 Feb 2007 20:04:28 -0800 (PST) Subject: stalled boot up process In-Reply-To: <5599C9E027D65D4DB3CB4C0539533142603838@usaflcms03.usa-spaceops.ksc.nasa.gov> Message-ID: <613669.13823.qm@web30703.mail.mud.yahoo.com> --- "Poole, John J" wrote: > Is is possible the disk is full? > John > > > -----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: Wednesday, February 21, 2007 12:01 PM > To: redhat-install-list at redhat.com > Subject: Redhat-install-list Digest, Vol 36, Issue 16 > > > 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. Re: stalled boot up process (Rick Stevens) > 2. Re: YUM Errors !! (Micros50) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 20 Feb 2007 14:07:27 -0800 > From: Rick Stevens > Subject: Re: stalled boot up process > To: Getting started with Red Hat Linux > > Message-ID: <1172009247.569.19.camel at prophead.corp.publichost.com> > Content-Type: text/plain > > On Mon, 2007-02-19 at 21:54 -0800, daisy wrote: > > 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 > > > > > > At the second and third attempt to boot, the set up process stopped > > at > > > > Setting hostname www.mycomputer.com > > > > > > The last time it stopped at the following (Pressing Y did not do > > anything. Boot up is still stalled.) > > > > Initializing USB Controller (usb-uhci) > > Your system appears to have shut down uncleanly > > Press Y within X seconds to force file system integrity check. > > > > > > As shown the boot up process stops at different points. Does anybody > > have any idea what the problem could be? Hardward? Software? I am > > sorry but I have no idea how to proceed, and would be grateful for any > > help. > > The system seems to think that it got shut down by a power failure or > something of that nature. Try booting again, but when you see the > "Press Y" prompt, press "Y". The system will attempt to do an fsck on > your root drive (the one with the "/" filesystem). If it finds badness > on the drive, it will try to repair it, but be warned that you may lose > some data if it finds the disk corrupted. > > If pressing "Y" doesn't work, verify that the keyboard is functional. > Press the CAPS LOCK key and verify that the LED lights up. If it > doesn't, then you may have a hardware problem. It could be a bad > keyboard, a bad motherboard, bad memory or a bad power supply. If the > keyboard works at the BIOS prompts and such, then I'd try to boot off > the first install CD and at the "boot:" prompt, enter "memtest86" to > test your memory. > > If the memory passes the test, then I'd start looking at the power > supply. If you know how to use a multimeter, check the power levels. > You'd be amazed at how flakey a system can get with a bad power supply. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Cuteness can be overcome through sufficient bastardry - > - --Mark 'Kamikaze' Hughes - > ---------------------------------------------------------------------- > > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Feb 2007 18:39:28 -0500 > From: Micros50 > Subject: Re: YUM Errors !! > To: Getting started with Red Hat Linux > > Message-ID: <1172014768.17017.8.camel at manhattan.ruffe.edu> > Content-Type: text/plain > > On Mon, 2007-02-19 at 09:44 -0800, Rick Stevens wrote: > > On Sat, 2007-02-17 at 17:11 -0500, mylar wrote: > > > Hello, I recently installed FC6 on my machine to replace an aging > > > version of FC1. Thus far everything has gone well and I am very pleased > > > with the performance of FC6 as well as it's many improvements over FC1. > > > Quite naturally I have been using yum to perform package updates as well > > > as to install additional packages that I need for my day to day work. > > > > > > That said I have recently run into a little problem when doing > > > installations and updates with yum. The installation or update works > > > fine, the proper packages get updated and/or installed but, I am also > > > getting a bunch of error messages spit out at the end of each run if > > > yum. > > > > > > The error message states: > > > > > > "db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested > > > page not found." > > > error:error:(-30897) getting "" records from Requireversion index". > > > > > > Okay, anyone know what this means. The package or update gets done fine > > > but this message gets spit out a dozen times or more. Someone told me > > > that the rpm database is probably corrupt and that I should run "rpm > > > --rebuilddb". Any ideas if this will work ?? > > > > It can't hurt. Here's the commands (as root, of course): > > > > # cd /var/lib/rpm > > # rm -f __db* > > # rpm --rebuilddb > > > > That's two underscore characters before the "db" in the second command. > > In fact you may not want to use the "-f" option, but delete each file > > itself. There will be three or four of them, depending on how many > > updates you've done. > > > > Note that the rpm command will take a while to complete, so don't panic. > > Hi Rick.. Thanks for the help. I did a > > # rpm --rebuilddb > > and that seemed to correct the problem. However, when i did it I forgot > to remove the "__db*" files. Should I have removed them first ? > Everything seems to be working fine now I can install or update via rpm > and yum, but I wonder if perhaps I should still do a > > # rm -f __db* > # rpm --rebuilddb > > or should I leave everything alone at this point since it is working ? I > am inclined to leave well enough alone at this point and go through the > 3 steps in the event I experience such problems again. > > > mylar > Could be a failing hard drive, too. Download and burn "drive fitness test" from Hitachi's web site (it works with any brand of drive) and boot the machine with it. It's a great non-destructive (data-safe) program. --bc ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From manishksoin at yahoo.co.in Thu Feb 22 07:10:54 2007 From: manishksoin at yahoo.co.in (manish soin) Date: Thu, 22 Feb 2007 12:40:54 +0530 (IST) Subject: grub boot loader got deleted. Message-ID: <20070222071054.35248.qmail@web8814.mail.in.yahoo.com> I had 2 operating systems on my computer microsoft xp pro. sp2 and fedora linux (latest version). I bought a new hard disk and in order to make basic partions on hard disk. I selecetd my dvd rom as first boot device and inserted microsoft CD in drive. after that the GRUB boot loader got deleted. -->and each time I restart my comp. XP automatically boots up. I want to resore GRUB boot loader so that I linux operating system can boot and it should show xp there as well so that I have the option to choose between XP and linux. Is there any way by which I can do that. __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob at bobcatos.com Thu Feb 22 13:54:05 2007 From: bob at bobcatos.com (Bob McClure Jr) Date: Thu, 22 Feb 2007 07:54:05 -0600 Subject: grub boot loader got deleted. In-Reply-To: <20070222071054.35248.qmail@web8814.mail.in.yahoo.com> References: <20070222071054.35248.qmail@web8814.mail.in.yahoo.com> Message-ID: <20070222135405.GA24682@bobcat.bobcatos.com> On Thu, Feb 22, 2007 at 12:40:54PM +0530, manish soin wrote: > I had 2 operating systems on my computer > microsoft xp pro. sp2 and fedora linux (latest version). > I bought a new hard disk and in order to make basic partions on hard disk. > I selecetd my dvd rom as first boot device and inserted microsoft CD in drive. > after that the GRUB boot loader got deleted. > -->and each time I restart my comp. XP automatically boots up. > I want to resore GRUB boot loader so that I linux operating system can boot and it should show xp there as well so that I have the option to choose between XP and linux. > > Is there any way by which I can do that. Yep. Boot to rescue mode with your FC* Disk 1. (At the boot: prompt, put "linux rescue".) Let it mount your Linux installation when it finds it. Then chroot /mnt/sysimage grub-install /dev/hda # or whatever your boot drive is exit exit Yeah, exit twice - once from the chroot shell and once from rescue. Pop out the cd and the normal grub stuff should come up when it reboots. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob at bobcatos.com http://www.bobcatos.com To do what is right and just is more acceptable to the LORD than sacrifice. Proverbs 21:3 (NIV) From rstevens at vitalstream.com Thu Feb 22 18:04:04 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 22 Feb 2007 10:04:04 -0800 Subject: grub boot loader got deleted. In-Reply-To: <20070222135405.GA24682@bobcat.bobcatos.com> References: <20070222071054.35248.qmail@web8814.mail.in.yahoo.com> <20070222135405.GA24682@bobcat.bobcatos.com> Message-ID: <1172167444.3428.12.camel@prophead.corp.publichost.com> On Thu, 2007-02-22 at 07:54 -0600, Bob McClure Jr wrote: > On Thu, Feb 22, 2007 at 12:40:54PM +0530, manish soin wrote: > > I had 2 operating systems on my computer > > microsoft xp pro. sp2 and fedora linux (latest version). > > I bought a new hard disk and in order to make basic partions on hard disk. > > I selecetd my dvd rom as first boot device and inserted microsoft CD in drive. > > after that the GRUB boot loader got deleted. > > -->and each time I restart my comp. XP automatically boots up. > > I want to resore GRUB boot loader so that I linux operating system can boot and it should show xp there as well so that I have the option to choose between XP and linux. > > > > Is there any way by which I can do that. > > Yep. Boot to rescue mode with your FC* Disk 1. (At the boot: prompt, > put "linux rescue".) Let it mount your Linux installation when it > finds it. Then > > chroot /mnt/sysimage > grub-install /dev/hda # or whatever your boot drive is > exit > exit > > Yeah, exit twice - once from the chroot shell and once from rescue. > Pop out the cd and the normal grub stuff should come up when it > reboots. It should also be pointed out that the reason grub disappears is that Microsoft thinks they own every computer they install on. They wipe out any other boot loaders when they install. Linux is nicer in that while they will wipe out Windows' loader if you ask it to, it will add Windows to its boot menu. So, the rule always is, install Windows first but reserve enough space on the hard drive for Linux. Then install Linux. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Sarchasm: The gulf between the author of sarcastic wit and the - - reader...who doesn't get it. - ---------------------------------------------------------------------- From bret_stern at machinemanagement.com Thu Feb 22 21:45:36 2007 From: bret_stern at machinemanagement.com (Bret Stern) Date: Thu, 22 Feb 2007 13:45:36 -0800 Subject: How to host a forum on Fedora Message-ID: <000001c756ca$c9cebc20$1101a8c0@mmbret> I would like to use one of my servers to host a forum on machinery. Is there a package with Fedora which allows this? Regards, Bret Stern From riegersteve at gmail.com Thu Feb 22 21:56:31 2007 From: riegersteve at gmail.com (steve rieger) Date: Thu, 22 Feb 2007 13:56:31 -0800 Subject: How to host a forum on Fedora In-Reply-To: <000001c756ca$c9cebc20$1101a8c0@mmbret> References: <000001c756ca$c9cebc20$1101a8c0@mmbret> Message-ID: <45DE118F.9080009@gmail.com> Bret Stern wrote: > I would like to use one of my servers to host > a forum on machinery. > > Is there a package with Fedora which allows this? > > Regards, > > Bret Stern > > _______________________________________________ > 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 > rpm -i apache mod_php etc... then install phpbb -- eats the blues for breakfast, does unix for rent, plays harp for food, will play the flute for kicks rides for the freedom www.up-south.com From rstevens at vitalstream.com Fri Feb 23 00:07:44 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 22 Feb 2007 16:07:44 -0800 Subject: How to host a forum on Fedora In-Reply-To: <000001c756ca$c9cebc20$1101a8c0@mmbret> References: <000001c756ca$c9cebc20$1101a8c0@mmbret> Message-ID: <1172189264.3428.60.camel@prophead.corp.publichost.com> On Thu, 2007-02-22 at 13:45 -0800, Bret Stern wrote: > I would like to use one of my servers to host > a forum on machinery. > > Is there a package with Fedora which allows this? Depends on which type of forum you want: Bulletin boards: phpbb is one of the best (requires Apache and PHP) Mailing list: majordomo (old school) and listman, of course (that which runs THIS list). Wikis: Probably "wikiserver" is the one to use. It's stand alone (includes its own web server built-in). Here's a link: http://sourceforge.net/projects/wikiserver/ ---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Do you know where _your_ towel is? - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Fri Feb 23 19:17:35 2007 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Fri, 23 Feb 2007 12:17:35 -0700 (MST) Subject: How to host a forum on Fedora In-Reply-To: <1172189264.3428.60.camel@prophead.corp.publichost.com> References: <000001c756ca$c9cebc20$1101a8c0@mmbret> <1172189264.3428.60.camel@prophead.corp.publichost.com> Message-ID: <35083.207.173.117.242.1172258255.squirrel@webmail.ourldsfamily.com> On Thu, February 22, 2007 5:07 pm, Rick Stevens wrote: > On Thu, 2007-02-22 at 13:45 -0800, Bret Stern wrote: >> I would like to use one of my servers to host >> a forum on machinery. >> >> Is there a package with Fedora which allows this? > > Depends on which type of forum you want: > > Bulletin boards: phpbb is one of the best (requires Apache and PHP) What does fedoraforum.org use? If it's phpbb, I may give it a look, other than figuring out how to start a new thread takes too much effort... > > Mailing list: majordomo (old school) and listman, of course (that which > runs THIS list). I use majordomo and it's pretty nice, but mailman is something that comes on FC/RH servers. What's listman? Is it a replacement for mailman of which I'm blissfully unaware? > > Wikis: Probably "wikiserver" is the one to use. It's stand alone > (includes its own web server built-in). Here's a link: > > http://sourceforge.net/projects/wikiserver/ How annoying is it to have this running with Apache, or is it even possible? You can tell I've done no thinking on this and even less research... Karl > > ---------------------------------------------------------------------- > - Rick Stevens, Principal Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Do you know where _your_ towel is? - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 right after 9/11/2001: http://www.ourldsfamily.com/wtc.shtml --- The world is a dangerous place to live... not because of the people who are evil, but because of the people who don't do anything about it. - Albert Einstein --- From rvandolson at esri.com Fri Feb 23 19:22:33 2007 From: rvandolson at esri.com (Ray Van Dolson) Date: Fri, 23 Feb 2007 11:22:33 -0800 Subject: How to host a forum on Fedora In-Reply-To: <35083.207.173.117.242.1172258255.squirrel@webmail.ourldsfamily.com> References: <000001c756ca$c9cebc20$1101a8c0@mmbret> <1172189264.3428.60.camel@prophead.corp.publichost.com> <35083.207.173.117.242.1172258255.squirrel@webmail.ourldsfamily.com> Message-ID: <20070223192232.GA28026@esri.com> On Fri, Feb 23, 2007 at 12:17:35PM -0700, karlp at ourldsfamily.com wrote: > > On Thu, February 22, 2007 5:07 pm, Rick Stevens wrote: > > On Thu, 2007-02-22 at 13:45 -0800, Bret Stern wrote: > >> I would like to use one of my servers to host > >> a forum on machinery. > >> > >> Is there a package with Fedora which allows this? > > > > Depends on which type of forum you want: > > > > Bulletin boards: phpbb is one of the best (requires Apache and PHP) > > What does fedoraforum.org use? If it's phpbb, I may give it a look, other than > figuring out how to start a new thread takes too much effort... They use vBulletin (if I reremember correctly). It's commercial software. Personally I am a fan of PunBB which the OpenWRT project uses (http://forum.openwrt.org/). A clean unobtrusive look. > > Wikis: Probably "wikiserver" is the one to use. It's stand alone > > (includes its own web server built-in). Here's a link: > > > > http://sourceforge.net/projects/wikiserver/ > > How annoying is it to have this running with Apache, or is it even possible? Don't know on wikiserver, but I've used MoinMoin for a lot of projects and it is fairly widely used (I believe the Fedora project uses it for their Wiki pages). It has a nice GUI editor for those who don't know "wiki language". It is Python based and quite easy to get working with Apache. > You can tell I've done no thinking on this and even less research... > > Karl Ray From rstevens at vitalstream.com Fri Feb 23 19:46:08 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 23 Feb 2007 11:46:08 -0800 Subject: How to host a forum on Fedora In-Reply-To: <35083.207.173.117.242.1172258255.squirrel@webmail.ourldsfamily.com> References: <000001c756ca$c9cebc20$1101a8c0@mmbret> <1172189264.3428.60.camel@prophead.corp.publichost.com> <35083.207.173.117.242.1172258255.squirrel@webmail.ourldsfamily.com> Message-ID: <1172259969.26502.29.camel@prophead.corp.publichost.com> On Fri, 2007-02-23 at 12:17 -0700, karlp at ourldsfamily.com wrote: > On Thu, February 22, 2007 5:07 pm, Rick Stevens wrote: > > On Thu, 2007-02-22 at 13:45 -0800, Bret Stern wrote: > >> I would like to use one of my servers to host > >> a forum on machinery. > >> > >> Is there a package with Fedora which allows this? > > > > Depends on which type of forum you want: > > > > Bulletin boards: phpbb is one of the best (requires Apache and PHP) > > What does fedoraforum.org use? If it's phpbb, I may give it a look, other than > figuring out how to start a new thread takes too much effort... > > > > > Mailing list: majordomo (old school) and listman, of course (that which > > runs THIS list). > > I use majordomo and it's pretty nice, but mailman is something that comes on > FC/RH servers. What's listman? Is it a replacement for mailman of which I'm > blissfully unaware? listman is like mailman, but it's a bit lighter. It's not as capable as mailman. Stick with mailman. > > > > Wikis: Probably "wikiserver" is the one to use. It's stand alone > > (includes its own web server built-in). Here's a link: > > > > http://sourceforge.net/projects/wikiserver/ > > How annoying is it to have this running with Apache, or is it even possible? You can have it running with Apache, but not on the same port. I think FedoraForum and Xen use MoinMoin (http://moinmoin.wikiwikiweb.de/), for Wiki. MoinMoin is Python based and requires Apache to run. That might be a better bet for you. > > You can tell I've done no thinking on this and even less research... You're in the "discovery" mode now! > > Karl > > > > > ---------------------------------------------------------------------- > > - Rick Stevens, Principal Engineer rstevens at vitalstream.com - > > - VitalStream, Inc. http://www.vitalstream.com - > > - - > > - Do you know where _your_ towel is? - > > ---------------------------------------------------------------------- > > > > _______________________________________________ > > 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, Principal Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - There are only 10 kinds of people in the world -- those who - - understand binary and those who don't - ---------------------------------------------------------------------- From harold at hallikainen.com Sat Feb 24 22:14:29 2007 From: harold at hallikainen.com (Harold Hallikainen) Date: Sat, 24 Feb 2007 14:14:29 -0800 (PST) Subject: FC6 update trying to boot FC5 Message-ID: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> I just did an update from FC5 to FC6 on my laptop, but the machine is trying to boot FC5, which it can't find. How do I fix that? THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! From bob at bobcatos.com Sun Feb 25 00:00:11 2007 From: bob at bobcatos.com (Bob McClure Jr) Date: Sat, 24 Feb 2007 18:00:11 -0600 Subject: FC6 update trying to boot FC5 In-Reply-To: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> Message-ID: <20070225000011.GA8913@bobcat.bobcatos.com> On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: > I just did an update from FC5 to FC6 on my laptop, but the machine is > trying to boot FC5, which it can't find. How do I fix that? Not sure, but try this oft-repeated mantra (yeah, I need to put it into the FAQ): Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, put "linux rescue".) Let it mount your Linux installation when it finds it. Then chroot /mnt/sysimage grub-install /dev/hda # or whatever your boot drive is exit exit Yeah, exit twice - once from the chroot shell and once from rescue. Pop out the cd and the normal grub stuff should come up when it reboots. > THANKS! > > Harold > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com - Advertising > opportunities available! Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob at bobcatos.com http://www.bobcatos.com If you really keep the royal law found in Scripture, "Love your neighbor as yourself," you are doing right. James 2:8 (NIV) From harold at hallikainen.com Sun Feb 25 20:28:55 2007 From: harold at hallikainen.com (Harold Hallikainen) Date: Sun, 25 Feb 2007 12:28:55 -0800 (PST) Subject: FC6 update trying to boot FC5 In-Reply-To: <20070225000011.GA8913@bobcat.bobcatos.com> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> <20070225000011.GA8913@bobcat.bobcatos.com> Message-ID: <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> > On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: >> I just did an update from FC5 to FC6 on my laptop, but the machine is >> trying to boot FC5, which it can't find. How do I fix that? > > Not sure, but try this oft-repeated mantra (yeah, I need to put it > into the FAQ): > > Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, > put "linux rescue".) Let it mount your Linux installation when it > finds it. Then > > chroot /mnt/sysimage > grub-install /dev/hda # or whatever your boot drive is > exit > exit > > Yeah, exit twice - once from the chroot shell and once from rescue. > Pop out the cd and the normal grub stuff should come up when it > reboots. > > Hmmm. That didn't work. But, my Ghost For Linux backup got me back working with FC5. I sure like having such a backup! I suspect the problem is that various yum updates have filled my /boot partition, so the FC6 updated could not put anything more there. Here's a look at /boot and df ... [root at hhlaptop boot]# ls -al total 93350 drwxr-xr-x 4 root root 1024 Feb 25 11:59 . drwxr-xr-x 24 root root 4096 Feb 25 11:55 .. -rw-r--r-- 1 root root 58952 Jun 23 2006 config-2.6.17-1.2139_FC5 -rw-r--r-- 1 root root 62875 Nov 10 10:41 config-2.6.18-1.2239.fc5 drwxr-xr-x 2 root root 1024 Nov 15 20:54 grub -rw-r--r-- 1 root root 87666688 Jul 2 2006 image.img.gz -rw-r--r-- 1 root root 1808129 Jun 30 2006 initrd-2.6.17-1.2139_FC5.img -rw-r--r-- 1 root root 1413120 Nov 15 20:56 initrd-2.6.18-1.2239.fc5.img drwx------ 2 root root 12288 Jun 29 2006 lost+found -rw-r--r-- 1 root root 1078172 Jun 23 2006 System.map-2.6.17-1.2139_FC5 -rw-r--r-- 1 root root 1118384 Nov 10 10:41 System.map-2.6.18-1.2239.fc5 -rw-r--r-- 1 root root 1967671 Nov 10 10:41 vmlinuz-2.6.18-1.2239.fc5 [root at hhlaptop boot]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 93448028 29311576 59313004 34% / /dev/hda1 101086 99184 0 100% /boot tmpfs 253852 0 253852 0% /dev/shm [root at hhlaptop boot]# I suspect I could get rid of everything that's 2.6.17* and still have the system work, freeing up some space. What's image.img.gz? It's pretty big! Nothing in the grub directory is very big... I went with the default partitions on the original install of FC5, which is why, I suspect, I ran out of room on boot. So... Should I be ok deleting all the 2.6.17 stuff? How about image.img.gz? THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! From bob at bobcatos.com Mon Feb 26 04:00:51 2007 From: bob at bobcatos.com (Bob McClure Jr) Date: Sun, 25 Feb 2007 22:00:51 -0600 Subject: FC6 update trying to boot FC5 In-Reply-To: <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> <20070225000011.GA8913@bobcat.bobcatos.com> <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> Message-ID: <20070226040051.GD17910@bobcat.bobcatos.com> On Sun, Feb 25, 2007 at 12:28:55PM -0800, Harold Hallikainen wrote: > > > On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: > >> I just did an update from FC5 to FC6 on my laptop, but the machine is > >> trying to boot FC5, which it can't find. How do I fix that? > > > > Not sure, but try this oft-repeated mantra (yeah, I need to put it > > into the FAQ): > > > > Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, > > put "linux rescue".) Let it mount your Linux installation when it > > finds it. Then > > > > chroot /mnt/sysimage > > grub-install /dev/hda # or whatever your boot drive is > > exit > > exit > > > > Yeah, exit twice - once from the chroot shell and once from rescue. > > Pop out the cd and the normal grub stuff should come up when it > > reboots. > > > > > > Hmmm. That didn't work. But, my Ghost For Linux backup got me back working > with FC5. I sure like having such a backup! > > I suspect the problem is that various yum updates have filled my /boot > partition, so the FC6 updated could not put anything more there. Here's a > look at /boot and df ... > > [root at hhlaptop boot]# ls -al > total 93350 > drwxr-xr-x 4 root root 1024 Feb 25 11:59 . > drwxr-xr-x 24 root root 4096 Feb 25 11:55 .. > -rw-r--r-- 1 root root 58952 Jun 23 2006 config-2.6.17-1.2139_FC5 > -rw-r--r-- 1 root root 62875 Nov 10 10:41 config-2.6.18-1.2239.fc5 > drwxr-xr-x 2 root root 1024 Nov 15 20:54 grub > -rw-r--r-- 1 root root 87666688 Jul 2 2006 image.img.gz Umm, what's that doing in there. I'd say punt that and try again. > -rw-r--r-- 1 root root 1808129 Jun 30 2006 initrd-2.6.17-1.2139_FC5.img > -rw-r--r-- 1 root root 1413120 Nov 15 20:56 initrd-2.6.18-1.2239.fc5.img > drwx------ 2 root root 12288 Jun 29 2006 lost+found > -rw-r--r-- 1 root root 1078172 Jun 23 2006 System.map-2.6.17-1.2139_FC5 > -rw-r--r-- 1 root root 1118384 Nov 10 10:41 System.map-2.6.18-1.2239.fc5 > -rw-r--r-- 1 root root 1967671 Nov 10 10:41 vmlinuz-2.6.18-1.2239.fc5 > [root at hhlaptop boot]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol00 > 93448028 29311576 59313004 34% / > /dev/hda1 101086 99184 0 100% /boot > tmpfs 253852 0 253852 0% /dev/shm > [root at hhlaptop boot]# > > > I suspect I could get rid of everything that's 2.6.17* and still have the > system work, freeing up some space. What's image.img.gz? It's pretty big! > Nothing in the grub directory is very big... > > I went with the default partitions on the original install of FC5, which > is why, I suspect, I ran out of room on boot. > > So... Should I be ok deleting all the 2.6.17 stuff? How about image.img.gz? > > THANKS! > > Harold > -- > FCC Rules Updated Daily at http://www.hallikainen.com - Advertising > opportunities available! Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. bob at bobcatos.com http://www.bobcatos.com If you really keep the royal law found in Scripture, "Love your neighbor as yourself," you are doing right. James 2:8 (NIV) From manishksoin at yahoo.co.in Mon Feb 26 07:45:01 2007 From: manishksoin at yahoo.co.in (manish soin) Date: Mon, 26 Feb 2007 13:15:01 +0530 (IST) Subject: (no subject) Message-ID: <90659.69110.qm@web8807.mail.in.yahoo.com> I had 2 operating systems on my computer > > microsoft xp pro. sp2 and fedora linux (latest version). > > I bought a new hard disk and in order to make basic partions on hard disk. > > I selecetd my dvd rom as first boot device and inserted microsoft CD in drive. > > after that the GRUB boot loader got deleted. > > -->and each time I restart my comp. XP automatically boots up. > > I want to resore GRUB boot loader so that I linux operating system can boot and it should show xp there as well so that I have the option to choose between XP and linux. > > > > Is there any way by which I can do that. > > Yep. Boot to rescue mode with your FC* Disk 1. (At the boot: prompt, > put "linux rescue".) Let it mount your Linux installation when it > finds it. Then > > chroot /mnt/sysimage > grub-install /dev/hda # or whatever your boot drive is > exit > exit > > Yeah, exit twice - once from the chroot shell and once from rescue. > Pop out the cd and the normal grub stuff should come up when it > reboots. It should also be pointed out that the reason grub disappears is that Microsoft thinks they own every computer they install on. They wipe out any other boot loaders when they install. Linux is nicer in that while they will wipe out Windows' loader if you ask it to, it will add Windows to its boot menu. So, the rule always is, install Windows first but reserve enough space on the hard drive for Linux. Then install Linux. =============================================================== =============================================================== after using linux rescue it asks for choose a language and then it asks for type of keyboard do you have. and after that it asks for whatever called network (something). then there are 3 options 1)continue 2)read only 3)skip when I click on continue It does not find linux installation on computer however there is linux installation. how to restore grub I would be thankful to person who could help me out. Thanks Manish Soin. __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From harold at hallikainen.com Mon Feb 26 13:36:02 2007 From: harold at hallikainen.com (Harold Hallikainen) Date: Mon, 26 Feb 2007 05:36:02 -0800 (PST) Subject: FC6 update trying to boot FC5 In-Reply-To: <20070226040051.GD17910@bobcat.bobcatos.com> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> <20070225000011.GA8913@bobcat.bobcatos.com> <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> <20070226040051.GD17910@bobcat.bobcatos.com> Message-ID: <50631.192.168.1.1.1172496962.squirrel@sujan.hallikainen.org> > On Sun, Feb 25, 2007 at 12:28:55PM -0800, Harold Hallikainen wrote: >> >> > On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: >> >> I just did an update from FC5 to FC6 on my laptop, but the machine is >> >> trying to boot FC5, which it can't find. How do I fix that? >> > >> > Not sure, but try this oft-repeated mantra (yeah, I need to put it >> > into the FAQ): >> > >> > Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, >> > put "linux rescue".) Let it mount your Linux installation when it >> > finds it. Then >> > >> > chroot /mnt/sysimage >> > grub-install /dev/hda # or whatever your boot drive is >> > exit >> > exit >> > >> > Yeah, exit twice - once from the chroot shell and once from rescue. >> > Pop out the cd and the normal grub stuff should come up when it >> > reboots. >> > >> > >> >> Hmmm. That didn't work. But, my Ghost For Linux backup got me back >> working >> with FC5. I sure like having such a backup! >> >> I suspect the problem is that various yum updates have filled my /boot >> partition, so the FC6 updated could not put anything more there. Here's >> a >> look at /boot and df ... >> >> [root at hhlaptop boot]# ls -al >> total 93350 >> drwxr-xr-x 4 root root 1024 Feb 25 11:59 . >> drwxr-xr-x 24 root root 4096 Feb 25 11:55 .. >> -rw-r--r-- 1 root root 58952 Jun 23 2006 config-2.6.17-1.2139_FC5 >> -rw-r--r-- 1 root root 62875 Nov 10 10:41 config-2.6.18-1.2239.fc5 >> drwxr-xr-x 2 root root 1024 Nov 15 20:54 grub >> -rw-r--r-- 1 root root 87666688 Jul 2 2006 image.img.gz > > Umm, what's that doing in there. I'd say punt that and try again. > >> -rw-r--r-- 1 root root 1808129 Jun 30 2006 >> initrd-2.6.17-1.2139_FC5.img >> -rw-r--r-- 1 root root 1413120 Nov 15 20:56 >> initrd-2.6.18-1.2239.fc5.img >> drwx------ 2 root root 12288 Jun 29 2006 lost+found >> -rw-r--r-- 1 root root 1078172 Jun 23 2006 >> System.map-2.6.17-1.2139_FC5 >> -rw-r--r-- 1 root root 1118384 Nov 10 10:41 >> System.map-2.6.18-1.2239.fc5 >> -rw-r--r-- 1 root root 1967671 Nov 10 10:41 vmlinuz-2.6.18-1.2239.fc5 >> [root at hhlaptop boot]# df >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/mapper/VolGroup00-LogVol00 >> 93448028 29311576 59313004 34% / >> /dev/hda1 101086 99184 0 100% /boot >> tmpfs 253852 0 253852 0% /dev/shm >> [root at hhlaptop boot]# >> >> >> I suspect I could get rid of everything that's 2.6.17* and still have >> the >> system work, freeing up some space. What's image.img.gz? It's pretty >> big! >> Nothing in the grub directory is very big... >> >> I went with the default partitions on the original install of FC5, which >> is why, I suspect, I ran out of room on boot. >> >> So... Should I be ok deleting all the 2.6.17 stuff? How about >> image.img.gz? >> Well, I tried deleting the 2.6.17 stuff and image.img.gz, which did clear out a lot of space in /boot. I then did another update attempt with FC6_64. Same result! When booting, I get the menu that lets you choose which version you're going to load. The only version listed is an FC5. Selecting that gives a file not found error. I probably need to update that menu, but it SEEMS the FC6 update should take care of it. This is an update from FC5_64. I've gone ahead and put FC5 from my g4l backup back on the machine for now. Ideas as to what I should try next? After this machine, I want to try updating my FC4 server to FC6... THANKS! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! From rstevens at vitalstream.com Mon Feb 26 17:56:24 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Feb 2007 09:56:24 -0800 Subject: FC6 update trying to boot FC5 In-Reply-To: <50631.192.168.1.1.1172496962.squirrel@sujan.hallikainen.org> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> <20070225000011.GA8913@bobcat.bobcatos.com> <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> <20070226040051.GD17910@bobcat.bobcatos.com> <50631.192.168.1.1.1172496962.squirrel@sujan.hallikainen.org> Message-ID: <1172512584.26502.89.camel@prophead.corp.publichost.com> On Mon, 2007-02-26 at 05:36 -0800, Harold Hallikainen wrote: > > On Sun, Feb 25, 2007 at 12:28:55PM -0800, Harold Hallikainen wrote: > >> > >> > On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: > >> >> I just did an update from FC5 to FC6 on my laptop, but the machine is > >> >> trying to boot FC5, which it can't find. How do I fix that? > >> > > >> > Not sure, but try this oft-repeated mantra (yeah, I need to put it > >> > into the FAQ): > >> > > >> > Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, > >> > put "linux rescue".) Let it mount your Linux installation when it > >> > finds it. Then > >> > > >> > chroot /mnt/sysimage > >> > grub-install /dev/hda # or whatever your boot drive is > >> > exit > >> > exit > >> > > >> > Yeah, exit twice - once from the chroot shell and once from rescue. > >> > Pop out the cd and the normal grub stuff should come up when it > >> > reboots. > >> > > >> > > >> > >> Hmmm. That didn't work. But, my Ghost For Linux backup got me back > >> working > >> with FC5. I sure like having such a backup! > >> > >> I suspect the problem is that various yum updates have filled my /boot > >> partition, so the FC6 updated could not put anything more there. Here's > >> a > >> look at /boot and df ... > >> > >> [root at hhlaptop boot]# ls -al > >> total 93350 > >> drwxr-xr-x 4 root root 1024 Feb 25 11:59 . > >> drwxr-xr-x 24 root root 4096 Feb 25 11:55 .. > >> -rw-r--r-- 1 root root 58952 Jun 23 2006 config-2.6.17-1.2139_FC5 > >> -rw-r--r-- 1 root root 62875 Nov 10 10:41 config-2.6.18-1.2239.fc5 > >> drwxr-xr-x 2 root root 1024 Nov 15 20:54 grub > >> -rw-r--r-- 1 root root 87666688 Jul 2 2006 image.img.gz > > > > Umm, what's that doing in there. I'd say punt that and try again. > > > >> -rw-r--r-- 1 root root 1808129 Jun 30 2006 > >> initrd-2.6.17-1.2139_FC5.img > >> -rw-r--r-- 1 root root 1413120 Nov 15 20:56 > >> initrd-2.6.18-1.2239.fc5.img > >> drwx------ 2 root root 12288 Jun 29 2006 lost+found > >> -rw-r--r-- 1 root root 1078172 Jun 23 2006 > >> System.map-2.6.17-1.2139_FC5 > >> -rw-r--r-- 1 root root 1118384 Nov 10 10:41 > >> System.map-2.6.18-1.2239.fc5 > >> -rw-r--r-- 1 root root 1967671 Nov 10 10:41 vmlinuz-2.6.18-1.2239.fc5 > >> [root at hhlaptop boot]# df > >> Filesystem 1K-blocks Used Available Use% Mounted on > >> /dev/mapper/VolGroup00-LogVol00 > >> 93448028 29311576 59313004 34% / > >> /dev/hda1 101086 99184 0 100% /boot > >> tmpfs 253852 0 253852 0% /dev/shm > >> [root at hhlaptop boot]# > >> > >> > >> I suspect I could get rid of everything that's 2.6.17* and still have > >> the > >> system work, freeing up some space. What's image.img.gz? It's pretty > >> big! > >> Nothing in the grub directory is very big... > >> > >> I went with the default partitions on the original install of FC5, which > >> is why, I suspect, I ran out of room on boot. > >> > >> So... Should I be ok deleting all the 2.6.17 stuff? How about > >> image.img.gz? > >> > > > Well, I tried deleting the 2.6.17 stuff and image.img.gz, which did clear > out a lot of space in /boot. I then did another update attempt with > FC6_64. Same result! When booting, I get the menu that lets you choose > which version you're going to load. The only version listed is an FC5. > Selecting that gives a file not found error. The odds are that your /boot got filled up, so the /boot/grub/grub.conf file couldn't be updated and you were stuck with only the FC5 options. Then you deleted the FC5 kernels and blooey! How to get around it? 1. Boot off the first FC6 CD in rescue mode and let it mount the existing system as /mnt/sysimage. 2. Enter "chroot /mnt/sysimage" 3. Make sure /boot has adequate room for the new kernel. Also make sure /lib has enough space (remember, the modules go there). 4. Figure out where the CD is mounted. Odds are it's /mnt/cdrom, but it could vary. 5. Run: rpm -ivh --force /mnt/cdrom/Fedora/RPMS/(KERNEL-NAME) Replace "(KERNEL-NAME)" with one of the following: kernel-2.6.18-1.2798.fc6.i586.rpm (Intel 586) kernel-2.6.18-1.2798.fc6.i686.rpm (Intel 686, 32-bit) kernel-PAE-2.6.18-1.2798.fc6.i686.rpm (Intel Xeon with PAE support) kernel-xen-2.6.18-1.2798.fc6.i686.rpm (Xenified 32-bit) kernel-2.6.18-1.2798.fc6.x86_64.rpm (AMD Opteron/Athlon 64, 64-bit) kernel-xen-2.6.18-1.2798.fc6.x86_64.rpm (Xenified 64-bit) depending on what processor and kernel you want. 6. Verify that the /boot/grub/grub.conf file has the correct entries in it. You should see a stanza like: title Fedora Core (2.6.18-1.2798.fc6) root (hd0,0) kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet max_luns=256 initrd /boot/initrd-2.6.18-1.2798.fc6.img 7. If everything appears OK, enter "exit" twice (once to exit the chroot, one to reboot the system), pop the CD out and boot the system. > I probably need to update that menu, but it SEEMS the FC6 update should > take care of it. Not if "/boot" filled up. > This is an update from FC5_64. I've gone ahead and put > FC5 from my g4l backup back on the machine for now. Ideas as to what I > should try next? After this machine, I want to try updating my FC4 server > to FC6... Always remember that upgrades require more disk space than a raw install. Before doing upgrades, make sure there's plenty of space in /boot and / (the root partition). ---------------------------------------------------------------------- - Rick Stevens, Principal 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 Mon Feb 26 18:34:10 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Feb 2007 10:34:10 -0800 Subject: (no subject) In-Reply-To: <90659.69110.qm@web8807.mail.in.yahoo.com> References: <90659.69110.qm@web8807.mail.in.yahoo.com> Message-ID: <1172514850.26502.101.camel@prophead.corp.publichost.com> On Mon, 2007-02-26 at 13:15 +0530, manish soin wrote: > I had 2 operating systems on my computer > > > microsoft xp pro. sp2 and fedora linux (latest version). > > > I bought a new hard disk and in order to make basic partions on > hard disk. > > > I selecetd my dvd rom as first boot device and inserted microsoft > CD in drive. > > > after that the GRUB boot loader got deleted. > > > -->and each time I restart my comp. XP automatically boots up. > > > I want to resore GRUB boot loader so that I linux operating system > can boot and it should show xp there as well so that I have the option > to choose between XP and linux. > > > > > > Is there any way by which I can do that. > > > > Yep. Boot to rescue mode with your FC* Disk 1. (At the boot: > prompt, > > put "linux rescue".) Let it mount your Linux installation when it > > finds it. Then > > > > chroot /mnt/sysimage > > grub-install /dev/hda # or whatever your boot drive is > > exit > > exit > > > > Yeah, exit twice - once from the chroot shell and once from rescue. > > Pop out the cd and the normal grub stuff should come up when it > > reboots. > > It should also be pointed out that the reason grub disappears is that > Microsoft thinks they own every computer they install on. They wipe > out any other boot loaders when they install. Linux is nicer in that > while they will wipe out Windows' loader if you ask it to, it will add > Windows to its boot menu. > > So, the rule always is, install Windows first but reserve enough space > on the hard drive for Linux. Then install Linux. > =============================================================== > =============================================================== > after using linux rescue > it asks for choose a language > and then it asks for type of keyboard do you have. > and after that it asks for whatever called network (something). It asks "Do you want to start the network interfaces?" Answer "no" > then there are 3 options > 1)continue > 2)read only > 3)skip > when I click on continue > It does not find linux installation on computer however there is linux > installation. Did you do a Windows install? Are you sure you didn't let Windows use the entire disk? It sure sounds like you did. ---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The Theory of Rapitivity: E=MC Hammer - - -- Glenn Marcus (via TopFive.com) - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Mon Feb 26 19:11:21 2007 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Mon, 26 Feb 2007 12:11:21 -0700 (MST) Subject: FC6 update trying to boot FC5 In-Reply-To: <1172512584.26502.89.camel@prophead.corp.publichost.com> References: <1907.192.168.1.1.1172355269.squirrel@sujan.hallikainen.org> <20070225000011.GA8913@bobcat.bobcatos.com> <35446.192.168.1.1.1172435335.squirrel@sujan.hallikainen.org> <20070226040051.GD17910@bobcat.bobcatos.com> <50631.192.168.1.1.1172496962.squirrel@sujan.hallikainen.org> <1172512584.26502.89.camel@prophead.corp.publichost.com> Message-ID: <36611.207.173.117.242.1172517081.squirrel@webmail.ourldsfamily.com> On Mon, February 26, 2007 10:56 am, Rick Stevens wrote: > On Mon, 2007-02-26 at 05:36 -0800, Harold Hallikainen wrote: >> > On Sun, Feb 25, 2007 at 12:28:55PM -0800, Harold Hallikainen wrote: >> >> >> >> > On Sat, Feb 24, 2007 at 02:14:29PM -0800, Harold Hallikainen wrote: >> >> >> I just did an update from FC5 to FC6 on my laptop, but the machine is >> >> >> trying to boot FC5, which it can't find. How do I fix that? >> >> > >> >> > Not sure, but try this oft-repeated mantra (yeah, I need to put it >> >> > into the FAQ): >> >> > >> >> > Boot to rescue mode with your FC6 Disk 1. (At the boot: prompt, >> >> > put "linux rescue".) Let it mount your Linux installation when it >> >> > finds it. Then >> >> > >> >> > chroot /mnt/sysimage >> >> > grub-install /dev/hda # or whatever your boot drive is >> >> > exit >> >> > exit >> >> > >> >> > Yeah, exit twice - once from the chroot shell and once from rescue. >> >> > Pop out the cd and the normal grub stuff should come up when it >> >> > reboots. >> >> > >> >> > >> >> >> >> Hmmm. That didn't work. But, my Ghost For Linux backup got me back >> >> working >> >> with FC5. I sure like having such a backup! >> >> >> >> I suspect the problem is that various yum updates have filled my /boot >> >> partition, so the FC6 updated could not put anything more there. Here's >> >> a >> >> look at /boot and df ... >> >> >> >> [root at hhlaptop boot]# ls -al >> >> total 93350 >> >> drwxr-xr-x 4 root root 1024 Feb 25 11:59 . >> >> drwxr-xr-x 24 root root 4096 Feb 25 11:55 .. >> >> -rw-r--r-- 1 root root 58952 Jun 23 2006 config-2.6.17-1.2139_FC5 >> >> -rw-r--r-- 1 root root 62875 Nov 10 10:41 config-2.6.18-1.2239.fc5 >> >> drwxr-xr-x 2 root root 1024 Nov 15 20:54 grub >> >> -rw-r--r-- 1 root root 87666688 Jul 2 2006 image.img.gz >> > >> > Umm, what's that doing in there. I'd say punt that and try again. >> > >> >> -rw-r--r-- 1 root root 1808129 Jun 30 2006 >> >> initrd-2.6.17-1.2139_FC5.img >> >> -rw-r--r-- 1 root root 1413120 Nov 15 20:56 >> >> initrd-2.6.18-1.2239.fc5.img >> >> drwx------ 2 root root 12288 Jun 29 2006 lost+found >> >> -rw-r--r-- 1 root root 1078172 Jun 23 2006 >> >> System.map-2.6.17-1.2139_FC5 >> >> -rw-r--r-- 1 root root 1118384 Nov 10 10:41 >> >> System.map-2.6.18-1.2239.fc5 >> >> -rw-r--r-- 1 root root 1967671 Nov 10 10:41 vmlinuz-2.6.18-1.2239.fc5 >> >> [root at hhlaptop boot]# df >> >> Filesystem 1K-blocks Used Available Use% Mounted on >> >> /dev/mapper/VolGroup00-LogVol00 >> >> 93448028 29311576 59313004 34% / >> >> /dev/hda1 101086 99184 0 100% /boot >> >> tmpfs 253852 0 253852 0% /dev/shm >> >> [root at hhlaptop boot]# >> >> >> >> >> >> I suspect I could get rid of everything that's 2.6.17* and still have >> >> the >> >> system work, freeing up some space. What's image.img.gz? It's pretty >> >> big! >> >> Nothing in the grub directory is very big... >> >> >> >> I went with the default partitions on the original install of FC5, which >> >> is why, I suspect, I ran out of room on boot. >> >> >> >> So... Should I be ok deleting all the 2.6.17 stuff? How about >> >> image.img.gz? >> >> >> >> >> Well, I tried deleting the 2.6.17 stuff and image.img.gz, which did clear >> out a lot of space in /boot. I then did another update attempt with >> FC6_64. Same result! When booting, I get the menu that lets you choose >> which version you're going to load. The only version listed is an FC5. >> Selecting that gives a file not found error. > > The odds are that your /boot got filled up, so the /boot/grub/grub.conf > file couldn't be updated and you were stuck with only the FC5 > options. Then you deleted the FC5 kernels and blooey! > > How to get around it? > > 1. Boot off the first FC6 CD in rescue mode and let it mount the > existing system as /mnt/sysimage. > > 2. Enter "chroot /mnt/sysimage" > > 3. Make sure /boot has adequate room for the new kernel. Also make sure > /lib has enough space (remember, the modules go there). > > 4. Figure out where the CD is mounted. Odds are it's /mnt/cdrom, but it > could vary. > > 5. Run: > > rpm -ivh --force /mnt/cdrom/Fedora/RPMS/(KERNEL-NAME) > > Replace "(KERNEL-NAME)" with one of the following: > > kernel-2.6.18-1.2798.fc6.i586.rpm (Intel 586) > kernel-2.6.18-1.2798.fc6.i686.rpm (Intel 686, 32-bit) > kernel-PAE-2.6.18-1.2798.fc6.i686.rpm (Intel Xeon with PAE support) > kernel-xen-2.6.18-1.2798.fc6.i686.rpm (Xenified 32-bit) > kernel-2.6.18-1.2798.fc6.x86_64.rpm (AMD Opteron/Athlon 64, 64-bit) > kernel-xen-2.6.18-1.2798.fc6.x86_64.rpm (Xenified 64-bit) > > depending on what processor and kernel you want. > > 6. Verify that the /boot/grub/grub.conf file has the correct entries > in it. You should see a stanza like: > > title Fedora Core (2.6.18-1.2798.fc6) > root (hd0,0) > kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb > quiet max_luns=256 > initrd /boot/initrd-2.6.18-1.2798.fc6.img > > 7. If everything appears OK, enter "exit" twice (once to exit the > chroot, one to reboot the system), pop the CD out and boot the system. > >> I probably need to update that menu, but it SEEMS the FC6 update should >> take care of it. > > Not if "/boot" filled up. > >> This is an update from FC5_64. I've gone ahead and put >> FC5 from my g4l backup back on the machine for now. Ideas as to what I >> should try next? After this machine, I want to try updating my FC4 server >> to FC6... > > Always remember that upgrades require more disk space than a raw > install. Before doing upgrades, make sure there's plenty of space > in /boot and / (the root partition). It's for just that reason that I always (on desktop, not servers) let the / partition contain everything. No /boot or other partitions (except swap) at all. Just fill the whole dang thing up however it likes. That's my motto, especially where ice cream is concerned. (thus my advancing figure, which I watch diligently -- go up and up). Karl > > ---------------------------------------------------------------------- > - Rick Stevens, Principal Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - The light at the end of the tunnel is really an oncoming train. - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 right after 9/11/2001: http://www.ourldsfamily.com/wtc.shtml --- The world is a dangerous place to live... not because of the people who are evil, but because of the people who don't do anything about it. - Albert Einstein --- From nnurdam_rh at yahoo.com Tue Feb 27 09:38:43 2007 From: nnurdam_rh at yahoo.com (Nofriyadi Nurdam) Date: Tue, 27 Feb 2007 01:38:43 -0800 (PST) Subject: how to execute an excutable file Message-ID: <672096.17272.qm@web52514.mail.yahoo.com> Hi all, I have compiled the program "HelloWorld.c". The C compiler gave me the executable file a.out as output. As I executed the a.out in console, I got answer "command not found". Is there someone who can tell me about that. Thanks in advance Nofriyadi --------------------------------- We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.lithander at teligent.se Tue Feb 27 09:43:17 2007 From: johan.lithander at teligent.se (Johan Lithander) Date: Tue, 27 Feb 2007 10:43:17 +0100 Subject: how to execute an excutable file In-Reply-To: <672096.17272.qm@web52514.mail.yahoo.com> References: <672096.17272.qm@web52514.mail.yahoo.com> Message-ID: <002501c75a53$b5ddb5e0$230115ac@teligent.org> You most likely tried to run it as a.out instead of ./a.out The current working directory is usually not in the PATH (and shouldn't be in the PATH either !!!). /J _____ From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Nofriyadi Nurdam Sent: den 27 februari 2007 10:39 To: redhat-install-list at redhat.com Subject: how to execute an excutable file Hi all, I have compiled the program "HelloWorld.c". The C compiler gave me the executable file a.out as output. As I executed the a.out in console, I got answer "command not found". Is there someone who can tell me about that. Thanks in advance Nofriyadi _____ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andy.Q.Wu at seagate.com Tue Feb 27 09:44:25 2007 From: Andy.Q.Wu at seagate.com (Andy.Q.Wu at seagate.com) Date: Tue, 27 Feb 2007 17:44:25 +0800 Subject: how to execute an excutable file In-Reply-To: <672096.17272.qm@web52514.mail.yahoo.com> Message-ID: You can try "./a.out". Thanks and best regards, Andy Nofriyadi Nurdam To Sent by: redhat-install-list at redhat.com redhat-install-li cc st-bounces at redhat .com Subject No Phone Info how to execute an excutable file Available 02/27/2007 05:38 PM Please respond to Getting started with Red Hat Linux Hi all, I have compiled the program "HelloWorld.c". The C compiler gave me the executable file a.out as output. As I executed the a.out in console, I got answer "command not found". Is there someone who can tell me about that. Thanks in advance Nofriyadi We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. _______________________________________________ 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 narendra at nii.res.in Tue Feb 27 10:11:55 2007 From: narendra at nii.res.in (narendra) Date: Tue, 27 Feb 2007 15:41:55 +0530 Subject: how to execute an excutable file In-Reply-To: <002501c75a53$b5ddb5e0$230115ac@teligent.org> References: <672096.17272.qm@web52514.mail.yahoo.com> <002501c75a53$b5ddb5e0$230115ac@teligent.org> Message-ID: <20070227100904.M20155@nii.res.in> Hi, why shouldn't? current working directory be in the PATH?? Narendra On Tue, 27 Feb 2007 10:43:17 +0100, Johan Lithander wrote > You most likely?tried to run it as a.out instead of./a.out > The current working directory is usually not in the PATH(and shouldn't be in the PATH either!!!). > ? > /J > ? > > ----------------------------------------------------------------------- From: redhat-install-list-bounces at redhat.com[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of NofriyadiNurdam > Sent: den 27 februari 2007 10:39 > To:redhat-install-list at redhat.com > Subject: how to execute anexcutablefile > > > Hi all, > > I have compiledthe program "HelloWorld.c". > The Ccompiler gave me the executable file a.out as output. > As I executed thea.outin console, I got answer "command not found". > Is there someone who cantellme about that. > > Thanks in advance > Nofriyadi > > ----------------------------------------------------------------------- We won't tell. Get more on showsyou hate to love > (and love to hate): Yahoo!TV's Guilty Pleasureslist. Narendra Kumar PhD Scholar Bioinformatics Center National Institute of Immunology Aruna Asaf Ali Marg New Delhi-110067 Telephone Numbers (EPABX): ?26717121 to 26717145 Fax : 91-11-26162125 & 91-11-26177626 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikev777 at hotmail.com Tue Feb 27 10:42:45 2007 From: mikev777 at hotmail.com (Michael Velez) Date: Tue, 27 Feb 2007 05:42:45 -0500 Subject: how to execute an excutable file In-Reply-To: <20070227100904.M20155@nii.res.in> References: <672096.17272.qm@web52514.mail.yahoo.com> <002501c75a53$b5ddb5e0$230115ac@teligent.org> <20070227100904.M20155@nii.res.in> Message-ID: > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of narendra > Sent: Tuesday, February 27, 2007 5:12 AM > To: Getting started with Red Hat Linux > Subject: RE: how to execute an excutable file > > Hi, > why shouldn't current working directory be in the PATH?? > > Narendra > This is more important for the 'root' user as opposed to regular users but I guess one could advise it for all users. It's to avoid a security risk called a Trojan Horse. A Trojan Horse is an executable that has the same name as a standard Linux/Unix system command but does something completely different. Say you're in the 'tmp' directory (or any publicly accessible directory) and an unknown user has created a program called 'ifconfig' in that directory. You, as root, would like to execute the 'ifconfig' command while in the tmp directory. If '.' is in the path before /sbin is, you will inadvertently execute the 'ifconfig' command in the tmp directory. That ifconfig command, run as the root user, can do anything it wants, even give root permissions to any other user. That is why the 'root' user should only have well-defined system directories in its path, and definitely not directories that are publicly-accessible. Since '.' can point to anything, it should never be in the path. Variants of this idea can also apply to all users. Michael From rstevens at vitalstream.com Tue Feb 27 17:57:49 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Feb 2007 09:57:49 -0800 Subject: how to execute an excutable file In-Reply-To: <20070227100904.M20155@nii.res.in> References: <672096.17272.qm@web52514.mail.yahoo.com> <002501c75a53$b5ddb5e0$230115ac@teligent.org> <20070227100904.M20155@nii.res.in> Message-ID: <1172599069.26502.148.camel@prophead.corp.publichost.com> On Tue, 2007-02-27 at 15:41 +0530, narendra wrote: > Hi, > why shouldn't current working directory be in the PATH?? People have gotten themselves into trouble by having executables in the current directory and running them by accident. The entire purpose of having a PATH is to quarantine executables into a few well-known directories. Is it really so onerous to type in the extra two characters, "./"? > On Tue, 27 Feb 2007 10:43:17 +0100, Johan Lithander wrote > > You most likely tried to run it as a.out instead of ./a.out > > The current working directory is usually not in the PATH (and > shouldn't be in the PATH either !!!). > > > > /J > > > > > > > ______________________________________________________________________ > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Nofriyadi > Nurdam > > Sent: den 27 februari 2007 10:39 > > To: redhat-install-list at redhat.com > > Subject: how to execute an excutable file > > > > > > Hi all, > > > > I have compiled the program "HelloWorld.c". > > The C compiler gave me the executable file a.out as output. > > As I executed the a.out in console, I got answer "command not > found". > > Is there someone who can tell me about that. > > > > Thanks in advance > > Nofriyadi > > > > > ______________________________________________________________________ > We won't tell. Get more on shows you hate to love > > (and love to hate): Yahoo! TV's Guilty Pleasures list. > > > Narendra Kumar > PhD Scholar > Bioinformatics Center > National Institute of Immunology > Aruna Asaf Ali Marg > New Delhi-110067 > Telephone Numbers (EPABX): 26717121 to 26717145 > Fax : 91-11-26162125 & 91-11-26177626 > > _______________________________________________ > 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, Principal 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 Tue Feb 27 17:58:25 2007 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Feb 2007 09:58:25 -0800 Subject: how to execute an excutable file In-Reply-To: <000001c75a5c$03f5cd00$b401a8c0@MIKEDESKTOP> References: <672096.17272.qm@web52514.mail.yahoo.com> <002501c75a53$b5ddb5e0$230115ac@teligent.org> <20070227100904.M20155@nii.res.in> <000001c75a5c$03f5cd00$b401a8c0@MIKEDESKTOP> Message-ID: <1172599105.26502.150.camel@prophead.corp.publichost.com> On Tue, 2007-02-27 at 05:42 -0500, Michael Velez wrote: > > > > -----Original Message----- > > From: redhat-install-list-bounces at redhat.com > > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of narendra > > Sent: Tuesday, February 27, 2007 5:12 AM > > To: Getting started with Red Hat Linux > > Subject: RE: how to execute an excutable file > > > > Hi, > > why shouldn't current working directory be in the PATH?? > > > > Narendra > > > > This is more important for the 'root' user as opposed to regular users but I > guess one could advise it for all users. > > It's to avoid a security risk called a Trojan Horse. A Trojan Horse is an > executable that has the same name as a standard Linux/Unix system command > but does something completely different. > > Say you're in the 'tmp' directory (or any publicly accessible directory) and > an unknown user has created a program called 'ifconfig' in that directory. > You, as root, would like to execute the 'ifconfig' command while in the tmp > directory. If '.' is in the path before /sbin is, you will inadvertently > execute the 'ifconfig' command in the tmp directory. That ifconfig command, > run as the root user, can do anything it wants, even give root permissions > to any other user. > > That is why the 'root' user should only have well-defined system directories > in its path, and definitely not directories that are publicly-accessible. > Since '.' can point to anything, it should never be in the path. > > Variants of this idea can also apply to all users. Good example, Michael. ---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To iterate is human, to recurse, divine. - ---------------------------------------------------------------------- From micros50 at verizon.net Tue Feb 27 21:23:48 2007 From: micros50 at verizon.net (Micros50) Date: Tue, 27 Feb 2007 16:23:48 -0500 Subject: how to execute an excutable file In-Reply-To: <672096.17272.qm@web52514.mail.yahoo.com> References: <672096.17272.qm@web52514.mail.yahoo.com> Message-ID: <1172611428.14315.11.camel@manhattan.ruffe.edu> Note: You would run the executable in one of the following ways 1) If you are currently in the same directory as the executable: $ ./a.out 2) Or by specifying the entire path. Let's say the path to the executable is /home/smith. You just do this: $ /home/smith/a.out Note: You can also specify a name for your executable as follows: $ cc hello.c -o hello and then you would run the executable "hello" $ ./hello or $ /home/smith/hello Hope that helps. mylar On Tue, 2007-02-27 at 01:38 -0800, Nofriyadi Nurdam wrote: > Hi all, > > I have compiled the program "HelloWorld.c". > The C compiler gave me the executable file a.out as output. > As I executed the a.out in console, I got answer "command not found". > Is there someone who can tell me about that. > > Thanks in advance > Nofriyadi > > > > ______________________________________________________________________ > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > _______________________________________________ > 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 narendra at nii.res.in Wed Feb 28 05:23:06 2007 From: narendra at nii.res.in (narendra) Date: Wed, 28 Feb 2007 10:53:06 +0530 Subject: how to execute an excutable file In-Reply-To: <1172599105.26502.150.camel@prophead.corp.publichost.com> References: <672096.17272.qm@web52514.mail.yahoo.com><002501c75a53$b5ddb5e0$ 230115ac@teligent.org><20070227100904.M20155@nii.res.in><000001c75a5c$03f5 c d00$b401a8c0@MIKEDESKTOP> <1172599105.26502.150.camel@prophead.corp.publichost.com> Message-ID: <20070228052044.M75942@nii.res.in> hi thanks Michael and Rick for this wonderful illustration. > > > Hi, > > > why shouldn't current working directory be in the PATH?? > > > > > > Narendra > > > > > > > This is more important for the 'root' user as opposed to regular users but I > > guess one could advise it for all users. > > > > It's to avoid a security risk called a Trojan Horse. A Trojan Horse is an > > executable that has the same name as a standard Linux/Unix system command > > but does something completely different. > > > > Say you're in the 'tmp' directory (or any publicly accessible directory) and > > an unknown user has created a program called 'ifconfig' in that directory. > > You, as root, would like to execute the 'ifconfig' command while in the tmp > > directory. If '.' is in the path before /sbin is, you will inadvertently > > execute the 'ifconfig' command in the tmp directory. That ifconfig command, > > run as the root user, can do anything it wants, even give root permissions > > to any other user. > > > > That is why the 'root' user should only have well-defined system directories > > in its path, and definitely not directories that are publicly-accessible. > > Since '.' can point to anything, it should never be in the path. > > > > Variants of this idea can also apply to all users. > > Good example, Michael. > > ---------------------------------------------------------------------- > - Rick Stevens, Principal Engineer rstevens at vitalstream.com > - - VitalStream, Inc. > http://www.vitalstream.com - - > - - To iterate is human, > to recurse, divine. - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 Narendra Kumar PhD Scholar Bioinformatics Center National Institute of Immunology Aruna Asaf Ali Marg New Delhi-110067 Telephone Numbers (EPABX): 26717121 to 26717145, Ext:724 Fax : 91-11-26162125 & 91-11-26177626