[CentOS] some notes on setting up vsftp on centos6

2012-02-01 Thread Bob Hoffman
I was not sure why vsftp (or any other ftp software) was installed as part of the webserver. some quick notes, hope it helps anyone else having an issue. So I yum installed it. I had a bear of a time. But I finally got it to work doing the following. I had to add ip_conntrack_ftp to my iptabl

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Peter Blajev
On Wed, Feb 1, 2012 at 7:13 PM, Stephen Harris wrote: > On Wed, Feb 01, 2012 at 07:03:33PM -0800, Peter Blajev wrote: > > On Wed, Feb 1, 2012 at 2:53 PM, Stephen Harris wrote: > > > > > On Wed, Feb 01, 2012 at 01:07:31PM -0800, Peter Blajev wrote: > > > > echo " server2 > > > > server2" | \ > >

Re: [CentOS] Yes another "I can't open port 53 for Bind DNS"

2012-02-01 Thread Gordon Messmer
On 02/01/2012 12:14 AM, Shane Bywater wrote: > I'm not using iptables (well I didn't configure any) > > [root@tribe log]# iptables --line-numbers -n -L > Chain INPUT (policy ACCEPT) > num target prot opt source destination > 1ACCEPT all -- 0.0.0.0/00.0.0.0/0

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Stephen Harris
On Wed, Feb 01, 2012 at 07:03:33PM -0800, Peter Blajev wrote: > On Wed, Feb 1, 2012 at 2:53 PM, Stephen Harris wrote: > > > On Wed, Feb 01, 2012 at 01:07:31PM -0800, Peter Blajev wrote: > > > echo " server2 > > > server2" | \ > > > while read confLine; do > > > echo "--> $confLine" > > >

Re: [CentOS] tftp in 6.2

2012-02-01 Thread Digimer
On 02/01/2012 09:59 PM, Joseph L. Casale wrote: > Seems to only write the first block, or with some clients only a zero length > file. > Perms are obviously not an issue if at least one block can be written? > Anyone know what might give? > > Thanks, > jlc I use tftp + pxe booting routinely on

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Peter Blajev
On Wed, Feb 1, 2012 at 2:53 PM, Stephen Harris wrote: > On Wed, Feb 01, 2012 at 01:07:31PM -0800, Peter Blajev wrote: > > echo " server2 > > server2" | \ > > while read confLine; do > > echo "--> $confLine" > > ssh peter@$confLine ls > > echo "--> END $confLine" > > done > > > The

[CentOS] tftp in 6.2

2012-02-01 Thread Joseph L. Casale
Seems to only write the first block, or with some clients only a zero length file. Perms are obviously not an issue if at least one block can be written? Anyone know what might give? Thanks, jlc ___ CentOS mailing list CentOS@centos.org http://lists.ce

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 6:43 PM, Tom H wrote: > On 02/02/12 00:26, Les Mikesell wrote: >> >> >> Is anyone looking at salt instead of puppet yet?  http://saltstack.org/ >> > > I had such a bad experience with puppet, that I ran like a jilted teenage > lover on a rebound into the arms of chef... > >

Re: [CentOS] Double Copies Double Copies [SOLVED] it's self

2012-02-01 Thread Mark LaPierre
On 01/31/2012 08:16 PM, Mark LaPierre wrote: > Hey Y'all, why am I getting double copies of every email on this list > today when it wasn't happening yesterday? Isn't happening on any of my > other email. > I didn't change anything since I wrote the last time. It's working fine now. Only one c

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Tom H
On 02/02/12 00:26, Les Mikesell wrote: > > Is anyone looking at salt instead of puppet yet? http://saltstack.org/ > I had such a bad experience with puppet, that I ran like a jilted teenage lover on a rebound into the arms of chef... unfortunately I may not have reviewed all the options (includ

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Tom H
On 02/02/12 00:04, Kwan Lowe wrote: > > Next was auditing, which I think may apply to your question. > > For the configurations, we are experimenting with cfengine and puppet. They > allow you to track configuration changes, reset changes, etc.. I've also > used CVS to track configuration files di

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 6:04 PM, Kwan Lowe wrote: > > For the basic package setup, Spacewalk or Satellite can track the versions > and allow you to lock the package set. There are also existing scripts that > wrap variations of an 'rpm -qVa' and send the reports back. Ocsinventory-ng will send a h

Re: [CentOS] Updating/Backing Up Server

