From ecbrown at lanl.gov Thu Sep 1 00:45:39 2005 From: ecbrown at lanl.gov (E. Craig Brown) Date: Wed, 31 Aug 2005 18:45:39 -0600 Subject: Fedora Core CD Message-ID: <6.2.0.14.2.20050831183608.0380ceb0@nmt-mail.lanl.gov> I am attempting to install RH Linux on a Dell, Windows XP service pack 2 laptop. I have downloaded several different versions of the ISO files and burned them to disk. The burn does expand the iso file into multiple files and directories on the resulting CD. I used the boot ISO from disk one to generate a boot CD for my computer. I booted the computer and indicated I wanted to install, answered the questions about the language and keyboard, then was prompted to locate the Fedora Core CD. No matter which of the disks I place in the drive, they all receive the following: The Fedora Core CD was not found in any of your CDROM drives. Please insert the Fedora Core CD and press OK to retry. As I indicated earlier, I have downloaded several different versions of the installer ISOs with exactly the same result. I am unable to continue with the installation. What am I doing wrong? Is there other another download ISO to get? I am following the installation guide found on the installation page at RH, it indicates that I download the x86 32 bit files (4 total). The computer boots into the installation program as suggested by the guide, but is unable to recognize any of the other disks as containing the Fedora Core. Thank you, Craig From akelly at corisweb.org Thu Sep 1 07:45:12 2005 From: akelly at corisweb.org (Andrew Kelly) Date: 01 Sep 2005 09:45:12 +0200 Subject: Wine package Message-ID: <1125560712.4186.2.camel@hermes.at.home> Hi all, before I go reinventing the wheel so to speak, is there a proper Wine package rpm for FC4 anybody can point me to? Andy From rodrigofariatavares at bol.com.br Thu Sep 1 12:07:04 2005 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Thu, 1 Sep 2005 09:07:04 -0300 Subject: Creating Key in OpenSSL Message-ID: <003801c5aeed$af3893d0$0101a8c0@faria> Hello, Recently, I installed Apache 1.3.33 integrated the last version of openssl and modssl. Both was intalled with com success. But, When I try to create the key happen the error below : [root at faria ssl.crt]# openssl rsa -in server.key-Csenha -out server.key Error opening Private Key server.key-Csenha 11193:error:02001002:system library:fopen:No such file or directory:bss_file.c:349:fopen('server.key-Csenha','r') 11193:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351: unable to load Private Key How I can o resolve it ? Att Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Brasil - Belo Horizonte - MG Analista de Suporte Linux _______________________________________________________ Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale o discador agora! http://br.acesso.yahoo.com/ From cinetron at passport.ca Thu Sep 1 16:24:33 2005 From: cinetron at passport.ca (jim ruxton) Date: Thu, 01 Sep 2005 12:24:33 -0400 Subject: crashing after install Message-ID: <1125591873.5496.17.camel@localhost.localdomain> I just got a new machine and installed FC3 on it. I left it running overnight and it crashed. There was noise on the monitor when I woke up. I tried pinging it but it was dead. I reset it and looked in /var/log/messages but couldn't find anything except a gap between the last cron event and when I rebooted. After booting up I was mousing around and the machine froze, this time the last image stayed on the screen ie. no noise. Again I rebooted but couldn't find anything in the log files. Should I bring this back to the store? I'm worried the store will blame the crash on Linux. Any thoughts? Jim From rstevens at vitalstream.com Thu Sep 1 16:21:55 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 09:21:55 -0700 Subject: host.conf problem In-Reply-To: <1125526839.2737.1.camel@localhost> References: <1125356780.2714.5.camel@localhost.localdomain> <20050829231854.GA13530@bobcat.bobcatos.com> <1125444295.2716.6.camel@localhost.localdomain> <20050830233553.GA24726@bobcat.bobcatos.com> <431506A4.2080207@vitalstream.com> <1125526839.2737.1.camel@localhost> Message-ID: <43172AA3.6070803@vitalstream.com> Fred Grant wrote: > On Tue, 2005-08-30 at 20:23, Rick Stevens wrote: > >>Bob McClure Jr wrote: >> >>>On Tue, Aug 30, 2005 at 06:24:55PM -0500, Fred Grant wrote: >>> >>> >>>>On Mon, 2005-08-29 at 18:18, Bob McClure Jr wrote: >>>> >>>> >>>>>On Mon, Aug 29, 2005 at 06:06:20PM -0500, Fred Grant wrote: >>>>> >>>>> >>>>>>On log-in, I periodically and sporadically get a message that the system >>>>>>can't determine the host for Internet use. When I check the host.conf >>>>>>folder it is missing the "localhost.localdomain" info. >>>>> >>>>>That does not compute. /etc/host.conf (a file, not a folder) normally >>>>>contains >>>>> >>>>> order hosts,bind >>>>> >>>>>and that's all. Perhaps you're thinking of /etc/hosts, which should >>>>>have something like (mine as an example): >>>>> >>>>>127.0.0.1 localhost.localdomain localhost >>>>>192.168.2.2 bobcat.bobcatos.com bobcat >>>>> >>>>> >>>>> >>>>>>I can fix it by (as root) copying hosts.bak to this folder but it is >>>>>>kind of a pain. >>>>>> >>>>>>Any ideas as to why this periodically drops out? I'm using FC2. >>>>>> >>>>>>Thanks >>>>> >>>>>Cheers, >>>> >>>>You are right Bob, it's /etc/hosts that loses the localhost.localdomain >>>>info. I wonder if I could incorporate copying of this info into the >>>>daily cron job? Seems funny that the info periodically gets lost. >>> >>> >>>No, that's a band-aid. Something else is wrong that needs to be fixed. >>> >>>Look in /etc/sysconfig/networking/profiles/default/hosts and see what >>>it looks like. It it's improper, fix it and see if the problem >>>doesn't go away. >>> >>>No, I don't know how that gets into the game. Rick probably does. >> >>Er, it could be the DHCP client requesting it from the DHCP server and >>gronking it. I'd have to look. > > >>Is that something the ISP does? Well, whoever your DHCP service is. If you use a cable or DSL modem via ethernet, it'd be the modem. If you have a router betwixt the modem and your machine, it'd probably be the router. If you use a direct modem via the PCI bus or serial port, it'd be your ISP. As Bob said, check /etc/sysconfig/networking/profiles/default/hosts and verify that it's correct. You can then also check /etc/dhclient-script to see if it's stomping on it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I doubt, therefore I might be. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 1 16:25:47 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 09:25:47 -0700 Subject: Fedora Core CD In-Reply-To: <6.2.0.14.2.20050831183608.0380ceb0@nmt-mail.lanl.gov> References: <6.2.0.14.2.20050831183608.0380ceb0@nmt-mail.lanl.gov> Message-ID: <43172B8B.9030509@vitalstream.com> E. Craig Brown wrote: > I am attempting to install RH Linux on a Dell, Windows XP service pack 2 > laptop. I have downloaded several different versions of the ISO files > and burned them to disk. The burn does expand the iso file into multiple > files and directories on the resulting CD. I used the boot ISO from disk > one to generate a boot CD for my computer. I booted the computer and > indicated I wanted to install, answered the questions about the language > and keyboard, then was prompted to locate the Fedora Core CD. No matter > which of the disks I place in the drive, they all receive the following: > > The Fedora Core CD was not found in any of your CDROM drives. Please > insert the Fedora Core CD and press OK to retry. > > As I indicated earlier, I have downloaded several different versions of > the installer ISOs with exactly the same result. I am unable to continue > with the installation. > > What am I doing wrong? Is there other another download ISO to get? I am > following the installation guide found on the installation page at RH, > it indicates that I download the x86 32 bit files (4 total). The > computer boots into the installation program as suggested by the guide, > but is unable to recognize any of the other disks as containing the > Fedora Core. Fedora Core (FC) is NOT Red Hat Enterprise Linux (RHEL). You can't boot an FC CD and install RHEL from other CDs, nor can you boot a RHEL CD and install FC from other CDs. They are not compatible. The boot loader for FC expects FC CDs and vice versa. If you're installing RHEL, boot the first RHEL CD. If you're installing Fedora, boot the first Fedora CD. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If Bill Gates got a dime for every time Windows crashes... - - ...oh, wait. He does. THAT explains it! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 1 16:32:28 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 09:32:28 -0700 Subject: Wine package In-Reply-To: <1125560712.4186.2.camel@hermes.at.home> References: <1125560712.4186.2.camel@hermes.at.home> Message-ID: <43172D1C.1030309@vitalstream.com> Andrew Kelly wrote: > Hi all, > > before I go reinventing the wheel so to speak, is there a proper Wine > package rpm for FC4 anybody can point me to? Well, no, not that I know of. The FC3 RPM from http://www.winehq.org/site/download-rh should work. ---------------------------------------------------------------------- - 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 rstevens at vitalstream.com Thu Sep 1 16:39:13 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 09:39:13 -0700 Subject: Creating Key in OpenSSL In-Reply-To: <003801c5aeed$af3893d0$0101a8c0@faria> References: <003801c5aeed$af3893d0$0101a8c0@faria> Message-ID: <43172EB1.3070103@vitalstream.com> Rodrigo Faria Tavares wrote: > Hello, > > > Recently, I installed Apache 1.3.33 integrated the last version of > openssl and modssl. > Both was intalled with com success. > > But, When I try to create the key happen the error below : > > [root at faria ssl.crt]# openssl rsa -in server.key-Csenha -out server.key > Error opening Private Key server.key-Csenha > 11193:error:02001002:system library:fopen:No such file or > directory:bss_file.c:349:fopen('server.key-Csenha','r') > 11193:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351: > unable to load Private Key > > How I can o resolve it ? The correct way to generate an RSA key for openSSL is to use the "genrsa" command: # openssl genrsa -out server.key The "rsa" command does generalized RSA management, but doesn't generate keys. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Memory is the second thing to go, but I can't remember the first! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 1 16:44:15 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 09:44:15 -0700 Subject: crashing after install In-Reply-To: <1125591873.5496.17.camel@localhost.localdomain> References: <1125591873.5496.17.camel@localhost.localdomain> Message-ID: <43172FDF.6040601@vitalstream.com> jim ruxton wrote: > I just got a new machine and installed FC3 on it. I left it running > overnight and it crashed. There was noise on the monitor when I woke up. > I tried pinging it but it was dead. I reset it and looked > in /var/log/messages but couldn't find anything except a gap between the > last cron event and when I rebooted. After booting up I was mousing > around and the machine froze, this time the last image stayed on the > screen ie. no noise. Again I rebooted but couldn't find anything in the > log files. Should I bring this back to the store? I'm worried the store > will blame the crash on Linux. Any thoughts? The first thing is to send us a full list of what the machine is. Make and model (if a packaged system), motherboard make and model (if you built it yourself), memory configuration, disk drive configs (interface types such as IDE, EIDE, SATA, SCSI, etc. along with the models if known), video card make and model, keyboard/mouse (USB or PS/2), network cards and any additional stuff you have on it (firewire drives, USB drives, etc.). If you can, also include the output of the "lspci -v" command. Second, boot of the first FC disk and run "memtest" at the "boot:" prompt to test your memory. If the memory is OK, then we need to look further into it and the data from item 1 above is necessary. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - BASIC is the Computer Science version of `Scientific Creationism' - ---------------------------------------------------------------------- From ecbrown at lanl.gov Thu Sep 1 16:45:31 2005 From: ecbrown at lanl.gov (E. Craig Brown) Date: Thu, 01 Sep 2005 10:45:31 -0600 Subject: Fedora Core CD In-Reply-To: <43172B8B.9030509@vitalstream.com> References: <6.2.0.14.2.20050831183608.0380ceb0@nmt-mail.lanl.gov> <43172B8B.9030509@vitalstream.com> Message-ID: <6.2.0.14.2.20050901103751.03fbc6f0@nmt-mail.lanl.gov> Rick, Thanks for the info. I am confused. The boot CD that I created came from an ISO image that was contained within the ISO image for Disk 1 of the set that I downloaded from the Red Hat download center. I used all the files from version 4 and 3 I downloaded the set of 4 images from each, created cds from them, then copied the ISO from Disk1 in the boot folder and used that to create the boot CD. Each set of disks then is being used together with the boot image from the first disk in the set. Both of these sets of disks had the same error on installation. Since my initial posting, I tried the set of disks on a desktop computer. They are recognized as valid disks on that computer. Since I created these from a set, I am unsure of how to proceed. Any thoughts? Thank you, Craig At 10:25 AM 9/1/2005, you wrote: >E. Craig Brown wrote: >>I am attempting to install RH Linux on a Dell, Windows XP service pack 2 >>laptop. I have downloaded several different versions of the ISO files and >>burned them to disk. The burn does expand the iso file into multiple >>files and directories on the resulting CD. I used the boot ISO from disk >>one to generate a boot CD for my computer. I booted the computer and >>indicated I wanted to install, answered the questions about the language >>and keyboard, then was prompted to locate the Fedora Core CD. No matter >>which of the disks I place in the drive, they all receive the following: >>The Fedora Core CD was not found in any of your CDROM drives. Please >>insert the Fedora Core CD and press OK to retry. >>As I indicated earlier, I have downloaded several different versions of >>the installer ISOs with exactly the same result. I am unable to continue >>with the installation. >>What am I doing wrong? Is there other another download ISO to get? I am >>following the installation guide found on the installation page at RH, it >>indicates that I download the x86 32 bit files (4 total). The computer >>boots into the installation program as suggested by the guide, but is >>unable to recognize any of the other disks as containing the Fedora Core. > >Fedora Core (FC) is NOT Red Hat Enterprise Linux (RHEL). You can't boot >an FC CD and install RHEL from other CDs, nor can you boot a RHEL CD and >install FC from other CDs. They are not compatible. > >The boot loader for FC expects FC CDs and vice versa. If you're >installing RHEL, boot the first RHEL CD. If you're installing Fedora, >boot the first Fedora CD. >---------------------------------------------------------------------- >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >- VitalStream, Inc. http://www.vitalstream.com - >- - >- If Bill Gates got a dime for every time Windows crashes... - >- ...oh, wait. He does. THAT explains it! - >---------------------------------------------------------------------- > >_______________________________________________ >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 cinetron at passport.ca Thu Sep 1 17:04:59 2005 From: cinetron at passport.ca (jim ruxton) Date: Thu, 01 Sep 2005 13:04:59 -0400 Subject: crashing after install In-Reply-To: <43172FDF.6040601@vitalstream.com> References: <1125591873.5496.17.camel@localhost.localdomain> <43172FDF.6040601@vitalstream.com> Message-ID: <1125594299.5496.25.camel@localhost.localdomain> Thanks Rick, The machine keeps freezing when I run memtest. First time it got to Pass 4%, second time Pass 6% . I noticed when it was booting up the 12 volt supply is at 11.52 volts, not sure if this is too low. Do you think this is a sure fire hardware problem On Thu, 2005-09-01 at 09:44 -0700, Rick Stevens wrote: > jim ruxton wrote: > > I just got a new machine and installed FC3 on it. I left it running > > overnight and it crashed. There was noise on the monitor when I woke up. > > I tried pinging it but it was dead. I reset it and looked > > in /var/log/messages but couldn't find anything except a gap between the > > last cron event and when I rebooted. After booting up I was mousing > > around and the machine froze, this time the last image stayed on the > > screen ie. no noise. Again I rebooted but couldn't find anything in the > > log files. Should I bring this back to the store? I'm worried the store > > will blame the crash on Linux. Any thoughts? > > The first thing is to send us a full list of what the machine is. > Make and model (if a packaged system), motherboard make and model (if > you built it yourself), memory configuration, disk drive configs > (interface types such as IDE, EIDE, SATA, SCSI, etc. along with the > models if known), video card make and model, keyboard/mouse (USB or > PS/2), network cards and any additional stuff you have on it (firewire > drives, USB drives, etc.). > > If you can, also include the output of the "lspci -v" command. > > Second, boot of the first FC disk and run "memtest" at the "boot:" > prompt to test your memory. If the memory is OK, then we need to > look further into it and the data from item 1 above is necessary. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - BASIC is the Computer Science version of `Scientific Creationism' - > ---------------------------------------------------------------------- > From admin at tootai.net Thu Sep 1 17:13:25 2005 From: admin at tootai.net (Administrator TOOTAI) Date: Thu, 01 Sep 2005 19:13:25 +0200 Subject: crashing after install In-Reply-To: <1125591873.5496.17.camel@localhost.localdomain> References: <1125591873.5496.17.camel@localhost.localdomain> Message-ID: <431736B5.4060107@tootai.net> jim ruxton a ?crit : >I just got a new machine and installed FC3 on it. I left it running >overnight and it crashed. There was noise on the monitor when I woke up. >I tried pinging it but it was dead. I reset it and looked >in /var/log/messages but couldn't find anything except a gap between the >last cron event and when I rebooted. After booting up I was mousing >around and the machine froze, this time the last image stayed on the >screen ie. no noise. Again I rebooted but couldn't find anything in the >log files. Should I bring this back to the store? I'm worried the store >will blame the crash on Linux. Any thoughts? >Jim > Hi Jim, some times ago I had similar problems on a RH9 server: motherboard was dead, 5 monthes old! -- Daniel From cinetron at passport.ca Thu Sep 1 17:50:36 2005 From: cinetron at passport.ca (jim ruxton) Date: Thu, 01 Sep 2005 13:50:36 -0400 Subject: crashing after install In-Reply-To: <1125594299.5496.25.camel@localhost.localdomain> References: <1125591873.5496.17.camel@localhost.localdomain> <43172FDF.6040601@vitalstream.com> <1125594299.5496.25.camel@localhost.localdomain> Message-ID: <1125597036.5496.43.camel@localhost.localdomain> Memtest froze the machine twice. I booted up a third time and this time it passed the memory test. This is really frustrating. It seems to be hardware related but isn't repeatable. I'm thinking I should take it back to the shop. Jim > Thanks Rick, > The machine keeps freezing when I run memtest. First time it got to Pass > 4%, second time Pass 6% . I noticed when it was booting up the 12 volt > supply is at 11.52 volts, not sure if this is too low. Do you think this > is a sure fire hardware problem > On Thu, 2005-09-01 at 09:44 -0700, Rick Stevens wrote: > > jim ruxton wrote: > > > I just got a new machine and installed FC3 on it. I left it running > > > overnight and it crashed. There was noise on the monitor when I woke up. > > > I tried pinging it but it was dead. I reset it and looked > > > in /var/log/messages but couldn't find anything except a gap between the > > > last cron event and when I rebooted. After booting up I was mousing > > > around and the machine froze, this time the last image stayed on the > > > screen ie. no noise. Again I rebooted but couldn't find anything in the > > > log files. Should I bring this back to the store? I'm worried the store > > > will blame the crash on Linux. Any thoughts? > > > > The first thing is to send us a full list of what the machine is. > > Make and model (if a packaged system), motherboard make and model (if > > you built it yourself), memory configuration, disk drive configs > > (interface types such as IDE, EIDE, SATA, SCSI, etc. along with the > > models if known), video card make and model, keyboard/mouse (USB or > > PS/2), network cards and any additional stuff you have on it (firewire > > drives, USB drives, etc.). > > > > If you can, also include the output of the "lspci -v" command. > > > > Second, boot of the first FC disk and run "memtest" at the "boot:" > > prompt to test your memory. If the memory is OK, then we need to > > look further into it and the data from item 1 above is necessary. > > ---------------------------------------------------------------------- > > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > > - VitalStream, Inc. http://www.vitalstream.com - > > - - > > - BASIC is the Computer Science version of `Scientific Creationism' - > > ---------------------------------------------------------------------- > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > From rstevens at vitalstream.com Thu Sep 1 18:19:21 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 01 Sep 2005 11:19:21 -0700 Subject: Fedora Core CD In-Reply-To: <6.2.0.14.2.20050901103751.03fbc6f0@nmt-mail.lanl.gov> References: <6.2.0.14.2.20050831183608.0380ceb0@nmt-mail.lanl.gov> <43172B8B.9030509@vitalstream.com> <6.2.0.14.2.20050901103751.03fbc6f0@nmt-mail.lanl.gov> Message-ID: <43174629.4010906@vitalstream.com> E. Craig Brown wrote: > Rick, > Thanks for the info. I am confused. The boot CD that I created came from > an ISO image that was contained within the ISO image for Disk 1 of the > set that I downloaded from the Red Hat download center. I used all the > files from version 4 and 3 I downloaded the set of 4 images from each, > created cds from them, then copied the ISO from Disk1 in the boot folder > and used that to create the boot CD. Each set of disks then is being > used together with the boot image from the first disk in the set. Both > of these sets of disks had the same error on installation. > > Since my initial posting, I tried the set of disks on a desktop > computer. They are recognized as valid disks on that computer. Since I > created these from a set, I am unsure of how to proceed. Any thoughts? There should only be four ISO images for RHEL. Burn each to a CD as an image file (you've done that successfully). The first CD is bootable in and of itself...you don't need to do anything else. Just burn the CD and boot it. For FC2, FC3 and FC4, there are four install disks and a "rescue CD" image. You only need the first four discs for each, and again, disc 1 of each of those is the boot disk. The "rescue CD" for each is useful if you have a bad crash and need to recover the system, but the first disc can do that for you also. In summary, these are the disks and how to use them. Note that "rhel-3" should be replaced by "rhel-4" for Red Hat Enterprise Linux 4 (RHEL4): Red Hat Enterprise Linux (RHEL) Advanced Server, four images: rhel-3-as-disc1.iso: First install disk, BOOTABLE rhel-3-as-disc2.iso: Second install disk rhel-3-as-disc3.iso: Third install disk rhel-3-as-disc4.iso: Fourth install disk Red Hat Enterprise Linux (RHEL) Enhanced Server, four images: rhel-3-es-disc1.iso: First install disk, BOOTABLE rhel-3-es-disc2.iso: Second install disk rhel-3-es-disc3.iso: Third install disk rhel-3-es-disc4.iso: Fourth install disk Fedora Core 1 (FC1, aka "yarrow"), three images: yarrow-i386-disc1.iso: First install disk, BOOTABLE yarrow-i386-disc2.iso: Second install disk yarrow-i386-disc3.iso: Third install disk Fedora Core 2 (FC2, aka "tettnang"), five images: tettnang-i386-disc1.iso: First install disk, BOOTABLE tettnang-i386-disc2.iso: Second install disk tettnang-i386-disc3.iso: Third install disk tettnang-i386-disc4.iso: Fourth install disk tettnang-i386-rescuecd.iso: Rescue disk, BOOTABLE Fedora Core 3 (FC3, aka "heidelberg"), five images: heidelberg-i386-disc1.iso: First install disk, BOOTABLE heidelberg-i386-disc2.iso: Second install disk heidelberg-i386-disc3.iso: Third install disk heidelberg-i386-disc4.iso: Fourth install disk heidelberg-i386-rescuecd.iso: Rescue disk, BOOTABLE Fedora Core 4 (FC4, aka "stentz"), five images: stentz-i386-disc1.iso: First install disk, BOOTABLE stentz-i386-disc2.iso: Second install disk stentz-i386-disc3.iso: Third install disk stentz-i386-disc4.iso: Fourth install disk stentz-i386-rescuecd.iso: Rescue disk, BOOTABLE Note that FC2, FC3, and FC4 all also have DVD images available. If you burn that to a DVD, you only need one disk. The DVD is bootable and contains the rescue information as well. By the way, we prefer bottom posting on this list. > At 10:25 AM 9/1/2005, you wrote: > >> E. Craig Brown wrote: >> >>> I am attempting to install RH Linux on a Dell, Windows XP service >>> pack 2 laptop. I have downloaded several different versions of the >>> ISO files and burned them to disk. The burn does expand the iso file >>> into multiple files and directories on the resulting CD. I used the >>> boot ISO from disk one to generate a boot CD for my computer. I >>> booted the computer and indicated I wanted to install, answered the >>> questions about the language and keyboard, then was prompted to >>> locate the Fedora Core CD. No matter which of the disks I place in >>> the drive, they all receive the following: >>> The Fedora Core CD was not found in any of your CDROM drives. Please >>> insert the Fedora Core CD and press OK to retry. >>> As I indicated earlier, I have downloaded several different versions >>> of the installer ISOs with exactly the same result. I am unable to >>> continue with the installation. >>> What am I doing wrong? Is there other another download ISO to get? I >>> am following the installation guide found on the installation page at >>> RH, it indicates that I download the x86 32 bit files (4 total). The >>> computer boots into the installation program as suggested by the >>> guide, but is unable to recognize any of the other disks as >>> containing the Fedora Core. >> >> >> Fedora Core (FC) is NOT Red Hat Enterprise Linux (RHEL). You can't boot >> an FC CD and install RHEL from other CDs, nor can you boot a RHEL CD and >> install FC from other CDs. They are not compatible. >> >> The boot loader for FC expects FC CDs and vice versa. If you're >> installing RHEL, boot the first RHEL CD. If you're installing Fedora, >> boot the first Fedora CD. >> ---------------------------------------------------------------------- >> - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >> - VitalStream, Inc. http://www.vitalstream.com - >> - - >> - If Bill Gates got a dime for every time Windows crashes... - >> - ...oh, wait. He does. THAT explains it! - >> ---------------------------------------------------------------------- >> >> _______________________________________________ >> Redhat-install-list mailing list >> Redhat-install-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-install-list >> To Unsubscribe Go To ABOVE URL or send a message to: >> redhat-install-list-request at redhat.com >> Subject: unsubscribe > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I haven't lost my mind. It's backed up on tape somewhere, but - - probably not recoverable. - ---------------------------------------------------------------------- From fdgrant at powercom.net Thu Sep 1 23:04:55 2005 From: fdgrant at powercom.net (Fred Grant) Date: Thu, 01 Sep 2005 18:04:55 -0500 Subject: host.conf problem In-Reply-To: <43172AA3.6070803@vitalstream.com> References: <1125356780.2714.5.camel@localhost.localdomain> <20050829231854.GA13530@bobcat.bobcatos.com> <1125444295.2716.6.camel@localhost.localdomain> <20050830233553.GA24726@bobcat.bobcatos.com> <431506A4.2080207@vitalstream.com> <1125526839.2737.1.camel@localhost> <43172AA3.6070803@vitalstream.com> Message-ID: <1125615894.2719.2.camel@localhost> On Thu, 2005-09-01 at 11:21, Rick Stevens wrote: > Fred Grant wrote: > > On Tue, 2005-08-30 at 20:23, Rick Stevens wrote: > > > >>Bob McClure Jr wrote: > >> > >>>On Tue, Aug 30, 2005 at 06:24:55PM -0500, Fred Grant wrote: > >>> > >>> > >>>>On Mon, 2005-08-29 at 18:18, Bob McClure Jr wrote: > >>>> > >>>> > >>>>>On Mon, Aug 29, 2005 at 06:06:20PM -0500, Fred Grant wrote: > >>>>> > >>>>> > >>>>>>On log-in, I periodically and sporadically get a message that the system > >>>>>>can't determine the host for Internet use. When I check the host.conf > >>>>>>folder it is missing the "localhost.localdomain" info. > >>>>> > >>>>>That does not compute. /etc/host.conf (a file, not a folder) normally > >>>>>contains > >>>>> > >>>>> order hosts,bind > >>>>> > >>>>>and that's all. Perhaps you're thinking of /etc/hosts, which should > >>>>>have something like (mine as an example): > >>>>> > >>>>>127.0.0.1 localhost.localdomain localhost > >>>>>192.168.2.2 bobcat.bobcatos.com bobcat > >>>>> > >>>>> > >>>>> > >>>>>>I can fix it by (as root) copying hosts.bak to this folder but it is > >>>>>>kind of a pain. > >>>>>> > >>>>>>Any ideas as to why this periodically drops out? I'm using FC2. > >>>>>> > >>>>>>Thanks > >>>>> > >>>>>Cheers, > >>>> > >>>>You are right Bob, it's /etc/hosts that loses the localhost.localdomain > >>>>info. I wonder if I could incorporate copying of this info into the > >>>>daily cron job? Seems funny that the info periodically gets lost. > >>> > >>> > >>>No, that's a band-aid. Something else is wrong that needs to be fixed. > >>> > >>>Look in /etc/sysconfig/networking/profiles/default/hosts and see what > >>>it looks like. It it's improper, fix it and see if the problem > >>>doesn't go away. > >>> > >>>No, I don't know how that gets into the game. Rick probably does. > >> > >>Er, it could be the DHCP client requesting it from the DHCP server and > >>gronking it. I'd have to look. > > > > > >>Is that something the ISP does? > > Well, whoever your DHCP service is. If you use a cable or DSL modem > via ethernet, it'd be the modem. If you have a router betwixt the > modem and your machine, it'd probably be the router. If you use a > direct modem via the PCI bus or serial port, it'd be your ISP. > > As Bob said, check /etc/sysconfig/networking/profiles/default/hosts > and verify that it's correct. You can then also check > /etc/dhclient-script to see if it's stomping on it. > ---------------------------------------------------------------------- Here is the content of /etc/sysconfig/... > 127.0.0.1 localhost Does it seem OK to you? From zheny.j at gmail.com Fri Sep 2 03:29:24 2005 From: zheny.j at gmail.com (Jerry(Zhenyong,Jiang)) Date: Fri, 2 Sep 2005 11:29:24 +0800 Subject: Redhat-install-list Digest, Vol 19, Issue 1 References: <20050901160035.98FB773F05@hormel.redhat.com> Message-ID: <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> I met the same problem before. it because of the kenerl could not drive the cdrom/Dvdrom driver. Do follow step may solve your problem; 1?part your harddisk to servel partations. 2?make one of partation DOS filesystem. 3?copy all files in the CDs into the DOS partation. 4?boot from your CD?and choose install from harddisk. I think newer version Fedore will resolve this problem. ----- Original Message ----- From: To: Sent: Friday, September 02, 2005 12:00 AM Subject: Redhat-install-list Digest, Vol 19, Issue 1 > 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: Installation fails on AsRock P4i65GV motherboard > (Rick Stevens) > 2. Re: host.conf problem (Fred Grant) > 3. Fedora Core CD (E. Craig Brown) > 4. Wine package (Andrew Kelly) > 5. Creating Key in OpenSSL (Rodrigo Faria Tavares) > ---------------------------------------------------------------------------- ---- > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list From ecbrown at lanl.gov Fri Sep 2 14:42:55 2005 From: ecbrown at lanl.gov (E. Craig Brown) Date: Fri, 02 Sep 2005 08:42:55 -0600 Subject: Fedora Core CD In-Reply-To: <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> References: <20050901160035.98FB773F05@hormel.redhat.com> <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> Message-ID: <6.2.0.14.2.20050902083322.0341dcc0@nmt-mail.lanl.gov> At 09:29 PM 9/1/2005, you wrote: >I met the same problem before. it because of the kenerl could not drive the >cdrom/Dvdrom driver. >Do follow step may solve your problem; >1???part your harddisk to servel partations. >2???make one of partation DOS filesystem. >3???copy all files in the CDs into the DOS partation. >4???boot from your CD???and choose install from harddisk. > >I think newer version Fedore will resolve this problem. > >----- Original Message ----- >From: >To: >Sent: Friday, September 02, 2005 12:00 AM >Subject: Redhat-install-list Digest, Vol 19, Issue 1 > > > > 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: Installation fails on AsRock P4i65GV motherboard > > (Rick Stevens) > > 2. Re: host.conf problem (Fred Grant) > > 3. Fedora Core CD (E. Craig Brown) > > 4. Wine package (Andrew Kelly) > > 5. Creating Key in OpenSSL (Rodrigo Faria Tavares) > > > > >---------------------------------------------------------------------------- >---- Thanks to Rick and Jerry for your assistance in solving this problem. I finally solved it. the issue was in my interpretation of the creating of the setup disks. In the instructions for install, I read the creation steps as burn the 4 setup disks and create a boot disk. On Disk One of the set, there is an ISO called boot in a folder called boot and I used that to create a boot CD. It worked to boot the computer, but for some reason, reading Disk One for Fedora Core failed. The disks all passed their media test so I thought there was something deeper. As soon as I read the messages back from all of you and re-read the disk creation notes, I realized my mistake. I booted the computer with Disk One and all went as it should have. I feel silly for confusing this issue, however, I have a working copy of linux installed. All is well that ends well. Thank you for your help Craig > > _______________________________________________ > > Redhat-install-list mailing list > > Redhat-install-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-install-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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Fri Sep 2 18:28:36 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 02 Sep 2005 11:28:36 -0700 Subject: Redhat-install-list Digest, Vol 19, Issue 1 In-Reply-To: <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> References: <20050901160035.98FB773F05@hormel.redhat.com> <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> Message-ID: <431899D4.4050800@vitalstream.com> Jerry(Zhenyong,Jiang) wrote: > I met the same problem before. it because of the kenerl could not drive the > cdrom/Dvdrom driver. > Do follow step may solve your problem; > 1?part your harddisk to servel partations. > 2?make one of partation DOS filesystem. > 3?copy all files in the CDs into the DOS partation. > 4?boot from your CD?and choose install from harddisk. > > I think newer version Fedore will resolve this problem. That wasn't the issue. And PLEASE don't "respond" to digest postings. You must respond TO THE MESSAGE ITSELF. If you don't do that, you screw up the subject lines. The message threads are OK, but the subjects get hosed. > > ----- Original Message ----- > From: > To: > Sent: Friday, September 02, 2005 12:00 AM > Subject: Redhat-install-list Digest, Vol 19, Issue 1 > > > >>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: Installation fails on AsRock P4i65GV motherboard >> (Rick Stevens) >> 2. Re: host.conf problem (Fred Grant) >> 3. Fedora Core CD (E. Craig Brown) >> 4. Wine package (Andrew Kelly) >> 5. Creating Key in OpenSSL (Rodrigo Faria Tavares) >> > > > > ---------------------------------------------------------------------------- > ---- > > > >>_______________________________________________ >>Redhat-install-list mailing list >>Redhat-install-list at redhat.com >>https://www.redhat.com/mailman/listinfo/redhat-install-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 > -- ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Admitting you have a problem is the first step toward getting - - medicated for it. -- Jim Evarts (http://www.TopFive.com) - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Sep 2 18:35:11 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 02 Sep 2005 11:35:11 -0700 Subject: Fedora Core CD In-Reply-To: <6.2.0.14.2.20050902083322.0341dcc0@nmt-mail.lanl.gov> References: <20050901160035.98FB773F05@hormel.redhat.com> <028a01c5af6e$87e25e70$6401a8c0@home.langchao.com> <6.2.0.14.2.20050902083322.0341dcc0@nmt-mail.lanl.gov> Message-ID: <43189B5F.8040300@vitalstream.com> E. Craig Brown wrote: > At 09:29 PM 9/1/2005, you wrote: > >> I met the same problem before. it because of the kenerl could not >> drive the >> cdrom/Dvdrom driver. >> Do follow step may solve your problem; >> 1???part your harddisk to servel partations. >> 2???make one of partation DOS filesystem. >> 3???copy all files in the CDs into the DOS partation. >> 4???boot from your CD???and choose install from harddisk. >> >> I think newer version Fedore will resolve this problem. >> >> ----- Original Message ----- >> From: >> To: >> Sent: Friday, September 02, 2005 12:00 AM >> Subject: Redhat-install-list Digest, Vol 19, Issue 1 >> >> >> > 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: Installation fails on AsRock P4i65GV motherboard >> > (Rick Stevens) >> > 2. Re: host.conf problem (Fred Grant) >> > 3. Fedora Core CD (E. Craig Brown) >> > 4. Wine package (Andrew Kelly) >> > 5. Creating Key in OpenSSL (Rodrigo Faria Tavares) >> > >> >> >> ---------------------------------------------------------------------------- >> ---- > > > > Thanks to Rick and Jerry for your assistance in solving this problem. I > finally solved it. the issue was in my interpretation of the creating of > the setup disks. In the instructions for install, I read the creation > steps as burn the 4 setup disks *and create a boot disk*. On Disk One of > the set, there is an ISO called boot in a folder called boot and I used > that to create a boot CD. It worked to boot the computer, but for some > reason, reading Disk One for Fedora Core failed. The disks all passed > their media test so I thought there was something deeper. As soon as I > read the messages back from all of you and re-read the disk creation > notes, I realized my mistake. I booted the computer with Disk One and > all went as it should have. I feel silly for confusing this issue, > however, I have a working copy of linux installed. Ah, outsmarted yourself, eh? Heheheheheh! :-D Hey, it happens! Don't worry about it. The boot folder on CD1 contains the OS that the installer uses. It expects to see the entire contents of CD1 when it boots. Since you "orphaned" it onto its own CD, the rest of the data wasn't there and it whined about it. But, as I said, we've all done similar (or worse) things. You aren't alone in that! > All is well that ends well. Glad to hear it. We're here to answer any other questions you might have. Remember that the list is manned by Red Hat/Fedora USERS. Very little content on this list is from Red Hat itself. I don't work for them, as my .signature below attests. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Admitting you have a problem is the first step toward getting - - medicated for it. -- Jim Evarts (http://www.TopFive.com) - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Sep 2 18:39:21 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 02 Sep 2005 11:39:21 -0700 Subject: host.conf problem In-Reply-To: <1125615894.2719.2.camel@localhost> References: <1125356780.2714.5.camel@localhost.localdomain> <20050829231854.GA13530@bobcat.bobcatos.com> <1125444295.2716.6.camel@localhost.localdomain> <20050830233553.GA24726@bobcat.bobcatos.com> <431506A4.2080207@vitalstream.com> <1125526839.2737.1.camel@localhost> <43172AA3.6070803@vitalstream.com> <1125615894.2719.2.camel@localhost> Message-ID: <43189C59.7040605@vitalstream.com> Fred Grant wrote: > On Thu, 2005-09-01 at 11:21, Rick Stevens wrote: > >>Fred Grant wrote: >> >>>On Tue, 2005-08-30 at 20:23, Rick Stevens wrote: >>> >>> >>>>Bob McClure Jr wrote: >>>> >>>> >>>>>On Tue, Aug 30, 2005 at 06:24:55PM -0500, Fred Grant wrote: >>>>> >>>>> >>>>> >>>>>>On Mon, 2005-08-29 at 18:18, Bob McClure Jr wrote: >>>>>> >>>>>> >>>>>> >>>>>>>On Mon, Aug 29, 2005 at 06:06:20PM -0500, Fred Grant wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>>On log-in, I periodically and sporadically get a message that the system >>>>>>>>can't determine the host for Internet use. When I check the host.conf >>>>>>>>folder it is missing the "localhost.localdomain" info. >>>>>>> >>>>>>>That does not compute. /etc/host.conf (a file, not a folder) normally >>>>>>>contains >>>>>>> >>>>>>>order hosts,bind >>>>>>> >>>>>>>and that's all. Perhaps you're thinking of /etc/hosts, which should >>>>>>>have something like (mine as an example): >>>>>>> >>>>>>>127.0.0.1 localhost.localdomain localhost >>>>>>>192.168.2.2 bobcat.bobcatos.com bobcat >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>I can fix it by (as root) copying hosts.bak to this folder but it is >>>>>>>>kind of a pain. >>>>>>>> >>>>>>>>Any ideas as to why this periodically drops out? I'm using FC2. >>>>>>>> >>>>>>>>Thanks >>>>>>> >>>>>>>Cheers, >>>>>> >>>>>>You are right Bob, it's /etc/hosts that loses the localhost.localdomain >>>>>>info. I wonder if I could incorporate copying of this info into the >>>>>>daily cron job? Seems funny that the info periodically gets lost. >>>>> >>>>> >>>>>No, that's a band-aid. Something else is wrong that needs to be fixed. >>>>> >>>>>Look in /etc/sysconfig/networking/profiles/default/hosts and see what >>>>>it looks like. It it's improper, fix it and see if the problem >>>>>doesn't go away. >>>>> >>>>>No, I don't know how that gets into the game. Rick probably does. >>>> >>>>Er, it could be the DHCP client requesting it from the DHCP server and >>>>gronking it. I'd have to look. >>> >>> >>>>Is that something the ISP does? >> >>Well, whoever your DHCP service is. If you use a cable or DSL modem >>via ethernet, it'd be the modem. If you have a router betwixt the >>modem and your machine, it'd probably be the router. If you use a >>direct modem via the PCI bus or serial port, it'd be your ISP. >> >>As Bob said, check /etc/sysconfig/networking/profiles/default/hosts >>and verify that it's correct. You can then also check >>/etc/dhclient-script to see if it's stomping on it. >>---------------------------------------------------------------------- > > > Here is the content of /etc/sysconfig/... > >>127.0.0.1 localhost > > Does it seem OK to you? No. It should read (at a minimum): 127.0.0.1 localhost localhost.localdomain At a maximum, it should contain all of the IPs and host names that you want hard coded and not reliant on DNS. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Better to understand a little than to misunderstand a lot. - ---------------------------------------------------------------------- From cinetron at passport.ca Fri Sep 2 19:59:06 2005 From: cinetron at passport.ca (jim ruxton) Date: Fri, 02 Sep 2005 15:59:06 -0400 Subject: Starting on bootup Message-ID: <1125691146.6202.3.camel@localhost.localdomain> I'm using Fedora 3 and was wondering how I can have a computer boot up on powerup without asking for username and password. Also where can I put commands to start a program automatically once the computer boots up. Thanks. Jim From tyche at ica.net Fri Sep 2 17:13:10 2005 From: tyche at ica.net (tyche) Date: Fri, 2 Sep 2005 17:13:10 +0000 Subject: Starting on bootup In-Reply-To: <1125691146.6202.3.camel@localhost.localdomain> References: <1125691146.6202.3.camel@localhost.localdomain> Message-ID: <200509021713.11063.tyche@ica.net> On Friday 02 September 2005 19:59, jim ruxton wrote: > I'm using Fedora 3 and was wondering how I can have a > computer boot up on powerup without asking for username and > password. Also where can I put commands to start a program > automatically once the computer boots up. Thanks. > Jim > look at how knoppix does it. www.knoppix.de. it uses a user called knoppix to run from a cd hth a bit tyche -- Win9x A 32 bit extention to a 16 bit patch for a 8 bit operating system on a 4 bit machine by a 2 bit company that cant stand 1 bit of competition From rstevens at vitalstream.com Fri Sep 2 21:26:06 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 02 Sep 2005 14:26:06 -0700 Subject: Starting on bootup In-Reply-To: <1125691146.6202.3.camel@localhost.localdomain> References: <1125691146.6202.3.camel@localhost.localdomain> Message-ID: <4318C36E.4030001@vitalstream.com> jim ruxton wrote: > I'm using Fedora 3 and was wondering how I can have a computer boot up > on powerup without asking for username and password. Also where can I > put commands to start a program automatically once the computer boots > up. Thanks. Uh, that doesn't make a lot of sense. The machine will boot without a username unless an fsck fails and requires manual intervention. The only time a machine needs a username and password is to start up an interactive session. To run programs at boot, stick the commands in /etc/rc.d/rc.local. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - ...Had this been an actual emergency, we would have fled in terror - - and you'd be on your own, pal! - ---------------------------------------------------------------------- From robertmcclure at earthlink.net Fri Sep 2 21:38:54 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Fri, 2 Sep 2005 16:38:54 -0500 Subject: Starting on bootup In-Reply-To: <4318C36E.4030001@vitalstream.com> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> Message-ID: <20050902213854.GA29875@bobcat.bobcatos.com> On Fri, Sep 02, 2005 at 02:26:06PM -0700, Rick Stevens wrote: > jim ruxton wrote: > >I'm using Fedora 3 and was wondering how I can have a computer boot up > >on powerup without asking for username and password. Also where can I > >put commands to start a program automatically once the computer boots > >up. Thanks. > > Uh, that doesn't make a lot of sense. The machine will boot without a > username unless an fsck fails and requires manual intervention. The > only time a machine needs a username and password is to start up an > interactive session. Umm, what if he put a password in the GRUB configuration (because it seemed like a good idea at the time)? I've never done that, so I don't know how you undo it. > To run programs at boot, stick the commands in /etc/rc.d/rc.local. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From rstevens at vitalstream.com Fri Sep 2 23:01:31 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 02 Sep 2005 16:01:31 -0700 Subject: Starting on bootup In-Reply-To: <20050902213854.GA29875@bobcat.bobcatos.com> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> <20050902213854.GA29875@bobcat.bobcatos.com> Message-ID: <4318D9CB.9060906@vitalstream.com> Bob McClure Jr wrote: > On Fri, Sep 02, 2005 at 02:26:06PM -0700, Rick Stevens wrote: > >>jim ruxton wrote: >> >>>I'm using Fedora 3 and was wondering how I can have a computer boot up >>>on powerup without asking for username and password. Also where can I >>>put commands to start a program automatically once the computer boots >>>up. Thanks. >> >>Uh, that doesn't make a lot of sense. The machine will boot without a >>username unless an fsck fails and requires manual intervention. The >>only time a machine needs a username and password is to start up an >>interactive session. > > > Umm, what if he put a password in the GRUB configuration (because it > seemed like a good idea at the time)? I've never done that, so I > don't know how you undo it. Ah, I hadn't thought of that. If that's the case, there's no way around it as grub has control of the machine at that point. Linux can't affect it at all. If you want the machine to boot unattended, you must turn off passwords in both the BIOS and in the grub.conf. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If this is the first day of the rest of my life... - - I'm in BIG trouble! - ---------------------------------------------------------------------- From micros50 at computer.net Sat Sep 3 04:38:17 2005 From: micros50 at computer.net (mylar) Date: Sat, 03 Sep 2005 00:38:17 -0400 Subject: Starting on bootup In-Reply-To: <1125691146.6202.3.camel@localhost.localdomain> References: <1125691146.6202.3.camel@localhost.localdomain> Message-ID: <1125722296.6811.8.camel@manhattan.ruffe.edu> On Fri, 2005-09-02 at 15:59, jim ruxton wrote: > I'm using Fedora 3 and was wondering how I can have a computer boot up > on powerup without asking for username and password. Most computers automatically boot on powerup unless there is some sort of issue and the machine jumps into setup or if the operating system croaks and requires under intervention/repair. Otherwise the machine boots up on powerup and and daemons set to run will start and run as the machine enters it's normal runlevel.. You only need user name and password if you want to log in to an interactive session. > Also where can I > put commands to start a program automatically once the computer boots > up. Thanks. > Jim > You mean like you want to power the machine and have the computer boot up some program like say a web server, mail server or some daemon/application. The easies way is to edit /etc/rc.d/rc.local and put the commands for whatever you want started in there. Or, if you know/learn how to use SysV init you can generate the appropriate files & links for the various runlevels and the program(s) will start/stop automatically as the machine enters/exits the desired run level. mylar From micros50 at computer.net Sat Sep 3 04:41:08 2005 From: micros50 at computer.net (mylar) Date: Sat, 03 Sep 2005 00:41:08 -0400 Subject: Starting on bootup In-Reply-To: <4318D9CB.9060906@vitalstream.com> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> <20050902213854.GA29875@bobcat.bobcatos.com> <4318D9CB.9060906@vitalstream.com> Message-ID: <1125722468.6811.11.camel@manhattan.ruffe.edu> On Fri, 2005-09-02 at 19:01, Rick Stevens wrote: > Bob McClure Jr wrote: > > On Fri, Sep 02, 2005 at 02:26:06PM -0700, Rick Stevens wrote: > > > >>jim ruxton wrote: > >> > >>>I'm using Fedora 3 and was wondering how I can have a computer boot up > >>>on powerup without asking for username and password. Also where can I > >>>put commands to start a program automatically once the computer boots > >>>up. Thanks. > >> > >>Uh, that doesn't make a lot of sense. The machine will boot without a > >>username unless an fsck fails and requires manual intervention. The > >>only time a machine needs a username and password is to start up an > >>interactive session. > > > > > > Umm, what if he put a password in the GRUB configuration (because it > > seemed like a good idea at the time)? I've never done that, so I > > don't know how you undo it. > > Ah, I hadn't thought of that. If that's the case, there's no way around > it as grub has control of the machine at that point. Linux can't affect > it at all. > > If you want the machine to boot unattended, you must turn off passwords > in both the BIOS and in the grub.conf. I didn't think of that either. yes, if he has Grub or BIOS level passwords set he'll need to turn them off for the machine to boot automatically w/o username/password. mylar From gnichols at tpg.com.au Sat Sep 3 05:46:31 2005 From: gnichols at tpg.com.au (Graeme Nichols) Date: Sat, 03 Sep 2005 15:46:31 +1000 Subject: Starting on bootup In-Reply-To: <4318C36E.4030001@vitalstream.com> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> Message-ID: <431938B7.3050807@tpg.com.au> Rick Stevens wrote: > jim ruxton wrote: > >> I'm using Fedora 3 and was wondering how I can have a computer boot up >> on powerup without asking for username and password. Also where can I >> put commands to start a program automatically once the computer boots >> up. Thanks. > > > Uh, that doesn't make a lot of sense. The machine will boot without a > username unless an fsck fails and requires manual intervention. The > only time a machine needs a username and password is to start up an > interactive session. > > To run programs at boot, stick the commands in /etc/rc.d/rc.local. I used to have my machine setup to boot to my login automatically back in RH8 days. The feature is still in FC4 Go to Desktop --> System Settings --> Login Screen --> General Tab --> Timed Login and set the user you want to be logged in automatically. I no longer use the feature because of my security concerns. Do not set a BIOS password (BAD idea anyway) and do not set a Grub password. Any programs you want to start automatically for that user put 'em where Rick has told you. HTH -- ---------------------------------------------------------------------- Kind regards, Graeme. ---------------------------------------------------------------------- Nonsense and beauty have close connections. -- E.M. Forster From tijam32 at hotmail.com Sat Sep 3 09:27:41 2005 From: tijam32 at hotmail.com (Simon Moradi) Date: Sat, 03 Sep 2005 12:27:41 +0300 Subject: Real player does not work! In-Reply-To: <4318D9CB.9060906@vitalstream.com> Message-ID: Hi! I'm new in ubuntu (linux) and I have problems with play a video or audio in winamp or winmedia player or real player! it is almost impossible to playback any audio video! I'd be happy if you can help me. thank you. From cinetron at passport.ca Sat Sep 3 20:17:40 2005 From: cinetron at passport.ca (jim ruxton) Date: Sat, 03 Sep 2005 16:17:40 -0400 Subject: Starting on bootup In-Reply-To: <431938B7.3050807@tpg.com.au> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> <431938B7.3050807@tpg.com.au> Message-ID: <1125778660.5495.0.camel@localhost.localdomain> On Sat, 2005-09-03 at 15:46 +1000, Graeme Nichols wrote: > Rick Stevens wrote: > > > jim ruxton wrote: > > > >> I'm using Fedora 3 and was wondering how I can have a computer boot up > >> on powerup without asking for username and password. Also where can I > >> put commands to start a program automatically once the computer boots > >> up. Thanks. > > > > > > Uh, that doesn't make a lot of sense. The machine will boot without a > > username unless an fsck fails and requires manual intervention. The > > only time a machine needs a username and password is to start up an > > interactive session. > > > > To run programs at boot, stick the commands in /etc/rc.d/rc.local. > > I used to have my machine setup to boot to my login automatically back > in RH8 days. The feature is still in FC4 > > Go to Desktop --> System Settings --> Login Screen --> General Tab --> > Timed Login and set the user you want to be logged in automatically. Thanks this is what I was looking for. I set this and it works perfectly. jim > > I no longer use the feature because of my security concerns. Do not set > a BIOS password (BAD idea anyway) and do not set a Grub password. > > Any programs you want to start automatically for that user put 'em where > Rick has told you. > > HTH > From cinetron at passport.ca Sat Sep 3 20:18:45 2005 From: cinetron at passport.ca (jim ruxton) Date: Sat, 03 Sep 2005 16:18:45 -0400 Subject: Starting on bootup In-Reply-To: <4318C36E.4030001@vitalstream.com> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> Message-ID: <1125778725.5495.2.camel@localhost.localdomain> On Fri, 2005-09-02 at 14:26 -0700, Rick Stevens wrote: > jim ruxton wrote: > > I'm using Fedora 3 and was wondering how I can have a computer boot up > > on powerup without asking for username and password. Also where can I > > put commands to start a program automatically once the computer boots > > up. Thanks. > > Uh, that doesn't make a lot of sense. The machine will boot without a > username unless an fsck fails and requires manual intervention. The > only time a machine needs a username and password is to start up an > interactive session. > > To run programs at boot, stick the commands in /etc/rc.d/rc.local. Thanks Rick I'll put the command here and give it a whirl. Jim > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - ...Had this been an actual emergency, we would have fled in terror - > - and you'd be on your own, pal! - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 aubreys_key at yahoo.com Sat Sep 3 23:31:46 2005 From: aubreys_key at yahoo.com (Aubrey Barnard) Date: Sat, 3 Sep 2005 16:31:46 -0700 (PDT) Subject: Starting on bootup Message-ID: <20050903233147.41913.qmail@web41904.mail.yahoo.com> I think what you mean is for the machine to automatically log a user into an interactive session (like you can do for Windows). In that case, the timed login is the way to go. Keep in mind the security risk this poses. The GRUB password is only for restricting access to modifying the boot commands/entries, and therefore won't prevent a machine from booting. Normally, GRUB automatically boots the default entry after a 10-second delay. I expect your situation to be similar. Therefore, you shouldn't have to worry about a GRUB password preventing the machine from booting. Aubrey Barnard ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From gnichols at tpg.com.au Sun Sep 4 01:41:12 2005 From: gnichols at tpg.com.au (Graeme Nichols) Date: Sun, 04 Sep 2005 11:41:12 +1000 Subject: Starting on bootup In-Reply-To: <1125778660.5495.0.camel@localhost.localdomain> References: <1125691146.6202.3.camel@localhost.localdomain> <4318C36E.4030001@vitalstream.com> <431938B7.3050807@tpg.com.au> <1125778660.5495.0.camel@localhost.localdomain> Message-ID: <431A50B8.5030906@tpg.com.au> jim ruxton wrote: >On Sat, 2005-09-03 at 15:46 +1000, Graeme Nichols wrote: > > >>Rick Stevens wrote: >> >> >> >>>jim ruxton wrote: >>> >>> >>> >>>>I'm using Fedora 3 and was wondering how I can have a computer boot up >>>>on powerup without asking for username and password. Also where can I >>>>put commands to start a program automatically once the computer boots >>>>up. Thanks. >>>> >>>> >>>Uh, that doesn't make a lot of sense. The machine will boot without a >>>username unless an fsck fails and requires manual intervention. The >>>only time a machine needs a username and password is to start up an >>>interactive session. >>> >>>To run programs at boot, stick the commands in /etc/rc.d/rc.local. >>> >>> >>I used to have my machine setup to boot to my login automatically back >>in RH8 days. The feature is still in FC4 >> >>Go to Desktop --> System Settings --> Login Screen --> General Tab --> >>Timed Login and set the user you want to be logged in automatically. >> >> >Thanks this is what I was looking for. I set this and it works >perfectly. >jim > > You're welcome Jim. Glad I could help. Graeme. >>I no longer use the feature because of my security concerns. Do not set >>a BIOS password (BAD idea anyway) and do not set a Grub password. >> >>Any programs you want to start automatically for that user put 'em where >>Rick has told you. >> >>HTH >> >> >> -- ---------------------------------------------------------------------- Kind regards, Graeme. ---------------------------------------------------------------------- Don't take life seriously, you'll never get out alive. From brad.mugleston at comcast.net Mon Sep 5 16:17:08 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Mon, 5 Sep 2005 10:17:08 -0600 (MDT) Subject: NFS - some success Message-ID: Well, with your help I finally got NFS working- mostly - my problem was a services issue - I looked at both machines and set them up the same and then it worked. I can now see the shared drived from my client machine but I can't write to them (even as root on my client machine). /etc/exports (Server) /music 192.168.1.0/255.255.255.0(rw) /photos 192.168.1.0/255.255.255.0(rw) /etc/fstab (client) 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 note - in one (music) I gave the IP the other (photos) I gave the name which is mapped in the hosts file just to make sure they both worked. When I try to write to either the /mnt/music or /mnt/photos directory using vim I get the following error on saving the file: "test.txt" E212: Can't open file for writing In both of the original directories I have a test file that I can open and read. In order for this to be seemless the way I want it both of these directories need to be read/write available to everyone. Thanks, Brad Mugleston, KI0OT There are 10 types of people in this world. Those that understand binary and those that don't. From markknecht at gmail.com Mon Sep 5 16:31:12 2005 From: markknecht at gmail.com (Mark Knecht) Date: Mon, 5 Sep 2005 09:31:12 -0700 Subject: NFS - some success In-Reply-To: References: Message-ID: <5bdc1c8b050905093155321cd8@mail.gmail.com> On 9/5/05, brad.mugleston at comcast.net wrote: > Well, with your help I finally got NFS working- mostly - my > problem was a services issue - I looked at both machines and set > them up the same and then it worked. > > I can now see the shared drived from my client machine but I > can't write to them (even as root on my client machine). > > /etc/exports (Server) > /music 192.168.1.0/255.255.255.0(rw) > /photos 192.168.1.0/255.255.255.0(rw) > > /etc/fstab (client) > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > note - in one (music) I gave the IP the other (photos) I gave the > name which is mapped in the hosts file just to make sure they > both worked. > > When I try to write to either the /mnt/music or /mnt/photos > directory using vim I get the following error on saving the file: > > "test.txt" E212: Can't open file for writing > > > In both of the original directories I have a test file that I can > open and read. In order for this to be seemless the way I want > it both of these directories need to be read/write available to > everyone. > > Thanks, > > Brad Mugleston, KI0OT > > There are 10 types of people in this world. Those that > understand binary and those that don't. > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > Hi Brad, Cool that you got it working. One thing I've run into with NFS mounts is that rebooting with one mounted can cause problems and long delays. Rick Stevens pointed me toward an option called '_netdev' in man mount. (I think) Using this option tells the system that networking must be up before this is mounted and that this must be unmounted before networking goes down. Good option. Here's a few NFS oriented entries from my machine's fstab file for you to peruse: dragonfly:/Musiclib /mnt/Musiclib nfs noauto,user,rw,_netdev,proto=udp 0 0 dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs noauto,user,rw,_netdev 0 0 myth14:/video /video nfs auto,user,rw,_netdev,tcp,rsize=8192 0 0 Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I should probably clean that up. Cheers, Mark From markknecht at gmail.com Mon Sep 5 16:31:12 2005 From: markknecht at gmail.com (Mark Knecht) Date: Mon, 5 Sep 2005 09:31:12 -0700 Subject: NFS - some success In-Reply-To: References: Message-ID: <5bdc1c8b050905093155321cd8@mail.gmail.com> On 9/5/05, brad.mugleston at comcast.net wrote: > Well, with your help I finally got NFS working- mostly - my > problem was a services issue - I looked at both machines and set > them up the same and then it worked. > > I can now see the shared drived from my client machine but I > can't write to them (even as root on my client machine). > > /etc/exports (Server) > /music 192.168.1.0/255.255.255.0(rw) > /photos 192.168.1.0/255.255.255.0(rw) > > /etc/fstab (client) > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > note - in one (music) I gave the IP the other (photos) I gave the > name which is mapped in the hosts file just to make sure they > both worked. > > When I try to write to either the /mnt/music or /mnt/photos > directory using vim I get the following error on saving the file: > > "test.txt" E212: Can't open file for writing > > > In both of the original directories I have a test file that I can > open and read. In order for this to be seemless the way I want > it both of these directories need to be read/write available to > everyone. > > Thanks, > > Brad Mugleston, KI0OT > > There are 10 types of people in this world. Those that > understand binary and those that don't. > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > Hi Brad, Cool that you got it working. One thing I've run into with NFS mounts is that rebooting with one mounted can cause problems and long delays. Rick Stevens pointed me toward an option called '_netdev' in man mount. (I think) Using this option tells the system that networking must be up before this is mounted and that this must be unmounted before networking goes down. Good option. Here's a few NFS oriented entries from my machine's fstab file for you to peruse: dragonfly:/Musiclib /mnt/Musiclib nfs noauto,user,rw,_netdev,proto=udp 0 0 dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs noauto,user,rw,_netdev 0 0 myth14:/video /video nfs auto,user,rw,_netdev,tcp,rsize=8192 0 0 Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I should probably clean that up. Cheers, Mark From brad.mugleston at comcast.net Mon Sep 5 16:51:24 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Mon, 5 Sep 2005 10:51:24 -0600 (MDT) Subject: WARNING(virus check bypassed): Re: NFS - some success In-Reply-To: <5bdc1c8b050905093155321cd8@mail.gmail.com> References: <5bdc1c8b050905093155321cd8@mail.gmail.com> Message-ID: On Mon, 5 Sep 2005, Mark Knecht wrote: > On 9/5/05, brad.mugleston at comcast.net wrote: > > > > /etc/fstab (client) > > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > > > Hi Brad, > Cool that you got it working. > > One thing I've run into with NFS mounts is that rebooting with one > mounted can cause problems and long delays. Rick Stevens pointed me > toward an option called '_netdev' in man mount. (I think) Using this > option tells the system that networking must be up before this is > mounted and that this must be unmounted before networking goes down. > Good option. Here's a few NFS oriented entries from my machine's fstab > file for you to peruse: > > dragonfly:/Musiclib /mnt/Musiclib nfs > noauto,user,rw,_netdev,proto=udp 0 0 > dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs > noauto,user,rw,_netdev 0 0 > myth14:/video /video nfs > auto,user,rw,_netdev,tcp,rsize=8192 0 0 > > Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I > should probably clean that up. > > Cheers, > Mark > Mark, Thanks for writing - So far I havent had that problem - I think the "hard" command is suppose to keep me from having problems if the server is down or something like that. I'll do some reading and see what you have set up - maybe it will help with my read/write problem. Brad From yazan at ccs.com.jo Tue Sep 6 08:37:37 2005 From: yazan at ccs.com.jo (Yazan Al-Sheyyab) Date: Tue, 6 Sep 2005 10:37:37 +0200 Subject: UPGRADING MY SYSTEM Message-ID: <001001c5b2be$3c1d9830$69050364@yazanz> Hello, I have an hp itanum server with ( redhat Enterprise linux AS v3 update 3 ) installed on it and i want to upgrade the system into ( redhat Enterprise linux AS v3 update 4 ). I have insalled Update 4 CDs . I want to reboot the system and boot from the first cd of the new update 4 , but what should i write in the prombt (boot:) to have upgrading my system into update 4 ?? i tried boot: linux updates boot: linux update but it relays into a normal installation and when reaching the disk druid option i choose next to leave the same partition with its data , but it says that there is no / partitions defined , then i formated the swap partition only and complete the installation but at the end , i founded that the data is ok but the /etc/hosts and /etc/fstab files has been changed and didnot have the original data as before upgrading. is there any option that i can write in the boot: prombt that leds me into the same system but with the new update ?? how can i do the upgrading process of the system without losting any configuration ? ** i have a storage and a tape library that connected to my system and partition defined in the fstab file. any answer please ??????? Regards ------------------------------------------------- Yazan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tech.gif Type: image/gif Size: 862 bytes Desc: not available URL: From gerrynix at yahoo.com Tue Sep 6 15:35:36 2005 From: gerrynix at yahoo.com (gerrynix) Date: Tue, 6 Sep 2005 08:35:36 -0700 (PDT) Subject: WARNING(virus check bypassed): Re: NFS - some success In-Reply-To: Message-ID: <20050906153537.42968.qmail@web51914.mail.yahoo.com> --- brad.mugleston at comcast.net wrote: > On Mon, 5 Sep 2005, Mark Knecht wrote: > > > On 9/5/05, brad.mugleston at comcast.net wrote: > > > > > > /etc/fstab (client) > > > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > > > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > > > > > > Hi Brad, > > Cool that you got it working. > > > > One thing I've run into with NFS mounts is that rebooting with one > > mounted can cause problems and long delays. Rick Stevens pointed me > > toward an option called '_netdev' in man mount. (I think) Using this > > option tells the system that networking must be up before this is > > mounted and that this must be unmounted before networking goes down. > > Good option. Here's a few NFS oriented entries from my machine's fstab > > file for you to peruse: > > > > dragonfly:/Musiclib /mnt/Musiclib nfs > > noauto,user,rw,_netdev,proto=udp 0 0 > > dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs > > noauto,user,rw,_netdev 0 0 > > myth14:/video /video nfs > > auto,user,rw,_netdev,tcp,rsize=8192 0 0 > > > > Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I > > should probably clean that up. > > > > Cheers, > > Mark > > > > Mark, > > Thanks for writing - So far I havent had that problem - I think > the "hard" command is suppose to keep me from having problems if > the server is down or something like that. > > I'll do some reading and see what you have set up - maybe it will > help with my read/write problem. > > Brad Your (rw) problem is likely authentication. Read through the man page for exports (man exports), especially the section titled "User ID Mapping." If you have an account on your nfs server, say . . . login: brad - uid: 500 - gid: 500, then you must have an equivalent account [incl. uid & gid] on the nfs client. Assuming the files on the server "belong to" brad [as above], AND you are logged into the nfs client as brad. . . Then you will have rw access (default)to the remote files. For root (rw) access, you can include the no_root_squash option on your share in the /etc/exports file on the nfs server. Yes, this can be "risky" from the security point of view. Simple example of an /etc/exports entry, allowing root privs on a share to the nfs clients follows. /music (rw,no_root_squash) You can be more exacting with other options . . . in the man page. -- From rstevens at vitalstream.com Tue Sep 6 16:33:36 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Sep 2005 09:33:36 -0700 Subject: NFS - some success In-Reply-To: References: Message-ID: <431DC4E0.20202@vitalstream.com> brad.mugleston at comcast.net wrote: > Well, with your help I finally got NFS working- mostly - my > problem was a services issue - I looked at both machines and set > them up the same and then it worked. > > I can now see the shared drived from my client machine but I > can't write to them (even as root on my client machine). > > /etc/exports (Server) > /music 192.168.1.0/255.255.255.0(rw) > /photos 192.168.1.0/255.255.255.0(rw) Er, you want to add "no_root_squash" to those to give the root user on the clients full access. Otherwise, root on the clients gets mapped to UID/GID nobody. > /etc/fstab (client) > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > note - in one (music) I gave the IP the other (photos) I gave the > name which is mapped in the hosts file just to make sure they > both worked. > > When I try to write to either the /mnt/music or /mnt/photos > directory using vim I get the following error on saving the file: > > "test.txt" E212: Can't open file for writing > > > In both of the original directories I have a test file that I can > open and read. In order for this to be seemless the way I want > it both of these directories need to be read/write available to > everyone. You should also check the permissions on the mountpoints BEFORE you mount the NFS. NFS will inherit the permissions of the mountpoints, so those have to be right first. Also verify you have lockd (nfslock) running. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - If Windows isn't a virus, then it sure as hell is a carrier! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Sep 6 16:34:52 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Sep 2005 09:34:52 -0700 Subject: NFS - some success In-Reply-To: <5bdc1c8b050905093155321cd8@mail.gmail.com> References: <5bdc1c8b050905093155321cd8@mail.gmail.com> Message-ID: <431DC52C.7040005@vitalstream.com> Mark Knecht wrote: > On 9/5/05, brad.mugleston at comcast.net wrote: > >>Well, with your help I finally got NFS working- mostly - my >>problem was a services issue - I looked at both machines and set >>them up the same and then it worked. >> >>I can now see the shared drived from my client machine but I >>can't write to them (even as root on my client machine). >> >>/etc/exports (Server) >>/music 192.168.1.0/255.255.255.0(rw) >>/photos 192.168.1.0/255.255.255.0(rw) >> >>/etc/fstab (client) >>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 >>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 >> >>note - in one (music) I gave the IP the other (photos) I gave the >>name which is mapped in the hosts file just to make sure they >>both worked. >> >>When I try to write to either the /mnt/music or /mnt/photos >>directory using vim I get the following error on saving the file: >> >>"test.txt" E212: Can't open file for writing >> >> >>In both of the original directories I have a test file that I can >>open and read. In order for this to be seemless the way I want >>it both of these directories need to be read/write available to >>everyone. >> >>Thanks, >> >>Brad Mugleston, KI0OT >> >>There are 10 types of people in this world. Those that >>understand binary and those that don't. >> >>_______________________________________________ >>Redhat-install-list mailing list >>Redhat-install-list at redhat.com >>https://www.redhat.com/mailman/listinfo/redhat-install-list >>To Unsubscribe Go To ABOVE URL or send a message to: >>redhat-install-list-request at redhat.com >>Subject: unsubscribe >> > > > Hi Brad, > Cool that you got it working. > > One thing I've run into with NFS mounts is that rebooting with one > mounted can cause problems and long delays. Rick Stevens pointed me > toward an option called '_netdev' in man mount. (I think) Using this > option tells the system that networking must be up before this is > mounted and that this must be unmounted before networking goes down. > Good option. Here's a few NFS oriented entries from my machine's fstab > file for you to peruse: > > dragonfly:/Musiclib /mnt/Musiclib nfs > noauto,user,rw,_netdev,proto=udp 0 0 > dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs > noauto,user,rw,_netdev 0 0 > myth14:/video /video nfs > auto,user,rw,_netdev,tcp,rsize=8192 0 0 > > Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I > should probably clean that up. 'Tis better to TCP than UDP on NFS, although UDP is the default and works reasonably well on uncongested networks. It can cause issues on a busy network. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Millihelen, adj: The amount of beauty required to launch one ship. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Tue Sep 6 16:37:34 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Sep 2005 09:37:34 -0700 Subject: UPGRADING MY SYSTEM In-Reply-To: <001001c5b2be$3c1d9830$69050364@yazanz> References: <001001c5b2be$3c1d9830$69050364@yazanz> Message-ID: <431DC5CE.10103@vitalstream.com> Yazan Al-Sheyyab wrote: > > Hello, > > I have an hp itanum server with ( redhat Enterprise linux AS v3 > update 3 ) installed on it > and i want to upgrade the system into ( redhat Enterprise linux AS v3 > update 4 ). > > I have insalled Update 4 CDs . > > I want to reboot the system and boot from the first cd of the new > update 4 , but > what should i write in the prombt (boot:) to have upgrading my system > into update 4 ?? > > i tried boot: linux updates > boot: linux update > > but it relays into a normal installation and when reaching > the disk druid option > i choose next to leave the same partition with its data , but > it says that there is no > / partitions defined , then i formated the swap partition > only and complete the installation > but at the end , i founded that the data is ok but the > /etc/hosts and /etc/fstab files has been > changed and didnot have the original data as before upgrading. > > is there any option that i can write in the boot: prombt that leds > me into the same system but with the new update ?? > > how can i do the upgrading process of the system without losting any > configuration ? > > ** i have a storage and a tape library that connected to my system and > partition defined in the fstab file. > > > any answer please ??????? Just boot the CD as normal (hit "RETURN" at the boot: prompt). The system should go through a few screens regarding keyboard and mouse selections, then it should find the existing operating system and ask you if you want to install a new system or update the exisiting one. Select the "update" option. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Polygon: A dead parrot (With apologies to John Cleese) - ---------------------------------------------------------------------- From redhat at buglecreek.com Tue Sep 6 18:06:32 2005 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Tue, 06 Sep 2005 12:06:32 -0600 Subject: anacron & crond Message-ID: <1126029992.27392.242292175@webmail.messagingengine.com> I'm trying to understand the behavior of anacron and crond as it relates to /etc/cron.hourly, daily and weekly. I am looking at two machines one with rh9 the other with rh ES4. Both systems have /etc/anacrontab and /etc/crontab files. Anacrontab has the following on both systems: 1 65 cron.daily run-parts /etc/cron.daily 7 70 cron.weekly run-parts /etc/cron.weekly 30 75 cron.monthly run-parts /etc/cron.monthly Crontab has the following on both systems: 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly I am trying to determine who is responsible for running the above jobs. It appears that the deamon crond is running on both systems and would as a result run the stuff in /etc/crontab. However in the rh9 system in /etc/rc.d/rc3.d/ both cron and anacron is started. On the ES4 system only crond is started. Running the following command "service anacron status on the rh9 system gives: anacron dead but subsys locked Running the same command on the ES4 system returns: anacron is stopped. This is also returned when I try to start anacron manually. I was under the impression that anacron runs the /etc/cron.daily etc. stuff. Has this behavior changed since redhat 9. Is crond responsible for running /etc/cron.* jobs and anacron is used when the system is rebooted? From markknecht at gmail.com Tue Sep 6 18:27:16 2005 From: markknecht at gmail.com (Mark Knecht) Date: Tue, 6 Sep 2005 11:27:16 -0700 Subject: NFS - some success In-Reply-To: <431DC52C.7040005@vitalstream.com> References: <5bdc1c8b050905093155321cd8@mail.gmail.com> <431DC52C.7040005@vitalstream.com> Message-ID: <5bdc1c8b05090611274f7f4bbb@mail.gmail.com> On 9/6/05, Rick Stevens wrote: > Mark Knecht wrote: Here's a few NFS oriented entries from my machine's fstab > > file for you to peruse: > > > > dragonfly:/Musiclib /mnt/Musiclib nfs > > noauto,user,rw,_netdev,proto=udp 0 0 > > dragonfly:/home/mark/MusicLib /home/mark/RemoteMusicLib/ nfs > > noauto,user,rw,_netdev 0 0 > > myth14:/video /video nfs > > auto,user,rw,_netdev,tcp,rsize=8192 0 0 > > > > Note the inconsistencies! 'proto=udp' vs. 'tcp'. Who knows?! ;-) I > > should probably clean that up. > > 'Tis better to TCP than UDP on NFS, although UDP is the default and > works reasonably well on uncongested networks. It can cause issues > on a busy network. Thanks. I'm semi-aware of that but hadn't bothered. This is just a connections people use for low-bandwidth music files, but there's no reason at this point not to get it cleaned up. Now that we run both live TV and videos across our network I might as well make everything right. Thanks! - Mark From brad.mugleston at comcast.net Wed Sep 7 00:34:08 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Tue, 6 Sep 2005 18:34:08 -0600 (MDT) Subject: NFS - some success In-Reply-To: <431DC4E0.20202@vitalstream.com> References: <431DC4E0.20202@vitalstream.com> Message-ID: On Tue, 6 Sep 2005, Rick Stevens wrote: > brad.mugleston at comcast.net wrote: > > Well, with your help I finally got NFS working- mostly - my > > problem was a services issue - I looked at both machines and set > > them up the same and then it worked. > > > > I can now see the shared drived from my client machine but I > > can't write to them (even as root on my client machine). > > > > /etc/exports (Server) > > /music 192.168.1.0/255.255.255.0(rw) > > /photos 192.168.1.0/255.255.255.0(rw) > > Er, you want to add "no_root_squash" to those to give the root user on > the clients full access. Otherwise, root on the clients gets mapped to > UID/GID nobody. > > > /etc/fstab (client) > > 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > > c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > > > note - in one (music) I gave the IP the other (photos) I gave the > > name which is mapped in the hosts file just to make sure they > > both worked. > > > > When I try to write to either the /mnt/music or /mnt/photos > > directory using vim I get the following error on saving the file: > > > > "test.txt" E212: Can't open file for writing > > > > > > In both of the original directories I have a test file that I can > > open and read. In order for this to be seemless the way I want > > it both of these directories need to be read/write available to > > everyone. > > You should also check the permissions on the mountpoints BEFORE you > mount the NFS. NFS will inherit the permissions of the mountpoints, so > those have to be right first. > > Also verify you have lockd (nfslock) running. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - If Windows isn't a virus, then it sure as hell is a carrier! - > ---------------------------------------------------------------------- OK, I added no_root_squash to /etc/exports and proto=tcp, user, _netdev,auto to fstab. nfslock is running chmod 777 to /mnt/music and /mnt/photos when these were not mounted Now I can read and WRITE as root but only read as a user. As a user "brad" on the client and as a user "brad" on the server both with the same password I thought I should be able to read/write. Here are my new files: /etc/exports on the server # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) /music 192.168.1.0/255.255.255.0(rw,no_root_squash) /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) /etc/fstab on the client LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda8 swap swap defaults 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu,rw 0 0 /dev/hda5 /D2 vfat auto,defaults,uid=500,gid=500,umask=000 0 0 /dev/hda1 /C vfat auto,defaults,uid=500,gid=500,umask=000 0 0 //SAM/C /SAM/C smbfs credentials=/root/.smbpasswd,uid=500,gid=500 0 0 //SAM/D /SAM/D smbfs credentials=/root/.smbpasswd,uid=500,gid=500 0 0 //SAM/E /SAM/E smbfs credentials=/root/.smbpasswd,uid=500,gid=500 0 0 //SAM/F /SAM/F smbfs credentials=/root/.smbpasswd,uid=500,gid=500 0 0 //SAM/music /D/mp3 smbfs credentials=/root/.smbpasswd,uid=500,gid=500 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,rw 0 0 192.168.1.55:/photos /mnt/photos nfs proto=tcp,user,_netdev,auto,rw 0 0 C1911A1:/music /mnt/music nfs proto=tcp,user,_netdev,auto,rw 0 0 Thank you guys are great - we are SOOO close. Is there anything else you need to see? Brad From rstevens at vitalstream.com Wed Sep 7 01:14:50 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 06 Sep 2005 18:14:50 -0700 Subject: NFS - some success In-Reply-To: References: <431DC4E0.20202@vitalstream.com> Message-ID: <431E3F0A.4090902@vitalstream.com> brad.mugleston at comcast.net wrote: > On Tue, 6 Sep 2005, Rick Stevens wrote: > > >>brad.mugleston at comcast.net wrote: >> >>>Well, with your help I finally got NFS working- mostly - my >>>problem was a services issue - I looked at both machines and set >>>them up the same and then it worked. >>> >>>I can now see the shared drived from my client machine but I >>>can't write to them (even as root on my client machine). >>> >>>/etc/exports (Server) >>>/music 192.168.1.0/255.255.255.0(rw) >>>/photos 192.168.1.0/255.255.255.0(rw) >> >>Er, you want to add "no_root_squash" to those to give the root user on >>the clients full access. Otherwise, root on the clients gets mapped to >>UID/GID nobody. >> >> >>>/etc/fstab (client) >>>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 >>>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 >>> >>>note - in one (music) I gave the IP the other (photos) I gave the >>>name which is mapped in the hosts file just to make sure they >>>both worked. >>> >>>When I try to write to either the /mnt/music or /mnt/photos >>>directory using vim I get the following error on saving the file: >>> >>>"test.txt" E212: Can't open file for writing >>> >>> >>>In both of the original directories I have a test file that I can >>>open and read. In order for this to be seemless the way I want >>>it both of these directories need to be read/write available to >>>everyone. >> >>You should also check the permissions on the mountpoints BEFORE you >>mount the NFS. NFS will inherit the permissions of the mountpoints, so >>those have to be right first. >> >>Also verify you have lockd (nfslock) running. >>---------------------------------------------------------------------- >>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >>- VitalStream, Inc. http://www.vitalstream.com - >>- - >>- If Windows isn't a virus, then it sure as hell is a carrier! - >>---------------------------------------------------------------------- > > OK, I added no_root_squash to /etc/exports and proto=tcp, user, > _netdev,auto to fstab. > > nfslock is running > > chmod 777 to /mnt/music and /mnt/photos when these were not > mounted > > Now I can read and WRITE as root but only read as a user. > > As a user "brad" on the client and as a user "brad" on the server > both with the same password I thought I should be able to > read/write. > > Here are my new files: > > /etc/exports on the server > # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) > /music 192.168.1.0/255.255.255.0(rw,no_root_squash) > /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > /etc/fstab on the client > LABEL=/ / ext3 defaults > 1 1 > LABEL=/boot /boot ext3 defaults > 1 2 > none /dev/pts devpts > gid=5,mode=620 0 0 > none /proc proc defaults > 0 0 > none /dev/shm tmpfs defaults > 0 0 > /dev/hda8 swap swap defaults > 0 0 > /dev/fd0 /mnt/floppy auto > noauto,owner,kudzu,rw 0 0 > /dev/hda5 /D2 vfat > auto,defaults,uid=500,gid=500,umask=000 0 0 > /dev/hda1 /C vfat > auto,defaults,uid=500,gid=500,umask=000 0 0 > //SAM/C /SAM/C smbfs > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > //SAM/D /SAM/D smbfs > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > //SAM/E /SAM/E smbfs > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > //SAM/F /SAM/F smbfs > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > //SAM/music /D/mp3 smbfs > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > /dev/cdrom /mnt/cdrom udf,iso9660 > noauto,owner,kudzu,ro 0 0 > /dev/cdrom1 /mnt/cdrom1 udf,iso9660 > noauto,owner,kudzu,rw 0 0 > 192.168.1.55:/photos /mnt/photos nfs > proto=tcp,user,_netdev,auto,rw 0 0 > C1911A1:/music /mnt/music nfs > proto=tcp,user,_netdev,auto,rw 0 0 > > Thank you guys are great - we are SOOO close. Is there anything > else you need to see? Did root mount the filesystems or were they mounted by users? If by users, does the server know who they are (are they in /etc/passwd on the server?) and do the users have permissions on the server to write to those directories? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - NEWS FLASH! Intelligence of mankind decreasing! Details at... - - uh, when, uh, the little hand is, uh, on the... Aw, NUTS! - ---------------------------------------------------------------------- From gerrynix at yahoo.com Wed Sep 7 02:05:16 2005 From: gerrynix at yahoo.com (gerrynix) Date: Tue, 6 Sep 2005 19:05:16 -0700 (PDT) Subject: NFS - some success In-Reply-To: <431E3F0A.4090902@vitalstream.com> Message-ID: <20050907020516.12089.qmail@web51913.mail.yahoo.com> --- Rick Stevens wrote: > brad.mugleston at comcast.net wrote: > > On Tue, 6 Sep 2005, Rick Stevens wrote: > > > > > >>brad.mugleston at comcast.net wrote: > >> > >>>Well, with your help I finally got NFS working- mostly - my > >>>problem was a services issue - I looked at both machines and set > >>>them up the same and then it worked. > >>> > >>>I can now see the shared drived from my client machine but I > >>>can't write to them (even as root on my client machine). > >>> > >>>/etc/exports (Server) > >>>/music 192.168.1.0/255.255.255.0(rw) > >>>/photos 192.168.1.0/255.255.255.0(rw) > >> > >>Er, you want to add "no_root_squash" to those to give the root user on > >>the clients full access. Otherwise, root on the clients gets mapped to > >>UID/GID nobody. > >> > >> > >>>/etc/fstab (client) > >>>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > >>>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > >>> > >>>note - in one (music) I gave the IP the other (photos) I gave the > >>>name which is mapped in the hosts file just to make sure they > >>>both worked. > >>> > >>>When I try to write to either the /mnt/music or /mnt/photos > >>>directory using vim I get the following error on saving the file: > >>> > >>>"test.txt" E212: Can't open file for writing > >>> > >>> > >>>In both of the original directories I have a test file that I can > >>>open and read. In order for this to be seemless the way I want > >>>it both of these directories need to be read/write available to > >>>everyone. > >> > >>You should also check the permissions on the mountpoints BEFORE you > >>mount the NFS. NFS will inherit the permissions of the mountpoints, so > >>those have to be right first. > >> > >>Also verify you have lockd (nfslock) running. > >>---------------------------------------------------------------------- > >>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > >>- VitalStream, Inc. http://www.vitalstream.com - > >>- - > >>- If Windows isn't a virus, then it sure as hell is a carrier! - > >>---------------------------------------------------------------------- > > > > OK, I added no_root_squash to /etc/exports and proto=tcp, user, > > _netdev,auto to fstab. > > > > nfslock is running > > > > chmod 777 to /mnt/music and /mnt/photos when these were not > > mounted > > > > Now I can read and WRITE as root but only read as a user. > > > > As a user "brad" on the client and as a user "brad" on the server > > both with the same password I thought I should be able to > > read/write. > > > > Here are my new files: > > > > /etc/exports on the server > > # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) > > /music 192.168.1.0/255.255.255.0(rw,no_root_squash) > > /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > > > > > /etc/fstab on the client > > LABEL=/ / ext3 defaults > > 1 1 > > LABEL=/boot /boot ext3 defaults > > 1 2 > > none /dev/pts devpts > > gid=5,mode=620 0 0 > > none /proc proc defaults > > 0 0 > > none /dev/shm tmpfs defaults > > 0 0 > > /dev/hda8 swap swap defaults > > 0 0 > > /dev/fd0 /mnt/floppy auto > > noauto,owner,kudzu,rw 0 0 > > /dev/hda5 /D2 vfat > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > /dev/hda1 /C vfat > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > //SAM/C /SAM/C smbfs > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > //SAM/D /SAM/D smbfs > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > //SAM/E /SAM/E smbfs > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > //SAM/F /SAM/F smbfs > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > //SAM/music /D/mp3 smbfs > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > /dev/cdrom /mnt/cdrom udf,iso9660 > > noauto,owner,kudzu,ro 0 0 > > /dev/cdrom1 /mnt/cdrom1 udf,iso9660 > > noauto,owner,kudzu,rw 0 0 > > 192.168.1.55:/photos /mnt/photos nfs > > proto=tcp,user,_netdev,auto,rw 0 0 > > C1911A1:/music /mnt/music nfs > > proto=tcp,user,_netdev,auto,rw 0 0 > > > > Thank you guys are great - we are SOOO close. Is there anything > > else you need to see? > > Did root mount the filesystems or were they mounted by users? > > If by users, does the server know who they are (are they in /etc/passwd > on the server?) and do the users have permissions on the server to write > to those directories? IMHO . . . It's getting way too complex for simple shares as these. Question: IS the account "brad" on both the server and client systems, ACTUALLY; uid 500 and gid 500? If not, on both systems do; (Assuming that the group numbered 500 exists and the uid 500 is not already taken) # usermod -u 500 brad # usermod -G 500 brad # chown -R 500:500 /home/brad # chown -R 500:500 /music (and any other files/dirs to be accessed If the group 500 doesn't exist on the systems, do this first. # groupadd -g 500 brad If the uid and gid 500 are already taken, simply choose one's that are not taken and start again. When this (above)is accomplished there is NO NEED for the uid, gid and umask entries in the /etc/fstab. When this is done properly, permissions on the mount points are irrelevant . . . it will just work properly. . . udp or tcp (preferably tcp). -- Nix From brad.mugleston at comcast.net Wed Sep 7 03:58:57 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Tue, 6 Sep 2005 21:58:57 -0600 (MDT) Subject: NFS - some success In-Reply-To: <20050907020516.12089.qmail@web51913.mail.yahoo.com> References: <20050907020516.12089.qmail@web51913.mail.yahoo.com> Message-ID: On Tue, 6 Sep 2005, gerrynix wrote: > > > --- Rick Stevens wrote: > > > brad.mugleston at comcast.net wrote: > > > On Tue, 6 Sep 2005, Rick Stevens wrote: > > > > > > > > >>brad.mugleston at comcast.net wrote: > > >> > > >>>Well, with your help I finally got NFS working- mostly - my > > >>>problem was a services issue - I looked at both machines and set > > >>>them up the same and then it worked. > > >>> > > >>>I can now see the shared drived from my client machine but I > > >>>can't write to them (even as root on my client machine). > > >>> > > >>>/etc/exports (Server) > > >>>/music 192.168.1.0/255.255.255.0(rw) > > >>>/photos 192.168.1.0/255.255.255.0(rw) > > >> > > >>Er, you want to add "no_root_squash" to those to give the root user on > > >>the clients full access. Otherwise, root on the clients gets mapped to > > >>UID/GID nobody. > > >> > > >> > > >>>/etc/fstab (client) > > >>>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > > >>>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > >>> > > >>>note - in one (music) I gave the IP the other (photos) I gave the > > >>>name which is mapped in the hosts file just to make sure they > > >>>both worked. > > >>> > > >>>When I try to write to either the /mnt/music or /mnt/photos > > >>>directory using vim I get the following error on saving the file: > > >>> > > >>>"test.txt" E212: Can't open file for writing > > >>> > > >>> > > >>>In both of the original directories I have a test file that I can > > >>>open and read. In order for this to be seemless the way I want > > >>>it both of these directories need to be read/write available to > > >>>everyone. > > >> > > >>You should also check the permissions on the mountpoints BEFORE you > > >>mount the NFS. NFS will inherit the permissions of the mountpoints, so > > >>those have to be right first. > > >> > > >>Also verify you have lockd (nfslock) running. > > >>---------------------------------------------------------------------- > > >>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > > >>- VitalStream, Inc. http://www.vitalstream.com - > > >>- - > > >>- If Windows isn't a virus, then it sure as hell is a carrier! - > > >>---------------------------------------------------------------------- > > > > > > OK, I added no_root_squash to /etc/exports and proto=tcp, user, > > > _netdev,auto to fstab. > > > > > > nfslock is running > > > > > > chmod 777 to /mnt/music and /mnt/photos when these were not > > > mounted > > > > > > Now I can read and WRITE as root but only read as a user. > > > > > > As a user "brad" on the client and as a user "brad" on the server > > > both with the same password I thought I should be able to > > > read/write. > > > > > > Here are my new files: > > > > > > /etc/exports on the server > > > # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > /music 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > > > > > > > > > /etc/fstab on the client > > > LABEL=/ / ext3 defaults > > > 1 1 > > > LABEL=/boot /boot ext3 defaults > > > 1 2 > > > none /dev/pts devpts > > > gid=5,mode=620 0 0 > > > none /proc proc defaults > > > 0 0 > > > none /dev/shm tmpfs defaults > > > 0 0 > > > /dev/hda8 swap swap defaults > > > 0 0 > > > /dev/fd0 /mnt/floppy auto > > > noauto,owner,kudzu,rw 0 0 > > > /dev/hda5 /D2 vfat > > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > > /dev/hda1 /C vfat > > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > > //SAM/C /SAM/C smbfs > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > //SAM/D /SAM/D smbfs > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > //SAM/E /SAM/E smbfs > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > //SAM/F /SAM/F smbfs > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > //SAM/music /D/mp3 smbfs > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > /dev/cdrom /mnt/cdrom udf,iso9660 > > > noauto,owner,kudzu,ro 0 0 > > > /dev/cdrom1 /mnt/cdrom1 udf,iso9660 > > > noauto,owner,kudzu,rw 0 0 > > > 192.168.1.55:/photos /mnt/photos nfs > > > proto=tcp,user,_netdev,auto,rw 0 0 > > > C1911A1:/music /mnt/music nfs > > > proto=tcp,user,_netdev,auto,rw 0 0 > > > > > > Thank you guys are great - we are SOOO close. Is there anything > > > else you need to see? > > > > Did root mount the filesystems or were they mounted by users? > > > > If by users, does the server know who they are (are they in /etc/passwd > > on the server?) and do the users have permissions on the server to write > > to those directories? > > IMHO . . . It's getting way too complex for simple shares as these. > Question: IS the account "brad" on both the server and client systems, > ACTUALLY; uid 500 and gid 500? If not, on both systems do; (Assuming > that the group numbered 500 exists and the uid 500 is not already taken) > > # usermod -u 500 brad > # usermod -G 500 brad > # chown -R 500:500 /home/brad > # chown -R 500:500 /music (and any other files/dirs to be accessed > > If the group 500 doesn't exist on the systems, do this first. > # groupadd -g 500 brad > > If the uid and gid 500 are already taken, simply choose one's that > are not taken and start again. > > When this (above)is accomplished there is NO NEED for the uid, gid > and umask entries in the /etc/fstab. When this is done properly, > permissions on the mount points are irrelevant . . . it will just > work properly. . . udp or tcp (preferably tcp). > -- > Nix > > _______________________________________________ OK, I agree it's getting very complicated but if it were simple it wouldn't be fun it would be work.... To answer Rick's questions Mounted at boot - don't know who does it then Yes brad is a user on both systems and is in both passwd files NO permissions were not set up right on the server - I did a chmod 777 on the two directories and now brad and root can read and write to the directories from the client. For Nix, You have me worried - let's say Sam is a user on both systems but his uid doesn't work out to be the same. HOW does one get both systems to use the same passwords, users and id's automagically? As the server is new I need all the users from the client setup on the server. While I work on that I've got 10+ Gig of mp3's and ogg files to move from various machines to my server. Thanks Brad From gerrynix at yahoo.com Wed Sep 7 12:04:23 2005 From: gerrynix at yahoo.com (gerrynix) Date: Wed, 7 Sep 2005 05:04:23 -0700 (PDT) Subject: NFS - some success In-Reply-To: Message-ID: <20050907120423.35082.qmail@web51910.mail.yahoo.com> --- brad.mugleston at comcast.net wrote: > On Tue, 6 Sep 2005, gerrynix wrote: > > > > > > > --- Rick Stevens wrote: > > > > > brad.mugleston at comcast.net wrote: > > > > On Tue, 6 Sep 2005, Rick Stevens wrote: > > > > > > > > > > > >>brad.mugleston at comcast.net wrote: > > > >> > > > >>>Well, with your help I finally got NFS working- mostly - my > > > >>>problem was a services issue - I looked at both machines and set > > > >>>them up the same and then it worked. > > > >>> > > > >>>I can now see the shared drived from my client machine but I > > > >>>can't write to them (even as root on my client machine). > > > >>> > > > >>>/etc/exports (Server) > > > >>>/music 192.168.1.0/255.255.255.0(rw) > > > >>>/photos 192.168.1.0/255.255.255.0(rw) > > > >> > > > >>Er, you want to add "no_root_squash" to those to give the root user on > > > >>the clients full access. Otherwise, root on the clients gets mapped to > > > >>UID/GID nobody. > > > >> > > > >> > > > >>>/etc/fstab (client) > > > >>>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 > > > >>>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 > > > >>> > > > >>>note - in one (music) I gave the IP the other (photos) I gave the > > > >>>name which is mapped in the hosts file just to make sure they > > > >>>both worked. > > > >>> > > > >>>When I try to write to either the /mnt/music or /mnt/photos > > > >>>directory using vim I get the following error on saving the file: > > > >>> > > > >>>"test.txt" E212: Can't open file for writing > > > >>> > > > >>> > > > >>>In both of the original directories I have a test file that I can > > > >>>open and read. In order for this to be seemless the way I want > > > >>>it both of these directories need to be read/write available to > > > >>>everyone. > > > >> > > > >>You should also check the permissions on the mountpoints BEFORE you > > > >>mount the NFS. NFS will inherit the permissions of the mountpoints, so > > > >>those have to be right first. > > > >> > > > >>Also verify you have lockd (nfslock) running. > > > >>---------------------------------------------------------------------- > > > >>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > > > >>- VitalStream, Inc. http://www.vitalstream.com - > > > >>- - > > > >>- If Windows isn't a virus, then it sure as hell is a carrier! - > > > >>---------------------------------------------------------------------- > > > > > > > > OK, I added no_root_squash to /etc/exports and proto=tcp, user, > > > > _netdev,auto to fstab. > > > > > > > > nfslock is running > > > > > > > > chmod 777 to /mnt/music and /mnt/photos when these were not > > > > mounted > > > > > > > > Now I can read and WRITE as root but only read as a user. > > > > > > > > As a user "brad" on the client and as a user "brad" on the server > > > > both with the same password I thought I should be able to > > > > read/write. > > > > > > > > Here are my new files: > > > > > > > > /etc/exports on the server > > > > # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > /music 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) > > > > > > > > > > > > > > > > /etc/fstab on the client > > > > LABEL=/ / ext3 defaults > > > > 1 1 > > > > LABEL=/boot /boot ext3 defaults > > > > 1 2 > > > > none /dev/pts devpts > > > > gid=5,mode=620 0 0 > > > > none /proc proc defaults > > > > 0 0 > > > > none /dev/shm tmpfs defaults > > > > 0 0 > > > > /dev/hda8 swap swap defaults > > > > 0 0 > > > > /dev/fd0 /mnt/floppy auto > > > > noauto,owner,kudzu,rw 0 0 > > > > /dev/hda5 /D2 vfat > > > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > > > /dev/hda1 /C vfat > > > > auto,defaults,uid=500,gid=500,umask=000 0 0 > > > > //SAM/C /SAM/C smbfs > > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > > //SAM/D /SAM/D smbfs > > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > > //SAM/E /SAM/E smbfs > > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > > //SAM/F /SAM/F smbfs > > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > > //SAM/music /D/mp3 smbfs > > > > credentials=/root/.smbpasswd,uid=500,gid=500 0 0 > > > > /dev/cdrom /mnt/cdrom udf,iso9660 > > > > noauto,owner,kudzu,ro 0 0 > > > > /dev/cdrom1 /mnt/cdrom1 udf,iso9660 > > > > noauto,owner,kudzu,rw 0 0 > > > > 192.168.1.55:/photos /mnt/photos nfs > > > > proto=tcp,user,_netdev,auto,rw 0 0 > > > > C1911A1:/music /mnt/music nfs > > > > proto=tcp,user,_netdev,auto,rw 0 0 > > > > > > > > Thank you guys are great - we are SOOO close. Is there anything > > > > else you need to see? > > > > > > Did root mount the filesystems or were they mounted by users? > > > > > > If by users, does the server know who they are (are they in /etc/passwd > > > on the server?) and do the users have permissions on the server to write > > > to those directories? > > > > IMHO . . . It's getting way too complex for simple shares as these. > > Question: IS the account "brad" on both the server and client systems, > > ACTUALLY; uid 500 and gid 500? If not, on both systems do; (Assuming > > that the group numbered 500 exists and the uid 500 is not already taken) > > > > # usermod -u 500 brad > > # usermod -G 500 brad > > # chown -R 500:500 /home/brad > > # chown -R 500:500 /music (and any other files/dirs to be accessed > > > > If the group 500 doesn't exist on the systems, do this first. > > # groupadd -g 500 brad > > > > If the uid and gid 500 are already taken, simply choose one's that > > are not taken and start again. > > > > When this (above)is accomplished there is NO NEED for the uid, gid > > and umask entries in the /etc/fstab. When this is done properly, > > permissions on the mount points are irrelevant . . . it will just > > work properly. . . udp or tcp (preferably tcp). > > -- > > Nix > > > > _______________________________________________ > OK, I agree it's getting very complicated but if it were simple > it wouldn't be fun it would be work.... > > To answer Rick's questions > > Mounted at boot - don't know who does it then > Yes brad is a user on both systems and is in both passwd files > NO permissions were not set up right on the server - I did a > chmod 777 on the two directories and now brad and root can read > and write to the directories from the client. > > > For Nix, > > You have me worried - let's say Sam is a user on both systems but > his uid doesn't work out to be the same. > > HOW does one get both systems to use the same passwords, users > and id's automagically? > > As the server is new I need all the users from the client setup > on the server. > > While I work on that I've got 10+ Gig of mp3's and ogg files to > move from various machines to my server. > > Thanks > > Brad Just to be clear. . . NFS authentication has nothing to do with passwords. It is based on equivalent uid's and gid's on the server and client. I suppose small shops would opt for NIS (Network Information Service) to provide uniform, network-based user/group/password information. Actually, NIS will "share" additional information and "databases" beyond these, such as /etc/hosts and autofs maps and more. There is server (single source of above data)and client software pieces for NIS. Perhaps Google for a tutorial. Too much for an email. NIS would be desirable for a site where login accounts and other shared data, (as above) changes frequently. When changes are made to the NIS master server databases, new maps are built and pushed out to the clients. A small site of 3 to 10 computers, where the above data remains static may feel that it is too much administration to setup and maintain NIS. Another possible issue for small sites is NIS server availability. If the NIS master server goes down, then so does authentication . . . unless NIS slave servers are configured. However, an NIS "client" machine can also be configured as a slave. -- Nix From rstevens at vitalstream.com Wed Sep 7 16:30:18 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 07 Sep 2005 09:30:18 -0700 Subject: NFS - some success In-Reply-To: References: <20050907020516.12089.qmail@web51913.mail.yahoo.com> Message-ID: <431F159A.4080101@vitalstream.com> brad.mugleston at comcast.net wrote: > On Tue, 6 Sep 2005, gerrynix wrote: > > >> >>--- Rick Stevens wrote: >> >> >>>brad.mugleston at comcast.net wrote: >>> >>>>On Tue, 6 Sep 2005, Rick Stevens wrote: >>>> >>>> >>>> >>>>>brad.mugleston at comcast.net wrote: >>>>> >>>>> >>>>>>Well, with your help I finally got NFS working- mostly - my >>>>>>problem was a services issue - I looked at both machines and set >>>>>>them up the same and then it worked. >>>>>> >>>>>>I can now see the shared drived from my client machine but I >>>>>>can't write to them (even as root on my client machine). >>>>>> >>>>>>/etc/exports (Server) >>>>>>/music 192.168.1.0/255.255.255.0(rw) >>>>>>/photos 192.168.1.0/255.255.255.0(rw) >>>>> >>>>>Er, you want to add "no_root_squash" to those to give the root user on >>>>>the clients full access. Otherwise, root on the clients gets mapped to >>>>>UID/GID nobody. >>>>> >>>>> >>>>> >>>>>>/etc/fstab (client) >>>>>>192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 >>>>>>c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 >>>>>> >>>>>>note - in one (music) I gave the IP the other (photos) I gave the >>>>>>name which is mapped in the hosts file just to make sure they >>>>>>both worked. >>>>>> >>>>>>When I try to write to either the /mnt/music or /mnt/photos >>>>>>directory using vim I get the following error on saving the file: >>>>>> >>>>>>"test.txt" E212: Can't open file for writing >>>>>> >>>>>> >>>>>>In both of the original directories I have a test file that I can >>>>>>open and read. In order for this to be seemless the way I want >>>>>>it both of these directories need to be read/write available to >>>>>>everyone. >>>>> >>>>>You should also check the permissions on the mountpoints BEFORE you >>>>>mount the NFS. NFS will inherit the permissions of the mountpoints, so >>>>>those have to be right first. >>>>> >>>>>Also verify you have lockd (nfslock) running. >>>>>---------------------------------------------------------------------- >>>>>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - >>>>>- VitalStream, Inc. http://www.vitalstream.com - >>>>>- - >>>>>- If Windows isn't a virus, then it sure as hell is a carrier! - >>>>>---------------------------------------------------------------------- >>>> >>>>OK, I added no_root_squash to /etc/exports and proto=tcp, user, >>>>_netdev,auto to fstab. >>>> >>>>nfslock is running >>>> >>>>chmod 777 to /mnt/music and /mnt/photos when these were not >>>>mounted >>>> >>>>Now I can read and WRITE as root but only read as a user. >>>> >>>>As a user "brad" on the client and as a user "brad" on the server >>>>both with the same password I thought I should be able to >>>>read/write. >>>> >>>>Here are my new files: >>>> >>>>/etc/exports on the server >>>># /home 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>>/music 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>>/photos 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>> >>>> >>>> >>>>/etc/fstab on the client >>>>LABEL=/ / ext3 defaults >>>>1 1 >>>>LABEL=/boot /boot ext3 defaults >>>>1 2 >>>>none /dev/pts devpts >>>>gid=5,mode=620 0 0 >>>>none /proc proc defaults >>>>0 0 >>>>none /dev/shm tmpfs defaults >>>>0 0 >>>>/dev/hda8 swap swap defaults >>>>0 0 >>>>/dev/fd0 /mnt/floppy auto >>>>noauto,owner,kudzu,rw 0 0 >>>>/dev/hda5 /D2 vfat >>>>auto,defaults,uid=500,gid=500,umask=000 0 0 >>>>/dev/hda1 /C vfat >>>>auto,defaults,uid=500,gid=500,umask=000 0 0 >>>>//SAM/C /SAM/C smbfs >>>>credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>//SAM/D /SAM/D smbfs >>>>credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>//SAM/E /SAM/E smbfs >>>>credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>//SAM/F /SAM/F smbfs >>>>credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>//SAM/music /D/mp3 smbfs >>>>credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>/dev/cdrom /mnt/cdrom udf,iso9660 >>>>noauto,owner,kudzu,ro 0 0 >>>>/dev/cdrom1 /mnt/cdrom1 udf,iso9660 >>>>noauto,owner,kudzu,rw 0 0 >>>>192.168.1.55:/photos /mnt/photos nfs >>>>proto=tcp,user,_netdev,auto,rw 0 0 >>>>C1911A1:/music /mnt/music nfs >>>>proto=tcp,user,_netdev,auto,rw 0 0 >>>> >>>>Thank you guys are great - we are SOOO close. Is there anything >>>>else you need to see? >>> >>>Did root mount the filesystems or were they mounted by users? >>> >>>If by users, does the server know who they are (are they in /etc/passwd >>>on the server?) and do the users have permissions on the server to write >>>to those directories? >> >>IMHO . . . It's getting way too complex for simple shares as these. >>Question: IS the account "brad" on both the server and client systems, >>ACTUALLY; uid 500 and gid 500? If not, on both systems do; (Assuming >>that the group numbered 500 exists and the uid 500 is not already taken) >> >># usermod -u 500 brad >># usermod -G 500 brad >># chown -R 500:500 /home/brad >># chown -R 500:500 /music (and any other files/dirs to be accessed >> >>If the group 500 doesn't exist on the systems, do this first. >># groupadd -g 500 brad >> >>If the uid and gid 500 are already taken, simply choose one's that >>are not taken and start again. >> >>When this (above)is accomplished there is NO NEED for the uid, gid >>and umask entries in the /etc/fstab. When this is done properly, >>permissions on the mount points are irrelevant . . . it will just >>work properly. . . udp or tcp (preferably tcp). >>-- >>Nix >> >>_______________________________________________ > > OK, I agree it's getting very complicated but if it were simple > it wouldn't be fun it would be work.... > > To answer Rick's questions > > Mounted at boot - don't know who does it then Root does it then. > Yes brad is a user on both systems and is in both passwd files > NO permissions were not set up right on the server - I did a > chmod 777 on the two directories and now brad and root can read > and write to the directories from the client. Good. > For Nix, > > You have me worried - let's say Sam is a user on both systems but > his uid doesn't work out to be the same. > > HOW does one get both systems to use the same passwords, users > and id's automagically? Ah, welcome to the wonderful world of network administration. That problem has been around for a long time. And there's a solution. It's called "NIS" (network information system), formerly known as "yp" (yellow pages--which is why many of its programs are still called "yp-something" such as "ypinit"). NIS was designed so all systems can have a consistent view of the passwords, home directories, etc. If you don't need the ability to mount a user's home directory over NFS when they log into a client machine or any of the other "fancy" stuff NIS can do, then you could use LDAP instead as a simple passwd/group/shadow replacement. In fact, many NIS implementations now use LDAP instead of the older method of using flat files to hold its maps and such. By the way, Microsoft ADS (active directory service) is Microsoft's name for LDAP. They add a few ornaments to it, but it's LDAP. Why the h*ll can't they just use standard terminology? Oh, yeah. Then they couldn't charge $800 for it. Grrrr! > As the server is new I need all the users from the client setup > on the server. > > While I work on that I've got 10+ Gig of mp3's and ogg files to > move from various machines to my server. You can set up an NIS server on the NFS server, then make sure all users are in its maps. By users, I mean non-system accounts such as root, bin, etc.--essentially accounts with an UID/GID >= 100. Then you set up each client machine to be an NIS client and modify /etc/nsswitch.conf to also use NIS. You probably should grab a book on NIS as well. O'Reilly's "Managing NFS and NIS" by Stern would be a good place to start. Remember that NIS Alternately, you could set up LDAP on the NFS server and make the other machines LDAP clients. It's similar to setting up NIS, but the components are a bit different. There's a HOWTO on it on the Linux Documentation Project site. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Millihelen, adj: The amount of beauty required to launch one ship. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Sep 7 16:47:07 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 07 Sep 2005 09:47:07 -0700 Subject: NFS - some success In-Reply-To: <431F159A.4080101@vitalstream.com> References: <20050907020516.12089.qmail@web51913.mail.yahoo.com> <431F159A.4080101@vitalstream.com> Message-ID: <431F198B.3060102@vitalstream.com> Rick Stevens wrote: > brad.mugleston at comcast.net wrote: > >> On Tue, 6 Sep 2005, gerrynix wrote: >> >> >>> >>> --- Rick Stevens wrote: >>> >>> >>>> brad.mugleston at comcast.net wrote: >>>> >>>>> On Tue, 6 Sep 2005, Rick Stevens wrote: >>>>> >>>>> >>>>> >>>>>> brad.mugleston at comcast.net wrote: >>>>>> >>>>>> >>>>>>> Well, with your help I finally got NFS working- mostly - my >>>>>>> problem was a services issue - I looked at both machines and set >>>>>>> them up the same and then it worked. >>>>>>> >>>>>>> I can now see the shared drived from my client machine but I >>>>>>> can't write to them (even as root on my client machine). >>>>>>> >>>>>>> /etc/exports (Server) >>>>>>> /music 192.168.1.0/255.255.255.0(rw) >>>>>>> /photos 192.168.1.0/255.255.255.0(rw) >>>>>> >>>>>> >>>>>> Er, you want to add "no_root_squash" to those to give the root >>>>>> user on >>>>>> the clients full access. Otherwise, root on the clients gets >>>>>> mapped to >>>>>> UID/GID nobody. >>>>>> >>>>>> >>>>>> >>>>>>> /etc/fstab (client) >>>>>>> 192.168.1.55:/music /mnt/music nfs rw,hard,intr 0 0 >>>>>>> c1911a1:/photos /mnt/photos nfs rw,hard,intr 0 0 >>>>>>> >>>>>>> note - in one (music) I gave the IP the other (photos) I gave the >>>>>>> name which is mapped in the hosts file just to make sure they >>>>>>> both worked. >>>>>>> >>>>>>> When I try to write to either the /mnt/music or /mnt/photos >>>>>>> directory using vim I get the following error on saving the file: >>>>>>> >>>>>>> "test.txt" E212: Can't open file for writing >>>>>>> >>>>>>> >>>>>>> In both of the original directories I have a test file that I can >>>>>>> open and read. In order for this to be seemless the way I want >>>>>>> it both of these directories need to be read/write available to >>>>>>> everyone. >>>>>> >>>>>> >>>>>> You should also check the permissions on the mountpoints BEFORE you >>>>>> mount the NFS. NFS will inherit the permissions of the >>>>>> mountpoints, so >>>>>> those have to be right first. >>>>>> >>>>>> Also verify you have lockd (nfslock) running. >>>>>> ---------------------------------------------------------------------- >>>>>> >>>>>> - Rick Stevens, Senior Systems Engineer >>>>>> rstevens at vitalstream.com - >>>>>> - VitalStream, Inc. >>>>>> http://www.vitalstream.com - >>>>>> - >>>>>> - >>>>>> - If Windows isn't a virus, then it sure as hell is a >>>>>> carrier! - >>>>>> ---------------------------------------------------------------------- >>>>>> >>>>> >>>>> >>>>> OK, I added no_root_squash to /etc/exports and proto=tcp, user, >>>>> _netdev,auto to fstab. >>>>> >>>>> nfslock is running >>>>> >>>>> chmod 777 to /mnt/music and /mnt/photos when these were not >>>>> mounted >>>>> >>>>> Now I can read and WRITE as root but only read as a user. >>>>> >>>>> As a user "brad" on the client and as a user "brad" on the server >>>>> both with the same password I thought I should be able to >>>>> read/write. >>>>> >>>>> Here are my new files: >>>>> >>>>> /etc/exports on the server >>>>> # /home 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>>> /music 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>>> /photos 192.168.1.0/255.255.255.0(rw,no_root_squash) >>>>> >>>>> >>>>> >>>>> /etc/fstab on the client >>>>> LABEL=/ / ext3 defaults >>>>> 1 1 >>>>> LABEL=/boot /boot ext3 defaults >>>>> 1 2 >>>>> none /dev/pts devpts >>>>> gid=5,mode=620 0 0 >>>>> none /proc proc defaults >>>>> 0 0 >>>>> none /dev/shm tmpfs defaults >>>>> 0 0 >>>>> /dev/hda8 swap swap defaults >>>>> 0 0 >>>>> /dev/fd0 /mnt/floppy auto >>>>> noauto,owner,kudzu,rw 0 0 >>>>> /dev/hda5 /D2 vfat >>>>> auto,defaults,uid=500,gid=500,umask=000 0 0 >>>>> /dev/hda1 /C vfat >>>>> auto,defaults,uid=500,gid=500,umask=000 0 0 >>>>> //SAM/C /SAM/C smbfs >>>>> credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>> //SAM/D /SAM/D smbfs >>>>> credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>> //SAM/E /SAM/E smbfs >>>>> credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>> //SAM/F /SAM/F smbfs >>>>> credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>> //SAM/music /D/mp3 smbfs >>>>> credentials=/root/.smbpasswd,uid=500,gid=500 0 0 >>>>> /dev/cdrom /mnt/cdrom udf,iso9660 >>>>> noauto,owner,kudzu,ro 0 0 >>>>> /dev/cdrom1 /mnt/cdrom1 udf,iso9660 >>>>> noauto,owner,kudzu,rw 0 0 >>>>> 192.168.1.55:/photos /mnt/photos nfs >>>>> proto=tcp,user,_netdev,auto,rw 0 0 >>>>> C1911A1:/music /mnt/music nfs >>>>> proto=tcp,user,_netdev,auto,rw 0 0 >>>>> >>>>> Thank you guys are great - we are SOOO close. Is there anything >>>>> else you need to see? >>>> >>>> >>>> Did root mount the filesystems or were they mounted by users? >>>> >>>> If by users, does the server know who they are (are they in /etc/passwd >>>> on the server?) and do the users have permissions on the server to >>>> write >>>> to those directories? >>> >>> >>> IMHO . . . It's getting way too complex for simple shares as these. >>> Question: IS the account "brad" on both the server and client systems, >>> ACTUALLY; uid 500 and gid 500? If not, on both systems do; (Assuming >>> that the group numbered 500 exists and the uid 500 is not already taken) >>> >>> # usermod -u 500 brad >>> # usermod -G 500 brad >>> # chown -R 500:500 /home/brad >>> # chown -R 500:500 /music (and any other files/dirs to be accessed >>> >>> If the group 500 doesn't exist on the systems, do this first. >>> # groupadd -g 500 brad >>> >>> If the uid and gid 500 are already taken, simply choose one's that >>> are not taken and start again. >>> >>> When this (above)is accomplished there is NO NEED for the uid, gid >>> and umask entries in the /etc/fstab. When this is done properly, >>> permissions on the mount points are irrelevant . . . it will just >>> work properly. . . udp or tcp (preferably tcp). >>> -- >>> Nix >>> >>> _______________________________________________ >> >> >> OK, I agree it's getting very complicated but if it were simple >> it wouldn't be fun it would be work.... >> >> To answer Rick's questions >> >> Mounted at boot - don't know who does it then > > > Root does it then. > >> Yes brad is a user on both systems and is in both passwd files >> NO permissions were not set up right on the server - I did a >> chmod 777 on the two directories and now brad and root can read >> and write to the directories from the client. > > > Good. > >> For Nix, >> >> You have me worried - let's say Sam is a user on both systems but >> his uid doesn't work out to be the same. >> >> HOW does one get both systems to use the same passwords, users >> and id's automagically? > > > Ah, welcome to the wonderful world of network administration. That > problem has been around for a long time. And there's a solution. It's > called "NIS" (network information system), formerly known as "yp" > (yellow pages--which is why many of its programs are still called > "yp-something" such as "ypinit"). > > NIS was designed so all systems can have a consistent view of the > passwords, home directories, etc. If you don't need the ability to > mount a user's home directory over NFS when they log into a client > machine or any of the other "fancy" stuff NIS can do, then you could use > LDAP instead as a simple passwd/group/shadow replacement. In fact, many > NIS implementations now use LDAP instead of the older method of using > flat files to hold its maps and such. > > By the way, Microsoft ADS (active directory service) is Microsoft's name > for LDAP. They add a few ornaments to it, but it's LDAP. Why the h*ll > can't they just use standard terminology? Oh, yeah. Then they couldn't > charge $800 for it. Grrrr! > >> As the server is new I need all the users from the client setup >> on the server. >> >> While I work on that I've got 10+ Gig of mp3's and ogg files to >> move from various machines to my server. > > > You can set up an NIS server on the NFS server, then make sure all users > are in its maps. By users, I mean non-system accounts such as root, > bin, etc.--essentially accounts with an UID/GID >= 100. Then you set up > each client machine to be an NIS client and modify /etc/nsswitch.conf to > also use NIS. You probably should grab a book on NIS as well. > O'Reilly's "Managing NFS and NIS" by Stern would be a good place to > start. Remember that NIS Oops! Incomplete editing on that. Ignore "Remember that NIS" bit. > Alternately, you could set up LDAP on the NFS server and make the other > machines LDAP clients. It's similar to setting up NIS, but the > components are a bit different. There's a HOWTO on it on the Linux > Documentation Project site. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Brain: The organ with which we think that we think. - - (and which I obviously didn't use when editing!) - ---------------------------------------------------------------------- From Jack.Allen at McKesson.com Wed Sep 7 22:15:24 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Wed, 7 Sep 2005 18:15:24 -0400 Subject: FC attached tape drives Message-ID: Has any body hooked up FC attached tape drive to be use as general purpose tape drive using Red Hat AS 4? I don't have all the details of the hardware configuration because it is someone asking me how to do this. They said the lpfc driver is loaded and they have tried "modprobe st", but no /dev/st* device get created. I am thinking it needs to be another driver, but I don't know which one. Thanks: Jack Allen -------------- next part -------------- An HTML attachment was scrubbed... URL: From yazan at ccs.com.jo Thu Sep 8 08:04:34 2005 From: yazan at ccs.com.jo (Yazan Al-Sheyyab) Date: Thu, 8 Sep 2005 10:04:34 +0200 Subject: UPGRADING MY SYSTEM again Message-ID: <002c01c5b44b$f317d760$69050364@yazanz> Dear, Thank you for answering me , but i still have a problem because i have an itanium server and i am using a consol inorder to install the system so the installation will be in a text mode , so when i use your solution by hitting RETURN i cannot proceed with that because there is no graphical installation support in my itanium machine . in the ordinary situation of my installation i write the following at the boot prompt to get it run the installer in the text mode : linux text consol=ttyS0 utf8 and i tried your solution but it does not work with me because of using the consol. and tried with the sense that it will fail the following : consol=ttys0 utf8 but it leds me to the disk druid stage and then with the need of formating the / partition again to proceed with the installation and that is what i do not want to do. do you have another solution for my case about upgrading my system from RHEL v3 U3 into RHEL v3 U4 without removing any data using my case of using a consol and a text mode . ** i dont have a graphic mode to use hitting RETURN . and my system is itanum. Regards ------------------------------------------------- Yazan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tech.gif Type: image/gif Size: 862 bytes Desc: not available URL: From rodrigofariatavares at bol.com.br Thu Sep 8 11:46:00 2005 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Thu, 8 Sep 2005 08:46:00 -0300 Subject: Aply Kernel Extesions Message-ID: <003501c5b46a$e4e91220$0101a8c0@faria> Hello, I have a FC3, with iptables 1.2.11. I make the download of patch-o-matic, but when I try to aply a modules, come this message. [root at faria patch-o-matic-ng-20040621]# KERNEL_DIR=/usr/src/linux-2.6.12/ sh ./runme ./pptp-conntrack-nat/linux.patch ./runme: line 12: use: command not found ./runme: line 13: use: command not found ./runme: line 14: use: command not found ./runme: line 16: require: command not found ./runme: line 18: my: command not found ./runme: line 19: my: command not found ./runme: line 21: syntax error near unexpected token `@INC,' ./runme: line 21: `push(@INC, $POMNG_ROOT_D How I can to resolve it ? Att, Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux _______________________________________________________ Yahoo! Messenger com voz: PROMO??O VOC? PODE LEVAR UMA VIAGEM NA CONVERSA. Participe! www.yahoo.com.br/messenger/promocao From robertmcclure at earthlink.net Thu Sep 8 12:32:43 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Thu, 8 Sep 2005 07:32:43 -0500 Subject: UPGRADING MY SYSTEM again In-Reply-To: <002c01c5b44b$f317d760$69050364@yazanz> References: <002c01c5b44b$f317d760$69050364@yazanz> Message-ID: <20050908123243.GA17976@bobcat.bobcatos.com> On Thu, Sep 08, 2005 at 10:04:34AM +0200, Yazan Al-Sheyyab wrote: > > Dear, > > Thank you for answering me , but i still have a problem because i have an itanium server > and i am using a consol inorder to install the system so the installation will be in a text mode > , so when i use your solution by hitting RETURN i cannot proceed with that because there is no > graphical installation support in my itanium machine . > > in the ordinary situation of my installation i write the following at the boot prompt to get it run > the installer in the text mode : > > linux text consol=ttyS0 utf8 > > > and i tried your solution but it does not work with me because of using the consol. > > and tried with the sense that it will fail the following : > > consol=ttys0 utf8 > > but it leds me to the disk druid stage and then with the need of formating the / partition > again to proceed with the installation and that is what i do not want to do. > > > do you have another solution for my case about upgrading my system from > RHEL v3 U3 into RHEL v3 U4 without removing any data using my case of using > a consol and a text mode . > > ** i dont have a graphic mode to use hitting RETURN . and my system is itanum. > > > > Regards > ------------------------------------------------- > > Yazan At the boot: prompt, put linux text Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From robertmcclure at earthlink.net Thu Sep 8 12:59:24 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Thu, 8 Sep 2005 07:59:24 -0500 Subject: Aply Kernel Extesions In-Reply-To: <003501c5b46a$e4e91220$0101a8c0@faria> References: <003501c5b46a$e4e91220$0101a8c0@faria> Message-ID: <20050908125924.GB17976@bobcat.bobcatos.com> On Thu, Sep 08, 2005 at 08:46:00AM -0300, Rodrigo Faria Tavares wrote: > > Hello, > > I have a FC3, with iptables 1.2.11. > I make the download of patch-o-matic, but when I try to aply a modules, > come this message. > > [root at faria patch-o-matic-ng-20040621]# > KERNEL_DIR=/usr/src/linux-2.6.12/ sh ./runme > ./pptp-conntrack-nat/linux.patch > ./runme: line 12: use: command not found > ./runme: line 13: use: command not found > ./runme: line 14: use: command not found > ./runme: line 16: require: command not found > ./runme: line 18: my: command not found > ./runme: line 19: my: command not found > ./runme: line 21: syntax error near unexpected token > `@INC,' > ./runme: line 21: `push(@INC, $POMNG_ROOT_D > > How I can to resolve it ? Don't do sh ./runme because you are forcing it to run under the shell (bash, actually). That works only if the script is really a shell script. All you need to do is just ./runme It's probably a Perl script. Doing it that way will cause it to invoke the correct interpreter (/usr/bin/perl). > Att, > > Rodrigo Faria Tavares > e-mail : rodrigofariat at yahoo.com.br > Analista de Suporte Linux Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From rstevens at vitalstream.com Thu Sep 8 16:34:33 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 08 Sep 2005 09:34:33 -0700 Subject: FC attached tape drives In-Reply-To: References: Message-ID: <43206819.30901@vitalstream.com> Allen, Jack wrote: > Has any body hooked up FC attached tape drive to be use as general > purpose tape drive using Red Hat AS 4? I don't have all the details of > the hardware configuration because it is someone asking me how to do > this. They said the lpfc driver is loaded and they have tried "modprobe > st", but no /dev/st* device get created. I am thinking it needs to be > another driver, but I don't know which one. We're using a StorageTek changer with 4 drives on AS3U5 (still a 2.4 kernel) on QLogic 2340s. Generally, you don't "modprobe st". You do have to make sure that the driver for your FC hostadapter is loaded (ideally at boot time via the ramdisk). You can then "cat /proc/scsi/scsi" to verify that the device was seen by the driver. Remember that the SCSI busses are enumerated at boot time, so it's best to make sure the driver is in the ramdisk. If you don't know how to do that, put an alias scsi_hostadapterX drivername line in your /etc/modprobe.conf file. If you have more than one line like that, replace the "X" with a sequential digit, e.g.: alias scsi_hostadapter aic79xx alias scsi_hostadapter1 qla2300 alias scsi_hostadapter2 lpfc Then rebuild your ramdisk image: cd /boot mkinitrd -f -v initrd-`uname -r`.img `uname -r` and verify in the output of the command that your driver got inserted into the image. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Polygon: A dead parrot (With apologies to John Cleese) - ---------------------------------------------------------------------- From brad.mugleston at comcast.net Fri Sep 9 04:13:23 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Thu, 8 Sep 2005 22:13:23 -0600 (MDT) Subject: NFS - some success In-Reply-To: <431F198B.3060102@vitalstream.com> References: <20050907020516.12089.qmail@web51913.mail.yahoo.com> <431F159A.4080101@vitalstream.com> <431F198B.3060102@vitalstream.com> Message-ID: Rick and Gerry, > > > > > > Ah, welcome to the wonderful world of network administration. That problem > > has been around for a long time. And there's a solution. It's > > called "NIS" (network information system), formerly known as "yp" > > (yellow pages--which is why many of its programs are still called > > "yp-something" such as "ypinit"). > > > > NIS was designed so all systems can have a consistent view of the > > passwords, home directories, etc. If you don't need the ability to > > mount a user's home directory over NFS when they log into a client machine > > or any of the other "fancy" stuff NIS can do, then you could use > > LDAP instead as a simple passwd/group/shadow replacement. In fact, many > > NIS implementations now use LDAP instead of the older method of using > > flat files to hold its maps and such. > > > > By the way, Microsoft ADS (active directory service) is Microsoft's name > > for LDAP. They add a few ornaments to it, but it's LDAP. Why the h*ll > > can't they just use standard terminology? Oh, yeah. Then they couldn't > > charge $800 for it. Grrrr! > > > > > As the server is new I need all the users from the client setup > > > on the server. > > > > > > While I work on that I've got 10+ Gig of mp3's and ogg files to > > > move from various machines to my server. > > > > > > You can set up an NIS server on the NFS server, then make sure all users > > are in its maps. By users, I mean non-system accounts such as root, > > bin, etc.--essentially accounts with an UID/GID >= 100. Then you set up > > each client machine to be an NIS client and modify /etc/nsswitch.conf to > > also use NIS. You probably should grab a book on NIS as well. > > O'Reilly's "Managing NFS and NIS" by Stern would be a good place to > > start. Remember that NIS > > Oops! Incomplete editing on that. Ignore "Remember that NIS" bit. > > > Alternately, you could set up LDAP on the NFS server and make the other > > machines LDAP clients. It's similar to setting up NIS, but the > > components are a bit different. There's a HOWTO on it on the Linux > > Documentation Project site. > ---------------------------------------------------------------------- Thanks, I think I'll get in to the "WORK" part of NIS and maybe LDAP soo, when things at work slow down but for now how do I go about getting all my users and their passwords on my server? Do I need to enter them one at at time - having them type in their passwords or can I copy and paste something from the clinent machine to the server machine to get them working together? Thanks, Brad From rstevens at vitalstream.com Fri Sep 9 16:04:02 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 09 Sep 2005 09:04:02 -0700 Subject: NFS - some success In-Reply-To: References: <20050907020516.12089.qmail@web51913.mail.yahoo.com> <431F159A.4080101@vitalstream.com> <431F198B.3060102@vitalstream.com> Message-ID: <4321B272.3050608@vitalstream.com> brad.mugleston at comcast.net wrote: > Rick and Gerry, > > >>> >>>Ah, welcome to the wonderful world of network administration. That problem >>>has been around for a long time. And there's a solution. It's >>>called "NIS" (network information system), formerly known as "yp" >>>(yellow pages--which is why many of its programs are still called >>>"yp-something" such as "ypinit"). >>> >>>NIS was designed so all systems can have a consistent view of the >>>passwords, home directories, etc. If you don't need the ability to >>>mount a user's home directory over NFS when they log into a client machine >>>or any of the other "fancy" stuff NIS can do, then you could use >>>LDAP instead as a simple passwd/group/shadow replacement. In fact, many >>>NIS implementations now use LDAP instead of the older method of using >>>flat files to hold its maps and such. >>> >>>By the way, Microsoft ADS (active directory service) is Microsoft's name >>>for LDAP. They add a few ornaments to it, but it's LDAP. Why the h*ll >>>can't they just use standard terminology? Oh, yeah. Then they couldn't >>>charge $800 for it. Grrrr! >>> >>> >>>>As the server is new I need all the users from the client setup >>>>on the server. >>>> >>>>While I work on that I've got 10+ Gig of mp3's and ogg files to >>>>move from various machines to my server. >>> >>> >>>You can set up an NIS server on the NFS server, then make sure all users >>>are in its maps. By users, I mean non-system accounts such as root, >>>bin, etc.--essentially accounts with an UID/GID >= 100. Then you set up >>>each client machine to be an NIS client and modify /etc/nsswitch.conf to >>>also use NIS. You probably should grab a book on NIS as well. >>>O'Reilly's "Managing NFS and NIS" by Stern would be a good place to >>>start. Remember that NIS >> >>Oops! Incomplete editing on that. Ignore "Remember that NIS" bit. >> >> >>>Alternately, you could set up LDAP on the NFS server and make the other >>>machines LDAP clients. It's similar to setting up NIS, but the >>>components are a bit different. There's a HOWTO on it on the Linux >>>Documentation Project site. >> >>---------------------------------------------------------------------- > > > Thanks, I think I'll get in to the "WORK" part of NIS and maybe > LDAP soo, when things at work slow down but for now how do I go > about getting all my users and their passwords on my server? > > Do I need to enter them one at at time - having them type in > their passwords or can I copy and paste something from the > clinent machine to the server machine to get them working > together? Just copy the appropriate bits from the client machines' /etc/passwd, /etc/group and /etc/shadow files to the corresponding files on the server. You will need to make sure the UIDs and GIDs are consistent across ALL machines or grant "o+rwx" access to the directories and files on the NFS shares on the server (not particularly secure). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - We look for things. Things that make us go! - ---------------------------------------------------------------------- From celawrence at lbl.gov Fri Sep 9 21:51:11 2005 From: celawrence at lbl.gov (chuck lawrence) Date: Fri, 09 Sep 2005 14:51:11 -0700 Subject: no X server Message-ID: <432203CF.90606@lbl.gov> I'm still learning, but I'm not entirely new to this. I'm putting RH WS 3.0 onto a dell 610, with a cirrus logic gd543x card and a (dell) sony trinitron monitor. can't make the X server work, either during installion, at boot time, or after the x-keep-crashing script runs. I figured if it could id the hardware, it would work. any ideas? advance -- * ------------------- * ----------------------------* | charles e. lawrence | lawrence berkeley nat'l lab | | celawrence at lbl.gov | #1 cyclotron rd ms 46-125 | | (510) 486-4682 | berkeley ca 94720 | * ------------------- * ----------------------------* "If the human body did patch management the way (companies do), we'd all be dead." www-eng.lbl.gov/~lawrence From robertmcclure at earthlink.net Fri Sep 9 22:12:12 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Fri, 9 Sep 2005 17:12:12 -0500 Subject: no X server In-Reply-To: <432203CF.90606@lbl.gov> References: <432203CF.90606@lbl.gov> Message-ID: <20050909221212.GB13837@bobcat.bobcatos.com> On Fri, Sep 09, 2005 at 02:51:11PM -0700, chuck lawrence wrote: > I'm still learning, but I'm not entirely new to this. > > > I'm putting RH WS 3.0 onto a dell 610, with a cirrus logic gd543x card > and a (dell) sony trinitron monitor. can't make the X server work, > either during installion, at boot time, or after the x-keep-crashing > script runs. > > I figured if it could id the hardware, it would work. any ideas? See if any of this helps: http://www.rhil.net/docs/faq.html#x_fails and report back. > advance > -- > > * ------------------- * ----------------------------* > | charles e. lawrence | lawrence berkeley nat'l lab | > | celawrence at lbl.gov | #1 cyclotron rd ms 46-125 | > | (510) 486-4682 | berkeley ca 94720 | > * ------------------- * ----------------------------* Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From linuxr at gmail.com Fri Sep 9 22:45:48 2005 From: linuxr at gmail.com (Marc M) Date: Fri, 9 Sep 2005 18:45:48 -0400 Subject: no X server In-Reply-To: <20050909221212.GB13837@bobcat.bobcatos.com> References: <432203CF.90606@lbl.gov> <20050909221212.GB13837@bobcat.bobcatos.com> Message-ID: startx On 9/9/05, Bob McClure Jr wrote: > > On Fri, Sep 09, 2005 at 02:51:11PM -0700, chuck lawrence wrote: > > I'm still learning, but I'm not entirely new to this. > > > > > > I'm putting RH WS 3.0 onto a dell 610, with a cirrus logic gd543x card > > and a (dell) sony trinitron monitor. can't make the X server work, > > either during installion, at boot time, or after the x-keep-crashing > > script runs. > > > > I figured if it could id the hardware, it would work. any ideas? > > See if any of this helps: > > http://www.rhil.net/docs/faq.html#x_fails > > and report back. > > > advance > > -- > > > > * ------------------- * ----------------------------* > > | charles e. lawrence | lawrence berkeley nat'l lab | > > | celawrence at lbl.gov | #1 cyclotron rd ms 46-125 | > > | (510) 486-4682 | berkeley ca 94720 | > > * ------------------- * ----------------------------* > > Cheers, > -- > Bob McClure, Jr. Bobcat Open Systems, Inc. > robertmcclure at earthlink.net http://www.bobcatos.com > Peace at any price is inflationary. > > _______________________________________________ > 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 rodrigofariatavares at bol.com.br Sun Sep 11 01:30:40 2005 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Sat, 10 Sep 2005 22:30:40 -0300 Subject: Intalling Extensions Netfilter in Iptables Message-ID: <002401c5b670$6f3edbb0$0101a8c0@faria> Hello, I try to recompile iptables 1.2.11. [root at faria iptables-1.2.11]# make KERNEL_DIR=/usr/src/linux-2.6.12 Extensions found: IPv4:addrtype IPv4:CLUSTERIP IPv4:layer7 IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt cc -O2 -Wall -Wunused -I/usr/src/linux-2.6.12/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c In file included from /usr/src/linux-2.6.12/include/linux/netfilter_ipv4.h:8, from /usr/src/linux-2.6.12/include/linux/netfilter_ipv4/ip_tables.h:26, from include/libiptc/libiptc.h:6, from include/iptables.h:5, from extensions/libipt_ah.c:8: /usr/src/linux-2.6.12/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead! make: ** [extensions/libipt_ah_sh.o] Erro 1 [root at faria iptables-1.2.11]# I search for solutions in google, but in don?t have success. Att, Rodrigo Faria Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux -------------- next part -------------- An HTML attachment was scrubbed... URL: From cinetron at passport.ca Mon Sep 12 09:18:38 2005 From: cinetron at passport.ca (jim ruxton) Date: Mon, 12 Sep 2005 05:18:38 -0400 Subject: .bash_profile not being read Message-ID: <1126516718.5476.4.camel@localhost.localdomain> Hi , I'm trying to get a program to start after booting up. I put the command in .bash_profile since I want it to started by a user ( which is why I didn't put it in rc.local). Anyway it doesn't appear to be starting. It looks as if the .bash_profile script is not being read. Any ideas why? Thanks, JIm From gerrynix at yahoo.com Sun Sep 11 21:55:51 2005 From: gerrynix at yahoo.com (gerrynix) Date: Sun, 11 Sep 2005 14:55:51 -0700 (PDT) Subject: .bash_profile not being read In-Reply-To: <1126516718.5476.4.camel@localhost.localdomain> Message-ID: <20050911215551.5166.qmail@web51908.mail.yahoo.com> --- jim ruxton wrote: > Hi , > I'm trying to get a program to start after booting up. I put the command > in .bash_profile since I want it to started by a user ( which is why I > didn't put it in rc.local). Anyway it doesn't appear to be starting. It > looks as if the .bash_profile script is not being read. Any ideas why? > Thanks, > JIm Best guesses, since reading of .bash_profile *then* .profile is compiled into the shell. . . AND not knowing if the program requires root priviledges . . . to open system files, etc. . . 1. Check execute permissions on the program for the user (in whose .bash_profile contains the program executable name). If "program" is a shell script the user must have at least r-x 2. Either use absolute path to the program: i.e. /prog_dir/prog_name 3. Or include the program's directory in the PATH variable (in the .bash_profile) PATH=${PATH}:/program_dir export PATH program_name 4. If still no luck . . turn on debugging at the command prompt and source the .bash_profile to see if there are any helpful error messages. $ set -x $ . ./.bash_profile (the .bash_profile will be traced here . . .) $ set +x Other than that, can't think of anything else, off-hand :? Let us know . . . -- Nix From robertmcclure at earthlink.net Mon Sep 12 02:47:53 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Sun, 11 Sep 2005 21:47:53 -0500 Subject: .bash_profile not being read In-Reply-To: <1126516718.5476.4.camel@localhost.localdomain> References: <1126516718.5476.4.camel@localhost.localdomain> Message-ID: <20050912024753.GA7733@bobcat.bobcatos.com> On Mon, Sep 12, 2005 at 05:18:38AM -0400, jim ruxton wrote: > Hi , > I'm trying to get a program to start after booting up. I put the command > in .bash_profile since I want it to started by a user ( which is why I > didn't put it in rc.local). Anyway it doesn't appear to be starting. It > looks as if the .bash_profile script is not being read. Any ideas why? > Thanks, > JIm The .bash_profile is not read until the user logs into the GUI or starts a login shell. If you want to run it at boot time as some mere mortal user, put it in rc.local this way: su - someuser -c /path/to/command/to/run & and remember that the su process will give you little or no environment, so use explicit paths on everything, or if the command to run is a script, set the path at the top of the script: PATH=/bin:/usr/bin:/usr/local/bin:$HOME/bin (Tune as needed.) Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From cinetron at passport.ca Tue Sep 13 07:40:51 2005 From: cinetron at passport.ca (jim ruxton) Date: Tue, 13 Sep 2005 03:40:51 -0400 Subject: .bash_profile not being read In-Reply-To: <20050912024753.GA7733@bobcat.bobcatos.com> References: <1126516718.5476.4.camel@localhost.localdomain> <20050912024753.GA7733@bobcat.bobcatos.com> Message-ID: <1126597251.8965.30.camel@localhost.localdomain> Hi Bob, Yes this is what I needed. Thanks for the help. Jim > On Mon, Sep 12, 2005 at 05:18:38AM -0400, jim ruxton wrote: > > Hi , > > I'm trying to get a program to start after booting up. I put the command > > in .bash_profile since I want it to started by a user ( which is why I > > didn't put it in rc.local). Anyway it doesn't appear to be starting. It > > looks as if the .bash_profile script is not being read. Any ideas why? > > Thanks, > > JIm > > The .bash_profile is not read until the user logs into the GUI or > starts a login shell. If you want to run it at boot time as some mere > mortal user, put it in rc.local this way: > > su - someuser -c /path/to/command/to/run & > > and remember that the su process will give you little or no > environment, so use explicit paths on everything, or if the command to > run is a script, set the path at the top of the script: > > PATH=/bin:/usr/bin:/usr/local/bin:$HOME/bin > > (Tune as needed.) > > Cheers, From rstevens at vitalstream.com Mon Sep 12 17:04:17 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 12 Sep 2005 10:04:17 -0700 Subject: Intalling Extensions Netfilter in Iptables In-Reply-To: <002401c5b670$6f3edbb0$0101a8c0@faria> References: <002401c5b670$6f3edbb0$0101a8c0@faria> Message-ID: <4325B511.30600@vitalstream.com> Rodrigo Faria Tavares wrote: > Hello, > > I try to recompile iptables 1.2.11. > > [root at faria iptables-1.2.11]# make > KERNEL_DIR=/usr/src/linux-2.6.12 > Extensions found: IPv4:addrtype IPv4:CLUSTERIP IPv4:layer7 IPv4:recent > IPv6:ah IPv6:esp IPv6:frag > IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt cc -O2 -Wall -Wunused > -I/usr/src/linux-2.6.12/include -Iinclude/ > -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o > extensions/libipt_ah_sh.o -c extensions/libipt_ah.c In file included from > /usr/src/linux-2.6.12/include/linux/netfilter_ipv4.h:8, > from > /usr/src/linux-2.6.12/include/linux/netfilter_ipv4/ip_tables.h:26, > from include/libiptc/libiptc.h:6, > from include/iptables.h:5, > from extensions/libipt_ah.c:8: > /usr/src/linux-2.6.12/include/linux/config.h:6:2: > #error including kernel header in userspace; use the > glibc headers instead! > make: ** [extensions/libipt_ah_sh.o] Erro 1 > [root at faria iptables-1.2.11]# > > I search for solutions in google, but in don?t have success. It's probably a LOT smarter to just update the binary RPM. Is there a reason you're trying to build it from source? If you insist on building the source, did you run "./configure" before you ran "make"? The sequence to build things from a tarball normally is: $ cd /some/working/directory $ tar xzf name-of-tarball.gz $ cd directory/created/by/tar/command $ ./configure $ make $ su # make install The "./configure" configures the source code for your environment and will (usually) figure out which set of header files to use. Also note that the vast majority of tarballs will, by default, try to install into /usr/local. You may want to "./configure --prefix=/" to make it install into the root of your filesystem (most Red Hat RPMs are set up to do that). You can get a list of what options configure uses by running the command as: $ ./configure --help ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - What's small, yellow and very, VERY dangerous? The root canary! - ---------------------------------------------------------------------- From rodrigofariatavares at bol.com.br Tue Sep 13 00:54:43 2005 From: rodrigofariatavares at bol.com.br (rodrigofariatavares) Date: Mon, 12 Sep 2005 21:54:43 -0300 Subject: Intalling Extensions Netfilter in Iptables Message-ID: Hello Mr. Stevens, My intention is aply in the kernel l7-filter. I resolve this problem comenting all lines in config.h, the iptables was compilled. Usualy, I open the file INSTALL in tarballs. And I see the options and try to choose a best form to install any program. It?s can to be a rule ? All the programs, if i user ./configure ; make ; make install will be installed with success ? With RPM, i create iptables rpm with checkinstall, when I try to install it, conflict with kernel 2.6, i?m using the kernel 2.6.12. But I don't create using rpmbuild, add patchs do file spec. Att, Rodrigo Faria > Rodrigo Faria Tavares wrote: > > Hello, > > > > I try to recompile iptables 1.2.11. > > > > [root at faria iptables-1.2.11]# make > > KERNEL_DIR=/usr/src/linux-2.6.12 > > Extensions found: IPv4:addrtype IPv4:CLUSTERIP IPv4:layer7 IPv4:recent > > IPv6:ah IPv6:esp IPv6:frag > > IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt cc -O2 -Wall -Wunused > > -I/usr/src/linux-2.6.12/include -Iinclude/ > > -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o > > extensions/libipt_ah_sh.o -c extensions/libipt_ah.c In file included from > > /usr/src/linux-2.6.12/include/linux/netfilter_ipv4.h:8, > > from > > /usr/src/linux-2.6.12/include/linux/netfilter_ipv4/ip_tables.h:26, > > from include/libiptc/libiptc.h:6, > > from include/iptables.h:5, > > from extensions/libipt_ah.c:8: > > /usr/src/linux-2.6.12/include/linux/config.h:6:2: > > #error including kernel header in userspace; use the > > glibc headers instead! > > make: ** [extensions/libipt_ah_sh.o] Erro 1 > > [root at faria iptables-1.2.11]# > > > > I search for solutions in google, but in don?t have success. > > It's probably a LOT smarter to just update the binary RPM. Is there a > reason you're trying to build it from source? > > If you insist on building the source, did you run "./configure" before > you ran "make"? The sequence to build things from a tarball normally > is: > > $ cd /some/working/directory > $ tar xzf name-of-tarball.gz > $ cd directory/created/by/tar/command > $ ./configure > $ make > $ su > # make install > > The "./configure" configures the source code for your environment and > will (usually) figure out which set of header files to use. Also note > that the vast majority of tarballs will, by default, try to install into > /usr/local. You may want to "./configure --prefix=/" to make it install > into the root of your filesystem (most Red Hat RPMs are set up to do > that). You can get a list of what options configure uses by running > the command as: > > $ ./configure --help > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - What's small, yellow and very, VERY dangerous? The root canary! - > ---------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From haranath at suchinfotech.com Tue Sep 13 08:10:18 2005 From: haranath at suchinfotech.com (haranath) Date: Tue, 13 Sep 2005 13:40:18 +0530 Subject: problems with fedora core 4 Message-ID: <1126599018.3892.3.camel@haranath> Respected sir, I am newbie in linux.After installing fedora core 4,i am not getting virtual consoles(ctrl+alt+f1 to ctrl+alt+f2).what might be the problem? Is there is any option to set for that? needed help in urgent. Thanks in advance. with Regards Linux_learner From cinetron at passport.ca Tue Sep 13 18:53:26 2005 From: cinetron at passport.ca (jim ruxton) Date: Tue, 13 Sep 2005 14:53:26 -0400 Subject: Having problems with rc.local Message-ID: <1126637606.5482.27.camel@localhost.localdomain> Hi I'm having a problem with a script I put in rc.local and I was wondering if anyone has any suggestions: Below is my script: touch /var/lock/subsys/local /sbin/rmmod uhci-hcd /sbin/modprobe uhci-hcd su - jim -c /home/jim/capture/camera_start_script.sh & What I want to do is unload and reload uhci-hcd and start another script. I have a camera attached to a usb port and when the pc boots it doesn't load the camera driver correctly but if after booting I reload the uhci-hcd script all works fine. If I manually run rc.local this script works fine as well. So I thought rc.local was the last thing to to run but for some reason running it manually and letting the computer do it during bootup gives different results any idea why?? I know this is probably confusing. Thanks. Jim From robertmcclure at earthlink.net Tue Sep 13 19:13:37 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 13 Sep 2005 14:13:37 -0500 Subject: Having problems with rc.local In-Reply-To: <1126637606.5482.27.camel@localhost.localdomain> References: <1126637606.5482.27.camel@localhost.localdomain> Message-ID: <20050913191337.GA19882@bobcat.bobcatos.com> On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > Hi I'm having a problem with a script I put in rc.local and I was > wondering if anyone has any suggestions: > Below is my script: > > touch /var/lock/subsys/local > /sbin/rmmod uhci-hcd > /sbin/modprobe uhci-hcd > su - jim -c /home/jim/capture/camera_start_script.sh & > > > What I want to do is unload and reload uhci-hcd and start another > script. I have a camera attached to a usb port and when the pc boots it > doesn't load the camera driver correctly Let's fix the real problem, not the work-around. Look in /var/log/messages for error messages. Here's a quick way to do that. Bring it up with less. Then hit '>' to go to end of file. Then hit '?' (search backwards) and enter "restart". That should put you at the beginning of the boot process in the log. Then you can either just page through it, or search forward (with '/') for "uhci". > but if after booting I reload > the uhci-hcd script all works fine. If I manually run rc.local this > script works fine as well. So I thought rc.local was the last thing to > to run but for some reason running it manually and letting the computer > do it during bootup gives different results any idea why?? I know this > is probably confusing. Thanks. > Jim You must remember that when rc.local runs at boot time, it has a very austere (assume none) environment. When you run it by hand you have all kinds of goodies in the environment. But let's not make work-arounds (which presently don't work). Let's fix the root problem. The kernel should load the driver(s) on demand. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From robertmcclure at earthlink.net Tue Sep 13 19:22:30 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 13 Sep 2005 14:22:30 -0500 Subject: problems with fedora core 4 In-Reply-To: <1126599018.3892.3.camel@haranath> References: <1126599018.3892.3.camel@haranath> Message-ID: <20050913192230.GB19882@bobcat.bobcatos.com> On Tue, Sep 13, 2005 at 01:40:18PM +0530, haranath wrote: > Respected sir, > I am newbie in linux.After installing fedora core 4,i am not getting > virtual consoles(ctrl+alt+f1 to ctrl+alt+f2).what might be the > problem? >From the graphical screen, I presume? How about ctrl+alt+f3, 4, 5, and 6? > Is there is any option to set for that? It should be set correctly in /etc/inittab. Look for these lines: # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 If those are there, look in /var/log/messages for clues. > needed help in urgent. > Thanks in advance. > with Regards > Linux_learner Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From rstevens at vitalstream.com Tue Sep 13 19:27:33 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 13 Sep 2005 12:27:33 -0700 Subject: problems with fedora core 4 In-Reply-To: <1126599018.3892.3.camel@haranath> References: <1126599018.3892.3.camel@haranath> Message-ID: <43272825.2000805@vitalstream.com> haranath wrote: > Respected sir, > I am newbie in linux.After installing fedora core 4,i am not getting > virtual consoles(ctrl+alt+f1 to ctrl+alt+f2).what might be the problem? > Is there is any option to set for that? From the GUI (graphical environment), you should hit CTRL-ALT-F12 first. That puts you into text mode. Once in text mode, ALT+F1 through ALT-F6 should get you to the text consoles. To return to the GUI from text mode, use ALT+F7. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - LOOK OUT!!! BEHIND YOU!!! - ---------------------------------------------------------------------- From robertmcclure at earthlink.net Tue Sep 13 19:33:27 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 13 Sep 2005 14:33:27 -0500 Subject: problems with fedora core 4 In-Reply-To: <43272825.2000805@vitalstream.com> References: <1126599018.3892.3.camel@haranath> <43272825.2000805@vitalstream.com> Message-ID: <20050913193327.GA21180@bobcat.bobcatos.com> On Tue, Sep 13, 2005 at 12:27:33PM -0700, Rick Stevens wrote: > haranath wrote: > >Respected sir, > >I am newbie in linux.After installing fedora core 4,i am not getting > >virtual consoles(ctrl+alt+f1 to ctrl+alt+f2).what might be the problem? > >Is there is any option to set for that? > > From the GUI (graphical environment), you should hit CTRL-ALT-F12 first. > That puts you into text mode. > > Once in text mode, ALT+F1 through ALT-F6 should get you to the text > consoles. To return to the GUI from text mode, use ALT+F7. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - Hmm. That's new. Obviously, I don't have FC4, yet. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From cinetron at passport.ca Tue Sep 13 20:05:21 2005 From: cinetron at passport.ca (jim ruxton) Date: Tue, 13 Sep 2005 16:05:21 -0400 Subject: Having problems with rc.local In-Reply-To: <20050913191337.GA19882@bobcat.bobcatos.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> Message-ID: <1126641921.5482.37.camel@localhost.localdomain> Thanks Bob, Tried as you suggested. Not sure that it tells me much. Below is the info. from /var/log/messages after booting up. and after that what was written after doing rc.local manually. It looks like in both cases the uhci info is being loaded identically ?? Do you see anything suspicious. My camera is on usb 5-1. Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller Sep 13 15:34:27 localhost kernel: usb 1-3: new high speed USB device using ehci_hcd and address 2 Sep 13 15:34:27 localhost kernel: idVendor = 0x13b1, idProduct = 0xd Sep 13 15:34:27 localhost kernel: INIT bRadio=1 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base 0x0000ef00 Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: USB hub found Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: 2 ports detected Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3 Sep 13 15:34:27 localhost kernel: PCI: setting IRQ 3 as level-triggered Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base 0x0000ef20 Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: USB hub found Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: 2 ports detected Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base 0x0000ef40 Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: USB hub found Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: 2 ports detected Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base 0x0000ef80 Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: USB hub found Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: 2 ports detected Sep 13 15:34:27 localhost kernel: usb 5-1: new full speed USB device using uhci_hcd and address 2 Sep 13 15:34:27 localhost kernel: usb 5-2: new low speed USB device using uhci_hcd and address 3 Sep 13 15:34:27 localhost mDNSResponder: startup succeeded Sep 13 15:34:27 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] on usb-0000:00:1d.3-2 after removing and reloading uhci-hcd ( everything works after this): Sep 13 15:51:14 localhost kernel: USB Universal Host Controller Interface driver v2.2 Sep 13 15:51:14 localhost kernel: SELinux: initialized (dev debugfs, type debugfs), not configured for labeling Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base 0x0000ef00 Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: USB hub found Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: 2 ports detected Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base 0x0000ef20 Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: USB hub found Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: 2 ports detected Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base 0x0000ef40 Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: USB hub found Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: 2 ports detected Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base 0x0000ef80 Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: USB hub found Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: 2 ports detected Sep 13 15:51:15 localhost su(pam_unix)[5855]: session opened for user jim by (uid=0) Sep 13 15:51:15 localhost kernel: usb 5-1: new full speed USB device using uhci_hcd and address 2 Sep 13 15:51:15 localhost kernel: usb 5-2: new low speed USB device using uhci_hcd and address 3 Sep 13 15:51:15 localhost hal.hotplug[5928]: DEVPATH is not set Sep 13 15:51:15 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] on usb-0000:00:1d.3-2 Sep 13 15:51:35 localhost su(pam_unix)[5855]: session closed for user jim > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > > Hi I'm having a problem with a script I put in rc.local and I was > > wondering if anyone has any suggestions: > > Below is my script: > > > > touch /var/lock/subsys/local > > /sbin/rmmod uhci-hcd > > /sbin/modprobe uhci-hcd > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > > > What I want to do is unload and reload uhci-hcd and start another > > script. I have a camera attached to a usb port and when the pc boots it > > doesn't load the camera driver correctly > > Let's fix the real problem, not the work-around. Look in > /var/log/messages for error messages. Here's a quick way to do that. > Bring it up with less. Then hit '>' to go to end of file. Then hit > '?' (search backwards) and enter "restart". That should put you at > the beginning of the boot process in the log. Then you can either > just page through it, or search forward (with '/') for "uhci". > > > but if after booting I reload > > the uhci-hcd script all works fine. If I manually run rc.local this > > script works fine as well. So I thought rc.local was the last thing to > > to run but for some reason running it manually and letting the computer > > do it during bootup gives different results any idea why?? I know this > > is probably confusing. Thanks. > > Jim > > You must remember that when rc.local runs at boot time, it has a very > austere (assume none) environment. When you run it by hand you have > all kinds of goodies in the environment. But let's not make > work-arounds (which presently don't work). Let's fix the root > problem. The kernel should load the driver(s) on demand. > > Cheers, From robertmcclure at earthlink.net Tue Sep 13 21:23:22 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 13 Sep 2005 16:23:22 -0500 Subject: Having problems with rc.local In-Reply-To: <1126641921.5482.37.camel@localhost.localdomain> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> Message-ID: <20050913212322.GA24668@bobcat.bobcatos.com> If you would please, we prefer bottom posting here. http://en.wikipedia.org/wiki/Top-posting I'll rearrange this. On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > > > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > > > Hi I'm having a problem with a script I put in rc.local and I was > > > wondering if anyone has any suggestions: > > > Below is my script: > > > > > > touch /var/lock/subsys/local > > > /sbin/rmmod uhci-hcd > > > /sbin/modprobe uhci-hcd > > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > > > > > > What I want to do is unload and reload uhci-hcd and start another > > > script. I have a camera attached to a usb port and when the pc boots it > > > doesn't load the camera driver correctly > > > > Let's fix the real problem, not the work-around. Look in > > /var/log/messages for error messages. Here's a quick way to do that. > > Bring it up with less. Then hit '>' to go to end of file. Then hit > > '?' (search backwards) and enter "restart". That should put you at > > the beginning of the boot process in the log. Then you can either > > just page through it, or search forward (with '/') for "uhci". > > > > > but if after booting I reload > > > the uhci-hcd script all works fine. If I manually run rc.local this > > > script works fine as well. So I thought rc.local was the last thing to > > > to run but for some reason running it manually and letting the computer > > > do it during bootup gives different results any idea why?? I know this > > > is probably confusing. Thanks. > > > Jim > > > > You must remember that when rc.local runs at boot time, it has a very > > austere (assume none) environment. When you run it by hand you have > > all kinds of goodies in the environment. But let's not make > > work-arounds (which presently don't work). Let's fix the root > > problem. The kernel should load the driver(s) on demand. > > > > Cheers, > > _______________________________________________ > Thanks Bob, > Tried as you suggested. Not sure that it tells me much. Below is the > info. from /var/log/messages after booting up. and after that what was > written after doing rc.local manually. It looks like in both cases the > uhci info is being loaded identically ?? Do you see anything suspicious. > My camera is on usb 5-1. > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host > Controller > Sep 13 15:34:27 localhost kernel: usb 1-3: new high speed USB device > using ehci_hcd and address 2 > Sep 13 15:34:27 localhost kernel: idVendor = 0x13b1, idProduct = 0xd > Sep 13 15:34:27 localhost kernel: INIT bRadio=1 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus > registered, assigned bus number 2 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base > 0x0000ef00 > Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: USB hub found > Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: 2 ports detected > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt Link [LNKD] > enabled at IRQ 3 > Sep 13 15:34:27 localhost kernel: PCI: setting IRQ 3 as level-triggered > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> > Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host > Controller > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus > registered, assigned bus number 3 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base > 0x0000ef20 > Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: USB hub found > Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: 2 ports detected > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> > Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host > Controller > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus > registered, assigned bus number 4 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base > 0x0000ef40 > Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: USB hub found > Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: 2 ports detected > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host > Controller > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus > registered, assigned bus number 5 > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base > 0x0000ef80 > Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: USB hub found > Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: 2 ports detected > Sep 13 15:34:27 localhost kernel: usb 5-1: new full speed USB device > using uhci_hcd and address 2 > Sep 13 15:34:27 localhost kernel: usb 5-2: new low speed USB device > using uhci_hcd and address 3 > Sep 13 15:34:27 localhost mDNSResponder: startup succeeded > Sep 13 15:34:27 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] > on usb-0000:00:1d.3-2 > > > > after removing and reloading uhci-hcd ( everything works after this): > > > > > > Sep 13 15:51:14 localhost kernel: USB Universal Host Controller > Interface driver v2.2 > Sep 13 15:51:14 localhost kernel: SELinux: initialized (dev debugfs, > type debugfs), not configured for labeling > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host > Controller > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus > registered, assigned bus number 2 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base > 0x0000ef00 > Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: USB hub found > Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: 2 ports detected > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> > Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host > Controller > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus > registered, assigned bus number 3 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base > 0x0000ef20 > Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: USB hub found > Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: 2 ports detected > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> > Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host > Controller > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus > registered, assigned bus number 4 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base > 0x0000ef40 > Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: USB hub found > Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: 2 ports detected > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host > Controller > Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus > registered, assigned bus number 5 > Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base > 0x0000ef80 > Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: USB hub found > Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: 2 ports detected > Sep 13 15:51:15 localhost su(pam_unix)[5855]: session opened for user > jim by (uid=0) > Sep 13 15:51:15 localhost kernel: usb 5-1: new full speed USB device > using uhci_hcd and address 2 > Sep 13 15:51:15 localhost kernel: usb 5-2: new low speed USB device > using uhci_hcd and address 3 > Sep 13 15:51:15 localhost hal.hotplug[5928]: DEVPATH is not set > Sep 13 15:51:15 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] > on usb-0000:00:1d.3-2 > Sep 13 15:51:35 localhost su(pam_unix)[5855]: session closed for user > jim Perhaps we need to back up a little further. Please describe what happens if you comment out the rc.local dodge and reboot. What is the end result that fails to happen? The camera is not acknowledged? What error messages? Also, to Rick Stevens: you may be able to solve this better than I. Feel free to jump in. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From cinetron at passport.ca Tue Sep 13 21:46:44 2005 From: cinetron at passport.ca (jim ruxton) Date: Tue, 13 Sep 2005 17:46:44 -0400 Subject: Having problems with rc.local In-Reply-To: <20050913212322.GA24668@bobcat.bobcatos.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> Message-ID: <1126648004.5482.51.camel@localhost.localdomain> > If you would please, we prefer bottom posting here. > > http://en.wikipedia.org/wiki/Top-posting > > I'll rearrange this. > > On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > > > > > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > > > > Hi I'm having a problem with a script I put in rc.local and I was > > > > wondering if anyone has any suggestions: > > > > Below is my script: > > > > > > > > touch /var/lock/subsys/local > > > > /sbin/rmmod uhci-hcd > > > > /sbin/modprobe uhci-hcd > > > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > > > > > > > > > What I want to do is unload and reload uhci-hcd and start another > > > > script. I have a camera attached to a usb port and when the pc boots it > > > > doesn't load the camera driver correctly > > > > > > Let's fix the real problem, not the work-around. Look in > > > /var/log/messages for error messages. Here's a quick way to do that. > > > Bring it up with less. Then hit '>' to go to end of file. Then hit > > > '?' (search backwards) and enter "restart". That should put you at > > > the beginning of the boot process in the log. Then you can either > > > just page through it, or search forward (with '/') for "uhci". > > > > > > > but if after booting I reload > > > > the uhci-hcd script all works fine. If I manually run rc.local this > > > > script works fine as well. So I thought rc.local was the last thing to > > > > to run but for some reason running it manually and letting the computer > > > > do it during bootup gives different results any idea why?? I know this > > > > is probably confusing. Thanks. > > > > Jim > > > > > > You must remember that when rc.local runs at boot time, it has a very > > > austere (assume none) environment. When you run it by hand you have > > > all kinds of goodies in the environment. But let's not make > > > work-arounds (which presently don't work). Let's fix the root > > > problem. The kernel should load the driver(s) on demand. > > > > > > Cheers, > > > > _______________________________________________ > > > Thanks Bob, > > Tried as you suggested. Not sure that it tells me much. Below is the > > info. from /var/log/messages after booting up. and after that what was > > written after doing rc.local manually. It looks like in both cases the > > uhci info is being loaded identically ?? Do you see anything suspicious. > > My camera is on usb 5-1. > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host > > Controller > > Sep 13 15:34:27 localhost kernel: usb 1-3: new high speed USB device > > using ehci_hcd and address 2 > > Sep 13 15:34:27 localhost kernel: idVendor = 0x13b1, idProduct = 0xd > > Sep 13 15:34:27 localhost kernel: INIT bRadio=1 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus > > registered, assigned bus number 2 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base > > 0x0000ef00 > > Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: USB hub found > > Sep 13 15:34:27 localhost kernel: hub 2-0:1.0: 2 ports detected > > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt Link [LNKD] > > enabled at IRQ 3 > > Sep 13 15:34:27 localhost kernel: PCI: setting IRQ 3 as level-triggered > > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> > > Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host > > Controller > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus > > registered, assigned bus number 3 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base > > 0x0000ef20 > > Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: USB hub found > > Sep 13 15:34:27 localhost kernel: hub 3-0:1.0: 2 ports detected > > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> > > Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host > > Controller > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus > > registered, assigned bus number 4 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base > > 0x0000ef40 > > Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: USB hub found > > Sep 13 15:34:27 localhost kernel: hub 4-0:1.0: 2 ports detected > > Sep 13 15:34:27 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> > > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host > > Controller > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus > > registered, assigned bus number 5 > > Sep 13 15:34:27 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base > > 0x0000ef80 > > Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: USB hub found > > Sep 13 15:34:27 localhost kernel: hub 5-0:1.0: 2 ports detected > > Sep 13 15:34:27 localhost kernel: usb 5-1: new full speed USB device > > using uhci_hcd and address 2 > > Sep 13 15:34:27 localhost kernel: usb 5-2: new low speed USB device > > using uhci_hcd and address 3 > > Sep 13 15:34:27 localhost mDNSResponder: startup succeeded > > Sep 13 15:34:27 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] > > on usb-0000:00:1d.3-2 > > > > > > > > after removing and reloading uhci-hcd ( everything works after this): > > > > > > > > > > > > Sep 13 15:51:14 localhost kernel: USB Universal Host Controller > > Interface driver v2.2 > > Sep 13 15:51:14 localhost kernel: SELinux: initialized (dev debugfs, > > type debugfs), not configured for labeling > > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> > > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: UHCI Host > > Controller > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: new USB bus > > registered, assigned bus number 2 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.0: irq 10, io base > > 0x0000ef00 > > Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: USB hub found > > Sep 13 15:51:14 localhost kernel: hub 2-0:1.0: 2 ports detected > > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> > > Link [LNKD] -> GSI 3 (level, low) -> IRQ 3 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: UHCI Host > > Controller > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: new USB bus > > registered, assigned bus number 3 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.1: irq 3, io base > > 0x0000ef20 > > Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: USB hub found > > Sep 13 15:51:14 localhost kernel: hub 3-0:1.0: 2 ports detected > > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> > > Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: UHCI Host > > Controller > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: new USB bus > > registered, assigned bus number 4 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.2: irq 5, io base > > 0x0000ef40 > > Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: USB hub found > > Sep 13 15:51:14 localhost kernel: hub 4-0:1.0: 2 ports detected > > Sep 13 15:51:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.3[A] -> > > Link [LNKA] -> GSI 10 (level, low) -> IRQ 10 > > Sep 13 15:51:14 localhost kernel: uhci_hcd 0000:00:1d.3: UHCI Host > > Controller > > Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: new USB bus > > registered, assigned bus number 5 > > Sep 13 15:51:15 localhost kernel: uhci_hcd 0000:00:1d.3: irq 10, io base > > 0x0000ef80 > > Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: USB hub found > > Sep 13 15:51:15 localhost kernel: hub 5-0:1.0: 2 ports detected > > Sep 13 15:51:15 localhost su(pam_unix)[5855]: session opened for user > > jim by (uid=0) > > Sep 13 15:51:15 localhost kernel: usb 5-1: new full speed USB device > > using uhci_hcd and address 2 > > Sep 13 15:51:15 localhost kernel: usb 5-2: new low speed USB device > > using uhci_hcd and address 3 > > Sep 13 15:51:15 localhost hal.hotplug[5928]: DEVPATH is not set > > Sep 13 15:51:15 localhost kernel: input: USB HID v1.10 Mouse [062a:0000] > > on usb-0000:00:1d.3-2 > > Sep 13 15:51:35 localhost su(pam_unix)[5855]: session closed for user > > jim > > Perhaps we need to back up a little further. Please describe what > happens if you comment out the rc.local dodge and reboot. What is > the end result that fails to happen? The camera is not acknowledged? > What error messages? > > Also, to Rick Stevens: you may be able to solve this better than I. > Feel free to jump in. Thanks Bob, I'm ccing this to the developer of capture in case he has some ideas about this. When I reboot without the rc.local dodge if I go to start my camera I can't initialize it unless I turn the camera off and back on again once the machine has booted. I'm using a program called capture based on libptp http://www.ucl.cas.cz/~petr/plant-growth/ . normally I just issue a: $ capture start command to initialize the camera. If I turn the camera on boot the machine and issue this it doesn't work. I get an error message saying "can't initialize the camera" If I boot the machine then turn the camera on it works fine. I am trying to build a system that allows someone to turn on the camera, boot the machine and walk away. I haven't been able to find any error messages in the system logs. Any more thoughts on this? Thanks! Jim > > Cheers, From robertmcclure at earthlink.net Tue Sep 13 22:05:19 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Tue, 13 Sep 2005 17:05:19 -0500 Subject: Having problems with rc.local In-Reply-To: <1126648004.5482.51.camel@localhost.localdomain> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> Message-ID: <20050913220519.GA25782@bobcat.bobcatos.com> On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: > > > If you would please, we prefer bottom posting here. > > > > http://en.wikipedia.org/wiki/Top-posting > > > > I'll rearrange this. > > > > On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > > > > > > > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > > > > > Hi I'm having a problem with a script I put in rc.local and I was > > > > > wondering if anyone has any suggestions: > > > > > Below is my script: > > > > > > > > > > touch /var/lock/subsys/local > > > > > /sbin/rmmod uhci-hcd > > > > > /sbin/modprobe uhci-hcd > > > > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > > > > > > > > > > > > What I want to do is unload and reload uhci-hcd and start another > > > > > script. I have a camera attached to a usb port and when the pc boots it > > > > > doesn't load the camera driver correctly > > > > > > > > Let's fix the real problem, not the work-around. Look in > > > > /var/log/messages for error messages. Here's a quick way to do that. > > > > Bring it up with less. Then hit '>' to go to end of file. Then hit > > > > '?' (search backwards) and enter "restart". That should put you at > > > > the beginning of the boot process in the log. Then you can either > > > > just page through it, or search forward (with '/') for "uhci". > > > > > > > > > but if after booting I reload > > > > > the uhci-hcd script all works fine. If I manually run rc.local this > > > > > script works fine as well. So I thought rc.local was the last thing to > > > > > to run but for some reason running it manually and letting the computer > > > > > do it during bootup gives different results any idea why?? I know this > > > > > is probably confusing. Thanks. > > > > > Jim > > > > > > > > You must remember that when rc.local runs at boot time, it has a very > > > > austere (assume none) environment. When you run it by hand you have > > > > all kinds of goodies in the environment. But let's not make > > > > work-arounds (which presently don't work). Let's fix the root > > > > problem. The kernel should load the driver(s) on demand. > > > > > > > > Cheers, > > > > > > _______________________________________________ > > > > > Thanks Bob, > > > Tried as you suggested. Not sure that it tells me much. Below is the > > > info. from /var/log/messages after booting up. and after that what was > > > written after doing rc.local manually. It looks like in both cases the > > > uhci info is being loaded identically ?? Do you see anything suspicious. > > > My camera is on usb 5-1. > > > > > > > > > > > > jim > > > > Perhaps we need to back up a little further. Please describe what > > happens if you comment out the rc.local dodge and reboot. What is > > the end result that fails to happen? The camera is not acknowledged? > > What error messages? > > > > Also, to Rick Stevens: you may be able to solve this better than I. > > Feel free to jump in. > > Thanks Bob, > I'm ccing this to the developer of capture in case he has some ideas > about this. I think that's a good idea. > When I reboot without the rc.local dodge if I go to start my camera I > can't initialize it unless I turn the camera off and back on again once > the machine has booted. I'm using a program called capture based on > libptp http://www.ucl.cas.cz/~petr/plant-growth/ . > > normally I just issue a: > $ capture start > command to initialize the camera. If I turn the camera on boot the > machine and issue this it doesn't work. I get an error message saying > "can't initialize the camera" If I boot the machine then turn the camera > on it works fine. I am trying to build a system that allows someone to > turn on the camera, boot the machine and walk away. I haven't been able > to find any error messages in the system logs. Any more thoughts on > this? Thanks! > Jim Okay, if I understand correctly, after booting, just running "capture start" doesn't work. But if you either turn the camera off and back on, or unload and reload the USB driver, then "capture start" works. Hmm. I dunno. Someone else have an idea? Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From karlp at ourldsfamily.com Tue Sep 13 22:08:50 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Tue, 13 Sep 2005 16:08:50 -0600 (MDT) Subject: Having problems with rc.local In-Reply-To: <20050913220519.GA25782@bobcat.bobcatos.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> Message-ID: <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> On Tue, September 13, 2005 4:05 pm, Bob McClure Jr said: > On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: >> >> > If you would please, we prefer bottom posting here. >> > >> > http://en.wikipedia.org/wiki/Top-posting >> > >> > I'll rearrange this. >> > >> > On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: >> > > >> > > > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: >> > > > > Hi I'm having a problem with a script I put in rc.local and I >> was >> > > > > wondering if anyone has any suggestions: >> > > > > Below is my script: >> > > > > >> > > > > touch /var/lock/subsys/local >> > > > > /sbin/rmmod uhci-hcd >> > > > > /sbin/modprobe uhci-hcd >> > > > > su - jim -c /home/jim/capture/camera_start_script.sh & >> > > > > >> > > > > >> > > > > What I want to do is unload and reload uhci-hcd and start >> another >> > > > > script. I have a camera attached to a usb port and when the pc >> boots it >> > > > > doesn't load the camera driver correctly >> > > > >> > > > Let's fix the real problem, not the work-around. Look in >> > > > /var/log/messages for error messages. Here's a quick way to do >> that. >> > > > Bring it up with less. Then hit '>' to go to end of file. Then >> hit >> > > > '?' (search backwards) and enter "restart". That should put you >> at >> > > > the beginning of the boot process in the log. Then you can either >> > > > just page through it, or search forward (with '/') for "uhci". >> > > > >> > > > > but if after booting I reload >> > > > > the uhci-hcd script all works fine. If I manually run rc.local >> this >> > > > > script works fine as well. So I thought rc.local was the last >> thing to >> > > > > to run but for some reason running it manually and letting the >> computer >> > > > > do it during bootup gives different results any idea why?? I >> know this >> > > > > is probably confusing. Thanks. >> > > > > Jim >> > > > >> > > > You must remember that when rc.local runs at boot time, it has a >> very >> > > > austere (assume none) environment. When you run it by hand you >> have >> > > > all kinds of goodies in the environment. But let's not make >> > > > work-arounds (which presently don't work). Let's fix the root >> > > > problem. The kernel should load the driver(s) on demand. >> > > > >> > > > Cheers, >> > > >> > > _______________________________________________ >> > >> > > Thanks Bob, >> > > Tried as you suggested. Not sure that it tells me much. Below is the >> > > info. from /var/log/messages after booting up. and after that what >> was >> > > written after doing rc.local manually. It looks like in both cases >> the >> > > uhci info is being loaded identically ?? Do you see anything >> suspicious. >> > > My camera is on usb 5-1. >> > > >> > > >> > > >> > > jim >> > >> > Perhaps we need to back up a little further. Please describe what >> > happens if you comment out the rc.local dodge and reboot. What is >> > the end result that fails to happen? The camera is not acknowledged? >> > What error messages? >> > >> > Also, to Rick Stevens: you may be able to solve this better than I. >> > Feel free to jump in. >> >> Thanks Bob, >> I'm ccing this to the developer of capture in case he has some ideas >> about this. > > I think that's a good idea. > >> When I reboot without the rc.local dodge if I go to start my camera I >> can't initialize it unless I turn the camera off and back on again once >> the machine has booted. I'm using a program called capture based on >> libptp http://www.ucl.cas.cz/~petr/plant-growth/ . >> >> normally I just issue a: >> $ capture start >> command to initialize the camera. If I turn the camera on boot the >> machine and issue this it doesn't work. I get an error message saying >> "can't initialize the camera" If I boot the machine then turn the camera >> on it works fine. I am trying to build a system that allows someone to >> turn on the camera, boot the machine and walk away. I haven't been able >> to find any error messages in the system logs. Any more thoughts on >> this? Thanks! >> Jim > > Okay, if I understand correctly, after booting, just running "capture > start" doesn't work. But if you either turn the camera off and back > on, or unload and reload the USB driver, then "capture start" works. > > Hmm. I dunno. Someone else have an idea? > > Cheers, > -- > Bob McClure, Jr. Bobcat Open Systems, Inc. > robertmcclure at earthlink.net http://www.bobcatos.com > Peace at any price is inflationary. > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > I understand the situation the same way, Bob. As I've watched (tail -f /var/log/messages) the log, I see that any activity on the port is only picked up if there's a state change. Just unplugging the camera should also work, if my theory is correct. I think this is a function of hotplug. I wonder if running hotplug would work?... -- karl --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- From cinetron at passport.ca Tue Sep 13 22:27:26 2005 From: cinetron at passport.ca (jim ruxton) Date: Tue, 13 Sep 2005 18:27:26 -0400 Subject: Having problems with rc.local In-Reply-To: <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> Message-ID: <1126650446.5482.66.camel@localhost.localdomain> On Tue, 2005-09-13 at 16:08 -0600, karlp at ourldsfamily.com wrote: > On Tue, September 13, 2005 4:05 pm, Bob McClure Jr said: > > On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: > >> > >> > If you would please, we prefer bottom posting here. > >> > > >> > http://en.wikipedia.org/wiki/Top-posting > >> > > >> > I'll rearrange this. > >> > > >> > On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > >> > > > >> > > > On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > >> > > > > Hi I'm having a problem with a script I put in rc.local and I > >> was > >> > > > > wondering if anyone has any suggestions: > >> > > > > Below is my script: > >> > > > > > >> > > > > touch /var/lock/subsys/local > >> > > > > /sbin/rmmod uhci-hcd > >> > > > > /sbin/modprobe uhci-hcd > >> > > > > su - jim -c /home/jim/capture/camera_start_script.sh & > >> > > > > > >> > > > > > >> > > > > What I want to do is unload and reload uhci-hcd and start > >> another > >> > > > > script. I have a camera attached to a usb port and when the pc > >> boots it > >> > > > > doesn't load the camera driver correctly > >> > > > > >> > > > Let's fix the real problem, not the work-around. Look in > >> > > > /var/log/messages for error messages. Here's a quick way to do > >> that. > >> > > > Bring it up with less. Then hit '>' to go to end of file. Then > >> hit > >> > > > '?' (search backwards) and enter "restart". That should put you > >> at > >> > > > the beginning of the boot process in the log. Then you can either > >> > > > just page through it, or search forward (with '/') for "uhci". > >> > > > > >> > > > > but if after booting I reload > >> > > > > the uhci-hcd script all works fine. If I manually run rc.local > >> this > >> > > > > script works fine as well. So I thought rc.local was the last > >> thing to > >> > > > > to run but for some reason running it manually and letting the > >> computer > >> > > > > do it during bootup gives different results any idea why?? I > >> know this > >> > > > > is probably confusing. Thanks. > >> > > > > Jim > >> > > > > >> > > > You must remember that when rc.local runs at boot time, it has a > >> very > >> > > > austere (assume none) environment. When you run it by hand you > >> have > >> > > > all kinds of goodies in the environment. But let's not make > >> > > > work-arounds (which presently don't work). Let's fix the root > >> > > > problem. The kernel should load the driver(s) on demand. > >> > > > > >> > > > Cheers, > >> > > > >> > > _______________________________________________ > >> > > >> > > Thanks Bob, > >> > > Tried as you suggested. Not sure that it tells me much. Below is the > >> > > info. from /var/log/messages after booting up. and after that what > >> was > >> > > written after doing rc.local manually. It looks like in both cases > >> the > >> > > uhci info is being loaded identically ?? Do you see anything > >> suspicious. > >> > > My camera is on usb 5-1. > >> > > > >> > > > >> > > > >> > > jim > >> > > >> > Perhaps we need to back up a little further. Please describe what > >> > happens if you comment out the rc.local dodge and reboot. What is > >> > the end result that fails to happen? The camera is not acknowledged? > >> > What error messages? > >> > > >> > Also, to Rick Stevens: you may be able to solve this better than I. > >> > Feel free to jump in. > >> > >> Thanks Bob, > >> I'm ccing this to the developer of capture in case he has some ideas > >> about this. > > > > I think that's a good idea. > > > >> When I reboot without the rc.local dodge if I go to start my camera I > >> can't initialize it unless I turn the camera off and back on again once > >> the machine has booted. I'm using a program called capture based on > >> libptp http://www.ucl.cas.cz/~petr/plant-growth/ . > >> > >> normally I just issue a: > >> $ capture start > >> command to initialize the camera. If I turn the camera on boot the > >> machine and issue this it doesn't work. I get an error message saying > >> "can't initialize the camera" If I boot the machine then turn the camera > >> on it works fine. I am trying to build a system that allows someone to > >> turn on the camera, boot the machine and walk away. I haven't been able > >> to find any error messages in the system logs. Any more thoughts on > >> this? Thanks! > >> Jim > > > > Okay, if I understand correctly, after booting, just running "capture > > start" doesn't work. But if you either turn the camera off and back > > on, or unload and reload the USB driver, then "capture start" works. > > > > Hmm. I dunno. Someone else have an idea? > > > > Cheers, > > -- > > Bob McClure, Jr. Bobcat Open Systems, Inc. > > robertmcclure at earthlink.net http://www.bobcatos.com > > Peace at any price is inflationary. > > > > _______________________________________________ > > Redhat-install-list mailing list > > Redhat-install-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-install-list > > To Unsubscribe Go To ABOVE URL or send a message to: > > redhat-install-list-request at redhat.com > > Subject: unsubscribe > > > > I understand the situation the same way, Bob. As I've watched (tail -f > /var/log/messages) the log, I see that any activity on the port is only > picked up if there's a state change. Just unplugging the camera should > also work, if my theory is correct. Yes you are both corect. Unplugging the camera from the usb port also works. > I think this is a function of hotplug. > I wonder if running hotplug would work?... I can try it but I guess it is a similar dodge to what I was trying before. Well just tried running hotplug and it didn't work : ( . Any other thoughts?? Jim . > From Jack.Allen at McKesson.com Wed Sep 14 00:11:20 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Tue, 13 Sep 2005 20:11:20 -0400 Subject: Tape drive on HP Smart Array 6i HBA Message-ID: I have loaded AS 4 on an HP system with a Smart Array 6i HBA. There is a 4mm tape drive connected to one of the channels. It shows up during boot as the HBA is identified as LUN 5. But when Linux comes up it does not see it therefore no /dev/st0 file is created. There are 5 disk on the system configured as a single logical disk via the HBA. The disk shows up as /dev/cciss/c0d0 and then /dev/cciss/c0d0p1 through /dev/cciss/c0d0p11 per the way the disk was partitioned at installation time. So is there another drive that needs to be loaded? Thanks: Jack Allen -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Wed Sep 14 00:28:48 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 13 Sep 2005 17:28:48 -0700 Subject: Having problems with rc.local In-Reply-To: <1126650446.5482.66.camel@localhost.localdomain> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> <1126650446.5482.66.camel@localhost.localdomain> Message-ID: <43276EC0.10000@vitalstream.com> jim ruxton wrote: > On Tue, 2005-09-13 at 16:08 -0600, karlp at ourldsfamily.com wrote: > >>On Tue, September 13, 2005 4:05 pm, Bob McClure Jr said: >> >>>On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: >>> >>>>>If you would please, we prefer bottom posting here. >>>>> >>>>>http://en.wikipedia.org/wiki/Top-posting >>>>> >>>>>I'll rearrange this. >>>>> >>>>>On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: >>>>> >>>>>>>On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: >>>>>>> >>>>>>>>Hi I'm having a problem with a script I put in rc.local and I >>>> >>>>was >>>> >>>>>>>>wondering if anyone has any suggestions: >>>>>>>>Below is my script: >>>>>>>> >>>>>>>>touch /var/lock/subsys/local >>>>>>>>/sbin/rmmod uhci-hcd >>>>>>>>/sbin/modprobe uhci-hcd >>>>>>>>su - jim -c /home/jim/capture/camera_start_script.sh & >>>>>>>> >>>>>>>> >>>>>>>>What I want to do is unload and reload uhci-hcd and start >>>> >>>>another >>>> >>>>>>>>script. I have a camera attached to a usb port and when the pc >>>> >>>>boots it >>>> >>>>>>>>doesn't load the camera driver correctly >>>>>>> >>>>>>>Let's fix the real problem, not the work-around. Look in >>>>>>>/var/log/messages for error messages. Here's a quick way to do >>>> >>>>that. >>>> >>>>>>>Bring it up with less. Then hit '>' to go to end of file. Then >>>> >>>>hit >>>> >>>>>>>'?' (search backwards) and enter "restart". That should put you >>>> >>>>at >>>> >>>>>>>the beginning of the boot process in the log. Then you can either >>>>>>>just page through it, or search forward (with '/') for "uhci". >>>>>>> >>>>>>> >>>>>>>>but if after booting I reload >>>>>>>>the uhci-hcd script all works fine. If I manually run rc.local >>>> >>>>this >>>> >>>>>>>>script works fine as well. So I thought rc.local was the last >>>> >>>>thing to >>>> >>>>>>>>to run but for some reason running it manually and letting the >>>> >>>>computer >>>> >>>>>>>>do it during bootup gives different results any idea why?? I >>>> >>>>know this >>>> >>>>>>>>is probably confusing. Thanks. >>>>>>>>Jim >>>>>>> >>>>>>>You must remember that when rc.local runs at boot time, it has a >>>> >>>>very >>>> >>>>>>>austere (assume none) environment. When you run it by hand you >>>> >>>>have >>>> >>>>>>>all kinds of goodies in the environment. But let's not make >>>>>>>work-arounds (which presently don't work). Let's fix the root >>>>>>>problem. The kernel should load the driver(s) on demand. >>>>>>> >>>>>>>Cheers, >>>>>> >>>>>>_______________________________________________ >>>>> >>>>>>Thanks Bob, >>>>>>Tried as you suggested. Not sure that it tells me much. Below is the >>>>>>info. from /var/log/messages after booting up. and after that what >>>> >>>>was >>>> >>>>>>written after doing rc.local manually. It looks like in both cases >>>> >>>>the >>>> >>>>>>uhci info is being loaded identically ?? Do you see anything >>>> >>>>suspicious. >>>> >>>>>>My camera is on usb 5-1. >>>>>> >>>>>> >>>>>> >>>>>>jim >>>>> >>>>>Perhaps we need to back up a little further. Please describe what >>>>>happens if you comment out the rc.local dodge and reboot. What is >>>>>the end result that fails to happen? The camera is not acknowledged? >>>>>What error messages? >>>>> >>>>>Also, to Rick Stevens: you may be able to solve this better than I. >>>>>Feel free to jump in. >>>> >>>>Thanks Bob, >>>>I'm ccing this to the developer of capture in case he has some ideas >>>>about this. >>> >>>I think that's a good idea. >>> >>> >>>>When I reboot without the rc.local dodge if I go to start my camera I >>>>can't initialize it unless I turn the camera off and back on again once >>>>the machine has booted. I'm using a program called capture based on >>>>libptp http://www.ucl.cas.cz/~petr/plant-growth/ . >>>> >>>>normally I just issue a: >>>>$ capture start >>>>command to initialize the camera. If I turn the camera on boot the >>>>machine and issue this it doesn't work. I get an error message saying >>>>"can't initialize the camera" If I boot the machine then turn the camera >>>>on it works fine. I am trying to build a system that allows someone to >>>>turn on the camera, boot the machine and walk away. I haven't been able >>>>to find any error messages in the system logs. Any more thoughts on >>>>this? Thanks! >>>>Jim >>> >>>Okay, if I understand correctly, after booting, just running "capture >>>start" doesn't work. But if you either turn the camera off and back >>>on, or unload and reload the USB driver, then "capture start" works. >>> >>>Hmm. I dunno. Someone else have an idea? >>> >>>Cheers, >>>-- >>>Bob McClure, Jr. Bobcat Open Systems, Inc. >>>robertmcclure at earthlink.net http://www.bobcatos.com >>>Peace at any price is inflationary. >>> >>>_______________________________________________ >>>Redhat-install-list mailing list >>>Redhat-install-list at redhat.com >>>https://www.redhat.com/mailman/listinfo/redhat-install-list >>>To Unsubscribe Go To ABOVE URL or send a message to: >>>redhat-install-list-request at redhat.com >>>Subject: unsubscribe >>> >> >>I understand the situation the same way, Bob. As I've watched (tail -f >>/var/log/messages) the log, I see that any activity on the port is only >>picked up if there's a state change. Just unplugging the camera should >>also work, if my theory is correct. > > Yes you are both corect. Unplugging the camera from the usb port also > works. > >> I think this is a function of hotplug. >>I wonder if running hotplug would work?... > > I can try it but I guess it is a similar dodge to what I was trying > before. > Well just tried running hotplug and it didn't work : ( . Any other > thoughts?? I think I missed which OS this was. If it's FC4 or a 2.6.11 kernel, there are issues with udev not enumerating correctly and requiring a status change on the port (unplug, plug will do it). Supposedly fixed in 2.6.12-1.1447, but I won't swear to it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Denial. It ain't just a river in Egypt anymore! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Sep 14 00:36:13 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 13 Sep 2005 17:36:13 -0700 Subject: Tape drive on HP Smart Array 6i HBA In-Reply-To: References: Message-ID: <4327707D.8050508@vitalstream.com> Allen, Jack wrote: > I have loaded AS 4 on an HP system with a Smart Array 6i HBA. > There is a 4mm tape drive connected to one of the channels. It shows up > during boot as the HBA is identified as LUN 5. But when Linux comes up > it does not see it therefore no /dev/st0 file is created. There are 5 > disk on the system configured as a single logical disk via the HBA. The > disk shows up as /dev/cciss/c0d0 and then /dev/cciss/c0d0p1 through > /dev/cciss/c0d0p11 per the way the disk was partitioned at installation > time. > > So is there another drive that needs to be loaded? Under udev on the 2.6 kernel, take a look at /dev/tape* instead of /dev/st*. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Death is nature's way of dropping carrier - ---------------------------------------------------------------------- From Jack.Allen at McKesson.com Wed Sep 14 00:41:06 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Tue, 13 Sep 2005 20:41:06 -0400 Subject: Tape drive on HP Smart Array 6i HBA Message-ID: -----Original Message----- From: Rick Stevens [mailto:rstevens at vitalstream.com] Sent: Tuesday, September 13, 2005 8:36 PM To: Getting started with Red Hat Linux Subject: Re: Tape drive on HP Smart Array 6i HBA Allen, Jack wrote: > I have loaded AS 4 on an HP system with a Smart Array 6i HBA. > There is a 4mm tape drive connected to one of the channels. It shows up > during boot as the HBA is identified as LUN 5. But when Linux comes up > it does not see it therefore no /dev/st0 file is created. There are 5 > disk on the system configured as a single logical disk via the HBA. The > disk shows up as /dev/cciss/c0d0 and then /dev/cciss/c0d0p1 through > /dev/cciss/c0d0p11 per the way the disk was partitioned at installation > time. > > So is there another drive that needs to be loaded? Under udev on the 2.6 kernel, take a look at /dev/tape* instead of /dev/st*. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Death is nature's way of dropping carrier - ---------------------------------------------------------------------- Nothing there. I loaded AS 4 on an IBM system, it had different HBAs, but it created /dev/st0 and /dev/st1 because there were 2 tape drives. Jack Allen From cinetron at passport.ca Wed Sep 14 17:18:01 2005 From: cinetron at passport.ca (jim ruxton) Date: Wed, 14 Sep 2005 13:18:01 -0400 Subject: Having problems with rc.local In-Reply-To: <43284EAE.2070604@vitalstream.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> <1126650446.5482.66.camel@localhost.localdomain> <43276EC0.10000@vitalstream.com> <1126685916.5482.81.camel@localhost.localdomain> <43284EAE.2070604@vitalstream.com> Message-ID: <1126718281.5485.8.camel@localhost.localdomain> On Wed, 2005-09-14 at 09:24 -0700, Rick Stevens wrote: > jim ruxton wrote: > [snip] > >>I think I missed which OS this was. If it's FC4 or a 2.6.11 kernel, > >>there are issues with udev not enumerating correctly and requiring a > >>status change on the port (unplug, plug will do it). Supposedly fixed > >>in 2.6.12-1.1447, but I won't swear to it. > > > > > > Well I thought I was getting somewhere. I decided to use the script that > > is started when the camera is turned on to start my script. When the > > camera is switched on or plugged in the script /etc/hotplug/usb/usbcam > > is started. If I start my script normally in this script all looks good. > > ie. > > /home/jim/capture/camera_start_script.sh & but it is run by root. > > > > but if I try to start it as a user ie. > > > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > then for some reason 3 copies of the script get executed. I can't figure > > out what is going on here, any ideas? I only need 1 copy to run, in fact > > three copies running messes me up?? Thanks for any suggestions. > > Oops, disregard my last posting (mouse button stuck). > > We'd need to see the script itself, Jim. Thanks Rick, Here is the script that starts the camera ie. /home/jim/capture/camera_start_script.sh: #!/bin/sh # # This script starts camera capture start & cd /home/jim/capture python pythoncapture.py & and here is the usbcam script that starts when camera is turned on or plugged in: #!/bin/bash # $Id: usbcam.console,v 1.4 2002/09/12 16:50:18 hun Exp $ # # /etc/hotplug/usb/usbcam # # Sets up newly plugged in USB camera so that the user who owns # the console according to pam_console can access it from user space # # Note that for this script to work, you'll need all of the following: # a) a line in the file /etc/hotplug/usermap that corresponds to the # camera you are using. You can get the correct lines for all cameras # supported by libgphoto2 by running "print-usb-usermap". # b) a setup using pam_console creates the respective lock files # containing the name of the respective user. You can check for that # by executing "echo `cat /var/{run,lock}/console.lock`" and # verifying the appropriate user is mentioned somewhere there. # c) a Linux kernel supporting hotplug and usbdevfs # d) the hotplug package (http://linux-hotplug.sourceforge.net/) # # In the usermap file, the first field "usb module" should be named # "usbcam" like this script. # if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] then # New code, using lock files instead of copying /dev/console permissions # This also works with non-gdm logins (e.g. on a virtual terminal) # Idea and code from Nalin Dahyabhai if [ -f /var/run/console/console.lock ] then CONSOLEOWNER=`cat /var/run/console/console.lock` elif [ -f /var/run/console.lock ] then CONSOLEOWNER=`cat /var/run/console.lock` elif [ -f /var/lock/console.lock ] then CONSOLEOWNER=`cat /var/lock/console.lock` else CONSOLEOWNER= fi if [ -n "$CONSOLEOWNER" ] then chmod 0000 "${DEVICE}" chown "$CONSOLEOWNER" "${DEVICE}" chown "$USER" "${DEVICE}" chmod 0600 "${DEVICE}" fi fi killall -9 capture python su - jim -c /home/jim/capture/camera_start_script.sh & I put the killall in there just to try and be sure there are no other copies running but doesn't help. Any thoughts. Also for some reason my last 2 emails haven't been going to the install list. Not sure what is up with that. Thanks again. Jim > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - To understand recursion, you must first understand recursion. - > ---------------------------------------------------------------------- > From Thomas.vonSteiger at swisscom.com Wed Sep 14 10:52:11 2005 From: Thomas.vonSteiger at swisscom.com (Thomas.vonSteiger at swisscom.com) Date: Wed, 14 Sep 2005 12:52:11 +0200 Subject: RHEL4 and Kernel Build from Source incl. xen source Message-ID: Hello, I like to patch the RHEL4 Kernel with xen Source. For this i need kernel.src.rpm, kernel-devel.rpm and xen Source. With "rpmbuild --bp" i can create BUILD tree with all patches. How i can go forward now with kernel-devel and /usr/src/redhat/BUILD Kernel Source ? Is there a howto about using kernel-devel with kernel.src for RHEL4 ? regards, Thomas From cinetron at passport.ca Wed Sep 14 08:18:36 2005 From: cinetron at passport.ca (jim ruxton) Date: Wed, 14 Sep 2005 04:18:36 -0400 Subject: Having problems with rc.local In-Reply-To: <43276EC0.10000@vitalstream.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> <1126650446.5482.66.camel@localhost.localdomain> <43276EC0.10000@vitalstream.com> Message-ID: <1126685916.5482.81.camel@localhost.localdomain> On Tue, 2005-09-13 at 17:28 -0700, Rick Stevens wrote: > jim ruxton wrote: > > On Tue, 2005-09-13 at 16:08 -0600, karlp at ourldsfamily.com wrote: > > > >>On Tue, September 13, 2005 4:05 pm, Bob McClure Jr said: > >> > >>>On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: > >>> > >>>>>If you would please, we prefer bottom posting here. > >>>>> > >>>>>http://en.wikipedia.org/wiki/Top-posting > >>>>> > >>>>>I'll rearrange this. > >>>>> > >>>>>On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > >>>>> > >>>>>>>On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > >>>>>>> > >>>>>>>>Hi I'm having a problem with a script I put in rc.local and I > >>>> > >>>>was > >>>> > >>>>>>>>wondering if anyone has any suggestions: > >>>>>>>>Below is my script: > >>>>>>>> > >>>>>>>>touch /var/lock/subsys/local > >>>>>>>>/sbin/rmmod uhci-hcd > >>>>>>>>/sbin/modprobe uhci-hcd > >>>>>>>>su - jim -c /home/jim/capture/camera_start_script.sh & > >>>>>>>> > >>>>>>>> > >>>>>>>>What I want to do is unload and reload uhci-hcd and start > >>>> > >>>>another > >>>> > >>>>>>>>script. I have a camera attached to a usb port and when the pc > >>>> > >>>>boots it > >>>> > >>>>>>>>doesn't load the camera driver correctly > >>>>>>> > >>>>>>>Let's fix the real problem, not the work-around. Look in > >>>>>>>/var/log/messages for error messages. Here's a quick way to do > >>>> > >>>>that. > >>>> > >>>>>>>Bring it up with less. Then hit '>' to go to end of file. Then > >>>> > >>>>hit > >>>> > >>>>>>>'?' (search backwards) and enter "restart". That should put you > >>>> > >>>>at > >>>> > >>>>>>>the beginning of the boot process in the log. Then you can either > >>>>>>>just page through it, or search forward (with '/') for "uhci". > >>>>>>> > >>>>>>> > >>>>>>>>but if after booting I reload > >>>>>>>>the uhci-hcd script all works fine. If I manually run rc.local > >>>> > >>>>this > >>>> > >>>>>>>>script works fine as well. So I thought rc.local was the last > >>>> > >>>>thing to > >>>> > >>>>>>>>to run but for some reason running it manually and letting the > >>>> > >>>>computer > >>>> > >>>>>>>>do it during bootup gives different results any idea why?? I > >>>> > >>>>know this > >>>> > >>>>>>>>is probably confusing. Thanks. > >>>>>>>>Jim > >>>>>>> > >>>>>>>You must remember that when rc.local runs at boot time, it has a > >>>> > >>>>very > >>>> > >>>>>>>austere (assume none) environment. When you run it by hand you > >>>> > >>>>have > >>>> > >>>>>>>all kinds of goodies in the environment. But let's not make > >>>>>>>work-arounds (which presently don't work). Let's fix the root > >>>>>>>problem. The kernel should load the driver(s) on demand. > >>>>>>> > >>>>>>>Cheers, > >>>>>> > >>>>>>_______________________________________________ > >>>>> > >>>>>>Thanks Bob, > >>>>>>Tried as you suggested. Not sure that it tells me much. Below is the > >>>>>>info. from /var/log/messages after booting up. and after that what > >>>> > >>>>was > >>>> > >>>>>>written after doing rc.local manually. It looks like in both cases > >>>> > >>>>the > >>>> > >>>>>>uhci info is being loaded identically ?? Do you see anything > >>>> > >>>>suspicious. > >>>> > >>>>>>My camera is on usb 5-1. > >>>>>> > >>>>>> > >>>>>> > >>>>>>jim > >>>>> > >>>>>Perhaps we need to back up a little further. Please describe what > >>>>>happens if you comment out the rc.local dodge and reboot. What is > >>>>>the end result that fails to happen? The camera is not acknowledged? > >>>>>What error messages? > >>>>> > >>>>>Also, to Rick Stevens: you may be able to solve this better than I. > >>>>>Feel free to jump in. > >>>> > >>>>Thanks Bob, > >>>>I'm ccing this to the developer of capture in case he has some ideas > >>>>about this. > >>> > >>>I think that's a good idea. > >>> > >>> > >>>>When I reboot without the rc.local dodge if I go to start my camera I > >>>>can't initialize it unless I turn the camera off and back on again once > >>>>the machine has booted. I'm using a program called capture based on > >>>>libptp http://www.ucl.cas.cz/~petr/plant-growth/ . > >>>> > >>>>normally I just issue a: > >>>>$ capture start > >>>>command to initialize the camera. If I turn the camera on boot the > >>>>machine and issue this it doesn't work. I get an error message saying > >>>>"can't initialize the camera" If I boot the machine then turn the camera > >>>>on it works fine. I am trying to build a system that allows someone to > >>>>turn on the camera, boot the machine and walk away. I haven't been able > >>>>to find any error messages in the system logs. Any more thoughts on > >>>>this? Thanks! > >>>>Jim > >>> > >>>Okay, if I understand correctly, after booting, just running "capture > >>>start" doesn't work. But if you either turn the camera off and back > >>>on, or unload and reload the USB driver, then "capture start" works. > >>> > >>>Hmm. I dunno. Someone else have an idea? > >>> > >>>Cheers, > >>>-- > >>>Bob McClure, Jr. Bobcat Open Systems, Inc. > >>>robertmcclure at earthlink.net http://www.bobcatos.com > >>>Peace at any price is inflationary. > >>> > >>>_______________________________________________ > >>>Redhat-install-list mailing list > >>>Redhat-install-list at redhat.com > >>>https://www.redhat.com/mailman/listinfo/redhat-install-list > >>>To Unsubscribe Go To ABOVE URL or send a message to: > >>>redhat-install-list-request at redhat.com > >>>Subject: unsubscribe > >>> > >> > >>I understand the situation the same way, Bob. As I've watched (tail -f > >>/var/log/messages) the log, I see that any activity on the port is only > >>picked up if there's a state change. Just unplugging the camera should > >>also work, if my theory is correct. > > > > Yes you are both corect. Unplugging the camera from the usb port also > > works. > > > >> I think this is a function of hotplug. > >>I wonder if running hotplug would work?... > > > > I can try it but I guess it is a similar dodge to what I was trying > > before. > > Well just tried running hotplug and it didn't work : ( . Any other > > thoughts?? > > I think I missed which OS this was. If it's FC4 or a 2.6.11 kernel, > there are issues with udev not enumerating correctly and requiring a > status change on the port (unplug, plug will do it). Supposedly fixed > in 2.6.12-1.1447, but I won't swear to it. Well I thought I was getting somewhere. I decided to use the script that is started when the camera is turned on to start my script. When the camera is switched on or plugged in the script /etc/hotplug/usb/usbcam is started. If I start my script normally in this script all looks good. ie. /home/jim/capture/camera_start_script.sh & but it is run by root. but if I try to start it as a user ie. su - jim -c /home/jim/capture/camera_start_script.sh & then for some reason 3 copies of the script get executed. I can't figure out what is going on here, any ideas? I only need 1 copy to run, in fact three copies running messes me up?? Thanks for any suggestions. Jim From randyc_mortejo at yahoo.com Wed Sep 14 06:57:03 2005 From: randyc_mortejo at yahoo.com (Randy Cuadra) Date: Tue, 13 Sep 2005 23:57:03 -0700 (PDT) Subject: IBM x236 Message-ID: <20050914065703.57723.qmail@web52908.mail.yahoo.com> Hello, anybody uses IBM x236 on redhat-7.2? Does redhat-7.2 compatible with IBM x236? <> Randy M. Cuadra "Attack every problem with enthusiasm... As if your survival depended upon it." ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From Thomas.vonSteiger at swisscom.com Wed Sep 14 06:41:52 2005 From: Thomas.vonSteiger at swisscom.com (Thomas.vonSteiger at swisscom.com) Date: Wed, 14 Sep 2005 08:41:52 +0200 Subject: RHEL4 and Kernel Build from Source incl. xen source Message-ID: Hello, I like to patch the RHEL4 Kernel with xen Source. For this i need kernel.src.rpm, kernel-devel.rpm and xen Source. With "rpmbuild --bp" i can create BUILD tree with all patches. How i can go forward now with kernel-devel and /usr/src/redhat/BUILD Kernel Source ? Is there a howto about this, using kernel-devel with kernel.src for RHEL4 ? regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From cinetron at passport.ca Wed Sep 14 04:25:52 2005 From: cinetron at passport.ca (jim ruxton) Date: Wed, 14 Sep 2005 00:25:52 -0400 Subject: Having problems with rc.local In-Reply-To: <43276EC0.10000@vitalstream.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> <1126650446.5482.66.camel@localhost.localdomain> <43276EC0.10000@vitalstream.com> Message-ID: <1126671952.5482.70.camel@localhost.localdomain> > jim ruxton wrote: > > On Tue, 2005-09-13 at 16:08 -0600, karlp at ourldsfamily.com wrote: > > > >>On Tue, September 13, 2005 4:05 pm, Bob McClure Jr said: > >> > >>>On Tue, Sep 13, 2005 at 05:46:44PM -0400, jim ruxton wrote: > >>> > >>>>>If you would please, we prefer bottom posting here. > >>>>> > >>>>>http://en.wikipedia.org/wiki/Top-posting > >>>>> > >>>>>I'll rearrange this. > >>>>> > >>>>>On Tue, Sep 13, 2005 at 04:05:21PM -0400, jim ruxton wrote: > >>>>> > >>>>>>>On Tue, Sep 13, 2005 at 02:53:26PM -0400, jim ruxton wrote: > >>>>>>> > >>>>>>>>Hi I'm having a problem with a script I put in rc.local and I > >>>> > >>>>was > >>>> > >>>>>>>>wondering if anyone has any suggestions: > >>>>>>>>Below is my script: > >>>>>>>> > >>>>>>>>touch /var/lock/subsys/local > >>>>>>>>/sbin/rmmod uhci-hcd > >>>>>>>>/sbin/modprobe uhci-hcd > >>>>>>>>su - jim -c /home/jim/capture/camera_start_script.sh & > >>>>>>>> > >>>>>>>> > >>>>>>>>What I want to do is unload and reload uhci-hcd and start > >>>> > >>>>another > >>>> > >>>>>>>>script. I have a camera attached to a usb port and when the pc > >>>> > >>>>boots it > >>>> > >>>>>>>>doesn't load the camera driver correctly > >>>>>>> > >>>>>>>Let's fix the real problem, not the work-around. Look in > >>>>>>>/var/log/messages for error messages. Here's a quick way to do > >>>> > >>>>that. > >>>> > >>>>>>>Bring it up with less. Then hit '>' to go to end of file. Then > >>>> > >>>>hit > >>>> > >>>>>>>'?' (search backwards) and enter "restart". That should put you > >>>> > >>>>at > >>>> > >>>>>>>the beginning of the boot process in the log. Then you can either > >>>>>>>just page through it, or search forward (with '/') for "uhci". > >>>>>>> > >>>>>>> > >>>>>>>>but if after booting I reload > >>>>>>>>the uhci-hcd script all works fine. If I manually run rc.local > >>>> > >>>>this > >>>> > >>>>>>>>script works fine as well. So I thought rc.local was the last > >>>> > >>>>thing to > >>>> > >>>>>>>>to run but for some reason running it manually and letting the > >>>> > >>>>computer > >>>> > >>>>>>>>do it during bootup gives different results any idea why?? I > >>>> > >>>>know this > >>>> > >>>>>>>>is probably confusing. Thanks. > >>>>>>>>Jim > >>>>>>> > >>>>>>>You must remember that when rc.local runs at boot time, it has a > >>>> > >>>>very > >>>> > >>>>>>>austere (assume none) environment. When you run it by hand you > >>>> > >>>>have > >>>> > >>>>>>>all kinds of goodies in the environment. But let's not make > >>>>>>>work-arounds (which presently don't work). Let's fix the root > >>>>>>>problem. The kernel should load the driver(s) on demand. > >>>>>>> > >>>>>>>Cheers, > >>>>>> > >>>>>>_______________________________________________ > >>>>> > >>>>>>Thanks Bob, > >>>>>>Tried as you suggested. Not sure that it tells me much. Below is the > >>>>>>info. from /var/log/messages after booting up. and after that what > >>>> > >>>>was > >>>> > >>>>>>written after doing rc.local manually. It looks like in both cases > >>>> > >>>>the > >>>> > >>>>>>uhci info is being loaded identically ?? Do you see anything > >>>> > >>>>suspicious. > >>>> > >>>>>>My camera is on usb 5-1. > >>>>>> > >>>>>> > >>>>>> > >>>>>>jim > >>>>> > >>>>>Perhaps we need to back up a little further. Please describe what > >>>>>happens if you comment out the rc.local dodge and reboot. What is > >>>>>the end result that fails to happen? The camera is not acknowledged? > >>>>>What error messages? > >>>>> > >>>>>Also, to Rick Stevens: you may be able to solve this better than I. > >>>>>Feel free to jump in. > >>>> > >>>>Thanks Bob, > >>>>I'm ccing this to the developer of capture in case he has some ideas > >>>>about this. > >>> > >>>I think that's a good idea. > >>> > >>> > >>>>When I reboot without the rc.local dodge if I go to start my camera I > >>>>can't initialize it unless I turn the camera off and back on again once > >>>>the machine has booted. I'm using a program called capture based on > >>>>libptp http://www.ucl.cas.cz/~petr/plant-growth/ . > >>>> > >>>>normally I just issue a: > >>>>$ capture start > >>>>command to initialize the camera. If I turn the camera on boot the > >>>>machine and issue this it doesn't work. I get an error message saying > >>>>"can't initialize the camera" If I boot the machine then turn the camera > >>>>on it works fine. I am trying to build a system that allows someone to > >>>>turn on the camera, boot the machine and walk away. I haven't been able > >>>>to find any error messages in the system logs. Any more thoughts on > >>>>this? Thanks! > >>>>Jim > >>> > >>>Okay, if I understand correctly, after booting, just running "capture > >>>start" doesn't work. But if you either turn the camera off and back > >>>on, or unload and reload the USB driver, then "capture start" works. > >>> > >>>Hmm. I dunno. Someone else have an idea? > >>> > >>>Cheers, > >>>-- > >>>Bob McClure, Jr. Bobcat Open Systems, Inc. > >>>robertmcclure at earthlink.net http://www.bobcatos.com > >>>Peace at any price is inflationary. > >>> > >>>_______________________________________________ > >>>Redhat-install-list mailing list > >>>Redhat-install-list at redhat.com > >>>https://www.redhat.com/mailman/listinfo/redhat-install-list > >>>To Unsubscribe Go To ABOVE URL or send a message to: > >>>redhat-install-list-request at redhat.com > >>>Subject: unsubscribe > >>> > >> > >>I understand the situation the same way, Bob. As I've watched (tail -f > >>/var/log/messages) the log, I see that any activity on the port is only > >>picked up if there's a state change. Just unplugging the camera should > >>also work, if my theory is correct. > > > > Yes you are both corect. Unplugging the camera from the usb port also > > works. > > > >> I think this is a function of hotplug. > >>I wonder if running hotplug would work?... > > > > I can try it but I guess it is a similar dodge to what I was trying > > before. > > Well just tried running hotplug and it didn't work : ( . Any other > > thoughts?? > > I think I missed which OS this was. If it's FC4 or a 2.6.11 kernel, > there are issues with udev not enumerating correctly and requiring a > status change on the port (unplug, plug will do it). Supposedly fixed > in 2.6.12-1.1447, but I won't swear to it. > ---------------------------------------------------------- Thanks Rick, I'm using this kernel 2.6.12-1.1376_FC3 jim > ------------ > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Denial. It ain't just a river in Egypt anymore! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > From rstevens at vitalstream.com Wed Sep 14 21:46:16 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Wed, 14 Sep 2005 14:46:16 -0700 Subject: RHEL4 and Kernel Build from Source incl. xen source In-Reply-To: References: Message-ID: <43289A28.5010703@vitalstream.com> Thomas.vonSteiger at swisscom.com wrote: > Hello, > > I like to patch the RHEL4 Kernel with xen Source. > For this i need kernel.src.rpm, kernel-devel.rpm and xen Source. > With "rpmbuild --bp" i can create BUILD tree with all patches. > How i can go forward now with kernel-devel and /usr/src/redhat/BUILD > Kernel Source ? > Is there a howto about this, using kernel-devel with kernel.src for RHEL4 ? Well, "kernel-devel" is essentially the same thing as the old "kernel-source" RPM for the 2.4 kernels. It installs the kernel source in "/usr/src/kernels/(kernel-version-number)" as opposed to the old 2.4 location of "/usr/src/linux-(kernel-version)". In the future, either just install the "kernel-devel" RPM -OR- download, install, and "rpmbuild" the kernel source RPM. You don't need to do both. At this point, just "cd /download/directory;rpm -ivh kernel-devel*" as root and get on with building Xen. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Okay, who put a "stop payment" on my reality check? - ---------------------------------------------------------------------- From brad.mugleston at comcast.net Thu Sep 15 00:27:16 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Wed, 14 Sep 2005 18:27:16 -0600 (MDT) Subject: Samba - all messed up Message-ID: When things were simple (Windows 95) Samba setups were easy then Bill determined that he needed to make my life complicated. Now in my house I have some Windows 98 machines, some windows XP and even an old Win 95 laptop my daughter likes. I can print to my linus boxes and their printers but I can't seem to get everyone happy about sharing files from the Linux boxes where everything is saved. So how do I give access to Win95 through XP to my FC2 box using Samba? I've got password encription on (I think, I've messed withit so much I'm not sure anymore) I did that cause I couldn't see how to shut it off in the XP box. Does anyone have a quick how to set this up so everyone can play? BTW the NFS stuff is working great. Thanks, Brad Mugleston, KI0OT There are 10 types of people in this world. Those that understand binary and those that don't. From markknecht at gmail.com Thu Sep 15 01:20:32 2005 From: markknecht at gmail.com (Mark Knecht) Date: Wed, 14 Sep 2005 18:20:32 -0700 Subject: Samba - all messed up In-Reply-To: References: Message-ID: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> On 9/14/05, brad.mugleston at comcast.net wrote: > When things were simple (Windows 95) Samba setups were easy then > Bill determined that he needed to make my life complicated. > > Now in my house I have some Windows 98 machines, some windows XP > and even an old Win 95 laptop my daughter likes. > > I can print to my linus boxes and their printers but I can't seem > to get everyone happy about sharing files from the Linux boxes > where everything is saved. > > So how do I give access to Win95 through XP to my FC2 box using > Samba? I've got password encription on (I think, I've messed > withit so much I'm not sure anymore) I did that cause I couldn't > see how to shut it off in the XP box. > > Does anyone have a quick how to set this up so everyone can play? > > BTW the NFS stuff is working great. > > Thanks, > > Brad Mugleston, KI0OT Brad, I'll only suggest that it's pretty difficult. Consider making the Windows side of the house consistent in terms of Windows so that your work in this area is significantly simplified. Good luck, Mark From markknecht at gmail.com Thu Sep 15 01:20:32 2005 From: markknecht at gmail.com (Mark Knecht) Date: Wed, 14 Sep 2005 18:20:32 -0700 Subject: Samba - all messed up In-Reply-To: References: Message-ID: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> On 9/14/05, brad.mugleston at comcast.net wrote: > When things were simple (Windows 95) Samba setups were easy then > Bill determined that he needed to make my life complicated. > > Now in my house I have some Windows 98 machines, some windows XP > and even an old Win 95 laptop my daughter likes. > > I can print to my linus boxes and their printers but I can't seem > to get everyone happy about sharing files from the Linux boxes > where everything is saved. > > So how do I give access to Win95 through XP to my FC2 box using > Samba? I've got password encription on (I think, I've messed > withit so much I'm not sure anymore) I did that cause I couldn't > see how to shut it off in the XP box. > > Does anyone have a quick how to set this up so everyone can play? > > BTW the NFS stuff is working great. > > Thanks, > > Brad Mugleston, KI0OT Brad, I'll only suggest that it's pretty difficult. Consider making the Windows side of the house consistent in terms of Windows so that your work in this area is significantly simplified. Good luck, Mark From brad.mugleston at comcast.net Thu Sep 15 04:41:55 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Wed, 14 Sep 2005 22:41:55 -0600 (MDT) Subject: Samba - all messed up In-Reply-To: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> References: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> Message-ID: On Wed, 14 Sep 2005, Mark Knecht wrote: > On 9/14/05, brad.mugleston at comcast.net wrote: > > When things were simple (Windows 95) Samba setups were easy then > > Bill determined that he needed to make my life complicated. > > > > Now in my house I have some Windows 98 machines, some windows XP > > and even an old Win 95 laptop my daughter likes. > > > > I can print to my linus boxes and their printers but I can't seem > > to get everyone happy about sharing files from the Linux boxes > > where everything is saved. > > > > So how do I give access to Win95 through XP to my FC2 box using > > Samba? I've got password encription on (I think, I've messed > > withit so much I'm not sure anymore) I did that cause I couldn't > > see how to shut it off in the XP box. > > > > Does anyone have a quick how to set this up so everyone can play? > > > > BTW the NFS stuff is working great. > > > > Thanks, > > > > Brad Mugleston, KI0OT > > Brad, > I'll only suggest that it's pretty difficult. Consider making the > Windows side of the house consistent in terms of Windows so that your > work in this area is significantly simplified. > > Good luck, > Mark > Mark, Thanks - I'd like to make the windows side consistent and load Linux on them all BUT thats not possible at this time. The XP machines are relatively new but the older machines would not handle XP or don't want to risk loosing what they have on them. I'll try to move forward as best as possible. Brad From Thomas.vonSteiger at swisscom.com Thu Sep 15 05:53:17 2005 From: Thomas.vonSteiger at swisscom.com (Thomas.vonSteiger at swisscom.com) Date: Thu, 15 Sep 2005 07:53:17 +0200 Subject: RHEL4 and Kernel Build from Source incl. xen source Message-ID: My kernel-2.6.9-11.EL.src.rpm has 39,4Mb and kernel-devel-2.6.9-11.EL.i686.rpm has 3,7Mb I think, inside kernel-devel there is no kernel source. There are only Makefile and Headerfile in kernel-devel. Both rpm's are from rhn. Are you have done this with xen ? -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Wednesday, September 14, 2005 11:46 PM To: Getting started with Red Hat Linux Subject: Re: RHEL4 and Kernel Build from Source incl. xen source Thomas.vonSteiger at swisscom.com wrote: > Hello, > > I like to patch the RHEL4 Kernel with xen Source. > For this i need kernel.src.rpm, kernel-devel.rpm and xen Source. > With "rpmbuild --bp" i can create BUILD tree with all patches. > How i can go forward now with kernel-devel and /usr/src/redhat/BUILD > Kernel Source ? > Is there a howto about this, using kernel-devel with kernel.src for RHEL4 ? Well, "kernel-devel" is essentially the same thing as the old "kernel-source" RPM for the 2.4 kernels. It installs the kernel source in "/usr/src/kernels/(kernel-version-number)" as opposed to the old 2.4 location of "/usr/src/linux-(kernel-version)". In the future, either just install the "kernel-devel" RPM -OR- download, install, and "rpmbuild" the kernel source RPM. You don't need to do both. At this point, just "cd /download/directory;rpm -ivh kernel-devel*" as root and get on with building Xen. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Okay, who put a "stop payment" on my reality check? - ---------------------------------------------------------------------- _______________________________________________ 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 cinetron at passport.ca Thu Sep 15 06:01:37 2005 From: cinetron at passport.ca (jim ruxton) Date: Thu, 15 Sep 2005 02:01:37 -0400 Subject: Having problems with rc.local In-Reply-To: <43289191.8050007@vitalstream.com> References: <1126637606.5482.27.camel@localhost.localdomain> <20050913191337.GA19882@bobcat.bobcatos.com> <1126641921.5482.37.camel@localhost.localdomain> <20050913212322.GA24668@bobcat.bobcatos.com> <1126648004.5482.51.camel@localhost.localdomain> <20050913220519.GA25782@bobcat.bobcatos.com> <32873.207.173.117.242.1126649330.squirrel@ourldsfamily.com> <1126650446.5482.66.camel@localhost.localdomain> <43276EC0.10000@vitalstream.com> <1126685916.5482.81.camel@localhost.localdomain> <43284EAE.2070604@vitalstream.com> <1126718281.5485.8.camel@localhost.localdomain> <43289191.8050007@vitalstream.com> Message-ID: <1126764097.28087.18.camel@localhost.localdomain> On Wed, 2005-09-14 at 14:09 -0700, Rick Stevens wrote: > jim ruxton wrote: > > On Wed, 2005-09-14 at 09:24 -0700, Rick Stevens wrote: > > > >>jim ruxton wrote: > >>[snip] > >> > >>>>I think I missed which OS this was. If it's FC4 or a 2.6.11 kernel, > >>>>there are issues with udev not enumerating correctly and requiring a > >>>>status change on the port (unplug, plug will do it). Supposedly fixed > >>>>in 2.6.12-1.1447, but I won't swear to it. > >>> > >>> > >>>Well I thought I was getting somewhere. I decided to use the script that > >>>is started when the camera is turned on to start my script. When the > >>>camera is switched on or plugged in the script /etc/hotplug/usb/usbcam > >>>is started. If I start my script normally in this script all looks good. > >>>ie. > >>> /home/jim/capture/camera_start_script.sh & but it is run by root. > >>> > >>>but if I try to start it as a user ie. > >>> > >>>su - jim -c /home/jim/capture/camera_start_script.sh & > >>> > >>>then for some reason 3 copies of the script get executed. I can't figure > >>>out what is going on here, any ideas? I only need 1 copy to run, in fact > >>>three copies running messes me up?? Thanks for any suggestions. > >> > >>Oops, disregard my last posting (mouse button stuck). > >> > >>We'd need to see the script itself, Jim. > > > > Thanks Rick, > > Here is the script that starts the camera > > ie. /home/jim/capture/camera_start_script.sh: > > > > #!/bin/sh > > # > > # This script starts camera > > capture start & > > cd /home/jim/capture > > python pythoncapture.py & > > > > and here is the usbcam script that starts when camera is turned on or > > plugged in: > > > > #!/bin/bash > > # $Id: usbcam.console,v 1.4 2002/09/12 16:50:18 hun Exp $ > > # > > # /etc/hotplug/usb/usbcam > > # > > # Sets up newly plugged in USB camera so that the user who owns > > # the console according to pam_console can access it from user space > > # > > # Note that for this script to work, you'll need all of the following: > > # a) a line in the file /etc/hotplug/usermap that corresponds to the > > # camera you are using. You can get the correct lines for all cameras > > # supported by libgphoto2 by running "print-usb-usermap". > > # b) a setup using pam_console creates the respective lock files > > # containing the name of the respective user. You can check for that > > # by executing "echo `cat /var/{run,lock}/console.lock`" and > > # verifying the appropriate user is mentioned somewhere there. > > # c) a Linux kernel supporting hotplug and usbdevfs > > # d) the hotplug package (http://linux-hotplug.sourceforge.net/) > > # > > # In the usermap file, the first field "usb module" should be named > > # "usbcam" like this script. > > # > > > > if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] > > then > > # New code, using lock files instead of copying /dev/console > > permissions > > # This also works with non-gdm logins (e.g. on a virtual terminal) > > # Idea and code from Nalin Dahyabhai > > if [ -f /var/run/console/console.lock ] > > then > > CONSOLEOWNER=`cat /var/run/console/console.lock` > > elif [ -f /var/run/console.lock ] > > then > > CONSOLEOWNER=`cat /var/run/console.lock` > > elif [ -f /var/lock/console.lock ] > > then > > CONSOLEOWNER=`cat /var/lock/console.lock` > > else > > CONSOLEOWNER= > > fi > > if [ -n "$CONSOLEOWNER" ] > > then > > chmod 0000 "${DEVICE}" > > chown "$CONSOLEOWNER" "${DEVICE}" > > chown "$USER" "${DEVICE}" > > chmod 0600 "${DEVICE}" > > fi > > fi > > killall -9 capture python > > su - jim -c /home/jim/capture/camera_start_script.sh & > > > > I put the killall in there just to try and be sure there are no other > > copies running but doesn't help. Any thoughts. Also for some reason my > > last 2 emails haven't been going to the install list. Not sure what is > > up with that. > > Well, hmmm. First off, I'd change the "camera_start_script.sh" script > as follows: > > #!/bin/sh > # > # This script starts camera > nohup capture start & > cd /home/jim/capture > nohup python pythoncapture.py & > > It's entirely possible that "capture" and "pythoncapture.py" want a > console. If so, and you run them from /etc/rc or the hotplug system, > then there's no console for those programs set up and they won't run. > "nohup" redirects stdout and stderr to ~$HOME/nohup.out and makes the > program being run think there's a console attached. Give that a whirl > and see if it works for you. I tried putting the above script directly in the usbcam script but it still didn't make a difference. When I use su - jim -c "pythoncapture.py" & I still get 3 versions of the python program running. Only 1 if it runs as root. Very strange. I tried another short python test program and got the same thing. When I start the camera using su - jim -c "python pythoncapture.py" & in /var/log/messages I get this: Sep 15 01:30:16 localhost su(pam_unix)[23477]: session opened for user jim by (uid=0) Sep 15 01:30:16 localhost su(pam_unix)[23495]: session opened for user jim by (uid=0) Sep 15 01:30:17 localhost su(pam_unix)[23516]: session opened for user jim by (uid=0) Anymore thoughts on this? Thanks. Jim > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - If Bill Gates got a dime for every time Windows crashes... - > - ...oh, wait. He does. THAT explains it! - > ---------------------------------------------------------------------- > From robertmcclure at earthlink.net Thu Sep 15 12:57:49 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Thu, 15 Sep 2005 07:57:49 -0500 Subject: Samba - all messed up In-Reply-To: References: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> Message-ID: <20050915125749.GA31744@bobcat.bobcatos.com> On Wed, Sep 14, 2005 at 10:41:55PM -0600, brad.mugleston at comcast.net wrote: > On Wed, 14 Sep 2005, Mark Knecht wrote: > > > On 9/14/05, brad.mugleston at comcast.net wrote: > > > When things were simple (Windows 95) Samba setups were easy then > > > Bill determined that he needed to make my life complicated. > > > > > > Now in my house I have some Windows 98 machines, some windows XP > > > and even an old Win 95 laptop my daughter likes. > > > > > > I can print to my linus boxes and their printers but I can't seem > > > to get everyone happy about sharing files from the Linux boxes > > > where everything is saved. > > > > > > So how do I give access to Win95 through XP to my FC2 box using > > > Samba? I've got password encription on (I think, I've messed > > > withit so much I'm not sure anymore) I did that cause I couldn't > > > see how to shut it off in the XP box. > > > > > > Does anyone have a quick how to set this up so everyone can play? > > > > > > BTW the NFS stuff is working great. > > > > > > Thanks, > > > > > > Brad Mugleston, KI0OT > > > > Brad, > > I'll only suggest that it's pretty difficult. Consider making the > > Windows side of the house consistent in terms of Windows so that your > > work in this area is significantly simplified. > > > > Good luck, > > Mark > > > Mark, > > Thanks - I'd like to make the windows side consistent and load > Linux on them all BUT thats not possible at this time. The XP > machines are relatively new but the older machines would not > handle XP or don't want to risk loosing what they have on them. > > I'll try to move forward as best as possible. > > Brad I think what Mark means is that older Winxx defaulted to plaintext passwords, while later ones defaulted to encrypted. You probably need to set your Win9x boxes to encrypt passwords. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From rstevens at vitalstream.com Thu Sep 15 16:48:21 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 15 Sep 2005 09:48:21 -0700 Subject: Samba - all messed up In-Reply-To: <20050915125749.GA31744@bobcat.bobcatos.com> References: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> <20050915125749.GA31744@bobcat.bobcatos.com> Message-ID: <4329A5D5.9080207@vitalstream.com> Bob McClure Jr wrote: > On Wed, Sep 14, 2005 at 10:41:55PM -0600, brad.mugleston at comcast.net wrote: > >>On Wed, 14 Sep 2005, Mark Knecht wrote: >> >> >>>On 9/14/05, brad.mugleston at comcast.net wrote: >>> >>>>When things were simple (Windows 95) Samba setups were easy then >>>>Bill determined that he needed to make my life complicated. >>>> >>>>Now in my house I have some Windows 98 machines, some windows XP >>>>and even an old Win 95 laptop my daughter likes. >>>> >>>>I can print to my linus boxes and their printers but I can't seem >>>>to get everyone happy about sharing files from the Linux boxes >>>>where everything is saved. >>>> >>>>So how do I give access to Win95 through XP to my FC2 box using >>>>Samba? I've got password encription on (I think, I've messed >>>>withit so much I'm not sure anymore) I did that cause I couldn't >>>>see how to shut it off in the XP box. >>>> >>>>Does anyone have a quick how to set this up so everyone can play? >>>> >>>>BTW the NFS stuff is working great. >>>> >>>>Thanks, >>>> >>>>Brad Mugleston, KI0OT >>> >>>Brad, >>> I'll only suggest that it's pretty difficult. Consider making the >>>Windows side of the house consistent in terms of Windows so that your >>>work in this area is significantly simplified. >>> >>>Good luck, >>>Mark >>> >> >>Mark, >> >>Thanks - I'd like to make the windows side consistent and load >>Linux on them all BUT thats not possible at this time. The XP >>machines are relatively new but the older machines would not >>handle XP or don't want to risk loosing what they have on them. >> >>I'll try to move forward as best as possible. >> >>Brad > > > I think what Mark means is that older Winxx defaulted to plaintext > passwords, while later ones defaulted to encrypted. You probably need > to set your Win9x boxes to encrypt passwords. Correct. The following Windows versions used plaintext passwords: 3.11 (Windows for Workgroups) 95 (without SMB patch) WinNT V3.xx WinNT V4.x (before SP3) The following use encrypted passwords: 95 (with SMB patch) 98 CE (PDAs and such) ME NT V4.x (with SP3 or later) XP 2000 2003 Unfortunately, under "user level" security mode, Samba can only do one mode at a time, either encrypted or plaintext. If you use domain- or server-level security (which would allow mixed plaintext and encrypted passwords), you need a Windows PDC somewhere on your network to do the password validation. AFAIK, if you MUST keep a Windows version that uses plaintext, you'll have to make them ALL use plaintext. This can be done by modifying the registry. The Samba distribution includes files to do that. Go to the /usr/share/doc/samba-(version)/registry directory. In there you'll find files named "*_PlainPassword.reg". Find the one that's appropriate for your use (for XP, use the Win2000 file), copy it to a DOS formatted floppy, take the floppy to the offending machine and EXECUTE the .reg file. This will turn off encrypted passwords on the machine. You can then set "encrypt passwords = no" in /etc/samba/smb.conf and use plaintext. Note, however, that your network is now vulnerable to password sniffing using stupid tools like tcpdump. Since this is your home LAN, that may not be much of an issue. I would NOT recommend this to anyone whose network is exposed to the Internet in any way, shape or form. By the way, I HIGHLY recommend you get a copy of O'Reilly's "Using Samba", 2nd edition, by Ts, Eckstein and Collier-Brown. This is all explained in chapter 9, starting on page 296. Stupid Windows Joke: Have you ever noticed what Windows has become with CE, ME and NT? Coincidence? ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The moving cursor writes, and having written, blinks on. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 15 17:22:06 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 15 Sep 2005 10:22:06 -0700 Subject: RHEL4 and Kernel Build from Source incl. xen source In-Reply-To: References: Message-ID: <4329ADBE.2000102@vitalstream.com> Thomas.vonSteiger at swisscom.com wrote: > > My kernel-2.6.9-11.EL.src.rpm has 39,4Mb and > kernel-devel-2.6.9-11.EL.i686.rpm has 3,7Mb > I think, inside kernel-devel there is no kernel source. > There are only Makefile and Headerfile in kernel-devel. You're right, I misspoke. kernel-devel is eqivalent (sorta) to the old kernel-headers RPM. Anyway, the process to build the kernel source is to (as root): 1. Download the kernel source RPM 2. Install it 3. Execute these commands: # cd /usr/src/redhat/SPEC # rpmbuild --bp --target=i686 kernel-2.6.spec # cd ../BUILD/kernel-2.6/linux-2.6.9 # cp -a * /usr/src/linux-2.6.9-11 You now have a full kernel source tree in /usr/src/linux-2.6.9-11. Edit the "Makefile" and change the "EXTRAVERSION=" line to reflect your patchlevel and such. Then configure the kernel normally and away you go. No, I've not used Xen. Just haven't had the time. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Never eat anything larger than your head - ---------------------------------------------------------------------- From markknecht at gmail.com Thu Sep 15 17:38:03 2005 From: markknecht at gmail.com (Mark Knecht) Date: Thu, 15 Sep 2005 10:38:03 -0700 Subject: Samba - all messed up In-Reply-To: <4329A5D5.9080207@vitalstream.com> References: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> <20050915125749.GA31744@bobcat.bobcatos.com> <4329A5D5.9080207@vitalstream.com> Message-ID: <5bdc1c8b050915103851782812@mail.gmail.com> On 9/15/05, Rick Stevens wrote: > > > > I think what Mark means is that older Winxx defaulted to plaintext > > passwords, while later ones defaulted to encrypted. You probably need > > to set your Win9x boxes to encrypt passwords. > > Correct. The following Windows versions used plaintext passwords: > > 3.11 (Windows for Workgroups) > 95 (without SMB patch) > WinNT V3.xx > WinNT V4.x (before SP3) > > The following use encrypted passwords: > > 95 (with SMB patch) > 98 > CE (PDAs and such) > ME > NT V4.x (with SP3 or later) > XP > 2000 > 2003 > > Unfortunately, under "user level" security mode, Samba can only do one > mode at a time, either encrypted or plaintext. If you use domain- or > server-level security (which would allow mixed plaintext and encrypted > passwords), you need a Windows PDC somewhere on your network to do the > password validation. > > AFAIK, if you MUST keep a Windows version that uses plaintext, you'll > have to make them ALL use plaintext. This can be done by modifying the > registry. The Samba distribution includes files to do that. > > Go to the /usr/share/doc/samba-(version)/registry directory. In there > you'll find files named "*_PlainPassword.reg". Find the one that's > appropriate for your use (for XP, use the Win2000 file), copy it to a > DOS formatted floppy, take the floppy to the offending machine and > EXECUTE the .reg file. This will turn off encrypted passwords on the > machine. You can then set "encrypt passwords = no" in > /etc/samba/smb.conf and use plaintext. > > Note, however, that your network is now vulnerable to password sniffing > using stupid tools like tcpdump. Since this is your home LAN, that may > not be much of an issue. I would NOT recommend this to anyone whose > network is exposed to the Internet in any way, shape or form. > > By the way, I HIGHLY recommend you get a copy of O'Reilly's "Using > Samba", 2nd edition, by Ts, Eckstein and Collier-Brown. This is all > explained in chapter 9, starting on page 296. > > Stupid Windows Joke: Have you ever noticed what Windows has become > with CE, ME and NT? Coincidence? Great info Rick. I've starred this email and will save it. I knew about the encrypted vs. non-encrypted password issue but didn't know which OS did it which way. Good list here. Thanks, Mark From kostassf at cha.forthnet.gr Thu Sep 15 20:25:35 2005 From: kostassf at cha.forthnet.gr (Kostas Sfakiotakis) Date: Thu, 15 Sep 2005 23:25:35 +0300 Subject: Samba - all messed up In-Reply-To: References: Message-ID: <4329D8BF.1010305@cha.forthnet.gr> Greetings Brad , brad.mugleston at comcast.net wrote: > When things were simple (Windows 95) Samba setups were easy then > Bill determined that he needed to make my life complicated. > > Now in my house I have some Windows 98 machines, some windows XP > and even an old Win 95 laptop my daughter likes. > > I can print to my linus boxes and their printers but I can't seem > to get everyone happy about sharing files from the Linux boxes > where everything is saved. Check the valid user setting on the Linux box . > So how do I give access to Win95 through XP to my FC2 box using > Samba? Is it doable to make a Subnet with the Windows machines by putting one XP machine as a server and the rest as clients ? I've got password encription on (I think, I've messed > withit so much I'm not sure anymore) I did that cause I couldn't > see how to shut it off in the XP box. As far as the XP are concerned , well i can only say one thing . I wouldn't really enjoy playing with LSA ( the Local Security Authority ) / the NT Authority Subsystem , the thing that controls passwords and the rest that concern security . If anyone else doesn't find it in the meantime i will reboot and check for it . Chances are that a good starting point in Start --> Run --> mmc ( Microsoft Management Console ) In Webmin under the Servers tab there is Samba Windows File sharing under that there is a button called Authentication , upon pressing that you will get to a screen where the first option reads Use encrypted passwords . At least set the Unix side from the there so you have a starting point . > > Does anyone have a quick how to set this up so everyone can play? > Well i have succeded in file sharing between my sisters computer , which runs Windows XP Proffessional the Greek Version and my computer which runs Fedora Core 1 . Now Webmin has been of great help . It is rather safe to play with it in order to find the correct settings . I have used user level authentication . > BTW the NFS stuff is working great. Well the fact that NFS is working great isn't really saying anything because there are different daemons involved . Kind Regards, Kostas From Jack.Allen at McKesson.com Thu Sep 15 20:53:06 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Thu, 15 Sep 2005 16:53:06 -0400 Subject: Add/remove programs Message-ID: I know if you are logged in via X on the system console you can Add/Remove programs from the Install CDs. Is there a command at the shell prompt to do the same thing? I know I have asked this before and there was on AS 3, but this is AS 4 and I can not find my old email about this. Thanks: Jack Allen -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Thu Sep 15 21:17:25 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 15 Sep 2005 14:17:25 -0700 Subject: Add/remove programs In-Reply-To: References: Message-ID: <4329E4E5.7050608@vitalstream.com> Allen, Jack wrote: > I know if you are logged in via X on the system console you can > Add/Remove programs from the Install CDs. Is there a command at the > shell prompt to do the same thing? I know I have asked this before and > there was on AS 3, but this is AS 4 and I can not find my old email > about this. Sure, "redhat-install-packages" is the actual command that's run. Or you could use RPM directly: # rpm -ivh /media/cdrom/RedHat/RPMS/name-of-rpm.rpm ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Never test for an error condition you don't know how to handle. - ---------------------------------------------------------------------- From Jack.Allen at McKesson.com Thu Sep 15 21:35:25 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Thu, 15 Sep 2005 17:35:25 -0400 Subject: Add/remove programs Message-ID: -----Original Message----- From: Rick Stevens [mailto:rstevens at vitalstream.com] Sent: Thursday, September 15, 2005 5:17 PM To: Getting started with Red Hat Linux Subject: Re: Add/remove programs Allen, Jack wrote: > I know if you are logged in via X on the system console you can > Add/Remove programs from the Install CDs. Is there a command at the > shell prompt to do the same thing? I know I have asked this before and > there was on AS 3, but this is AS 4 and I can not find my old email > about this. Sure, "redhat-install-packages" is the actual command that's run. Or you could use RPM directly: # rpm -ivh /media/cdrom/RedHat/RPMS/name-of-rpm.rpm ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Never test for an error condition you don't know how to handle. - ---------------------------------------------------------------------- I can not find "redhat-install-packages" anywhere. I did (find / -name "redhat-install*" -print) and it returns nothing. I don't know the name of the package, so I was hoping to get a list somewhat like you get when you are first installing the system. Then I would pick the item I wanted. Thanks: Jack Allen From robertmcclure at earthlink.net Thu Sep 15 23:25:14 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Thu, 15 Sep 2005 18:25:14 -0500 Subject: Add/remove programs In-Reply-To: References: Message-ID: <20050915232514.GA20485@bobcat.bobcatos.com> On Thu, Sep 15, 2005 at 05:35:25PM -0400, Allen, Jack wrote: > > > -----Original Message----- > From: Rick Stevens [mailto:rstevens at vitalstream.com] > Sent: Thursday, September 15, 2005 5:17 PM > To: Getting started with Red Hat Linux > Subject: Re: Add/remove programs > > > Allen, Jack wrote: > > I know if you are logged in via X on the system console you can > > Add/Remove programs from the Install CDs. Is there a command at the > > shell prompt to do the same thing? I know I have asked this before and > > there was on AS 3, but this is AS 4 and I can not find my old email > > about this. > > Sure, "redhat-install-packages" is the actual command that's run. Or > you could use RPM directly: > > # rpm -ivh /media/cdrom/RedHat/RPMS/name-of-rpm.rpm > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Never test for an error condition you don't know how to handle. - > ---------------------------------------------------------------------- > > I can not find "redhat-install-packages" anywhere. I did (find / -name > "redhat-install*" -print) and it returns nothing. I don't know the name of > the package, so I was hoping to get a list somewhat like you get when you > are first installing the system. Then I would pick the item I wanted. > > Thanks: > Jack Allen I'm not familiar with the AS series, but at Fedora Core 2, it became "system-config-packages", so look for that or maybe "system-install-packages". Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From Jack.Allen at McKesson.com Thu Sep 15 23:58:53 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Thu, 15 Sep 2005 19:58:53 -0400 Subject: Add/remove programs Message-ID: -----Original Message----- From: Bob McClure Jr [mailto:robertmcclure at earthlink.net] Sent: Thursday, September 15, 2005 7:25 PM To: Getting started with Red Hat Linux Subject: Re: Add/remove programs On Thu, Sep 15, 2005 at 05:35:25PM -0400, Allen, Jack wrote: > > > -----Original Message----- > From: Rick Stevens [mailto:rstevens at vitalstream.com] > Sent: Thursday, September 15, 2005 5:17 PM > To: Getting started with Red Hat Linux > Subject: Re: Add/remove programs > > > Allen, Jack wrote: > > I know if you are logged in via X on the system console you can > > Add/Remove programs from the Install CDs. Is there a command at the > > shell prompt to do the same thing? I know I have asked this before and > > there was on AS 3, but this is AS 4 and I can not find my old email > > about this. > > Sure, "redhat-install-packages" is the actual command that's run. Or > you could use RPM directly: > > # rpm -ivh /media/cdrom/RedHat/RPMS/name-of-rpm.rpm > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Never test for an error condition you don't know how to handle. - > ---------------------------------------------------------------------- > > I can not find "redhat-install-packages" anywhere. I did (find / -name > "redhat-install*" -print) and it returns nothing. I don't know the name of > the package, so I was hoping to get a list somewhat like you get when you > are first installing the system. Then I would pick the item I wanted. > > Thanks: > Jack Allen I'm not familiar with the AS series, but at Fedora Core 2, it became "system-config-packages", so look for that or maybe "system-install-packages". Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. ========== Thanks. That is sort of what I was looking for. They will allow me to do some things from my desk with out having to go to the computer center her at the office. I have to run WRQ Reflections X to use them. What I was really looking for was a dumb terminal interface to be able to do things on a customer's system that I can only access via telnet through a firewall. Jack Allen From rstevens at vitalstream.com Fri Sep 16 00:41:21 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 15 Sep 2005 17:41:21 -0700 Subject: Add/remove programs In-Reply-To: References: Message-ID: <432A14B1.7040602@vitalstream.com> Allen, Jack wrote: > Thanks. That is sort of what I was looking for. They will allow me to > do some things from my desk with out having to go to the computer > center her at the office. I have to run WRQ Reflections X to use them. > What I was really looking for was a dumb terminal interface to be able > to do things on a customer's system that I can only access via telnet > through a firewall. I think Bob was right. FC2 (which AS/ES4 is based on), renamed the command to "/usr/bin/system-install-packages". I didn't know if Red Hat had reverted back to "redhat-install-packages" since its the commercial product. In text mode, you'll probably have to use rpm directly as I mentioned in a previous message, as "system-install-packages" (as well as "system-config-packages") expects the GUI environment. When you put in a Red Hat CD, it'll mount as /media/cdrom, and the RPM files will be located in /media/cdrom/RedHat/RPMS If the machine is registered with Red Hat, you can use up2date -i packagename to do it as well (it will pull the package down from the Red Hat Network servers as opposed to the CD). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Do you suffer from long-term memory loss?" "I don't remember" - - -- Chumbawumba, "Amnesia" (TubThumping) - ---------------------------------------------------------------------- From brad.mugleston at comcast.net Fri Sep 16 02:45:10 2005 From: brad.mugleston at comcast.net (brad.mugleston at comcast.net) Date: Thu, 15 Sep 2005 20:45:10 -0600 (MDT) Subject: Samba - all messed up In-Reply-To: <4329A5D5.9080207@vitalstream.com> References: <5bdc1c8b05091418204ac4fb86@mail.gmail.com> <20050915125749.GA31744@bobcat.bobcatos.com> <4329A5D5.9080207@vitalstream.com> Message-ID: On Thu, 15 Sep 2005, Rick Stevens wrote: > Bob McClure Jr wrote: > > On Wed, Sep 14, 2005 at 10:41:55PM -0600, brad.mugleston at comcast.net wrote: > > > > > On Wed, 14 Sep 2005, Mark Knecht wrote: > > > > > > > > > > On 9/14/05, brad.mugleston at comcast.net > > > > wrote: > > > > > > > > > When things were simple (Windows 95) Samba setups were easy then > > > > > Bill determined that he needed to make my life complicated. > > > > > > > > > > Now in my house I have some Windows 98 machines, some windows XP > > > > > and even an old Win 95 laptop my daughter likes. > > > > > > > > > > I can print to my linus boxes and their printers but I can't seem > > > > > to get everyone happy about sharing files from the Linux boxes > > > > > where everything is saved. > > > > > > > > > > So how do I give access to Win95 through XP to my FC2 box using > > > > > Samba? I've got password encription on (I think, I've messed > > > > > withit so much I'm not sure anymore) I did that cause I couldn't > > > > > see how to shut it off in the XP box. > > > > > > > > > > Does anyone have a quick how to set this up so everyone can play? > > > > > > > > > > BTW the NFS stuff is working great. > > > > > > > > > > Thanks, > > > > > > > > > > Brad Mugleston, KI0OT > > > > > > > > Brad, > > > > I'll only suggest that it's pretty difficult. Consider making the > > > > Windows side of the house consistent in terms of Windows so that your > > > > work in this area is significantly simplified. > > > > > > > > Good luck, > > > > Mark > > > > > > > > > > Mark, > > > > > > Thanks - I'd like to make the windows side consistent and load > > > Linux on them all BUT thats not possible at this time. The XP > > > machines are relatively new but the older machines would not > > > handle XP or don't want to risk loosing what they have on them. > > > > > > I'll try to move forward as best as possible. > > > > > > Brad > > > > > > I think what Mark means is that older Winxx defaulted to plaintext > > passwords, while later ones defaulted to encrypted. You probably need > > to set your Win9x boxes to encrypt passwords. > > Correct. The following Windows versions used plaintext passwords: > > 3.11 (Windows for Workgroups) > 95 (without SMB patch) > WinNT V3.xx > WinNT V4.x (before SP3) > > The following use encrypted passwords: > > 95 (with SMB patch) > 98 > CE (PDAs and such) > ME > NT V4.x (with SP3 or later) > XP > 2000 > 2003 > > Unfortunately, under "user level" security mode, Samba can only do one > mode at a time, either encrypted or plaintext. If you use domain- or > server-level security (which would allow mixed plaintext and encrypted > passwords), you need a Windows PDC somewhere on your network to do the > password validation. > > AFAIK, if you MUST keep a Windows version that uses plaintext, you'll > have to make them ALL use plaintext. This can be done by modifying the > registry. The Samba distribution includes files to do that. > > Go to the /usr/share/doc/samba-(version)/registry directory. In there > you'll find files named "*_PlainPassword.reg". Find the one that's > appropriate for your use (for XP, use the Win2000 file), copy it to a > DOS formatted floppy, take the floppy to the offending machine and > EXECUTE the .reg file. This will turn off encrypted passwords on the > machine. You can then set "encrypt passwords = no" in > /etc/samba/smb.conf and use plaintext. > > Note, however, that your network is now vulnerable to password sniffing > using stupid tools like tcpdump. Since this is your home LAN, that may > not be much of an issue. I would NOT recommend this to anyone whose > network is exposed to the Internet in any way, shape or form. > > By the way, I HIGHLY recommend you get a copy of O'Reilly's "Using > Samba", 2nd edition, by Ts, Eckstein and Collier-Brown. This is all > explained in chapter 9, starting on page 296. > > Stupid Windows Joke: Have you ever noticed what Windows has become > with CE, ME and NT? Coincidence? > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - The moving cursor writes, and having written, blinks on. - > ---------------------------------------------------------------------- Thanks Rick and everyone else. I kind of thought that the easiest way would be to have plain text passwords but had no idea how to set them all back up. I'll go back and fix everything after a good nights sleep - been up too much this week. Brad From redhat at buglecreek.com Fri Sep 16 15:47:45 2005 From: redhat at buglecreek.com (redhat at buglecreek.com) Date: Fri, 16 Sep 2005 09:47:45 -0600 Subject: Owner:Group on untarred program Message-ID: <1126885665.27498.243083266@webmail.messagingengine.com> I untared a program (chkrootkit) as root on a Redhat ES4 system and the directory it created has the following owner and group: drwxr-xr-x 2 1000 1000 4096 UID 1000 and GID 1000 does not exist on the system. After I compiled the source the files in the directory have the following owner and group: -r--r--r-- 1 1000 1000 3365 Feb 21 2005 ACKNOWLEDGMENTS -rwxr-xr-x 1 root root 2860 Sep 8 14:48 check_wtmpx -r--r--r-- 1 1000 1000 7195 Sep 6 2004 check_wtmpx.c -rwxr-xr-x 1 root root 6144 Sep 8 14:48 chkdirs -r--r--r-- 1 1000 1000 6781 Sep 6 2004 chkdirs.c -rwxr-xr-x 1 root root 6656 Sep 8 14:48 chklastlog -r--r--r-- 1 1000 1000 7730 Nov 16 2004 chklastlog.c -rwxr-xr-x 1 root root 6768 Sep 8 14:48 chkproc -r--r--r-- 1 1000 1000 7613 Sep 13 2004 chkproc.c -rw-r--r-- 1 root root 4603 Sep 8 14:50 chkroot_09_08_05 -rwxr-xr-x 1 1000 wheel 71149 Feb 22 2005 chkrootkit ... All executables are owned by root but the .c files are UID 1000. Doing a tar tzvf on the tar ball outputs: drwxr-xr-x rn/ 0 2005-02-22 07:06:40 chkrootkit-0.45/ -r--r--r-- rn/ 8771 2004-09-06 13:24:56 chkrootkit-0.45/ifpromisc.c -r--r--r-- rn/ 1343 2004-09-06 13:24:56 chkrootkit-0.45/COPYRIGHT -r--r--r-- rn/ 6781 2004-09-06 13:24:56 chkrootkit-0.45/chkdirs.c -r--r--r-- rn/ 7195 2004-09-06 13:24:56 chkrootkit-0.45/check_wtmpx.c -r--r--r-- rn/ 571 2005-02-21 14:20:46 chkrootkit-0.45/chkrootkit.lsm ... Why is the owner and group 1000 when that does not exist on the system? I assume that the user and group ids were from the system that the tar was made on? Is this the case? Also, what does the rn/ mean in the tar file? Thank You From sabraham at cwjamaica.com Fri Sep 16 16:37:19 2005 From: sabraham at cwjamaica.com (Sidney Abrahams) Date: Fri, 16 Sep 2005 11:37:19 -0500 Subject: Compress command and the old BuilCD application on Red Hat Enterprise 4 WS In-Reply-To: <4329E4E5.7050608@vitalstream.com> Message-ID: <20050916163755.90A9015D0D@smtp.cwjamaica.com> I need to use the compress feature to save data to an ext2 file, and then use the Buildcd to save it to a CD writer. How can I get that done in WS 4? From robertmcclure at earthlink.net Fri Sep 16 16:46:40 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Fri, 16 Sep 2005 11:46:40 -0500 Subject: Owner:Group on untarred program In-Reply-To: <1126885665.27498.243083266@webmail.messagingengine.com> References: <1126885665.27498.243083266@webmail.messagingengine.com> Message-ID: <20050916164640.GA18040@bobcat.bobcatos.com> On Fri, Sep 16, 2005 at 09:47:45AM -0600, redhat at buglecreek.com wrote: > I untared a program (chkrootkit) as root on a Redhat ES4 system and the > directory it created has the following owner and group: > drwxr-xr-x 2 1000 1000 4096 > UID 1000 and GID 1000 does not exist on the system. After I compiled the > source the files in the directory have the following owner and group: > -r--r--r-- 1 1000 1000 3365 Feb 21 2005 ACKNOWLEDGMENTS > -rwxr-xr-x 1 root root 2860 Sep 8 14:48 check_wtmpx > -r--r--r-- 1 1000 1000 7195 Sep 6 2004 check_wtmpx.c > -rwxr-xr-x 1 root root 6144 Sep 8 14:48 chkdirs > -r--r--r-- 1 1000 1000 6781 Sep 6 2004 chkdirs.c > -rwxr-xr-x 1 root root 6656 Sep 8 14:48 chklastlog > -r--r--r-- 1 1000 1000 7730 Nov 16 2004 chklastlog.c > -rwxr-xr-x 1 root root 6768 Sep 8 14:48 chkproc > -r--r--r-- 1 1000 1000 7613 Sep 13 2004 chkproc.c > -rw-r--r-- 1 root root 4603 Sep 8 14:50 chkroot_09_08_05 > -rwxr-xr-x 1 1000 wheel 71149 Feb 22 2005 chkrootkit > ... > > All executables are owned by root but the .c files are UID 1000. Doing > a tar tzvf on the tar ball outputs: > drwxr-xr-x rn/ 0 2005-02-22 07:06:40 chkrootkit-0.45/ > -r--r--r-- rn/ 8771 2004-09-06 13:24:56 > chkrootkit-0.45/ifpromisc.c > -r--r--r-- rn/ 1343 2004-09-06 13:24:56 > chkrootkit-0.45/COPYRIGHT > -r--r--r-- rn/ 6781 2004-09-06 13:24:56 > chkrootkit-0.45/chkdirs.c > -r--r--r-- rn/ 7195 2004-09-06 13:24:56 > chkrootkit-0.45/check_wtmpx.c > -r--r--r-- rn/ 571 2005-02-21 14:20:46 > chkrootkit-0.45/chkrootkit.lsm > ... > > Why is the owner and group 1000 when that does not exist on the > system? When you, as root, blow up a tarball, you get the owner- and group-ships as they were originally recorded. > I assume that the user and group ids were from the system that the tar > was made on? Is this the case? Yes. In keeping with the principle "do nothing as root that you don't have to", I always blow up and build tar balls as my mere mortal self, and then "su -" to root to do the install. > Also, what does the rn/ mean in the tar > file? I don't know. > Thank You Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From micros50 at computer.net Fri Sep 16 17:16:48 2005 From: micros50 at computer.net (mylar) Date: Fri, 16 Sep 2005 13:16:48 -0400 Subject: Owner:Group on untarred program In-Reply-To: <1126885665.27498.243083266@webmail.messagingengine.com> References: <1126885665.27498.243083266@webmail.messagingengine.com> Message-ID: <1126891007.9507.17.camel@manhattan.ruffe.edu> On Fri, 2005-09-16 at 11:47, redhat at buglecreek.com wrote: > I untared a program (chkrootkit) as root on a Redhat ES4 system and the > directory it created has the following owner and group: > drwxr-xr-x 2 1000 1000 4096 > UID 1000 and GID 1000 does not exist on the system. Yeah, I forget exactly how it works but me tinks they default to the uid/gid of whomever created the tarball. You could run a "chown" on the directory to change everything to a valid uid/gid but I usually never bother, if your kit is good it should build okay regardless. > After I compiled the > source the > ...All executables are owned by root but the .c files are UID 1000. Doing > a tar tzvf on the tar ball outputs: Makes sense, whatever gets built when you do "make" will carry the user/group of the user doing the build or, whomever was suid to run as. Similarly should be the case for directries created and files copied when you run "make install" > drwxr-xr-x rn/ 0 2005-02-22 07:06:40 chkrootkit-0.45/ > -r--r--r-- rn/ 8771 2004-09-06 13:24:56 > ? Also, what does the rn/ mean in the tar > file? > The name of the directory under which the tarball was made. mylar From rstevens at vitalstream.com Fri Sep 16 17:33:06 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 16 Sep 2005 10:33:06 -0700 Subject: Owner:Group on untarred program In-Reply-To: <20050916164640.GA18040@bobcat.bobcatos.com> References: <1126885665.27498.243083266@webmail.messagingengine.com> <20050916164640.GA18040@bobcat.bobcatos.com> Message-ID: <432B01D2.1010509@vitalstream.com> Bob McClure Jr wrote: > On Fri, Sep 16, 2005 at 09:47:45AM -0600, redhat at buglecreek.com wrote: > >>I untared a program (chkrootkit) as root on a Redhat ES4 system and the >>directory it created has the following owner and group: >> drwxr-xr-x 2 1000 1000 4096 >>UID 1000 and GID 1000 does not exist on the system. After I compiled the >>source the files in the directory have the following owner and group: >>-r--r--r-- 1 1000 1000 3365 Feb 21 2005 ACKNOWLEDGMENTS >>-rwxr-xr-x 1 root root 2860 Sep 8 14:48 check_wtmpx >>-r--r--r-- 1 1000 1000 7195 Sep 6 2004 check_wtmpx.c >>-rwxr-xr-x 1 root root 6144 Sep 8 14:48 chkdirs >>-r--r--r-- 1 1000 1000 6781 Sep 6 2004 chkdirs.c >>-rwxr-xr-x 1 root root 6656 Sep 8 14:48 chklastlog >>-r--r--r-- 1 1000 1000 7730 Nov 16 2004 chklastlog.c >>-rwxr-xr-x 1 root root 6768 Sep 8 14:48 chkproc >>-r--r--r-- 1 1000 1000 7613 Sep 13 2004 chkproc.c >>-rw-r--r-- 1 root root 4603 Sep 8 14:50 chkroot_09_08_05 >>-rwxr-xr-x 1 1000 wheel 71149 Feb 22 2005 chkrootkit >>... >> >>All executables are owned by root but the .c files are UID 1000. Doing >>a tar tzvf on the tar ball outputs: >>drwxr-xr-x rn/ 0 2005-02-22 07:06:40 chkrootkit-0.45/ >>-r--r--r-- rn/ 8771 2004-09-06 13:24:56 >>chkrootkit-0.45/ifpromisc.c >>-r--r--r-- rn/ 1343 2004-09-06 13:24:56 >>chkrootkit-0.45/COPYRIGHT >>-r--r--r-- rn/ 6781 2004-09-06 13:24:56 >>chkrootkit-0.45/chkdirs.c >>-r--r--r-- rn/ 7195 2004-09-06 13:24:56 >>chkrootkit-0.45/check_wtmpx.c >>-r--r--r-- rn/ 571 2005-02-21 14:20:46 >>chkrootkit-0.45/chkrootkit.lsm >>... >> >>Why is the owner and group 1000 when that does not exist on the >>system? > > > When you, as root, blow up a tarball, you get the owner- and > group-ships as they were originally recorded. > > >>I assume that the user and group ids were from the system that the tar >>was made on? Is this the case? > > > Yes. > > In keeping with the principle "do nothing as root that you don't have > to", I always blow up and build tar balls as my mere mortal self, and > then "su -" to root to do the install. > > >>Also, what does the rn/ mean in the tar >>file? > > > I don't know. When tar builds a tarball, it includes the output of "ls -l" of the files when the tarball was built. It concatenates the username and groupname OF THE FILES ON THE ORIGINAL SYSTEM into a format username/groupname in the tarball. Adding the "v" to "tar tzf" (hence "tar tzvf") displays that "ls -l" output, but remember that it reflects what the BUILDING machine had. In this case,"rn/" means that the user 1000 mapped to user "rn" and group 1000 did not map to a group name ON THE MACHINE THE TARBALL WAS BUILT ON. It has nothing to do with _your_ machine. When extracting the files, your machine will simply use the UID/GID numbers--not the names. If the UIDs or GIDS don't match entries in your /etc/passwd or /etc/group files, they will continue to be displayed as numbers. BTW, I'm not shouting there--just trying to add some emphasis because it can be confusing otherwise. Hope that helps. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I doubt, therefore I might be. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Fri Sep 16 17:46:59 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 16 Sep 2005 10:46:59 -0700 Subject: Compress command and the old BuilCD application on Red Hat Enterprise 4 WS In-Reply-To: <20050916163755.90A9015D0D@smtp.cwjamaica.com> References: <20050916163755.90A9015D0D@smtp.cwjamaica.com> Message-ID: <432B0513.5010703@vitalstream.com> Sidney Abrahams wrote: > I need to use the compress feature to save data to an ext2 file, and then > use the Buildcd to save it to a CD writer. How can I get that done in WS 4? I'm not 100% sure I'm grokking this, but I'll have a go. I wouldn't recommend "compress" as it used an algorithm that has some copyright problems (Honeywell-Bull was insisting on license fees not too far back). It's better to use gzip (which uses Lempel-Ziv, is copyright-free and compresses better than "compress") or bzip2 (which is also copyright-free and compresses better than gzip). The vast majority of modern systems have gzip available, and most also have bzip2. The closest replacement for buildcd that I can think of offhand is "mkisofs". ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - IGNORE that man behind the keyboard! - - - The Wizard of OS - ---------------------------------------------------------------------- From inode0 at gmail.com Fri Sep 16 17:54:52 2005 From: inode0 at gmail.com (inode0) Date: Fri, 16 Sep 2005 12:54:52 -0500 Subject: Compress command and the old BuilCD application on Red Hat Enterprise 4 WS In-Reply-To: <432B0513.5010703@vitalstream.com> References: <20050916163755.90A9015D0D@smtp.cwjamaica.com> <432B0513.5010703@vitalstream.com> Message-ID: On 9/16/05, Rick Stevens wrote: > I wouldn't recommend "compress" as it used an algorithm that has some > copyright problems (Honeywell-Bull was insisting on license fees not > too far back). It's better to use gzip (which uses Lempel-Ziv, is > copyright-free and compresses better than "compress") or bzip2 (which > is also copyright-free and compresses better than gzip). The vast > majority of modern systems have gzip available, and most also have > bzip2. I think you are recalling patent issues. All of these programs have copyrights. John From rstevens at vitalstream.com Fri Sep 16 18:29:06 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 16 Sep 2005 11:29:06 -0700 Subject: Compress command and the old BuilCD application on Red Hat Enterprise 4 WS In-Reply-To: References: <20050916163755.90A9015D0D@smtp.cwjamaica.com> <432B0513.5010703@vitalstream.com> Message-ID: <432B0EF2.9010508@vitalstream.com> inode0 wrote: > On 9/16/05, Rick Stevens wrote: > >>I wouldn't recommend "compress" as it used an algorithm that has some >>copyright problems (Honeywell-Bull was insisting on license fees not >>too far back). It's better to use gzip (which uses Lempel-Ziv, is >>copyright-free and compresses better than "compress") or bzip2 (which >>is also copyright-free and compresses better than gzip). The vast >>majority of modern systems have gzip available, and most also have >>bzip2. > > > I think you are recalling patent issues. All of these programs have copyrights. Yes, you're right, and it was specific to LZ78 and owned by Unisys. gzip doesn't use LZ78, it uses a variant of it and is free of the patent problem. bzip2 uses Burrows-Wheeler and Huffman encoding. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To err is human. To forgive, a large sum of money is needed. - ---------------------------------------------------------------------- From gchen at tom.phy.uic.edu Fri Sep 16 18:17:41 2005 From: gchen at tom.phy.uic.edu (Guoguang Chen) Date: Fri, 16 Sep 2005 13:17:41 -0500 (CDT) Subject: install Logitech pro 4000 on RHEL WS 3 ? In-Reply-To: References: Message-ID: Hello, guys, I am using Red Hat Enterprise Linux WS 3 on my desktop now, and I want to install a webcam Logitech Pro 4000 on it, but the default driver pwc.o seems not to work. What should I do? Anybody can help me out? I'll greatly appreciate your assistance and kindness. best, --Guoguang Chen From rstevens at vitalstream.com Fri Sep 16 20:16:59 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 16 Sep 2005 13:16:59 -0700 Subject: install Logitech pro 4000 on RHEL WS 3 ? In-Reply-To: References: Message-ID: <432B283B.3080701@vitalstream.com> Guoguang Chen wrote: > > Hello, guys, > > I am using Red Hat Enterprise Linux WS 3 on my desktop now, and I want to > install a webcam Logitech Pro 4000 on it, but the default driver pwc.o > seems not to work. What should I do? > > Anybody can help me out? I'll greatly appreciate your assistance and > kindness. We really need to see the USB ID number on the camera. Plug it in and do an "lsusb" as the root user. Send us the USB ID number. A good page to look at regarding Logitech webcams is: http://www.qbik.ch/usb/devices/search_res.php?pattern=logitech Note that if the ID is 046d:08b2, then pwc is the right driver, but it is limited. There's a newer version of it out there available at http://www.saillard.org/linux/pwc ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - What's small, yellow and very, VERY dangerous? The root canary! - ---------------------------------------------------------------------- From mdroz8 at gmail.com Sat Sep 17 17:47:16 2005 From: mdroz8 at gmail.com (mike) Date: Sat, 17 Sep 2005 10:47:16 -0700 Subject: automated file transfer? Message-ID: <1a4b2b83050917104773d3d3ca@mail.gmail.com> hi all, i'm a unix newbie and i'm trying to do the following... i'm TARing up a directory, then i need to transfer this file to another machine. so far i have a script to tar up the directory set up using crontab to run every day at a certain time. however, i need to transfer this file to another machine and i was wondering if i can do it in ftp all in one line? in other words, how would i automate logging into another machine via ftp, and transferring a file to that remote machine? thx -m From rbj2 at oak.njit.edu Sat Sep 17 18:15:16 2005 From: rbj2 at oak.njit.edu (Rahul Jain) Date: Sat, 17 Sep 2005 14:15:16 -0400 (EDT) Subject: automated file transfer? In-Reply-To: <1a4b2b83050917104773d3d3ca@mail.gmail.com> References: <1a4b2b83050917104773d3d3ca@mail.gmail.com> Message-ID: Hi, You can put the following lines in your script after you create the tar file to automatically ftp your file. FYI, COMMANDS is not a keyword. ftp -n -i remote_machine << COMMANDS user username password bin put file 1 put file 2 ... COMMANDS Hope this helps, Rahul. On Sat, 17 Sep 2005, mike wrote: > hi all, > > i'm a unix newbie and i'm trying to do the following... > > i'm TARing up a directory, then i need to transfer this file to > another machine. so far i have a script to tar up the directory set > up using crontab to run every day at a certain time. however, i need > to transfer this file to another machine and i was wondering if i can > do it in ftp all in one line? in other words, how would i automate > logging into another machine via ftp, and transferring a file to that > remote machine? > > thx > -m > > _______________________________________________ > 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 markknecht at gmail.com Sat Sep 17 20:07:49 2005 From: markknecht at gmail.com (Mark Knecht) Date: Sat, 17 Sep 2005 13:07:49 -0700 Subject: automated file transfer? In-Reply-To: <1a4b2b83050917104773d3d3ca@mail.gmail.com> References: <1a4b2b83050917104773d3d3ca@mail.gmail.com> Message-ID: <5bdc1c8b05091713072f8f54e8@mail.gmail.com> On 9/17/05, mike wrote: > hi all, > > i'm a unix newbie and i'm trying to do the following... > > i'm TARing up a directory, then i need to transfer this file to > another machine. so far i have a script to tar up the directory set > up using crontab to run every day at a certain time. however, i need > to transfer this file to another machine and i was wondering if i can > do it in ftp all in one line? in other words, how would i automate > logging into another machine via ftp, and transferring a file to that > remote machine? > > thx > -m Hi, Welcome. It would be best, if possible, not to use ftp in general as it's pretty insecure. A better solution is to use part of ssh which does copies. It works like like a regular cp command but goes between machines and switches users if necessary. It goes like this: scp path-to-local-file mark at remote-machine:path-to-remote-destination This works well, and if you want to you can set up so that you don't even need a password but putting keys on both sides in the proper account. Here's one page I quickly found with the basic info on how to do it: http://www.phy.bnl.gov/computing/gateway/ssh-agent.html Please note I've not looked carefully at this specific page. This also works for complete directories so you don't have to tar if you don't want to. man scp for more info. Cheers, Mark From karlp at ourldsfamily.com Sun Sep 18 04:18:10 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Sat, 17 Sep 2005 22:18:10 -0600 (MDT) Subject: Services Howto Message-ID: <28897.198.60.114.90.1127017090.squirrel@webmail.ourldsfamily.com> I've been using and administering (small servers/networks) Linux since slackware was installed on the 486 platform using a bunch of floppies. Most of the time I've had to experiment to get the right services to start as each PC had annoying little CMOS differences. Why Can't BIOS Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... In any case, I'm wondering if anyone has seen or heard of a document that explains which services should be avoided when and etc. Oh, and thanks to those of you who have mentioned things in passing through the past few years I've been on the list (Rick, Bob, Kalum, etc.). -- Karl Pearson Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- From rodrigofariatavares at bol.com.br Sun Sep 18 12:55:24 2005 From: rodrigofariatavares at bol.com.br (Rodrigo Faria Tavares) Date: Sun, 18 Sep 2005 09:55:24 -0300 Subject: pptp-conntrack in kernel 2.4.29 Message-ID: <000d01c5bc50$3fb59ec0$0101a8c0@faria> Testing... pptp-conntrack-nat.patch NOT APPLIED (8 missing files) The ./extra/pptp-conntrack-nat patch: Author: Harald Welte Status: Beta This adds CONFIG_IP_NF_PPTP: Connection tracking and NAT support for PPTP. Using this, you can track PPTP/GRE connections and do SNAT/DNAT. You have to load the following modules for connection tracking: ip_conntrack_proto_gre ip_conntrack_pptp for NAT: ip_nat_proto_gre ip_nat_pptp The GRE connection is marked as RELATED to the TCP session on port 1723, so all you need is something like iptables -j ACCEPT -m state --state RELATED,ESTABLISHED iptables -j ACCEPT -d my_pptp_server -p tcp --dport 1723 -m state -- state NEW Note that this code currently has limitations - can only NAT connections from PNS to PAC - doesnt' support multiple calls within one session - you have to recompile your iptables userspace program since some structure sizes change ----------------------------------------------------------------- Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] y Testing patch ./extra/pptp-conntrack-nat.patch... Placed new Config.in line Placed new Configure.help entry Placed new Makefile line Placed new Makefile line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Placed new ip_conntrack.h line Failed to patch copy of /usr/src/linux-2.4.29 TEST FAILED: patch NOT applied. How I can to resolve this error patch ? Best regards, Rodrigo Faria Tavares e-mail : rodrigofariat at yahoo.com.br Analista de Suporte Linux _______________________________________________________ Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ From Albert.Smith at genexservices.com Mon Sep 19 00:25:34 2005 From: Albert.Smith at genexservices.com (Smith, Albert) Date: Sun, 18 Sep 2005 20:25:34 -0400 Subject: Services Howto Message-ID: <462170B0EBFCFE4AB1E54ED8C269A5BC2DF38F@PHLVEXCH01.genexservices.com> ________________________________ From: redhat-install-list-bounces at redhat.com on behalf of karlp at ourldsfamily.com Sent: Sun 9/18/2005 12:18 AM To: redhat-install-list at redhat.com Subject: Services Howto I've been using and administering (small servers/networks) Linux since slackware was installed on the 486 platform using a bunch of floppies. Most of the time I've had to experiment to get the right services to start as each PC had annoying little CMOS differences. Why Can't BIOS Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... In any case, I'm wondering if anyone has seen or heard of a document that explains which services should be avoided when and etc. Oh, and thanks to those of you who have mentioned things in passing through the past few years I've been on the list (Rick, Bob, Kalum, etc.). -- Karl Pearson Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe There are the standard services like echo, chargen, and the like. The best bet is to follow the cert advisorys and run system scans. I use SARA and Bastille. Albert Smith Sr. Unix Systems Administrator HPCSA, RHCT Genex Services 440 E. Swedesford Rd. Wayne, PA 19087 albert.smith at genexservices.com (610) 964-5154 -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4739 bytes Desc: not available URL: From karlp at ourldsfamily.com Mon Sep 19 01:54:59 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Sun, 18 Sep 2005 19:54:59 -0600 (MDT) Subject: Services Howto In-Reply-To: <462170B0EBFCFE4AB1E54ED8C269A5BC2DF38F@PHLVEXCH01.genexservices.com> References: <462170B0EBFCFE4AB1E54ED8C269A5BC2DF38F@PHLVEXCH01.genexservices.com> Message-ID: <15618.198.60.114.90.1127094899.squirrel@webmail.ourldsfamily.com> On Sun, September 18, 2005 6:25 pm, Smith, Albert said: > ________________________________ > > From: redhat-install-list-bounces at redhat.com on behalf of > karlp at ourldsfamily.com > > I've been using and administering (small servers/networks) Linux since > slackware was installed on the 486 platform using a bunch of floppies. > Most of the time I've had to experiment to get the right services to start > as each PC had annoying little CMOS differences. Why Can't BIOS > Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... > > In any case, I'm wondering if anyone has seen or heard of a document that > explains which services should be avoided when and etc. > > Oh, and thanks to those of you who have mentioned things in passing > through the past few years I've been on the list (Rick, Bob, Kalum, etc.). I apologize for missing Mark. Second chances are few, so gotta take advantage of them... > --- > > There are the standard services like echo, chargen, and the like. The best > bet is to follow the cert advisorys and run system scans. I use SARA and > Bastille. > Thanks Albert. Actually that's not what I'm wondering. I've never had a successful breakin on any system I set up. I do pretty good on the security stuff already. What I need, if it's available, is something about which services cause the hardware to have problems. KLP > > > > Albert Smith > Sr. Unix Systems Administrator > HPCSA, RHCT > Genex Services > 440 E. Swedesford Rd. > Wayne, PA 19087 > albert.smith at genexservices.com > (610) 964-5154 > _______________________________________________ > 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 gchen at tom.phy.uic.edu Mon Sep 19 16:41:35 2005 From: gchen at tom.phy.uic.edu (Guoguang Chen) Date: Mon, 19 Sep 2005 11:41:35 -0500 (CDT) Subject: install Logitech pro 4000 on RHEL WS 3 ? In-Reply-To: <432B283B.3080701@vitalstream.com> References: <432B283B.3080701@vitalstream.com> Message-ID: Rick, Thank you very much for your reply. I checked the USB ID number, YES, it is 046d:08b2. I am using xawtv-3.92-1.rhel3.dag.i386.rpm as the application to view the pictures. It seems the default driver works in some way, the webcam is registered as /dev/video0, but I can not see any good picture is displayed. Then I tried to install pwc-9.0.2 and patch the kernel with pwcx-9.0 (from http://www.smcc.demon.nl/webcam/), but it responded that the pwcx-9.0 is compiled with gcc 2.0, while the kernel is compiled with gcc 3.0, which is known not to work. And, I consulted Luc Saillard with new driver, here is his suggestion. -------------- This version is designed to be use for much newer kernel (2.6.x). Your kernel 2.4.21 is very old, but perhaps you can try to patch your kernel with the patch found in this url: http://www.saillard.org/linux/pwc/patches/ I'm not sure that this patch will apply for your current version. Luc ------------- I tried to patch the kernel with the file mentioned above, but no luck. It still doesn't work. Any idea? Many Thanks. --GC On Fri, 16 Sep 2005, Rick Stevens wrote: > Guoguang Chen wrote: > > > > Hello, guys, > > > > I am using Red Hat Enterprise Linux WS 3 on my desktop now, and I want to > > install a webcam Logitech Pro 4000 on it, but the default driver pwc.o > > seems not to work. What should I do? > > > > Anybody can help me out? I'll greatly appreciate your assistance and > > kindness. > > We really need to see the USB ID number on the camera. Plug it in and > do an "lsusb" as the root user. Send us the USB ID number. A good page > to look at regarding Logitech webcams is: > > http://www.qbik.ch/usb/devices/search_res.php?pattern=logitech > > Note that if the ID is 046d:08b2, then pwc is the right driver, but it > is limited. There's a newer version of it out there available at > http://www.saillard.org/linux/pwc > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - What's small, yellow and very, VERY dangerous? The root canary! - > ---------------------------------------------------------------------- > > _______________________________________________ > 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 Sep 19 17:05:56 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Sep 2005 10:05:56 -0700 Subject: automated file transfer? In-Reply-To: <1a4b2b83050917104773d3d3ca@mail.gmail.com> References: <1a4b2b83050917104773d3d3ca@mail.gmail.com> Message-ID: <432EEFF4.5020204@vitalstream.com> mike wrote: > hi all, > > i'm a unix newbie and i'm trying to do the following... > > i'm TARing up a directory, then i need to transfer this file to > another machine. so far i have a script to tar up the directory set > up using crontab to run every day at a certain time. however, i need > to transfer this file to another machine and i was wondering if i can > do it in ftp all in one line? in other words, how would i automate > logging into another machine via ftp, and transferring a file to that > remote machine? scp comes to mind (encrypted copy over SSH), as does SFTP. Both are part of the SSH suite, standard equipment on Linux. You should have a look at rsync and rsync tunneled through SSH as well (also standard equipment on Linux). rsync is the tool most FTP mirror sites use to keep synchronized. If you must run FTP, take a look at ncftpput/ncftpget (non-interactive FTP clients). Yes, they're also standard equipment on Linux. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - LOOK OUT!!! BEHIND YOU!!! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Mon Sep 19 17:19:45 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Sep 2005 10:19:45 -0700 Subject: Services Howto In-Reply-To: <28897.198.60.114.90.1127017090.squirrel@webmail.ourldsfamily.com> References: <28897.198.60.114.90.1127017090.squirrel@webmail.ourldsfamily.com> Message-ID: <432EF331.1040507@vitalstream.com> karlp at ourldsfamily.com wrote: > I've been using and administering (small servers/networks) Linux since > slackware was installed on the 486 platform using a bunch of floppies. > Most of the time I've had to experiment to get the right services to start > as each PC had annoying little CMOS differences. Why Can't BIOS > Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... > > In any case, I'm wondering if anyone has seen or heard of a document that > explains which services should be avoided when and etc. > > Oh, and thanks to those of you who have mentioned things in passing > through the past few years I've been on the list (Rick, Bob, Kalum, etc.). Do you mean what BIOS functions conflict with various daemons/services under Linux? I don't know of any single source on that sort of info. I do sympathize that the docs that come with most mobos are woefully inadequate and often mistranslated. The vast majority of BIOS stuff has very little to do with how Linux works. Various memory mapping things might affect memory availability or the mapping of devices in Linux' device management, but it's usually pretty low impact. The defaults that most BIOS' use are most often reasonable, and I wouldn't muck about with them unless you really understand what they do. The most common problems have to do with the management of peripherals-- what's enabled and what isn't, how large disks are handled (HDA, etc.). Legacy USB can be a problem. Boot sequences have to be set properly (I recommend floppy, CD/DVD, then hard disk). APM/APCI (power management) is often an issue. Under 2.4 kernels, the way APICs are initialized on SMP mobos can be an issue. Video cards that share main memory are often also a problem. Most of these are fairly easy to sort out--with the exception of APM/ACPI ("My machine won't auto power-off!"). BTW, for a funny site regarding mistranslations, might I recommend "http://www.engrish.com". ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - A day for firm decisions!!! Well, then again, maybe not! - ---------------------------------------------------------------------- From Albert.Smith at genexservices.com Mon Sep 19 17:58:35 2005 From: Albert.Smith at genexservices.com (Smith, Albert) Date: Mon, 19 Sep 2005 13:58:35 -0400 Subject: Services Howto Message-ID: <462170B0EBFCFE4AB1E54ED8C269A5BC02F7AD2C@PHLVEXCH01.genexservices.com> > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of > karlp at ourldsfamily.com > Sent: Sunday, September 18, 2005 9:55 PM > To: Getting started with Red Hat Linux > Subject: RE: Services Howto > > On Sun, September 18, 2005 6:25 pm, Smith, Albert said: > > > ________________________________ > > > > From: redhat-install-list-bounces at redhat.com on behalf of > > karlp at ourldsfamily.com > > > > I've been using and administering (small servers/networks) > Linux since > > slackware was installed on the 486 platform using a bunch > of floppies. > > Most of the time I've had to experiment to get the right > services to > > start as each PC had annoying little CMOS differences. Why > Can't BIOS > > Programmers Write Help Info That HELPS!?!?! Okay, that was > off-topic... > > > > In any case, I'm wondering if anyone has seen or heard of a > document > > that explains which services should be avoided when and etc. > > > > Oh, and thanks to those of you who have mentioned things in passing > > through the past few years I've been on the list (Rick, > Bob, Kalum, etc.). > > I apologize for missing Mark. Second chances are few, so > gotta take advantage of them... > > --- > > > > There are the standard services like echo, chargen, and the > like. The > > best bet is to follow the cert advisorys and run system > scans. I use > > SARA and Bastille. > > > > Thanks Albert. Actually that's not what I'm wondering. I've > never had a successful breakin on any system I set up. I do > pretty good on the security stuff already. What I need, if > it's available, is something about which services cause the > hardware to have problems. > > KLP > > > > > > > > > Albert Smith > > Sr. Unix Systems Administrator > > HPCSA, RHCT > > Genex Services > > 440 E. Swedesford Rd. > > Wayne, PA 19087 > > albert.smith at genexservices.com > > (610) 964-5154 > > _______________________________________________ > > Redhat-install-list mailing list > > Redhat-install-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-install-list > > To Unsubscribe Go To ABOVE URL or send a message to: > > redhat-install-list-request at redhat.com > > Subject: unsubscribe > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > > Off the top of my head I don't know of anything service specific that would cause any kind of hardware problem unless the service controls the use but not the activiation of a piece of hardware. Normally hardware is managed by the kernel, I would look at the kernel docs. Is there a specific piece of hardware you are having problems with? Albert Smith Sr. Unix Systems Administrator HPCSA, RHCT Genex Services 440 E. Swedesford Rd. Wayne, PA 19087 albert.smith at genexservices.com (610) 964-5154 From tpotter at techmarin.com Mon Sep 19 20:13:38 2005 From: tpotter at techmarin.com (Ted Potter) Date: Mon, 19 Sep 2005 13:13:38 -0700 Subject: resize /var Message-ID: <1127160818.26684.36.camel@interjet.techmarin.com> Greetings, a new IBM Red Hat Enterprise Linux ES (v.3 Update 3) X series machine has the following partitions /dev/sda3 264 gig /root /dev/sda2 72 megs /boot /dev/sda6 243 Megs /var we ran out of space on /var running up2date. From what I understand I think the /var partition is too small. My questions are 1. Is it correct to state the /var partition is to small and we should have something like 10 - 40 gigs 2. How do I or can I resize the /var partition. -- Ted Potter TechMarin From rstevens at vitalstream.com Mon Sep 19 20:30:10 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Sep 2005 13:30:10 -0700 Subject: resize /var In-Reply-To: <1127160818.26684.36.camel@interjet.techmarin.com> References: <1127160818.26684.36.camel@interjet.techmarin.com> Message-ID: <432F1FD2.9040404@vitalstream.com> Ted Potter wrote: > Greetings, > > > a new IBM Red Hat Enterprise Linux ES (v.3 Update 3) X series machine > has the following partitions > > /dev/sda3 264 gig /root > /dev/sda2 72 megs /boot > /dev/sda6 243 Megs /var > > we ran out of space on /var running up2date. From what I understand I > think the /var partition is too small. > > My questions are > > 1. Is it correct to state the /var partition is to small and we should > have something like 10 - 40 gigs Well, it rather depends on what you're doing. Remember that the vast number of logs and such go into /var/log. up2date and yum both keep their downloads there (/var/spool/up2date or /var/cache/yum) and mail usually ends up in /var/mail. Again, it depends on what you're doing. As a rule, I tend to make /var at least 4GB. I'd say 2.5 to 5% of your total disk is adequate. In your case that'd be 6.5 to 13GB. > 2. How do I or can I resize the /var partition. It's not easy to do. Once you've partitioned the drive, you really can't change it unless you used LVM to set it up or really know what you're doing with a tool such as one of the parted variants (gparted, parted, etc.). If you have a later version of Partition Magic or Partition Commander, those can bugger things for you. If you don't, it might make more sense to reinstall and partition things a bit better. With your disk, I'd do something like: / (root) 512MB-1GB /boot 64-128MB /var 6.5-13GB swap twice your RAM size /usr rest of disk However, to get you over the hump you could tell up2date to use a directory in /usr to store its stuff. For example, # mkdir /usr/up2date-stuff # up2date --tmpdir=/usr/up2date-stuff You can also reconfigure up2date to use that /usr/up2date-stuff directory in the future without having to specify it on the command line. Use "up2date --configure", go to the second tab ("Retrieval/Installation") and change the "package store directory". ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Change is inevitable, except from a vending machine. - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Mon Sep 19 21:08:02 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Mon, 19 Sep 2005 15:08:02 -0600 (MDT) Subject: Services Howto In-Reply-To: <432EF331.1040507@vitalstream.com> References: <28897.198.60.114.90.1127017090.squirrel@webmail.ourldsfamily.com> <432EF331.1040507@vitalstream.com> Message-ID: <36261.207.173.117.242.1127164082.squirrel@ourldsfamily.com> On Mon, September 19, 2005 11:19 am, Rick Stevens said: > karlp at ourldsfamily.com wrote: >> I've been using and administering (small servers/networks) Linux since >> slackware was installed on the 486 platform using a bunch of floppies. >> Most of the time I've had to experiment to get the right services to >> start >> as each PC had annoying little CMOS differences. Why Can't BIOS >> Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... >> >> In any case, I'm wondering if anyone has seen or heard of a document >> that >> explains which services should be avoided when and etc. >> >> Oh, and thanks to those of you who have mentioned things in passing >> through the past few years I've been on the list (Rick, Bob, Kalum, >> etc.). > > Do you mean what BIOS functions conflict with various daemons/services > under Linux? I don't know of any single source on that sort of info. I > do sympathize that the docs that come with most mobos are woefully > inadequate and often mistranslated. > > The vast majority of BIOS stuff has very little to do with how Linux > works. Various memory mapping things might affect memory availability > or the mapping of devices in Linux' device management, but it's usually > pretty low impact. The defaults that most BIOS' use are most often > reasonable, and I wouldn't muck about with them unless you really > understand what they do. > > The most common problems have to do with the management of peripherals-- > what's enabled and what isn't, how large disks are handled (HDA, etc.). > > Legacy USB can be a problem. Boot sequences have to be set properly (I > recommend floppy, CD/DVD, then hard disk). APM/APCI (power management) > is often an issue. Under 2.4 kernels, the way APICs are initialized on > SMP mobos can be an issue. Video cards that share main memory are often > also a problem. > > Most of these are fairly easy to sort out--with the exception of > APM/ACPI ("My machine won't auto power-off!"). You hit the ones I know about. I have a new server and finally figured out that a memory module was bad out of the box. That was Sooooo annoying. While figuring out why the stupid thing was hanging, losing keystrokes, locking up during whatever application was doing whatever it does, I tried changing BIOS settings to see how whatever affected the problems. I got the thing fairly stable, but then things would change. That's why I started looking at problems. I replaced the power supply first. That didn't help. I took out one memory module. That didn't help. I took the other one out. Problem disappeared. RMA received; shipping today. But, I still wonder about the BIOS settings. For example, through the years, I've heard both sides of shadowing BIOS and Video... What's the truth? Hmmm... too deep for 3pm in the afternoon. Siesta time? Karl > > BTW, for a funny site regarding mistranslations, might I recommend > "http://www.engrish.com". > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - A day for firm decisions!!! Well, then again, maybe not! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- karl _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson KarlP at ourldsfamily.com --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- My Thoughts on Terrorism In America: http://www.ourldsfamily.com/wtc.shtml --- A right is not what someone gives you; it's what no one can take from you. -Ramsey Clark --- From rstevens at vitalstream.com Mon Sep 19 21:27:44 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Sep 2005 14:27:44 -0700 Subject: Services Howto In-Reply-To: <36261.207.173.117.242.1127164082.squirrel@ourldsfamily.com> References: <28897.198.60.114.90.1127017090.squirrel@webmail.ourldsfamily.com> <432EF331.1040507@vitalstream.com> <36261.207.173.117.242.1127164082.squirrel@ourldsfamily.com> Message-ID: <432F2D50.1040809@vitalstream.com> karlp at ourldsfamily.com wrote: > On Mon, September 19, 2005 11:19 am, Rick Stevens said: > >>karlp at ourldsfamily.com wrote: >> >>>I've been using and administering (small servers/networks) Linux since >>>slackware was installed on the 486 platform using a bunch of floppies. >>>Most of the time I've had to experiment to get the right services to >>>start >>>as each PC had annoying little CMOS differences. Why Can't BIOS >>>Programmers Write Help Info That HELPS!?!?! Okay, that was off-topic... >>> >>>In any case, I'm wondering if anyone has seen or heard of a document >>>that >>>explains which services should be avoided when and etc. >>> >>>Oh, and thanks to those of you who have mentioned things in passing >>>through the past few years I've been on the list (Rick, Bob, Kalum, >>>etc.). >> >>Do you mean what BIOS functions conflict with various daemons/services >>under Linux? I don't know of any single source on that sort of info. I >>do sympathize that the docs that come with most mobos are woefully >>inadequate and often mistranslated. >> >>The vast majority of BIOS stuff has very little to do with how Linux >>works. Various memory mapping things might affect memory availability >>or the mapping of devices in Linux' device management, but it's usually >>pretty low impact. The defaults that most BIOS' use are most often >>reasonable, and I wouldn't muck about with them unless you really >>understand what they do. >> >>The most common problems have to do with the management of peripherals-- >>what's enabled and what isn't, how large disks are handled (HDA, etc.). >> >>Legacy USB can be a problem. Boot sequences have to be set properly (I >>recommend floppy, CD/DVD, then hard disk). APM/APCI (power management) >>is often an issue. Under 2.4 kernels, the way APICs are initialized on >>SMP mobos can be an issue. Video cards that share main memory are often >>also a problem. >> >>Most of these are fairly easy to sort out--with the exception of >>APM/ACPI ("My machine won't auto power-off!"). > > > You hit the ones I know about. I have a new server and finally figured out > that a memory module was bad out of the box. That was Sooooo annoying. The VERY FIRST things that happen when I get a new box are: Open box and reseat RAM sticks, PCI cards, and CPUs Verify all IDE-related drives are JUMPERED as masters or slaves. NO "cable select" crap allowed here! Power up, stick multimeter probes into drive power connectors and watch the power supply. Recording multimeters a big plus! Fire up memtest86 and let it run for at least two full tests. > While figuring out why the stupid thing was hanging, losing keystrokes, > locking up during whatever application was doing whatever it does, I tried > changing BIOS settings to see how whatever affected the problems. I got > the thing fairly stable, but then things would change. That's why I > started looking at problems. I replaced the power supply first. That > didn't help. I took out one memory module. That didn't help. I took the > other one out. Problem disappeared. RMA received; shipping today. "They say memory is the second thing to go...but I can't remember what the first one was." :-) > But, I still wonder about the BIOS settings. For example, through the > years, I've heard both sides of shadowing BIOS and Video... "Shadowing" is the process of copying the BIOS (or whatever is in slow storage) into fast RAM, then buggering the address multiplexers to point at RAM instead of the ROMs. In the old days, all primary disk I/O was done by setting up a buffer, then hitting INT13 and letting the BIOS do the grunt work. The ROMs that held the BIOS were slow and that slowed everything down. Today, 90% of the disk I/O doesn't really use the BIOS routines anymore, so shadowing BIOS is kinda silly. Shadowing video was sorta the same thing...they shadowed the old character generators. Most of the stuff now doesn't even use character generators (except for the BIOS' displays themselves), so again, shadowing isn't really that useful for day-to-day work. However, since the BIOS and the character generators suck up relatively tiny amounts of our (currently) large address space, it doesn't really hurt too much. Yes, turning them off will free up a small amount of RAM, you really won't see much help (unless you're running 32MB of RAM or something silly like that...in which case you aren't running a GUI). As to siesta time...that's one heck of an idea! YAWN!! Zzzzzzzz! }-| "Huh? OH! Sorry, boss!" ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "The Schizophrenic: An Unauthorized Autobiography" - ---------------------------------------------------------------------- From tpotter at techmarin.com Mon Sep 19 21:45:36 2005 From: tpotter at techmarin.com (Ted Potter) Date: Mon, 19 Sep 2005 14:45:36 -0700 Subject: resize /var In-Reply-To: <432F1FD2.9040404@vitalstream.com> References: <1127160818.26684.36.camel@interjet.techmarin.com> <432F1FD2.9040404@vitalstream.com> Message-ID: <1127166337.26684.53.camel@interjet.techmarin.com> On Mon, 2005-09-19 at 13:30 -0700, Rick Stevens wrote: > Ted Potter wrote: > > Greetings, > > > > > > a new IBM Red Hat Enterprise Linux ES (v.3 Update 3) X series machine > > has the following partitions > > > > /dev/sda3 264 gig /root > > /dev/sda2 72 megs /boot > > /dev/sda6 243 Megs /var > > > > we ran out of space on /var running up2date. From what I understand I > > think the /var partition is too small. > > > > My questions are > > > > 1. Is it correct to state the /var partition is to small and we should > > have something like 10 - 40 gigs > > Well, it rather depends on what you're doing. Remember that the vast > number of logs and such go into /var/log. up2date and yum both keep > their downloads there (/var/spool/up2date or /var/cache/yum) and mail > usually ends up in /var/mail. > > Again, it depends on what you're doing. As a rule, I tend to make /var > at least 4GB. I'd say 2.5 to 5% of your total disk is adequate. In > your case that'd be 6.5 to 13GB. > > > 2. How do I or can I resize the /var partition. > > It's not easy to do. Once you've partitioned the drive, you really > can't change it unless you used LVM to set it up or really know what > you're doing with a tool such as one of the parted variants (gparted, > parted, etc.). > > If you have a later version of Partition Magic or Partition Commander, > those can bugger things for you. If you don't, it might make more sense > to reinstall and partition things a bit better. With your disk, I'd do > something like: > > / (root) 512MB-1GB > /boot 64-128MB > /var 6.5-13GB > swap twice your RAM size > /usr rest of disk > > However, to get you over the hump you could tell up2date to use a > directory in /usr to store its stuff. For example, > > # mkdir /usr/up2date-stuff > # up2date --tmpdir=/usr/up2date-stuff > > You can also reconfigure up2date to use that /usr/up2date-stuff > directory in the future without having to specify it on the command > line. Use "up2date --configure", go to the second tab > ("Retrieval/Installation") and change the "package store directory". > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Change is inevitable, except from a vending machine. - > ---------------------------------------------------------------------- > Thanks for the info, I suggested a reinstall since it is a new box with nothing on it. Sadly it was a preinstall from IBM and I am sure getting them to do it will be something. At least we can all sing the company song "IBM, you BM. We ALL BM for IBM" :-) > -- Ted Potter TechMarin From rstevens at vitalstream.com Mon Sep 19 22:35:09 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 19 Sep 2005 15:35:09 -0700 Subject: resize /var In-Reply-To: <1127166337.26684.53.camel@interjet.techmarin.com> References: <1127160818.26684.36.camel@interjet.techmarin.com> <432F1FD2.9040404@vitalstream.com> <1127166337.26684.53.camel@interjet.techmarin.com> Message-ID: <432F3D1D.8050008@vitalstream.com> Ted Potter wrote: > On Mon, 2005-09-19 at 13:30 -0700, Rick Stevens wrote: > >>Ted Potter wrote: >> >>>Greetings, >>> >>> >>>a new IBM Red Hat Enterprise Linux ES (v.3 Update 3) X series machine >>>has the following partitions >>> >>>/dev/sda3 264 gig /root >>>/dev/sda2 72 megs /boot >>>/dev/sda6 243 Megs /var >>> >>>we ran out of space on /var running up2date. From what I understand I >>>think the /var partition is too small. >>> >>>My questions are >>> >>>1. Is it correct to state the /var partition is to small and we should >>>have something like 10 - 40 gigs >> >>Well, it rather depends on what you're doing. Remember that the vast >>number of logs and such go into /var/log. up2date and yum both keep >>their downloads there (/var/spool/up2date or /var/cache/yum) and mail >>usually ends up in /var/mail. >> >>Again, it depends on what you're doing. As a rule, I tend to make /var >>at least 4GB. I'd say 2.5 to 5% of your total disk is adequate. In >>your case that'd be 6.5 to 13GB. >> >> >>>2. How do I or can I resize the /var partition. >> >>It's not easy to do. Once you've partitioned the drive, you really >>can't change it unless you used LVM to set it up or really know what >>you're doing with a tool such as one of the parted variants (gparted, >>parted, etc.). >> >>If you have a later version of Partition Magic or Partition Commander, >>those can bugger things for you. If you don't, it might make more sense >>to reinstall and partition things a bit better. With your disk, I'd do >>something like: >> >> / (root) 512MB-1GB >> /boot 64-128MB >> /var 6.5-13GB >> swap twice your RAM size >> /usr rest of disk >> >>However, to get you over the hump you could tell up2date to use a >>directory in /usr to store its stuff. For example, >> >> # mkdir /usr/up2date-stuff >> # up2date --tmpdir=/usr/up2date-stuff >> >>You can also reconfigure up2date to use that /usr/up2date-stuff >>directory in the future without having to specify it on the command >>line. Use "up2date --configure", go to the second tab >>("Retrieval/Installation") and change the "package store directory". > > Thanks for the info, I suggested a reinstall since it is a new box with > nothing on it. Sadly it was a preinstall from IBM and I am sure getting > them to do it will be something. You can usually request a specific partitioning from them. Heck, I even get boxes from IBM and Dell with MY version of FC4 on them. Of course, we buy a LOT of boxes, but still... Besides, THEY oughta know better! Logs can get friggin' HUGE. 700MB for the logging partition? Dumb! > At least we can all sing the company song > > "IBM, you BM. We ALL BM for IBM" Ah, based on the book "Everybody Poops", eh? ;-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "I was remembering the immortal words of Socrates when he said, - - 'I drank what?'" -- Val Kilmer in "Real Genius" - ---------------------------------------------------------------------- From bharadwaj_chdj at dataone.in Tue Sep 20 11:33:33 2005 From: bharadwaj_chdj at dataone.in (Bharadwaj) Date: Tue, 20 Sep 2005 17:03:33 +0530 Subject: (no subject) Message-ID: <003a01c5bdd7$22364f10$6401a8c0@bharadwaj> An HTML attachment was scrubbed... URL: From m.poletti at acco-ic.it Wed Sep 21 07:31:40 2005 From: m.poletti at acco-ic.it (Matteo Poletti) Date: Wed, 21 Sep 2005 09:31:40 +0200 Subject: RH 4 WS Message-ID: <6.2.1.2.0.20050921093004.01cc2bf0@pop.191.it> Dear member's I've activate my evaluation subscription to be able to check if the RH4 WS or RH3 WS is working fine with my hardware (HP 6200 biprocessor XEON, with 2 SATA HD) and with my software. I tried to install RH4 WS from the CDROM but when I boot the system from the CDROM a strange screen appear to me, is like a "binary cololred screen" without any information. Can you help me? thank you in advance Matteo From Jack.Allen at McKesson.com Wed Sep 21 22:46:46 2005 From: Jack.Allen at McKesson.com (Allen, Jack) Date: Wed, 21 Sep 2005 18:46:46 -0400 Subject: Tape drive support again Message-ID: We are installing a Dell 6850 and loading RH AS 4. Dell is telling use we need an Adaptec 39160 HBA to connect the tape drive to. Doing "strings aic7xxx.ko | grep 160" show 29160 and 19160 but no 39160. My question is which driver supports this HBA? Thanks: Jack Allen -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Fri Sep 23 21:01:30 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 23 Sep 2005 14:01:30 -0700 Subject: Tape drive support again In-Reply-To: References: Message-ID: <1127509290.14527.112.camel@nprophead.corp.publichost.com> On Wed, 2005-09-21 at 15:46 -0700, Allen, Jack wrote: > We are installing a Dell 6850 and loading RH AS 4. Dell is > telling use we need an Adaptec 39160 HBA to connect the tape drive to. > Doing "strings aic7xxx.ko | grep 160" show 29160 and 19160 but no > 39160. My question is which driver supports this HBA? IIRC, the 39160 is a dual port version of the 29160 (a single board with two ports), so the same driver is used. The driver will be handle two ports, but you may need to add an "alias scsi_hostadapter1 aic7xxx" line to /etc/modprobe.conf to make it work properly. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - When all else fails, try reading the instructions. - ---------------------------------------------------------------------- From sabraham at cwjamaica.com Fri Sep 23 22:22:39 2005 From: sabraham at cwjamaica.com (Sidney Abrahams) Date: Fri, 23 Sep 2005 17:22:39 -0500 Subject: cdrecord read error In-Reply-To: <1127509290.14527.112.camel@nprophead.corp.publichost.com> Message-ID: <20050923222314.BD1FC15DC7@smtp.cwjamaica.com> I used cdrecord to copy my data file backups to cd every day on Linux 9 Red Hat. I recently upgraded to Enterprise WS and now the cdrecord gives me: Cdrecord: Input/output error. Read error on input file. Yet I can use kde audio burner software to burn that same file to a cd?? The cdrw is configured on dev/hda, while on my old system it was on fake scsi dev=1,0,0. cdrecord cannot read/write to ide devices? Help? From rstevens at vitalstream.com Fri Sep 23 23:10:22 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Fri, 23 Sep 2005 16:10:22 -0700 Subject: cdrecord read error In-Reply-To: <20050923222314.BD1FC15DC7@smtp.cwjamaica.com> References: <20050923222314.BD1FC15DC7@smtp.cwjamaica.com> Message-ID: <1127517022.14527.130.camel@nprophead.corp.publichost.com> On Fri, 2005-09-23 at 17:22 -0500, Sidney Abrahams wrote: > I used cdrecord to copy my data file backups to cd every day on Linux 9 Red > Hat. I recently upgraded to Enterprise WS and now the cdrecord gives me: > Cdrecord: Input/output error. Read error on input file. > Yet I can use kde audio burner software to burn that same file to a cd?? > The cdrw is configured on dev/hda, while on my old system it was on fake > scsi dev=1,0,0. cdrecord cannot read/write to ide devices? You didn't specify if its WS4 or WS3. WS4 uses a 2.6 kernel and WS3 uses a 2.4 kernel. Since it's not working any longer, I'm going to assume that you're using WS4 and a 2.6 kernel. Under a 2.4 kernel, the IDE driver couldn't do ATAPI I/O (ATAPI is the way CD/CDR/CDRW and DVD/DVD+-R/DVD+-RW drives talk to the bus-- essentially SCSI commands over an IDE interface). To fix that, there was an "ide-scsi" driver that did the translation. Hence, ATAPI devices appeared to the kernel as if they were native SCSI devices. The 2.6 kernel's IDE midlayer is capable of handling the ATAPI I/O directly, so the ide-scsi driver is not necessary. "dev=1,0,0" implies SCSI, and since there's no SCSI emulation any longer, "dev=1,0.0" won't work. Under a 2.6 kernel and using an ATAPI drive, the proper syntax is "dev=ATA:1,0,0" (the ATA tells cdrecord to use the ATAPI interface rather than the default SCSI interface). If you were using a native SCSI CD writer, then "dev=1,0,0" would still be appropriate. I know this is more info than you probably need, but I'm a firm believer that just handing someone a solution without explaining _why_ it works is a bit of a disservice to the person originally asking the question. It also puts this kind of information into the list's archives so people can find it for themselves in the future. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - IGNORE that man behind the keyboard! - - - The Wizard of OS - ---------------------------------------------------------------------- From softnettechno at yahoo.ca Mon Sep 26 13:41:26 2005 From: softnettechno at yahoo.ca (SoftNet Technologies) Date: Mon, 26 Sep 2005 09:41:26 -0400 (EDT) Subject: Linux And SAN Message-ID: <20050926134126.16153.qmail@web54513.mail.yahoo.com> Hi all Please help me to configure SAN and Linux Connectivity. I am very new to the SAN environment. Please send me some site links also Regards Softnettechno --------------------------------- Find your next car at Yahoo! Canada Autos -------------- next part -------------- An HTML attachment was scrubbed... URL: From sabraham at cwjamaica.com Mon Sep 26 16:17:57 2005 From: sabraham at cwjamaica.com (Sidney Abrahams) Date: Mon, 26 Sep 2005 11:17:57 -0500 Subject: cdrecord read error In-Reply-To: <1127517022.14527.130.camel@nprophead.corp.publichost.com> Message-ID: <20050926161831.DDCCF15EC7@smtp.cwjamaica.com> Rick, Thank you very much, and yes I am using WS4, sorry for not specifying. It is much appreciated and very clearly explained. Sidney -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Friday, September 23, 2005 06:10 PM To: Getting started with Red Hat Linux Subject: Re: cdrecord read error On Fri, 2005-09-23 at 17:22 -0500, Sidney Abrahams wrote: > I used cdrecord to copy my data file backups to cd every day on Linux 9 Red > Hat. I recently upgraded to Enterprise WS and now the cdrecord gives me: > Cdrecord: Input/output error. Read error on input file. > Yet I can use kde audio burner software to burn that same file to a cd?? > The cdrw is configured on dev/hda, while on my old system it was on fake > scsi dev=1,0,0. cdrecord cannot read/write to ide devices? You didn't specify if its WS4 or WS3. WS4 uses a 2.6 kernel and WS3 uses a 2.4 kernel. Since it's not working any longer, I'm going to assume that you're using WS4 and a 2.6 kernel. Under a 2.4 kernel, the IDE driver couldn't do ATAPI I/O (ATAPI is the way CD/CDR/CDRW and DVD/DVD+-R/DVD+-RW drives talk to the bus-- essentially SCSI commands over an IDE interface). To fix that, there was an "ide-scsi" driver that did the translation. Hence, ATAPI devices appeared to the kernel as if they were native SCSI devices. The 2.6 kernel's IDE midlayer is capable of handling the ATAPI I/O directly, so the ide-scsi driver is not necessary. "dev=1,0,0" implies SCSI, and since there's no SCSI emulation any longer, "dev=1,0.0" won't work. Under a 2.6 kernel and using an ATAPI drive, the proper syntax is "dev=ATA:1,0,0" (the ATA tells cdrecord to use the ATAPI interface rather than the default SCSI interface). If you were using a native SCSI CD writer, then "dev=1,0,0" would still be appropriate. I know this is more info than you probably need, but I'm a firm believer that just handing someone a solution without explaining _why_ it works is a bit of a disservice to the person originally asking the question. It also puts this kind of information into the list's archives so people can find it for themselves in the future. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - IGNORE that man behind the keyboard! - - - The Wizard of OS - ---------------------------------------------------------------------- _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005 From rstevens at vitalstream.com Mon Sep 26 17:32:47 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Sep 2005 10:32:47 -0700 Subject: cdrecord read error In-Reply-To: <20050926161831.DDCCF15EC7@smtp.cwjamaica.com> References: <20050926161831.DDCCF15EC7@smtp.cwjamaica.com> Message-ID: <1127755967.14527.145.camel@nprophead.corp.publichost.com> On Mon, 2005-09-26 at 11:17 -0500, Sidney Abrahams wrote: > Rick, > > Thank you very much, and yes I am using WS4, sorry for not specifying. > It is much appreciated and very clearly explained. Glad to help, Sidney. So I take it that things are now working for you. Oh, and by the way, we kinda prefer bottom posting (put your reply AFTER what you're replying to) on this list. It makes the logical flow of the message threads easier to follow. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Friday, September 23, 2005 06:10 PM > To: Getting started with Red Hat Linux > Subject: Re: cdrecord read error > > On Fri, 2005-09-23 at 17:22 -0500, Sidney Abrahams wrote: > > I used cdrecord to copy my data file backups to cd every day on Linux 9 > Red > > Hat. I recently upgraded to Enterprise WS and now the cdrecord gives me: > > Cdrecord: Input/output error. Read error on input file. > > Yet I can use kde audio burner software to burn that same file to a cd?? > > The cdrw is configured on dev/hda, while on my old system it was on fake > > scsi dev=1,0,0. cdrecord cannot read/write to ide devices? > > You didn't specify if its WS4 or WS3. WS4 uses a 2.6 kernel and WS3 > uses a 2.4 kernel. Since it's not working any longer, I'm going to > assume that you're using WS4 and a 2.6 kernel. > > Under a 2.4 kernel, the IDE driver couldn't do ATAPI I/O (ATAPI is the > way CD/CDR/CDRW and DVD/DVD+-R/DVD+-RW drives talk to the bus-- > essentially SCSI commands over an IDE interface). To fix that, there > was an "ide-scsi" driver that did the translation. Hence, ATAPI devices > appeared to the kernel as if they were native SCSI devices. > > The 2.6 kernel's IDE midlayer is capable of handling the ATAPI I/O > directly, so the ide-scsi driver is not necessary. "dev=1,0,0" implies > SCSI, and since there's no SCSI emulation any longer, "dev=1,0.0" won't > work. > > Under a 2.6 kernel and using an ATAPI drive, the proper syntax is > "dev=ATA:1,0,0" (the ATA tells cdrecord to use the ATAPI interface > rather than the default SCSI interface). If you were using a native > SCSI CD writer, then "dev=1,0,0" would still be appropriate. > > I know this is more info than you probably need, but I'm a firm believer > that just handing someone a solution without explaining _why_ it works > is a bit of a disservice to the person originally asking the question. > It also puts this kind of information into the list's archives so people > can find it for themselves in the future. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - 500: Internal Fortune Cookie Error - ---------------------------------------------------------------------- From bastiji at gmail.com Mon Sep 26 19:10:23 2005 From: bastiji at gmail.com (FS) Date: Mon, 26 Sep 2005 15:10:23 -0400 Subject: RPM error with PGP 6.5.8 installation Message-ID: [Cross posted to Fedora list] Hello all, While trying to install PGP 6.5.8 cmd line RPM (downloaded from http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm getting the following error: root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh PGPcmdln_6.5.8_Lnx_FW.rpm error: Failed dependencies: libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 I googled on this and found some tips to ln -s the current version (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. I'm not too sure what the lib files are used for, but it seems that the 5.0.5 would be newer than the 2.8. Any help/tips/pointers appreciated! Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: From bastiji at gmail.com Mon Sep 26 19:14:09 2005 From: bastiji at gmail.com (FS) Date: Mon, 26 Sep 2005 15:14:09 -0400 Subject: Fwd: RPM error with PGP 6.5.8 installation In-Reply-To: References: Message-ID: I forgot to add that I'm trying to do this on a Linux FC-1 system root at c7504s98 /usr/lib$ uname -a Linux c7504s98 2.4.22-1.2199.nptl #1 Wed Aug 4 12:21:48 EDT 2004 i686 i686 i386 GNU/Linux Thanks, Faisal ---------- Forwarded message ---------- From: FS Date: Sep 26, 2005 3:10 PM Subject: RPM error with PGP 6.5.8 installation To: Getting started with Red Hat Linux [Cross posted to Fedora list] Hello all, While trying to install PGP 6.5.8 cmd line RPM (downloaded from http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm getting the following error: root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh PGPcmdln_6.5.8_Lnx_FW.rpm error: Failed dependencies: libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 I googled on this and found some tips to ln -s the current version (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. I'm not too sure what the lib files are used for, but it seems that the 5.0.5 would be newer than the 2.8. Any help/tips/pointers appreciated! Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Mon Sep 26 20:31:19 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Sep 2005 13:31:19 -0700 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: References: Message-ID: <1127766680.14527.168.camel@nprophead.corp.publichost.com> On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > [Cross posted to Fedora list] > > Hello all, > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > getting the following error: > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > PGPcmdln_6.5.8_Lnx_FW.rpm > error: Failed dependencies: > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > I googled on this and found some tips to ln -s the current version > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. Did they also tell you to rerun ldconfig after making the link? > I'm not too sure what the lib files are used for, but it seems that > the 5.0.5 would be newer than the 2.8. > > Any help/tips/pointers appreciated! The package you got was designed the older library. That's what it's linked against so you have to satisfy it somehow. There's two ways to do that: Set up the symlink as the google search told you, and run "ldconfig -v" so the linker knows about it. This may satisfy rpm. Force the RPM to load via "rpm -ivh --force --nodeps". I don't recommend that. The RPMwill install, but it may not work properly. If you insist on keeping that C library, then I'd REALLY suggest you download the source RPM and rebuild it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The world is coming to an end ... SAVE YOUR FILES!!! - ---------------------------------------------------------------------- From Edward.D.Kramer at wellsfargo.com Mon Sep 26 23:09:09 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Mon, 26 Sep 2005 18:09:09 -0500 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG Message-ID: I have been using RH9 for years and decided to make the jump to FC4 and so far Im very disappointed. I ran into the SWAP garbage bug and was able to get into resucue mode and clean up this line within the fstab file. However, during my install I had created several partions, /, /boot, /home, /opt. The / and /boot lines seem fine to be fine but the /home and /opt partitions were throwing invalid line errors. I removed the lines and boom it started right up. Now the problem is that, Im missing the disk space that I partitioned for, and I have attempted to remap the partitions in the mtab file and made the corresponding updates in the fstab file. Boom Im still getting invalid line errors on in my fstab. I can see the HAD partions have been created, I have tried mapping these in mtab file labeling it to /home, then using the following line FSTAB. Fstab entry LABEL=/home /home ext3 defaults 1 2 Any thoughts on what Im doing wrong? Or is there some funky bug with the installer on partitions other than root and boot with FC4? Thanks, DK -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Mon Sep 26 23:51:10 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Sep 2005 16:51:10 -0700 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG In-Reply-To: References: Message-ID: <1127778670.9838.12.camel@nprophead.corp.publichost.com> On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com wrote: > I have been using RH9 for years and decided to make the jump to FC4 > and so far Im very disappointed. I ran into the SWAP garbage bug and > was able to get into resucue mode and clean up this line within the > fstab file. However, during my install I had created several > partions, /, /boot, /home, /opt. The / and /boot lines seem fine to > be fine but the /home and /opt partitions were throwing invalid line > errors. I removed the lines and boom it started right up. Now the > problem is that, Im missing the disk space that I partitioned for, and > I have attempted to remap the partitions in the mtab file and made the > corresponding updates in the fstab file. Boom Im still getting > invalid line errors on in my fstab. I can see the HAD partions have > been created, I have tried mapping these in mtab file labeling it > to /home, then using the following line FSTAB. > > > > Fstab entry > > LABEL=/home /home ext3 defaults 1 2 > > > > > > Any thoughts on what Im doing wrong? Or is there some funky bug with > the installer on partitions other than root and boot with FC4? I should first recommend that you NEVER futz with /etc/mtab manually unless you're really, really certain of what you're doing. /etc/mtab is the primary way the filesystem utilities know what's where. I'd like to see exactly what errors you're getting with the lines in fstab. My initial guess is that there really aren't labels on the filesystem as you think there are. If you know what the partitions are, try running "e2label " (e.g. "e2label /dev/hda7") and verify that the labels are what you think they are. There may be an extra space or something tacked on them that's not obvious. You may even want to do something like "e2label /dev/hda7 | od -c". You should see something like this: [root at nprophead Utilities]# e2label /dev/hda7 | od -c 0000000 / u s r \n 0000005 showing that there's no embedded spaces or anything in there. Another quick check is if you can mount them by device name instead of by labels: mount /dev/hda7 /usr If that works, then there's definitely something rotten in the labels. You can use e2label to change them: [root at nprophead Utilities]# umount /usr [root at nprophead Utilities]# e2label /dev/hda7 /usr then you can try to mount via labels again: [root at nprophead Utilities]# mount -L /usr /usr ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Do you suffer from long-term memory loss?" "I don't remember" - - -- Chumbawumba, "Amnesia" (TubThumping) - ---------------------------------------------------------------------- From Edward.D.Kramer at wellsfargo.com Tue Sep 27 00:28:44 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Mon, 26 Sep 2005 19:28:44 -0500 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG Message-ID: Thanks Rick I will give the e2label command a shot, I have never seen or heard of it before, so Im looking forward to using it. Im fairly comfortable with the mtab file and fstab, I guess that's why I was so shocked when things weren't working. I even had no problem adding a 250GB(with 130 GB of music on it) HD from my previous RH9 environment, created the mtab entry and fstab, it mounted perfectly fine. The error message I get is during boot, and it literally says something like: Error on Invalid Line #X where X is the line number that sets the partition label for /home or /opt. Then is prompts for Control-D or Maintenance mode. No more no less. I have never had any problems like this installing Redhat before. I have been using it since RH 5.2 back when you had to compile your own tulip.c just to get Ethernet running :) Anyway, I will see what the actual label is. I spoke with a bunch of my collegues and they all recommended going to FC3 instead. Thoughts on that statement? DK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Monday, September 26, 2005 04:51 PM To: Getting started with Red Hat Linux Subject: Re: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com wrote: > I have been using RH9 for years and decided to make the jump to FC4 > and so far Im very disappointed. I ran into the SWAP garbage bug and > was able to get into resucue mode and clean up this line within the > fstab file. However, during my install I had created several > partions, /, /boot, /home, /opt. The / and /boot lines seem fine to > be fine but the /home and /opt partitions were throwing invalid line > errors. I removed the lines and boom it started right up. Now the > problem is that, Im missing the disk space that I partitioned for, and > I have attempted to remap the partitions in the mtab file and made the > corresponding updates in the fstab file. Boom Im still getting > invalid line errors on in my fstab. I can see the HAD partions have > been created, I have tried mapping these in mtab file labeling it > to /home, then using the following line FSTAB. > > > > Fstab entry > > LABEL=/home /home ext3 defaults 1 2 > > > > > > Any thoughts on what Im doing wrong? Or is there some funky bug with > the installer on partitions other than root and boot with FC4? I should first recommend that you NEVER futz with /etc/mtab manually unless you're really, really certain of what you're doing. /etc/mtab is the primary way the filesystem utilities know what's where. I'd like to see exactly what errors you're getting with the lines in fstab. My initial guess is that there really aren't labels on the filesystem as you think there are. If you know what the partitions are, try running "e2label " (e.g. "e2label /dev/hda7") and verify that the labels are what you think they are. There may be an extra space or something tacked on them that's not obvious. You may even want to do something like "e2label /dev/hda7 | od -c". You should see something like this: [root at nprophead Utilities]# e2label /dev/hda7 | od -c 0000000 / u s r \n 0000005 showing that there's no embedded spaces or anything in there. Another quick check is if you can mount them by device name instead of by labels: mount /dev/hda7 /usr If that works, then there's definitely something rotten in the labels. You can use e2label to change them: [root at nprophead Utilities]# umount /usr [root at nprophead Utilities]# e2label /dev/hda7 /usr then you can try to mount via labels again: [root at nprophead Utilities]# mount -L /usr /usr ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Do you suffer from long-term memory loss?" "I don't remember" - - -- Chumbawumba, "Amnesia" (TubThumping) - ---------------------------------------------------------------------- _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe From rstevens at vitalstream.com Tue Sep 27 01:22:11 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Mon, 26 Sep 2005 18:22:11 -0700 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG In-Reply-To: References: Message-ID: <1127784131.9838.28.camel@nprophead.corp.publichost.com> On Mon, 2005-09-26 at 19:28 -0500, Edward.D.Kramer at wellsfargo.com wrote: > Thanks Rick I will give the e2label command a shot, I have never seen or > heard of it before, so Im looking forward to using it. Im fairly > comfortable with the mtab file and fstab, I guess that's why I was so > shocked when things weren't working. Again, you should NEVER have to touch /etc/mtab. It is maintained by the mount command itself. > I even had no problem adding a 250GB(with 130 GB of music on it) HD from > my previous RH9 environment, created the mtab entry and fstab, it > mounted perfectly fine. Again, /etc/mtab is maintained by mount(1). > The error message I get is during boot, and it literally says something > like: > > Error on Invalid Line #X where X is the line number that sets the > partition label for /home or /opt. Then is prompts for Control-D or > Maintenance mode. It's asking for the CTRL-D stuff because you have "2" at the end of the lines, meaning that the filesystem MUST be checked via fsck, but after any other filesystems that have a "1" at the end. > No more no less. I have never had any problems like > this installing Redhat before. I have been using it since RH 5.2 back > when you had to compile your own tulip.c just to get Ethernet running :) Only if you had the "new" DECchip ethernet card, Edward! ;-) > Anyway, I will see what the actual label is. Did you try the mount without labels? You can also do that in /etc/fstab, just use "/dev/hdax" instead of "LABEL=/home"). > I spoke with a bunch of my collegues and they all recommended going to > FC3 instead. Thoughts on that statement? No, I wouldn't bother. FC3 and FC4 both use the 2.6 kernel and filesystem utilities. This sounds like the old "quantum leap up four levels of OS updates"...there are going to be some glitches. In this case, it sounds like an oopsie in anaconda's handling of existing labels--especially if the partitions will mount using the device name. Personally, I don't like using labels. There can be issues if you add a drive with a partition that has a label that's the same as one on the main drive...which one the system will actually mount is anyone's guess at that point. To paraphrase Heisenberg, "You can never know what's mounted!" Oh, and by the way, we prefer bottom posting on this list. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > Stevens > Sent: Monday, September 26, 2005 04:51 PM > To: Getting started with Red Hat Linux > Subject: Re: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG > > On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com wrote: > > I have been using RH9 for years and decided to make the jump to FC4 > > and so far Im very disappointed. I ran into the SWAP garbage bug and > > was able to get into resucue mode and clean up this line within the > > fstab file. However, during my install I had created several > > partions, /, /boot, /home, /opt. The / and /boot lines seem fine to > > be fine but the /home and /opt partitions were throwing invalid line > > errors. I removed the lines and boom it started right up. Now the > > problem is that, Im missing the disk space that I partitioned for, and > > I have attempted to remap the partitions in the mtab file and made the > > corresponding updates in the fstab file. Boom Im still getting > > invalid line errors on in my fstab. I can see the HAD partions have > > been created, I have tried mapping these in mtab file labeling it > > to /home, then using the following line FSTAB. > > > > > > > > Fstab entry > > > > LABEL=/home /home ext3 defaults 1 2 > > > > > > > > > > > > Any thoughts on what Im doing wrong? Or is there some funky bug with > > the installer on partitions other than root and boot with FC4? > > I should first recommend that you NEVER futz with /etc/mtab manually > unless you're really, really certain of what you're doing. /etc/mtab is > the primary way the filesystem utilities know what's where. > > I'd like to see exactly what errors you're getting with the lines in > fstab. My initial guess is that there really aren't labels on the > filesystem as you think there are. If you know what the partitions are, > try running "e2label " (e.g. "e2label /dev/hda7") and verify > that the labels are what you think they are. There may be an extra > space or something tacked on them that's not obvious. You may even want > to do something like "e2label /dev/hda7 | od -c". You should see > something like this: > > [root at nprophead Utilities]# e2label /dev/hda7 | od -c > 0000000 / u s r \n > 0000005 > > showing that there's no embedded spaces or anything in there. Another > quick check is if you can mount them by device name instead of by > labels: > > mount /dev/hda7 /usr > > If that works, then there's definitely something rotten in the labels. > You can use e2label to change them: > > [root at nprophead Utilities]# umount /usr > [root at nprophead Utilities]# e2label /dev/hda7 /usr > > then you can try to mount via labels again: > > [root at nprophead Utilities]# mount -L /usr /usr ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Treat each day as if it's your last...a lot of crying and whining - - usually gets you what you want! -- Sam Sledge - ---------------------------------------------------------------------- From sabraham at cwjamaica.com Tue Sep 27 15:47:43 2005 From: sabraham at cwjamaica.com (Sidney Abrahams) Date: Tue, 27 Sep 2005 10:47:43 -0500 Subject: Setting up a VPN on Redhat 9 In-Reply-To: <1127517022.14527.130.camel@nprophead.corp.publichost.com> Message-ID: <20050927154818.63A6C15ECE@smtp.cwjamaica.com> Rick, Can you give me a sure fire way to setup a VPN on Linux RH 9? And does WS4 make the job any easier? Sidney Abrahams From sabraham at cwjamaica.com Tue Sep 27 15:57:19 2005 From: sabraham at cwjamaica.com (Sidney Abrahams) Date: Tue, 27 Sep 2005 10:57:19 -0500 Subject: cdrecord read error In-Reply-To: <1127755967.14527.145.camel@nprophead.corp.publichost.com> Message-ID: <20050927155754.111F115D0A@smtp.cwjamaica.com> -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Monday, September 26, 2005 12:33 PM To: Getting started with Red Hat Linux Subject: RE: cdrecord read error On Mon, 2005-09-26 at 11:17 -0500, Sidney Abrahams wrote: > Rick, > > Thank you very much, and yes I am using WS4, sorry for not specifying. > It is much appreciated and very clearly explained. Glad to help, Sidney. So I take it that things are now working for you. Oh, and by the way, we kinda prefer bottom posting (put your reply AFTER what you're replying to) on this list. It makes the logical flow of the message threads easier to follow. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Friday, September 23, 2005 06:10 PM > To: Getting started with Red Hat Linux > Subject: Re: cdrecord read error > > On Fri, 2005-09-23 at 17:22 -0500, Sidney Abrahams wrote: > > I used cdrecord to copy my data file backups to cd every day on Linux 9 > Red > > Hat. I recently upgraded to Enterprise WS and now the cdrecord gives me: > > Cdrecord: Input/output error. Read error on input file. > > Yet I can use kde audio burner software to burn that same file to a cd?? > > The cdrw is configured on dev/hda, while on my old system it was on fake > > scsi dev=1,0,0. cdrecord cannot read/write to ide devices? > > You didn't specify if its WS4 or WS3. WS4 uses a 2.6 kernel and WS3 > uses a 2.4 kernel. Since it's not working any longer, I'm going to > assume that you're using WS4 and a 2.6 kernel. > > Under a 2.4 kernel, the IDE driver couldn't do ATAPI I/O (ATAPI is the > way CD/CDR/CDRW and DVD/DVD+-R/DVD+-RW drives talk to the bus-- > essentially SCSI commands over an IDE interface). To fix that, there > was an "ide-scsi" driver that did the translation. Hence, ATAPI devices > appeared to the kernel as if they were native SCSI devices. > > The 2.6 kernel's IDE midlayer is capable of handling the ATAPI I/O > directly, so the ide-scsi driver is not necessary. "dev=1,0,0" implies > SCSI, and since there's no SCSI emulation any longer, "dev=1,0.0" won't > work. > > Under a 2.6 kernel and using an ATAPI drive, the proper syntax is > "dev=ATA:1,0,0" (the ATA tells cdrecord to use the ATAPI interface > rather than the default SCSI interface). If you were using a native > SCSI CD writer, then "dev=1,0,0" would still be appropriate. > > I know this is more info than you probably need, but I'm a firm believer > that just handing someone a solution without explaining _why_ it works > is a bit of a disservice to the person originally asking the question. > It also puts this kind of information into the list's archives so people > can find it for themselves in the future. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - 500: Internal Fortune Cookie Error - ---------------------------------------------------------------------- _______________________________________________ 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005 Rick, Yes the ATA command worked perfectly. Sidney From tpotter at techmarin.com Tue Sep 27 16:04:00 2005 From: tpotter at techmarin.com (Ted Potter) Date: Tue, 27 Sep 2005 09:04:00 -0700 Subject: Setting up a VPN on Redhat 9 In-Reply-To: <20050927154818.63A6C15ECE@smtp.cwjamaica.com> References: <20050927154818.63A6C15ECE@smtp.cwjamaica.com> Message-ID: <1127837040.3676.4.camel@interjet.techmarin.com> On Tue, 2005-09-27 at 10:47 -0500, Sidney Abrahams wrote: > Rick, > > Can you give me a sure fire way to setup a VPN on Linux RH 9? And does WS4 > make the job any easier? > > Sidney Abrahams > Bob McClure Jr pointed me to this http://www.poptop.org/ and it worked like a charm for my then RH9 Rick mentioned http://ww.freeswan.org for FC3 hth -- Ted Potter TechMarin From rstevens at vitalstream.com Tue Sep 27 16:18:53 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 09:18:53 -0700 Subject: Setting up a VPN on Redhat 9 In-Reply-To: <1127837040.3676.4.camel@interjet.techmarin.com> References: <20050927154818.63A6C15ECE@smtp.cwjamaica.com> <1127837040.3676.4.camel@interjet.techmarin.com> Message-ID: <1127837933.9838.37.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 09:04 -0700, Ted Potter wrote: > On Tue, 2005-09-27 at 10:47 -0500, Sidney Abrahams wrote: > > Rick, > > > > Can you give me a sure fire way to setup a VPN on Linux RH 9? And does WS4 > > make the job any easier? > > > > Sidney Abrahams > > > > Bob McClure Jr pointed me to this > > http://www.poptop.org/ > > > and it worked like a charm for my then RH9 > > Rick mentioned > > http://ww.freeswan.org > > for FC3 Geeze! I did? Wow! freeswan has been essentially dead since March. The newer versions are at http://www.openswan.org and http://www.strongswan.org ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "I was remembering the immortal words of Socrates when he said, - - 'I drank what?'" -- Val Kilmer in "Real Genius" - ---------------------------------------------------------------------- From markknecht at gmail.com Tue Sep 27 17:01:56 2005 From: markknecht at gmail.com (Mark Knecht) Date: Tue, 27 Sep 2005 10:01:56 -0700 Subject: files/partitions question Message-ID: <5bdc1c8b050927100128bd72e1@mail.gmail.com> Hi, Probably a simple question for some wily old-timer. ;-) I have a system in which the root partition seems to be getting a bit full. It got up to about 96% full and I've cleared some things out, but now I want to understand what's still there and using up 8GB. dragonfly / # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda8 9621848 8121392 1011680 89% / udev 249524 360 249164 1% /dev /dev/hda2 50394996 47146084 688956 99% /Musiclib /dev/hda3 30233928 1792032 26906084 7% /home /dev/hda9 9621848 2726716 6406356 30% /CODE /dev/hda10 2893628 405328 2341308 15% /var none 249524 0 249524 0% /dev/shm myth14:/video 225373664 110171552 103753792 52% /video dragonfly / # From the du man page it seems that I should be able to run du -x and only get the usage of the specific drive and not the partitions that are on other drives, so I try it: dragonfly / # du -x / 16 /lost+found 4 /boot 5392 /bin 0 /dev 7964 /root 4 /Froot 12 /Musiclib 8 /service 8 /video 4 /video1 3526456 / dragonfly / # Indeed, this command does not appear to traverse other drives. I do not see /var, /home, etc., but when it's finished it says that only 3.5 GB are used while the df command tells me 8.1GB is used. Which is correct? As a bonus question, if I know the name of a file and want to know what drive it's on, how can I do that at the command line? I'd most like a command that reports back file so-and-so resides on /dev/hda11 if possible. Thanks, Mark From rstevens at vitalstream.com Tue Sep 27 18:05:07 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 11:05:07 -0700 Subject: files/partitions question In-Reply-To: <5bdc1c8b050927100128bd72e1@mail.gmail.com> References: <5bdc1c8b050927100128bd72e1@mail.gmail.com> Message-ID: <1127844307.21633.13.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 10:01 -0700, Mark Knecht wrote: > Hi, > Probably a simple question for some wily old-timer. ;-) > > I have a system in which the root partition seems to be getting a > bit full. It got up to about 96% full and I've cleared some things > out, but now I want to understand what's still there and using up 8GB. > > dragonfly / # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda8 9621848 8121392 1011680 89% / > udev 249524 360 249164 1% /dev > /dev/hda2 50394996 47146084 688956 99% /Musiclib > /dev/hda3 30233928 1792032 26906084 7% /home > /dev/hda9 9621848 2726716 6406356 30% /CODE > /dev/hda10 2893628 405328 2341308 15% /var > none 249524 0 249524 0% /dev/shm > myth14:/video 225373664 110171552 103753792 52% /video > dragonfly / # > > From the du man page it seems that I should be able to run du -x and > only get the usage of the specific drive and not the partitions that > are on other drives, so I try it: > > dragonfly / # du -x / > 16 /lost+found > 4 /boot > 5392 /bin > 0 /dev > > 7964 /root > 4 /Froot > 12 /Musiclib > 8 /service > 8 /video > 4 /video1 > 3526456 / > dragonfly / # > > Indeed, this command does not appear to traverse other drives. I do > not see /var, /home, etc., but when it's finished it says that only > 3.5 GB are used while the df command tells me 8.1GB is used. Which is > correct? The most common cause of this is having a process running that's opened a big file for appending, but hasn't actually used any space yet. "du" tells you what's actually being used. "df" will tell you what's _reserved_ and MAY be used. Verify you don't have a process open somewhere that's holding an open file. If you've purged a bunch of stuff on the drive, then the free space may not show up in "df" until you reboot or close whatever application has a file open in that directory. > As a bonus question, if I know the name of a file and want to know > what drive it's on, how can I do that at the command line? I'd most > like a command that reports back file so-and-so resides on /dev/hda11 > if possible. Hooo, boy! The vast majority of programs that do that use either fixed paths (e.g. "whereis") or use the $PATH environment ("which"). If you just have a filename, you'd need to use "find" to locate the file, then pass the directory name to a pattern matcher and print the appropriate stuff by examining /etc/mtab. There's no simple way to do it. Here's a shell script that can do it, but it's bloody nasty! ------------------------ Cut Here ------------------------------------- #!/bin/bash RES=`find / -noleaf -name $1 -print` if [ $? -ne 0 ]; then echo No such file found exit 1 fi for LINE in $RES; do XLINE=$LINE RC=1 while [ $RC -ne 0 ]; do XPATH=`dirname $XLINE` XX=`grep $XPATH /etc/mtab` RC=$? if [ $RC -ne 0 ]; then XLINE=$XPATH else echo -n "$LINE is on " echo $XX | awk '{print $1;}' break; fi done done ------------------------ Cut Here ------------------------------------- If saved as "/usr/local/bin/whichdrive", then /usr/local/bin/whichdrive filename should reveal it. Remember, "find" can take a LONG time. You could modify the script to use slocate and a restrictive regular expression if you wish. I leave that as an exercise for the reader (meaning "I'm too d at mned lazy to write it") :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Do you suffer from long-term memory loss?" "I don't remember" - - -- Chumbawumba, "Amnesia" (TubThumping) - ---------------------------------------------------------------------- From bastiji at gmail.com Tue Sep 27 20:05:26 2005 From: bastiji at gmail.com (FS) Date: Tue, 27 Sep 2005 16:05:26 -0400 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: <1127766680.14527.168.camel@nprophead.corp.publichost.com> References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> Message-ID: On 9/26/05, Rick Stevens wrote: > On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > > [Cross posted to Fedora list] > > > > Hello all, > > > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > > getting the following error: > > > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > > PGPcmdln_6.5.8_Lnx_FW.rpm > > error: Failed dependencies: > > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > > > I googled on this and found some tips to ln -s the current version > > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. > > Did they also tell you to rerun ldconfig after making the link? > > > I'm not too sure what the lib files are used for, but it seems that > > the 5.0.5 would be newer than the 2.8. > > > > Any help/tips/pointers appreciated! > > The package you got was designed the older library. That's what it's > linked against so you have to satisfy it somehow. There's two ways to > do that: > > Set up the symlink as the google search told you, and run "ldconfig -v" > so the linker knows about it. This may satisfy rpm. > > Force the RPM to load via "rpm -ivh --force --nodeps". I don't > recommend that. The RPMwill install, but it may not work properly. > > If you insist on keeping that C library, then I'd REALLY suggest you > download the source RPM and rebuild it. > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - The world is coming to an end ... SAVE YOUR FILES!!! - > ---------------------------------------------------------------------- Thanks for the response Rick. Trying both ways didn't work. When I force the RPM to install and then try to run PGP it gives an error pgp: relocation error: pgp: undefined symbol: __eh_pc Downloaded the source from the pgpi site and tried to run the build.sh from there and it also gave me a spectacular multi-line error and then quit. Error shown was: g++ -g -O2 -g main.o args.o pgp.o getopt.o fileio.o config.o doencode.o dodecode.o lists.o keyview.o keygen.o keyadd.o keyremove.o keyedit.o keyexport.o keymaint.o keysign.o keyrevoke.o more.o groups.o match.o misc.o pgpAcquireEntropy.o pgpLanguage.o ../shared/pgpDiskWiper.o ../shared/pgpClientErrors.o -o pgp -L/usr/local/lib -L../../../libs/pfl -L../../../libs/pgpcdk/unix -L/lib/linux -lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl -lpthread -lm -lnsl /usr/bin/ld: cannot find -lPGPui collect2: ld returned 1 exit status make: *** [pgp] Error 1 So for now, as someone suggested in the Fedora list, the option is to run GPG and hope that it really is as compatible as everyone says it is. Thank you for your help! Faisal From rstevens at vitalstream.com Tue Sep 27 20:32:01 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 13:32:01 -0700 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> Message-ID: <1127853121.21633.20.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 16:05 -0400, FS wrote: > On 9/26/05, Rick Stevens wrote: > > On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > > > [Cross posted to Fedora list] > > > > > > Hello all, > > > > > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > > > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > > > getting the following error: > > > > > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > > > PGPcmdln_6.5.8_Lnx_FW.rpm > > > error: Failed dependencies: > > > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > > > > > I googled on this and found some tips to ln -s the current version > > > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. > > > > Did they also tell you to rerun ldconfig after making the link? > > > > > I'm not too sure what the lib files are used for, but it seems that > > > the 5.0.5 would be newer than the 2.8. > > > > > > Any help/tips/pointers appreciated! > > > > The package you got was designed the older library. That's what it's > > linked against so you have to satisfy it somehow. There's two ways to > > do that: > > > > Set up the symlink as the google search told you, and run "ldconfig -v" > > so the linker knows about it. This may satisfy rpm. > > > > Force the RPM to load via "rpm -ivh --force --nodeps". I don't > > recommend that. The RPMwill install, but it may not work properly. > > > > If you insist on keeping that C library, then I'd REALLY suggest you > > download the source RPM and rebuild it. > Thanks for the response Rick. > > Trying both ways didn't work. When I force the RPM to install and then > try to run PGP it gives an error > > pgp: relocation error: pgp: undefined symbol: __eh_pc I was concerned about that. One worries when you have to do a "--force" or "--nodeps" on an RPM install. The version of PGP you got was built for a different library set and it doesn't surprise me one iota that it wouldn't work. > Downloaded the source from the pgpi site and tried to run the build.sh > from there and it also gave me a spectacular multi-line error and then > quit. Error shown was: > > g++ -g -O2 -g main.o args.o pgp.o getopt.o fileio.o config.o > doencode.o dodecode.o lists.o keyview.o keygen.o keyadd.o keyremove.o > keyedit.o keyexport.o keymaint.o keysign.o keyrevoke.o more.o groups.o > match.o misc.o pgpAcquireEntropy.o pgpLanguage.o > ../shared/pgpDiskWiper.o ../shared/pgpClientErrors.o -o pgp > -L/usr/local/lib -L../../../libs/pfl -L../../../libs/pgpcdk/unix > -L/lib/linux -lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl -lpthread -lm > -lnsl > /usr/bin/ld: cannot find -lPGPui > collect2: ld returned 1 exit status > make: *** [pgp] Error 1 The problem you describe above is a missing library...libPGPui.so I don't think its available in an RPM for FC1. You'd need to get the source for that and build it first, THEN build PGP. You're manually satisfying the dependencies now. > So for now, as someone suggested in the Fedora list, the option is to > run GPG and hope that it really is as compatible as everyone says it > is. GPG is VERY compatible, integrated well into the system and, as a result, a LOT easier to manage. I use GPG almost exclusively. ---------------------------------------------------------------------- - 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 Edward.D.Kramer at wellsfargo.com Tue Sep 27 21:58:48 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Tue, 27 Sep 2005 16:58:48 -0500 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG Message-ID: Rick thank you so much for turning me onto the e2label command, I guess it does help to read the bottom of a man page some time. Anyway, I found the problem, the installer segmented the partitions on my drive, but it failed to format them into ext3. There were three total partitions that were messed up, and I fixed one of them just to make sure I had found the issue. I reformatted the partion, labeled it, then mounted it, boom she booted fine with the new partion. I cant thank you enough for the e2label command, it will be used heavily in my arsenal now :) After speakwing with some friends I decided to drop FC4 and go to FC3. so far I have accomplished more in the past 24 hours than I did in 4 days with FC4. I guess I can atleast say I was able to get it up and running :) But I don't have the time these days to be trail blazing the path of Fedora, I get enough of it at work! Im sure we'll cross again on the discussion lists :) Cheers Again! SK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Monday, September 26, 2005 06:22 PM To: Getting started with Red Hat Linux Subject: RE: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG On Mon, 2005-09-26 at 19:28 -0500, Edward.D.Kramer at wellsfargo.com wrote: > Thanks Rick I will give the e2label command a shot, I have never seen or > heard of it before, so Im looking forward to using it. Im fairly > comfortable with the mtab file and fstab, I guess that's why I was so > shocked when things weren't working. Again, you should NEVER have to touch /etc/mtab. It is maintained by the mount command itself. > I even had no problem adding a 250GB(with 130 GB of music on it) HD from > my previous RH9 environment, created the mtab entry and fstab, it > mounted perfectly fine. Again, /etc/mtab is maintained by mount(1). > The error message I get is during boot, and it literally says something > like: > > Error on Invalid Line #X where X is the line number that sets the > partition label for /home or /opt. Then is prompts for Control-D or > Maintenance mode. It's asking for the CTRL-D stuff because you have "2" at the end of the lines, meaning that the filesystem MUST be checked via fsck, but after any other filesystems that have a "1" at the end. > No more no less. I have never had any problems like > this installing Redhat before. I have been using it since RH 5.2 back > when you had to compile your own tulip.c just to get Ethernet running :) Only if you had the "new" DECchip ethernet card, Edward! ;-) > Anyway, I will see what the actual label is. Did you try the mount without labels? You can also do that in /etc/fstab, just use "/dev/hdax" instead of "LABEL=/home"). > I spoke with a bunch of my collegues and they all recommended going to > FC3 instead. Thoughts on that statement? No, I wouldn't bother. FC3 and FC4 both use the 2.6 kernel and filesystem utilities. This sounds like the old "quantum leap up four levels of OS updates"...there are going to be some glitches. In this case, it sounds like an oopsie in anaconda's handling of existing labels--especially if the partitions will mount using the device name. Personally, I don't like using labels. There can be issues if you add a drive with a partition that has a label that's the same as one on the main drive...which one the system will actually mount is anyone's guess at that point. To paraphrase Heisenberg, "You can never know what's mounted!" Oh, and by the way, we prefer bottom posting on this list. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > Stevens > Sent: Monday, September 26, 2005 04:51 PM > To: Getting started with Red Hat Linux > Subject: Re: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG > > On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com wrote: > > I have been using RH9 for years and decided to make the jump to FC4 > > and so far Im very disappointed. I ran into the SWAP garbage bug and > > was able to get into resucue mode and clean up this line within the > > fstab file. However, during my install I had created several > > partions, /, /boot, /home, /opt. The / and /boot lines seem fine to > > be fine but the /home and /opt partitions were throwing invalid line > > errors. I removed the lines and boom it started right up. Now the > > problem is that, Im missing the disk space that I partitioned for, and > > I have attempted to remap the partitions in the mtab file and made the > > corresponding updates in the fstab file. Boom Im still getting > > invalid line errors on in my fstab. I can see the HAD partions have > > been created, I have tried mapping these in mtab file labeling it > > to /home, then using the following line FSTAB. > > > > > > > > Fstab entry > > > > LABEL=/home /home ext3 defaults 1 2 > > > > > > > > > > > > Any thoughts on what Im doing wrong? Or is there some funky bug with > > the installer on partitions other than root and boot with FC4? > > I should first recommend that you NEVER futz with /etc/mtab manually > unless you're really, really certain of what you're doing. /etc/mtab is > the primary way the filesystem utilities know what's where. > > I'd like to see exactly what errors you're getting with the lines in > fstab. My initial guess is that there really aren't labels on the > filesystem as you think there are. If you know what the partitions are, > try running "e2label " (e.g. "e2label /dev/hda7") and verify > that the labels are what you think they are. There may be an extra > space or something tacked on them that's not obvious. You may even want > to do something like "e2label /dev/hda7 | od -c". You should see > something like this: > > [root at nprophead Utilities]# e2label /dev/hda7 | od -c > 0000000 / u s r \n > 0000005 > > showing that there's no embedded spaces or anything in there. Another > quick check is if you can mount them by device name instead of by > labels: > > mount /dev/hda7 /usr > > If that works, then there's definitely something rotten in the labels. > You can use e2label to change them: > > [root at nprophead Utilities]# umount /usr > [root at nprophead Utilities]# e2label /dev/hda7 /usr > > then you can try to mount via labels again: > > [root at nprophead Utilities]# mount -L /usr /usr ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Treat each day as if it's your last...a lot of crying and whining - - usually gets you what you want! -- Sam Sledge - ---------------------------------------------------------------------- _______________________________________________ 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 bastiji at gmail.com Tue Sep 27 22:10:15 2005 From: bastiji at gmail.com (FS) Date: Tue, 27 Sep 2005 18:10:15 -0400 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: <1127853121.21633.20.camel@nprophead.corp.publichost.com> References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> Message-ID: On 9/27/05, Rick Stevens wrote: > On Tue, 2005-09-27 at 16:05 -0400, FS wrote: > > On 9/26/05, Rick Stevens wrote: > > > On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > > > > [Cross posted to Fedora list] > > > > > > > > Hello all, > > > > > > > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > > > > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > > > > getting the following error: > > > > > > > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > > > > PGPcmdln_6.5.8_Lnx_FW.rpm > > > > error: Failed dependencies: > > > > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > > > > > > > I googled on this and found some tips to ln -s the current version > > > > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. > > > > > > Did they also tell you to rerun ldconfig after making the link? > > > > > > > I'm not too sure what the lib files are used for, but it seems that > > > > the 5.0.5 would be newer than the 2.8. > > > > > > > > Any help/tips/pointers appreciated! > > > > > > The package you got was designed the older library. That's what it's > > > linked against so you have to satisfy it somehow. There's two ways to > > > do that: > > > > > > Set up the symlink as the google search told you, and run "ldconfig -v" > > > so the linker knows about it. This may satisfy rpm. > > > > > > Force the RPM to load via "rpm -ivh --force --nodeps". I don't > > > recommend that. The RPMwill install, but it may not work properly. > > > > > > If you insist on keeping that C library, then I'd REALLY suggest you > > > download the source RPM and rebuild it. > > > Thanks for the response Rick. > > > > Trying both ways didn't work. When I force the RPM to install and then > > try to run PGP it gives an error > > > > pgp: relocation error: pgp: undefined symbol: __eh_pc > > I was concerned about that. One worries when you have to do a "--force" > or "--nodeps" on an RPM install. > > The version of PGP you got was built for a different library set and it > doesn't surprise me one iota that it wouldn't work. > > > Downloaded the source from the pgpi site and tried to run the build.sh > > from there and it also gave me a spectacular multi-line error and then > > quit. Error shown was: > > > > g++ -g -O2 -g main.o args.o pgp.o getopt.o fileio.o config.o > > doencode.o dodecode.o lists.o keyview.o keygen.o keyadd.o keyremove.o > > keyedit.o keyexport.o keymaint.o keysign.o keyrevoke.o more.o groups.o > > match.o misc.o pgpAcquireEntropy.o pgpLanguage.o > > ../shared/pgpDiskWiper.o ../shared/pgpClientErrors.o -o pgp > > -L/usr/local/lib -L../../../libs/pfl -L../../../libs/pgpcdk/unix > > -L/lib/linux -lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl -lpthread -lm > > -lnsl > > /usr/bin/ld: cannot find -lPGPui > > collect2: ld returned 1 exit status > > make: *** [pgp] Error 1 > > The problem you describe above is a missing library...libPGPui.so I > don't think its available in an RPM for FC1. You'd need to get the > source for that and build it first, THEN build PGP. You're manually > satisfying the dependencies now. > > > So for now, as someone suggested in the Fedora list, the option is to > > run GPG and hope that it really is as compatible as everyone says it > > is. > > GPG is VERY compatible, integrated well into the system and, as a > result, a LOT easier to manage. I use GPG almost exclusively. > > ---------------------------------------------------------------------- > - 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. - > ---------------------------------------------------------------------- > > Rick -- Thanks for the informative answer. I gotta ask you this! How in the world is one supposed to know about all these dependencies and missing libraries with names sounding like the martians have invaded and started renaming files... What would you recommend as a starting point to understand all the libraries, their function, and how they all fit in the big picture as far as Linux goes? Thanks as always for your help Rick! Faisal From Edward.D.Kramer at wellsfargo.com Tue Sep 27 23:13:14 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Tue, 27 Sep 2005 18:13:14 -0500 Subject: FC3 - Ran up2date now CD Volume is not working Message-ID: I just installed a fresh version FC3 and ran the up2date, including the Kernel upgrade (from 2.6.9 to 2.6.12). My Gnome-CD player is working but Im getting no sound. Sound check on the sound cards is yielding noise, but when I try to open it I get an error that says Sorry, no mixer elements and/or devices found. It also doesn't let me adjust the volume control from 0. All of my CDI picked through google but everyone's Q\A didn't seem to work. DK -------------- next part -------------- An HTML attachment was scrubbed... URL: From rstevens at vitalstream.com Wed Sep 28 01:02:46 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 18:02:46 -0700 Subject: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG In-Reply-To: References: Message-ID: <1127869366.2901.3.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 16:58 -0500, Edward.D.Kramer at wellsfargo.com wrote: > Rick thank you so much for turning me onto the e2label command, I guess > it does help to read the bottom of a man page some time. Anyway, I > found the problem, the installer segmented the partitions on my drive, > but it failed to format them into ext3. There were three total > partitions that were messed up, and I fixed one of them just to make > sure I had found the issue. I reformatted the partion, labeled it, then > mounted it, boom she booted fine with the new partion. I cant thank you > enough for the e2label command, it will be used heavily in my arsenal > now :) Glad to help. > After speakwing with some friends I decided to drop FC4 and go to FC3. > so far I have accomplished more in the past 24 hours than I did in 4 > days with FC4. I guess I can atleast say I was able to get it up and > running :) But I don't have the time these days to be trail blazing the > path of Fedora, I get enough of it at work! There is quite a kernel jump from RH9 to FC4. FC3 is a bit more stable, but I think you just ran across an anaconda (the installer) issue. It'd be a help if you could file a bugzilla report on it. > Im sure we'll cross again on the discussion lists :) I'm sure. I'm always (well, most of the time at least) here. > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > Stevens > Sent: Monday, September 26, 2005 06:22 PM > To: Getting started with Red Hat Linux > Subject: RE: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG > > On Mon, 2005-09-26 at 19:28 -0500, Edward.D.Kramer at wellsfargo.com wrote: > > Thanks Rick I will give the e2label command a shot, I have never seen > or > > heard of it before, so Im looking forward to using it. Im fairly > > comfortable with the mtab file and fstab, I guess that's why I was so > > shocked when things weren't working. > > Again, you should NEVER have to touch /etc/mtab. It is maintained by > the mount command itself. > > > I even had no problem adding a 250GB(with 130 GB of music on it) HD > from > > my previous RH9 environment, created the mtab entry and fstab, it > > mounted perfectly fine. > > Again, /etc/mtab is maintained by mount(1). > > > The error message I get is during boot, and it literally says > something > > like: > > > > Error on Invalid Line #X where X is the line number that sets the > > partition label for /home or /opt. Then is prompts for Control-D or > > Maintenance mode. > > It's asking for the CTRL-D stuff because you have "2" at the end of the > lines, meaning that the filesystem MUST be checked via fsck, but after > any other filesystems that have a "1" at the end. > > > No more no less. I have never had any problems like > > this installing Redhat before. I have been using it since RH 5.2 back > > when you had to compile your own tulip.c just to get Ethernet running > :) > > Only if you had the "new" DECchip ethernet card, Edward! ;-) > > > Anyway, I will see what the actual label is. > > Did you try the mount without labels? You can also do that > in /etc/fstab, just use "/dev/hdax" instead of "LABEL=/home"). > > > I spoke with a bunch of my collegues and they all recommended going to > > FC3 instead. Thoughts on that statement? > > No, I wouldn't bother. FC3 and FC4 both use the 2.6 kernel and > filesystem utilities. This sounds like the old "quantum leap up four > levels of OS updates"...there are going to be some glitches. In this > case, it sounds like an oopsie in anaconda's handling of existing > labels--especially if the partitions will mount using the device name. > > Personally, I don't like using labels. There can be issues if you add a > drive with a partition that has a label that's the same as one on the > main drive...which one the system will actually mount is anyone's guess > at that point. > > To paraphrase Heisenberg, "You can never know what's mounted!" > > Oh, and by the way, we prefer bottom posting on this list. > > > -----Original Message----- > > From: redhat-install-list-bounces at redhat.com > > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > > Stevens > > Sent: Monday, September 26, 2005 04:51 PM > > To: Getting started with Red Hat Linux > > Subject: Re: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG > > > > On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com > wrote: > > > I have been using RH9 for years and decided to make the jump to FC4 > > > and so far Im very disappointed. I ran into the SWAP garbage bug > and > > > was able to get into resucue mode and clean up this line within the > > > fstab file. However, during my install I had created several > > > partions, /, /boot, /home, /opt. The / and /boot lines seem fine to > > > be fine but the /home and /opt partitions were throwing invalid line > > > errors. I removed the lines and boom it started right up. Now the > > > problem is that, Im missing the disk space that I partitioned for, > and > > > I have attempted to remap the partitions in the mtab file and made > the > > > corresponding updates in the fstab file. Boom Im still getting > > > invalid line errors on in my fstab. I can see the HAD partions have > > > been created, I have tried mapping these in mtab file labeling it > > > to /home, then using the following line FSTAB. > > > > > > > > > > > > Fstab entry > > > > > > LABEL=/home /home ext3 defaults 1 2 > > > > > > > > > > > > > > > > > > Any thoughts on what Im doing wrong? Or is there some funky bug > with > > > the installer on partitions other than root and boot with FC4? > > > > I should first recommend that you NEVER futz with /etc/mtab manually > > unless you're really, really certain of what you're doing. /etc/mtab > is > > the primary way the filesystem utilities know what's where. > > > > I'd like to see exactly what errors you're getting with the lines in > > fstab. My initial guess is that there really aren't labels on the > > filesystem as you think there are. If you know what the partitions > are, > > try running "e2label " (e.g. "e2label /dev/hda7") and > verify > > that the labels are what you think they are. There may be an extra > > space or something tacked on them that's not obvious. You may even > want > > to do something like "e2label /dev/hda7 | od -c". You should see > > something like this: > > > > [root at nprophead Utilities]# e2label /dev/hda7 | od -c > > 0000000 / u s r \n > > 0000005 > > > > showing that there's no embedded spaces or anything in there. Another > > quick check is if you can mount them by device name instead of by > > labels: > > > > mount /dev/hda7 /usr > > > > If that works, then there's definitely something rotten in the labels. > > You can use e2label to change them: > > > > [root at nprophead Utilities]# umount /usr > > [root at nprophead Utilities]# e2label /dev/hda7 /usr > > > > then you can try to mount via labels again: > > > > [root at nprophead Utilities]# mount -L /usr /usr ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - To err is human. To forgive, a large sum of money is needed. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Sep 28 01:27:51 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 18:27:51 -0700 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> Message-ID: <1127870871.2901.25.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 18:10 -0400, FS wrote: > On 9/27/05, Rick Stevens wrote: > > On Tue, 2005-09-27 at 16:05 -0400, FS wrote: > > > On 9/26/05, Rick Stevens wrote: > > > > On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > > > > > [Cross posted to Fedora list] > > > > > > > > > > Hello all, > > > > > > > > > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > > > > > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > > > > > getting the following error: > > > > > > > > > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > > > > > PGPcmdln_6.5.8_Lnx_FW.rpm > > > > > error: Failed dependencies: > > > > > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > > > > > > > > > I googled on this and found some tips to ln -s the current version > > > > > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. > > > > > > > > Did they also tell you to rerun ldconfig after making the link? > > > > > > > > > I'm not too sure what the lib files are used for, but it seems that > > > > > the 5.0.5 would be newer than the 2.8. > > > > > > > > > > Any help/tips/pointers appreciated! > > > > > > > > The package you got was designed the older library. That's what it's > > > > linked against so you have to satisfy it somehow. There's two ways to > > > > do that: > > > > > > > > Set up the symlink as the google search told you, and run "ldconfig -v" > > > > so the linker knows about it. This may satisfy rpm. > > > > > > > > Force the RPM to load via "rpm -ivh --force --nodeps". I don't > > > > recommend that. The RPMwill install, but it may not work properly. > > > > > > > > If you insist on keeping that C library, then I'd REALLY suggest you > > > > download the source RPM and rebuild it. > > > > > Thanks for the response Rick. > > > > > > Trying both ways didn't work. When I force the RPM to install and then > > > try to run PGP it gives an error > > > > > > pgp: relocation error: pgp: undefined symbol: __eh_pc > > > > I was concerned about that. One worries when you have to do a "--force" > > or "--nodeps" on an RPM install. > > > > The version of PGP you got was built for a different library set and it > > doesn't surprise me one iota that it wouldn't work. > > > > > Downloaded the source from the pgpi site and tried to run the build.sh > > > from there and it also gave me a spectacular multi-line error and then > > > quit. Error shown was: > > > > > > g++ -g -O2 -g main.o args.o pgp.o getopt.o fileio.o config.o > > > doencode.o dodecode.o lists.o keyview.o keygen.o keyadd.o keyremove.o > > > keyedit.o keyexport.o keymaint.o keysign.o keyrevoke.o more.o groups.o > > > match.o misc.o pgpAcquireEntropy.o pgpLanguage.o > > > ../shared/pgpDiskWiper.o ../shared/pgpClientErrors.o -o pgp > > > -L/usr/local/lib -L../../../libs/pfl -L../../../libs/pgpcdk/unix > > > -L/lib/linux -lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl -lpthread -lm > > > -lnsl > > > /usr/bin/ld: cannot find -lPGPui > > > collect2: ld returned 1 exit status > > > make: *** [pgp] Error 1 > > > > The problem you describe above is a missing library...libPGPui.so I > > don't think its available in an RPM for FC1. You'd need to get the > > source for that and build it first, THEN build PGP. You're manually > > satisfying the dependencies now. > > > > > So for now, as someone suggested in the Fedora list, the option is to > > > run GPG and hope that it really is as compatible as everyone says it > > > is. > > > > GPG is VERY compatible, integrated well into the system and, as a > > result, a LOT easier to manage. I use GPG almost exclusively. > > > Rick -- Thanks for the informative answer. I gotta ask you this! How > in the world is one supposed to know about all these dependencies and > missing libraries with names sounding like the martians have invaded > and started renaming files... Well, first off, make sure you read the README and INSTALL files that come with most tarballs. They generally tell you what the requirements are for the programs you build. As to the alphabet soup, remember that all libraries start with "lib" and end with ".so" or ".so.somenumber" or ".a". The vast majority live in the /usr/lib directory tree, but a number of really core libraries live in /lib instead. > What would you recommend as a starting point to understand all the > libraries, their function, and how they all fit in the big picture as > far as Linux goes? There really isn't a simple answer to that, sorry to say. Libraries are, well, libraries! There's a lot of them because each has certain things they bring to the table that others don't and the idea is not to bloat a library with stuff you may not need. Once, long ago (well, 1979 or there abouts), there was a move afoot to put everything you needed to support the C language into a single library. The problem was, the library was HUGE! The VAX/VMS linker couldn't even deal with it (and VAX/VMS was the mac-daddy of all OSes back then). So, the stuff you really used a lot (string handling, I/O, etc.) got stuck into the "main" library, and esoteric stuff (floating point math, trig functions, you get the idea) was stuffed into "auxiliary" libraries. The main library has come to be called "clib" or "libc". The other have other names. The one you ran into is a GUI library for PGP, "libPGPui" or "library for PGP user interfaces". It is required for PGP stuff that uses a graphical user interface. It's not required if you use just the command line parts of PGP. As to what you need to get something going...generally, if you go to a site and look at the downloads, most people package things into libraries (or support tarballs) and executable tarballs. The executables ALWAYS depend on the libraries or support things. pgpi isn't set up that way, much to their detriment. You've run into one of the problems with open source...there really isn't a standard that people MUST adhere to. There are guidelines and recommendations, but you can't compel people to comply beyond sticking with the Gnu General Public License or OSF's "copyleft" rules. Generally, you build the package. If you get an error message, you try to decipher it and resolve the problem. If that confuses you, you do what you did and you ask for help! Nothing wrong with that...we've all been there, done that and have the T-shirt and baseball cap to go along with it. That's one reason people such as myself and many, many others contribute to these lists...we've been there and we want to help prevent others from having to walk around the forest blindly as we once did. > Thanks as always for your help Rick! Just "paying it forward", Faisal. One day, you'll contribute to a list as well and someone will be in your debt. That's the way this thing works! ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - I don't suffer from insanity...I enjoy every minute of it! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Wed Sep 28 01:29:13 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Tue, 27 Sep 2005 18:29:13 -0700 Subject: FC3 - Ran up2date now CD Volume is not working In-Reply-To: References: Message-ID: <1127870953.2901.27.camel@nprophead.corp.publichost.com> On Tue, 2005-09-27 at 18:13 -0500, Edward.D.Kramer at wellsfargo.com wrote: > I just installed a fresh version FC3 and ran the up2date, including > the Kernel upgrade (from 2.6.9 to 2.6.12). My Gnome-CD player is > working but Im getting no sound. Sound check on the sound cards is > yielding noise, but when I try to open it I get an error that says > Sorry, no mixer elements and/or devices found. It also doesn?t let me > adjust the volume control from 0. All of my CDI picked through > google but everyone?s Q\A didn?t seem to work. Need to know what your mobo and sound configuration is like, Ed. Post your mobo and/or soundcard make and model and the output from "lspci -v" and we'll see what we can do. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You know the old saying--any technology sufficiently advanced is - - indistinguishable from a Perl script - - --Programming Perl, 2nd Edition - ---------------------------------------------------------------------- From Edward.D.Kramer at wellsfargo.com Wed Sep 28 03:19:49 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Tue, 27 Sep 2005 22:19:49 -0500 Subject: FC3 - Ran up2date now CD Volume is not working Message-ID: Im running a SIS_Silicon Integrated Systenms) Mother board, model number I cant remember but it's an AMD 1.7 GZ. I have two sound cards, one board and the other is Ensoniq 5880 AudioPCI. This is what my 3 way Logitech run off of and nothing is connected to the second sound card which a SIS on board. The driver for the Ensoniq(I actaully thought it was a Sound Balster PCI 16) is snd-ens1371, The driver for the snd-intel8x0. As for my configuration Im using a base FC3 install with uo2date fully up to date. I just upgraded my kernel to 2.6.12, and CDs were playing before. Attached is the output you requested, you can see the SIS card in there but not the Ensoniq. Im guessing this might be the problem?? Thanks, DK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Tuesday, September 27, 2005 06:29 PM To: Getting started with Red Hat Linux Subject: Re: FC3 - Ran up2date now CD Volume is not working On Tue, 2005-09-27 at 18:13 -0500, Edward.D.Kramer at wellsfargo.com wrote: > I just installed a fresh version FC3 and ran the up2date, including > the Kernel upgrade (from 2.6.9 to 2.6.12). My Gnome-CD player is > working but Im getting no sound. Sound check on the sound cards is > yielding noise, but when I try to open it I get an error that says > Sorry, no mixer elements and/or devices found. It also doesn't let me > adjust the volume control from 0. All of my CDI picked through > google but everyone's Q\A didn't seem to work. Need to know what your mobo and sound configuration is like, Ed. Post your mobo and/or soundcard make and model and the output from "lspci -v" and we'll see what we can do. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You know the old saying--any technology sufficiently advanced is - - indistinguishable from a Perl script - - --Programming Perl, 2nd Edition - ---------------------------------------------------------------------- _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lspcioutput.txt URL: From A.Fadyushin at it-centre.ru Wed Sep 28 10:36:25 2005 From: A.Fadyushin at it-centre.ru (A.Fadyushin at it-centre.ru) Date: Wed, 28 Sep 2005 14:36:25 +0400 Subject: files/partitions question Message-ID: > -----Original Message----- > From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list- > bounces at redhat.com] On Behalf Of Rick Stevens > Sent: Tuesday, September 27, 2005 10:05 PM > To: Getting started with Red Hat Linux; Mark Knecht > Subject: Re: files/partitions question > > On Tue, 2005-09-27 at 10:01 -0700, Mark Knecht wrote: > > Hi, > > Probably a simple question for some wily old-timer. ;-) > > > > I have a system in which the root partition seems to be getting a > > bit full. It got up to about 96% full and I've cleared some things > > out, but now I want to understand what's still there and using up 8GB. > > > > dragonfly / # df > > Filesystem 1K-blocks Used Available Use% Mounted on > > /dev/hda8 9621848 8121392 1011680 89% / > > udev 249524 360 249164 1% /dev > > /dev/hda2 50394996 47146084 688956 99% /Musiclib > > /dev/hda3 30233928 1792032 26906084 7% /home > > /dev/hda9 9621848 2726716 6406356 30% /CODE > > /dev/hda10 2893628 405328 2341308 15% /var > > none 249524 0 249524 0% /dev/shm > > myth14:/video 225373664 110171552 103753792 52% /video > > dragonfly / # > > > > From the du man page it seems that I should be able to run du -x and > > only get the usage of the specific drive and not the partitions that > > are on other drives, so I try it: > > > > dragonfly / # du -x / > > 16 /lost+found > > 4 /boot > > 5392 /bin > > 0 /dev > > > > 7964 /root > > 4 /Froot > > 12 /Musiclib > > 8 /service > > 8 /video > > 4 /video1 > > 3526456 / > > dragonfly / # > > > > Indeed, this command does not appear to traverse other drives. I do > > not see /var, /home, etc., but when it's finished it says that only > > 3.5 GB are used while the df command tells me 8.1GB is used. Which is > > correct? > > The most common cause of this is having a process running that's opened > a big file for appending, but hasn't actually used any space yet. "du" > tells you what's actually being used. "df" will tell you what's > _reserved_ and MAY be used. > > Verify you don't have a process open somewhere that's holding an open > file. If you've purged a bunch of stuff on the drive, then the free > space may not show up in "df" until you reboot or close whatever > application has a file open in that directory. > > > As a bonus question, if I know the name of a file and want to know > > what drive it's on, how can I do that at the command line? I'd most > > like a command that reports back file so-and-so resides on /dev/hda11 > > if possible. > > Hooo, boy! The vast majority of programs that do that use either fixed > paths (e.g. "whereis") or use the $PATH environment ("which"). If you > just have a filename, you'd need to use "find" to locate the file, then > pass the directory name to a pattern matcher and print the appropriate > stuff by examining /etc/mtab. There's no simple way to do it. Here's > a shell script that can do it, but it's bloody nasty! > > ------------------------ Cut Here ------------------------------------- > #!/bin/bash > RES=`find / -noleaf -name $1 -print` > if [ $? -ne 0 ]; then > echo No such file found > exit 1 > fi > for LINE in $RES; do > XLINE=$LINE > RC=1 > while [ $RC -ne 0 ]; do > XPATH=`dirname $XLINE` > XX=`grep $XPATH /etc/mtab` > RC=$? > if [ $RC -ne 0 ]; then > XLINE=$XPATH > else > echo -n "$LINE is on " > echo $XX | awk '{print $1;}' > break; > fi > done > done > ------------------------ Cut Here ------------------------------------- > > If saved as "/usr/local/bin/whichdrive", then > > /usr/local/bin/whichdrive filename > > should reveal it. Remember, "find" can take a LONG time. You could > modify the script to use slocate and a restrictive regular expression > if you wish. I leave that as an exercise for the reader (meaning "I'm > too d at mned lazy to write it") :-) > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - The difference between results of 'du' and 'df' commands usually is due to the existence of file(s) which has been open by some process and then deleted (by the same or other process) while the file is opened. Such a file will be present on the file system until the all processes which opened it will close it or exit. However, the file will not be present in the directories (I assume that you do not have hard links to that file) and, therefore, will not be accessible by other processes (including 'du') which did not open it before deletion. The 'du' command actually scans the directories given in the command line and sums sizes of files it found in the directories (actual disk space occupied by file, not the logical file size shown by 'ls' - this difference is significant for sparse files), and due to this could not count the size of files which has no name (such as files described above) nor the size of structures of the filesystem itself (such as inode tables). The 'df' command uses the information at the filesystem level and counts all occupied space on the disk without regard to the contents of that space (i.e. it will count space occupied by deleted but still opened files and filesystem structures, the size of such structures is usually insignificant in comparison with the size of files). Therefore when the deleted but still open files are present, the sum of file sizes on a filesystem reported by 'du' will be less than the size of used space on the filesystem reported by 'df'. If the reason for difference in you case is due to such a deleted file, you can reboot the system (or unmount and than mount again the filesystem in question). After that the space occupied by deleted but still open files will be reclaimed and marked as free - the difference in reported sizes should disappear. Alexey Fadyushin. Brainbench MVP for Linux. http://www.brainbench.com From Edward.D.Kramer at wellsfargo.com Wed Sep 28 10:49:45 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Wed, 28 Sep 2005 05:49:45 -0500 Subject: FC3 - Ran up2date now CD Volume is not working Message-ID: Hi Steve, OK after hours of trying to solve this I was finally able to. I noticed the Volume Control Panel would not start in GNOME because it is looking for GStreamer Components in order to run. This is a new process to me and I had no idea of the severity of the dependency between GStreamer and GNOME. Anyway, once I got through loading the RPMs(Figured this was the safest route), I was able to open the Volume Controls, low and behold there was a mute check box checked on my CD tab. Unchecked it and BOOM XMMS started playing sound. I tested it on Xine and Im still getting no sound, Im guessing that has something to do with the Xine configurations. Being able to read the parameter field names is probably helpful enhancement :) Anyway, Im off and running now with some tunes finally. Thanks, DK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Edward.D.Kramer at wellsfargo.com Sent: Tuesday, September 27, 2005 08:20 PM To: redhat-install-list at redhat.com Subject: RE: FC3 - Ran up2date now CD Volume is not working Im running a SIS_Silicon Integrated Systenms) Mother board, model number I cant remember but it's an AMD 1.7 GZ. I have two sound cards, one board and the other is Ensoniq 5880 AudioPCI. This is what my 3 way Logitech run off of and nothing is connected to the second sound card which a SIS on board. The driver for the Ensoniq(I actaully thought it was a Sound Balster PCI 16) is snd-ens1371, The driver for the snd-intel8x0. As for my configuration Im using a base FC3 install with uo2date fully up to date. I just upgraded my kernel to 2.6.12, and CDs were playing before. Attached is the output you requested, you can see the SIS card in there but not the Ensoniq. Im guessing this might be the problem?? Thanks, DK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick Stevens Sent: Tuesday, September 27, 2005 06:29 PM To: Getting started with Red Hat Linux Subject: Re: FC3 - Ran up2date now CD Volume is not working On Tue, 2005-09-27 at 18:13 -0500, Edward.D.Kramer at wellsfargo.com wrote: > I just installed a fresh version FC3 and ran the up2date, including > the Kernel upgrade (from 2.6.9 to 2.6.12). My Gnome-CD player is > working but Im getting no sound. Sound check on the sound cards is > yielding noise, but when I try to open it I get an error that says > Sorry, no mixer elements and/or devices found. It also doesn't let me > adjust the volume control from 0. All of my CDI picked through > google but everyone's Q\A didn't seem to work. Need to know what your mobo and sound configuration is like, Ed. Post your mobo and/or soundcard make and model and the output from "lspci -v" and we'll see what we can do. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - You know the old saying--any technology sufficiently advanced is - - indistinguishable from a Perl script - - --Programming Perl, 2nd Edition - ---------------------------------------------------------------------- _______________________________________________ Redhat-install-list mailing list Redhat-install-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request at redhat.com Subject: unsubscribe From nmw at ion.le.ac.uk Wed Sep 28 13:06:36 2005 From: nmw at ion.le.ac.uk (Nigel Wade) Date: Wed, 28 Sep 2005 14:06:36 +0100 Subject: files/partitions question In-Reply-To: <5bdc1c8b050927100128bd72e1@mail.gmail.com> References: <5bdc1c8b050927100128bd72e1@mail.gmail.com> Message-ID: <433A955C.90604@ion.le.ac.uk> Mark Knecht wrote: correct? > > As a bonus question, if I know the name of a file and want to know > what drive it's on, how can I do that at the command line? I'd most > like a command that reports back file so-and-so resides on /dev/hda11 > if possible. > Try: df -k filename This should show you the disk space used on the partition on which "filename" resides. As an bonus, it tells you which partition that is. If it's a symlink it tells you the filesystem on which the actual file resides (i.e. the file to which the link points) rather than where the link is. -- Nigel Wade, System Administrator, Space Plasma Physics Group, University of Leicester, Leicester, LE1 7RH, UK E-mail : nmw at ion.le.ac.uk Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555 From mjstraw at iup.edu Wed Sep 28 15:51:35 2005 From: mjstraw at iup.edu (Mark J Strawcutter) Date: Wed, 28 Sep 2005 11:51:35 -0400 Subject: grub install/setup oddity Message-ID: <01d101c5c444$82b72cb0$bf805090@adm.iup.edu> Dell PE2850, RHEL4 AS installed from scratch. /dev/sda and /dev/sdb identically partitioned sda1 and sdb1 are md1 raid1 mounted /boot sda2 and sdb2 are swap sda3 and sdb3 are md3 raid1 mounter / grub installed on sda as part of installation, systems booting fine. In grub shell did: device (hd0) /dev/sdb root (hd0,0) setup (hd0) all worked fine without error. But when I try to boot /dev/sdb I get thrown into interactive grub (ie get grub prompt). Even more interesting is that I can, at this point, manually enter the root/kernel/initrd commands that are in the grub.conf menu entry, followed by "boot" and the system comes up. I then went into grub shell and did the device/root/setup commands on /dev/sda and now it, too, throws me into interactive grub. This says the install process "installed" grub differently than the device/root/setup sequence is doing - the question is, different how? BTW - I tried running "grub-install /dev/sdb" and get: /dev/md1 does not have any corresponding BIOS drive. Any suggestions what to try? Thanks Mark From robertmcclure at earthlink.net Wed Sep 28 16:41:07 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 28 Sep 2005 11:41:07 -0500 Subject: FC3 - Ran up2date now CD Volume is not working In-Reply-To: References: Message-ID: <20050928164107.GA7609@bobcat.bobcatos.com> On Tue, Sep 27, 2005 at 10:19:49PM -0500, Edward.D.Kramer at wellsfargo.com wrote: > Im running a SIS_Silicon Integrated Systenms) Mother board, model number > I cant remember but it's an AMD 1.7 GZ. I have two sound cards, one > board and the other is Ensoniq 5880 AudioPCI. This is what my 3 way > Logitech run off of and nothing is connected to the second sound card > which a SIS on board. The driver for the Ensoniq(I actaully thought it > was a Sound Balster PCI 16) is snd-ens1371, The driver for the > snd-intel8x0. > > As for my configuration Im using a base FC3 install with uo2date fully > up to date. I just upgraded my kernel to 2.6.12, and CDs were playing > before. > > Attached is the output you requested, you can see the SIS card in there > but not the Ensoniq. Im guessing this might be the problem?? I believe I see them both. See below: > Thanks, > > DK > > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick > Stevens > Sent: Tuesday, September 27, 2005 06:29 PM > To: Getting started with Red Hat Linux > Subject: Re: FC3 - Ran up2date now CD Volume is not working > > On Tue, 2005-09-27 at 18:13 -0500, Edward.D.Kramer at wellsfargo.com wrote: > > I just installed a fresh version FC3 and ran the up2date, including > > the Kernel upgrade (from 2.6.9 to 2.6.12). My Gnome-CD player is > > working but Im getting no sound. Sound check on the sound cards is > > yielding noise, but when I try to open it I get an error that says > > Sorry, no mixer elements and/or devices found. It also doesn't let me > > adjust the volume control from 0. All of my CDI picked through > > google but everyone's Q\A didn't seem to work. > > Need to know what your mobo and sound configuration is like, Ed. Post > your mobo and/or soundcard make and model and the output from "lspci > -v" and we'll see what we can do. > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - Content-Description: lspcioutput.txt > [root at helix ~]# lspci -v > 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 740 Host (rev 01) > Flags: bus master, medium devsel, latency 32 > Memory at d0000000 (32-bit, non-prefetchable) [size=64M] > Capabilities: [c0] AGP version 2.0 > > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge ( AGP) (prog-if 00 [Normal decode]) > Flags: bus master, fast devsel, latency 64 > Bus: primary=00, secondary=01, subordinate=02, sec-latency=64 > I/O behind bridge: 00009000-00009fff > Memory behind bridge: cfc00000-cfdfffff > Prefetchable memory behind bridge: bf800000-cf9fffff > > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (r ev 04) > Flags: bus master, medium devsel, latency 0 > > 00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller > Flags: medium devsel > I/O ports at 0c00 [size=32] > > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [ Master]) > Flags: bus master, medium devsel, latency 128 > I/O ports at ff00 [size=16] Here's the SIS audio: > 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Cont roller (rev a0) > Subsystem: C-Media Electronics Inc: Unknown device 0300 > Flags: bus master, medium devsel, latency 64, IRQ 11 > I/O ports at dc00 [size=256] > I/O ports at d800 [size=128] > Capabilities: [48] Power Management version 2 > > > > 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Et hernet (rev 90) > Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapt er > Flags: bus master, medium devsel, latency 64, IRQ 12 > I/O ports at d400 [size=256] > Memory at cffdb000 (32-bit, non-prefetchable) [size=4K] > Expansion ROM at cffa0000 [disabled] [size=128K] > Capabilities: [40] Power Management version 2 And here's the Ensoniq: > 00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) > Subsystem: Ensoniq Creative Sound Blaster AudioPCI128 > Flags: bus master, slow devsel, latency 64, IRQ 11 > I/O ports at d000 [size=64] > Capabilities: [dc] Power Management version 1 > > Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From j-pinkney at onu.edu Wed Sep 28 19:37:09 2005 From: j-pinkney at onu.edu (Jason Pinkney) Date: Wed, 28 Sep 2005 15:37:09 -0400 Subject: display problem Message-ID: <433AF0E5.1000505@onu.edu> Hello install-gurus, I installed FC2 on my laptop last spring and I think it is responsible for the display problem I just encountered. My laptop was able to send a VGA signal to a projector unit before I installed FC2. Now, I can't get it to work. Even when I try to change the display from the optimum (1280x1024) to 800x600 the display only fills the inner part of the screen leaving the rest black. I *think* that if I could blow up the 800x600 display to fill the entire screen, it would solve the projector problem. This is probably an xorg problem, sorry. I'm searching on the web as well. But if anyone knows off the top of their head please let me know. thanks, Jason -- Dr. Jason Pinkney Assistant Professor of Physics and Astronomy Ohio Northern University 419-772-2740 http://www2.onu.edu/~j-pinkney/ From robertmcclure at earthlink.net Wed Sep 28 19:42:41 2005 From: robertmcclure at earthlink.net (Bob McClure Jr) Date: Wed, 28 Sep 2005 14:42:41 -0500 Subject: display problem In-Reply-To: <433AF0E5.1000505@onu.edu> References: <433AF0E5.1000505@onu.edu> Message-ID: <20050928194241.GA13928@bobcat.bobcatos.com> On Wed, Sep 28, 2005 at 03:37:09PM -0400, Jason Pinkney wrote: > > Hello install-gurus, > I installed FC2 on my laptop last spring and I think it > is responsible for the display problem I just encountered. > My laptop was able to send a VGA signal to a projector > unit before I installed FC2. Now, I can't get it to work. > Even when I try to change the display from the optimum > (1280x1024) to 800x600 the display only fills the inner > part of the screen leaving the rest black. > > I *think* that if I could blow up the 800x600 display to fill > the entire screen, it would solve the projector problem. > > This is probably an xorg problem, sorry. I think you're right. Go to http://www.rhil.net/docs/faq.html#x_fails and try the instructions there. > I'm searching on the > web as well. But if anyone knows off the top of > their head please let me know. > thanks, Jason > > -- > Dr. Jason Pinkney > Assistant Professor of Physics and Astronomy > Ohio Northern University > 419-772-2740 http://www2.onu.edu/~j-pinkney/ Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. robertmcclure at earthlink.net http://www.bobcatos.com Peace at any price is inflationary. From markknecht at gmail.com Thu Sep 29 01:20:31 2005 From: markknecht at gmail.com (Mark Knecht) Date: Wed, 28 Sep 2005 18:20:31 -0700 Subject: CUPS admin for users Message-ID: <5bdc1c8b0509281820613819f6@mail.gmail.com> Hi, We have an FC2 machine that has our printer attached. For whatever reason the printer is sometimes turned off or out of paper when jobs are sent to it. The jobs don't print and the printer queue backs up. The problem is that to start the printer again seems to take root access. Is there are way to give specific users the ability to restart the printer? Best case I'd like them to run the web CUPS GUI and just go to the admin page, click on start and be allowed to get the printer going again. I'm thinking maybe there's a group that could be created to do this? I could add these users to that group and then they could work when I'm not here? Thanks, Mark From A.Fadyushin at it-centre.ru Thu Sep 29 12:07:47 2005 From: A.Fadyushin at it-centre.ru (A.Fadyushin at it-centre.ru) Date: Thu, 29 Sep 2005 16:07:47 +0400 Subject: CUPS admin for users Message-ID: > -----Original Message----- > From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list- > bounces at redhat.com] On Behalf Of Mark Knecht > Sent: Thursday, September 29, 2005 5:21 AM > To: Getting started with Red Hat Linux > Subject: CUPS admin for users > > Hi, > We have an FC2 machine that has our printer attached. For whatever > reason the printer is sometimes turned off or out of paper when jobs > are sent to it. The jobs don't print and the printer queue backs up. > The problem is that to start the printer again seems to take root > access. > > Is there are way to give specific users the ability to restart the > printer? Best case I'd like them to run the web CUPS GUI and just go > to the admin page, click on start and be allowed to get the printer > going again. > > I'm thinking maybe there's a group that could be created to do > this? I could add these users to that group and then they could work > when I'm not here? > > Thanks, > Mark > You can define the access control configuration in the cupsd.conf file inside the 'Location' sections. Access rights can be defined for the administrative interface as a whole (Location /), administrative functions (Location /admin), printer configuration (Location /printers), etc. Put the users who need the ability to start the printer into some group, and define the access rights for the Locations which they should be able to access: Set the 'AuthClass' to 'Group'; Set the 'AuthGroupName' to the name of the group containing the users with the rights to restart the printer. This will give members of the specified group the ability to use web-based CUPS administrative interface (or specific Locations of that interface). You should also check that other configuration options (such as 'Allow from'/'Deny from') in the CUPS configuration file does not prevent users from accessing administrative interface from their computers. Alexey Fadyushin. Brainbench MVP for Linux. http://www.brainbench.com From bastiji at gmail.com Thu Sep 29 14:15:45 2005 From: bastiji at gmail.com (FS) Date: Thu, 29 Sep 2005 10:15:45 -0400 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: <1127870871.2901.25.camel@nprophead.corp.publichost.com> References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> <1127870871.2901.25.camel@nprophead.corp.publichost.com> Message-ID: On 9/27/05, Rick Stevens wrote: > On Tue, 2005-09-27 at 18:10 -0400, FS wrote: > > On 9/27/05, Rick Stevens wrote: > > > On Tue, 2005-09-27 at 16:05 -0400, FS wrote: > > > > On 9/26/05, Rick Stevens wrote: > > > > > On Mon, 2005-09-26 at 15:10 -0400, FS wrote: > > > > > > [Cross posted to Fedora list] > > > > > > > > > > > > Hello all, > > > > > > > > > > > > While trying to install PGP 6.5.8 cmd line RPM (downloaded from > > > > > > http://www.pgpi.org/products/pgp/versions/freeware/unix/6.5.8/) , I'm > > > > > > getting the following error: > > > > > > > > > > > > root at c7504s98 /usr/local/downloads/PGP$ rpm -Uvh > > > > > > PGPcmdln_6.5.8_Lnx_FW.rpm > > > > > > error: Failed dependencies: > > > > > > libstdc++.so.2.8 is needed by pgp-6.5.8-rsaref658 > > > > > > > > > > > > I googled on this and found some tips to ln -s the current version > > > > > > (libstdc++.so.5.0.5) to libstdc++.so.2.8 but that doesn't work too. > > > > > > > > > > Did they also tell you to rerun ldconfig after making the link? > > > > > > > > > > > I'm not too sure what the lib files are used for, but it seems that > > > > > > the 5.0.5 would be newer than the 2.8. > > > > > > > > > > > > Any help/tips/pointers appreciated! > > > > > > > > > > The package you got was designed the older library. That's what it's > > > > > linked against so you have to satisfy it somehow. There's two ways to > > > > > do that: > > > > > > > > > > Set up the symlink as the google search told you, and run "ldconfig -v" > > > > > so the linker knows about it. This may satisfy rpm. > > > > > > > > > > Force the RPM to load via "rpm -ivh --force --nodeps". I don't > > > > > recommend that. The RPMwill install, but it may not work properly. > > > > > > > > > > If you insist on keeping that C library, then I'd REALLY suggest you > > > > > download the source RPM and rebuild it. > > > > > > > Thanks for the response Rick. > > > > > > > > Trying both ways didn't work. When I force the RPM to install and then > > > > try to run PGP it gives an error > > > > > > > > pgp: relocation error: pgp: undefined symbol: __eh_pc > > > > > > I was concerned about that. One worries when you have to do a "--force" > > > or "--nodeps" on an RPM install. > > > > > > The version of PGP you got was built for a different library set and it > > > doesn't surprise me one iota that it wouldn't work. > > > > > > > Downloaded the source from the pgpi site and tried to run the build.sh > > > > from there and it also gave me a spectacular multi-line error and then > > > > quit. Error shown was: > > > > > > > > g++ -g -O2 -g main.o args.o pgp.o getopt.o fileio.o config.o > > > > doencode.o dodecode.o lists.o keyview.o keygen.o keyadd.o keyremove.o > > > > keyedit.o keyexport.o keymaint.o keysign.o keyrevoke.o more.o groups.o > > > > match.o misc.o pgpAcquireEntropy.o pgpLanguage.o > > > > ../shared/pgpDiskWiper.o ../shared/pgpClientErrors.o -o pgp > > > > -L/usr/local/lib -L../../../libs/pfl -L../../../libs/pgpcdk/unix > > > > -L/lib/linux -lPGPui -lPGPsdkNetwork -lPGPsdk -lpfl -lpthread -lm > > > > -lnsl > > > > /usr/bin/ld: cannot find -lPGPui > > > > collect2: ld returned 1 exit status > > > > make: *** [pgp] Error 1 > > > > > > The problem you describe above is a missing library...libPGPui.so I > > > don't think its available in an RPM for FC1. You'd need to get the > > > source for that and build it first, THEN build PGP. You're manually > > > satisfying the dependencies now. > > > > > > > So for now, as someone suggested in the Fedora list, the option is to > > > > run GPG and hope that it really is as compatible as everyone says it > > > > is. > > > > > > GPG is VERY compatible, integrated well into the system and, as a > > > result, a LOT easier to manage. I use GPG almost exclusively. > > > > > > Rick -- Thanks for the informative answer. I gotta ask you this! How > > in the world is one supposed to know about all these dependencies and > > missing libraries with names sounding like the martians have invaded > > and started renaming files... > > Well, first off, make sure you read the README and INSTALL files that > come with most tarballs. They generally tell you what the requirements > are for the programs you build. As to the alphabet soup, remember that > all libraries start with "lib" and end with ".so" or ".so.somenumber" > or ".a". The vast majority live in the /usr/lib directory tree, but > a number of really core libraries live in /lib instead. > > > What would you recommend as a starting point to understand all the > > libraries, their function, and how they all fit in the big picture as > > far as Linux goes? > > There really isn't a simple answer to that, sorry to say. Libraries > are, well, libraries! There's a lot of them because each has certain > things they bring to the table that others don't and the idea is not > to bloat a library with stuff you may not need. > > Once, long ago (well, 1979 or there abouts), there was a move afoot to > put everything you needed to support the C language into a single > library. The problem was, the library was HUGE! The VAX/VMS linker > couldn't even deal with it (and VAX/VMS was the mac-daddy of all OSes > back then). So, the stuff you really used a lot (string handling, I/O, > etc.) got stuck into the "main" library, and esoteric stuff (floating > point math, trig functions, you get the idea) was stuffed into > "auxiliary" libraries. The main library has come to be called "clib" or > "libc". The other have other names. > > The one you ran into is a GUI library for PGP, "libPGPui" or "library > for PGP user interfaces". It is required for PGP stuff that uses a > graphical user interface. It's not required if you use just the command > line parts of PGP. > > As to what you need to get something going...generally, if you go to a > site and look at the downloads, most people package things into > libraries (or support tarballs) and executable tarballs. The > executables ALWAYS depend on the libraries or support things. pgpi > isn't set up that way, much to their detriment. > > You've run into one of the problems with open source...there really > isn't a standard that people MUST adhere to. There are guidelines and > recommendations, but you can't compel people to comply beyond sticking > with the Gnu General Public License or OSF's "copyleft" rules. > > Generally, you build the package. If you get an error message, you try > to decipher it and resolve the problem. If that confuses you, you do > what you did and you ask for help! Nothing wrong with that...we've all > been there, done that and have the T-shirt and baseball cap to go along > with it. That's one reason people such as myself and many, many others > contribute to these lists...we've been there and we want to help prevent > others from having to walk around the forest blindly as we once did. > > > Thanks as always for your help Rick! > > Just "paying it forward", Faisal. One day, you'll contribute to a list > as well and someone will be in your debt. That's the way this thing > works! > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - I don't suffer from insanity...I enjoy every minute of it! - > ---------------------------------------------------------------------- > > Thank you Rick. A few follow-up questions if you will. - Is it possible to build a binary without using the libraries (knowing which libraries it would use and having the binary in hand), without having the source code? My guess is no, but doesn't hurt to ask... - Is it possible to build it statically with the source cocde, but without breaking the installer shell that generally is accompanied by the source? If so, how/what do I change to make that happen? - How does one find out as to which library is being used by an executable, or if it's statically built? - Do the libraries in turn depend on other libraries too or are they all a world of their own? - There's gotta be some place I can start trying to learn this dependency/building/trying-to-sort-out-what-goes-where kinda stuff on the web. Do you have any recommendations for that? As always, your support and very kind mannerism is appreciated. Regards, Faisal From bharadwaj_chdj at dataone.in Thu Sep 29 16:16:16 2005 From: bharadwaj_chdj at dataone.in (Bharadwaj) Date: Thu, 29 Sep 2005 21:46:16 +0530 Subject: questions related with partiton? References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> <1127870871.2901.25.camel@nprophead.corp.publichost.com> Message-ID: <002101c5c511$1e7f6af0$6401a8c0@bharadwaj> 1) which linux command will tell, all available devices? like hda , hdb 2) which linux command will tell,all available partions? ;like hda5, hda6 3) which linux command give drive informations? like IDE , 4) which linux command give me, type of file system acorss all drives? Thankx Bharadwaj. From bharadwaj_chdj at dataone.in Thu Sep 29 16:25:30 2005 From: bharadwaj_chdj at dataone.in (Bharadwaj) Date: Thu, 29 Sep 2005 21:55:30 +0530 Subject: How to change from one partion to another? Message-ID: <004701c5c512$69064930$6401a8c0@bharadwaj> I am new to Linux world? I came from windows back ground. I have understood that each logical partion in linux , is simlar to C: D: (or) E: drives in windows, I am I correct? If so how to switch between these linux pations? Thankx Bharadwaj. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fongc at smccd.net Thu Sep 29 17:08:18 2005 From: fongc at smccd.net (Corey Fong) Date: Thu, 29 Sep 2005 10:08:18 -0700 Subject: How to change from one partion to another? In-Reply-To: <004701c5c512$69064930$6401a8c0@bharadwaj> References: <004701c5c512$69064930$6401a8c0@bharadwaj> Message-ID: <433C1F82.9010001@smccd.net> Bharadwaj wrote: > I am new to Linux world? I came from windows back ground. I have understood that each logical partion in linux , is simlar to C: D: (or) E: drives in windows, > I am I correct? If so how to switch between these linux pations? > Disk partitions are a way to divide a physical hard disk into smaller, independent pieces that can be managed separately. In a nutshell ... . you can have up to 4 primary partitions on a physical disk . if you need more than 4, you can designate one of those 4 partitions as an extended partition, and then further sub-divide that extended partition into many logical partitions. Windows is installed into a primary partition. Once installed, Windows can use other partitions as data space. A drive letter is associated with each partition that Windows is using. Linux can be installed into either primary or logical partitions. Once installed, Linux can use other partitions as data space also. Drive letters are not used; rather, a partition is associated with a directory through the mount(8) command. For example, you can mount the /dev/hda3 partition to the /mnt/a3 directory. Red Hat has on-line manuals that you might look at ... www.redhat.com -> Documentation -> Red Hat Enterprise Linux -> System Administration Guide -> Managing Disk Storage -> Standard Partitions using parted ... is one example of a manual section that you might find useful. r, corey From bharadwaj_chdj at dataone.in Thu Sep 29 17:32:45 2005 From: bharadwaj_chdj at dataone.in (Bharadwaj) Date: Thu, 29 Sep 2005 23:02:45 +0530 Subject: Last question of the day [Thankx] References: Message-ID: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> Thank you all for your answers to my previous questions. Todays last question? I have configured my mails to outlook in windows, I want to see these mails from linux. how I can do that? Note : I am also started reading through manuals, but mailing list is a grate resource!!! Thanx Bharadwaj. ----- Original Message ----- From: "McDougall, Marshall (FSH)" To: "General Red Hat Linux discussion list" ; "Getting started with Red Hat Linux" ; Sent: Thursday, September 29, 2005 10:41 PM Subject: RE: How to change from one partion to another? > I am new to Linux world? I came from windows back ground. I have > understood that each logical partion in linux , is simlar to C: D: (or) > E: drives in windows, > I am I correct? If so how to switch between these linux pations? > > Thankx > Bharadwaj. > > > -------------------------------------- > Bharadwaj, > > Some reading is in order. If you have a working machine, type "cd > /whatever directory" to navigate around. To see how it is laid out > type: > > df > du > mount > cat /etc/fstab > cat /etc/mtab > > Then look at the manuals for the above: > man df > man du > man mount > man fstab > man fdisk > > Then go to your distribution website and have a look at their manuals. > Have fun with it. > > Regards, Marshall > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 9/27/2005 > > From rstevens at vitalstream.com Thu Sep 29 17:48:17 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 10:48:17 -0700 Subject: RPM error with PGP 6.5.8 installation In-Reply-To: References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> <1127870871.2901.25.camel@nprophead.corp.publichost.com> Message-ID: <1128016097.16409.43.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 10:15 -0400, FS wrote: (snipping off some old stuff we really don't need now) > > > Rick -- Thanks for the informative answer. I gotta ask you this! How > > > in the world is one supposed to know about all these dependencies and > > > missing libraries with names sounding like the martians have invaded > > > and started renaming files... > > > > Well, first off, make sure you read the README and INSTALL files that > > come with most tarballs. They generally tell you what the requirements > > are for the programs you build. As to the alphabet soup, remember that > > all libraries start with "lib" and end with ".so" or ".so.somenumber" > > or ".a". The vast majority live in the /usr/lib directory tree, but > > a number of really core libraries live in /lib instead. > > > > > What would you recommend as a starting point to understand all the > > > libraries, their function, and how they all fit in the big picture as > > > far as Linux goes? > > > > There really isn't a simple answer to that, sorry to say. Libraries > > are, well, libraries! There's a lot of them because each has certain > > things they bring to the table that others don't and the idea is not > > to bloat a library with stuff you may not need. > > > > Once, long ago (well, 1979 or there abouts), there was a move afoot to > > put everything you needed to support the C language into a single > > library. The problem was, the library was HUGE! The VAX/VMS linker > > couldn't even deal with it (and VAX/VMS was the mac-daddy of all OSes > > back then). So, the stuff you really used a lot (string handling, I/O, > > etc.) got stuck into the "main" library, and esoteric stuff (floating > > point math, trig functions, you get the idea) was stuffed into > > "auxiliary" libraries. The main library has come to be called "clib" or > > "libc". The other have other names. > > > > The one you ran into is a GUI library for PGP, "libPGPui" or "library > > for PGP user interfaces". It is required for PGP stuff that uses a > > graphical user interface. It's not required if you use just the command > > line parts of PGP. > > > > As to what you need to get something going...generally, if you go to a > > site and look at the downloads, most people package things into > > libraries (or support tarballs) and executable tarballs. The > > executables ALWAYS depend on the libraries or support things. pgpi > > isn't set up that way, much to their detriment. > > > > You've run into one of the problems with open source...there really > > isn't a standard that people MUST adhere to. There are guidelines and > > recommendations, but you can't compel people to comply beyond sticking > > with the Gnu General Public License or OSF's "copyleft" rules. > > > > Generally, you build the package. If you get an error message, you try > > to decipher it and resolve the problem. If that confuses you, you do > > what you did and you ask for help! Nothing wrong with that...we've all > > been there, done that and have the T-shirt and baseball cap to go along > > with it. That's one reason people such as myself and many, many others > > contribute to these lists...we've been there and we want to help prevent > > others from having to walk around the forest blindly as we once did. > > > > > Thanks as always for your help Rick! > > > > Just "paying it forward", Faisal. One day, you'll contribute to a list > > as well and someone will be in your debt. That's the way this thing > > works! > > > Thank you Rick. A few follow-up questions if you will. > > - Is it possible to build a binary without using the libraries > (knowing which libraries it would use and having the binary in hand), > without having the source code? My guess is no, but doesn't hurt to > ask... No, you have to compile the source code to tell the compiler and linker to go grab the static libraries and stick the necessary bits into the executable. If you have a binary that's been built to use shared libraries, you can't convert it to use static and vice versa. An executable that's built to use shared libraries (.so) does NOT contain any library code. The libraries needed are loaded when the executable is run. The "ld" program dynamically links the program's needs against the various libraries. Also note that only ONE copy of any given library is loaded into the system at any given time, regardless of how many programs use it. There is a small section of memory that is unique to each instance of the library's use, but the library _code_ is only loaded once. On the flip side, a program built to use static libraries (.a) has a copy of the library in the program itself. Those programs don't need the libraries at all after they've been compiled and linked. They're sometimes called "stand alone", and you'll find that many of the programs in the /bin or /sbin directory are built this way as they're needed during the bootup process of Linux when /usr/lib or /lib may not be available yet because they're on other filesystems. The downsides to static programs are that they're much bigger and have a much bigger memory footprint. The upside is that they start up much faster since "ld" doesn't have to load the libraries needed and resolve the links. A good example of static versus dynamic is Apache. For heavily loaded servers, we recommend building Apache with statically linked PHP and/or Perl modules rather than building to use dynamic modules. Yes, Apache is much bigger, but when you need to spawn tons of copies of Apache to cover web hits, the decrease in startup time for each copy more than makes up for the cost of the memory footprint. > > - Is it possible to build it statically with the source cocde, but > without breaking the installer shell that generally is accompanied by > the source? If so, how/what do I change to make that happen? You can give gcc the "-static" option. Most Makefiles have a variable called "CFLAGS" and you should be able to put it in there. Be aware, however, that not all libraries are available in both forms (static and dynamic), so you may end up trying to link against a non-existent library and getting a linker error. > - How does one find out as to which library is being used by an > executable, or if it's statically built? If it's static, its kinda irrelevant as the executable has all the library code it needs built in. You can use the "nm" command to see what symbols are involved. See "man nm" for more details. > - Do the libraries in turn depend on other libraries too or are they > all a world of their own? Some are stand-alone, others require other libraries to function. For example, the standard C math library, libm, really needs the standard C library (libc) to be effective. It's not a true dependency, but you need libc to make libm work. > - There's gotta be some place I can start trying to learn this > dependency/building/trying-to-sort-out-what-goes-where kinda stuff on > the web. Do you have any recommendations for that? You really need to get familiar with things like the C language. Regardless of what others may say, the lowest common denominator in most Unix/Linux programming is C (C++/C# all eventually deconvolve to C). The vast majority of Unix/Linux is written in C (certain, highly optimized parts of the kernel are in assembly), so an understanding of how C works will give you an insight into the system's basic operation. Then you need to read up on the Gnu C system (gcc, gpp or g++, as, ld) to see how it works with libraries, executables, object files, etc. There are very good docs on that at the Gnu website (http://www.gnu.org/manual/manual.html is a good starting point). Mostly, you'll find that enrolling in UHK (University of Hard Knocks) for a few semesters is what teaches you the most. By "UHK", I mean rolling up your sleeves, writing code, compiling it and sorting out the inevitable errors. It's like roller skating. I can't really tell you how to do it...you gotta go out and skin your knees just like the rest of us. When you get stuck, ask for help. It's not really all that scary. There's a lot involved, but once the first little bit of it reveals itself to you, the rest comes fairly easily, you'll see how they all interrelate, and you'll be able to start to predict what happens next or be able to see where you went wrong. Trust me, it's gonna be OK! > As always, your support and very kind mannerism is appreciated. No worries, Faisal. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Careful! Ugly strikes 9 out of 10 people! - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 29 17:57:29 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 10:57:29 -0700 Subject: questions related with partiton? In-Reply-To: <002101c5c511$1e7f6af0$6401a8c0@bharadwaj> References: <1127766680.14527.168.camel@nprophead.corp.publichost.com> <1127853121.21633.20.camel@nprophead.corp.publichost.com> <1127870871.2901.25.camel@nprophead.corp.publichost.com> <002101c5c511$1e7f6af0$6401a8c0@bharadwaj> Message-ID: <1128016649.16409.48.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 21:46 +0530, Bharadwaj wrote: > 1) which linux command will tell, all available devices? like hda , hdb If you're running the GUI, then use the hardware browser. If you want to us the command line, examine the various files and directories under /proc/ide and /proc/scsi. > 2) which linux command will tell,all available partions? ;like hda5, hda6 "fdisk -l /dev/hdX" where "X" is "a", "b", etc. > 3) which linux command give drive informations? like IDE , Again, look at /proc/ide and /proc/scsi > 4) which linux command give me, type of file system acorss all drives? If they're mounted, use "mount". For example: [root at nprophead weblogd]# mount /dev/hda1 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) none on /dev/shm type tmpfs (rw) /dev/hda2 on /images type ext3 (rw) /dev/hda7 on /usr type ext3 (rw) /dev/hda5 on /var type ext3 (rw) /dev/hda3 on /work type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) automount(pid2072) on /misc type autofs (rw,fd=4,pgrp=2072,minproto=2,maxproto=4) automount(pid2094) on /net type autofs (rw,fd=4,pgrp=2094,minproto=2,maxproto=4)/dev/sdb1 on /media/usbdisk type ext3 (rw,nosuid,nodev,_netdev,user=rick) Note the stuff after the word "type" in all of the above lines. That's the filesystem type (btw, that's from a Fedora Core 4 system). ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - The problem with being poor is that it takes up all of your time - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 29 18:07:48 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 11:07:48 -0700 Subject: How to change from one partion to another? In-Reply-To: <004701c5c512$69064930$6401a8c0@bharadwaj> References: <004701c5c512$69064930$6401a8c0@bharadwaj> Message-ID: <1128017269.16409.60.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 21:55 +0530, Bharadwaj wrote: > I am new to Linux world? I came from windows back ground. I have > understood that each logical partion in linux , is simlar to C: D: > (or) E: drives in windows, > I am I correct? If so how to switch between these linux pations? Well, sort of. We don't use "drives" in Linux. In Linux, everything is a file. Directories are just special files, as are raw disk drives, serial ports, mice, keyboards, displays, everything! A partition in Linux is mounted as a directory somewhere. If you look at my previous post of the output of my "mount" command, the first thing you see on each line is the device (partition). The bit after the word "on" shows WHERE it's mounted in the filesystem heirarchy. Here's two lines we'll use as a reference: /dev/hda1 on / type ext3 (rw) /dev/hda7 on /usr type ext3 (rw) The first one shows that partition "/dev/hda1" is mounted on the directory "/" (or the "root" of the filesystem). In the Windows world, this may be considered the "C:" drive and is the ONLY directory you are absolutely guaranteed exists. The filesystem mounted on / has other directories in it. One of them happens to be called "usr" (or "/usr" to use the absolute path to it). My /dev/hda7 partition is mounted on that directory, so if I go to /usr and look at the contents, I'm actually seeing what's on /dev/hda7. >From a Windows perspective, you only have one drive, and that's "/". Everything else is a subdirectory under it and you get to them using the same command you do in Windows, namely "cd" (change directory). Remember also that in Linux, directories are separated by forward slashes ("/") NOT backslashes ("\") as they are in Windows. --------------------------------------------------------------------- - 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 rstevens at vitalstream.com Thu Sep 29 18:12:41 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 11:12:41 -0700 Subject: Last question of the day [Thankx] In-Reply-To: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> References: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> Message-ID: <1128017561.16409.66.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: > Thank you all for your answers to my previous questions. > Todays last question? > I have configured my mails to outlook in windows, I want to see these mails > from linux. how I can do that? You need to configure your Linux mail client (my guess you're using Evolution) to access the same account you use for Outlook. When you set up your account in Evolution, you need to tell it that you're using an IMAP account, then put in the server name and your login information. You should then be able to click on "Send/Receive". The system will ask for your MAIL password. Enter it and you should be able to pick up your mail. Also, you'll need to set up the Sending server stuff. Most Exchange servers run SMTP, so you just need to set up the "Sending Mail" stuff to point at the same server as your IMAP stuff in "Receiving Mail". > Note : I am also started reading through manuals, but mailing list is a > grate resource!!! Good. By the way, the version of the word you want is "great" (good, wonderful, large, etc.). "grate" is a covering over a drain. :-) ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Memory is the second thing to go, but I can't remember the first! - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Thu Sep 29 18:21:28 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Thu, 29 Sep 2005 12:21:28 -0600 (MDT) Subject: Last question of the day [Thankx] In-Reply-To: <1128017561.16409.66.camel@nprophead.corp.publichost.com> References: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> <1128017561.16409.66.camel@nprophead.corp.publichost.com> Message-ID: <36671.207.173.117.242.1128018088.squirrel@ourldsfamily.com> On Thu, September 29, 2005 12:12 pm, Rick Stevens said: > On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: < stuff deleted > > >> Note : I am also started reading through manuals, but mailing list is a >> grate resource!!! > > Good. By the way, the version of the word you want is "great" (good, > wonderful, large, etc.). "grate" is a covering over a drain. :-) I think it's also is what we do to cheese or carrots? Karl > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Memory is the second thing to go, but I can't remember the first! - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- karl _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson KarlP at ourldsfamily.com --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- My Thoughts on Terrorism In America: http://www.ourldsfamily.com/wtc.shtml --- A right is not what someone gives you; it's what no one can take from you. -Ramsey Clark --- From rstevens at vitalstream.com Thu Sep 29 18:25:23 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 11:25:23 -0700 Subject: grub install/setup oddity In-Reply-To: <01d101c5c444$82b72cb0$bf805090@adm.iup.edu> References: <01d101c5c444$82b72cb0$bf805090@adm.iup.edu> Message-ID: <1128018323.16409.72.camel@nprophead.corp.publichost.com> On Wed, 2005-09-28 at 11:51 -0400, Mark J Strawcutter wrote: > Dell PE2850, RHEL4 AS installed from scratch. > > /dev/sda and /dev/sdb identically partitioned > > sda1 and sdb1 are md1 raid1 mounted /boot > sda2 and sdb2 are swap > sda3 and sdb3 are md3 raid1 mounter / > > grub installed on sda as part of installation, systems booting fine. > > In grub shell did: > > device (hd0) /dev/sdb > root (hd0,0) > setup (hd0) > > all worked fine without error. But when I try to boot /dev/sdb I get thrown into > interactive grub (ie get grub prompt). Even more interesting is that I can, at > this point, manually enter the root/kernel/initrd commands that are in the > grub.conf menu entry, followed by "boot" and the system comes up. > > I then went into grub shell and did the device/root/setup commands on /dev/sda > and now it, too, throws me into interactive grub. > > This says the install process "installed" grub differently than the device/root/setup > sequence is doing - the question is, different how? > > BTW - I tried running "grub-install /dev/sdb" and get: > > /dev/md1 does not have any corresponding BIOS drive. This is a BIOS weirdie. In BIOS, the first bootable drive is given the BIOS device value of 0x80. The second drive is 0x81 and so on. The problem here is that you've set things up to boot from /dev/sdb (BIOS drive 0x81) but the BIOS still wants to use device 0x80 (/dev/sda). > Any suggestions what to try? Thanks Take a look at the "--device-map" options in grub to see how to fix the mapping. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Always remember you're unique, just like everyone else. - ---------------------------------------------------------------------- From rstevens at vitalstream.com Thu Sep 29 18:27:14 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 11:27:14 -0700 Subject: Last question of the day [Thankx] In-Reply-To: <36671.207.173.117.242.1128018088.squirrel@ourldsfamily.com> References: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> <1128017561.16409.66.camel@nprophead.corp.publichost.com> <36671.207.173.117.242.1128018088.squirrel@ourldsfamily.com> Message-ID: <1128018434.16409.75.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 12:21 -0600, karlp at ourldsfamily.com wrote: > On Thu, September 29, 2005 12:12 pm, Rick Stevens said: > > On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: > < stuff deleted > > > > >> Note : I am also started reading through manuals, but mailing list is a > >> grate resource!!! > > > > Good. By the way, the version of the word you want is "great" (good, > > wonderful, large, etc.). "grate" is a covering over a drain. :-) > > I think it's also is what we do to cheese or carrots? Heheheheh! Hey, no one likes a smartass, Karl--ESPECIALLY if they make a better joke than you did! :-D ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Whoever said "Money can't buy friends" obviously never brought - - donuts to the office. - ---------------------------------------------------------------------- From karlp at ourldsfamily.com Thu Sep 29 18:33:37 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Thu, 29 Sep 2005 12:33:37 -0600 (MDT) Subject: Last question of the day [Thankx] In-Reply-To: <1128018434.16409.75.camel@nprophead.corp.publichost.com> References: <003101c5c51b$cdddef30$6401a8c0@bharadwaj> <1128017561.16409.66.camel@nprophead.corp.publichost.com> <36671.207.173.117.242.1128018088.squirrel@ourldsfamily.com> <1128018434.16409.75.camel@nprophead.corp.publichost.com> Message-ID: <36771.207.173.117.242.1128018817.squirrel@ourldsfamily.com> On Thu, September 29, 2005 12:27 pm, Rick Stevens said: > On Thu, 2005-09-29 at 12:21 -0600, karlp at ourldsfamily.com wrote: >> On Thu, September 29, 2005 12:12 pm, Rick Stevens said: >> > On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: >> < stuff deleted > >> > >> >> Note : I am also started reading through manuals, but mailing list is >> a >> >> grate resource!!! >> > >> > Good. By the way, the version of the word you want is "great" (good, >> > wonderful, large, etc.). "grate" is a covering over a drain. :-) >> >> I think it's also is what we do to cheese or carrots? > > Heheheheh! Hey, no one likes a smartass, Karl--ESPECIALLY if they > make a better joke than you did! :-D And liked less when they can't type or use proper grammar... Drat my old brain. KLP > > ---------------------------------------------------------------------- > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > - VitalStream, Inc. http://www.vitalstream.com - > - - > - Whoever said "Money can't buy friends" obviously never brought - > - donuts to the office. - > ---------------------------------------------------------------------- > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- karl _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson KarlP at ourldsfamily.com --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- My Thoughts on Terrorism In America: http://www.ourldsfamily.com/wtc.shtml --- A right is not what someone gives you; it's what no one can take from you. -Ramsey Clark --- From mjstraw at iup.edu Thu Sep 29 18:40:53 2005 From: mjstraw at iup.edu (Mark J Strawcutter) Date: Thu, 29 Sep 2005 14:40:53 -0400 Subject: grub install/setup oddity References: <01d101c5c444$82b72cb0$bf805090@adm.iup.edu> <1128018323.16409.72.camel@nprophead.corp.publichost.com> Message-ID: <023f01c5c525$52eaab60$bf805090@adm.iup.edu> >> In grub shell did: >> >> device (hd0) /dev/sdb >> root (hd0,0) >> setup (hd0) ... > This is a BIOS weirdie. In BIOS, the first bootable drive is given the > BIOS device value of 0x80. The second drive is 0x81 and so on. The > problem here is that you've set things up to boot from /dev/sdb (BIOS > drive 0x81) but the BIOS still wants to use device 0x80 (/dev/sda). > >> Any suggestions what to try? Thanks > > Take a look at the "--device-map" options in grub to see how to fix the > mapping. the --device-map and /boot/grub/device.map do the same thing as the device command. My thought was that when I had to boot off of what is usually sdb it would be sda (or hd0 in grub parlance). I go into the scsi setup and the bios setup and reverse the order before booting - and get dumped into grub. Some progress since posting this - I broke the raid set, zeroed the superblock on sdb, repeated the setup as per above, and now it boots normally. The next step is to add it back into the raid set and see if it still boots :-) Mark From Edward.D.Kramer at wellsfargo.com Thu Sep 29 19:05:47 2005 From: Edward.D.Kramer at wellsfargo.com (Edward.D.Kramer at wellsfargo.com) Date: Thu, 29 Sep 2005 14:05:47 -0500 Subject: questions related with partiton? Message-ID: Some handy commands I would man would be: fdisk -l which will show you what devices you have e2label (THANK YOU RICK STEVENS I LOVE THIS COMMAND :)) df -k should help on drive space info. mkfs to create filesystems. Be sure to look at all of their SEE ALSO commands, you will find some handy tools. You can view also view your mtab and fstab files, but be VERY carefully when messing with these files, and only make changes that you completely understand or your system may not BOOT next time :) DK -----Original Message----- From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Bharadwaj Sent: Thursday, September 29, 2005 09:16 AM To: Getting started with Red Hat Linux Subject: questions related with partiton? 1) which linux command will tell, all available devices? like hda , hdb 2) which linux command will tell,all available partions? ;like hda5, hda6 3) which linux command give drive informations? like IDE , 4) which linux command give me, type of file system acorss all drives? Thankx Bharadwaj. _______________________________________________ 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 wralphie at comcast.net Thu Sep 29 21:52:07 2005 From: wralphie at comcast.net (jludwig) Date: Thu, 29 Sep 2005 17:52:07 -0400 Subject: Last question of the day [Thankx] In-Reply-To: <36771.207.173.117.242.1128018817.squirrel@ourldsfamily.com> References: <1128018434.16409.75.camel@nprophead.corp.publichost.com> <36771.207.173.117.242.1128018817.squirrel@ourldsfamily.com> Message-ID: <200509291752.07870.wralphie@comcast.net> On Thursday 29 September 2005 14:33, karlp at ourldsfamily.com wrote: > On Thu, September 29, 2005 12:27 pm, Rick Stevens said: > > On Thu, 2005-09-29 at 12:21 -0600, karlp at ourldsfamily.com wrote: > >> On Thu, September 29, 2005 12:12 pm, Rick Stevens said: > >> > On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: > >> > >> < stuff deleted > > >> > >> >> Note : I am also started reading through manuals, but mailing list is > >> > >> a > >> > >> >> grate resource!!! > >> > > >> > Good. By the way, the version of the word you want is "great" (good, > >> > wonderful, large, etc.). "grate" is a covering over a drain. :-) > >> > >> I think it's also is what we do to cheese or carrots? > > > > Heheheheh! Hey, no one likes a smartass, Karl--ESPECIALLY if they > > make a better joke than you did! :-D > > And liked less when they can't type or use proper grammar... Drat my old > brain. > > KLP > > > ---------------------------------------------------------------------- > > - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - > > - VitalStream, Inc. http://www.vitalstream.com - > > - - > > - Whoever said "Money can't buy friends" obviously never brought - > > - donuts to the office. - > > ---------------------------------------------------------------------- > > > > _______________________________________________ > > 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 Better a smart one than a dumb one! From rstevens at vitalstream.com Thu Sep 29 23:09:31 2005 From: rstevens at vitalstream.com (Rick Stevens) Date: Thu, 29 Sep 2005 16:09:31 -0700 Subject: Last question of the day [Thankx] In-Reply-To: <200509291752.07870.wralphie@comcast.net> References: <1128018434.16409.75.camel@nprophead.corp.publichost.com> <36771.207.173.117.242.1128018817.squirrel@ourldsfamily.com> <200509291752.07870.wralphie@comcast.net> Message-ID: <1128035371.16409.90.camel@nprophead.corp.publichost.com> On Thu, 2005-09-29 at 17:52 -0400, jludwig wrote: > On Thursday 29 September 2005 14:33, karlp at ourldsfamily.com wrote: > > On Thu, September 29, 2005 12:27 pm, Rick Stevens said: > > > On Thu, 2005-09-29 at 12:21 -0600, karlp at ourldsfamily.com wrote: > > >> On Thu, September 29, 2005 12:12 pm, Rick Stevens said: > > >> > On Thu, 2005-09-29 at 23:02 +0530, Bharadwaj wrote: > > >> > > >> < stuff deleted > > > >> > > >> >> Note : I am also started reading through manuals, but mailing list is > > >> > > >> a > > >> > > >> >> grate resource!!! > > >> > > > >> > Good. By the way, the version of the word you want is "great" (good, > > >> > wonderful, large, etc.). "grate" is a covering over a drain. :-) > > >> > > >> I think it's also is what we do to cheese or carrots? > > > > > > Heheheheh! Hey, no one likes a smartass, Karl--ESPECIALLY if they > > > make a better joke than you did! :-D > > > > And liked less when they can't type or use proper grammar... Drat my old > > brain. > > > > KLP > > > Better a smart one than a dumb one! True, true. ;-) --------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - su -; find / -name someone -exec touch \{\} \; - - - The UNIX way of touching someone - ---------------------------------------------------------------------- From markknecht at gmail.com Thu Sep 29 23:55:09 2005 From: markknecht at gmail.com (Mark Knecht) Date: Thu, 29 Sep 2005 16:55:09 -0700 Subject: CUPS admin for users In-Reply-To: References: Message-ID: <5bdc1c8b05092916552e4561dd@mail.gmail.com> On 9/29/05, A.Fadyushin at it-centre.ru wrote: > > > > -----Original Message----- > > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list- > > bounces at redhat.com] On Behalf Of Mark Knecht > > Sent: Thursday, September 29, 2005 5:21 AM > > To: Getting started with Red Hat Linux > > Subject: CUPS admin for users > > > > Hi, > > We have an FC2 machine that has our printer attached. For whatever > > reason the printer is sometimes turned off or out of paper when jobs > > are sent to it. The jobs don't print and the printer queue backs up. > > The problem is that to start the printer again seems to take root > > access. > > > > Is there are way to give specific users the ability to restart the > > printer? Best case I'd like them to run the web CUPS GUI and just go > > to the admin page, click on start and be allowed to get the printer > > going again. > > > > I'm thinking maybe there's a group that could be created to do > > this? I could add these users to that group and then they could work > > when I'm not here? > > > > Thanks, > > Mark > > > You can define the access control configuration in the cupsd.conf file > inside the 'Location' sections. Access rights can be defined for the > administrative interface as a whole (Location /), administrative > functions (Location /admin), printer configuration (Location /printers), > etc. > Put the users who need the ability to start the printer into some > group, and define the access rights for the Locations which they should > be able to access: > Set the 'AuthClass' to 'Group'; > Set the 'AuthGroupName' to the name of the group containing the users > with the rights to restart the printer. > > This will give members of the specified group the ability to use > web-based CUPS administrative interface (or specific Locations of that > interface). > You should also check that other configuration options (such as 'Allow > from'/'Deny from') in the CUPS configuration file does not prevent users > from accessing administrative interface from their computers. > > Alexey Fadyushin. > Brainbench MVP for Linux. > http://www.brainbench.com > Thanks Alexey, These instructions seem pretty straight forward, but I'm really fuzzy tonight. How do I restart the cups daemon after editing the cupsd.conf file without rebooting. I'm tired/ Thanks, Mark From tpotter at techmarin.com Fri Sep 30 01:53:17 2005 From: tpotter at techmarin.com (Ted Potter) Date: Thu, 29 Sep 2005 18:53:17 -0700 Subject: CUPS admin for users In-Reply-To: <5bdc1c8b05092916552e4561dd@mail.gmail.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> Message-ID: <200509291853.17174.tpotter@techmarin.com> On Thursday 29 September 2005 4:55 pm, Mark Knecht wrote: > On 9/29/05, A.Fadyushin at it-centre.ru wrote: > > > -----Original Message----- > > > From: redhat-install-list-bounces at redhat.com > > > > [mailto:redhat-install-list- > > > > > bounces at redhat.com] On Behalf Of Mark Knecht > > > Sent: Thursday, September 29, 2005 5:21 AM > > > To: Getting started with Red Hat Linux > > > Subject: CUPS admin for users > > > > > > Hi, > > > We have an FC2 machine that has our printer attached. For whatever > > > reason the printer is sometimes turned off or out of paper when jobs > > > are sent to it. The jobs don't print and the printer queue backs up. > > > The problem is that to start the printer again seems to take root > > > access. > > > > > > Is there are way to give specific users the ability to restart the > > > printer? Best case I'd like them to run the web CUPS GUI and just go > > > to the admin page, click on start and be allowed to get the printer > > > going again. > > > > > > I'm thinking maybe there's a group that could be created to do > > > this? I could add these users to that group and then they could work > > > when I'm not here? > > > > > > Thanks, > > > Mark > > > > You can define the access control configuration in the cupsd.conf file > > inside the 'Location' sections. Access rights can be defined for the > > administrative interface as a whole (Location /), administrative > > functions (Location /admin), printer configuration (Location /printers), > > etc. > > Put the users who need the ability to start the printer into some > > group, and define the access rights for the Locations which they should > > be able to access: > > Set the 'AuthClass' to 'Group'; > > Set the 'AuthGroupName' to the name of the group containing the users > > with the rights to restart the printer. > > > > This will give members of the specified group the ability to use > > web-based CUPS administrative interface (or specific Locations of that > > interface). > > You should also check that other configuration options (such as 'Allow > > from'/'Deny from') in the CUPS configuration file does not prevent users > > from accessing administrative interface from their computers. > > > > Alexey Fadyushin. > > Brainbench MVP for Linux. > > http://www.brainbench.com > > Thanks Alexey, > These instructions seem pretty straight forward, but I'm really > fuzzy tonight. How do I restart the cups daemon after editing the > cupsd.conf file without rebooting. I'm tired/ > > Thanks, > Mark > /etc/rc.d/init.d/cupsd restart or turn on the tube and grab a brew depending.... :-) > _______________________________________________ > 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 -- Ted Potter tpotter at techmarin.com www.techmarin.com From markknecht at gmail.com Fri Sep 30 02:15:22 2005 From: markknecht at gmail.com (Mark Knecht) Date: Thu, 29 Sep 2005 19:15:22 -0700 Subject: CUPS admin for users In-Reply-To: <200509291853.17174.tpotter@techmarin.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> <200509291853.17174.tpotter@techmarin.com> Message-ID: <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> On 9/29/05, Ted Potter wrote: > On Thursday 29 September 2005 4:55 pm, Mark Knecht wrote: > > > > Thanks Alexey, > > These instructions seem pretty straight forward, but I'm really > > fuzzy tonight. How do I restart the cups daemon after editing the > > cupsd.conf file without rebooting. I'm tired/ > > > > Thanks, > > Mark > > > > /etc/rc.d/init.d/cupsd restart What I should have done... > > or turn on the tube and grab a brew depending.... :-) Pretty much what I did do. ;-) Thanks, Mark > > > > > > _______________________________________________ > > 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 > > -- > Ted Potter > tpotter at techmarin.com > www.techmarin.com > From karlp at ourldsfamily.com Fri Sep 30 02:31:14 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Thu, 29 Sep 2005 20:31:14 -0600 (MDT) Subject: CUPS admin for users In-Reply-To: <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> <200509291853.17174.tpotter@techmarin.com> <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> Message-ID: <30549.198.60.114.90.1128047474.squirrel@webmail.ourldsfamily.com> On Thu, September 29, 2005 8:15 pm, Mark Knecht said: > On 9/29/05, Ted Potter wrote: >> On Thursday 29 September 2005 4:55 pm, Mark Knecht wrote: >> > >> > Thanks Alexey, >> > These instructions seem pretty straight forward, but I'm really >> > fuzzy tonight. How do I restart the cups daemon after editing the >> > cupsd.conf file without rebooting. I'm tired/ >> > >> > Thanks, >> > Mark >> > >> >> /etc/rc.d/init.d/cupsd restart > > What I should have done... > >> >> or turn on the tube and grab a brew depending.... :-) > > Pretty much what I did do. ;-) Since I don't drink, let me be a bit more pragmatic. I would recommend getting used to the following command: service servicename [stop|start|restart|status] where in your situation, would appear as service cupsd restart though I prefer to do a service srvname stop, then service srvname start with a bit of time between. I think that's because I'm used to working on heavily loaded systems where the services which have to read large config files need time to 'breath' between stops and starts else sometimes they don't start up right. I'm probably just paranoid however, so that might not be necessary. Karl > > Thanks, > Mark >> >> >> >> >> > _______________________________________________ >> > 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 >> >> -- >> Ted Potter >> tpotter at techmarin.com >> www.techmarin.com >> > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > -- karl _/ _/ _/ _/_/_/ ____________ __o _/ _/ _/ _/ _/ ____________ _-\<._ _/_/ _/ _/_/_/ (_)/ (_) _/ _/ _/ _/ ...................... _/ _/ arl _/_/_/ _/ earson KarlP at ourldsfamily.com --- Senior Consulting Sys/DB Analyst http://consulting.ourldsfamily.com --- My Thoughts on Terrorism In America: http://www.ourldsfamily.com/wtc.shtml --- A right is not what someone gives you; it's what no one can take from you. -Ramsey Clark --- From A.Fadyushin at it-centre.ru Fri Sep 30 11:42:43 2005 From: A.Fadyushin at it-centre.ru (A.Fadyushin at it-centre.ru) Date: Fri, 30 Sep 2005 15:42:43 +0400 Subject: questions related with partiton? Message-ID: All available devices could be found in the system information presented in /proc pseudo filesystem. The list of devices in /dev is a list of potentially available devices (i.e. devices for which the drivers exists) not a devices which actually present in the computer system. When you found which devices you have, you can list the partitions using fdisk -l This command will also show the information about the types of filesystem(s) on the device partition(s). Note that this information is from the boot block, not from the filesystem(s) itself and, therefore, may be incorrect. The best way to determine file system type is to mount it with different file system types in '-t' option of the 'mount' command. Information on the drive hardware could be seen with the use of 'hdparm' command (options '-I' and '-i'). You will need to give a drive name (e.g. /dev/had) as a parameter to this command. Alexey Fadyushin Brainbench MVP for Linux. http://www.brainbench.com > -----Original Message----- > From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-list- > bounces at redhat.com] On Behalf Of Edward.D.Kramer at wellsfargo.com > Sent: Thursday, September 29, 2005 11:06 PM > To: redhat-install-list at redhat.com > Subject: RE: questions related with partiton? > > Some handy commands I would man would be: > > fdisk -l which will show you what devices you have > e2label (THANK YOU RICK STEVENS I LOVE THIS COMMAND :)) > df -k should help on drive space info. > mkfs to create filesystems. > > Be sure to look at all of their SEE ALSO commands, you will find some > handy tools. > > You can view also view your mtab and fstab files, but be VERY carefully > when messing with these files, and only make changes that you completely > understand or your system may not BOOT next time :) > > DK > > -----Original Message----- > From: redhat-install-list-bounces at redhat.com > [mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Bharadwaj > Sent: Thursday, September 29, 2005 09:16 AM > To: Getting started with Red Hat Linux > Subject: questions related with partiton? > > 1) which linux command will tell, all available devices? like hda , hdb > 2) which linux command will tell,all available partions? ;like hda5, > hda6 > 3) which linux command give drive informations? like IDE , > 4) which linux command give me, type of file system acorss all drives? > > Thankx > Bharadwaj. > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe > > > > _______________________________________________ > Redhat-install-list mailing list > Redhat-install-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-install-list > To Unsubscribe Go To ABOVE URL or send a message to: > redhat-install-list-request at redhat.com > Subject: unsubscribe From harold at hallikainen.com Fri Sep 30 18:46:12 2005 From: harold at hallikainen.com (Harold Hallikainen) Date: Fri, 30 Sep 2005 11:46:12 -0700 (PDT) Subject: httpd mod proxy? Message-ID: <35181.207.177.227.29.1128105972.squirrel@kauko.hallikainen.org> I found this in today's log... What's it mean? THANKS!!! Harold --------------------- httpd Begin ------------------------ Connection attempts using mod_proxy: 202.105.106.159 -> 4.79.181.15:25: 1 Time(s) 220.130.217.15 -> 64.12.137.121:25: 1 Time(s) -- FCC Rules Updated Daily at http://www.hallikainen.com From parikpol at amazon.com Fri Sep 30 19:24:10 2005 From: parikpol at amazon.com (Pol, Parikshit) Date: Fri, 30 Sep 2005 12:24:10 -0700 Subject: Installation issues on redhat linux Message-ID: <3DD58C12CC73BF40B5498B065E420714037C5D1E@ex-mail-sea-06.ant.amazon.com> Hello Folks, I am trying to install Eclipse 3.1 on my Linux desktop ( Red Hat Linux release 7.2 (Enigma) ). As a part of the dependencies I was trying to install gtk+-2.8.4. While trying to run ./configure it gives me the following error: configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met. I just installed glib-2.8.2, pango-1.10.0 and atk-1.10.1. But somehow pkg-config is not getting it. It is showing the following packages when I do a list-all. parikpol at parikpol:~/downloads> pkg-config --list-all gmodule-export-2.0 GModule - Dynamic module loader for GLib freetype2 FreeType 2 - A free, high-quality, and portable font engine. gmodule-2.0 GModule - Dynamic module loader for GLib libxml-2.0 libXML - libXML library version2. glib-2.0 GLib - C Utility Library gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library gthread-2.0 GThread - Thread support for GLib gmodule-no-export-2.0 GModule - Dynamic module loader for GLib It is showing an older version of glib-2.0. I am new to linux, so can someone help me out here? Thanks. -Parikshit -------------- next part -------------- An HTML attachment was scrubbed... URL: From markknecht at gmail.com Fri Sep 30 20:04:25 2005 From: markknecht at gmail.com (Mark Knecht) Date: Fri, 30 Sep 2005 13:04:25 -0700 Subject: CUPS admin for users In-Reply-To: <30549.198.60.114.90.1128047474.squirrel@webmail.ourldsfamily.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> <200509291853.17174.tpotter@techmarin.com> <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> <30549.198.60.114.90.1128047474.squirrel@webmail.ourldsfamily.com> Message-ID: <5bdc1c8b0509301304v34e9c3d8h63ab6ca177e716ef@mail.gmail.com> On 9/29/05, karlp at ourldsfamily.com wrote: > > On Thu, September 29, 2005 8:15 pm, Mark Knecht said: > > On 9/29/05, Ted Potter wrote: > >> On Thursday 29 September 2005 4:55 pm, Mark Knecht wrote: > >> > > >> > Thanks Alexey, > >> > These instructions seem pretty straight forward, but I'm really > >> > fuzzy tonight. How do I restart the cups daemon after editing the > >> > cupsd.conf file without rebooting. I'm tired/ > >> > > >> > Thanks, > >> > Mark > >> > > >> > >> /etc/rc.d/init.d/cupsd restart > > > > What I should have done... > > > >> > >> or turn on the tube and grab a brew depending.... :-) > > > > Pretty much what I did do. ;-) > > Since I don't drink, let me be a bit more pragmatic. I would recommend > getting used to the following command: > > service servicename [stop|start|restart|status] > > where in your situation, would appear as > > service cupsd restart > > though I prefer to do a service srvname stop, then service srvname start > with a bit of time between. I think that's because I'm used to working on > heavily loaded systems where the services which have to read large config > files need time to 'breath' between stops and starts else sometimes they > don't start up right. I'm probably just paranoid however, so that might > not be necessary. > > Karl Thanks Karl. I'm down to my one last Redhat machine here. There probably won't be anymore. I haven't had to restart anything in a long time as I've not made any config changes in quite awhile now. Sometimes the brain just goes blank. Cheers, Mark From karlp at ourldsfamily.com Fri Sep 30 20:16:11 2005 From: karlp at ourldsfamily.com (karlp at ourldsfamily.com) Date: Fri, 30 Sep 2005 14:16:11 -0600 (MDT) Subject: CUPS admin for users In-Reply-To: <5bdc1c8b0509301304v34e9c3d8h63ab6ca177e716ef@mail.gmail.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> <200509291853.17174.tpotter@techmarin.com> <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> <30549.198.60.114.90.1128047474.squirrel@webmail.ourldsfamily.com> <5bdc1c8b0509301304v34e9c3d8h63ab6ca177e716ef@mail.gmail.com> Message-ID: <33757.207.173.117.242.1128111371.squirrel@ourldsfamily.com> >> files need time to 'breath' between stops and starts else sometimes they >> don't start up right. I'm probably just paranoid however, so that might >> not be necessary. >> >> Karl > > Thanks Karl. I'm down to my one last Redhat machine here. There > probably won't be anymore. I haven't had to restart anything in a long > time as I've not made any config changes in quite awhile now. > Sometimes the brain just goes blank. > So, does that mean the edict has been given to leave Linux, or just Redhat? Karl From markknecht at gmail.com Fri Sep 30 20:41:35 2005 From: markknecht at gmail.com (Mark Knecht) Date: Fri, 30 Sep 2005 13:41:35 -0700 Subject: CUPS admin for users In-Reply-To: <33757.207.173.117.242.1128111371.squirrel@ourldsfamily.com> References: <5bdc1c8b05092916552e4561dd@mail.gmail.com> <200509291853.17174.tpotter@techmarin.com> <5bdc1c8b0509291915h4a82d848t9a9f6bbb94a5bfd5@mail.gmail.com> <30549.198.60.114.90.1128047474.squirrel@webmail.ourldsfamily.com> <5bdc1c8b0509301304v34e9c3d8h63ab6ca177e716ef@mail.gmail.com> <33757.207.173.117.242.1128111371.squirrel@ourldsfamily.com> Message-ID: <5bdc1c8b0509301341r2845834fjce57a5dd56340202@mail.gmail.com> On 9/30/05, karlp at ourldsfamily.com wrote: > >> files need time to 'breath' between stops and starts else sometimes they > >> don't start up right. I'm probably just paranoid however, so that might > >> not be necessary. > >> > >> Karl > > > > Thanks Karl. I'm down to my one last Redhat machine here. There > > probably won't be anymore. I haven't had to restart anything in a long > > time as I've not made any config changes in quite awhile now. > > Sometimes the brain just goes blank. > > > > So, does that mean the edict has been given to leave Linux, or just Redhat? > > Karl Gosh, not Linux. Just Redhat. RPM repositories just don't work for me. I end up building so much by hand that I've gone mostly Gentoo. After I got the hang of the portage/emerge process it's been the best I've run. That's not saying a lot, but it's been far more stable for me than Redhat or Fedora ever were. Keep in mind that as a recently retired home user I have far more time and fewer schedules than you business guys. I update my machines here once every two weeks or so. Most updates take only an hour or two. Not too bad. The best thing is that pretty much every app in the world seems to be in portage and I don't have to deal with dependencies like with RPM. apt repositories didn't seem to work much better for me on my audio boxes although they were fine for the wife and kid. Gosh, no, I don't see myself leaving Linux for a long, long time. I've got three Linux boxes here in my studio. My wife runs Gentoo. My son has FC2. WE have two more Gentoo boxes running MythTV. We're very much a Linux family these days. I still run one Windows XP machine for some Windows audio apps and Quicken. (Don't believe what they tell you about Quicken under Wine, Crossover Office or anything else. IT works, but no well enough. Been there, done that. Cheers, Mark