Re: [CentOS] Question re RHEL 5.3

2008-10-30 Thread Spike Turner
MHR  wrote:

> I've heard now from more than one source about problems
> with CentOS
> (and RH) at least up through 5.2 w.r.t. SATA drive
> handling, and I've
> even reported on this myself in this list before.
> 
> My question is, do we have any idea if 5.3 has any
> improvements in this area?
> 
> One of my cohorts here, who happens to be a Fedora fan,
> says that
> these problems are fixed in F9, but I have grave concerns
> about
> putting an enterprise lifeline main application on any
> Fedora release.
>  If 5.3 solves these issues, I'd much rather go with
> that.
> 

You seem to be relying on hearsay and rumor-mongering.
Any bug reports you have filed on the CentOS bug tracker?

> Any ideas?  Any places I might look to see for myself?
> 

You have to install 5.3 beta and test it yourself. Then
again if your "alleged problems" only surface in a 
conversation with your "fedora buddy" you have to have 
more than your word for it.

Comprende?

Spike.


  

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Mogens Kjaer
Dag Wieers wrote:
...
> Ok, what may not have been obvious from my mail (and I will make sure I
> fix that next announcement) is that anyone should be able to register on
> RHN for downloading these Betas.
> 
> So you do not have to be a customer to get an RHN account.

You can download and install, however, in order to
do:

yum update

or even:

yum install something

you have to register the system on one of your available
subscriptions.

That's how I experience it - I could be wrong?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Checking if a user is 'Disabled'

2008-10-30 Thread Peter Kjellstrom
On Wednesday 29 October 2008, Bill Campbell wrote:
> On Wed, Oct 29, 2008, Peter Kjellstrom wrote:
> >On Tuesday 28 October 2008, R P Herrold wrote:
> >> On Tue, 28 Oct 2008, Tom Brown wrote:
> >> > I need to create some local users but then 'disable' that user. I know
> >> > i can enable and disable the user by using usermod -L and -U but does
> >> > anyone know if there is a way for me to see the current status of the
> >> > user? ie locked or unlocked?
> >>
> >> [EMAIL PROTECTED] ~]$ sudo passwd -l archive
> >> Locking password for user archive.
> >> passwd: Success
> >> [EMAIL PROTECTED] ~]$ sudo passwd -S archive
> >> archive LK 2008-07-15 0 9 7 -1 (Password locked.)
> >> [EMAIL PROTECTED] ~]$
> >
> >Worth noting is that this locking only refers to password authentication.
> > If the user has a key in his/hers authorized_keys then they will still be
> > able to login.
>
> I'm not sure that is true.

Well I am. Now I've even tried it and on both centos-4 and centos-5 I had no 
problems authenticating with my public key when my shadow entry started 
with "!!".

If you truely want to lock an account (all access and use) then you have many 
things to consider including:

* .ssh/authorized_keys
* .forward
* crond
* atd
* running processes
...

/Peter


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


Re: [CentOS] Re: Apparently no swap configured

2008-10-30 Thread William L. Maltby

On Wed, 2008-10-29 at 19:07 -0700, John R Pierce wrote:
> Stephen Harris wrote:
> > In older BSD systems (eg around SunOS 4 times or before) swap space was
> > utilised oddly; all memory was allocated from swap, so you needed _at
> > least_  of swap just to use all your real memory!  So if you
> > added  of swap then your total virtual memory size was still
> > only .  No help!  So the rule of thumb came along that said
> > "swap = 2*" and that gave you a VM of 2*.  
> 
> 
>   this was also how early IBM System/370 DOS/VS 
> worked...  the swap space (which was contiguous cylinders of the disk, 
> btw) was mapped 1:1 to virtual memory address space 
> 


I believe the differing "recommendations" is a result of the transitions
over the life of *IX systems. When I first began running real UNIX (TM)
on Dec and PC equipment (1978-1985), memory was slow, expensive and
limited. Ditto for HD space. In order to run even fairly basic systems
with any utility involving multi-tasking or multi-users, swap was need
to page memory. Tunables were provided for high/low water marks and
preferences for high/low priority processes. IIRC, initially there was
no oom kill capability.

Recommended swap at that time was at least two times real memory and 4
times for "heavily loaded" systems. If you were doing more, bump that
number appreciably. But it had severe costs when you maximum HD size
might be 40MB, so you didn't want to over-allocate.

Over time, memory/HD attributes and "flavors" of *IX changed.
Applications changed. Shared memory, libraries came into vogue.
Relocation became possible. ELF appeared.

All this stuff changed the real needs for swap. But old habits die hard.
So we still have conflicting recommendations floating around. Several on
this list have been successfully configuring 0 swap for their usage. For
other usage that may not be appropriate.


Summary: as it always has been, your application and load profile
determine the need. Since HD is so "cheap" now, I have a couple gig of
swap, but haven't seen it used since sometime in CentOS 5.0. Even when I
login in as multiple users and fire up several X/Gnome desktops for
each, no swap usage. There's probably been some swap used, but it wasn't
seen by me.

-- 
Bill

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


Re: [CentOS] Re: Apparently no swap configured

2008-10-30 Thread Karanbir Singh

Stephen Harris wrote:

" Swap should equal 2x physical RAM for up to 2 GB of physical RAM, and
then an additional 1x physical RAM for any amount above 2 GB, but never
less than 32 MB.


That's a silly recommendation, and never been true for Linux.  RedHat
don't always know what they're talking about.


I disagree with that. It has been true for linux for a long time, and is 
true even now. When was the last time you looked at the linux swap 
handling code ?


Recently, with large amounts of ram available on physical machines, eg > 
2 GB, you need to start reconsidering a part of that strategy based 
around the fact that if your machine is really using 2 GB+ of swap, 
there might be other problems that need fixing and the absurd levels of 
latency introduced by that would mean those other issues really need 
looking at.


I'd still go with 2xRAM size for swap size upto a swap size of 2 GB, 
then make it the same as RAM size, till you get to 32 GB, at which 
point, half of real RAM size till 128 GB. Beyond that point, you really 
should be doing some benchmarks and monitoring to work out how much swap 
you need, and where it needs to be.


The other school of thought that seems to be doing the rounds is, 2xRAM 
till 4 GB, then just leave swap at 4GB irrespective of what your real 
machine RAM is, as long as its a multiple of 4.


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Dazuko module Panda Antivirus

2008-10-30 Thread Gopinath Achari
Hi,


I installed Panda antivirus for linux  but it uses
Dazuko module for updating virus definition downloaded from internet to
virus definitions database. So i downloaded dazuko ( tar package)
software and tryed to install. But it generates the below defined
errors, Which module in the kernel has to be enabled. Please help me i
am using Centos 5.2 with kernel version of  2.6.18-92.1.13.el5xen


