[CentOS] OT: looking for network performance comparison chart

2010-10-21 Thread Rudi Ahlers
Hi all,

Does anyone have, or know of a comparison chart of the different
network adapters, i.e. 1GB  / 10GB, Infiniband, etc. And if possible
with a few top brand NIC's and switches listed as well.

I would like to see, for example, what the max throughput is of a 1GB
NIC (and this could probably differ from PCI to PCIE-x1 to PCIE-x4),
and 10GBE. Different switches would probably also have different
ratings, but could a layer 2 switch & layer3 switch deliver the same
performance for example?

Basically I need to know what upload / download speeds I should be
getting from the different networks, set aside other options like CPU
/ RAM / disc IO / etc.

I have tried google already, but didn't get anything useful.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] black display during installation of CentOS5.5

2010-10-21 Thread Ritika Garg
I havent't tried nofb. If I write "linux nofb" at boot:, then will the
innstallation take place in text mode or graphical mode?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread James A. Peltier
- Original Message -
| For what its worth, every time that I've tried kerberized NFS with
| RHEL,
| I've run into issues unless I was running the latest version of
| mount-utils, which I _think_ included rpc.gssd and rpc.svcgssd.
| 
| My memory may be failing, and I'll look later, but my recollection is
| that it was very sensitive to those.
| 
| (apologies for top-posting)
| 
| On 10/21/2010 01:34 PM, James A. Peltier wrote:
| > - Original Message -
| > | I have a problem that is driving me crazy. Our nfs server is
| > | running
| > | Solaris. Most clients mount directories from it with no problems,
| 
| --
| -- John E. Jasen (jja...@realityfailure.org)
| -- "Deserve Victory." -- Terry Goodkind, Naked Empire
| ___
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos

nfs-utils is also a package of issue.

-- 
--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN : subatomic_s...@hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread John Jasen

For what its worth, every time that I've tried kerberized NFS with RHEL,
I've run into issues unless I was running the latest version of
mount-utils, which I _think_ included rpc.gssd and rpc.svcgssd.

My memory may be failing, and I'll look later, but my recollection is
that it was very sensitive to those.

(apologies for top-posting)

On 10/21/2010 01:34 PM, James A. Peltier wrote:
> - Original Message -
> | I have a problem that is driving me crazy. Our nfs server is running
> | Solaris. Most clients mount directories from it with no problems,

-- 
-- John E. Jasen (jja...@realityfailure.org)
-- "Deserve Victory." -- Terry Goodkind, Naked Empire
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network interface up but no data

2010-10-21 Thread Nat N
On Thu, Oct 21, 2010 at 9:52 PM, Nat N  wrote:
> Hi List,
>
> I am running a x86_64 Centos server, after a reboot the network has decided to
> not work.. this particular machine has 8 eth ports eth0-7. eth0 and eth3 were
> bonded (mode 1 ) after reboot the bond did not work. It came up OK but no
> data was passing through it. all other interfaces on the machine were working.
>
> I decided to remove the bond, so after removing the bond i was left with eth0
> using the same IP as the bond used. however it still does the same thing,
> it starts up with no errors but i cannot even ping the default gateway,
> tcpdump shows nothing on the interface.
>
> I have made sure of the following
> * no iptables installed
> * kernel modules for the NIC are loaded with no errors
> * the bond kernel module is not installed / all bond configs have been removed
>
> Below is some info on the interface, it should be noted that all others are OK
> the only 2 that were having the issue are eth0 and eth3 (the ex-bonded ones)
>
> server1:/etc/sysconfig/network-scripts# ip route  | grep 172.18
> 172.18.16.0/24 dev eth0  proto kernel  scope link  src 172.18.16.1
> default via 172.18.16.254 dev eth0
>
>
> # ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:24:49:C8:66:98
>          inet addr:172.18.16.1  Bcast:172.18.16.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:7223 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 b)  TX bytes:463918 (453.0 KiB)
>          Interrupt:226 Memory:dc00-dc012800
>
>
> If you look closely TX  and RX are massively different, but I am not
> seeing anything on tcpdump even there is a large number of TX packets.
>

Just some more information on this issue.

I have tried different kernels and the same issue is still occurring.

# ethtool eth0
 Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes

#mii-tool -v eth0
eth0: negotiated, link ok
  product info: vendor 00:08:18, model 54 rev 6
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control


I am still racking my brains on what is causing this
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Paul Heinlein
On Thu, 21 Oct 2010, John Kennedy wrote:

> Damn...I will get this right...Need more sleep...

> for i in `ls -d /opt/* | cut -d/ -f3` do
> cp /opt/${i}/test/ /backup/${i}
> done

