[CentOS] [Help] About Participate in CentOS - knoweldge sharing.

2008-11-27 Thread wu yaling
Dear friend, We are conducting a study on the motivation of the knowledge sharing on the CentOS community. The contributors’ experience to Linux is very important to the design and management of this knowledge platform. Would you please post the following on-line questionnaire message to the Ce

Re: [CentOS] enable repo download and save but no install

2008-11-27 Thread Ralph Angenendt
Jerry Geis wrote: > Is there a way to enable a repo, and ask it to download a package and > all dependencies and save these files to a given directory then some > time later execute a command to install those files that were saved. > > Is that possible? Yes. "yum deplist vlc" shows you all depen

Re: [CentOS] Centos 5.2 install problem

2008-11-27 Thread Michael Kress
nate wrote: >> Hi, I'm trying a fresh install on a x86_64 (Supermicro X7dbe, 2xIntel >> Xeon X5450, 8 GB, 3WARE 9650SE-8LPML, 3 disks in RAID 5). >> The format takes quite long (2,7 TB), that seems to be normal, but then >> the first boot will not take place, instead the system loops. Any hints? >

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Pasi Kärkkäinen
On Tue, Nov 25, 2008 at 06:43:14PM +, Ned Slider wrote: > Brett Serkez wrote: > >On Tue, Nov 25, 2008 at 10:45 AM, Vandaman <[EMAIL PROTECTED]> > >wrote: > >>Do people have wet underwear for nothing over XEN? > >> > >>See http://www.redhat.com/promo/qumranet/ > >> > >>As far as CentOS is conce

[CentOS] CentOS-announce Digest, Vol 45, Issue 16

2008-11-27 Thread centos-announce-request
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reac

[CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Rudi Ahlers
Hi all, I see one of our switches doesn't want to respond to HTTPS or SSH commands, and I know it's connected to a server via a serial cable. I'm 3 hours drive from that server at the moment, so how can I connect to it from the Linux server, via SSH? -- Kind Regards Rudi Ahlers

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Mogens Kjaer
Rudi Ahlers wrote: > Hi all, > > I see one of our switches doesn't want to respond to HTTPS or SSH > commands, and I know it's connected to a server via a serial cable. > I'm 3 hours drive from that server at the moment, so how can I connect > to it from the Linux server, via SSH? > What kind of

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Michael Simpson
On 11/27/08, Rudi Ahlers <[EMAIL PROTECTED]> wrote: > Hi all, > > I see one of our switches doesn't want to respond to HTTPS or SSH > commands, and I know it's connected to a server via a serial cable. > I'm 3 hours drive from that server at the moment, so how can I connect > to it from the Linux s

[CentOS] rsync to mirrors failing

2008-11-27 Thread Robert Moskowitz
I try: rsync -auv rsync://mirrors.kernel.org/centos/5.2/updates/i386/ . And get rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8] And then, if I keep trying, eventually rsync 'works' and I get my up

RE: [CentOS] disk space issues...any help is greatly appreciated

2008-11-27 Thread Sorin Srbu
Ray Leventhal <> scribbled on Wednesday, November 26, 2008 4:20 PM: > It was a nearly-full install and I do connect periodically to do > updates. I did a yum clean all before writing to the list, with no > significant change to the disk usage. > > I will list packages next and see what can be re

[CentOS] Yum weirdness

2008-11-27 Thread Sorin Srbu
Hi all, Running CentOS 5.2 x86. Tried to do a yum update on the command line a while ago and an error stating "No module named yum" popped up. I then tried importing the yum module by first entering "python" in a terminal window and then "import yum", for which I was rewarded with a "ImportErr

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Pasi Kärkkäinen
On Wed, Nov 26, 2008 at 12:49:16PM +0100, Kai Schaetzl wrote: > Karanbir Singh wrote on Wed, 26 Nov 2008 10:49:20 +: > > > Fedora10 does have DomU support for Xen, dom0 > > support wasent ready in time, > > what exactly does that mean? That you can run Fedora as a pv guest in > other distro

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Guy Boisvert
Rudi Ahlers wrote: Hi all, I see one of our switches doesn't want to respond to HTTPS or SSH commands, and I know it's connected to a server via a serial cable. I'm 3 hours drive from that server at the moment, so how can I connect to it from the Linux server, via SSH? Hi Rudi, First

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Pasi Kärkkäinen
On Wed, Nov 26, 2008 at 02:20:31PM -0500, Ross Walker wrote: > On Wed, Nov 26, 2008 at 1:01 PM, nate <[EMAIL PROTECTED]> wrote: > > Joseph L. Casale wrote: > > > >> ESXi, like all vmware products, is highly polished and very reliable. > >> I am a HUGE fan of Xen, spent a lot of time learning it and

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Guy Boisvert
Rudi Ahlers wrote: Hi all, I see one of our switches doesn't want to respond to HTTPS or SSH commands, and I know it's connected to a server via a serial cable. I'm 3 hours drive from that server at the moment, so how can I connect to it from the Linux server, via SSH? As a complement of info

Re: [CentOS] rsync to mirrors failing

2008-11-27 Thread Ignacio Vazquez-Abrams
On Thu, 2008-11-27 at 08:13 -0500, Robert Moskowitz wrote: > I try: > > rsync -auv rsync://mirrors.kernel.org/centos/5.2/updates/i386/ . > > And get > > rsync: read error: Connection reset by peer (104) > rsync error: error in rsync protocol data stream (code 12) at io.c(614) > [receiver=2.

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Karanbir Singh
Les, Les Mikesell wrote: Do you mean some specific version of VMware or what as being locked in? I move images around among Linux/Windows/Mac hosts with the free server on Linux/Windows and Fusion on the Mac. you might want to step back a bit and workout exactly what constitutes a vmware e

RE: [CentOS] Solved: Yum weirdness

2008-11-27 Thread Sorin Srbu
Sorin Srbu <> scribbled on Thursday, November 27, 2008 2:37 PM: > Tried to do a yum update on the command line a while ago and an error > stating "No module named yum" popped up. For archival purposes: Solved the problem by realising I had by mistake deployed a new /etc/bashrc-file to all RHEL-m

Re: [CentOS] Centos 5.2 install problem (SOLVED)

2008-11-27 Thread Michael Kress
Hi, Michael Kress wrote: >> Try again using a volume that is less than 2TB in size and see >> if it makes a difference? >> > > Just found in the 3ware manual: > "Even though the Linux 2.6 kernel supports partitions larger than 2 TB, > the installers for SuSE and Redhat do not. Turn auto-carvi

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Les Mikesell
Morten Torstensen wrote: Adam Tauno Williams wrote: It does not run on LINUX, but it is free. And comes with every single ESXi install. Once you install ESXi the VI-client is downloadable directly from that host; just point your browser at the VMware host. Well, but why do you assume people

Re: [CentOS] Stop the FUD Xen is not deprecated

2008-11-27 Thread Les Mikesell
Karanbir Singh wrote: Les, Les Mikesell wrote: Do you mean some specific version of VMware or what as being locked in? I move images around among Linux/Windows/Mac hosts with the free server on Linux/Windows and Fusion on the Mac. you might want to step back a bit and workout exactly what

[CentOS] OT: Testing copytruncate

2008-11-27 Thread Gerhardus.Geldenhuis
Hi I am trying to simulate the behaviour when a file gets copy-truncated or any other option selected in logrotate. As a start, I have written a quick script to create values in a file at high rate. #!/usr/bin/perl open FILE, ">testdata" or die $!; for (my $i = 1; $i <= 1000; $i++){ print

Re: [CentOS] rsync to mirrors failing

2008-11-27 Thread John R Pierce
Robert Moskowitz wrote: I try: rsync -auv rsync://mirrors.kernel.org/centos/5.2/updates/i386/ . And get rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8] And then, if I keep trying, eventually rsyn

Re: [CentOS] rsync to mirrors failing

2008-11-27 Thread Robert Moskowitz
John R Pierce wrote: Robert Moskowitz wrote: I try: rsync -auv rsync://mirrors.kernel.org/centos/5.2/updates/i386/ . And get rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8] And then, if I keep t

[CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Erick Perez
Hi, i need to extract some information from the /etc/passwd file to be used as a command input in a mail software. My /etc/passwd looks like: k.thomas:x:1918:100:Kimaura Thomas:/home/users/k.thomas:/bin/usersh My main issue here is that the fifth field contains spaces and spanish chars with accent.

Re: [CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Robert
Erick Perez wrote: Hi, i need to extract some information from the /etc/passwd file to be used as a command input in a mail software. My /etc/passwd looks like: k.thomas:x:1918:100:Kimaura Thomas:/home/users/k.thomas:/bin/usersh My main issue here is that the fifth field contains spaces and spa

Re: [CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Stephen Harris
On Thu, Nov 27, 2008 at 01:56:11PM -0500, Erick Perez wrote: > So far, cut returns the name up to the space, so in this case it will > return Kimaura and not Kimaura Thomas. No, it doesn't. > # for linia in `cat /etc/passwd` This is your mistake. Think about it for linia in `cat /etc/passwd`

Re: [CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Erick Perez
>> > > You should be able to do this easily with awk. Look at the -F option for > defining fields. The follow command line will pluck field 1 and field 5 > from your example. > $ echo "k.thomas:x:1918:100:Kimaura Thomas:/home/users/k.thomas:/bin/usersh" > | awk -F : '{ print $1", "$5 }' > Or, in

Re: [CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Rainer Duffner
Am 27.11.2008 um 21:35 schrieb Erick Perez: thanks Robert, If i do what you said for linia in `cat /etc/passwd` do user=echo $linea | awk -F : '{ print $1 }' nombre=echo $linea | awk -F : '{ print $5 }' echo "the name is $nombre" echo "zmprov ma [EMAIL PROTECTED] displayName $n

Re: [CentOS] rsync to mirrors failing

2008-11-27 Thread John R Pierce
Robert Moskowitz wrote: John R Pierce wrote: Robert Moskowitz wrote: rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8] I periodically get this, I chalk it up to rsync not recovering very well from lost

Re: [CentOS] OT: bash script for passwd and shadow manipulation

2008-11-27 Thread Erick Perez
On Thu, Nov 27, 2008 at 2:37 PM, Stephen Harris <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 01:56:11PM -0500, Erick Perez wrote: >> So far, cut returns the name up to the space, so in this case it will >> return Kimaura and not Kimaura Thomas. > > No, it doesn't. > >> # for linia in `cat /

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Rudi Ahlers
On Thu, Nov 27, 2008 at 2:53 PM, Guy Boisvert <[EMAIL PROTECTED]> wrote: > Rudi Ahlers wrote: >> >> Hi all, >> >> I see one of our switches doesn't want to respond to HTTPS or SSH >> commands, and I know it's connected to a server via a serial cable. >> I'm 3 hours drive from that server at the mom

Re: [CentOS] how to connect to a switch with a serial cable? - what command(s) to use?

2008-11-27 Thread Filipe Brandenburger
Use: screen /dev/ttyS0 When you're done, to kill your session, press Ctrl-A then K (uppercase) and answer 'y'. HTH, Filipe On 2008-11-27, Rudi Ahlers <[EMAIL PROTECTED]> wrote: > On Thu, Nov 27, 2008 at 2:53 PM, Guy Boisvert <[EMAIL PROTECTED]> > wrote: >> Rudi Ahlers wrote: >>> >>> Hi all, >>

Re: [CentOS] Centos 5.2 install problem

2008-11-27 Thread Daisuke Tonoki
Michael Kress さんは書きました: > nate wrote: >>> Hi, I'm trying a fresh install on a x86_64 (Supermicro X7dbe, 2xIntel >>> Xeon X5450, 8 GB, 3WARE 9650SE-8LPML, 3 disks in RAID 5). >>> The format takes quite long (2,7 TB), that seems to be normal, but then >>> the first boot will not take place, instead t

Re: [CentOS] Centos 5.2 install problem

2008-11-27 Thread Daisuke Tonoki
> if use CentOS 5.0 try this way. > 1.make 20GB partition at 3ware. > 2.make 2680GB partition at 3ware. > 3.install CentOS 5.2 on 20GB partition, ignore 2680GB partition. sorry 3.install CentOS 5.0 on 20GB partition, ignore 2680GB partition. > tonoki > __

Re: [CentOS] Looking for a method to keep at least 5% CPU

2008-11-27 Thread Ryan J M
On Thu, Nov 27, 2008 at 1:08 PM, Christopher Chan <[EMAIL PROTECTED]> wrote: > > I agree here. I do remember not being able to log in when i/o is completely > swamped though. Maybe the problem is not so much 100% cpu usage but disk > i/o. The box might be thrashing swap. Oh, I missed that, we do u

[CentOS] Neighbour table overflow

2008-11-27 Thread Thomas Dukes
Just started getting this. I tried the following by adding it to my etc/sysctl.conf: net.ipv4.neigh.default.gc_thresh1 = 4096 net.ipv4.neigh.default.gc_thresh2 = 8192 net.ipv4.neigh.default.gc_thresh3 = 8192 net.ipv4.neigh.default.base_reachable_time = 86400 net.ipv4.neigh.default.gc_stale_time =

Re: [CentOS] Neighbour table overflow

2008-11-27 Thread chloe K
what is your netmask? Thomas Dukes <[EMAIL PROTECTED]> wrote: Just started getting this. I tried the following by adding it to my etc/sysctl.conf: net.ipv4.neigh.default.gc_thresh1 = 4096 net.ipv4.neigh.default.gc_thresh2 = 8192 net.ipv4.neigh.default.gc_thresh3 = 8192 net.ipv4.neigh.default.ba

RE: [CentOS] Neighbour table overflow

2008-11-27 Thread Thomas Dukes
_ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chloe K Sent: Thursday, November 27, 2008 9:10 PM To: CentOS mailing list Subject: Re: [CentOS] Neighbour table overflow what is your netmask? eth0 = 255.255.240.0 eth1 = 255.255.255.0 lo = 255.0.0.0 These don't loo

Re: [CentOS] Neighbour table overflow

2008-11-27 Thread Robert Moskowitz
Thomas Dukes wrote: *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *chloe K *Sent:* Thursday, November 27, 2008 9:10 PM *To:* CentOS mailing list *Subject:* Re: [CentOS] Neighbour table overflow what is your netmask? eth0 = 255.255.240.0 That is 4096 addresses (256*1

[CentOS] How to delay failed ssh auth

2008-11-27 Thread Veiko Kukk
Hi! I need to delay failed ssh password authentication as an additional measure against brute force ssh attacks. I understand, that shoud be accomplished through pam, but googling gave me no example. I have CentOS 5.2. -- Veiko Kukk ___ CentOS mail

[CentOS] Can't adjust the brightness under CentOS 5.2

2008-11-27 Thread Thomas Iverson
Hi all , i just found a problem that i can't get my display brightness adjusted in CentOS 5.2 My laptop is HP 3742TU (the graphic card is INTEL X3100) and my DE is KDE , anyhelp ? thx -- Keep It Simple Stupid Thomas X. Iverson ___ CentOS mailing list C

Re: [CentOS] How to delay failed ssh auth

2008-11-27 Thread Daisuke Tonoki
> Hi! > > I need to delay failed ssh password authentication as an additional > measure against brute force ssh attacks. I understand, that shoud be > accomplished through pam, but googling gave me no example. I have CentOS > 5.2. Hi I think you can use iptables and ipt_recent for this case. Pls

Re: [CentOS] How to delay failed ssh auth

2008-11-27 Thread John R Pierce
Veiko Kukk wrote: Hi! I need to delay failed ssh password authentication as an additional measure against brute force ssh attacks. I understand, that shoud be accomplished through pam, but googling gave me no example. I have CentOS 5.2. I think I'd set MaxAuthTries to 2 in /etc/ssh/sshd_con