[EMAIL PROTECTED] dazuko-2.3.5]$ ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.18-92.1.13.el5xen/source... yes
kernel build source in /lib/modules/2.6.18-92.1.13.el5xen/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.18)
checking if security module support is enabled... yes
verifying capabilities are not built-in... built-in :(
error: capabilities are built-in to the kernel:
   you will need to recompile a kernel with capabilities
   as a kernel module


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


[CentOS] PHP 5.2

2008-10-30 Thread Eduardo Silvestre
Hello guys, 

i need to know where i can find php version 5.2? 

Regards, 
--- 
Eduardo Silvestre 
nfsi telecom, lda. 

[EMAIL PROTECTED] 
Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 
http://www.nfsi.pt/ 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2008-10-30 Thread John Clement
>  i need to know where i can find php version 5.2?

you'll probably want to have a look here

http://www.php.net/get/php-5.2.6.tar.bz2/from/a/mirror
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2008-10-30 Thread Karanbir Singh

Eduardo Silvestre wrote:

Hello guys,

 i need to know where i can find php version 5.2?



At the moment, php-5.2 for CentOS-5 is in the c5-testing repo, soon to 
be moved into the c5-webstack repo.


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2008-10-30 Thread Ralph Angenendt
John Clement wrote:
> >  i need to know where i can find php version 5.2?
> 
> you'll probably want to have a look here
> 
> http://www.php.net/get/php-5.2.6.tar.bz2/from/a/mirror

And then make that into an rpm? Or just work around the packaging system
on CentOS? 

Not a good idea.

There are some packages in the CentOS-Testing repository (which require
you to give feedback to the CentOS developers via
, there is Jason Litka's repository and there is
Remi Collet's repository.

But: If you have problems with the packages from there, then bug the
people you got the packages from - not CentOS.

Anyway, all of those means of distribution are way better than working
around package management.

Ralph


pgpHnxw6KBCdK.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2008-10-30 Thread Eduardo Silvestre


Hello, 

i have some customers with php 5.1.6 and they have a problem because this 
version have a bug on gd library. 

Link http://bugs.php.net/bug.php?id=39366 

Need install other version to use this feature. 

Regards, 
--- 
Eduardo Silvestre 
nfsi telecom, lda. 

[EMAIL PROTECTED] 
Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 
http://www.nfsi.pt/ 

- Original Message - 
From: "Ralph Angenendt" <[EMAIL PROTECTED]> 
To: centos@centos.org 
Sent: Thursday, October 30, 2008 11:27:56 AM GMT +00:00 GMT Britain, Ireland, 
Portugal 
Subject: Re: [CentOS] PHP 5.2 

John Clement wrote: > > i need to know where i can find php version 5.2? > > 
you'll probably want to have a look here > > 
http://www.php.net/get/php-5.2.6.tar.bz2/from/a/mirror And then make that into 
an rpm? Or just work around the packaging system on CentOS? Not a good idea. 
There are some packages in the CentOS-Testing repository (which require you to 
give feedback to the CentOS developers via , there is Jason Litka's repository 
and there is Remi Collet's repository. But: If you have problems with the 
packages from there, then bug the people you got the packages from - not 
CentOS. Anyway, all of those means of distribution are way better than working 
around package management. Ralph 
___ 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] PHP 5.2

2008-10-30 Thread Ralph Angenendt
Eduardo Silvestre wrote:
> Hello, 
> 
> i have some customers with php 5.1.6 and they have a problem because this 
> version have a bug on gd library. 
> 
> Link http://bugs.php.net/bug.php?id=39366 
> 
> Need install other version to use this feature. 

My mails had *three* locations in it where you can download php 5.2 if
you need that.

Ralph


pgpuOzL5HGiam.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2008-10-30 Thread Spike Turner
Eduardo Silvestre  wrote:

> i have some customers with php 5.1.6 and they have a
> problem because this version have a bug on gd library. 
> 
> Link http://bugs.php.net/bug.php?id=39366 
> 
> Need install other version to use this feature. 
> 
> Regards, 

Don't assume that because the bug is in php 5.1.6 that
upstream have not addressed it by backporting a fix see 
http://www.redhat.com/security/updates/backporting/?sc_cid=3093
Have you filed any bugs in bugs.centos.org or checked to 
see if the bug is present in CentOS? 

Spike.


  

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


Re: [CentOS] PHP 5.2

2008-10-30 Thread Spike Turner
Ralph Angenendt  wrote:

> My mails had *three* locations in it where you can download
> php 5.2 if
> you need that.
> 

There is no evidence supplied by yourself or by the OP that
upstream have not backported a fix to an issue 2 years old.
As the saying goes if its not in bugzilla its not a bug.
There is no reason for the cart to lead the horse on this 
occasion.

Spike.
---
If its not in bugzilla its not a bug.


  

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


Re: [CentOS] Question re RHEL 5.3

2008-10-30 Thread William L. Maltby

On Wed, 2008-10-29 at 17:59 -0700, MHR wrote:
> On Wed, Oct 29, 2008 at 5:25 PM, Jim Perrin <[EMAIL PROTECTED]> wrote:
> >
> > The only issue I've ever seen has been with the on-board fakeraid stuff
> > more and more vendors seem to be adding. I've been using SATA disks
> > with centos since the early 4.x days without issue, so you have me at
> > a bit of a loss here. I'd say if anything it's due to controller
> > support, and much of that can be chalked up to what hardware vendors
> > are pawning off as 'controllers' these days.
> >
> 
> The one problem I've seen and posted here was w.r.t. smartd error
> reports showing 2^32 - 1 errors on one of the disks (probably my
> system disk) every few minutes.  I thought this was more than just a
> bit suspicious, since there are only 4,687,500,000 sectors on a 300GB
> disk, and the likelihood of having errors on 4,294,967,295 (~92%) of
> them is rather slim unless the whole system is crashing a lot (it's
> not).  It's a Seagate 300GB, so I ran Seagate's SeaTools on it in
> lightweight mode, and no problems were reported, which is good because
> the disk is only about a year and a half old and has my CentOS root,
> swap, boot and home partitions on it.
> 
> I'll dig deeper on this one - sounds fishy to me, too, now

With my usual jaundiced eye, my first thought is that the fault is not
the obvious one. So I suggest temporarily abandoning "The Usual
Suspects" (TM) - what a *great* movie.

Is it a consistent or sporadic issue? Is the controller an on-board or
after-market? If on-board, is the BIOS the latest? Have you checked
connections power/data cable connections? The number you mention makes
me think of a bad cable (or connections). Any pattern if it's recurring?
Temperature steady in the area? If you had a temporary rise/fall in
temperature it could have exposed weak connections, micro-fractures in
various cables, poor seating of memory, add-in cards, etc.

Any other messages, that might be related, in the log file when it
happens? I'm wondering if some spurious interrupt might be involved.

Have you memtested recently? ISTM that a memory error could "fool" the
system. Re-seated the memory?

How about the kernel version? On the latest kernel, 2.6.18-92.1.13.el5,
I recently got this.

--
Oct 29 07:09:41 centos501 kernel: Uhhuh. NMI received for unknown reason
2c on CPU 0.
Oct 29 07:09:41 centos501 kernel: Do you have a strange power saving
mode enabled?
Oct 29 07:09:41 centos501 kernel: Dazed and confused, but trying to
continue
---

Never seen before. Only once, so far. I've not yet investigated this. No
recent changes to the system since 5.0 but normal yum updates to current
5.2 status. The case cover is off right now though, so it could be some
EMI (heh, or an EMP from the recent trash on this list)  :-)

That's all I can think of ATM but for power from the utility company or
marginal power supply in the unit.

> 
> mhr
> 

HTH
-- 
Bill

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


[CentOS] Using CentOS repos in a RHEL machine

2008-10-30 Thread Marcelo M. Garcia

Hi

I have 2 machines with RHEL 5.2 and I would like to use CentOS repos. I 
would like to know if the document "Using CentOS Repositories on RHEL 
Machines"[1] can be used in CentOS 5.2 without too much modifications.


Thanks

Marcelo

[1] http://wiki.centos.org/HowTos/PackageManagement/YumOnRHEL
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS repos in a RHEL machine

2008-10-30 Thread Matt Hyclak
On Thu, Oct 30, 2008 at 11:48:53AM +, Marcelo M. Garcia enlightened us:
> I have 2 machines with RHEL 5.2 and I would like to use CentOS repos. I 
> would like to know if the document "Using CentOS Repositories on RHEL 
> Machines"[1] can be used in CentOS 5.2 without too much modifications.
> 
> Thanks
> 
> Marcelo
> 
> [1] http://wiki.centos.org/HowTos/PackageManagement/YumOnRHEL

You shouldn't need to bother since RHEL 5 has yum. Just add your repo
definitions into your /etc/yum.repos.d directory.

The only limitation I have been able to see with RHEL's yum is the lack of
the priorities plugin. You can use protectbase as a replacement. If I get a
chance today, maybe I'll try to update that wiki page.

Matt

-- 
Matt Hyclak
Systems and Operations 
Office of Information Technology
Ohio University
(740) 593-1222


pgpECU9olkY0W.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dazuko module Panda Antivirus

2008-10-30 Thread Spike Turner
Gopinath Achari  wrote:

> I installed Panda antivirus for linux  but
> it uses
> Dazuko module for updating virus definition downloaded from
> internet to
> virus definitions database. So i downloaded dazuko ( tar
> package)
> software and tryed to install. But it generates the below
> defined
> errors, Which module in the kernel has to be enabled.
> Please help me i
> am using Centos 5.2 with kernel version of 
> 2.6.18-92.1.13.el5xen
> 

Have you spoken to the Panda people? Have you tried getting 
an rpm version. Have you looked in the 3rd party repos? There
is a reason for using an rpm-based distro rather than Slackware.

Spike.


  

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


Re: [CentOS] PHP 5.2

2008-10-30 Thread Karanbir Singh

Spike Turner wrote:

There is no evidence supplied by yourself or by the OP that
upstream have not backported a fix to an issue 2 years old.
As the saying goes if its not in bugzilla its not a bug.
There is no reason for the cart to lead the horse on this 
occasion.


you seem to suffer comprehension disabilities. There was a bug report 
already url'd by the OP. What work did you do Spike to verify the issue 
and reproduce ?


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] changing partition priority on install

2008-10-30 Thread Phil Schaffner

Monty Shinn wrote:
...

Phil,

Thanks for your input.  I did find the location of the grub install 
modification.  Strange thing is, when I restarted the install, grub 
defaulted to the MBR of /dev/sdb.  I did not change any hardware or bios 
settings in between attempts.  I have no idea why the change happened.


Once the install was completed, the OS partition showed up as /dev/sda, 
even though it showed up as /dev/sdb during the installation process. 
Grub is apparently happily residing in the MBR of /dev/sda.  Again, I 
can't explain it.


If you (or anyone else) has insights to this behaviour, or can point me 
to where I can read up on it, I would appreciate it.


Thanks again for all your help.



Monty,

Not much helpful to add, except that I have seen many cases over many 
years of using RH/RHEL/FC and derived distros of device ordering 
changing among installer/boot/runtime versions of GRUB,  among 
installer/installed/updated kernels, as well as among different 
contemporary distros.  PCI slot priority, initrd, modprobe.conf, and 
BIOS settings are also variables so interactions among all these 
components can be quite complex.


If you really want to dig into it the kernel development and 
distro-devel mailing lists would be good starting places.  There are 
also old threads in CentOS and Fedora list archives, some of which I 
participated in, on these issues.  If you find any clear and 
enlightening docs on these problems, please share.


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


Re: [CentOS] boot problems

2008-10-30 Thread Phil Schaffner

Phil Schaffner wrote:
At least it was a correctly spelled typo.  Still need that grammar 
checker!!! Who's working on putting on in Thunderbird?  Evolution?


s/on/one/ - before someone else jumps on me :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] boot problems

2008-10-30 Thread Phil Schaffner

Joshua Baker-LePain wrote:

On Tue, 28 Oct 2008 at 9:35pm, Phil Schaffner wrote


At the risk of sounding even MORE pedantic, many would appreciate it if
you ran a spell-checker as well.  (Grammar checkers seem to be beyond
the state-of-the-art in email clients.) :D

The GRUB shell is quiet powerful and can help in debugging your

^
Thus conforming to the rule that every spelling flame must contain at 
least one typo of its own -- well done!  ;)


At least it was a correctly spelled typo.  Still need that grammar 
checker!!! Who's working on putting on in Thunderbird?  Evolution?


:-}

Phil


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


Re: [CentOS] PHP 5.2

2008-10-30 Thread Ralph Angenendt
Spike Turner wrote:
> Ralph Angenendt  wrote:
> 
> > My mails had *three* locations in it where you can download
> > php 5.2 if
> > you need that.
> > 
> 
> There is no evidence supplied by yourself or by the OP that
> upstream have not backported a fix to an issue 2 years old.

Did they? If so it's not in the package changelogs.

Ralph


pgpyWQnd9p6UV.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] boot problems

2008-10-30 Thread William L. Maltby

On Thu, 2008-10-30 at 08:31 -0400, Phil Schaffner wrote:
> Phil Schaffner wrote:
> > At least it was a correctly spelled typo.  Still need that grammar 
> > checker!!! Who's working on putting on in Thunderbird?  Evolution?
> 
> s/on/one/ - before someone else jumps on me :-)

He-he! So you meant "Who's working one putting on in Thun..."? >:-)


I've done similar s many times. Grab another cup of your favorite
stimulant. :-)

-- 
Bill

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


[CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Tom Brown

Hi

I am migrating a mailserver from CentOS 4 to 5 and i am migrating the 
db's over


from mysql-max-4.1.13 to mysql-server-5.0.45-7.el5

during the mysql import it fails with this...

ERROR 1062 (23000) at line 129: Duplicate entry '3-r��?�' for key 1

anyone got any clues to this one as so far i have drawn a blank

thanks

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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Karanbir Singh

Tom Brown wrote:

ERROR 1062 (23000) at line 129: Duplicate entry '3-r��?�' for key 1

anyone got any clues to this one as so far i have drawn a blank


you are inserting multiple duplicate values somewhere where its not 
allowed. without looking at your schema it would be hard to work out 
what the issue is.


in other news, you dont need to dump + reload when you move from mysql-4 
to mysql-5, just service mysqld stop; yum update mysql\*; 
/usr/bin/mysql_upgrade ; service mysqld start



--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Dag Wieers

On Thu, 30 Oct 2008, Mogens Kjaer wrote:


Dag Wieers wrote:
...

Ok, what may not have been obvious from my mail (and I will make sure I
fix that next announcement) is that anyone should be able to register on
RHN for downloading these Betas.

So you do not have to be a customer to get an RHN account.


you have to register the system on one of your available
subscriptions.


Hmm, I am pretty sure at some point in the past registering to RHN was 
free without entitlements. That is how I have delegated systems and 
entitlements to other people within RPMforge.


Maybe it is different now. I will have to find out and document on the 
Wiki in detail.


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can one invoke multiple INSTANCEs of Firefox on CentOS

2008-10-30 Thread James B. Byrne

On Wed, October 29, 2008 12:05, Joe Pruett wrote:
> you can do it with firefox profiles.  start with:
>
> firefox -ProfileManager
>

Thank you very much for the hint.  I went to the Mozilla Firefox Help page
and read up on this.  However, when I run:

# firefox -ProfileManager

All I get is a new Firefox window with all of the bookmarks and history of
my standard user profile.  Am I missing something here?

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Tom Brown




you are inserting multiple duplicate values somewhere where its not 
allowed. without looking at your schema it would be hard to work out 
what the issue is.


its a bayes db for spamassassin



in other news, you dont need to dump + reload when you move from 
mysql-4 to mysql-5, just service mysqld stop; yum update mysql\*; 
/usr/bin/mysql_upgrade ; service mysqld start





i am changing the actual box so i have to dump and then import as i am 
also moving from centos4 to 5 -


schema is below thanks

-- MySQL dump 10.9
--
-- Host: localhostDatabase: spamassassin
-- --
-- Server version4.1.13-max

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, 
FOREIGN_KEY_CHECKS=0 */;

/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `bayes_expire`
--

DROP TABLE IF EXISTS `bayes_expire`;
CREATE TABLE `bayes_expire` (
 `id` int(11) NOT NULL default '0',
 `runtime` int(11) NOT NULL default '0',
 KEY `bayes_expire_idx1` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `bayes_global_vars`
--

DROP TABLE IF EXISTS `bayes_global_vars`;
CREATE TABLE `bayes_global_vars` (
 `variable` varchar(30) NOT NULL default '',
 `value` varchar(200) NOT NULL default '',
 PRIMARY KEY  (`variable`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `bayes_seen`
--

DROP TABLE IF EXISTS `bayes_seen`;
CREATE TABLE `bayes_seen` (
 `id` int(11) NOT NULL default '0',
 `msgid` varchar(200) character set latin1 collate latin1_bin NOT NULL 
default '',

 `flag` char(1) NOT NULL default '',
 PRIMARY KEY  (`id`,`msgid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `bayes_token`
--

DROP TABLE IF EXISTS `bayes_token`;
CREATE TABLE `bayes_token` (
 `id` int(11) NOT NULL default '0',
 `token` char(5) NOT NULL default '',
 `spam_count` int(11) NOT NULL default '0',
 `ham_count` int(11) NOT NULL default '0',
 `atime` int(11) NOT NULL default '0',
 PRIMARY KEY  (`id`,`token`),
 KEY `bayes_token_idx1` (`token`),
 KEY `bayes_token_idx2` (`id`,`atime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Table structure for table `bayes_vars`
--

DROP TABLE IF EXISTS `bayes_vars`;
CREATE TABLE `bayes_vars` (
 `id` int(11) NOT NULL auto_increment,
 `username` varchar(200) NOT NULL default '',
 `spam_count` int(11) NOT NULL default '0',
 `ham_count` int(11) NOT NULL default '0',
 `token_count` int(11) NOT NULL default '0',
 `last_expire` int(11) NOT NULL default '0',
 `last_atime_delta` int(11) NOT NULL default '0',
 `last_expire_reduce` int(11) NOT NULL default '0',
 `oldest_token_age` int(11) NOT NULL default '2147483647',
 `newest_token_age` int(11) NOT NULL default '0',
 PRIMARY KEY  (`id`),
 UNIQUE KEY `bayes_vars_idx1` (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

/*!40101 SET [EMAIL PROTECTED] */;
/*!40014 SET [EMAIL PROTECTED] */;
/*!40014 SET [EMAIL PROTECTED] */;
/*!40101 SET [EMAIL PROTECTED] */;
/*!40101 SET [EMAIL PROTECTED] */;
/*!40101 SET [EMAIL PROTECTED] */;
/*!40111 SET [EMAIL PROTECTED] */;

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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Karanbir Singh

Tom Brown wrote:
in other news, you dont need to dump + reload when you move from 
mysql-4 to mysql-5, just service mysqld stop; yum update mysql\*; 
/usr/bin/mysql_upgrade ; service mysqld start





i am changing the actual box so i have to dump and then import as i am 
also moving from centos4 to 5 -


rsync or tar the /var/lib/mysql dir up and move that. I am guessing in 
this case that some delimiter is breaking or the dump you did wasent clean.


Alternatively if you did use complete-inserts in your dump, you can run 
the load with : mysql -f db_name < blah.sql ; then look at what lines 
the load breaks on and make sure the data looks sane in those lines.


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can one invoke multiple INSTANCEs of Firefox on CentOS

2008-10-30 Thread James B. Byrne
On Thu, October 30, 2008 09:41, James B. Byrne wrote:

> Thank you very much for the hint.  I went to the Mozilla Firefox Help
page
> and read up on this.  However, when I run:
>
> # firefox -ProfileManager
>
> All I get is a new Firefox window with all of the bookmarks and history
of
> my standard user profile.  Am I missing something here?
>

If the initial condition is that no instances of Firefox is running then
"firefox -ProfileManager" will indeed bring up the Profile Manager and
allow one to chose which profile to use or manage profiles.  However, that
is the only circumstance where this occurs.  Once a Firefox instance is
running subsequent invocations skip the profile manager and start a new
window with the same profile as the first.

Is this intended behaviour?

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3




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


[CentOS] Re: Question re RHEL 5.3

2008-10-30 Thread Robert Nichols

MHR wrote:


The one problem I've seen and posted here was w.r.t. smartd error
reports showing 2^32 - 1 errors on one of the disks (probably my
system disk) every few minutes.  I thought this was more than just a
bit suspicious, since there are only 4,687,500,000 sectors on a 300GB
disk, and the likelihood of having errors on 4,294,967,295 (~92%) of
them is rather slim unless the whole system is crashing a lot (it's
not).  It's a Seagate 300GB, so I ran Seagate's SeaTools on it in
lightweight mode, and no problems were reported, which is good because
the disk is only about a year and a half old and has my CentOS root,
swap, boot and home partitions on it.


Precisely what error counters are alarming you?  If these are the
raw numbers for Raw_Read_Error_Rate, Hardware_ECC_Recovered, and
Seek_Error_Rate, it is normal for Seagate drives.  Look at the
normalized values for these attributes.  As long as they are not
approaching their failure thresholds, the drive is OK.  For further
reassurance you can run the SMART long offline tests ("smartctl -t
long /dev/whatever" -- see smartctl manpage for details) on the
drive.

You need to understand something about modern drives.  In the past,
drives achieved the first level of redundancy by recording each bit
in a large enough area to include many magnetic domains.  If some
percentage of the domains failed to hold the data (a highly likely
situation), that was OK because the read head would get enough
signal from the rest of the domains so that the bit would be
detected correctly.  Fast forward to today.  That multi-domain
redundancy is all but gone, having been replaced by more advanced
error correcting codes implemented in hardware.  Seagate has elected
to have the raw number for Raw_Read_Error_Rate report each instance
of sectors needing this level of correction and let the normalized
values reflect whether these corrections are occurring at a rate
higher than expected.

A similar situation exists for Seek_Error_Rate.  When a drive
performs a seek, there is a trade-off between speed and accuracy.
You can make it more likely that the heads go directly to the right
track by moving them more slowly and allowing more settling time.
Performance can be improved significantly by moving the heads more
abruptly and accepting that some percentage of the time a subsequent
small adjustment will be needed to get to the right track.  Again,
it is the normalized value for Seek_Error_Rate that reports whether
these adjustments are becoming necessary more often than expected.


--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Phil Schaffner

Dag Wieers wrote:
...


Hmm, I am pretty sure at some point in the past registering to RHN was 
free without entitlements. That is how I have delegated systems and 
entitlements to other people within RPMforge.


Maybe it is different now. I will have to find out and document on the 
Wiki in detail.


Another data point.  I have a valid RHN login but with all entitlements 
expired - did not renew and moved everything to CentOS.  RHN will only 
show me ISOs for old RH products - no RHEL ISOs beta or otherwise.  Back 
when the RHEL5(.0) beta came out the subscription was still active and I 
was able to get and test that Beta.


From past experience IIRC, if one tries to create a new account it must 
use a new email address, otherwise an error is returned about the 
address already being in use.


Also, if attempting a new registration, from: 
https://rhn.redhat.com/rhn/sales/LoginInfo.do


"Red Hat Network provides Red Hat subscription customers with software 
downloads, updates, security errata, and systems management 
capabilities. To access these Red Hat Network benefits, customers must 
log in to Red Hat Network using a Red Hat login associated with at least 
one active subscription to a Red Hat product or service."


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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Matt Shields
On Thu, Oct 30, 2008 at 9:52 AM, Karanbir Singh <[EMAIL PROTECTED]>wrote:

> Tom Brown wrote:
>
>> in other news, you dont need to dump + reload when you move from mysql-4
>>> to mysql-5, just service mysqld stop; yum update mysql\*;
>>> /usr/bin/mysql_upgrade ; service mysqld start
>>>
>>>
>>>
>> i am changing the actual box so i have to dump and then import as i am
>> also moving from centos4 to 5 -
>>
>
> rsync or tar the /var/lib/mysql dir up and move that. I am guessing in this
> case that some delimiter is breaking or the dump you did wasent clean.
>

But make sure mysqld is not running on either box when doing it this way.
Also, if you have any innodb tables you must have the exact same innodb
settings in your /etc/my.cnf

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


Re: [CentOS] Dazuko module Panda Antivirus

2008-10-30 Thread Akemi Yagi
On Thu, Oct 30, 2008 at 4:09 AM, Gopinath Achari
<[EMAIL PROTECTED]> wrote:

> I installed Panda antivirus for linux  but it uses Dazuko
> module for updating virus definition downloaded from internet to virus
> definitions database. So i downloaded dazuko ( tar package) software and
> tryed to install. But it generates the below defined errors, Which module in
> the kernel has to be enabled. Please help me i am using Centos 5.2 with
> kernel version of  2.6.18-92.1.13.el5xen
(snip)
> error: capabilities are built-in to the kernel:
>you will need to recompile a kernel with capabilities
>as a kernel module

This is a known issue with Dazuko.  You can find some hint/solution in
this forum thread:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=12894&forum=28&post_id=43082#forumpost43082

Although it was with CentOS-4, the same solution should be applicable
to CentOS-5.

There is another thread and Ned Slider offered an alternative solution:

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=16924&forum=45

Hope this helps,

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Robert Moskowitz



Dag Wieers wrote:

On Wed, 29 Oct 2008, Michael Simpson wrote:


On 10/29/08, Dag Wieers <[EMAIL PROTECTED]> wrote:

On Wed, 29 Oct 2008, Mikael Fridh wrote:

On Wed, Oct 29, 2008 at 10:36:35AM +, Karanbir Singh wrote:

Dag Wieers wrote:
https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=6002 

https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=6007 



Would be so much nicer if Red Hat also realised this [1] and made 
some

of those beta isos public.


I was really looking forward to testing this but when my download
completes in 3 hours I might have forgotten about it completely.

I'm too used to 10MB/s local mirror speeds :/


Bringing down the barrier for people to test and report problems for 
RHEL
Betas is something we have to discuss together with Red Hat. I 
discussed

some of my wishes in an earlier blog post:

http://dag.wieers.com/blog/rhel-beta-test-sig

but the dialogue has not taken place yet.

I think this is one of those very profound win-win situations that 
we have

to take advantage of.


As per the suggestion on Dag's blog i would be very happy to
participate in any sort of beta for 5.3. I don't have a RHN
subscription so my ability to get hold of the iso is limited but there
are a couple of features in 5.3 that would be of use for my company's
current projects
- so much so that we may be delaying a proposed roll out for them


Ok, what may not have been obvious from my mail (and I will make sure 
I fix that next announcement) is that anyone should be able to 
register on RHN for downloading these Betas.


So you do not have to be a customer to get an RHN account.



If there was to be any sort of CentOS based testing effort then i
would like to throw my hat (and a dell 2950III) into the ring


Well, you could become part of this effort. I would like to create one 
or more pages on the Wiki just for this purpose. We could allow people 
to write down what they tested, on what hardware and the items that 
failed. And in case they made any bugreports, we could link them on 
the same wiki-page.


The aim obviously is to report as much to Red Hat as possible, but 
also to record what problems others could verify in helping those 
reports. The other aim is to make sure we have a good idea of what 
problems we can expect in the upcoming CentOS 5.3 for the release notes.


What kernel version is in 5.3? Still 2.6.18?

there is an IPsec patch now in 2.6.27, BEET mode for ESP.

I need this mode for HIP in kernel mode, and have yet to successfully 
patch the kernel myself (the HIPL team does supply a BEET patch for the 
2.6.18 kernel, but...).


So I do not have a RH account. I suspect corporate does, but I am too 
distant from them to get access.


how might I go about getting attention on the BEET ESP mode?


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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Laurent Wandrebeck
2008/10/30 Robert Moskowitz <[EMAIL PROTECTED]>:
>
> how might I go about getting attention on the BEET ESP mode?
bugzilla.redhat.com should do the trick.
Regards,
Laurent
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can one invoke multiple INSTANCEs of Firefox on CentOS

2008-10-30 Thread James B. Byrne

On Thu, October 30, 2008 09:56, lists-centos wrote:

>
> you can do this by putting:
>
>   setenv MOZ_NO_REMOTE 1
>
> in your .cshrc (i'll let you figure out the bash equiv if that's what
> you're using).
>
> and then use (e.g., in your icon's properties entry):
>
>/usr/bin/firefox  -SelectProfile %u
>
> to start an instance.


This works.  Thank you.  The magical invocation is:

Edit ~/.bashrc or /etc/bashrc and add:

# Force Mozilla (Firefox) to prompt for profiles
# and start as separate instances for each.
MOZ_NO_REMOTE=1; export MOZ_NO_REMOTE
# Then invoke via "firefox -SelectProfile %u"

Log out and restart the desktop to get the changes to take effect for the
panel and menus. Changes made to ~/.bashrc or /etc/bashrc are picked up
with each new terminal window opened and do not require a logout or source
command if you invoke Firefox from the command line instead.

Many thanks. Now I can lose myself in the madness of model-model, view,
controller xml whe


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Bart Schaefer
On Thu, Oct 30, 2008 at 6:22 AM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
> in other news, you dont need to dump + reload when you move from mysql-4 to
> mysql-5, just service mysqld stop; yum update mysql\*;
> /usr/bin/mysql_upgrade ; service mysqld start

Theoretically true, but if you ask MySQL.com support they'll tell you
that a dump and restore is advisable.  It all depends on which
features you were using.  As just one example, if you were relying on
some of the previous auto-update semantics of timestamp columns,
you'll need to alter all the corresponding table definitions manually;
the upgrade process won't do it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] [OT] List of all email users

2008-10-30 Thread Jussi Hirvi
This is not CentOS-specific, hence OT.

I need a list of all email users on my system (there are hundreds of them).
The list could be extracted from /etc/aliases and the virtusertable.

Does anyone know of a script that would do this automatically? It would have
to 
- exclude commented-out lines (of course)
- exclude duplicates
- produce a list of usernames (or maybe unresolved email addresses for some
users) separated by a comma

I imagine perl would be the way to go. I haven't used perl at all myself.

Regards,
Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
[EMAIL PROTECTED] * http://www.greenspot.fi

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Michael Simpson
> Hmm, I am pretty sure at some point in the past registering to RHN was free
> without entitlements. That is how I have delegated systems and entitlements
> to other people within RPMforge.
>
> Maybe it is different now. I will have to find out and document on the Wiki
> in detail.
>
> --
> --   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --


Hi Dag
according to RHN the only software that i can download is redhat
7.1,7.2,7.3 and 9

Without paying for a subscription for a machine i get

"No images were found matching your criteria"

So registering is free but entitlement isn't.

This was tried with both a corporate and personal login for RHN.

I guess i'll have to wait until a public release.

best wishes

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


Re: [CentOS] A few general questions

2008-10-30 Thread Phil Schaffner

Lanny Marcus wrote:

On Wed, Oct 29, 2008 at 10:25 AM, kevin kempter
<[EMAIL PROTECTED]> wrote:


The macbook is ok but it just doesn't cut it per productivity so I've
ordered another laptop
(a 64bit laptop with 8G of memory expandable to 16G and 2 internal 320G
7200rpm drives)

I'll be loading Linux as soon as the machine arrives from Dell.


Kevin: I suggest you try the CentOS 5.2 Live CD on it, after you
receive the laptop. Then, you will know if CentOS is the distro for
that Laptop. CentOS is an Enterprise Distro and not well suited to the
latest HW, especially on a Laptop. If CentOS doesn't work on it, the
way you want it to, consider running Fedora or Ubuntu or something
else on it. The Live CD's make it very easy to check out how a Distro
will work on the HW you have.


Very good advice!


Here's my questions:

1) Are there any published plans for CentOS to support KDE4, or is there a
way to upgrade CentOS to KDE4 ?


If you upgrade to something that is not supported by the distro, you
broke it and  you fix it.

GL with the new Dell Laptop! Lanny


Would not expect to see KDE4 supported before RHEL6/CentOS6.  If you 
really want to try it, see:


http://fedoraproject.org/wiki/SIGs/KDE/KDE4FAQ
http://kde-redhat.sourceforge.net/

Note the cautions about using the testing/unstable repos.

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


[CentOS] no network kernel boot option

2008-10-30 Thread Jerry Geis

I am looking for a kernel boot option that specifies "nonetwork"
I have found in searching the nousb - nopcmcia etc but I have not 
found one for nonetwork.

Is there one and what is it called?

Thanks,

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Robert Moskowitz

Mogens Kjaer wrote:

Dag Wieers wrote:
...
  

Ok, what may not have been obvious from my mail (and I will make sure I
fix that next announcement) is that anyone should be able to register on
RHN for downloading these Betas.

So you do not have to be a customer to get an RHN account.



You can download and install, however, in order to
do:

yum update

or even:

yum install something

you have to register the system on one of your available
subscriptions.

That's how I experience it - I could be wrong?
  

Can you create a local repo that you keep current with rsync?

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


Re: [CentOS] [OT] List of all email users

2008-10-30 Thread Ralph Angenendt
Jussi Hirvi wrote:
> This is not CentOS-specific, hence OT.
> 
> I need a list of all email users on my system (there are hundreds of them).
> The list could be extracted from /etc/aliases and the virtusertable.
> 
> Does anyone know of a script that would do this automatically? It would have
> to 
> - exclude commented-out lines (of course)
> - exclude duplicates
> - produce a list of usernames (or maybe unresolved email addresses for some
> users) separated by a comma


for i in /etc/aliases /etc/postfix/virtual; do
  cat $i | grep -Ev "(^#|^\s+$|^$)" | sed -e "s/://" | awk '{print $1}' | \
  sort -u | tr \\n , 
done

Adapt to needs.

Ralph


pgpJ8rYkqKVYp.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Mogens Kjaer
Robert Moskowitz wrote:
...
> Can you create a local repo that you keep current with rsync?

And where should I rsync it from?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] List of all email users

2008-10-30 Thread Jussi Hirvi
Ralph Angenendt ([EMAIL PROTECTED]) kirjoitteli (30.10.2008 17:12):
> for i in /etc/aliases /etc/postfix/virtual; do
> cat $i | grep -Ev "(^#|^\s+$|^$)" | sed -e "s/://" | awk '{print $1}' | \
> sort -u | tr \\n ,
> done
> 
> Adapt to needs.

Thanks, that looks neat, and works.

For real-world use, I guess the source files (in my case aliases,
virtusertable) should be prepared first - the list will include unwanted
users like "bin" or "mysql", mailing list name defined in virtusertable, and
possibly other strange things too.

- Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
[EMAIL PROTECTED] * http://www.greenspot.fi

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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread Ned Slider

Robert Moskowitz wrote:


What kernel version is in 5.3? Still 2.6.18?

there is an IPsec patch now in 2.6.27, BEET mode for ESP.

I need this mode for HIP in kernel mode, and have yet to successfully 
patch the kernel myself (the HIPL team does supply a BEET patch for the 
2.6.18 kernel, but...).


So I do not have a RH account. I suspect corporate does, but I am too 
distant from them to get access.


how might I go about getting attention on the BEET ESP mode?



I'm not 100% sure Robert, but I think this might be the kernel that 
ships with RHEL5.3beta:


http://people.redhat.com/dzickus/el5/120.el5/

You could download it from here and at least take a look at what's in 
the kernel even if you don't have access to the full beta.


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


Re: [CentOS] RHEL 5.3 Beta released, beta-testers needed

2008-10-30 Thread John R Pierce

Ned Slider wrote:


I'm not 100% sure Robert, but I think this might be the kernel that 
ships with RHEL5.3beta:


http://people.redhat.com/dzickus/el5/120.el5/

You could download it from here and at least take a look at what's in 
the kernel even if you don't have access to the full beta.


dont even need to download it, unless you want to look for patches
http://people.redhat.com/dzickus/el5/120.el5/i686/kernel-2.6.18-i686.config

the list of patches is here,
http://people.redhat.com/dzickus/el5/120.el5/src/kernel-2.6.spec


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


Re: [CentOS] [OT] List of all email users

2008-10-30 Thread John R Pierce

Jussi Hirvi wrote:

For real-world use, I guess the source files (in my case aliases,
virtusertable) should be prepared first - the list will include unwanted
users like "bin" or "mysql", mailing list name defined in virtusertable, and
possibly other strange things too.
  



and what about the user accounts in /etc/passwd ?


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


Re: [CentOS] [OT] List of all email users

2008-10-30 Thread Ralph Angenendt
Jussi Hirvi wrote:
> Ralph Angenendt ([EMAIL PROTECTED]) kirjoitteli (30.10.2008 17:12):
>> for i in /etc/aliases /etc/postfix/virtual; do
>> cat $i | grep -Ev "(^#|^\s+$|^$)" | sed -e "s/://" | awk '{print $1}' | \
>> sort -u | tr \\n ,
>> done
> 
> Thanks, that looks neat, and works.
> 
> For real-world use, I guess the source files (in my case aliases,
> virtusertable) should be prepared first - the list will include unwanted
> users like "bin" or "mysql", mailing list name defined in virtusertable, and
> possibly other strange things too.

And (I forgot to say that) - it weeds out users with a ":" in their mail
address, which is completely valid. So you should check that also.

Cheers,

Ralph


pgpMpr2V4oXIt.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS repos in a RHEL machine

2008-10-30 Thread MHR
On Thu, Oct 30, 2008 at 5:02 AM, Matt Hyclak <[EMAIL PROTECTED]> wrote:
>
> The only limitation I have been able to see with RHEL's yum is the lack of
> the priorities plugin. You can use protectbase as a replacement.

Well, sort of - priorities is far more flexible, so protectbase is
sort of a crippled replacement at best.

But, at least it's there

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


Re: [CentOS] Using CentOS repos in a RHEL machine

2008-10-30 Thread Matt Hyclak
On Thu, Oct 30, 2008 at 09:47:23AM -0700, MHR enlightened us:
> > The only limitation I have been able to see with RHEL's yum is the lack of
> > the priorities plugin. You can use protectbase as a replacement.
> 
> Well, sort of - priorities is far more flexible, so protectbase is
> sort of a crippled replacement at best.
> 
> But, at least it's there
> 

Agreed, but because of the way the rhn plugin works in yum, you can't assign
a priority to it. Apparently they've modified the plugin to set protect=1 on
RHN channels, so if you add other repos and don't want core system packages
replaced, set protect=0 and enable protectbase.

Matt

-- 
Matt Hyclak
Systems and Operations 
Office of Information Technology
Ohio University
(740) 593-1222


pgpptAmVGJEgd.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: boot problems

2008-10-30 Thread Scott Silva
on 10-30-2008 5:31 AM Phil Schaffner spake the following:
> Phil Schaffner wrote:
>> At least it was a correctly spelled typo.  Still need that grammar
>> checker!!! Who's working on putting on in Thunderbird?  Evolution?
> 
> s/on/one/ - before someone else jumps on me :-)
I have to read my outgoing mails twice before I hit send!  ;-D



-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: changing partition priority on install

2008-10-30 Thread Scott Silva
on 10-29-2008 5:54 PM Monty Shinn spake the following:
> Phil Schaffner wrote:
> 
> 
>> A GRUB boot CD (or floppy) will allay the above concerns.  Do an "info
>> grub" to find out how to create one.  Can also boot from install media
>> to recover a lost GRUB.
>>
>>> I did not find an option during the install prep to re-locate grub to
>>> the MBR of /dev/sdb.  I probably should try the text-based installer
>>> to see if there are more options.
>>
>> It is there in the GUI installer - can't remember exactly where
>> without going through the install, but something like an "Advanced"
>> button on a configuration page toward the end of the process.
>>
>>> Heck, I may just remove the 9550 board until the initial os install
>>> is completed.  That should accomplish what I am trying to achieve. 
>>> Just seems like there should be a more elegant way of doing this.
>>>
>>> I am installing 5.1 because I have the isos on hand.  I was just
>>> going to let yum update me to 5.2...
>>
>> That should work.
>>
>>> Thanks for your help,
>>
>> OK
>>
>> Phil
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> 
> Phil,
> 
> Thanks for your input.  I did find the location of the grub install
> modification.  Strange thing is, when I restarted the install, grub
> defaulted to the MBR of /dev/sdb.  I did not change any hardware or bios
> settings in between attempts.  I have no idea why the change happened.
> 
> Once the install was completed, the OS partition showed up as /dev/sda,
> even though it showed up as /dev/sdb during the installation process.
> Grub is apparently happily residing in the MBR of /dev/sda.  Again, I
> can't explain it.
> 
> If you (or anyone else) has insights to this behaviour, or can point me
> to where I can read up on it, I would appreciate it.
> 
> Thanks again for all your help.
> 
> Monty
The only thing I can add is since you have 2 different families of 3ware
cards, one is using the 3w-9xxx driver and the other is using the 3w-
driver. Whichever driver that loads first will determine which card
initializes first.  First array gets /dev/sda. I think there are ways to force
a driver to load first, you have to adjust the alias scsi_hostadapter lines in
/etc/modprobe.conf in the order you want them to load like;

alias scsi_hostadapter 3w-
alias scsi_hostadapter1 3w-9xxx

and then make a new initrd.

Since yours seems ok now, this is for posterity.



-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Desktop Choice Centos 4/Centos 5 or Fedora 9

2008-10-30 Thread vandaman2002-rt
I have a choice of CentOS 4/5 and Fedora 9 on a laptop. 
I have not use CentOS 5 on a desktop but have used 
CentOS 4 and Fedora 9. I found the Fedora Gnome not 
as appealing as the CentOS 4 clearlooks. Any opinions
from someone who has used CentOS 4/5 and Fedora?

I'm not a KDE fan so KDE users need not reply.

Regards,
Vandaman.




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


Re: [CentOS] no network kernel boot option

2008-10-30 Thread Fabian Arrotin

Jerry Geis a écrit :

I am looking for a kernel boot option that specifies "nonetwork"
I have found in searching the nousb - nopcmcia etc but I have not 
found one for nonetwork.

Is there one and what is it called?

You can create profiles with system-config-network if needed and modify 
grub to reflect which network profile you want to use .. But i admit 
that since NetworkManager is there i don't use the profiles anymore : 
just use NM and just say that the nic doesn't have to start at boot 
(onboot=no) : if there is a connection detected, NM will use it

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


Re: [CentOS] mysql 4 > 5 export import issue

2008-10-30 Thread Filipe Brandenburger
Hi,

On Thu, Oct 30, 2008 at 09:14, Tom Brown <[EMAIL PROTECTED]> wrote:
> I am migrating a mailserver from CentOS 4 to 5 and i am migrating the db's
> over from mysql-max-4.1.13 to mysql-server-5.0.45-7.el5
> during the mysql import it fails with this...
> ERROR 1062 (23000) at line 129: Duplicate entry '3-r��?�' for key 1

The characters look binary, so this might be a problem of conversion
latin1 -> utf8 or vice versa.

Try dumping with:

mysqldump --default-character-set=binary ... >/path/to/dumpfile

And loading the dump with:

mysql --default-character-set=binary ... >/path/to/dumpfile

Let us know if that works.

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


[CentOS] Re: Desktop Choice Centos 4/Centos 5 or Fedora 9

2008-10-30 Thread Scott Silva
on 10-30-2008 11:11 AM vandaman2002-rt-/[EMAIL PROTECTED]
spake the following:
> I have a choice of CentOS 4/5 and Fedora 9 on a laptop. 
> I have not use CentOS 5 on a desktop but have used 
> CentOS 4 and Fedora 9. I found the Fedora Gnome not 
> as appealing as the CentOS 4 clearlooks. Any opinions
> from someone who has used CentOS 4/5 and Fedora?
> 
> I'm not a KDE fan so KDE users need not reply.
> 
> Regards,
> Vandaman.
> 
> 
>   
First thing is to see if your laptop will support CentOS. That might be the
determining factor. Maybe try the live cd's

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] VMWare Sandbox

2008-10-30 Thread Thom Paine
I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.

My current server is RHEL3, which is getting dated, and I think that I
should refresh this server entirely in the move to ldap.
We need to have an ldap server for publishing email addresses for a
VPN for a nursing home that the upstream can harvest and we can browse
to send confidential patient records.

RHEL3 prollie won't cut it, so I'm considering moving to CentOS5.

If I get a nice working test environment working, I wondered about
running the server on VMWare, because the hardware will likely need to
be refreshed in 2 years anyways. Copying the vmware file and the data
to a new server would make for a fast upgrade.

Any feedback on what I am attempting to do here? Any other
recommendations on how I should tackle this?

Currently I'm using Samba 3 with passdb. It's nothing fancy, but it works.
We have about 20 XP machines here.

The server also hosts mail as well.

-- 
-=/>Thom
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: no network kernel boot option

2008-10-30 Thread Jerry Geis


Jerry Geis a écrit :
>/ I am looking for a kernel boot option that specifies "nonetwork"
/>/ I have found in searching the nousb - nopcmcia etc but I have not 
/>/ found one for nonetwork.

/>/ Is there one and what is it called?
/>/
/You can create profiles with system-config-network if needed and modify 
grub to reflect which network profile you want to use .. But i admit 
that since NetworkManager is there i don't use the profiles anymore : 
just use NM and just say that the nic doesn't have to start at boot 
(onboot=no) : if there is a connection detected, NM will use it
  
Thanks I was aware of those. however I was looking for a method on the 
kernel
boot line (as in I am installing and I dont want the network driver to 
load).


I can accomplish this with noprobe  but then everything is gone.
There are individual items like nousb nopcmcia and I was looking and 
have not found

one for nonetwork.

Thanks,

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


Re: [CentOS] Re: no network kernel boot option

2008-10-30 Thread Phil Schaffner

Jerry Geis wrote:
...
Thanks I was aware of those. however I was looking for a method on the 
kernel
boot line (as in I am installing and I dont want the network driver to 
load).


I can accomplish this with noprobe  but then everything is gone.
There are individual items like nousb nopcmcia and I was looking and 
have not found

one for nonetwork.


Closest kernel boot parameter seems to be the netdev= option.  Could 
perhaps use it with the dummy.ko device - don't know the details of how 
that would work.


See:
/usr/share/doc/kernel-doc-*/Documentation/kernel-parameters.txt
/usr/share/doc/kernel-doc-*/Documentation/networking/net-modules.txt

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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Phil Schaffner

Thom Paine wrote:

I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.


Yes.


My current server is RHEL3, which is getting dated, and I think that I
should refresh this server entirely in the move to ldap.
We need to have an ldap server for publishing email addresses for a
VPN for a nursing home that the upstream can harvest and we can browse
to send confidential patient records.

RHEL3 prollie won't cut it, so I'm considering moving to CentOS5.

If I get a nice working test environment working, I wondered about
running the server on VMWare, because the hardware will likely need to
be refreshed in 2 years anyways. Copying the vmware file and the data
to a new server would make for a fast upgrade.


Should work if you can afford the performance hit of VMware overhead. 
Would probably want to use bridged networking.



Any feedback on what I am attempting to do here? Any other
recommendations on how I should tackle this?

Currently I'm using Samba 3 with passdb. It's nothing fancy, but it works.
We have about 20 XP machines here.

The server also hosts mail as well.


Does not seem like a big load.  Pretty easy to give it a try.  You can 
even DL a CentOS VMware pre-built image for Player and bypass installation:


http://www.thoughtpolice.co.uk/vmware/
http://www.vmware.com/appliances/directory/

Phil


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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Akemi Yagi
On Thu, Oct 30, 2008 at 1:10 PM, Phil Schaffner
<[EMAIL PROTECTED]> wrote:

> Does not seem like a big load.  Pretty easy to give it a try.  You can even
> DL a CentOS VMware pre-built image for Player and bypass installation:
>
> http://www.thoughtpolice.co.uk/vmware/
> http://www.vmware.com/appliances/directory/

For a CentOS VMware pre-built image, look no further ...

http://people.centos.org/tru/vmware/

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


Re: [CentOS] Possibly OT: intermittently long response times, when connecting to host

2008-10-30 Thread David Miller
--snip--
>
> I'm working with some folks to develop a web site with a very similar
> configuration (Apache, Drupal, MySQL, not sure which Linux distro is
> underneath it all though) that's hosted by IX web hosting.  We are seeing
> very similar behavior.  It has gotten better since we complained to IX but
> we still see a significant lag the first time the site loads.  The fast load
> on subsequent visits could be explained by Drupal doing some caching of
> needed items so it doesn't have to go to the database.
>
> The initial site load time became much more noticeable after IX took some
> kind of hit on their DB server.  All we know is the site suddenly couldn't
> connect to the database, they fixed something on their end and the database
> came back but we've had the long lag for first load ever since.
>
> BTW, pleased to make your acquaintance, Dave.
>
> Cheers,
> Dave Miller
>
> --
> Politics, n. Strife of interests masquerading as a contest of principles.
> -- Ambrose Bierce
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

We were thinking along similar lines and turned off caching. We also
added the drupal 'devel' module. It can be set up to show all the DB
calls a page is making. So far some slow queries, but nowhere near
explaining the whole 10-12s.

So far I've been able to rule out apache, php rendering, and DNS. It's
almost definitely a MySQL connection issue, and I'm reasonably certain
it's a php-mysql issue. Interestingly we've copied over the drupal
install to Fedora 8 and Fedora 9 boxes and it runs like a champ. I've
got a basic Drupal 6.5 install on my desktop (CentOS 5.2 x86_64) and
it runs well. I'm in the process of installing CentOS 5.2 on another
ESX VM to see if "something" was installed wrong, etc. Not ruling out
operator error here.

Nice to meet you as well, Dave. There certainly are a few of us
floating around.

Thanks.
David M Miller
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] nfs mounted /home and selinux

2008-10-30 Thread Marc Wiatrowski
I'm trying to set the context on an nfs mounted /home.  I believe
exactly like in Redhat's Deployment Guide at

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Deployment_Guide/ch45s02s03.html


On my system running CentOS 5.2:

$ ls -alZ /home
drwxr-xr-x  root root system_u:object_r:home_root_t.
drwxr-xr-x  root root system_u:object_r:root_t ..

$ mount -t nfs -o context=user_u:object_r:user_home_dir_t \
 server001a:/vol/vol01/home /home

$ ls -alZ /home
drwxrwxr-x  root rootsystem_u:object_r:nfs_t  .
drwxr-xr-x  root rootsystem_u:object_r:root_t ..
drwx--  fred users   system_u:object_r:nfs_t  fred
drwx--  mike users   system_u:object_r:nfs_t  mike
drwx--  aliceusers   system_u:object_r:nfs_t  alice

$ mount -l
server001a:/vol01/home on /home type nfs
(rw,context="user_u:object_r:user_home_dir_t:s0",addr=10.1.1.11)


Shouldn't the users be set to user_u:object_r:user_home_dir_t?  I feel
like I am missing something simple...

I don't see any avc or related syslog messages and the nfs server is an
older netapp if that matters.

thanks,
marc

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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Rainer Duffner


Am 30.10.2008 um 20:37 schrieb Thom Paine:


I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.



You can use either VMware Server 2.0 or VMware VI3i, provided your  
hardware is supported.


VMware Server needs some OS as base (CentOS5 should do well), but 3i  
goes on the bare metal - it's based on RHEL, too, though.

4 GB of RAM is the absolute minimum.
I wouldn't virtualize all storage. Use a separate server and NFS mount  
all storage from that, if you can (maybe Samba is the exception - SMB- 
exporting NFS-mounted stuff makes Samba even more tricky than it  
already is).
But the less disk-I/O you've got to virtualize, the higher the overall  
performance you can yield.
You can virtualize mail, but only if it doesn't do much I/O. Else it  
will be painfully slow.

What's your storage?
How do you plan to backup stuff?

CentOS is not officially supported by VMware (probably never will).
If you have a problem, you're on your own.
And VMware is not open-source.

But I'm not sure if there's actually anyting in the market that is  
better than VMware (for full virtualization).



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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Phil Schaffner

Akemi Yagi wrote:
...

For a CentOS VMware pre-built image, look no further ...

http://people.centos.org/tru/vmware/


Akemi,

Did not know about those, and can't find any links from the CentOS home 
page or the Wiki.  Am I missing something, or are these TODO items for 
Johnny and the docs team?  Would be nice to see them prominently 
"advertised".


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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Niki Kovacs

Thom Paine a écrit :

I need to experiment with ldap for a site I manage, and wondered if
vmware would be a good way to go for some testing.



I do a lot of sandbox testing, and VirtualBox is just great for the job!

Cheers,

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


[CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Linuxguy123
I've been a RH/Fedora guy since the RH8 days.  When Fedora came along, I
moved to it, but its been a bit painful beta testing software all the
time.   I ran Ubuntu for a while, but I found their package management
to be difficult... I do a lot of technical work, development and loading
and building special stuff.  I much prefer RPMs over other methods of
package distribution.

Presently I'm miffed with the Fedora community.  Back in July I blindly
upgraded to F9 because I was in need of a few things that it shipped
with.  Little did I know it contained KDE4 or more precisely a rough,
unfinished version of KDE4.  I stuck with it, however, and upgraded to
KDE4.1 and finally to KDE 4.1.2.

About a month ago I received a new laptop.  Being it was a new machine,
I did a fresh install of F8 on it, thus dumping KDE4.

While all has been well since then, I am watching the KDE4 release
schedule and noting that I don't think KDE4 is going to be done, ie
polished and ready to use until late spring, 2009.  I've also noted the
Fedora is going to abandon support for F8 before Christmas.  As F9
contains a very bleeding edge version of KDE4, I am loathe to upgrade to
it.   

Thus I am shopping for a new OS to solve this problem and the problem of
continually being a beta tester if one is an up to date Fedora user.
With Fedora it seems that one just gets a new installation working
nicely when support for it is dropped and the cycle starts all over
again.  I'd like to get away from that.

So... questions.

a) I am running F8 right now.   Most, but not all, of the package
versions seem about the same as CentOS 5.2.   Kernels are the notable
exception to this rule.  Could I forego F8 updates for a while, to leave
CentOS catch up, and then add the CentOS repository to my repo list and
"update" to the CentOS via yum ?

b) One of the things I really need are up to date (bleeding edge)
kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
be running 2.6.18 kernels.  I do know how to build my own kernels, but
that is a pain.

Does someone keep a separate repository that has more modern kernels ?
Can yum be configured to use only specific packages (ie kernels) from a
specific repository ?

c) Is there any problem with using the livna repository for various
things that I might need ?  I notice that they don't have a CentOS
specific repository, but would it be OK to point to F8 or so and use
those RPMs ?

Thanks

I'm listening if you have any other comments or advice on my situation. 

LG

 





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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Akemi Yagi
On Thu, Oct 30, 2008 at 2:17 PM, Phil Schaffner
<[EMAIL PROTECTED]> wrote:
> Akemi Yagi wrote:
> ...
>>
>> For a CentOS VMware pre-built image, look no further ...
>>
>> http://people.centos.org/tru/vmware/
>
> Akemi,
>
> Did not know about those, and can't find any links from the CentOS home page
> or the Wiki.  Am I missing something, or are these TODO items for Johnny and
> the docs team?  Would be nice to see them prominently "advertised".
>
> Phil

These vmware images have been built, maintained and provided by Tru
Huynh.  I don't think it's been officially announced.  I agree this
should be more advertised.

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


Re: [CentOS] Re: Desktop Choice Centos 4/Centos 5 or Fedora 9

2008-10-30 Thread Nifty Cluster Mitch
On Thu, Oct 30, 2008 at 11:32:48AM -0700, Scott Silva wrote:
> on 10-30-2008 11:11 AM vandaman2002-rt-/[EMAIL PROTECTED]
> spake the following:
> > I have a choice of CentOS 4/5 and Fedora 9 on a laptop. 
> > I have not use CentOS 5 on a desktop but have used 
> > CentOS 4 and Fedora 9. I found the Fedora Gnome not 
> > as appealing as the CentOS 4 clearlooks. Any opinions
> > from someone who has used CentOS 4/5 and Fedora?
> > 
> > I'm not a KDE fan so KDE users need not reply.
> > 
> > Regards,
> > Vandaman.
> > 
> > 
> >   
> First thing is to see if your laptop will support CentOS. That might be the
> determining factor. Maybe try the live cd's

Check the distro hardware support pages.
Wireless?
Other hardware like graphics chips?

New laptops tend to have new hardware -- F9 or even F10 may be necessary
to get rolling with a minimum of effort on new hardware.   I tend to work
with install media that is about 6 months newer than my hardware based
on the assumption that most issues have been resolved.  With this in mind
enough works well enough that I can fix the remaining bits.   I have had
to resort to text mode install, USB ethernet hubs, kickstart tricks and more
when I stray and get too ambitious.

As Scott wrote... try a live CD that may be the fastest way to discover 
the issues.

-- 
T o m  M i t c h e l l 
Found me a new hat, now what?

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


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Stephen John Smoogen
On Thu, Oct 30, 2008 at 1:51 PM, Linuxguy123 <[EMAIL PROTECTED]> wrote:



> Thus I am shopping for a new OS to solve this problem and the problem of
> continually being a beta tester if one is an up to date Fedora user.
> With Fedora it seems that one just gets a new installation working
> nicely when support for it is dropped and the cycle starts all over
> again.  I'd like to get away from that.
>
> So... questions.
>
> a) I am running F8 right now.   Most, but not all, of the package
> versions seem about the same as CentOS 5.2.   Kernels are the notable
> exception to this rule.  Could I forego F8 updates for a while, to leave
> CentOS catch up, and then add the CentOS repository to my repo list and
> "update" to the CentOS via yum ?
>

It would not work too well.  For stability you would be better
installing CentOS-5 as the glibc, etc in F-8 are much newer than EL-5.

> b) One of the things I really need are up to date (bleeding edge)
> kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
> be running 2.6.18 kernels.  I do know how to build my own kernels, but
> that is a pain.
>

CentOS is a bug-for-bug rebuild of Red Hat Enterprise Linux. RHEL-5
will always be 2.6.18 so this does not look this would be a good
match. Using bleeding edge kernels on CentOS-5 are up to the user to
build and debug. Not sure how many applications you would have to
update to work with a bleeding edge kernel: udev, hal, dbus, etc would
all need updates and the programs relying on them would need
updates... recurse until you run out of packages.


> c) Is there any problem with using the livna repository for various
> things that I might need ?  I notice that they don't have a CentOS
> specific repository, but would it be OK to point to F8 or so and use
> those RPMs ?
>

No.. you would need to use EL-5 repository.




-- 
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Karanbir Singh

Akemi Yagi wrote:

These vmware images have been built, maintained and provided by Tru
Huynh.  I don't think it's been officially announced.  I agree this
should be more advertised.


As long as its clearly highlighted that they wont / dont work with 
Xen... I suppose they are not vmware specific either, since they help 
under kvm / xVM / qemu as well. So, changing the name to kernel-vmware 
might not be a good idea either.


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Karanbir Singh

Linuxguy123 wrote:

b) One of the things I really need are up to date (bleeding edge)
kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
be running 2.6.18 kernels.  I do know how to build my own kernels, but
that is a pain.