Using ls in a for loop is rarely necessary.

   for i in /opt/*; do
 cp -a ${i}/test /backup/$(basename $i)
   done

More simply, just cd to /opt before globbing filenames:

   cd /opt
   for d in *; do
 cp -a ${i}/test /backup/${i}
   done

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Dotan Cohen
On Thu, Oct 21, 2010 at 19:52, Alfred von Campe  wrote:
> It's not a bug: /bin/vi is supplied by the vim-minimal package and 
> /usr/bin/vim is supplied by vim-ehnabced.  Just alias vi to vim and you 
> should be all set.
>

Rather than alias it, I'll just get used to typing vim on CentOS
installs. I don't like customising remote servers because I like
uniformity and I'm often enough at a different server.

I thought it was a bug because other distros "do it differently": they
come with the alias. Alas, different is not a bug!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Hakan Koseoglu
On 21 October 2010 19:45, Roland RoLaNd  wrote:
> i'm writing a certain script which does a specific task in a repetitive
> manner, i'm going to give a similar script with the same concept hope you
> could advise me to a better way:
Good old Advanced Bash Scripting Guide comes to help!

http://tldp.org/LDP/abs/html/loops.html
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] missing dependency for package

2010-10-21 Thread R P Herrold
On Thu, 21 Oct 2010, Ski Dawg wrote:

> from that repository, it is missing the dependency,
> perl-mime-construct, which I am not able to find packaged anywhere.

I see it in F 13 and RawHide, but it in turn needs: 
perl(Proc::WaitStat) [which was in RHL 6.2 ;) and is back in 
F13 ]; which in turn wants: perl(IPC::Signal)

I am in process relocating my FTP archive, and the management 
scripts that push interior content to the public archives are 
in a state of flux -- I have emailled a private piece to 'Ski 
Dawg' with a temporary URL he might use to get at the SRPMs 
for C5

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread m . roth
Roland RoLaNd wrote:
>
> i'm writing a certain script which does a specific task in a repetitive
> manner, i'm going to give a similar script with the same concept hope you
> could advise me to a better way:
>
> USER1="roland"
> USER2="dany"
> USER3="kevin"
>
> cp -r /opt/$USER1/test /backup/$USER1
> cp -r /opt/$USER2/test /backup/$USER2

Guy, if you're a real sysadmin, and not just doing this at home, you
*really* need to take a basic programming course. The first week or two
would have told you about what are called "control structures".

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen3.3 rpm for 32Bit?

2010-10-21 Thread Pasi Kärkkäinen
On Tue, Oct 19, 2010 at 06:06:58PM +0200, Dirk wrote:
>  Am 15.10.10 22:59, schrieb Pasi Kärkkäinen:
>> On Sat, Oct 09, 2010 at 02:15:30PM +0200, Dirk H. Schulz wrote:
>>>Hi folks,
>>>
>>> I would like to test Xen3.3 on CentOS 5.5 on an older machine which is
>>> not 64bit capable.
>>>
>>> Since this is just a "first impression" test I do not want to fuzz with
>>> compiling the kernels and tools myself (that comes in a later step).
>>>
>>> Can someone please point me to a repo with 32bit Xen3.3 kernels for
>>> CentOS 5? GITCO supplies 64bit kernels only, and googling brought up
>>> nothing else.
>>>
>>> Thanks for any hint or help.
>>>
>> Do you have a specific reason to use Xen 3.3?
>> The Xen heavily patched Xen 3.1.2 in el5 is pretty solid.


> EL5 still uses Xen 3.0.3, 3.1.2 is available in CentOS via centosplus  
> only, right? And there seem to be issues with 3.03 on 3.43 hypervisor.

No, that's wrong.

As a default RHEL5/CentOS5 ships with Xen *hypervisor* version 3.1.2 + a lot 
of patches from newer Xen versions and from Redhat.

userland Xen tools are based on 3.0.3 + patches.
You can easily verify the Xen hypervisor version by running "xm info" or "xm 
dmesg".

-- Pasi

>> Other than that.. grab the Xen 3.3 src.rpm and rebuild it for your 32bit box.
> The I lose all modifications of the RHEL/CentOS kernels. I would like to  
> rebuild the CentOS kernels with Xen 3.3 or 3.4, if possible.
>
> Dirk
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Tony Schreiner

On Oct 21, 2010, at 2:50 PM, Pintér Tibor wrote:

>
>> USER1="roland"
>> USER2="dany"
>> USER3="kevin"
>>
>>
>> cp -r /opt/$USER1/test /backup/$USER1
>> cp -r /opt/$USER2/test /backup/$USER2
>
> $ for user in one two three four; do echo $user; done
> one
> two
> three
> four
>

or if the list of users is in a file, one per line

$ cat file
roland
dany
kevin
$
$ cat file | while read name
do
 something $name
done

Tony

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread John Kennedy
Damn...I will get this right...Need more sleep...

for i in `ls -d /opt/* | cut -d/ -f3`
do
cp /opt/${i}/test/ /backup/${i}
done

I KNOW this one will work...If not, I quit!!!
John


On Thu, Oct 21, 2010 at 14:55, John Kennedy  wrote:

> Not quite right...
>
> for i in `ls -d /opt | cut -d/ -f2`
> do
> cp /opt/${i}/test/ /backup/${i}
> done
>
> Takes out the /opt/ from my first try...
> John
>
> On Thu, Oct 21, 2010 at 14:51, John Kennedy  wrote:
>
>> for i in `ls -d /opt`
>> do
>> cp /opt/${i}/test/ /backup/${i}
>> done
>>
>>
>> On Thu, Oct 21, 2010 at 14:45, Roland RoLaNd wrote:
>>
>>>  Dear all,
>>>
>>> i'm writing a certain script which does a specific task in a repetitive
>>> manner, i'm going to give a similar script with the same concept hope you
>>> could advise me to a better way:
>>>
>>>
>>> USER1="roland"
>>> USER2="dany"
>>> USER3="kevin"
>>>
>>>
>>> cp -r /opt/$USER1/test /backup/$USER1
>>> cp -r /opt/$USER2/test /backup/$USER2
>>>
>>>
>>> such a command would be repeated 832 times (this is just an example)
>>> so instead of copying the above line 832 times and appending that user's
>>> number in each "$USER"
>>>
>>> is there a way to do it in a  smarter way ?
>>>
>>>
>>> thanks,
>>>
>>> --Rolad
>>>
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>>
>>
>>
>> --
>>  John Kennedy
>>
>>
>
>
> --
>  John Kennedy
>
>


-- 
 John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XEN and RAID

2010-10-21 Thread Rudi Ahlers
On Thu, Oct 21, 2010 at 8:51 PM, Robert Spangler
 wrote:
> Hello,
>
> I am looking for good website with information on the above 2 items listed in
> the subject.  I have place some with RAID and believe I am picking that up
> but XEN is another story.  I have some free time coming and would really like
> to learn both and build my present machine into a VM with many hosts
> installed for testing/learning.  Any and all information/links you could
> forward onto me would be greatly appreciated.  Thnx
>
>
> --
>
> Regards
> Robert
>
> Linux
> The adventure of a life time.
>
> Linux User #296285
> Get Counted
> http://counter.li.org/
> ___


The XEN wiki is very resourceful :)

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread John Kennedy
Not quite right...

for i in `ls -d /opt | cut -d/ -f2`
do
cp /opt/${i}/test/ /backup/${i}
done

Takes out the /opt/ from my first try...
John

On Thu, Oct 21, 2010 at 14:51, John Kennedy  wrote:

> for i in `ls -d /opt`
> do
> cp /opt/${i}/test/ /backup/${i}
> done
>
>
> On Thu, Oct 21, 2010 at 14:45, Roland RoLaNd wrote:
>
>>  Dear all,
>>
>> i'm writing a certain script which does a specific task in a repetitive
>> manner, i'm going to give a similar script with the same concept hope you
>> could advise me to a better way:
>>
>>
>> USER1="roland"
>> USER2="dany"
>> USER3="kevin"
>>
>>
>> cp -r /opt/$USER1/test /backup/$USER1
>> cp -r /opt/$USER2/test /backup/$USER2
>>
>>
>> such a command would be repeated 832 times (this is just an example)
>> so instead of copying the above line 832 times and appending that user's
>> number in each "$USER"
>>
>> is there a way to do it in a  smarter way ?
>>
>>
>> thanks,
>>
>> --Rolad
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>
>
> --
>  John Kennedy
>
>


-- 
 John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread John Kennedy
for i in `ls -d /opt`
do
cp /opt/${i}/test/ /backup/${i}
done


On Thu, Oct 21, 2010 at 14:45, Roland RoLaNd wrote:

>  Dear all,
>
> i'm writing a certain script which does a specific task in a repetitive
> manner, i'm going to give a similar script with the same concept hope you
> could advise me to a better way:
>
>
> USER1="roland"
> USER2="dany"
> USER3="kevin"
>
>
> cp -r /opt/$USER1/test /backup/$USER1
> cp -r /opt/$USER2/test /backup/$USER2
>
>
> such a command would be repeated 832 times (this is just an example)
> so instead of copying the above line 832 times and appending that user's
> number in each "$USER"
>
> is there a way to do it in a  smarter way ?
>
>
> thanks,
>
> --Rolad
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


-- 
 John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] XEN and RAID

2010-10-21 Thread Robert Spangler
Hello,

I am looking for good website with information on the above 2 items listed in 
the subject.  I have place some with RAID and believe I am picking that up 
but XEN is another story.  I have some free time coming and would really like 
to learn both and build my present machine into a VM with many hosts 
installed for testing/learning.  Any and all information/links you could 
forward onto me would be greatly appreciated.  Thnx


-- 

Regards
Robert

Linux
The adventure of a life time.

Linux User #296285
Get Counted
http://counter.li.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Sean Hart

On 10/21/10 11:45 AM, Roland RoLaNd wrote:

Dear all,

i'm writing a certain script which does a specific task in a 
repetitive manner, i'm going to give a similar script with the same 
concept hope you could advise me to a better way:



Try "for"
http://www.cyberciti.biz/faq/bash-for-loop/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Pintér Tibor

> USER1="roland"
> USER2="dany"
> USER3="kevin"
> 
> 
> cp -r /opt/$USER1/test /backup/$USER1
> cp -r /opt/$USER2/test /backup/$USER2

$ for user in one two three four; do echo $user; done
one
two
three
four

t
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] missing dependency for package

2010-10-21 Thread Mark Pryor
Hello,

using cpan2rpm

http://www.tlviewer.org/centos/5/i386/repodata/repoview/perl-mime-construct-0-1.11-1.el5.html

--- On Thu, 10/21/10, Ski Dawg  wrote:

> From: Ski Dawg 
> Subject: [CentOS] missing dependency for package
> To: centos@centos.org
> Date: Thursday, October 21, 2010, 10:21 AM
> Hello everyone,
> 
> I know this isn't strictly CentOS query, but I am hoping
> that someone
> here with more experience than myself might have some
> thoughts.
> 
> I am trying to get a plugin working for Ganglia on a CentOS
> 5.5 box,
> in a testing environment. The plugin is for apache
> monitoring, called
> Ganglia-Logtailer. This plugin requires the executable
> /usr/bin/logtail in order to work. The only packages that
> have this
> executable, that I have been able to find, is part of the
> epel-testing
> repository in the logcheck package. When I try to install
> the package
> from that repository, it is missing the dependency,
> perl-mime-construct, which I am not able to find packaged
> anywhere.
> 
> It appears that the logcheck package includes several
> other
> executables that I do not need, and those other executables
> are what
> requires the perl-mime-construct package.
> 
> My question is, does anyone know of a source to get this
> package that
> would also include the necessary requirements? If not, any
> way that I
> can rebuild the source package, and remove the things that
> I do not
> need, and thus removing their dependencies? If I have to
> maintain my
> own package for this, I can, but I would prefer another
> option, if
> available. Any other way of getting this single executable
> that anyone
> can think of?
> 
> -- 
> Doug
> 
> Registered Linux User #285548 (http://counter.li.org)
> 
> Never trust a computer you can't throw out a window.
>    -- Steve Wozniak
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to do repetetive command in shell

2010-10-21 Thread Roland RoLaNd

Dear all,

i'm writing a certain script which does a specific task in a repetitive manner, 
i'm going to give a similar script with the same concept hope you could advise 
me to a better way:


USER1="roland"
USER2="dany"
USER3="kevin"


cp -r /opt/$USER1/test /backup/$USER1
cp -r /opt/$USER2/test /backup/$USER2


such a command would be repeated 832 times (this is just an example) 
so instead of copying the above line 832 times and appending that user's number 
in each "$USER"

is there a way to do it in a  smarter way ?


thanks,

--Rolad

  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Scott Robbins
On Thu, Oct 21, 2010 at 07:42:25PM +0200, Dotan Cohen wrote:
> On Thu, Oct 21, 2010 at 18:36, Scott Robbins  wrote:
> > Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
> > (Or is the command "vim-enhanced"?)
> >
> 
> 
> That's it! Using the command vim instead of vi to open the file gives
> me history. Can anyone else confirm this? I actually confirmed it on
> another server, but both were installed from the same sever-farm
> default image. I'll file a bug if needed and someone confirms.

I've had it happen, but don't remember what system.  FreeBSD, for
example, makes a distinction between vi and vim, vim being in /usr/local
if installed--one doesn't want to symlink, because in FreeBSD's case,
/usr is not mounted if booted in single user mode. 

I wouldn't even consider it a bug.  This way, users preferring the
sparser vi can use it and those who prefer vim can make an alias in
their .bash_profile. 



-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Oz: Sometimes when I'm sitting in class...you know, I'm not 
thinking about class 'cause that would never happen... I think 
about kissing you. And it's like everything stops, it's like, 
freeze frame: Willow kissage.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] POP3 server

2010-10-21 Thread David
I was hoping Dovecot could be not so RFC compliant in this matter. Anyway if 
gets the DELE command the message arrived safely to the client.

Any other POP3 server not so RFC compliant?

Thanks for the answer.

David

- Original Message - 
From: "Drew" 
To: "CentOS mailing list" 
Sent: Thursday, October 21, 2010 8:01 AM
Subject: Re: [CentOS] POP3 server


> So, I'm wondering if it's possible to tell Dovecot to actually delete the
> message when receiving a DELE command instead of marking it for deletion
> after the QUIT.

Nope. RFC1939 specifically states that the DELE command only *marks*
the email for deletion. Once the server enters the 'update' state it
will perform the deletion. The only command that can enter that state
is the QUIT command.

http://www.ietf.org/rfc/rfc1939.txt


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-21 Thread Nataraj
Nataraj wrote:
> Nataraj wrote:
>   
>> fred smith wrote:
>>   
>> 
>>> Thanks for the additional information.
>>>
>>> I'll try backing up everything this weekend then will take a stab at it.
>>>
>>> someone said earlier that the differing raid superblocks were probably
>>> the cause of the misassignment in the first place. but I have no clue
>>> how the superblocks could have become messed up, can any of you comment
>>> on that? willl I need to hack at that issue, too, before I can succeed?
>>>
>>> thanks again!
>>>
>>>   
>>> 
>>>   
 Nataraj
 
   
 
>> I would first try adding the drives back in with:
>>
>> mdadm /dev/mdN -a /dev/sdXn
>>
>> Again, this is after having stopped the bogus md arrays.
>>
>> If that doesn't work, I would try assemble with a --force option, which 
>> might be a little more dangerous than the hot add, but probably not 
>> much. I can say that when I have a drive fall out of an array I am 
>> always able to add it back with the first command (-a). As I mentioned, 
>> I do have bitmaps on all my arrays, but you can't change that until you 
>> rebuild the raidset.
>>   
>> 
> Note, that if you need to use assemble --force, you must stop the array 
> first and know exactly which drives you want to assemble the array with.
>   
It's possible that my drives go back so easily because of the bitmap.  
You can probably also use --force with the -a option (hot add).
If you use --force, I would make sure that you are specifying the write 
drives/partitions since --force will probably cause whatever partition 
you give it to be used in the array regardless of weather it was in the 
same array before.  So if you use --force, I would check the UUIDs of 
the partitions first and make sure they are the same, since --force 
would allow you to insert one of your md1 partitions into your md0 array.

Nataraj


Nataraj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-21 Thread Nataraj
Nataraj wrote:
> fred smith wrote:
>   
>> Thanks for the additional information.
>>
>> I'll try backing up everything this weekend then will take a stab at it.
>>
>> someone said earlier that the differing raid superblocks were probably
>> the cause of the misassignment in the first place. but I have no clue
>> how the superblocks could have become messed up, can any of you comment
>> on that? willl I need to hack at that issue, too, before I can succeed?
>>
>> thanks again!
>>
>>   
>> 
>>> Nataraj
>>> 
>>>   
> I would first try adding the drives back in with:
>
> mdadm /dev/mdN -a /dev/sdXn
>
> Again, this is after having stopped the bogus md arrays.
>
> If that doesn't work, I would try assemble with a --force option, which 
> might be a little more dangerous than the hot add, but probably not 
> much. I can say that when I have a drive fall out of an array I am 
> always able to add it back with the first command (-a). As I mentioned, 
> I do have bitmaps on all my arrays, but you can't change that until you 
> rebuild the raidset.
>   
Note, that if you need to use assemble --force, you must stop the array 
first and know exactly which drives you want to assemble the array with.
> I believe these comands will take care of everything. You shouldn't have 
> to do any diddling of the superblocks at a low level, and if the problem 
> is that bad, you might be best to backup and recreate the whole array or 
> engage the services of someone who knows how to muck with the data 
> structures on the disk. I've never had to use anything other than mdadm 
> to manage my raid arrays and I've never lost data with linux software 
> raid in the 10 or more years that I've been using it. I've found it to 
> be quite robust. Backing up is just a precaution that is a good idea for 
> anyone to take if they care about their data.
>
> If these problems reoccur on a regular basis, you could have a bad 
> drive, a power supply problem or a cabling problem. Assuming your drives 
> are attached to SATA, SCSI or SAS controller, you can use smartctl to 
> check the drives and see if they are getting errors or other faults. 
> smartctl will not work with USB or firefire attached drives.
>
> Nataraj
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-21 Thread Nataraj
fred smith wrote:
>
> Thanks for the additional information.
>
> I'll try backing up everything this weekend then will take a stab at it.
>
> someone said earlier that the differing raid superblocks were probably
> the cause of the misassignment in the first place. but I have no clue
> how the superblocks could have become messed up, can any of you comment
> on that? willl I need to hack at that issue, too, before I can succeed?
>
> thanks again!
>
>   
>> Nataraj
>> 
I would first try adding the drives back in with:

mdadm /dev/mdN -a /dev/sdXn

Again, this is after having stopped the bogus md arrays.

If that doesn't work, I would try assemble with a --force option, which 
might be a little more dangerous than the hot add, but probably not 
much. I can say that when I have a drive fall out of an array I am 
always able to add it back with the first command (-a). As I mentioned, 
I do have bitmaps on all my arrays, but you can't change that until you 
rebuild the raidset.

I believe these comands will take care of everything. You shouldn't have 
to do any diddling of the superblocks at a low level, and if the problem 
is that bad, you might be best to backup and recreate the whole array or 
engage the services of someone who knows how to muck with the data 
structures on the disk. I've never had to use anything other than mdadm 
to manage my raid arrays and I've never lost data with linux software 
raid in the 10 or more years that I've been using it. I've found it to 
be quite robust. Backing up is just a precaution that is a good idea for 
anyone to take if they care about their data.

If these problems reoccur on a regular basis, you could have a bad 
drive, a power supply problem or a cabling problem. Assuming your drives 
are attached to SATA, SCSI or SAS controller, you can use smartctl to 
check the drives and see if they are getting errors or other faults. 
smartctl will not work with USB or firefire attached drives.

Nataraj
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Steve Huff

On Oct 21, 2010, at 1:52 PM, Alfred von Campe wrote:

> /bin/vi is supplied by the vim-minimal package


d'oh!  Alfred is correct, and i am mistaken (in cause, though not in effect).

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Steve Huff

On Oct 21, 2010, at 1:42 PM, Dotan Cohen wrote:

> I'll file a bug if needed and someone confirms.


Dotan,

This is not a bug.  When you invoke vim as 'vi', the -C option is added, which 
sets Vim to Vi-compatible mode; this disables a number of features, including 
:history.  From :help history :

:his[tory]  Print the history of last entered commands.
{not in Vi}
{not available when compiled without the |+cmdline_hist|
feature}

The "{not in Vi}" means that this feature is not available in Vi-compatible 
mode.

-steve

--
If this were played upon a stage now, I could condemn it as an improbable 
fiction. - Fabian, Twelfth Night, III,v
PGP 8477B706 (A92A 1F7E 6D76 16A0 BFF9  E61D AD54 0251 8477 B706)



PGP.sig
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Alfred von Campe
On Oct 21, 2010, at 13:42, Dotan Cohen wrote:

> I'll file a bug if needed and someone confirms.

It's not a bug: /bin/vi is supplied by the vim-minimal package and /usr/bin/vim 
is supplied by vim-ehnabced.  Just alias vi to vim and you should be all set.

Alfred

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Dotan Cohen
On Thu, Oct 21, 2010 at 18:36, Scott Robbins  wrote:
> Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
> (Or is the command "vim-enhanced"?)
>


That's it! Using the command vim instead of vi to open the file gives
me history. Can anyone else confirm this? I actually confirmed it on
another server, but both were installed from the same sever-farm
default image. I'll file a bug if needed and someone confirms.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread James A. Peltier
- Original Message -
| I have a problem that is driving me crazy. Our nfs server is running
| Solaris. Most clients mount directories from it with no problems, but
| not all. All clients that have problems run CentOS (5.4 and 5.5). I've
| found one or two of each version that fail, but also a couple of each
| version that work.
| 
| The mounting is done for user home directories via autofs but that
| doesn't seem to make any difference, the same problem appears when
| trying to mount manually. Kerberos is used for authentication.
| 
| When I try to mount a directory manually I get this:
| 
| # mount - -t nfs4 -o sec=krb5 \
| triangulum.ifm.liu.se:/export/users/hans /mnt
| mount: pinging: prog 13 vers 4 prot tcp port 2049
| mount.nfs4: Permission denied
| 
| I get this in /var/log/messages:
| 
| Oct 15 15:15:12 pc13287 rpc.gssd[2780]: rpcsec_gss:
| gss_init_sec_context: (major) Unspecified GSS failure.
| Minor code may provide more information - (minor) Unknown
| code krb5 60
| Oct 15 15:15:12 pc13287 rpc.gssd[2780]: WARNING: Failed to create
| krb5 context for user with uid 0 with any credentials cache for
| server triangulum.ifm.liu.se
| 
| The machines that can mount the disk differ slightly in what they log.
| Some log nothing, others this:
| 
| Oct 19 13:26:01 pc14113 rpc.gssd[2793]: ERROR: GSS-API: error in
| gss_acquire_cred(): Unspecified GSS failure. Minor code may
| provide more information - Unknown code krb5 195
| Oct 19 13:26:01 pc14113 rpc.gssd[2793]: WARNING: Failed to create
| krb5 context for user with uid 121 for server
| triangulum.ifm.liu.se
| 
| Note that there is still an error logged in the first line, but a
| different one. In the second line, the uid if the user changes from 0
| (I'm logged in as root when doing both tests) to 121 (which is the uid
| of the user owning the home directory I'm trying to mount in both
| cases). Perhaps this is a clue, but I don't know what it tries to tell
| me.
| 
| I can't find any relevant differences in configuration. I've gone
| through files in /etc on a working and a non-working machine looking
| for
| changes but not finding anything relevant in /etc/sysconfig/nfs,
| /etc/hosts, /etc/idmapd.conf, /etc/krb5.conf, /etc/host.conf,
| /etc/nsswitch.conf, /etc/resolv.conf and others.
| 
| SELinux is not running.
| 
| This is what the keytab looks like on both working and non-working
| machines:
| 
| # klist -k -e
| Keytab name: FILE:/etc/krb5.keytab
| KVNO Principal
| 
| --
| 3 host/pc13287.ad.ifm.liu...@ifm.liu.se (DES cbc mode with RSA-MD5)
| 3 nfs/pc13287.ad.ifm.liu...@ifm.liu.se (DES cbc mode with RSA-MD5)
| 
| I have an yp master and an yp slave, but there are both working and
| non-working clients connected to both of them.
| 
| There is plenty of space in /tmp and it is writable by all.
| 
| Among the total set of clients there are multiple versions of
| nfs-utils
| and kernel used, but I can pick a set of one working and one
| non-working
| client that have the same versions for both (nfs-utils-1.0.9-47.el5_5
| and kernel-2.6.18-194.17.1.el5) so that doesn't appear to be the
| problem. I've tried yum reinstall for the nfs package to no effect.
| That
| doesn't work for the kernel package, but I've compared the md5 sums
| for
| the gss modules between a working and a non-working machine and found
| no
| differences.
| 
| Obviously, I need to check something else, but what? Please help!
| 
| Hans
| 
| 
| ___
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos

Please post a copy of your /etc/* files listed above so that we might be able 
to look to make sure everything is correct.  You may want to look at ensuring 
that

SECURE_NFS="yes"
RPCGSSDARGS="-vvv"
RPCSVCGSSDARGS="-vvv"

is uncommented in /etc/sysconfig/nfs

There might be others missing but we would be able to help best if we know the 
contents of these files

--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN : subatomic_s...@hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] missing dependency for package

2010-10-21 Thread Ski Dawg
Hello everyone,

I know this isn't strictly CentOS query, but I am hoping that someone
here with more experience than myself might have some thoughts.

I am trying to get a plugin working for Ganglia on a CentOS 5.5 box,
in a testing environment. The plugin is for apache monitoring, called
Ganglia-Logtailer. This plugin requires the executable
/usr/bin/logtail in order to work. The only packages that have this
executable, that I have been able to find, is part of the epel-testing
repository in the logcheck package. When I try to install the package
from that repository, it is missing the dependency,
perl-mime-construct, which I am not able to find packaged anywhere.

It appears that the logcheck package includes several other
executables that I do not need, and those other executables are what
requires the perl-mime-construct package.

My question is, does anyone know of a source to get this package that
would also include the necessary requirements? If not, any way that I
can rebuild the source package, and remove the things that I do not
need, and thus removing their dependencies? If I have to maintain my
own package for this, I can, but I would prefer another option, if
available. Any other way of getting this single executable that anyone
can think of?

-- 
Doug

Registered Linux User #285548 (http://counter.li.org)

Never trust a computer you can't throw out a window.
   -- Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Sean Hart

On 10/21/10 9:48 AM, John Kennedy wrote:

Is there an alias hanging around that is redirecting you?
John

On Thu, Oct 21, 2010 at 12:36, Scott Robbins > wrote:


On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote:
> Although I made sure that vim-enhanced.i386 is installed, pressing :
> then upArrow does not show me the last command that I've typed.
Might
> I still be using vim-minimal erroneously? How to fix that? I
don't see
> any mention of this in google or the past few months of fine
archives.

One possible guess, but it's a guess only and I don't have high hopes
for it


Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
(Or is the command "vim-enhanced"?)

If you do "which vim" it should show you the path of exactly which vim 
you are using...  There is a history optin in vimrc, is it possible you 
set this to 0?  I believe it sets the number of lines to keep in history.


Cheers,
Sean
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread John Kennedy
Is there an alias hanging around that is redirecting you?
John

On Thu, Oct 21, 2010 at 12:36, Scott Robbins  wrote:

> On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote:
> > Although I made sure that vim-enhanced.i386 is installed, pressing :
> > then upArrow does not show me the last command that I've typed. Might
> > I still be using vim-minimal erroneously? How to fix that? I don't see
> > any mention of this in google or the past few months of fine archives.
>
> One possible guess, but it's a guess only and I don't have high hopes
> for it
>
>
> Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
> (Or is the command "vim-enhanced"?)
>
>
> --
> Scott Robbins
> PGP keyID EB3467D6
> ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
> gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
 John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No "last command" in VIM?

2010-10-21 Thread Scott Robbins
On Thu, Oct 21, 2010 at 06:19:54PM +0200, Dotan Cohen wrote:
> Although I made sure that vim-enhanced.i386 is installed, pressing :
> then upArrow does not show me the last command that I've typed. Might
> I still be using vim-minimal erroneously? How to fix that? I don't see
> any mention of this in google or the past few months of fine archives.

One possible guess, but it's a guess only and I don't have high hopes
for it


Is there possibly a /bin/vi which takes precedence over /usr/bin/vim?
(Or is the command "vim-enhanced"?)  


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more software raid questions

2010-10-21 Thread fred smith
On Thu, Oct 21, 2010 at 08:59:13AM -0700, Nataraj wrote:
> fred smith wrote:
> > On Tue, Oct 19, 2010 at 07:34:19PM -0700, Nataraj wrote:
> >   
> >>
> >> I've seen this kind of thing happen when the autodetection stuff 
> >> misbehaves. I'm not sure why it does this or how to prevent it. Anyway, 
> >> to recover, I would use something like:
> >>
> >> mdadm --stop /dev/md125
> >> mdadm --stop /dev/md126
> >>
> >> If for some reason the above commands fail, check and make sure it has 
> >> not automounted the file systems from md125 and md126. Hopefully this 
> >> won't happen.
> >>
> >> Then use:
> >> mdadm /dev/md0 -a /dev/sdXX
> >> To add back the drive which belongs in md0, and similar for md1. In 
> >> general, it won't let you add the wrong drive, but if you want to check 
> >> use:
> >> mdadm --examine /dev/sda1 | grep UUID
> >> and so forth for all your drives and find the ones with the same UUID.
> >> 
> >
> > Well, I've already tried to use --fail and --remove on md125 and md126
> > but I'm told the members are still active.
> >
> > mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
> > mdadm /dev/md125 --fail /dev/sdb2 --remove /dev/sdb2
> >   
> You want to use --stop for the md125 and md126. Those are the raid 
> devices that are not correct. Once they are stopped, you can take the 
> drives from them and return them to md0 and md1 where they belong.!

> 
> You will need to add the correct drive that was originally paired in 
> each raid set, but as I mentioned, it won't let you add the wrong 
> drives, so just try adding sdb1 to md0, then if it doesn't work, add it 
> to sdb1. You can't fail out drives from arrays that only have one drive.

Thanks for the additional information.

I'll try backing up everything this weekend then will take a stab at it.

someone said earlier that the differing raid superblocks were probably
the cause of the misassignment in the first place. but I have no clue
how the superblocks could have become messed up, can any of you comment
on that? willl I need to hack at that issue, too, before I can succeed?

thanks again!

> 
> Nataraj
> > mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
> > mdadm: set /dev/sdb1 faulty in /dev/md126
> >
> >
> > mdadm: hot remove failed for /dev/sdb1: Device or resource busy
> >
> > with the intention of then re-adding them to md0 and md1.
> >
> > so I tried:
> >
> > mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1
> > and got a similar message. 
> >
> > at which point I knew I was in over my head.
> >
> >   
> >> When I create my Raid arrays, I always use the option --bitmap=internal. 
> >> With this option set, a bitmap is used to keep track of which pages on 
> >> the drive are out of date and then you only resync pages which need 
> >> updating instead of recopying the whole drive when this happens. In the 
> >> past I once added a bitmap to an existing raid1 array using something 
> >> like this. This may not be the exact command, but I know it can be done:
> >> mdadm /dev/mdN --bitmap=internal
> >>
> >> Adding the bitmap is very worthwhile and saves time and risk of data 
> >> loss by not having to recopy the whole partition.
> >>
> >> Nataraj

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] No "last command" in VIM?

2010-10-21 Thread Dotan Cohen
Although I made sure that vim-enhanced.i386 is installed, pressing :
then upArrow does not show me the last command that I've typed. Might
I still be using vim-minimal erroneously? How to fix that? I don't see
any mention of this in google or the past few months of fine archives.

Thanks.

[g...@mercury ~]$ uname -a
Linux mercury 2.6.18-194.3.1.el5PAE #1 SMP Thu May 13 13:48:44 EDT
2010 i686 i686 i386 GNU/Linux
[g...@mercury ~]$ yum info vim-enhanced.i386
Repo   : installed

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] send HTML formatted mail (for M$ Outlook) with mailx

2010-10-21 Thread John Doe
From: Sven Aluoor 

> I have here a small ksh script which generates html output and I  am
> trying to send this html output as inline HTML mail for M$  Outlook
> users (not attachment).
> But it doesn't work, in mail you see  the html source as plain text

Not sure about outlook but the following works for me and tbird:
Add "Content-type: text/html" at the begining...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 68, Issue 10

2010-10-21 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...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2010:0780 Moderate CentOS 5 i386 thunderbird Update
  (Karanbir Singh)
   2. CESA-2010:0780 Moderate CentOS 5 x86_64   thunderbird Update
  (Karanbir Singh)
   3. CESA-2010:0782 Critical CentOS 5 i386 firefox Update
  (Karanbir Singh)
   4. CESA-2010:0782 Critical CentOS 5 x86_64 firefox   Update
  (Karanbir Singh)
   5. CEBA-2010:0784 CentOS 5 x86_64 ImageMagick Update (Karanbir Singh)
   6. CEBA-2010:0784 CentOS 5 i386 ImageMagick Update (Karanbir Singh)
   7. CESA-2010:0785 Moderate CentOS 5 i386 quagga  Update
  (Karanbir Singh)
   8. CESA-2010:0785 Moderate CentOS 5 x86_64 quaggaUpdate
  (Karanbir Singh)
   9. CESA-2010:0787 Important CentOS 5 x86_64 glibcUpdate
  (Karanbir Singh)
  10. CESA-2010:0787 Important CentOS 5 i386 glibc  Update
  (Karanbir Singh)


--

Message: 1
Date: Wed, 20 Oct 2010 14:21:34 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0780 Moderate CentOS 5 i386
thunderbird Update
To: centos-annou...@centos.org
Message-ID: <20101020142134.ga25...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0780 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0780.htm

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
8d79ea2227cbe2ccf8cc38f58185b08d  thunderbird-2.0.0.24-9.el5.centos.i386.rpm

Source:
76ae1189a5bb23e670e77d14782f80ab  thunderbird-2.0.0.24-9.el5.centos.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 2
Date: Wed, 20 Oct 2010 14:21:34 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0780 Moderate CentOS 5 x86_64
thunderbird Update
To: centos-annou...@centos.org
Message-ID: <20101020142134.ga25...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0780 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0780.htm

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
f1cc32f61895a52707421fdd3c30637e  thunderbird-2.0.0.24-9.el5.centos.x86_64.rpm

Source:
76ae1189a5bb23e670e77d14782f80ab  thunderbird-2.0.0.24-9.el5.centos.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 3
Date: Wed, 20 Oct 2010 14:29:05 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0782 Critical CentOS 5 i386
firefox Update
To: centos-annou...@centos.org
Message-ID: <20101020142905.ga25...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0782 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0782.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
d6d74606e240b46e24a6e5fef808fc6e  firefox-3.6.11-2.el5.centos.i386.rpm
ceea764509f836a4222d8513e48a2f4a  nss-3.12.8-1.el5.centos.i386.rpm
b4895cf2e2fe94c741a982d93b4a1337  nss-devel-3.12.8-1.el5.centos.i386.rpm
402f808034c08a9c7effdf7ae86a23e3  nss-pkcs11-devel-3.12.8-1.el5.centos.i386.rpm
441e7f16824f2bc9cdc284a0b5b91fbc  nss-tools-3.12.8-1.el5.centos.i386.rpm
8c4a659199e659b1ee2d7a41fb8f92a0  xulrunner-1.9.2.11-2.el5.i386.rpm
a0604d96522a44d340eb406f0178a31a  xulrunner-devel-1.9.2.11-2.el5.i386.rpm

Source:
20957cf139608fae04d639c75f15691d  firefox-3.6.11-2.el5.centos.src.rpm
784e7196380fec754e89dbeae6313e71  nss-3.12.8-1.el5.centos.src.rpm
923f4121812b78274473dcc24bca6aec  xulrunner-1.9.2.11-2.el5.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 4
Date: Wed, 20 Oct 2010 14:29:05 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0782 Critical CentOS 5 x86_64
firefox Update
To: centos-annou...@centos.org
Message-ID: <20101020142905.ga25...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0782 Critical

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0782.html

The following updated files have been uploaded and are cur

Re: [CentOS] more software raid questions

2010-10-21 Thread Nataraj
fred smith wrote:
> On Tue, Oct 19, 2010 at 07:34:19PM -0700, Nataraj wrote:
>   
>>
>> I've seen this kind of thing happen when the autodetection stuff 
>> misbehaves. I'm not sure why it does this or how to prevent it. Anyway, 
>> to recover, I would use something like:
>>
>> mdadm --stop /dev/md125
>> mdadm --stop /dev/md126
>>
>> If for some reason the above commands fail, check and make sure it has 
>> not automounted the file systems from md125 and md126. Hopefully this 
>> won't happen.
>>
>> Then use:
>> mdadm /dev/md0 -a /dev/sdXX
>> To add back the drive which belongs in md0, and similar for md1. In 
>> general, it won't let you add the wrong drive, but if you want to check use:
>> mdadm --examine /dev/sda1 | grep UUID
>> and so forth for all your drives and find the ones with the same UUID.
>> 
>
> Well, I've already tried to use --fail and --remove on md125 and md126
> but I'm told the members are still active.
>
> mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
> mdadm /dev/md125 --fail /dev/sdb2 --remove /dev/sdb2
>   
You want to use --stop for the md125 and md126. Those are the raid 
devices that are not correct. Once they are stopped, you can take the 
drives from them and return them to md0 and md1 where they belong.

You will need to add the correct drive that was originally paired in 
each raid set, but as I mentioned, it won't let you add the wrong 
drives, so just try adding sdb1 to md0, then if it doesn't work, add it 
to sdb1. You can't fail out drives from arrays that only have one drive.

Nataraj
>   mdadm /dev/md126 --fail /dev/sdb1 --remove /dev/sdb1
>   mdadm: set /dev/sdb1 faulty in /dev/md126
>
>
>   mdadm: hot remove failed for /dev/sdb1: Device or resource busy
>
> with the intention of then re-adding them to md0 and md1.
>
> so I tried:
>
> mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1
> and got a similar message. 
>
> at which point I knew I was in over my head.
>
>   
>> When I create my Raid arrays, I always use the option --bitmap=internal. 
>> With this option set, a bitmap is used to keep track of which pages on 
>> the drive are out of date and then you only resync pages which need 
>> updating instead of recopying the whole drive when this happens. In the 
>> past I once added a bitmap to an existing raid1 array using something 
>> like this. This may not be the exact command, but I know it can be done:
>> mdadm /dev/mdN --bitmap=internal
>>
>> Adding the bitmap is very worthwhile and saves time and risk of data 
>> loss by not having to recopy the whole partition.
>>
>> Nataraj
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>> 
>
>   

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread John Doe
From: mehdi 

> i work under proxy  and i whant add php  by using yum but i can't  ,
> and i can't accec to add/move application (i am root)  ??

First, stop hijacking others threads... create a new one.
Solution to your problem: http://tinyurl.com/ydeyaqo

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] send HTML formatted mail (for M$ Outlook) with mailx

2010-10-21 Thread Sven Aluoor
Hi folks

I have here a small ksh script which generates html output and I am
trying to send this html output as inline HTML mail for M$ Outlook
users (not attachment).

But it doesn't work, in mail you see the html source as plain text

[]
echo 'http://schemas.microsoft.com/office/2004/12/omml";
xmlns="http://www.w3.org/TR/REC-html40";>' > /tmp/coi.html
echo "" >> /tmp/coi.html
echo "META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=us-ascii">" >> /tmp/coi.html
echo "" >> /tmp/coi.html
echo "" >> /tmp/coi.html
generate_output_xen
echo "" >> /tmp/coi.html

(cat /tmp/coi.html) | mailx -s "Test HTML output in outlook" sven.alu...@ubs.com

the procedure generate_output_xen have the output





  3w4535345


Banc335


SYS5


content


20-Oct-2010 14 :55 :04
[]

cheers Sven
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Web based ping and port checker ?

2010-10-21 Thread przemolicc
Hello,

does anybody know any simple software
which allow checking host and its port availability
using _web_ forms ?

Something like:
write ip address:
write port number:
[press button]

Regards
Przemek



-
Gielda samochodow nowych i uzywanych.
http://linkint.pl/f2820

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] black display during installation of CentOS5.5

2010-10-21 Thread John Hinton

On 10/21/2010 1:38 AM, Ritika Garg wrote:
I had posted the following question 4-5 days ago. I want to add 
something to the question which is important. The question was:
During installation of CentOS5.3 from DVD, the installation was 
interrupted due to an error in a rpm package as the DVD had lot of 
scratches. So I burned image of CentOS5.5 on DVD. I selected 
installation in graphical mode. The first graphical interface screen 
comes from where we proceed further by clicking next. This screen is 
almost black and its impossible to carry out further installation as 
visibility is very poor.
I was trying above for Dell Inspiron laptop which has Windows7 
installed on it. I checked the CentOS5.5 DVD on another system which 
is desktop and found that the graphical interface is perfectly alright 
there. So is there any setting that has to be done in the laptop?



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Have you tried nofb during the install process? I have had to use this 
on certain flat screens.


John Hinton

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread mehdi
i work under proxy  and i whant add php  by using yum but i can't ,
and i can't accec to add/move application (i am root) ??
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mount/automount fails with krb5-enabled nfs4

2010-10-21 Thread Hans Persson
I have a problem that is driving me crazy. Our nfs server is running
Solaris. Most clients mount directories from it with no problems, but
not all. All clients that have problems run CentOS (5.4 and 5.5). I've
found one or two of each version that fail, but also a couple of each
version that work.

The mounting is done for user home directories via autofs but that
doesn't seem to make any difference, the same problem appears when
trying to mount manually. Kerberos is used for authentication.

When I try to mount a directory manually I get this:

# mount - -t nfs4 -o sec=krb5 \
triangulum.ifm.liu.se:/export/users/hans /mnt
mount: pinging: prog 13 vers 4 prot tcp port 2049
mount.nfs4: Permission denied

I get this in /var/log/messages:

Oct 15 15:15:12 pc13287 rpc.gssd[2780]: rpcsec_gss: 
gss_init_sec_context: (major) Unspecified GSS failure. 
Minor code may provide more information - (minor) Unknown 
code krb5 60 
Oct 15 15:15:12 pc13287 rpc.gssd[2780]: WARNING: Failed to create
krb5 context for user with uid 0 with any credentials cache for
server triangulum.ifm.liu.se 

The machines that can mount the disk differ slightly in what they log.
Some log nothing, others this:

Oct 19 13:26:01 pc14113 rpc.gssd[2793]: ERROR: GSS-API: error in
gss_acquire_cred(): Unspecified GSS failure. Minor code may 
provide more information - Unknown code krb5 195 
Oct 19 13:26:01 pc14113 rpc.gssd[2793]: WARNING: Failed to create
krb5 context for user with uid 121 for server 
triangulum.ifm.liu.se 

Note that there is still an error logged in the first line, but a
different one. In the second line, the uid if the user changes from 0
(I'm logged in as root when doing both tests) to 121 (which is the uid
of the user owning the home directory I'm trying to mount in both
cases). Perhaps this is a clue, but I don't know what it tries to tell
me.

I can't find any relevant differences in configuration. I've gone
through files in /etc on a working and a non-working machine looking for
changes but not finding anything relevant in /etc/sysconfig/nfs, 
/etc/hosts, /etc/idmapd.conf, /etc/krb5.conf, /etc/host.conf, 
/etc/nsswitch.conf, /etc/resolv.conf and others.

SELinux is not running.

This is what the keytab looks like on both working and non-working
machines:

# klist -k -e
Keytab name: FILE:/etc/krb5.keytab
KVNO Principal
 
--
   3 host/pc13287.ad.ifm.liu...@ifm.liu.se (DES cbc mode with RSA-MD5) 
   3 nfs/pc13287.ad.ifm.liu...@ifm.liu.se (DES cbc mode with RSA-MD5) 

I have an yp master and an yp slave, but there are both working and
non-working clients connected to both of them.

There is plenty of space in /tmp and it is writable by all.

Among the total set of clients there are multiple versions of nfs-utils
and kernel used, but I can pick a set of one working and one non-working
client that have the same versions for both (nfs-utils-1.0.9-47.el5_5
and kernel-2.6.18-194.17.1.el5) so that doesn't appear to be the
problem. I've tried yum reinstall for the nfs package to no effect. That
doesn't work for the kernel package, but I've compared the md5 sums for
the gss modules between a working and a non-working machine and found no
differences.

Obviously, I need to check something else, but what? Please help!

Hans


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] POP3 server

2010-10-21 Thread Drew
> So, I'm wondering if it's possible to tell Dovecot to actually delete the
> message when receiving a DELE command instead of marking it for deletion
> after the QUIT.

Nope. RFC1939 specifically states that the DELE command only *marks*
the email for deletion. Once the server enters the 'update' state it
will perform the deletion. The only command that can enter that state
is the QUIT command.

http://www.ietf.org/rfc/rfc1939.txt


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] POP3 server

2010-10-21 Thread David
Hi folks

A POP3 client not configured to keep a copy of messages on the server, as soon 
as retieve a message send a DELE commando with the number of the just retrieved 
message. Then, at the end of the POP3 session, the clent sends a QUIT command, 
wich order POP3 server to close the conection and delete the messages marqued 
with DELE command.

So, I'm wondering if it's possible to tell Dovecot to actually delete the 
message when receiving a DELE command instead of marking it for deletion after 
the QUIT.

Or is any other POP3 server capable of doing this other than Dovecot.  (running 
on CentOS of course)

Thanks 

David___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] temp dir, httpd and selinux

2010-10-21 Thread admin lewis
Hi,
I have a php software installed on a centos server with selinux
enforced activeted.
The php software (glpi --> http://www.glpi-project.org) have a plugin
that must write on a temp dir... but selinux dont give access to that
dir to write.
How should i do ?
lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] network interface up but no data

2010-10-21 Thread Nat N
Hi List,

I am running a x86_64 Centos server, after a reboot the network has decided to
not work.. this particular machine has 8 eth ports eth0-7. eth0 and eth3 were
bonded (mode 1 ) after reboot the bond did not work. It came up OK but no
data was passing through it. all other interfaces on the machine were working.

I decided to remove the bond, so after removing the bond i was left with eth0
using the same IP as the bond used. however it still does the same thing,
it starts up with no errors but i cannot even ping the default gateway,
tcpdump shows nothing on the interface.

I have made sure of the following
* no iptables installed
* kernel modules for the NIC are loaded with no errors
* the bond kernel module is not installed / all bond configs have been removed

Below is some info on the interface, it should be noted that all others are OK
the only 2 that were having the issue are eth0 and eth3 (the ex-bonded ones)

server1:/etc/sysconfig/network-scripts# ip route  | grep 172.18
172.18.16.0/24 dev eth0  proto kernel  scope link  src 172.18.16.1
default via 172.18.16.254 dev eth0


# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:24:49:C8:66:98
  inet addr:172.18.16.1  Bcast:172.18.16.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:7223 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:463918 (453.0 KiB)
  Interrupt:226 Memory:dc00-dc012800


If you look closely TX  and RX are massively different, but I am not
seeing anything on tcpdump even there is a large number of TX packets.

Any ideas?

Nathan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libmpeg2-utils

2010-10-21 Thread John Doe
From: "m.r...@5-cent.us" 

> Trying to update a user's system, and yum gives up, because it wants  to
> update libmpeg2, and there's a dependency - the currently  installed
> version is required by libmpeg2-utils, and there seems to be no  update to
> that. Anyone have an idea why this is the case? I really don't want  to add
> another repo just for this workstation, when libmpeg2 does have an  update
> in its current repos.

Mine show the same up to date versions (fromm rpmforge):
# yum list | grep libmpeg2
libmpeg2.i386  0.5.1-2.el5.rf  installed
libmpeg2-utils.i3860.5.1-2.el5.rf  installed

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] black display during installation of CentOS5.5

2010-10-21 Thread JohnS

On Thu, 2010-10-21 at 00:28 -0700, John R Pierce wrote:
> On 10/20/10 10:38 PM, Ritika Garg wrote:
> > I had posted the following question 4-5 days ago. I want to add 
> > something to the question which is important. The question was:
> > During installation of CentOS5.3 from DVD, the installation was 
> > interrupted due to an error in a rpm package as the DVD had lot of 
> > scratches. So I burned image of CentOS5.5 on DVD. I selected 
> > installation in graphical mode. The first graphical interface screen 
> > comes from where we proceed further by clicking next. This screen is 
> > almost black and its impossible to carry out further installation as 
> > visibility is very poor.
> > I was trying above for Dell Inspiron laptop which has Windows7 
> > installed on it. I checked the CentOS5.5 DVD on another system which 
> > is desktop and found that the graphical interface is perfectly alright 
> > there. So is there any setting that has to be done in the laptop?
> 
> well, Dell has made a few 100 model inspirons, and some of those had 
> several optional graphics modules (my wife's inspiron E1705 could have 
> had a ATI or one of several Geforce Go modules).Some of them may 
> have graphics controllers that aren't well supported at all by linux, 
> like the Inspiron Mini10(1010) model I tried, with Poulsbo graphics, 
> very poorly supported out of the box, and even the downlaodable drivers 
> really aren't very good.
---
Without knowing what it really has you can try the absolute basic which
is:
xdriver=VESA in the anaconda boot prompt..

John

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] black display during installation of CentOS5.5

2010-10-21 Thread John R Pierce
On 10/20/10 10:38 PM, Ritika Garg wrote:
> I had posted the following question 4-5 days ago. I want to add 
> something to the question which is important. The question was:
> During installation of CentOS5.3 from DVD, the installation was 
> interrupted due to an error in a rpm package as the DVD had lot of 
> scratches. So I burned image of CentOS5.5 on DVD. I selected 
> installation in graphical mode. The first graphical interface screen 
> comes from where we proceed further by clicking next. This screen is 
> almost black and its impossible to carry out further installation as 
> visibility is very poor.
> I was trying above for Dell Inspiron laptop which has Windows7 
> installed on it. I checked the CentOS5.5 DVD on another system which 
> is desktop and found that the graphical interface is perfectly alright 
> there. So is there any setting that has to be done in the laptop?

well, Dell has made a few 100 model inspirons, and some of those had 
several optional graphics modules (my wife's inspiron E1705 could have 
had a ATI or one of several Geforce Go modules).Some of them may 
have graphics controllers that aren't well supported at all by linux, 
like the Inspiron Mini10(1010) model I tried, with Poulsbo graphics, 
very poorly supported out of the box, and even the downlaodable drivers 
really aren't very good.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos