Re: [CentOS] Scripting help please....

2009-10-29 Thread John Doe
From: John Doe > A quick and dirty example (only prints the extra duplicate lines; not the > original duplicate): > awk -F: ' { v[$3]=v[$3]+1; if (v[$3]>1) print $0; } ' datafile Here's the version will the 1st duplicate included: awk -F: ' { v[$3]=v[$3]+1; if (v[$3] == 1) { f[$3]=$0; } else { i

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Vinicius Coque
Yes it works, but using fqdn as destination, iptables can take too long time to resolve the address. Using nslookup is a better solution, I think. Vinícius Coque On Wed, Oct 28, 2009 at 6:44 PM, Marcus Moeller wrote: > Hi all, > > does it work to define iptables rules with a fqdn as destination

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Karanbir Singh
On 10/29/2009 10:29 AM, Vinicius Coque wrote: >> does it work to define iptables rules with a fqdn as destination >> instead of an IP address? Or is it useful to resolve the name first >> using e.g. nslookup, writing the result to a variable which is then >> used within the -d statement? I guess t

Re: [CentOS] vnc for non-root

2009-10-29 Thread ken
On 10/28/2009 06:35 AM John Doe wrote: > From: ken >> At work I've been asked to set up vnc for a remote user (a vendor >> sysadmin to install 3d party software we've purchased). Of course I'm a >> bit skittish about allowing root access to this. Is there a way to >> configure vnc so that root c

[CentOS] ata errors from dmesg

2009-10-29 Thread Jerry Geis
dmesg is reporting ata1: translated ATA stat/err 0x51/10 to SCSI SK/ASC/ASCQ 0xb/14/00 ata1: status=0x51 { DriveReady SeekComplete Error } ata1: error=0x10 { SectorIdNotFound } My HD disk is on /dev/sda1 so I presume this is errors from the CDROM. Is there a command I can use to not do anything

Re: [CentOS] vnc for non-root

2009-10-29 Thread ken
On 10/28/2009 09:04 AM Neil Aggarwal wrote: > Ken: > > You can set the machine up to use VNC for the > console. > > Then, give the person a normal login which they will > use to login to the machine from the console interface. > Basically, it will be just like they are sitting at > the machine

Re: [CentOS] sudoers file

2009-10-29 Thread Ross Walker
On Oct 29, 2009, at 1:35 AM, vijay shanker wrote: > Thanks guys, > > I have done my changes in the sudoers file. > > what i did is ; added a group with same access as root. > > how i am able to use sudo. but there is a problem. > > my machine is responding very slow for the sudo. It takes almost

[CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread gene . poole
It's my understanding that CentOS is a carbon copy of Red Hat - with the exception of the art work. Assuming that this is true, the support matrix for VMware Server 2.0.1 states Red Hat 5.1. I cannot seem to locate a CentOS 5.1 x86-64 copy. I can get a copy of 5.3 and 5.4. If I take this rou

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Max Hetrick
gene.po...@macys.com wrote: > It's my understanding that CentOS is a carbon copy of Red Hat - with the > exception of the art work. Assuming that this is true, the support > matrix for VMware Server 2.0.1 states Red Hat 5.1. I cannot seem to > locate a CentOS 5.1 x86-64 copy. I can get a copy

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Brian Mathis
On Thu, Oct 29, 2009 at 9:29 AM, wrote: > It's my understanding that CentOS is a carbon copy of Red Hat - with the > exception of the art work. Assuming that this is true, the support matrix > for VMware Server 2.0.1 states Red Hat 5.1.  I cannot seem to locate a > CentOS 5.1 x86-64 copy.  I can

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Max Hetrick
Brian Mathis wrote: > I am running VMware Server 2.0.1 on CentOS 5.2 and 5.3 with no > problems. Search this mailing list for info on 5.4, as I think there > was a small issue that needed to be worked around. I believe this was the issue: http://communities.vmware.com/thread/229957 Regards, Ma

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Les Mikesell
Max Hetrick wrote: > gene.po...@macys.com wrote: >> It's my understanding that CentOS is a carbon copy of Red Hat - with the >> exception of the art work. Assuming that this is true, the support >> matrix for VMware Server 2.0.1 states Red Hat 5.1. I cannot seem to >> locate a CentOS 5.1 x86-64

[CentOS] Switching keyboard language (was: Re: Locales and filenames)

2009-10-29 Thread ken
On 10/28/2009 09:10 AM Alfred von Campe wrote: > On Oct 27, 2009, at 19:28, ken wrote: > >> E.g., create a file with vi with just one German/Greek/French word, >> say, >> Έντελέχεια (Entylecheia, an ancient Greek word). If the >> name of the >> file is "nonenglish", then, after you do your sa

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Max Hetrick
Les Mikesell wrote: > That's actually pretty strange because the glibc update in 5.4 will break > VMware > Server 2.0.1. Have you rebooted or restarted vmware since the update? if > you > haven't, don't until you look up the fix... Yeah, I've rebooted my instances. My one instance is my lap

[CentOS] problem with 5.4 x86_64 DVD iso?

2009-10-29 Thread Greenseid, Joseph M (IS)
Hi all, I downloaded the 5.4 x86_64 DVD ISO this morning (CentOS-5.4-x86_64-bin-DVD.iso). However, the md5sum and sha1sums both don't match what's in the md5sum.txt or the release notes (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4). I downloaded two ISOs from two different mirrors

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Akemi Yagi
On Thu, Oct 29, 2009 at 7:01 AM, Max Hetrick wrote: > Les Mikesell wrote: > >> That's actually pretty strange because the glibc update in 5.4 will break >> VMware >> Server 2.0.1.  Have you rebooted or restarted vmware since the update?  if >> you >> haven't, don't until you look up the fix... >

Re: [CentOS] Missing package

2009-10-29 Thread Anne Wilson
On Wednesday 28 October 2009 23:42:30 ken wrote: > On 10/28/2009 08:39 AM Anne Wilson wrote: > > The big update caused one of the rare re-starts on my mail server, so I > > saw the startup messages that I had forgotten about. > > > > Oct 28 10:50:04 borg2 python: [3424]: warning: python-dbus not in

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Ryan Lynch
KB is correct--IPTables performs a DNS lookup when it processes the rule. It doesn't slow down to run a DNS lookup for every packet it sees. There are some practical risks to using hostnames, if you're not expecting them, though. If you lose DNS services during startup, your boot will hang for a w

Re: [CentOS] vnc for non-root

2009-10-29 Thread Neil Aggarwal
Ken: > Is it possible to make the ssh connection > connecting to a linux box from a windows machine. I use cygwin ssh to connect CentOS servers from my windows laptop. Neil -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contra

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Les Mikesell
Max Hetrick wrote: > Les Mikesell wrote: > >> That's actually pretty strange because the glibc update in 5.4 will break >> VMware >> Server 2.0.1. Have you rebooted or restarted vmware since the update? if >> you >> haven't, don't until you look up the fix... > > Yeah, I've rebooted my inst

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Ryan Lynch
On Thu, Oct 29, 2009 at 10:58, Ryan Lynch wrote: > KB is correct--IPTables performs a DNS lookup when it processes the > rule. It doesn't slow down to run a DNS lookup for every packet it > sees. > > There are some practical risks to using hostnames, if you're not > expecting them, though. If you

Re: [CentOS] sudoers file

2009-10-29 Thread vijay shanker
No Ross, This is the irony; i am working on the same machine. There is no network in between Regards, Vijay Shanker Dubey Ph: +91-9818311884 On Thu, Oct 29, 2009 at 6:40 PM, Ross Walker wrote: > On Oct 29, 2009, at 1:35 AM, vijay shanker wrote: > > > Thanks guys, > > > > I have done my change

Re: [CentOS] vnc for non-root

2009-10-29 Thread Les Mikesell
Neil Aggarwal wrote: > Ken: > >> Is it possible to make the ssh connection >> connecting to a linux box from a windows machine. > > I use cygwin ssh to connect CentOS servers from my windows > laptop. Or you could do it with putty. But, if you need more than occasional remote GUI access you sh

Re: [CentOS] sudoers file

2009-10-29 Thread Frank . Brodbeck
vijay shanker schrieb am 29.10.2009 16:24:54: > No Ross, > This is the irony; i am working on the same machine. There is no > network in between Install strace, then run sudo via strace and look which syscall is causing the hangs. As always the manpage is your friend. As a sidenote: I don't kn

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Max Hetrick
Les Mikesell wrote: > No, I have it on an x86 box and had to use the workaround here: > http://communities.vmware.com/message/1364852 > /lib/libc-2.5.so is actually still available after the upgrade so you > don't have to copy it from another system - it just isn't the target of > the libc.so.6

Re: [CentOS] problem with 5.4 x86_64 DVD iso?

2009-10-29 Thread John Doe
From: "Greenseid, Joseph M (IS)" >I downloaded the 5.4 x86_64 DVD ISO this morning >(CentOS-5.4-x86_64-bin-DVD.iso). However, the md5sum and sha1sums both don't >match what's in the md5sum.txt or the release notes >(http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4). I downloaded two >IS

[CentOS] Infrastructure HELP!

2009-10-29 Thread ML
Hi Everyone, I started a social networking site and I am getting ready to go live next week. I have limited fund as I am not funded yet (although hopefully soon). I have an extra Mac Pro (I know, how can I possibly call a Mac Pro dual 2.8 quad core with 16gb RAM extra). So Mac Pro quad Core

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread John R Pierce
gene.po...@macys.com wrote: > It's my understanding that CentOS is a carbon copy of Red Hat - with > the exception of the art work. Assuming that this is true, the support > matrix for VMware Server 2.0.1 states Red Hat 5.1. I cannot seem to > locate a CentOS 5.1 x86-64 copy. I can get a copy

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
If you want speed, use RAID 10. Neil -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime > -Original Message- > From: ce

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread ML
Neil, Can you explain how RAID 10 would work with 4 x 1tb drives? Should I just get 2 x 2tb drives and mirror? I probably dont need 4 x 1tb drives to start, maybe even 2 x 2tb. I can't image this growing faster than I can get money to add more equipment, move to Co-Lo, etc. On Oct 29, 2009,

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Ben Mohilef
> However, other than this issue which may be fixed in 2.0.2 (I still > had a problem but haven't spent much time investigating), the > combination works fine. The upgrade to VMware Server 2.0.2 on 5.4 has not gone well for me. The XP shutdown command hangs. XP Task Manager then shows nothing r

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
RAID 10 is striping across mirrored drives. So, if you have 4 x 1TB drives, think of it as two separate 1 TB volumes. The system will write half your data to volume A and the other half to volume B. The data in volume A and B do not overlap. Now, each volume is composed of a mirrored set of dri

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Curt Mills
On Thu, 29 Oct 2009, ML wrote: > My question is about initial setup. The 4 x 1TB drives. How to set > this up for I have some protection? > > RAID 0+1? (striped + mirrored) I would end up with 2TB useable space. > > RAID 5? so what one is a hot spare? 3TB useable space? > > What about striping the

Re: [CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

2009-10-29 Thread Dave
The consensus of the list seemed to be that I should change the PEERDNS variable. It seems not to be working. The machine rebooted yesterday, /etc/resolv.conf got rewritten again. And yet: find /etc/sysconfig/ -type f -exec grep -iH 'peerdns=' {} \; /etc/sysconfig/network-scripts/ifcfg-eth0:PEERD

Re: [CentOS] vnc for non-root

2009-10-29 Thread ken
On 10/29/2009 11:29 AM Les Mikesell wrote: > Neil Aggarwal wrote: >> Ken: >> >>> Is it possible to make the ssh connection >>> connecting to a linux box from a windows machine. >> I use cygwin ssh to connect CentOS servers from my windows >> laptop. > > Or you could do it with putty. But, if you

Re: [CentOS] problem with 5.4 x86_64 DVD iso?

2009-10-29 Thread Greenseid, Joseph M (IS)
Turned out to be a download problem, not a mirror problem. --Joe From: centos-boun...@centos.org on behalf of Greenseid, Joseph M (IS) Sent: Thu 10/29/2009 10:46 AM To: CentOS Mailing List Subject: [CentOS] problem with 5.4 x86_64 DVD iso? Hi all, I download

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Corey Chandler
Curt Mills wrote: > On Thu, 29 Oct 2009, ML wrote: > > >> My question is about initial setup. The 4 x 1TB drives. How to set >> this up for I have some protection? >> >> RAID 0+1? (striped + mirrored) I would end up with 2TB useable space. >> >> RAID 5? so what one is a hot spare? 3TB useable sp

[CentOS] printers... (HP)

2009-10-29 Thread m . roth
I can't remember if I asked here - I've got more than one printer, HP, laser, builtin JetDirect. When I go there in a browser, I see the basic thing, but I can't get to the networking page. It says that it wants a password, no user name. It doesn't accept anything. Last week, a co-worker reset one

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread ML
On Oct 29, 2009, at 11:11 AM, Neil Aggarwal wrote: > RAID 10 is striping across mirrored drives. > > So, if you have 4 x 1TB drives, think of it as two separate > 1 TB volumes. The system will write half your data to > volume A and the other half to volume B. The data in volume > A and B do not

[CentOS] Benefits of VMWare 2.0 over 1.x?

2009-10-29 Thread MHR
I've been running VMWare Server 1.x for some time now, currently on 1.08, and I've been pretty satisfied with it. I was wondering if any of you fellow VMWare users are seeing any significant benefit to moving to the 2.0 release. I'm running CentOS 5.4 with Linux 2.6.18-164.el5 #1 SMP x86_64 on an

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Rainer Duffner
ML schrieb: > Hi Everyone, > > I want to be sure the data is protected, but machine resources and > money are limited. > Why don't you rent a VPS for the time being and rsync the file+data to your MacPro, where you can use TimeMachine to create further backups? Rainer

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
> Would 2 x 1TB enterprise drives be enough mirrored? Are you going to to software RAID1 or hardware? I find software RAID1 bogs down for intensive database applications. NOTE: Host based RAID is the same as software RAID. You will need an actual external RAID card like one from Areca.

Re: [CentOS] Benefits of VMWare 2.0 over 1.x?

2009-10-29 Thread nate
MHR wrote: > I've been running VMWare Server 1.x for some time now, currently on > 1.08, and I've been pretty satisfied with it. > > I was wondering if any of you fellow VMWare users are seeing any > significant benefit to moving to the 2.0 release. > > I'm running CentOS 5.4 with Linux 2.6.18-164.

Re: [CentOS] printers... (HP)

2009-10-29 Thread Anne Wilson
On Thursday 29 October 2009 18:35:56 m.r...@5-cent.us wrote: > I can't remember if I asked here - I've got more than one printer, HP, > laser, builtin JetDirect. When I go there in a browser, I see the basic > thing, but I can't get to the networking page. It says that it wants a > password, no use

Re: [CentOS] Benefits of VMWare 2.0 over 1.x?

2009-10-29 Thread Jim Wildman
On Thu, 29 Oct 2009, nate wrote: > MHR wrote: >> I've been running VMWare Server 1.x for some time now, currently on >> 1.08, and I've been pretty satisfied with it. >> >> I was wondering if any of you fellow VMWare users are seeing any >> significant benefit to moving to the 2.0 release. >> >> I'

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread ML
>> Would 2 x 1TB enterprise drives be enough mirrored? > > Are you going to to software RAID1 or hardware? > > I find software RAID1 bogs down for intensive database > applications. If I can find a cheap enough RAID Card that wil fit the Mac Pro, I would do hardware RAID, but Apple wants $699 f

Re: [CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

2009-10-29 Thread Meenoo Shivdasani
> /etc/sysconfig/network-scripts/ifup-eth:    BOOTPROTO=bootp > So, it's not PEERDNS, not DHCP, not NetworkManager. Why is dhclient-script > even being run? BOOTPROTO=bootp is triggering it. In /etc/sysconfig/network-scripts/ifup-eth: if [ "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ];

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Ryan Wagoner
If you want performance stick with RAID 10. In general the more drives (spindles) the faster the array. The Western Digital RE3 500 GB drives are a good deal. You should be able to get 4 of those in the low $200s. In RAID 10 this would give you better performance than 2 x 1TB in RAID 1. Ryan On T

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
> If I can find a cheap enough RAID Card that wil fit the Mac Pro, I > would do hardware RAID, but Apple wants $699 for theirs... $699 is pretty steep, but RAID cards are not cheap. They are worth it for performance though. If you don't need absolute performance, software RAID will work. Giv

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Ray Van Dolson
On Thu, Oct 29, 2009 at 02:07:22PM -0500, Neil Aggarwal wrote: > > If I can find a cheap enough RAID Card that wil fit the Mac Pro, I > > would do hardware RAID, but Apple wants $699 for theirs... > > $699 is pretty steep, but RAID cards are not cheap. > They are worth it for performance though.

Re: [CentOS] VMware Server 2.0.1 On CentOS 5

2009-10-29 Thread Les Mikesell
John R Pierce wrote: >> It's my understanding that CentOS is a carbon copy of Red Hat - with >> the exception of the art work. Assuming that this is true, the support >> matrix for VMware Server 2.0.1 states Red Hat 5.1. I cannot seem to >> locate a CentOS 5.1 x86-64 copy. I can get a copy of

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread ML
Ryan, > If you want performance stick with RAID 10. In general the more drives > (spindles) the faster the array. The Western Digital RE3 500 GB drives > are a good deal. You should be able to get 4 of those in the low > $200s. In RAID 10 this would give you better performance than 2 x 1TB > in RA

Re: [CentOS] Benefits of VMWare 2.0 over 1.x?

2009-10-29 Thread Les Mikesell
MHR wrote: > I've been running VMWare Server 1.x for some time now, currently on > 1.08, and I've been pretty satisfied with it. > > I was wondering if any of you fellow VMWare users are seeing any > significant benefit to moving to the 2.0 release. I haven't tried doing anything new or different

Re: [CentOS] printers... (HP)

2009-10-29 Thread Robert
m.r...@5-cent.us wrote: > I can't remember if I asked here - I've got more than one printer, HP, > laser, builtin JetDirect. When I go there in a browser, I see the basic > thing, but I can't get to the networking page. It says that it wants a > password, no user name. It doesn't accept anything.

[CentOS] combining iptables parameters

2009-10-29 Thread James B. Byrne
Message-ID: On: Wed, 28 Oct 2009 20:32:14 +0100, Marcus Moeller wrote: > Hi all, > > is there a way to combine iptables parameters like: iptables > -A OUTPUT -p UDP & -p TCP -d $IP1 & -d $IP2 ? man iptables ... -p, --protocol [!] protocol The protocol of the rule or of

Re: [CentOS] combining iptables parameters

2009-10-29 Thread Marcus Moeller
Dear James. >> is there a way to combine iptables parameters like: iptables >> -A OUTPUT -p UDP & -p TCP -d $IP1 & -d $IP2 ? I should have better written something like: -A OUTPUT -p UDP OR -p TCP -d $IP1 OR -d $IP2 as that's what I was looking for. Sorry. Best Regards Marcus _

[CentOS] CentOS 5.4: yum-priorities seems to be MIA

2009-10-29 Thread Boris Epstein
Hi all, I just installed 5.4 on a machine here... All seems running fine, except I decided to put on the extra repositories - and as usual I decided to install yum-priorities (as directed here: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge ) but it seems like this package is now

Re: [CentOS] resolv.conf rewritten every reboot. How to figure out who and why?

2009-10-29 Thread Dave
On Thu, Oct 29, 2009 at 9:00 AM, Meenoo Shivdasani wrote: > > > BOOTPROTO=bootp is triggering it. > I'm confused. I just rebooted another machine with 'BOOTPROTO=bootp' in /etc/sysconfig/network-scripts/ifup-eth, it did not rewrite /etc/resolv.conf. Okay, my goof, the one with the problem is act

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread John R Pierce
> Is software RAID 10 decent performance? > depends on the workload. committed random writes are greatly accelerated by battery backed write caches on real raid controllers.this greatly speeds up things like transactional databases. if your workload is mostly read, software raid perfor

Re: [CentOS] CentOS 5.4: yum-priorities seems to be MIA

2009-10-29 Thread Akemi Yagi
On Thu, Oct 29, 2009 at 1:00 PM, Boris Epstein wrote: > Hi all, > > I just installed 5.4 on a machine here... All seems running fine, > except I decided to put on the extra repositories - and as usual I > decided to install yum-priorities (as directed here: > http://wiki.centos.org/AdditionalResou

Re: [CentOS] Not able to FTP since 5.4

2009-10-29 Thread Bob Hoffman
> From: Barry Brimer [mailto:li...@brimer.org] > Sent: Wednesday, October 28, 2009 11:33 PM > To: CentOS mailing list > Subject: Re: [CentOS] Not able to FTP since 5.4 > > > I do not use ftp much lately, but my bro did and noticed we > cannot ftp > > to the server since the upgrade. > > > >

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
> Is software RAID 10 decent performance? Given that you are just starting out, go with SW raid10. When your usage grows, plan to move to hardware raid or a hosted solution. Neil -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract,

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Matt
> $700, eesh.  You can get some nice Areca cards for much less than that. What is the cheapest SATA hardware raid card I can get at newegg.com? Seems like most turn out not to be true hardware raid that I have found and will not run on CentOS 4.8 without a great deal of grief. Matt __

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
Matt: Everyone I know recommends Areca cards. Neil -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime > -Original Message- > F

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Curt Mills
On Thu, 29 Oct 2009, Matt wrote: > What is the cheapest SATA hardware raid card I can get at newegg.com? > Seems like most turn out not to be true hardware raid that I have > found and will not run on CentOS 4.8 without a great deal of grief. Not a direct answer to your question, but be careful o

Re: [CentOS] printers... (HP)

2009-10-29 Thread m . roth
someone wrote: > m.r...@5-cent.us wrote: >> I can't remember if I asked here - I've got more than one printer, HP, >> laser, builtin JetDirect. When I go there in a browser, I see the basic >> thing, but I can't get to the networking page. It says that it wants a >> password, no user name. It doesn

Re: [CentOS] CentOS 5.4: yum-priorities seems to be MIA

2009-10-29 Thread Boris Epstein
On Thu, Oct 29, 2009 at 4:07 PM, Akemi Yagi wrote: > On Thu, Oct 29, 2009 at 1:00 PM, Boris Epstein wrote: >> Hi all, >> >> I just installed 5.4 on a machine here... All seems running fine, >> except I decided to put on the extra repositories - and as usual I >> decided to install yum-priorities

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Clint Dilks
Curt Mills wrote: > On Thu, 29 Oct 2009, Matt wrote: > > >> What is the cheapest SATA hardware raid card I can get at newegg.com? >> Seems like most turn out not to be true hardware raid that I have >> found and will not run on CentOS 4.8 without a great deal of grief. >> > > Not a direct

Re: [CentOS] combining iptables parameters

2009-10-29 Thread Robert Spangler
On Wednesday 28 October 2009 16:36, Marcus Moeller wrote: > Dear Ryan. > > >> is there a way to combine iptables parameters like: iptables -A OUTPUT > >> -p UDP & -p TCP -d $IP1 & -d $IP2 ? > > > > Each of those parameters is called a "match", in IPTables-speak. You > > can specify multiple

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Neil Aggarwal
> Not a direct answer to your question, but be careful of SATA drives. Seagate does make enterprise SATA drives. -- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo

Re: [CentOS] grub problems

2009-10-29 Thread Robert Spangler
On Wednesday 28 October 2009 15:47, m.r...@5-cent.us wrote: > This is irritating: I've got a server I just upgraded to 5.4, then > rebooted, only to discover that it just *sits* there at the grub boot > menu. I looked at grub.conf, and uncommented hiddenmenu (which should have > been done long

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Craig White
On Fri, 2009-10-30 at 09:57 +1300, Clint Dilks wrote: > > Curt Mills wrote: > > On Thu, 29 Oct 2009, Matt wrote: > > > > > >> What is the cheapest SATA hardware raid card I can get at newegg.com? > >> Seems like most turn out not to be true hardware raid that I have > >> found and will not run

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Rainer Duffner
Am 29.10.2009 um 21:50 schrieb Curt Mills: > On Thu, 29 Oct 2009, Matt wrote: > >> What is the cheapest SATA hardware raid card I can get at newegg.com? >> Seems like most turn out not to be true hardware raid that I have >> found and will not run on CentOS 4.8 without a great deal of grief. > >

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Robert Spangler
On Wednesday 28 October 2009 16:44, Marcus Moeller wrote: > does it work to define iptables rules with a fqdn as destination > instead of an IP address? Or is it useful to resolve the name first > using e.g. nslookup, writing the result to a variable which is then > used within the -d statemen

Re: [CentOS] printers... (HP)

2009-10-29 Thread Robert
m.r...@5-cent.us wrote: > someone wrote: > >> m.r...@5-cent.us wrote: >> >>> I can't remember if I asked here - I've got more than one printer, HP, >>> laser, builtin JetDirect. When I go there in a browser, I see the basic >>> thing, but I can't get to the networking page. It says that i

Re: [CentOS] Upgrading Centos 5.3 -> 5.4

2009-10-29 Thread Rohan Gilchrist
Thanks for your help Bart. I had to download the device-mapper RPMs and manually upgrade them first. Once I'd done that, the upgrade went fine. Bart Schaefer wrote: The mirrors that are being selected for you must not be fully up to date. I don't know why that would be the case, but from a n

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread John R Pierce
Craig White wrote: > there actually are server and consumer grade SATA drives and you should > be very careful about what you are buying. > an important consideration is error handling.cheap consumer SATA drives tend to delay error reporting as long as they physically can, doing many retri

Re: [CentOS] Infrastructure HELP!

2009-10-29 Thread Ryan Wagoner
Looks like the price has gone up with the economy starting to recover. I paid $68 per WD RE3 500GB drive on Amazon.com back in June. I would still recommend going with 4 drives in RAID 10 over 2 in RAID 1 or even 3 drives in RAID 5. You will get almost double the performance due to being able to s

Re: [CentOS] iptables -d fqdn instead of IP

2009-10-29 Thread Ryan Lynch
On Thu, Oct 29, 2009 at 17:12, Robert Spangler wrote: > On Wednesday 28 October 2009 16:44, Marcus Moeller wrote: > >>  does it work to define iptables rules with a fqdn as destination >>  instead of an IP address? Or is it useful to resolve the name first >>  using e.g. nslookup, writing the resu

Re: [CentOS] combining iptables parameters

2009-10-29 Thread Ryan Lynch
On Thu, Oct 29, 2009 at 16:57, Robert Spangler wrote: > Even simpler; > > iptables -A OUTPUT -d $IP1 -j DROP > iptables -A OUTPUT -d $IP2 -j DROP > > This will catch everything doesn't matter if its UDP or TCP or ICMP. I think you're missing the point of the original question: It's just an exampl

Re: [CentOS] question about mounting external USB HD

2009-10-29 Thread Ivan Arteaga
Ivan Arteaga wrote: > John R Pierce wrote: > >> Ivan Arteaga wrote: >> >> >>> Hello, >>> >>> I have a server running CentOS 4.7 and I want to add a new USB-HD for >>> backup some data. I made the file system as ext3 with the command: >>> / >>> mkfs -t ext3 /dev/sdb1/ >>> >>> After that

[CentOS] Default ACL question (EXECUTE BIT)

2009-10-29 Thread Jorge Fábregas
Hello everyone, I'm doing some tests with ACL's and even though I can create a "default" ACL for a directory (that includes "rwx" for the default owner), when I finally create a file wihin that directory the execute bit is chopped off: [...@machine ~]$ mkdir mydir [...@machine ~]$ setfacl -d -m

Re: [CentOS] Default ACL question (EXECUTE BIT)

2009-10-29 Thread nate
Jorge Fábregas wrote: > I don't think umask is involved here. As far as I know umask isn't > involved > when dealing with default ACL's. Anyhow, I'm pretty sure this is by design > (security-wise). Is there any way to override this behaviour? It's been eons since I played with acls, but I thoug