Does someone keep a separate repository that has more modern kernels ?
Can yum be configured to use only specific packages (ie kernels) from a
specific repository ?


Why not step up and offer to maintain a bleeding edge kernel in the 
centos-plus repos ?


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Scott Silva
on 10-30-2008 12:51 PM Linuxguy123 spake the following:
> I've been a RH/Fedora guy since the RH8 days.  When Fedora came along, I
> moved to it, but its been a bit painful beta testing software all the
> time.   I ran Ubuntu for a while, but I found their package management
> to be difficult... I do a lot of technical work, development and loading
> and building special stuff.  I much prefer RPMs over other methods of
> package distribution.
> 
> Presently I'm miffed with the Fedora community.  Back in July I blindly
> upgraded to F9 because I was in need of a few things that it shipped
> with.  Little did I know it contained KDE4 or more precisely a rough,
> unfinished version of KDE4.  I stuck with it, however, and upgraded to
> KDE4.1 and finally to KDE 4.1.2.
> 
> About a month ago I received a new laptop.  Being it was a new machine,
> I did a fresh install of F8 on it, thus dumping KDE4.
> 
> While all has been well since then, I am watching the KDE4 release
> schedule and noting that I don't think KDE4 is going to be done, ie
> polished and ready to use until late spring, 2009.  I've also noted the
> Fedora is going to abandon support for F8 before Christmas.  As F9
> contains a very bleeding edge version of KDE4, I am loathe to upgrade to
> it.   
> 
> Thus I am shopping for a new OS to solve this problem and the problem of
> continually being a beta tester if one is an up to date Fedora user.
> With Fedora it seems that one just gets a new installation working
> nicely when support for it is dropped and the cycle starts all over
> again.  I'd like to get away from that.
> 
> So... questions.
> 
> a) I am running F8 right now.   Most, but not all, of the package
> versions seem about the same as CentOS 5.2.   Kernels are the notable
> exception to this rule.  Could I forego F8 updates for a while, to leave
> CentOS catch up, and then add the CentOS repository to my repo list and
> "update" to the CentOS via yum ?
Actually, CentOS 5 branched from Fedora 6. At that point they did a freeze on
changes to the OS.
> 
> b) One of the things I really need are up to date (bleeding edge)
> kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
> be running 2.6.18 kernels.  I do know how to build my own kernels, but
> that is a pain.
What do you need in the bleeding edge kernels? If you are looking at security
updates, those get backported very regularly. If you are looking for drivers,
that is a different story. The Enterprise distros tend to stay at the dull
side of the knife. The bleeding edge is not where you want to be when you want
a server up for "five nines".

> 
> Does someone keep a separate repository that has more modern kernels ?
> Can yum be configured to use only specific packages (ie kernels) from a
> specific repository ?

You have to build your own and accept the responsibility.
> 
> c) Is there any problem with using the livna repository for various
> things that I might need ?  I notice that they don't have a CentOS
> specific repository, but would it be OK to point to F8 or so and use
> those RPMs ?
> 
There is only a problem if you don't mind breaking it. CentOS 5 was based on
Fedora 6. Fedora 8 is way ahead.  If you want something newer, CentOS 6 might
be out in mid-2009. It is speculated to be based on Fedora 10 or so, but I'm
sure that RedHat will make it as stable as possible. After all, the more paid
support contracts that you "don't" have to actually fix anything, the bigger
your profits are.

You can try the live cd of CentOS 5 and see if it works with your lappy.
> Thanks
> 
> I'm listening if you have any other comments or advice on my situation. 
> 
You can have stability, or bleeding edge, but usually not both.
It is like asking for a car that runs like a Ferrari, but uses gasoline like a
Prius. You have to make choices.


-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Karanbir Singh

Scott Silva wrote:

Actually, CentOS 5 branched from Fedora 6. At that point they did a freeze on
changes to the OS.


That is not true, there are plenty of changes to the kernel, including 
rebases's, updates, fix's and even new packages being added in and 
obsolete ones being removed.


