--- Begin Message ---
- From: redhat-install-list-request redhat com
- To: redhat-install-list redhat com
- Subject: Redhat-install-list Digest, Vol 10, Issue 15
- Date: Tue, 14 Dec 2004 19:55:53 -0500 (EST)
Send Redhat-install-list mailing list submissions to
redhat-install-list 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 redhat com
You can reach the person managing the list at
redhat-install-list-owner 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: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid (Rick Stevens)
2. Re: 2 CPU support (Rick Stevens)
3. Re: ftp script? (Rick Stevens)
4. Re: ftp script? (Harold Hallikainen)
5. Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid (Andreas Tolle)
6. Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid (Andreas Tolle)
7. RE: SiS Graphics setup (Mark Knecht) (Poole, John J)
8. Re: SiS Graphics setup (Mark Knecht) (Mark Knecht)
9. MySQL -- install on ES3 (Yulan Dong)
10. Re: MySQL -- install on ES3 (Bob McClure Jr)
11. Re: PHP and apache on redhat 9 (othman El Moulat)
12. Re: MySQL -- install on ES3 (Yulan Dong)
13. Re: ftp script? (karlp ourldsfamily com)
14. DNS & WEBSERVER (tariq samsudeen)
15. Re: DNS & WEBSERVER (Bob McClure Jr)
16. Re: ftp script? (Harold Hallikainen)
17. Re: ftp script? (Rick Stevens)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Dec 2004 09:42:46 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BF2616 3090709 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Andreas Tolle wrote:
> Am Mo, 2004-12-13 um 23.07 schrieb Rick Stevens:
>
>>Andreas Tolle wrote:
>>
>>>Hallo,
>>>
>>>I have an HP LC2000 machine with an HP-NetRAID 2M controller and 5 disks
>>>in raid 5. He runs with Suse 9.1 and the 2.6.5 kernel very well using
>>>the megaraid (old) module.
>>>Now I want to setup the Server with the Fedora Core3.
>>>At startup, he loads the megaraid.mbox modul, but no harddisks are
>>>found. Also when I add "linux acpi=off apm=off" (without quotes) in the
>>>startup-screen.
>>>Now I want to add the megaraid.ko module from Suse via module-disk
>>>during the Installation manually, but I don't know, whitch format is
>>>needed.
>>>Or is there a chance to get the inbuild driver megaraid.mbox for
>>>running well?
>>
>>I think the FC3 megaraid driver works well, but I can't tell you for
>>certain. Keep in mind that drivers such as that one are built against
>>the kernel and use versioning so the megaraid driver built for the
>>2.6.5 kernel works ONLY with the 2.6.5 kernel. The odds are that it
>>won't work with the kernel installed with FC3 (2.6.9-1.667) even if you
>>did make a driver disk for it.
>>----------------------------------------------------------------------
>>- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
>
>
> I thought also, that the megaraid driver is supported in fc3, but
> definite no in my case with my hp netraid. I have tested to install fc2
> last evening, this runs well with the buildin megaraid driver.
> You make mention of building a driver disk. Do you know, where I can
> find any documentation about this?
There are two megaraid drivers in FC3...megaraid_mbox and megaraid_mm.
The "_mm" is the management module, the "_mbox" is the actual driver.
Looking at the source code, the HP NetRAID isn't listed as supported.
The Dell "PERC", LSI Logic "MegaRAID", the Intel RAID SRxxx, FSC
and Acer are listed.
The nearest driver I can see is the aacraid driver, and the source only
shows the NetRAID 4M as being supported.
You probably should address this question to the fedora-users mailing
list (fedora-users redhat com).
As far as building a driver disk, it's not trivial and if you're not
experienced in it, I wouldn't recommend trying.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- A day for firm decisions!!! Well, then again, maybe not! -
----------------------------------------------------------------------
------------------------------
Message: 2
Date: Tue, 14 Dec 2004 09:45:19 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: 2 CPU support
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BF26AF 9020705 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Andreas Tolle wrote:
> Am Mo, 2004-12-13 um 23.07 schrieb Rick Stevens:
>
>>Andreas Tolle wrote:
>>
>>>Start ksysguard in kde and look, if there are shown the cpu's.
>>>
>>>Andreas
>>>
>>>< When I use top or look at the graphical system menu it seems to
>>>< indicate that only one proccessor is present.
>>
>>It's much easier to "cat /proc/cpuinfo" and see if two processors show
>>up there. If not, either one is dead or you're running a UP kernel.
>>----------------------------------------------------------------------
>>- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
>
>
> Yes, of course, you are right. But he has a workstation. I thought it is
> easier for him to work in the colored envirement by mouseclick. :-)
True.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Veni, Vidi, VISA: I came, I saw, I did a little shopping. -
----------------------------------------------------------------------
------------------------------
Message: 3
Date: Tue, 14 Dec 2004 09:47:15 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: ftp script?
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BF2723 5060106 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Harold Hallikainen wrote:
> I'm trying to have ftp send a file to another machine in a shell script
> called by cron. After Googling around, reading various man pages, etc., it
> looks like I've gotten the script to log in properly by setting up stuff
> in .netrc , but I'm still having trouble sending the cd and put commands
> into ftp from the script. Can anyone give me some clues? This is running
> on an RH8 machine.
Have a look at the "ncftpput" and "ncftpget" commands. They are
FTP client programs specifically written to be used in batch or shell
scripts. "man ncftpput" and "man ncftpget" for details.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- First Law of Work: -
- If you can't get it done in the first 24 hours, work nights. -
----------------------------------------------------------------------
------------------------------
Message: 4
Date: Tue, 14 Dec 2004 10:45:49 -0800 (PST)
From: "Harold Hallikainen" <harold hallikainen com>
Subject: Re: ftp script?
To: "Getting started with Red Hat Linux"
<redhat-install-list redhat com>
Message-ID:
<22028 207 177 227 29 1103049949 squirrel kauko hallikainen org>
Content-Type: text/plain;charset=iso-8859-1
IT WORKS!!!
Thanks!
Harold
> Harold Hallikainen wrote:
>> I'm trying to have ftp send a file to another machine in a shell script
>> called by cron. After Googling around, reading various man pages, etc.,
>> it
>> looks like I've gotten the script to log in properly by setting up stuff
>> in .netrc , but I'm still having trouble sending the cd and put commands
>> into ftp from the script. Can anyone give me some clues? This is running
>> on an RH8 machine.
>
> Have a look at the "ncftpput" and "ncftpget" commands. They are
> FTP client programs specifically written to be used in batch or shell
> scripts. "man ncftpput" and "man ncftpget" for details.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
> - VitalStream, Inc. http://www.vitalstream.com -
> - -
> - First Law of Work: -
> - If you can't get it done in the first 24 hours, work nights. -
> ----------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list 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 redhat com
> Subject: unsubscribe
>
--
FCC Rules Updated Daily at http://www.hallikainen.com
------------------------------
Message: 5
Date: Tue, 14 Dec 2004 19:53:20 +0100
From: Andreas Tolle <andtolle tolle-netz de>
Subject: Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103050400 5254 9 camel server home>
Content-Type: text/plain
Am Di, 2004-12-14 um 18.42 schrieb Rick Stevens:
> Andreas Tolle wrote:
> > Am Mo, 2004-12-13 um 23.07 schrieb Rick Stevens:
> >
> >>Andreas Tolle wrote:
> >>
> >>>Hallo,
> >>>
> >>>I have an HP LC2000 machine with an HP-NetRAID 2M controller and 5 disks
> >>>in raid 5. He runs with Suse 9.1 and the 2.6.5 kernel very well using
> >>>the megaraid (old) module.
> >>>Now I want to setup the Server with the Fedora Core3.
> >>>At startup, he loads the megaraid.mbox modul, but no harddisks are
> >>>found. Also when I add "linux acpi=off apm=off" (without quotes) in the
> >>>startup-screen.
> >>>Now I want to add the megaraid.ko module from Suse via module-disk
> >>>during the Installation manually, but I don't know, whitch format is
> >>>needed.
> >>>Or is there a chance to get the inbuild driver megaraid.mbox for
> >>>running well?
> >>
> >>I think the FC3 megaraid driver works well, but I can't tell you for
> >>certain. Keep in mind that drivers such as that one are built against
> >>the kernel and use versioning so the megaraid driver built for the
> >>2.6.5 kernel works ONLY with the 2.6.5 kernel. The odds are that it
> >>won't work with the kernel installed with FC3 (2.6.9-1.667) even if you
> >>did make a driver disk for it.
> >>----------------------------------------------------------------------
> >>- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
> >
> >
> > I thought also, that the megaraid driver is supported in fc3, but
> > definite no in my case with my hp netraid. I have tested to install fc2
> > last evening, this runs well with the buildin megaraid driver.
> > You make mention of building a driver disk. Do you know, where I can
> > find any documentation about this?
>
> There are two megaraid drivers in FC3...megaraid_mbox and megaraid_mm.
> The "_mm" is the management module, the "_mbox" is the actual driver.
>
> Looking at the source code, the HP NetRAID isn't listed as supported.
> The Dell "PERC", LSI Logic "MegaRAID", the Intel RAID SRxxx, FSC
> and Acer are listed.
>
> The nearest driver I can see is the aacraid driver, and the source only
> shows the NetRAID 4M as being supported.
>
> You probably should address this question to the fedora-users mailing
> list (fedora-users redhat com).
>
> As far as building a driver disk, it's not trivial and if you're not
> experienced in it, I wouldn't recommend trying.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
Thank you very much, Rick. The aacaraid driver I have tryed a few days
ago, also nothing. :-(
Andreas
------------------------------
Message: 6
Date: Tue, 14 Dec 2004 20:26:08 +0100
From: Andreas Tolle <andtolle tolle-netz de>
Subject: Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103052368 5254 23 camel server home>
Content-Type: text/plain
Am Di, 2004-12-14 um 18.42 schrieb Rick Stevens:
> You probably should address this question to the fedora-users mailing
> list (fedora-users redhat com).
That is the solution!! My problem is known there under Bug 135484. I
must replace the original kernel with a newer rpm on install.
Thank you very much for your tip, Rick!
Andreas
------------------------------
Message: 7
Date: Tue, 14 Dec 2004 15:22:44 -0500
From: "Poole, John J" <john j poole usa-spaceops com>
Subject: RE: SiS Graphics setup (Mark Knecht)
To: <redhat-install-list redhat com>
Message-ID:
<EB0B2E44781F7C4B8550183F5FCEDA22258DEB usaflcms03 usa-spaceops ksc nasa gov>
Content-Type: text/plain; charset="iso-8859-1"
-----Original Message-----
From: redhat-install-list-bounces redhat com
[mailto:redhat-install-list-bounces redhat com]On Behalf Of
redhat-install-list-request redhat com
Sent: Tuesday, December 14, 2004 12:01 PM
To: redhat-install-list redhat com
Subject: Redhat-install-list Digest, Vol 10, Issue 14
Send Redhat-install-list mailing list submissions to
redhat-install-list 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 redhat com
You can reach the person managing the list at
redhat-install-list-owner redhat com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Redhat-install-list digest..."
Mark,
An excellent site to try and get SIS to do 3D:
http://www.winischhofer.at/linuxsisvga.shtml
John
Today's Topics:
1. SiS Graphics setup (Mark Knecht)
2. Re: PHP and apache on redhat 9 (Chris Hewitt)
3. CD/DVD drive (Tapas Ranjan)
4. Netfinity hangs at running /sbin/loader (J.P. Fischer)
5. Re: PHP and apache on redhat 9 (Rick Stevens)
6. Re: Redhat-install-list Digest, Vol 10, Issue 11 (Rick Stevens)
7. Re: RHCE doubts (Rick Stevens)
8. Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid (Rick Stevens)
9. Re: 2 CPU support (Rick Stevens)
10. Re: SiS Graphics setup (Rick Stevens)
11. Re: CD/DVD drive (Rick Stevens)
12. Re: Netfinity hangs at running /sbin/loader (Rick Stevens)
13. Re: SiS Graphics setup (Mark Knecht)
14. Re: CD/DVD drive (Tapas Ranjan)
15. Re: SiS Graphics setup (Mark Knecht)
16. Re: CD/DVD drive (Rick Stevens)
17. Re: SiS Graphics setup (Graeme Nichols)
18. Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid (Andreas Tolle)
19. Re: 2 CPU support (Andreas Tolle)
20. Re: Netfinity hangs at running /sbin/loader (Andreas Tolle)
21. ftp script? (Harold Hallikainen)
22. RE: ftp script? (Kenneth Goodwin)
----------------------------------------------------------------------
Message: 1
Date: Mon, 13 Dec 2004 09:20:08 -0800
From: Mark Knecht <markknecht gmail com>
Subject: SiS Graphics setup
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <5bdc1c8b04121309202511cc16 mail gmail com>
Content-Type: text/plain; charset=US-ASCII
Hi,
Back to configuring my son's new machine. It had to stay in the
closet this weekend and I only get to work on it during the day this
week.
I'm looking for info on what graphics adapter to use. Here's what I
see in lspci:
[root Christmas root]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741
Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL
Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
PCI Fast Ethernet (rev 91)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP
I don't see any of these in the FC2 display config utility. Any ideas?
Thanks,
Mark
------------------------------
Message: 2
Date: Mon, 13 Dec 2004 19:36:48 +0000
From: Chris Hewitt <rhil manordata uklinux net>
Subject: Re: PHP and apache on redhat 9
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1102966606 26244 10 camel amdk63 homemanordata nodom>
Content-Type: text/plain
On Sun, 2004-12-12 at 18:39, othman El Moulat wrote:
> thanks ted for your reply...
> actually i want to learn the whole business of php technology so i opted for
> installing and reconfiguring apache and php from scratch ...after some trials
> it works :) and this has taught me a lot about the installation issues and
> headaches :)
>
> but if i want to start a serious adventure in PHP development i should have
> some Professional IDE for php ...i wonder if someone knows about any FREE
> downloadable IDE that i can get from the WWW...
I use just Quanta Plus, but the version on RH9 will be rather old. If
you search the php-install and php-general archives at
http://marc.theaimsgroup.com this question has been asked many times and
you will find many recommendations.
HTH
Chris
------------------------------
Message: 3
Date: Tue, 14 Dec 2004 04:37:58 +0900 (JST)
From: Tapas Ranjan <sarangi bpost kek jp>
Subject: CD/DVD drive
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <Pine LNX 4 44 0412140431340 5911-100000 bpost kek jp>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi :
I was looking for a CD/DVD-RW external drive to buy for my Dell
inspiron 1100 computer. I found out one good deal in Dell's web site. The
product is something like this :
-------------------
PLEXTOR
12X/4X/16X DVD+RW / 8X/4X/16X DVD-RW / 48X/24X/48X CD-RW PX-712UF External
Combo Drive - FireWire and USB 2.0
--------------------
Please help in deciding, whether it's a good product and will work
for linux without much trouble.
Thanks
---Tapas
------------------------------
Message: 4
Date: Mon, 13 Dec 2004 15:07:59 -0500
From: "J.P. Fischer" <pfischer atmit com>
Subject: Netfinity hangs at running /sbin/loader
To: <redhat-install-list redhat com>
Message-ID: <200412132008 iBDK84af028996 fozzie webservepro com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Trying to install RHEL onto an IBM Netfinity 4000R, dual P3 550Mhz
processors, 256Mb.
During CD-bootup it hangs at "running /sbin/loader" .
What to do?
------------------------------
Message: 5
Date: Mon, 13 Dec 2004 13:46:12 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: PHP and apache on redhat 9
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE0DA4 1050101 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Chris Hewitt wrote:
> On Sun, 2004-12-12 at 18:39, othman El Moulat wrote:
>
>>thanks ted for your reply...
>>actually i want to learn the whole business of php technology so i opted for
>>installing and reconfiguring apache and php from scratch ...after some trials
>>it works :) and this has taught me a lot about the installation issues and
>>headaches :)
>>
>>but if i want to start a serious adventure in PHP development i should have
>>some Professional IDE for php ...i wonder if someone knows about any FREE
>>downloadable IDE that i can get from the WWW...
>
>
> I use just Quanta Plus, but the version on RH9 will be rather old. If
> you search the php-install and php-general archives at
> http://marc.theaimsgroup.com this question has been asked many times and
> you will find many recommendations.
Also check http://www.php.net for some leads.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "Swap memory error: You lose your mind" -
----------------------------------------------------------------------
------------------------------
Message: 6
Date: Mon, 13 Dec 2004 13:49:12 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: Redhat-install-list Digest, Vol 10, Issue 11
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE0E58 9020901 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Anthony Joseph Deo wrote:
> Nathan,
>
> Thank you very much. I ddin't realize that there was a separate kernel for dual cpu support.
Actually, you can use the SMP (symmetrical multi processor) kernel on UP
(uniprocessor) machines. The kernel is a bit bigger than you need and
it isn't as efficient, but it will work. The UP kernel will only drive
one processor on SMP machines, but again, it will work (as you have
found out).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "Swap memory error: You lose your mind" -
----------------------------------------------------------------------
------------------------------
Message: 7
Date: Mon, 13 Dec 2004 14:01:14 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: RHCE doubts
To: tariq samsudeen <tariq samsudeen gmail com>, Getting started with
Red Hat Linux <redhat-install-list redhat com>
Message-ID: <41BE112A 3010400 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
tariq samsudeen wrote:
> hi gurus,
> i hv few clarification regarding rhce....im preparing for the exam on
> my own using fedora core 2...im using rhce exam study guide by michael
> jang and red hat linux bible by christopher negus.....
> I want 2 clarifications, please help me.
> 1. redhat manual raid configuration after installation.
> should i use LABEL=/ in fstab r directly use the device name example, dev/md0
> michael jang says we should use LABEL, where as the website
> www.linuxhomenetworking.com says...
> Note: It is very important that you DO NOT use labels in the
> /etc/fstab file for RAID devices, just use the real device name such
> as "/dev/md0". On startup, the /etc/rc.d/rc.sysinit script checks the
> /etc/fstab file for device entries that match RAID set names in the
> /etc/raidtab file. It will not automatically start the RAID set driver
> for the RAID set if it doesn't find a match. Device mounting then
> occurs later on in the boot process. Mounting a RAID device that
> doesn't have a loaded driver can corrupt your data giving the error
> below.
>
> with fedora, its wrking whn i use dev/md0.....im not sure abt RHEL......
I'd have to go back and check the RHEL script, but I think the website
is correct. Personally, I don't like labels at all for the simple fact
that, if you set up a different Linux along side your current one (even
if it's on a new drive), you'll have two "/usr" or whatever partitions.
Which one gets mounted when /etc/fstab says "/usr"? You have no control
over it. I'm a control freak, so I try to use device names rather than
labels whenever possible.
> 2. DNS configuration.....
> should i have to copy these files...
> cp -f /etc/named.conf /var/named/chroot/etc
> cp -f /etc/rndc.* /var/named/chroot/etc
> and also the zone file example: example.com.zone
> cp -f /var/named/example.com.zone /var/named/chroot/var/named
> with fedora the above thing is wrking....wht abt RHEL....
If you set up named to run in a chrooted environment (in other words,
you give it the "-t /directory" option), all files needed to make named
work MUST be in that specified directory (by default, this is
"/var/named/chroot/").
Once the daemon starts and gets chrooted, it can't back up past the
specified directory to look at the rest of the filesystem. As far as
named is concerned, the given directory IS the root of the filesystem
("/"). That's what chroot does..."for this process, change the root of
the filesystem to the given directory".
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Lottery: A tax on people who are bad at math. -
----------------------------------------------------------------------
------------------------------
Message: 8
Date: Mon, 13 Dec 2004 14:07:03 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE1287 9010001 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Andreas Tolle wrote:
> Hallo,
>
> I have an HP LC2000 machine with an HP-NetRAID 2M controller and 5 disks
> in raid 5. He runs with Suse 9.1 and the 2.6.5 kernel very well using
> the megaraid (old) module.
> Now I want to setup the Server with the Fedora Core3.
> At startup, he loads the megaraid.mbox modul, but no harddisks are
> found. Also when I add "linux acpi=off apm=off" (without quotes) in the
> startup-screen.
> Now I want to add the megaraid.ko module from Suse via module-disk
> during the Installation manually, but I don't know, whitch format is
> needed.
> Or is there a chance to get the inbuild driver megaraid.mbox for
> running well?
I think the FC3 megaraid driver works well, but I can't tell you for
certain. Keep in mind that drivers such as that one are built against
the kernel and use versioning so the megaraid driver built for the
2.6.5 kernel works ONLY with the 2.6.5 kernel. The odds are that it
won't work with the kernel installed with FC3 (2.6.9-1.667) even if you
did make a driver disk for it.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Jimmie crack corn and I don't care...what kind of lousy attitude -
- is THAT to have, huh? -- Dennis Miller -
----------------------------------------------------------------------
------------------------------
Message: 9
Date: Mon, 13 Dec 2004 14:07:57 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: 2 CPU support
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE12BD 70600 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Andreas Tolle wrote:
> Start ksysguard in kde and look, if there are shown the cpu's.
>
> Andreas
>
> < When I use top or look at the graphical system menu it seems to
> < indicate that only one proccessor is present.
It's much easier to "cat /proc/cpuinfo" and see if two processors show
up there. If not, either one is dead or you're running a UP kernel.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Change is inevitable, except from a vending machine. -
----------------------------------------------------------------------
------------------------------
Message: 10
Date: Mon, 13 Dec 2004 14:13:27 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: SiS Graphics setup
To: Mark Knecht <markknecht gmail com>, Getting started with Red Hat
Linux <redhat-install-list redhat com>
Message-ID: <41BE1407 4050808 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Mark Knecht wrote:
> Hi,
> Back to configuring my son's new machine. It had to stay in the
> closet this weekend and I only get to work on it during the day this
> week.
>
> I'm looking for info on what graphics adapter to use. Here's what I
> see in lspci:
>
> [root Christmas root]# lspci
> 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741
> Host (rev 03)
> 00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
> 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL
> Media IO] (rev 36)
> 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
> 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> Sound Controller (rev a0)
> 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
> 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
> PCI Fast Ethernet (rev 91)
> 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
> 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP
>
> I don't see any of these in the FC2 display config utility. Any ideas?
There is a "sis_drv.o" in /usr/X11R6/lib/modules/drivers, so I'd guess
that's the driver to use. In fact, I quote from http://www.X.org:
2.5 Video driver enhancements
o SiS driver updates include
o output device hotplugging
o lots of fixes for 661, 741, 760 <<<<<<<----- HINT! HINT!
o extended interface for SiSCtrl?
o extended LCD handling (allow more modes)
o HDTV support (480p, 480i, 720p. 1080i; 315/330 series)
o Added video blitter Xv adapter (315/330 series)
o extended RENDER acceleration
Does that help?
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Change is inevitable, except from a vending machine. -
----------------------------------------------------------------------
------------------------------
Message: 11
Date: Mon, 13 Dec 2004 14:16:50 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: CD/DVD drive
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE14D2 1070700 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Tapas Ranjan wrote:
> Hi :
> I was looking for a CD/DVD-RW external drive to buy for my Dell
> inspiron 1100 computer. I found out one good deal in Dell's web site. The
> product is something like this :
>
> -------------------
> PLEXTOR
> 12X/4X/16X DVD+RW / 8X/4X/16X DVD-RW / 48X/24X/48X CD-RW PX-712UF External
> Combo Drive - FireWire and USB 2.0
> --------------------
>
> Please help in deciding, whether it's a good product and will work
> for linux without much trouble.
Should work fine.
And Tapas, PLEASE don't respond to someone else's message and change the
subject line if you want to start a new thread. To start a new thread,
send a completely NEW message to redhat-install-list redhat com with an
appropriate subject line. What you did is called "thread hijacking"
and it's not appreciated as it screws up news readers that display
messages in thread order.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Try to look unimportant. The bad guys may be low on ammo. -
----------------------------------------------------------------------
------------------------------
Message: 12
Date: Mon, 13 Dec 2004 14:18:57 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: Netfinity hangs at running /sbin/loader
To: pfischer atmit com, Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE1551 7040204 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
J.P. Fischer wrote:
> Hi,
> Trying to install RHEL onto an IBM Netfinity 4000R, dual P3 550Mhz
> processors, 256Mb.
> During CD-bootup it hangs at "running /sbin/loader" .
> What to do?
Uh, the first thing to try is to add "noapic" to the end of the boot
command line:
boot: linux noapic
and see if that gets you anywhere.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- The light at the end of the tunnel is really an oncoming train. -
----------------------------------------------------------------------
------------------------------
Message: 13
Date: Mon, 13 Dec 2004 14:20:34 -0800
From: Mark Knecht <markknecht gmail com>
Subject: Re: SiS Graphics setup
To: Rick Stevens <rstevens vitalstream com>
Cc: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <5bdc1c8b0412131420293ba07a mail gmail com>
Content-Type: text/plain; charset=US-ASCII
On Mon, 13 Dec 2004 14:13:27 -0800, Rick Stevens
<rstevens vitalstream com> wrote:
> Mark Knecht wrote:
>
>
> > Hi,
> > Back to configuring my son's new machine. It had to stay in the
> > closet this weekend and I only get to work on it during the day this
> > week.
> >
> > I'm looking for info on what graphics adapter to use. Here's what I
> > see in lspci:
> >
> > [root Christmas root]# lspci
> > 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741
> > Host (rev 03)
> > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
> > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL
> > Media IO] (rev 36)
> > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
> > 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> > Sound Controller (rev a0)
> > 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> > Controller (rev 0f)
> > 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> > Controller (rev 0f)
> > 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> > Controller (rev 0f)
> > 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
> > 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
> > PCI Fast Ethernet (rev 91)
> > 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
> > 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP
> >
> > I don't see any of these in the FC2 display config utility. Any ideas?
>
> There is a "sis_drv.o" in /usr/X11R6/lib/modules/drivers, so I'd guess
> that's the driver to use. In fact, I quote from http://www.X.org:
>
> 2.5 Video driver enhancements
>
> o SiS driver updates include
>
> o output device hotplugging
>
> o lots of fixes for 661, 741, 760 <<<<<<<----- HINT! HINT!
>
> o extended interface for SiSCtrl?
>
> o extended LCD handling (allow more modes)
>
> o HDTV support (480p, 480i, 720p. 1080i; 315/330 series)
>
> o Added video blitter Xv adapter (315/330 series)
>
> o extended RENDER acceleration
>
> Does that help?
Yep. Found as much this morning when I ran across a good web site. The
SiS driver is loaded but my 3D performance is pretty bad at about
200FPS.
Thanks,
Mark
------------------------------
Message: 14
Date: Tue, 14 Dec 2004 07:34:02 +0900 (JST)
From: Tapas Ranjan <sarangi bpost kek jp>
Subject: Re: CD/DVD drive
To: redhat-install-list redhat com
Message-ID: <Pine LNX 4 44 0412140726550 5911-100000 bpost kek jp>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 13 Dec 2004, Rick Stevens wrote:
> Tapas Ranjan wrote:
> > Hi :
> > I was looking for a CD/DVD-RW external drive to buy for my Dell
> > inspiron 1100 computer. I found out one good deal in Dell's web site. The
> > product is something like this :
> >
> > -------------------
> > PLEXTOR
> > 12X/4X/16X DVD+RW / 8X/4X/16X DVD-RW / 48X/24X/48X CD-RW PX-712UF External
> > Combo Drive - FireWire and USB 2.0
> > --------------------
> >
> > Please help in deciding, whether it's a good product and will work
> > for linux without much trouble.
>
> Should work fine.
Thanks Rick. So, I am going to buy it.
>
> And Tapas, PLEASE don't respond to someone else's message and change the
> subject line if you want to start a new thread. To start a new thread,
> send a completely NEW message to redhat-install-list redhat com with an
> appropriate subject line. What you did is called "thread hijacking"
> and it's not appreciated as it screws up news readers that display
> messages in thread order.
I guess, I change the subject line, probably didn't do the others
quite properly. Anyways, will take care afterwards.
---Tapas
------------------------------
Message: 15
Date: Mon, 13 Dec 2004 15:13:03 -0800
From: Mark Knecht <markknecht gmail com>
Subject: Re: SiS Graphics setup
To: Rick Stevens <rstevens vitalstream com>
Cc: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <5bdc1c8b04121315137d6b561 mail gmail com>
Content-Type: text/plain; charset=US-ASCII
On Mon, 13 Dec 2004 14:24:34 -0800, Rick Stevens
<rstevens vitalstream com> wrote:
> Mark Knecht wrote:
> > Yep. Found as much this morning when I ran across a good web site. The
> > SiS driver is loaded but my 3D performance is pretty bad at about
> > 200FPS.
>
> Hah, hmmm. Do you have all of the necessary 3D boosts loaded? Try
> "man 4 sis" to see the options available for that driver. Maybe a
> combo of them will do the magic for you.
I don't know. The xorg.conf is just default except for changing the
driver name by hand from vesa to sis. Sometimes there are other
drivers that have to be loaded, at least with ATI and NVidia. Possibly
there is something like that here that I haven't discovered yet.
I'll have to check tomorrow as the kid is due home in about 5 minutes
so the machine is packed up and in the closet again.
I had a good day:
1) Found out about the SiS driver and found a kernel that seems to
work well. Got that booting with no complaints.
2) Got Half-Life working using Cedega. (WineX) Hard to believe but you
can play that game on a 128MB machine! The less sound and video seem
perfect. Amazing!
3) Switched wireless network adapters and got this one (DWL-520) to
install using ndiswrapper. It see my network using the scan option,
and then 'attaches' (I guess) when I put in the 24 digit key, but the
card isn't configured yet to do DHCP and ndiswrapper isn't starting
when I reboot.
4) Got my wife's XP box working with the DWL-G510 that I'd been trying
to use for the last 2 weeks under Linux. She wants to switch to Linux
too so I'll have to figure out how to handle that. The madwifi driver
gets started but complains about the HAL layer being incorrect. The
madwifi folks say they need a new HAL file from Atheros.
Tomorrow finish getting the wireless to work on boot and see about
acceleration on the SiS graphics adapter. Once that's done I can wrap
the package and get ready to leave on Friday.
Thanks so much for your help!
Cheers,
Mark
------------------------------
Message: 16
Date: Mon, 13 Dec 2004 15:25:52 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: CD/DVD drive
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BE2500 3070301 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Tapas Ranjan wrote:
> On Mon, 13 Dec 2004, Rick Stevens wrote:
>
>
>>Tapas Ranjan wrote:
>>
>>>Hi :
>>> I was looking for a CD/DVD-RW external drive to buy for my Dell
>>>inspiron 1100 computer. I found out one good deal in Dell's web site. The
>>>product is something like this :
>>>
>>>-------------------
>>> PLEXTOR
>>>12X/4X/16X DVD+RW / 8X/4X/16X DVD-RW / 48X/24X/48X CD-RW PX-712UF External
>>>Combo Drive - FireWire and USB 2.0
>>>--------------------
>>>
>>> Please help in deciding, whether it's a good product and will work
>>>for linux without much trouble.
>>
>>Should work fine.
>
>
> Thanks Rick. So, I am going to buy it.
>
>
>>And Tapas, PLEASE don't respond to someone else's message and change the
>>subject line if you want to start a new thread. To start a new thread,
>>send a completely NEW message to redhat-install-list redhat com with an
>>appropriate subject line. What you did is called "thread hijacking"
>>and it's not appreciated as it screws up news readers that display
>>messages in thread order.
>
>
> I guess, I change the subject line, probably didn't do the others
> quite properly. Anyways, will take care afterwards.
Good deal. If you're starting a thread, use a NEW message--don't reuse
an old one. This is one case where recycling isn't a good idea!
;-)
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
----------------------------------------------------------------------
------------------------------
Message: 17
Date: Tue, 14 Dec 2004 15:07:05 +1100
From: "Graeme Nichols" <gnichols tpg com au>
Subject: Re: SiS Graphics setup
To: "Mark Knecht" <markknecht gmail com>, "Getting started with Red
Hat Linux" <redhat-install-list redhat com>
Message-ID: <002001c4e192$5fcb99b0$0101a8c0 youru51ci7l8m4>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
----- Original Message -----
From: "Mark Knecht" <markknecht gmail com>
To: "Getting started with Red Hat Linux" <redhat-install-list redhat com>
Sent: Tuesday, December 14, 2004 4:20 AM
Subject: SiS Graphics setup
> Hi,
> Back to configuring my son's new machine. It had to stay in the
> closet this weekend and I only get to work on it during the day this
> week.
>
> I'm looking for info on what graphics adapter to use. Here's what I
> see in lspci:
>
> [root Christmas root]# lspci
> 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741
> Host (rev 03)
> 00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
> 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL
> Media IO] (rev 36)
> 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev
> 01)
> 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> Sound Controller (rev a0)
> 00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
> Controller (rev 0f)
> 00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
> Controller
> 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
> PCI Fast Ethernet (rev 91)
> 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
> 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP
>
> I don't see any of these in the FC2 display config utility. Any ideas?
>
> Thanks,
> Mark
>
Mark, I have a SIS display adaptor on my old lap top and on earlier versions
of RH it proved to be a real dog. However, I installed FC2 on it some months
ago and simply set the display to a generic LCD 1024x768 and it all worked
OK. It should also work if you have a CRT display by setting it to the
'generic' and entering the vertical and horizontal sync values and the
resolution you want and your monitor supports. The latest X has support for
these SIS chips now.
Graeme.
------------------------------
Message: 18
Date: Tue, 14 Dec 2004 09:05:58 +0100
From: Andreas Tolle <andtolle tolle-netz de>
Subject: Re: Fedora Core3: How to make Module-Disk for Installation,
Problems with megaraid
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103011558 2405 17 camel server home>
Content-Type: text/plain
Am Mo, 2004-12-13 um 23.07 schrieb Rick Stevens:
> Andreas Tolle wrote:
> > Hallo,
> >
> > I have an HP LC2000 machine with an HP-NetRAID 2M controller and 5 disks
> > in raid 5. He runs with Suse 9.1 and the 2.6.5 kernel very well using
> > the megaraid (old) module.
> > Now I want to setup the Server with the Fedora Core3.
> > At startup, he loads the megaraid.mbox modul, but no harddisks are
> > found. Also when I add "linux acpi=off apm=off" (without quotes) in the
> > startup-screen.
> > Now I want to add the megaraid.ko module from Suse via module-disk
> > during the Installation manually, but I don't know, whitch format is
> > needed.
> > Or is there a chance to get the inbuild driver megaraid.mbox for
> > running well?
>
> I think the FC3 megaraid driver works well, but I can't tell you for
> certain. Keep in mind that drivers such as that one are built against
> the kernel and use versioning so the megaraid driver built for the
> 2.6.5 kernel works ONLY with the 2.6.5 kernel. The odds are that it
> won't work with the kernel installed with FC3 (2.6.9-1.667) even if you
> did make a driver disk for it.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
I thought also, that the megaraid driver is supported in fc3, but
definite no in my case with my hp netraid. I have tested to install fc2
last evening, this runs well with the buildin megaraid driver.
You make mention of building a driver disk. Do you know, where I can
find any documentation about this?
Thank you! Andreas
------------------------------
Message: 19
Date: Tue, 14 Dec 2004 09:14:37 +0100
From: Andreas Tolle <andtolle tolle-netz de>
Subject: Re: 2 CPU support
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103012076 2405 25 camel server home>
Content-Type: text/plain
Am Mo, 2004-12-13 um 23.07 schrieb Rick Stevens:
> Andreas Tolle wrote:
> > Start ksysguard in kde and look, if there are shown the cpu's.
> >
> > Andreas
> >
> > < When I use top or look at the graphical system menu it seems to
> > < indicate that only one proccessor is present.
>
> It's much easier to "cat /proc/cpuinfo" and see if two processors show
> up there. If not, either one is dead or you're running a UP kernel.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
Yes, of course, you are right. But he has a workstation. I thought it is
easier for him to work in the colored envirement by mouseclick. :-)
Andreas
------------------------------
Message: 20
Date: Tue, 14 Dec 2004 09:35:37 +0100
From: Andreas Tolle <andtolle tolle-netz de>
Subject: Re: Netfinity hangs at running /sbin/loader
To: pfischer atmit com, Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103013336 2406 31 camel server home>
Content-Type: text/plain
Am Mo, 2004-12-13 um 21.07 schrieb J.P. Fischer:
> Hi,
> Trying to install RHEL onto an IBM Netfinity 4000R, dual P3 550Mhz
> processors, 256Mb.
> During CD-bootup it hangs at "running /sbin/loader" .
> What to do?
If you have an IDE-CDROM, try to enter linux dma=off (or nodma) at the
bootprompt.
Andreas
------------------------------
Message: 21
Date: Tue, 14 Dec 2004 08:15:21 -0800 (PST)
From: "Harold Hallikainen" <harold hallikainen com>
Subject: ftp script?
To: redhat-install-list redhat com
Message-ID:
<31072 207 177 227 29 1103040921 squirrel kauko hallikainen org>
Content-Type: text/plain;charset=iso-8859-1
I'm trying to have ftp send a file to another machine in a shell script
called by cron. After Googling around, reading various man pages, etc., it
looks like I've gotten the script to log in properly by setting up stuff
in .netrc , but I'm still having trouble sending the cd and put commands
into ftp from the script. Can anyone give me some clues? This is running
on an RH8 machine.
THANKS!
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com
------------------------------
Message: 22
Date: Tue, 14 Dec 2004 11:30:28 -0500
From: "Kenneth Goodwin" <kgoodwin datamarktech com>
Subject: RE: ftp script?
To: "'Getting started with Red Hat Linux'"
<redhat-install-list redhat com>
Message-ID: <CE1BEBBACA47794E968E6150198D62A53C9A DMTECHMAIL>
Content-Type: text/plain; charset="iso-8859-1"
> -----Original Message-----
> From: redhat-install-list-bounces redhat com
> [mailto:redhat-install-list-bounces redhat com]On Behalf
Of Harold
> Hallikainen
> Sent: Tuesday, December 14, 2004 11:15 AM
> To: redhat-install-list redhat com
> Subject: ftp script?
>
>
> I'm trying to have ftp send a file to another machine in
a
> shell script
> called by cron. After Googling around, reading various
man
> pages, etc., it
> looks like I've gotten the script to log in properly by
> setting up stuff
> in .netrc , but I'm still having trouble sending the cd
and
> put commands
> into ftp from the script. Can anyone give me some clues?
> This is running
> on an RH8 machine.
>
You can have your shell script dynamically create each time
a NETRC file
to do want you want to do at that instance and then call the
FTP command for that system name.
Or you can First put everything that is always going to be
the same
into a static NETRC file entry for that system
IE. everything you want it to do everytime you connect as
long as you
can do these things prior to your "unique" stuff that has to
be
generated on the fly. typially - login, password, chdir's
Then to do the custom stuff, you have the shell script
composite a string or build a temp file
to act as STDIN to the ftp commmand.
quick off the top of my head example of the latter
to give you the general idea,
check the ftp man pages for ftp flags and proper commands
echo "cd stored_data.d\nput ${MYFILENAME}\nquit" | ftp -i
systemname
or
echo "cd ${TARGET1}" > my_ftptemp_file
for fname in my_data_files*
do
echo "put $fname" >> my_ftptemp_file
done
echo "quit" >> my_ftptemp_file
cat my_ftptemp_file | ftp -i systemname
> THANKS!
>
> Harold
>
> --
> FCC Rules Updated Daily at http://www.hallikainen.com
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list 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 redhat com
> Subject: unsubscribe
>
------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-install-list
End of Redhat-install-list Digest, Vol 10, Issue 14
***************************************************
------------------------------
Message: 8
Date: Tue, 14 Dec 2004 12:36:19 -0800
From: Mark Knecht <markknecht gmail com>
Subject: Re: SiS Graphics setup (Mark Knecht)
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <5bdc1c8b041214123663a9da67 mail gmail com>
Content-Type: text/plain; charset=US-ASCII
On Tue, 14 Dec 2004 15:22:44 -0500, Poole, John J
<john j poole usa-spaceops com> wrote:
<SNIP>
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Redhat-install-list digest..."
> Mark,
> An excellent site to try and get SIS to do 3D:
> http://www.winischhofer.at/linuxsisvga.shtml
> John
>
> Today's Topics:
>
> 1. SiS Graphics setup (Mark Knecht)
John,
Thanks for the pointer. I haven't had net access today until just
now but I'll be looking at this.
With best regards,
Nark
------------------------------
Message: 9
Date: Tue, 14 Dec 2004 17:10:27 -0500
From: Yulan Dong <ydong isoscelesinfo com>
Subject: MySQL -- install on ES3
To: Redhat-install-list redhat com
Message-ID: <1103062227 8598 17 camel IMSSERVER>
Content-Type: text/plain
Hi,
I downloaded mysql-3.23.58-1.i386.rpm from redhat site. When I tried to
install it, I got an error:
[root IMSSERVER ydong]# rpm -ivh mysql-3.23.58-1.i386.rpm
error: Failed dependencies:
perl-DBD-MySQL is needed by mysql-3.23.58-1
Suggested resolutions:
perl-DBD-MySQL-2.1021-3.i386.rpm
Then I downloaded perl-DBD-MySQL-2.1021-3.i386.rpm and tried to install
it, I got another error:
[root IMSSERVER ydong]# rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
error: Failed dependencies:
libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3
Suggested resolutions:
mysql-3.23.58-1.i386.rpm
How to solve this problem?
Thank you in advance.
Yulan
------------------------------
Message: 10
Date: Tue, 14 Dec 2004 15:08:45 -0600
From: Bob McClure Jr <robertmcclure earthlink net>
Subject: Re: MySQL -- install on ES3
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <20041214210845 GB10749 bobcat bobcatos com>
Content-Type: text/plain; charset=us-ascii
On Tue, Dec 14, 2004 at 05:10:27PM -0500, Yulan Dong wrote:
> Hi,
>
> I downloaded mysql-3.23.58-1.i386.rpm from redhat site. When I tried to
> install it, I got an error:
>
> [root IMSSERVER ydong]# rpm -ivh mysql-3.23.58-1.i386.rpm
> error: Failed dependencies:
> perl-DBD-MySQL is needed by mysql-3.23.58-1
> Suggested resolutions:
> perl-DBD-MySQL-2.1021-3.i386.rpm
>
> Then I downloaded perl-DBD-MySQL-2.1021-3.i386.rpm and tried to install
> it, I got another error:
>
> [root IMSSERVER ydong]# rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
> error: Failed dependencies:
> libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3
> Suggested resolutions:
> mysql-3.23.58-1.i386.rpm
>
> How to solve this problem?
>
> Thank you in advance.
>
> Yulan
Install them both at the same time:
rpm -ivh mysql-3.23.58-1.i386.rpm perl-DBD-MySQL-2.1021-3.i386.rpm
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure earthlink net http://www.bobcatos.com
Grace happens.
------------------------------
Message: 11
Date: Tue, 14 Dec 2004 21:10:04 -0000
From: "othman El Moulat" <othmanelmoulat menara ma>
Subject: Re: PHP and apache on redhat 9
To: <redhat-install-list redhat com>
Message-ID: <001e01c4e221$48542a10$1a79c051 pc>
Content-Type: text/plain; charset="iso-8859-1"
many thanks for you all guys for your precious help...
after all i guess the best tool for PHP developement under a win box would be dreamwaver mx ...i guess also that there is a dreamwaver mx version for linux os ? (i'm not sure about that) but these tools are not free ;) ...KPHP Devolop is a good FREE tool for developement on Linux os ...
thanks for all ...if someone has any suggestion about that he is very welcome...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/redhat-install-list/attachments/20041214/ad40711d/attachment.htm
------------------------------
Message: 12
Date: Tue, 14 Dec 2004 17:24:26 -0500
From: Yulan Dong <ydong isoscelesinfo com>
Subject: Re: MySQL -- install on ES3
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <1103063065 8598 19 camel IMSSERVER>
Content-Type: text/plain
On Tue, 2004-12-14 at 16:08, Bob McClure Jr wrote:
> On Tue, Dec 14, 2004 at 05:10:27PM -0500, Yulan Dong wrote:
> > Hi,
> >
> > I downloaded mysql-3.23.58-1.i386.rpm from redhat site. When I tried to
> > install it, I got an error:
> >
> > [root IMSSERVER ydong]# rpm -ivh mysql-3.23.58-1.i386.rpm
> > error: Failed dependencies:
> > perl-DBD-MySQL is needed by mysql-3.23.58-1
> > Suggested resolutions:
> > perl-DBD-MySQL-2.1021-3.i386.rpm
> >
> > Then I downloaded perl-DBD-MySQL-2.1021-3.i386.rpm and tried to install
> > it, I got another error:
> >
> > [root IMSSERVER ydong]# rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
> > error: Failed dependencies:
> > libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3
> > Suggested resolutions:
> > mysql-3.23.58-1.i386.rpm
> >
> > How to solve this problem?
> >
> > Thank you in advance.
> >
> > Yulan
>
> Install them both at the same time:
>
> rpm -ivh mysql-3.23.58-1.i386.rpm perl-DBD-MySQL-2.1021-3.i386.rpm
>
> Cheers,
Thanks!
Yulan
------------------------------
Message: 13
Date: Tue, 14 Dec 2004 14:59:55 -0700 (MST)
From: karlp ourldsfamily com
Subject: Re: ftp script?
To: redhat-install-list redhat com
Message-ID:
<34634 207 173 117 242 1103061595 squirrel 207 173 117 242>
Content-Type: text/plain;charset=iso-8859-1
> IT WORKS!!!
>
> Thanks!
>
> Harold
Good to listen to Rick. But what about when you are on a *nix system that
doesn't have ncftp? In that case, you can roll your own, as I have in this
version which actually works, in spite of the author:
~/bin/ftp_put:
#!/usr/bin/ksh
# Karl Pearson
# This version written for AIX but should work on other platforms
if [ "$6" = '' -o "$5" = '' -o "$4" = '' -o "$3" = '' -o "$2" = '' -o "$1"
= '' ] ; then
echo
echo Usage: ftp_put RemoteHOST USERName PASSWord LocalPATH RemotePATH
FileNAME echo
exit 0
fi
# Reassign variable names
HOST=$1
USERNM=$2
PASSWD=$3
LPATH=$4
RPATH=$5
FNAME=$6
# execute command
ftp -n $HOST 2>/dev/null <<- EOCMDS
user $USERNM $PASSWD
lcd $LPATH
cd $RPATH
put $FNAME
EOCMDS
>> Harold Hallikainen wrote:
>>> I'm trying to have ftp send a file to another machine in a shell script
>>> called by cron. After Googling around, reading various man pages, etc.,
>>> it looks like I've gotten the script to log in properly by setting up
>>> stuff in .netrc , but I'm still having trouble sending the cd and put
>>> commands into ftp from the script. Can anyone give me some clues? This
>>> is running on an RH8 machine.
>>
>> Have a look at the "ncftpput" and "ncftpget" commands. They are
>> FTP client programs specifically written to be used in batch or shell
>> scripts. "man ncftpput" and "man ncftpget" for details.
>> ----------------------------------------------------------------------
>> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
>> - VitalStream, Inc. http://www.vitalstream.com -
>> - -
>> - First Law of Work: -
>> - If you can't get it done in the first 24 hours, work nights. -
>> ----------------------------------------------------------------------
------------------------------
Message: 14
Date: Tue, 14 Dec 2004 22:15:00 +0000
From: tariq samsudeen <tariq samsudeen gmail com>
Subject: DNS & WEBSERVER
To: redhat-install-list redhat com
Message-ID: <75db1b3b04121414155d18ea79 mail gmail com>
Content-Type: text/plain; charset=US-ASCII
hi gurus,
i have few doubts, first let me explain my configuration:
# im doing everything on a single machine.
# my domain name is tariq.com (i set the domain name using domainname
command, my domain name is reset everytime i restart the computer, hw
do i make it persistent)
# my host name is ns1 (i set using hostname ns1)...even this get reset
after restart....i hv added it even in hosts file. hw do i mke it
persistent
my host file
127.0.0.1 ns1 localhost.localdomain localhost
# i hv configured dns which is wrking fine...
my named.conf file is
zone "tariq.com" {
type master;
notify no;
allow-query { any; };
file "tariq.com.zone";
};
my zone file luks like...
@ IN SOA ns1.tariq.com. hostmaster.tariq.com.
now i cud access the default website in mozilla using
http://ns1.tariq.com....wht changes shud i mke to access the default
website using www.tariq.com or someother name.....
thanking u in anticipation,
tariq
------------------------------
Message: 15
Date: Tue, 14 Dec 2004 16:26:10 -0600
From: Bob McClure Jr <robertmcclure earthlink net>
Subject: Re: DNS & WEBSERVER
To: redhat-install-list redhat com
Message-ID: <20041214222610 GA11466 bobcat bobcatos com>
Content-Type: text/plain; charset=us-ascii
On Tue, Dec 14, 2004 at 10:15:00PM +0000, tariq samsudeen wrote:
> hi gurus,
> i have few doubts, first let me explain my configuration:
>
> # im doing everything on a single machine.
> # my domain name is tariq.com (i set the domain name using domainname
> command, my domain name is reset everytime i restart the computer, hw
> do i make it persistent)
> # my host name is ns1 (i set using hostname ns1)...even this get reset
> after restart....i hv added it even in hosts file. hw do i mke it
> persistent
> my host file
> 127.0.0.1 ns1 localhost.localdomain localhost
> # i hv configured dns which is wrking fine...
> my named.conf file is
>
> zone "tariq.com" {
> type master;
> notify no;
> allow-query { any; };
> file "tariq.com.zone";
> };
>
> my zone file luks like...
> @ IN SOA ns1.tariq.com. hostmaster.tariq.com.
>
> now i cud access the default website in mozilla using
> http://ns1.tariq.com....wht changes shud i mke to access the default
> website using www.tariq.com or someother name.....
>
> thanking u in anticipation,
> tariq
Change it in /etc/sysconfig/network. Mine, for instance, looks like:
NETWORKING=yes
HOSTNAME="bobcat.bobcatos.com"
GATEWAY="192.168.2.1"
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure earthlink net http://www.bobcatos.com
Grace happens.
------------------------------
Message: 16
Date: Tue, 14 Dec 2004 16:15:05 -0800 (PST)
From: "Harold Hallikainen" <harold hallikainen com>
Subject: Re: ftp script?
To: "Getting started with Red Hat Linux"
<redhat-install-list redhat com>
Message-ID:
<24789 207 177 227 29 1103069705 squirrel kauko hallikainen org>
Content-Type: text/plain;charset=iso-8859-1
Thanks for the additional solution! I'll keep it on file.
Harold
>> IT WORKS!!!
>>
>> Thanks!
>>
>> Harold
>
> Good to listen to Rick. But what about when you are on a *nix system that
> doesn't have ncftp? In that case, you can roll your own, as I have in this
> version which actually works, in spite of the author:
>
> ~/bin/ftp_put:
>
> #!/usr/bin/ksh
> # Karl Pearson
> # This version written for AIX but should work on other platforms
> if [ "$6" = '' -o "$5" = '' -o "$4" = '' -o "$3" = '' -o "$2" = '' -o "$1"
> = '' ] ; then
> echo
> echo Usage: ftp_put RemoteHOST USERName PASSWord LocalPATH RemotePATH
> FileNAME echo
> exit 0
> fi
> # Reassign variable names
> HOST=$1
> USERNM=$2
> PASSWD=$3
> LPATH=$4
> RPATH=$5
> FNAME=$6
> # execute command
> ftp -n $HOST 2>/dev/null <<- EOCMDS
> user $USERNM $PASSWD
> lcd $LPATH
> cd $RPATH
> put $FNAME
> EOCMDS
>
>
>>> Harold Hallikainen wrote:
>>>> I'm trying to have ftp send a file to another machine in a shell
>>>> script
>>>> called by cron. After Googling around, reading various man pages,
>>>> etc.,
>>>> it looks like I've gotten the script to log in properly by setting up
>>>> stuff in .netrc , but I'm still having trouble sending the cd and put
>>>> commands into ftp from the script. Can anyone give me some clues? This
>>>> is running on an RH8 machine.
>>>
>>> Have a look at the "ncftpput" and "ncftpget" commands. They are
>>> FTP client programs specifically written to be used in batch or shell
>>> scripts. "man ncftpput" and "man ncftpget" for details.
>>> ----------------------------------------------------------------------
>>> - Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
>>> - VitalStream, Inc. http://www.vitalstream.com -
>>> - -
>>> - First Law of Work: -
>>> - If you can't get it done in the first 24 hours, work nights. -
>>> ----------------------------------------------------------------------
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list 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 redhat com
> Subject: unsubscribe
>
--
FCC Rules Updated Daily at http://www.hallikainen.com
------------------------------
Message: 17
Date: Tue, 14 Dec 2004 16:55:29 -0800
From: Rick Stevens <rstevens vitalstream com>
Subject: Re: ftp script?
To: Getting started with Red Hat Linux
<redhat-install-list redhat com>
Message-ID: <41BF8B81 2090301 vitalstream com>
Content-Type: text/plain; charset=us-ascii; format=flowed
karlp ourldsfamily com wrote:
>>IT WORKS!!!
>>
>>Thanks!
>>
>>Harold
>
>
> Good to listen to Rick. But what about when you are on a *nix system that
> doesn't have ncftp? In that case, you can roll your own, as I have in this
> version which actually works, in spite of the author:
>
> ~/bin/ftp_put:
>
> #!/usr/bin/ksh
> # Karl Pearson
> # This version written for AIX but should work on other platforms
> if [ "$6" = '' -o "$5" = '' -o "$4" = '' -o "$3" = '' -o "$2" = '' -o "$1"
> = '' ] ; then
> echo
> echo Usage: ftp_put RemoteHOST USERName PASSWord LocalPATH RemotePATH
> FileNAME echo
> exit 0
> fi
> # Reassign variable names
> HOST=$1
> USERNM=$2
> PASSWD=$3
> LPATH=$4
> RPATH=$5
> FNAME=$6
> # execute command
> ftp -n $HOST 2>/dev/null <<- EOCMDS
> user $USERNM $PASSWD
> lcd $LPATH
> cd $RPATH
> put $FNAME
> EOCMDS
Perfectly valid, Karl. The only problem with it is it won't handle
errors and it only handles one file at a time. In a pinch, it'll
sure work and is pretty darned elegant at that.
ncftp* is open source and will build on near anything with a C
compiler on it--including Winblows. Another option is to use perl
(perl has FTP support).
>>>Harold Hallikainen wrote:
>>>
>>>>I'm trying to have ftp send a file to another machine in a shell script
>>>>called by cron. After Googling around, reading various man pages, etc.,
>>>>it looks like I've gotten the script to log in properly by setting up
>>>>stuff in .netrc , but I'm still having trouble sending the cd and put
>>>>commands into ftp from the script. Can anyone give me some clues? This
>>>>is running on an RH8 machine.
>>>
>>>Have a look at the "ncftpput" and "ncftpget" commands. They are
>>>FTP client programs specifically written to be used in batch or shell
>>>scripts. "man ncftpput" and "man ncftpget" for details.
>>>----------------------------------------------------------------------
>>>- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
>>>- VitalStream, Inc. http://www.vitalstream.com -
>>>- -
>>>- First Law of Work: -
>>>- If you can't get it done in the first 24 hours, work nights. -
>>>----------------------------------------------------------------------
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list 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 redhat com
> Subject: unsubscribe
>
--
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens vitalstream com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Linux is like a wigwam...no windows, no gates...and apache inside! -
----------------------------------------------------------------------
------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://www.redhat.com/mailman/listinfo/redhat-install-list
End of Redhat-install-list Digest, Vol 10, Issue 15
***************************************************
--- End Message ---