2012-02-01 Thread Matt
>> I am slowly migrating the data etc off an old CentOS32 4.x server to a >> new CentOS64 5.x server.  The old server only has 15Gbyte of its hard >> drive in use.  Is there an easy/safe way to copy the entire contents >> of old server root directory to a directory on the new server for >> future r

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Kwan Lowe
On Wed, Feb 1, 2012 at 2:54 PM, Tom H wrote: > Hi CentOS experts,* > > Short Version* > > I would like to produce a weekly report in HTML for each CentOS 5.x > server we have indicating configuration compliance with some industry > benchmark. I am looking for a tool or tools to implement this, I

Re: [CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Ross Walker
On Feb 1, 2012, at 2:54 PM, Tom H wrote: > Hi CentOS experts,* > > Short Version* > > I would like to produce a weekly report in HTML for each CentOS 5.x > server we have indicating configuration compliance with some industry > benchmark. I am looking for a tool or tools to implement this, I

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Stephen Harris
On Wed, Feb 01, 2012 at 01:07:31PM -0800, Peter Blajev wrote: > echo " server2 > server2" | \ > while read confLine; do > echo "--> $confLine" > ssh peter@$confLine ls > echo "--> END $confLine" > done > The "for" loop in the script above will run twice but the "while" loop > below

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 3:46 PM, Alexander Dalloz wrote: > > That has simply nothing to do with SSH. Compare following: > > echo "foo bar" | while read LINE; do echo $LINE; done > > and > > echo -e "foo\nbar" | while read $LINE; do echo $LINE; done No, (a) that read $LINE should be read LINE and (

Re: [CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Alexander Dalloz
Am 01.02.2012 22:07, schrieb Peter Blajev: > I have two CentOS5 systems server1 and server2. There is user peter on > server1 who can ssh to server2 using public ssh keys and no password is > needed. > > What I noticed is that running remote ssh commands in bash script breaks > while loops. > > =

Re: [CentOS] ip route and nexthop: the "CentOS" way

2012-02-01 Thread Steve Clark
On 02/01/2012 04:06 PM, Les Mikesell wrote: > On Wed, Feb 1, 2012 at 1:35 PM, Steve Clark wrote: >>> I'm wanting to configure a CentOS 6 server to have a fall-back default >>> route via >>> a second network interface. >>> >>> Given: >>> >>>- eth0 with 192.168.0.10 on subnet 192.168.0.0/24 gat

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 2:58 PM, Alan McKay wrote: > On Wed, Feb 1, 2012 at 11:32 AM, Les Mikesell wrote: > >> 'Deploying' amanda is a matter of installing the rpm and editing a >> couple of config files about the tape drive, tapes, targets, and >> holding space.  And maybe some firewall tweaking

[CentOS] Bash scripting - Remotely ran commands break while loop

2012-02-01 Thread Peter Blajev
I have two CentOS5 systems server1 and server2. There is user peter on server1 who can ssh to server2 using public ssh keys and no password is needed. What I noticed is that running remote ssh commands in bash script breaks while loops. == #!/bin/sh for i in server2 server2; do echo "-->

Re: [CentOS] ip route and nexthop: the "CentOS" way

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 1:35 PM, Steve Clark wrote: > >> I'm wanting to configure a CentOS 6 server to have a fall-back default route >> via >> a second network interface. >> >> Given: >> >>   - eth0 with 192.168.0.10 on subnet 192.168.0.0/24 gateway 192.168.0.1 >>   - eth1 with 192.168.1.10 on su

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Lamar Owen
On Wednesday, February 01, 2012 04:00:06 PM Alan McKay wrote: > The GZIP environment variable is working really well. It tells me the > compression ratio and even send it to STDERR for me so I can easily > separate that from the gtar output. Cool. That's useful information. _

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
On Wed, Feb 1, 2012 at 2:10 PM, Lamar Owen wrote: > What I would do is use the '-' special filename to pipe the uncompressed > tar to stdout, pipe to the compressor of choice, then pipe to tee, and have > one branch of the tee go to the tape and the other branch go to a program > to count bytes.

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
On Wed, Feb 1, 2012 at 11:32 AM, Les Mikesell wrote: > 'Deploying' amanda is a matter of installing the rpm and editing a > couple of config files about the tape drive, tapes, targets, and > holding space. And maybe some firewall tweaking - but nothing really > complicated. You get a lot of co

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 1:10 PM, Lamar Owen wrote: > On Wednesday, February 01, 2012 09:18:08 AM Alan McKay wrote: >> The basic problem is that I know how much data is there to begin with but I >> don't know how much room it took up on the tape so I have no idea how much >> room is left on the tape

Re: [CentOS] mod_rails under Apache under Ceontos 6

2012-02-01 Thread Boris Epstein
> > > > I think you will find this a good resource: > > http://blog.phusion.nl/2011/01/04/phusion-passenger-native-packages-for-redhatfedoracentos/ > http://passenger.stealthymonkeys.com/ > > -- > Mikael > ___ > Mikael, This looks very useful indeed, th

Re: [CentOS] Updating/Backing Up Server

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 12:50 PM, Matt wrote: > I am slowly migrating the data etc off an old CentOS32 4.x server to a > new CentOS64 5.x server.  The old server only has 15Gbyte of its hard > drive in use.  Is there an easy/safe way to copy the entire contents > of old server root directory to a d

[CentOS] Configuration Compliance auditing for many CentOS 5.x boxes

2012-02-01 Thread Tom H
Hi CentOS experts,* Short Version* I would like to produce a weekly report in HTML for each CentOS 5.x server we have indicating configuration compliance with some industry benchmark. I am looking for a tool or tools to implement this, I am happy to use 3rd party proprietary stuff if necessary

Re: [CentOS] ip route and nexthop: the "CentOS" way

2012-02-01 Thread Steve Clark
On 02/01/2012 02:03 PM, Nick wrote: > Hi, > > I'm wanting to configure a CentOS 6 server to have a fall-back default route > via > a second network interface. > > Given: > > - eth0 with 192.168.0.10 on subnet 192.168.0.0/24 gateway 192.168.0.1 > - eth1 with 192.168.1.10 on subnet 192.168.1.0/2

Re: [CentOS] Updating/Backing Up Server

2012-02-01 Thread Ken godee
> Matt wrote: > >> I am slowly migrating the data etc off an old CentOS32 4.x server to a >> new CentOS64 5.x server. The old server only has 15Gbyte of its hard >> drive in use. Is there an easy/safe way to copy the entire contents >> of old server root directory to a directory on the new server

Re: [CentOS] Updating/Backing Up Server

2012-02-01 Thread Frank Cox
On Wed, 1 Feb 2012 12:50:00 -0600 Matt wrote: > I am slowly migrating the data etc off an old CentOS32 4.x server to a > new CentOS64 5.x server. The old server only has 15Gbyte of its hard > drive in use. Is there an easy/safe way to copy the entire contents > of old server root directory to a

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Lamar Owen
On Wednesday, February 01, 2012 09:18:08 AM Alan McKay wrote: > The basic problem is that I know how much data is there to begin with but I > don't know how much room it took up on the tape so I have no idea how much > room is left on the tape. What I would do is use the '-' special filename to pi

[CentOS] ip route and nexthop: the "CentOS" way

2012-02-01 Thread Nick
Hi, I'm wanting to configure a CentOS 6 server to have a fall-back default route via a second network interface. Given: - eth0 with 192.168.0.10 on subnet 192.168.0.0/24 gateway 192.168.0.1 - eth1 with 192.168.1.10 on subnet 192.168.1.0/24 gateway 192.168.1.1 Where eth0's network is a "back d

[CentOS] Updating/Backing Up Server

2012-02-01 Thread Matt
I am slowly migrating the data etc off an old CentOS32 4.x server to a new CentOS64 5.x server. The old server only has 15Gbyte of its hard drive in use. Is there an easy/safe way to copy the entire contents of old server root directory to a directory on the new server for future reference? Most

[CentOS] CentOS 6.2 Autofs stopped working

2012-02-01 Thread Reed, Ed
Seems that autofs in 6.2 stopped working like it used to. We use NIS and automount maps. Primary map auto.sf ssdt-fstype=autofs,rw auto_ssdt auto.ssdt map scratch-fstype=nfs,hard,intr gold:/vol/ssdt/scratch So finding a path such as /sf/ssdt/scratch has always worked and con

[CentOS] CentOS-announce Digest, Vol 84, Issue 1

2012-02-01 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org 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 centos-announce-requ..

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 10:47 AM, John Doe wrote: > >> 'Deploying' amanda is a matter of installing the rpm and editing a >> couple of config files about the tape drive, tapes, targets, and >> holding space.  And maybe some firewall tweaking - but nothing really >> complicated.   You get a lot of c

Re: [CentOS] gtar compression achieved

2012-02-01 Thread John Doe
From: Les Mikesell > 'Deploying' amanda is a matter of installing the rpm and editing a > couple of config files about the tape drive, tapes, targets, and > holding space.  And maybe some firewall tweaking - but nothing really > complicated.  You get a lot of coverage of 'real-world' problems >

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 10:22 AM, Alan McKay wrote: >> >> I haven't used it for a while, but I thought it had an indexing >> mechanism that would let you tell it what you want and it would tell >> you the tapes you need and the order to restore them (for full + >> incremental cases).  And it could

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
> > I haven't used it for a while, but I thought it had an indexing > mechanism that would let you tell it what you want and it would tell > you the tapes you need and the order to restore them (for full + > incremental cases). And it could re-index the tapes if you lost the > disk copy. Maybe t

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 10:10 AM, Alan McKay wrote: >> >> Is there some reason you aren't using amanda?  Give it some holding >> disk space and it will run multiple backups at once, buffering on >> disk, and figure out how they should go on the tape for you. >> > > > I'm archiving, not backing up.

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
> > Is there some reason you aren't using amanda? Give it some holding > disk space and it will run multiple backups at once, buffering on > disk, and figure out how they should go on the tape for you. > I'm archiving, not backing up. I looked at Amanda for a few days and it would be really clu

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 9:59 AM, Alan McKay wrote: >> >> There is a --totals option, but that is before compression.  I don't >> think there is a way to do it. >> > > Dang.  THere is a "tell" command on "mt" which tells you what block number > you are on, but according to the man page only exists f

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
> > There is a --totals option, but that is before compression. I don't > think there is a way to do it. > Dang. THere is a "tell" command on "mt" which tells you what block number you are on, but according to the man page only exists for some types of drive. And evidently not mine :-( That wo

Re: [CentOS] gtar compression achieved

2012-02-01 Thread Les Mikesell
On Wed, Feb 1, 2012 at 8:18 AM, Alan McKay wrote: > Hey folks, > > I looked at the man page and don't see any way to do this - maybe it is a > function of the compression program used I dunno. > > Is there any way to get gtar to report on the compression it achieved? > > I can't just check file si

Re: [CentOS] squirrelmail for 6.2

2012-02-01 Thread Giles Coochey
On 2012-02-01 14:40, Alain Péan wrote: > Le 01/02/2012 15:24, Giles Coochey a écrit : Hello list. >> I have install centos-release-6-2.el6.centos.7.x86_64 and I cant >> find >> squirrelmail. >> Does any know why? >>> > >>> > Check epel repo. >>> > >>> > squirrel

Re: [CentOS] squirrelmail for 6.2

2012-02-01 Thread Alain Péan
Le 01/02/2012 15:24, Giles Coochey a écrit : >>> Hello list. >>> >> I have install centos-release-6-2.el6.centos.7.x86_64 and I cant >>> >> find >>> >> squirrelmail. >>> >> Does any know why? >> > >> > Check epel repo. >> > >> > squirrelmail-1.4.22-2.el6.noarch : webmail client written in php

Re: [CentOS] squirrelmail for 6.2

2012-02-01 Thread Giles Coochey
On 2012-02-01 13:21, B.J. McClure wrote: > On Wed, 2012-02-01 at 15:09 +0200, Nikos Gatsis - Qbit wrote: > >> Hello list. >> I have install centos-release-6-2.el6.centos.7.x86_64 and I cant >> find >> squirrelmail. >> Does any know why? > > Check epel repo. > > squirrelmail-1.4.22-2.el6.noarch : w

[CentOS] gtar compression achieved

2012-02-01 Thread Alan McKay
Hey folks, I looked at the man page and don't see any way to do this - maybe it is a function of the compression program used I dunno. Is there any way to get gtar to report on the compression it achieved? I can't just check file sizes because I'm writing data to tape. The basic problem is that

Re: [CentOS] squirrelmail for 6.2

2012-02-01 Thread B.J. McClure
On Wed, 2012-02-01 at 15:09 +0200, Nikos Gatsis - Qbit wrote: > Hello list. > I have install centos-release-6-2.el6.centos.7.x86_64 and I cant find > squirrelmail. > Does any know why? Check epel repo. squirrelmail-1.4.22-2.el6.noarch : webmail client written in php Regards, B.J. CentOS relea

[CentOS] apache 2.2.22 on CentOS 5...

2012-02-01 Thread John Doe
Hi, while the brand new apache 2.2.22 compiles fine on CentOS 6, it fails on CentOS 5 unless you tell him to use its internal apr lib...I saw in the 2.2.22 release notes: "This release includes the Apache Portable Runtime (APR) version 1.4.5 and APR Utility Library (APR-util) version 1.4.2, b

[CentOS] squirrelmail for 6.2

2012-02-01 Thread Nikos Gatsis - Qbit
Hello list. I have install centos-release-6-2.el6.centos.7.x86_64 and I cant find squirrelmail. Does any know why? -- *Γατσής Νίκος - Gatsis Nikos* Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: ngat...@q

Re: [CentOS] Yes another "I can't open port 53 for Bind DNS"

2012-02-01 Thread Dennis Jacobfeuerborn
On 02/01/2012 10:01 AM, Ken Smith wrote: > Shane Bywater wrote: >> Hi, >> It's just past 3am and for the past 6 hours I've been >> configuring a secondary name server to replace one that just crashed. >> My problem appears to be that port 53 is not open for some reason on my >> server e

Re: [CentOS] timeconfig

2012-02-01 Thread Marc Deop
On Tuesday 31 January 2012 14:08:20 Roberto Alvarado wrote: > cp -f /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime > And you have to do that every time you update the glibc package. Any better way to configure time properly? Regards ___ CentOS mailin

[CentOS] first steps in selinux: cron.daily and postfix

2012-02-01 Thread Helmut Drodofsky
Hello, my CentOS 6.2 server sends the daily messages correct e.g. today at Feb 1 03:31:14 At the beginning of work hours (9:00 am local time): Feb 1 10:06:17 server postfix/sendmail[27125]: fatal: chdir /var/spool/postfix: Permission denied Solution: restorecon -R /var/spool/postfix/ After

Re: [CentOS] GUI login issues over NFS

2012-02-01 Thread Tru Huynh
On Tue, Jan 31, 2012 at 03:10:15PM -0500, Michael Weiner wrote: > On Fri, Jan 27, 2012 at 9:28 AM, Tru Huynh wrote: > > no other idea for the moment. > > Tru - > > I think i *MAY* have this figured out. When you do 'ibrix_fs -i' is > compatibility set to no? If so, are you a 64-bit client only s

Re: [CentOS] Double Copies Double Copies

2012-02-01 Thread Ljubomir Ljubojevic
On 02/01/2012 02:16 AM, Mark LaPierre wrote: > Hey Y'all, why am I getting double copies of every email on this list > today when it wasn't happening yesterday? Isn't happening on any of my > other email. > I still get only one mail, as it should be. Maybe your server-client connection is gettin

Re: [CentOS] mod_rails under Apache under Ceontos 6

2012-02-01 Thread Mikael Fridh
On Mon, Jan 30, 2012 at 7:00 PM, Craig White wrote: > > On Jan 30, 2012, at 10:12 AM, Boris Epstein wrote: > >> Hello listmates, >> >> For some reason we don't seem to be able to launch a Ruby-on-rails >> application ( http://www.redmine.org/ ) on a CentOS 6 machine under Apache. >> Nor can I find

Re: [CentOS] Yes another "I can't open port 53 for Bind DNS"

2012-02-01 Thread Ken Smith
Ken Smith wrote: > Shane Bywater wrote: > >> Hi, >> It's just past 3am and for the past 6 hours I've been >> >> > > iptables -I INPUT 4 -p udp --dport 53 -m state --state > NEW,ESTABLISHED,RELATED -j ACCEPT > > iptables -I INPUT 4 -p tcp --dport 53 -m state --state > NEW,ESTAB

Re: [CentOS] Yes another "I can't open port 53 for Bind DNS"

2012-02-01 Thread Ken Smith
Shane Bywater wrote: > Hi, >It's just past 3am and for the past 6 hours I've been > configuring a secondary name server to replace one that just crashed. > My problem appears to be that port 53 is not open for some reason on my > server even though I have this: > > [root@tribe etc]# net

[CentOS] Yes another "I can't open port 53 for Bind DNS"

2012-02-01 Thread Shane Bywater
Hi, It's just past 3am and for the past 6 hours I've been configuring a secondary name server to replace one that just crashed. My problem appears to be that port 53 is not open for some reason on my server even though I have this: [root@tribe etc]# netstat -an | grep ":53 " tcp