CentOS-5 today has little in functional terms common to fedora6. There 
are still some leaf nodes from those days, but saying something like 
'freeze on changes to the OS' is just wrong.


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Dag Wieers

On Thu, 30 Oct 2008, Karanbir Singh wrote:


Linuxguy123 wrote:


 b) One of the things I really need are up to date (bleeding edge)
 kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
 be running 2.6.18 kernels.  I do know how to build my own kernels, but
 that is a pain.

 Does someone keep a separate repository that has more modern kernels ?
 Can yum be configured to use only specific packages (ie kernels) from a
 specific repository ?


Why not step up and offer to maintain a bleeding edge kernel in the 
centos-plus repos ?


That would not be a bad idea. I always wondered how well a recent kernel 
would work with CentOS 5, but I never took the time to test a Fedora 
kernel on my dependable boxes.


A project with this focus might indeed be useful.

--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread Dag Wieers

On Thu, 30 Oct 2008, Akemi Yagi wrote:


On Thu, Oct 30, 2008 at 2:17 PM, Phil Schaffner
<[EMAIL PROTECTED]> wrote:

Akemi Yagi wrote:
...


For a CentOS VMware pre-built image, look no further ...

http://people.centos.org/tru/vmware/


Akemi,

Did not know about those, and can't find any links from the CentOS home page
or the Wiki.  Am I missing something, or are these TODO items for Johnny and
the docs team?  Would be nice to see them prominently "advertised".


These vmware images have been built, maintained and provided by Tru
Huynh.  I don't think it's been officially announced.  I agree this
should be more advertised.


I guess this should become part of the virtualization SIG. Maybe a good 
listing of different virtualization projects on the SIG page would be a 
good start ?


I don't know if Daniel is still involved, but I am sure that help from 
others would be very helpful !


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Dag Wieers

On Fri, 31 Oct 2008, Dag Wieers wrote:


On Thu, 30 Oct 2008, Karanbir Singh wrote:

 Linuxguy123 wrote:

>   b) One of the things I really need are up to date (bleeding edge)
>   kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
>   be running 2.6.18 kernels.  I do know how to build my own kernels, but
>   that is a pain.
> 
>   Does someone keep a separate repository that has more modern kernels ?

>   Can yum be configured to use only specific packages (ie kernels) from a
>   specific repository ?

 Why not step up and offer to maintain a bleeding edge kernel in the
 centos-plus repos ?


That would not be a bad idea. I always wondered how well a recent kernel 
would work with CentOS 5, but I never took the time to test a Fedora kernel 
on my dependable boxes.


A project with this focus might indeed be useful.


Let me add that nothing should be holding you (anyone) from starting a 
project by sending an email with intentions, get hold of a wiki-page to 
list your ideas and progress and motivating people to help and test.


Whether that is a bleeding-edge kernel project, a new tool to migrate 
sideways to and from RHEL, or a design, documentation or translation 
project. I am sure your effort is useful, but often it needs commitment 
and determination to get things going.


--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Phil Schaffner
On Thu, 2008-10-30 at 22:33 +, Karanbir Singh wrote:
> Linuxguy123 wrote:
> > b) One of the things I really need are up to date (bleeding edge)
> > kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
> > be running 2.6.18 kernels.  I do know how to build my own kernels, but
> > that is a pain.
> > 
> > Does someone keep a separate repository that has more modern kernels ?
> > Can yum be configured to use only specific packages (ie kernels) from a
> > specific repository ?
> 
> Why not step up and offer to maintain a bleeding edge kernel in the 
> centos-plus repos ?

IMHO should be a separate repo, or at least a naming scheme that would
let people still use the "traditional" centos-plus kernels (derived from
the same kernel versions with additional components being turned on)
would be required.  Otherwise there would be too much risk of people
unintentionally updating to bleeding-edge kernels.

Along these lines, it might be a good idea to add some of the other more
"modern" features for those who want them and understand the risks -
again in a clearly specified bleeding-edge repo (or repos) - as long as
people are willing to step up and help with building, testing, and
maintaining packages.  From recent requests on the list there seems to
be some pent-up demand for newer features.  This could help establish
CentOS as both a platform that can be used by those who want EL
stability but don't need the support, and as a "bridge" for testing new
features on a stable base.

Phil


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


Re: [CentOS] OT - Please don't feed the Troll(s)

2008-10-30 Thread David Mackintosh
On Wed, Oct 29, 2008 at 02:10:23PM -0400, William L. Maltby wrote:
> I fully understand the emotional need to respond to one who throws
> around terms like "Communist", "Tyrannical", etc. even if ostensibly

[...]

> My feeling was the OP is either an ignorant, unappreciative,
> self-centered, and emotionally immature person that expects all projects

You tripped the irony detector.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 [EMAIL PROTECTED]  | http://www.xdroop.com


pgpAooRMhr8IO.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Tired of Fedora, shopping for a new OS. Upgrade from F8 ? CentOS kernel versions ?

2008-10-30 Thread Stephen John Smoogen
On Thu, Oct 30, 2008 at 7:37 PM, Phil Schaffner <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-10-30 at 22:33 +, Karanbir Singh wrote:
>> Linuxguy123 wrote:
>> > b) One of the things I really need are up to date (bleeding edge)
>> > kernels.  For example, F8 has 2.6.26 kernels, whereas CentOS appears to
>> > be running 2.6.18 kernels.  I do know how to build my own kernels, but
>> > that is a pain.
>> >
>> > Does someone keep a separate repository that has more modern kernels ?
>> > Can yum be configured to use only specific packages (ie kernels) from a
>> > specific repository ?
>>
>> Why not step up and offer to maintain a bleeding edge kernel in the
>> centos-plus repos ?
>
> IMHO should be a separate repo, or at least a naming scheme that would
> let people still use the "traditional" centos-plus kernels (derived from
> the same kernel versions with additional components being turned on)
> would be required.  Otherwise there would be too much risk of people
> unintentionally updating to bleeding-edge kernels.
>

I think it would need to be a seperate repo for other reasons... I
believe lots of userspace/kernelspace changed in the 2.6.22 time frame
so a lot of sub-packages need to handle to.



-- 
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread nate
Rainer Duffner wrote:

> VMware Server needs some OS as base (CentOS5 should do well), but 3i
> goes on the bare metal - it's based on RHEL, too, though.

ESX is not based on linux at all. ESX(not ESXi) includes
a service console that is based off of RHEL-3 though
that is for management only, virtualization runs entirely
within the hypervisor which is transparent to the user.

There is also a linux compatibility layer I believe for
drivers.

ESXi did away with the service console concept almost
entirely.

nate

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


Re: [CentOS] VMWare Sandbox

2008-10-30 Thread John R Pierce

nate wrote:

ESX is not based on linux at all. ESX(not ESXi) includes
a service console that is based off of RHEL-3 though
that is for management only, virtualization runs entirely
within the hypervisor which is transparent to the user.
  


I've always been curious, in ESX, what manages the physical IO devices, 
what provides the actual hardware drivers for things like fiberchannel 
cards, network adapters, and so forth?


does ESX have all its own direct hardware support?

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


Re: [CentOS] Apparently no swap configured

2008-10-30 Thread Ian Masters
Hello,

Just in case anyone wants to follow my original problem in the future, I
resolved my no swap problem according to Nate's advice as follows:

1. Confirmed that /dev/VolGroup00/swap was not in use by the system
2. Ran the following commands:
mkswap /dev/VolGroup00/swap
swapon /dev/VolGroup00/swap
3. Added the following to fstab:
/dev/VolGroup00/swap swapswapdefaults
 0 0

Swap partition now showing as follows, using 'free':
 total   used   free sharedbuffers cached
Mem:   3960252 4632083497044  0  30876 350164
-/+ buffers/cache:  821683878084
Swap:  2031608  02031608

Thanks to the list and Nate in particular for the assistance.

Ian Masters


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