Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan

> which show your swap partition, whereas on my problem system, 'swapon
> -s' produces no output at all.
> 

Maybe you configured the swap lv but forgot to tell the installer to use
it as swap.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread John R Pierce

Ian Masters wrote:

which show your swap partition, whereas on my problem system, 'swapon
-s' produces no output at all.
  


ok, that confirms your supposition, you have no swap configured.


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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote:
> Maybe you configured the swap lv but forgot to tell the installer to use
> it as swap.

Well that's entirely possible. The logical volume manager had me fairly
confused.

I would have thought the installer might have told me that I had not set
its file system type ...

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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
Ian Masters wrote:
> Christopher Chan wrote:
>> Maybe you configured the swap lv but forgot to tell the installer to use
>> it as swap.
> 
> Well that's entirely possible. The logical volume manager had me fairly
> confused.
> 
> I would have thought the installer might have told me that I had not set
> its file system type ...
> 

Well...it won't do that...but it should raise a flag on no swap being
configured after you were done partitioning and assigning/setting
filesystems.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote:
> Well...it won't do that...but it should raise a flag on no swap being
> configured after you were done partitioning and assigning/setting
> filesystems.

As far as I can remember there was no such 'flag'. That's precisely the
kind of thing that would have made me jittery at the install stage.

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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan
Ian Masters wrote:
> Christopher Chan wrote:
>> Well...it won't do that...but it should raise a flag on no swap being
>> configured after you were done partitioning and assigning/setting
>> filesystems.
> 
> As far as I can remember there was no such 'flag'. That's precisely the
> kind of thing that would have made me jittery at the install stage.
> 

Was it Centos 5 that you installed? IIRC, the Centos/RHEL 4 installer
would have asked you about the lack of swap assigned. I have only done
one Centos 5 installation and I did not miss telling it to use the swap
lv as swap so I cannot say whether the Centos 5 installer will do that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Ian Masters
Christopher Chan wrote:
> Was it Centos 5 that you installed? IIRC, the Centos/RHEL 4 installer
> would have asked you about the lack of swap assigned. I have only done
> one Centos 5 installation and I did not miss telling it to use the swap
> lv as swap so I cannot say whether the Centos 5 installer will do that.

It was CentOS 5.2.

To me it seems slightly unlikely that functionality in v4 would be
missing in v5. Having said that, it was my first CentOS install, and
first experience of using LVM.

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


Re: [CentOS] boot problems

2008-10-28 Thread fabian dacunha
dear All.

Sorry for my earlier mail which i was not able to explain correctly

as i said b4
i had installed centos 5.2 to be as a squid proxy server and it was
working fine for over a month or so but 3 days back the machine after a
reboot jus refused to boot.

after the post it tries to boot and the screen jus dispaly the below message

GNU Grub version 0.97
[Minimal Bash like line editing is supported .

guess grub cant find the OS file ..

how could i possible go about this

would really apprecite your help n suggestions


regards

Fabian

once again sorry for my earlier email







> On Mon, Oct 27, 2008 at 7:31 AM, fabian dacunha <[EMAIL PROTECTED]>
> wrote:
>> Dear All,
>>
>> I am quite new to centos
>>
>> i had installed centos 5.2 to be as a squid proxy server and it was
>> working fine for over a month or so
>>
>> but 3 days back the machine after a reboot jus refused to boot
>>
>> it jus was goin to the grub prompt
>>
>
> Which one?
>
>> i wd really apprecite if someone cd help me ..
>>
>> cd i boot from centos boot cd n go to rescue mode and check grub
>>
> Yes, but you probably need to provide more info to get the right answers.
>
>> 2) if grub is OK how cd i reinstall centos without destroying data
>>
>
> Let's take it one step at a time.
>
> mhr
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Re: Contents of CentOS digest...

2008-10-28 Thread dika ye

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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread William L. Maltby

On Tue, 2008-10-28 at 00:21 -0700, John R Pierce wrote:
> Ian Masters wrote:
> > which show your swap partition, whereas on my problem system, 'swapon
> > -s' produces no output at all.
> >   
> 
> ok, that confirms your supposition, you have no swap configured.

All this raised a question in my mind. What's the value of have a swap
managed by LVM? ISTM that: 1) swap is usually configured to be the
maximum needed (depending on system usage and who you're talking to, 1,
2 times real memory usually), 2) additional overhead with no gain (I
know several claim little to no overhead but background tells me there
is always *some* even if small), 3) if you *do* increase this LV size to
increase swap size, another mkswap is needed to "map" the new space, 4)
more swap can be added by defining more LVs for swap, a partition
dedicated to swap or a swap file with a file system and then mkswap and
activating it.

I always just define a partition for that, flag it as swap in the
partitioning process and go with that set up. I can envision the
convenience of being able to temporarily disable swap, slapping a file
system on it and addressing some need. Or even destroying the LV and
freeing the PV for other use. But that sounds sort of far-fetched.

My *guess* is that the OP failed to mark a partition type of 82 for swap
during install and thus ended up with this odd configuration. It's only
a guess though.

Wouldn't it be better to vgremove/pvremove that thing and flag it as
type 82, mkswap, etc.?

> 

-- 
Bill

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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread William L. Maltby

On Tue, 2008-10-28 at 00:21 -0700, John R Pierce wrote:
> Ian Masters wrote:
> > which show your swap partition, whereas on my problem system, 'swapon
> > -s' produces no output at all.
> >   
> 
> ok, that confirms your supposition, you have no swap configured.

Although I disagree, some on this list have proclaimed that a "properly
configured" (for the intended use I guess) system needs no swap.

> 

-- 
Bill

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


[CentOS] CESA-2008:0965 Important CentOS 4 i386 lynx - security update

2008-10-28 Thread Johnny Hughes
CentOS Errata and Security Advisory 2008:0965

https://rhn.redhat.com/errata/RHSA-2008-0965.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

i386:
lynx-2.8.5-18.2.el4_7.1.i386.rpm

src:
lynx-2.8.5-18.2.el4_7.1.src.rpm



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


[CentOS] Checking if a user is 'Disabled'

2008-10-28 Thread Tom Brown

Hi

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?


thanks

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


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

2008-10-28 Thread centos-announce-request
y running the command:

yum update lynx

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081027/c9c04884/attachment-0001.bin

--

Message: 5
Date: Tue, 28 Oct 2008 05:37:15 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0897 Moderate CentOS 4 x86_64
ruby -  security update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0897

https://rhn.redhat.com/errata/RHSA-2008-0897.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

x86_64:
irb-1.8.1-7.el4_7.1.x86_64.rpm
ruby-1.8.1-7.el4_7.1.x86_64.rpm
ruby-devel-1.8.1-7.el4_7.1.x86_64.rpm
ruby-docs-1.8.1-7.el4_7.1.x86_64.rpm
ruby-libs-1.8.1-7.el4_7.1.i386.rpm
ruby-libs-1.8.1-7.el4_7.1.x86_64.rpm
ruby-mode-1.8.1-7.el4_7.1.x86_64.rpm
ruby-tcltk-1.8.1-7.el4_7.1.x86_64.rpm

SRC:
ruby-1.8.1-7.el4_7.1.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081028/28b2fc42/signature-0001.bin

--

Message: 6
Date: Tue, 28 Oct 2008 05:37:20 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0897 Moderate CentOS 4 i386 ruby
-   security update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0897

https://rhn.redhat.com/errata/RHSA-2008-0897.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

i386:
irb-1.8.1-7.el4_7.1.i386.rpm
ruby-1.8.1-7.el4_7.1.i386.rpm
ruby-devel-1.8.1-7.el4_7.1.i386.rpm
ruby-docs-1.8.1-7.el4_7.1.i386.rpm
ruby-libs-1.8.1-7.el4_7.1.i386.rpm
ruby-mode-1.8.1-7.el4_7.1.i386.rpm
ruby-tcltk-1.8.1-7.el4_7.1.i386.rpm

src:
ruby-1.8.1-7.el4_7.1.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081028/7346eb91/signature-0001.bin

--

Message: 7
Date: Tue, 28 Oct 2008 05:40:50 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0946 Moderate CentOS 4 x86_64 ed
-   security update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0946

https://rhn.redhat.com/errata/RHSA-2008-0946.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

x86_64:
ed-0.2-36.el4_7.1.x86_64.rpm

src:
ed-0.2-36.el4_7.1.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081028/92872e96/signature-0001.bin

--

Message: 8
Date: Tue, 28 Oct 2008 05:41:06 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0946 Moderate CentOS 4 i386 ed -
security update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0946

https://rhn.redhat.com/errata/RHSA-2008-0946.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

i386:
ed-0.2-36.el4_7.1.i386.rpm

src:
ed-0.2-36.el4_7.1.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20081028/7704fbc8/signature-0001.bin

--

Message: 9
Date: Tue, 28 Oct 2008 05:43:35 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0965 Important CentOS 4 x86_64
lynx -  security update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0965

https:

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

2008-10-28 Thread Fajar Priyanto
On Tue, Oct 28, 2008 at 7:46 PM, Tom Brown <[EMAIL PROTECTED]> wrote:
> Hi
>
> 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?

Can use:
passwd -S username

It will give either:
username PS 2008-10-28 0  7 -1 (Password set, MD5 Crypt)
or when locked:
username LK 2008-10-28 0  7 -1 (Password locked)

I'm sure there's other way.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2008-10-28 Thread Steve Huff


On Oct 28, 2008, at 7:46 AM, 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?



this should get you a list of all the users which have been disabled  
by means of `usermod -L`:


perl -e 'open($SHADOW, "<", "/etc/shadow") or die( "$!\n" ); while ( < 
$SHADOW> ) { chomp; print "$1\n" if (/^([^:]*):!{1}[^!:]*:.*$/) }  
close( $SHADOW );'


you'll need to run it as root.  no doubt that regex could be cleaned  
up a bit :)


-steve

---
If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v






smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2008-10-28 Thread Tom Brown





this should get you a list of all the users which have been disabled 
by means of `usermod -L`:


perl -e 'open($SHADOW, "<", "/etc/shadow") or die( "$!\n" ); while ( 
<$SHADOW> ) { chomp; print "$1\n" if (/^([^:]*):!{1}[^!:]*:.*$/) } 
close( $SHADOW );'


you'll need to run it as root.  no doubt that regex could be cleaned 
up a bit :)


thanks both - that gives me something to work with

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


Re: [CentOS] freenx 7.3?

2008-10-28 Thread Johnny Hughes
Les Mikesell wrote:
> Has anyone built a freenx 7.3 for Centos 5?  I'd like to be able to use
> the session shadow mode on some machines.
> 

Les,

You can try the version of freenx here:

http://people.centos.org/hughesjr/nx/

(freenx-0.7.3 is there, the NX is same as released version)

If it all works well, we can release this version of freenx.

Thanks,
Johnny Hughes



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


Re: [CentOS] Re: Problem selecting installation drive : 5.2

2008-10-28 Thread Johnny Hughes
Alex H. Vandenham wrote:
> After much frustration and wasted time:
> 
> Solution:  Additional Boot option (undocumented) : nodmraid

That either is or is not the solution ... depending on what you want :D

dmraid (Device Manager RAID) is a package that provides the ability to
recognize SOME "Fake RAID" controllers as hardware RAID.

What is FRAID:
http://thebs413.blogspot.com/2005/09/fake-raid-fraid-sucks-even-more-at.html

One of the controllers that is being recognized by dmraid is the nvidia
nforce4 raid controller.

If you do "nodmraid" as a kernel switch, then you are disabling the
dmraid, so CentOS will not see the drives as RAID ... so then you can
use software RAID if you want.

If you can not see the drives at all without the nodmraid, then it means
that for some reason dmraid does not properly see the devices (or that
you did not properly set up the RAID arrays in your BIOS).

If the CentOS kernel and DMRAID does not see the devices properly as
fake RAID (dmraid) devices, then the only real option you have is to use
 them as software raid.

> 
> On Friday 24 October 2008 06:41:07 pm Scott Silva wrote:
>> on 10-24-2008 7:25 AM Alex H. Vandenham spake the following:
>>> When doing the 5.2 installation the ONLY drive option provided is
>>>
>>> mapper/nvidia_cbjcdhfe (250G)
>>>
>>> My system has 2 SATA - 250G drives and I  want to use them in a RAID/LVM
>>> configuration.
>>>
>>> My question:
>>>
>>> How do I get the installer to let me use DiskDruid to create RAID1 arrays
>>> and then use LVM for the mount points?
>>>
>>> What I've done so far:
>>>
>>> I've verified that both drives are recognized by going to the shell
>>> screen and using fdisk to access both /dev/sda and /dev/sdb - so I know
>>> they are both available.
>>>
>>> I've also tried using the Centos 4.7 installer where I can do exactly
>>> what I want.
>>>
>>> I've accepted the default and after a full install of 5.2 there is no
>>> raid and total space is 250G.

In this case, if you have setup the devices in the BIOS as RAID-0 that
is exactly what you would expect to see if dmraid was working.  The OS
only sees 1 drive at 250GB and you are controlling the setup of the
device in the system BIOS.  Whether or not that is what you want to do,
you will need to decide.

> 
> the default install DOES use raid but not with Software raid so /proc/mdstat 
> shows no devices.  How nvidia drivers/Linux kernel modules handle the raid 
> (and raid failures for example) remains unknown - info Anyone?
> 
>>> I've looked at the various deployment guides and installation guides but
>>> can't find how to do this . . . .
> 
> Chapter 8 does not mention the nodmraid option.  When that option is used, 
> the 
> two SATA disks are listed as expected.
> 
>>> puzzled
>>>
>>> Alex
>>> ===
>> The default install doesn't do a software raid, and if you are trying to
>> use an Nvidia onboard raid controller as a raid device in linux, you are
>> probably out of luck.
> 
> Apparently the nvidia drivers and/or the kernel LVM modules are creating a 
> raid array - hard to know for sure without some documentation to help me 
> confirm that . . . 
> 

Sure, if it can detect that you have the BIOS set so that the devices
are RAIDed it will detect them as one RAIDed drive.  If that is not what
you want, turn off RAID in the BIOS ... if it is what you want, great :D

>> To do software raid  with LVM over it, you have to do it all manually.
>> First creating the raid devices, and then adding the resulting md devices
>> as LVM partitions.
> 
> Even when I created working Software RAID1 arrays with mdadm (with Centos 4.7 
> rescue), on reboot the SATA drives were used by the nvidia drivers (not 
> sure ?) to create the array with LVM VG/LV, and then md could not start the 
> software raid1 arrays.  

Again, that is what you would expect if you did not do the nodmraid
option (or turn off RAID in your BIOS).  CentOS-4 does not see that as
hardware RAID ... CentOS-5 does.




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


Re: [CentOS] The relationship between udev and MAKEDEV

2008-10-28 Thread Filipe Brandenburger
Hi,

On Tue, Oct 28, 2008 at 00:21, Clint Dilks <[EMAIL PROTECTED]> wrote:
> 2. Is modifying /etc/makedev.d/01linux-2.6.x likely to cause me issues in
> future ?

Possibly, since this file is owned by the MAKEDEV rpm. If there is an
upgrade in MAKEDEV, it may overwrite this file. Or if it doesn't, but
there was an addition of a new device there, you would not get the new
device. I would say it would be safer to create a separate file
instead of modifying those.

>From man MAKEDEV:

CONFIGURATION CONFLICTS: In the event that the set of configuration
files contains multiple rules for a given device name, MAKEDEV will
use all of them.  The end result is typically that the last rule given
 (either  by  virtue  of being  listed  below all other matching rules
in the same file, or by being listed in a file which is read after all
others which contain alternate rules) will apply.  MAKEDEV reads the
set of configuration files in sorted order, so this misfeature can be
exploited dependably.

So I believe if you restore the 01linux-2.6.x file to its original
state and create a 99local file with your customized rule, it should
work. Try to do that in a test environment and let us know how that
goes.

I cannot answer your other questions about why it's created with
MAKEDEV and not by udev itself, unfortunately I don't know enough of
udev or of /dev/net/tun to be able to tell why it's done like this.

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


[CentOS] Checking if a user is 'Disabled'

2008-10-28 Thread R P Herrold

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] ~]$

see also: man chage

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


[CentOS] Re: Apparently no swap configured

2008-10-28 Thread Scott Silva
on 10-28-2008 3:25 AM William L. Maltby spake the following:
> On Tue, 2008-10-28 at 00:21 -0700, John R Pierce wrote:
>> Ian Masters wrote:
>>> which show your swap partition, whereas on my problem system, 'swapon
>>> -s' produces no output at all.
>>>   
>> ok, that confirms your supposition, you have no swap configured.
> 
> Although I disagree, some on this list have proclaimed that a "properly
> configured" (for the intended use I guess) system needs no swap.
> 
>> 
> 
A properly configured system "can" need no swap for day to day operations, but
you only need *one* runaway process to max out the memory and bring the system
to a crashing halt. A little swap is just like a cheap insurance policy. You
hope you don't need it, but if you do, you are glad it was there.

Even though the recommended swap is 2 times system memory, I have never made a
swap partition over 2 GB. Maybe I am also flirting with disaster, but haven't
been bit yet in years. Usually a run away process that hits into swap gives
enough time for the kernel to kill it off before the whole system dumps.


-- 
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: Contents of CentOS digest...

2008-10-28 Thread Scott Silva
on 10-28-2008 2:36 AM dika ye spake the following:
> 
> 
> 
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

42.

If you ask a blank question, I get to make up an answer!




-- 
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] install 5.2 on new dv7z hp laptop

2008-10-28 Thread Jerry Geis

I am trying to install 5.2 on a new dv7z hp laptop.
I use "linux noapic nolapic iommu=off " and I get a kernel dump on rtl8169.
I dont need the network to install? how do I ignore the rtl8169 to install.

I tried noprobe and then it doesnt recognize my SATA HD controller and I 
dont

know yet which driver to select as I cant do an lspci to see???

THanks,

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


[CentOS] Re: install 5.2 on new dv7z hp laptop

2008-10-28 Thread Jerry Geis

Jerry Geis wrote:

I am trying to install 5.2 on a new dv7z hp laptop.
I use "linux noapic nolapic iommu=off " and I get a kernel dump on 
rtl8169.
I dont need the network to install? how do I ignore the rtl8169 to 
install.


I tried noprobe and then it doesnt recognize my SATA HD controller and 
I dont

know yet which driver to select as I cant do an lspci to see???

THanks,

Jerry

I did the noprobe again and selected the driver ahci and I am installing 
at this point.

Dont know what will happen with rtl1839 network after install is done???

Jerry

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


Re: [CentOS] Re: Sendmail and pmtu discovery

2008-10-28 Thread Sean Carolan
> Yes, I've dealt with these people.  If they turn off all ICMP, they often
> drop fragments as well, making the problem even worse. You can sometimes get
> them to listen by asking them if their Internet access seems a little
> "weird" in that some sites work sometimes or downloads are slow or they
> can't get some email :-)

What do you do when the receiving server is at Microsoft?  (mx4.hotmail.com)

Oct 28 11:18:25 exmx2 sendmail[19190]: m9SGHXL4019186:
to=<[EMAIL PROTECTED]>, delay=00:00:52, xdelay=00:00:52,
mailer=esmtp, pri=43523, relay=mx4.hotmail.com. [65.54.244.232],
dsn=4.0.0, stat=Deferred: Connection reset by mx4.hotmail.com.

I'm not surprised that Microsoft would make such a boneheaded decision
as to block all ICMP traffic to their hotmail servers, however would
this not cause a ton of customer email to simply be lost?  Do they
just not care?  I guess at this point my only choice may be to lower
my MTU size.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rtl8169 kernel dump

2008-10-28 Thread Jerry Geis
I installed 5.2 x86_64 on a new hp dv7z laptop using noprobe on the 
install line.

After rebooting the rtl8169 causes the kernel to dump.

Is there a parameter I can pass to it (somehow) to avoid the kernel dump???

Thanks,

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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread nate
William L. Maltby wrote:

> All this raised a question in my mind. What's the value of have a swap
> managed by LVM? ISTM that: 1) swap is usually configured to be the

I think the main reason would be simplicity, assuming you have
other volumes created and not just a single VG with a single
LV in it for swap.

Though I don't use LVM on the internal disks of my systems, have
had too many headaches over the years with anaconda puking during
installation with kickstart when using LVM. I only use LVM on
SAN volumes.

nate

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


Re: [CentOS] Re: Contents of CentOS digest...

2008-10-28 Thread MHR
On Tue, Oct 28, 2008 at 8:31 AM, Scott Silva <[EMAIL PROTECTED]> wrote:
> on 10-28-2008 2:36 AM dika ye spake the following:
>>
>>
>>
>> 
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> 42.
>
> If you ask a blank question, I get to make up an answer!
>

Hey!  That was MY answer!

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


Re: [CentOS] Re: install 5.2 on new dv7z hp laptop

2008-10-28 Thread MHR
On Tue, Oct 28, 2008 at 8:52 AM, Jerry Geis <[EMAIL PROTECTED]> wrote:
> Jerry Geis wrote:
>>
>> I am trying to install 5.2 on a new dv7z hp laptop.
>> I use "linux noapic nolapic iommu=off " and I get a kernel dump on
>> rtl8169.
>> I dont need the network to install? how do I ignore the rtl8169 to
>> install.
>>
>> I tried noprobe and then it doesnt recognize my SATA HD controller and I
>> dont
>> know yet which driver to select as I cant do an lspci to see???
>>
>> THanks,
>>
>> Jerry
>>
> I did the noprobe again and selected the driver ahci and I am installing at
> this point.
> Dont know what will happen with rtl1839 network after install is done???
>
> Jerry
>

Jerry, you're going to have to stop talking to yourself on this list.

Instead of clicking the "send" button, try something else _first_.  I
have done this so many times I lost count, and I (almost) never need
to do this.  Heck, it's bad enough I talk to myself audibly

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


Re: [CentOS] cpan2rpm and alternatives

2008-10-28 Thread Dag Wieers

On Mon, 27 Oct 2008, Geoff Galitz wrote:


cpan2rpm is getting relatively old, compared to some of the newer
things that can be done with the CPAN and RPM build procedures.  The
latest version isn't available on its sourceforge site and the


What are the newer procedures?  I'll be needing to do this in the very near
future.

I was contemplating writing some sort of yum plugin or external utility that
can leverage whatever current procedures exist and register a CPAN install
in the RPM database... but I'm not sure it is worth the effort and I do
realize that breaks the whole Centos testing and reliability model.  Still,
there are some functions cannot be found in the usual places that do exist
in CPAN.


Listing the RPM packages you need on the RPMforge mailinglist would be 
sufficient to have them added (where possible).


--
--   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


[CentOS] Re: Contents of CentOS digest...

2008-10-28 Thread Scott Silva
on 10-28-2008 10:38 AM MHR spake the following:
> On Tue, Oct 28, 2008 at 8:31 AM, Scott Silva 
>  wrote:
>> on 10-28-2008 2:36 AM dika ye spake the following:
>>>
>>>
>>> 
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>> 42.
>>
>> If you ask a blank question, I get to make up an answer!
>>
> 
> Hey!  That was MY answer!
> 
> mhr
Insanity must be contagious!



-- 
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: install 5.2 on new dv7z hp laptop

2008-10-28 Thread Jerry Geis


>/ Jerry Geis wrote:
/>>/
/>>/ I am trying to install 5.2 on a new dv7z hp laptop.
/>>/ I use "linux noapic nolapic iommu=off " and I get a kernel dump on
/>>/ rtl8169.
/>>/ I dont need the network to install? how do I ignore the rtl8169 to
/>>/ install.
/>>/
/>>/ I tried noprobe and then it doesnt recognize my SATA HD controller and I
/>>/ dont
/>>/ know yet which driver to select as I cant do an lspci to see???
/>>/
/>>/ THanks,
/>>/
/>>/ Jerry
/>>/
/>/ I did the noprobe again and selected the driver ahci and I am installing at
/>/ this point.
/>/ Dont know what will happen with rtl1839 network after install is done???
/>/
/>/ Jerry
/>/
/
Jerry, you're going to have to stop talking to yourself on this list.

Instead of clicking the "send" button, try something else _first_.  I
have done this so many times I lost count, and I (almost) never need
to do this.  Heck, it's bad enough I talk to myself audibly
  
LOL - funny... I thought I was being helpful in letting the list know I 
had gotten past

the install point with using noprobe.

I do still have issues with the rtl8169 module blowing up.  The second 
comment was just
geared towards hoping someone else might have a suggestion on the 
rtl8169 device
no working and perhaps there was some other OBSCURE command line 
argument that might

help on boot...

Have a great day.

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


Re: [CentOS] freenx 7.3?

2008-10-28 Thread Les Mikesell

Johnny Hughes wrote:

Les Mikesell wrote:

Has anyone built a freenx 7.3 for Centos 5?  I'd like to be able to use
the session shadow mode on some machines.



Les,

You can try the version of freenx here:

http://people.centos.org/hughesjr/nx/

(freenx-0.7.3 is there, the NX is same as released version)
If it all works well, we can release this version of freenx.


Thanks! The i386 version installs OK, works at least as well as the 
previous version and I have been able to connect to a shadow session of 
another freenx session.  However, I think I'm missing something about 
how to connect to a shadowed console session.  If I configure the client 
to use a vnc session, I can see it as vnc-local but haven't been able to 
connect even though I am connecting as the same user.  Do I need to set 
a password for this?  Is documentation for the new features available 
somewhere?


--
   Les Mikesell
[EMAIL PROTECTED]


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


Re: [CentOS] cpan2rpm and alternatives

2008-10-28 Thread Les Mikesell

Dag Wieers wrote:

On Mon, 27 Oct 2008, Geoff Galitz wrote:


cpan2rpm is getting relatively old, compared to some of the newer
things that can be done with the CPAN and RPM build procedures.  The
latest version isn't available on its sourceforge site and the


What are the newer procedures?  I'll be needing to do this in the very 
near

future.

I was contemplating writing some sort of yum plugin or external 
utility that
can leverage whatever current procedures exist and register a CPAN 
install

in the RPM database... but I'm not sure it is worth the effort and I do
realize that breaks the whole Centos testing and reliability model.  
Still,
there are some functions cannot be found in the usual places that do 
exist

in CPAN.


Listing the RPM packages you need on the RPMforge mailinglist would be 
sufficient to have them added (where possible).


Is there any attempt at coordination between the packages in EPEL and 
RPMforge?


--
  Les Mikesell
   [EMAIL PROTECTED]

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


[CentOS] Re: install 5.2 on new dv7z hp laptop

2008-10-28 Thread Scott Silva
on 10-28-2008 11:10 AM Jerry Geis spake the following:
>>
>> >/ Jerry Geis wrote:
>> />>/
>> />>/ I am trying to install 5.2 on a new dv7z hp laptop.
>> />>/ I use "linux noapic nolapic iommu=off " and I get a kernel dump on
>> />>/ rtl8169.
>> />>/ I dont need the network to install? how do I ignore the rtl8169 to
>> />>/ install.
>> />>/
>> />>/ I tried noprobe and then it doesnt recognize my SATA HD
>> controller and I
>> />>/ dont
>> />>/ know yet which driver to select as I cant do an lspci to see???
>> />>/
>> />>/ THanks,
>> />>/
>> />>/ Jerry
>> />>/
>> />/ I did the noprobe again and selected the driver ahci and I am
>> installing at
>> />/ this point.
>> />/ Dont know what will happen with rtl1839 network after install is
>> done???
>> />/
>> />/ Jerry
>> />/
>> /
>> Jerry, you're going to have to stop talking to yourself on this list.
>>
>> Instead of clicking the "send" button, try something else _first_.  I
>> have done this so many times I lost count, and I (almost) never need
>> to do this.  Heck, it's bad enough I talk to myself audibly
>>   
> LOL - funny... I thought I was being helpful in letting the list know I
> had gotten past
> the install point with using noprobe.
> 
> I do still have issues with the rtl8169 module blowing up.  The second
> comment was just
> geared towards hoping someone else might have a suggestion on the
> rtl8169 device
> no working and perhaps there was some other OBSCURE command line
> argument that might
> help on boot...
> 
> Have a great day.
> 
> Jerry
CentOS doesn't play nice with brand new hardware sometimes. It wasn't designed 
to.
If you look at most server hardware, all the pieces are usually well
established hardware, but the desktop and laptop stuff can be "the flavor of
the day" in terms of new engineering.
To top it off, most hardware manu. create windows drivers first because that
is where the money is. Linux comes later, if they support it at all. If they
don't, someone has to reverse engineer the windows driver to see what it does
and port that back to an existing or new linux driver.



-- 
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: Contents of CentOS digest...

2008-10-28 Thread MHR
On Tue, Oct 28, 2008 at 11:06 AM, Scott Silva <[EMAIL PROTECTED]> wrote:
> on 10-28-2008 10:38 AM MHR spake the following:
>> On Tue, Oct 28, 2008 at 8:31 AM, Scott Silva 
>>  wrote:
>>> on 10-28-2008 2:36 AM dika ye spake the following:


 

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
>>> 42.
>>>
>>> If you ask a blank question, I get to make up an answer!
>>>
>>
>> Hey!  That was MY answer!
>>
>> mhr
> Insanity must be contagious!
>

Great minds think alike.  These days, we're all insane
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: rtl8169 kernel dump

2008-10-28 Thread Jerry Geis

Jerry Geis wrote:
I installed 5.2 x86_64 on a new hp dv7z laptop using noprobe on the 
install line.

After rebooting the rtl8169 causes the kernel to dump.

Is there a parameter I can pass to it (somehow) to avoid the kernel 
dump???


Thanks,

Jerry


I found a new driver (finally)  - it works.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTypeID=3


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


Re: [CentOS] Re: [OT] Contents of CentOS digest...

2008-10-28 Thread William L. Maltby

On Tue, 2008-10-28 at 11:57 -0700, MHR wrote:
> 

Geez! You guys hammer on others all the time, but then you "forget" to
"edit the subject line" when replying to "digests", as requested by TPB.

;-)

I've done your (and the OP's) work for y'all. Now, unless someone says
"curmu..." WHOOPS!

This thread should end.

:-)

All kidding intended,
-- 
Bill

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


[CentOS] 'severe errors' listed in nightly logwatch emails

2008-10-28 Thread Ray Leventhal

HI folks,

If this is the wrong forum for this question, please let me know (with a 
gentle pointer to the right place)...TIA for that.


I've started to receive some 'Severe Errors' in my nightly logwatch 
emails. 
As the system had been initially misconfigured for logwatch emails, I've 
only recently begun to receive them, so I'm not entirely sure when this 
started. (long story)


Lets start with the basics of the machine:

# uname -a
Linux generic.example.com 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:41:53 
EDT 2008 i686 i686 i386 GNU/Linux


# rpm -qa|grep release
centos-release-5-2.el5.centos

As the output was verbose, I posted it on pastebin.
http://pastebin.com/m1a9eb219

If anyone has any information or suggestions here, I'd be greatly 
appreciative.


TIA,
-Ray


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


[CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Johnny Tan
I had a 5.0 kickstart server which did "core" installs of 
CentOS (i.e.: "%packages --nobase").


I recently setup a 5.2 kickstart server. Using the same 
kickstart configs, I notice a few packages are always 
missing, notably: yum (!!), selinux-policy-targeted (even 
though I have "selinux --enforcing" in the kickstart, it 
always ends up with that package missing and selinux 
disabled), vim-minimal, etc.


Looking at comps.xml for 5.2 os tree, it shows all of these 
packages in the "core" group, just like 5.0 does. So it's 
not that the "core" group has changed.


Looking at the Release Notes for 5.2, I see this entry:

"Kickstart scripts that worked for 5.0 and/or 5.1 may have 
issues on CentOS 5.2 installation trees. So first test your 
kickstart scripts with CentOS 5.2 before using them in 
production."


I'm guessing this has something to do with my problem, but 
there's no further details.


Does anyone have any insight into the above Release Notes 
entry, and/or my problem in general?


p.s. I setup a 2nd kickstart server in a completely 
different environment, and am still seeing the same issue. 
I'm about to try a CD-based install of 5.2 and see if that 
also has the issue.


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


Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Filipe Brandenburger
Hi,

On Tue, Oct 28, 2008 at 15:34, Johnny Tan <[EMAIL PROTECTED]> wrote:
> I had a 5.0 kickstart server which did "core" installs of CentOS (i.e.:
> "%packages --nobase").

IMHO, that's a very bad idea. Unless your diskspace is very very tight
(in which case you should probably look into DSL or another
distribution made for that purpose), why would you want to install
CentOS without the "base" packages?

All machines that I've seen that have been installed with --nobase are
crippled. Some programs and mainly scripts just don't work, because
they need to run some utility that is not installed.

Consider removing the --nobase and, if there are packages you would
like to remove from base and you're positive that it's safe to do it,
use -packagename.

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


[CentOS] Kickstart package groups

2008-10-28 Thread Francisco Puente

Hello,

I'm building another kickstart CD, minimal, and creating my own repository.

Is there any way I can get the list of files that a group (like @core o 
@base) will install?


The idea is to put only those files in the repository to be included 
later in the iso file, and only those files, nothing else.


Thanks in advance
Francisco
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] changing partition priority on install

2008-10-28 Thread Monty Shinn

Greetings.

I am in the process of installing 5.1 64 bit on a server.  The server 
has 2 3ware cards: 9550SX 12 port, and a 8006 2 port, both SATA.


I want the 8006 board to be /dev/sda, and the 9550 to be /dev/sdb.  My 
plan is to install the os on /dev/sda (8006), and data on /dev/sdb 
(9550).  Unfortunately, the 9550 comes up as /dev/sda.


The 8006 is installed in slot 3, which is a 100Mhz slot.  The 9550 is 
installed in Slot 4, which is a 133Mhz slot.


I really don't want to put the 9550 in the 100Mhz slot.  I'm not even 
sure it would make a difference...  I would also prefer to not have grub 
reside on /dev/sda, while the os is on /dev/sdb.


I have tried to change the boot priority in bios, but this hasn't 
changed the priority.  I tried to disable one of the boards in the bios, 
but that didn't seem to have any effect.


Interestingly enough, when I boot with the Knoppix 5.1.1 live cd, the 
cards show up as I want them to.


I have searched Google, but I am either entering the wrong search 
parameters, or there isn't anything out there, at least pertaining to 
the initial installation.


Any ideas are appreciated.  Thanks in advance.

Monty

Specs:

Supermicro X6DH8-G
3ware 8006-2lp pci-X
3ware 9550sx-12, pci-X
CentOS 5.1, x86_64, network (nfs) install
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: [OT] Contents of CentOS digest...

2008-10-28 Thread MHR
On Tue, Oct 28, 2008 at 12:13 PM, William L. Maltby
<[EMAIL PROTECTED]> wrote:
>
> Geez! You guys hammer on others all the time, but then you "forget" to
> "edit the subject line" when replying to "digests", as requested by TPB.
>
> ;-)
>
> I've done your (and the OP's) work for y'all. Now, unless someone says
> "curmu..." WHOOPS!
>
> This thread should end.
>
> :-)
>
> All kidding intended,

Q.E.D.

:-)

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


Re: [CentOS] Kickstart package groups

2008-10-28 Thread Paul Heinlein

On Tue, 28 Oct 2008, Francisco Puente wrote:


Hello,

I'm building another kickstart CD, minimal, and creating my own 
repository.


Is there any way I can get the list of files that a group (like 
@core o @base) will install?


Below my .sig is an XSLT stylesheet that will do the trick. Save it to 
your filesystem as, e.g., comps.xsl. Then use xsltproc to apply it to 
the comps.xml file, e.g.,


  xsltproc --novalid comps.xsl /path/to/repodata/comps.xml > comps.html

The resulting HTML file will provide you a reasonable list of packages 
associated with each group.


Warning: the list might not be complete because any given package in 
your named group(s) might might require packages not in those groups. 
That's why anaconda does dependency checking at installation time.


--
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/

- comps.xsl -


 ]>
http://www.w3.org/1999/xhtml";
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>

  
  

  
comps.xml

  
  


  
Name
Default
Visible
Description
  
  

 

  
Name
Groups Req.
Packages Req.
  


  

  


  
  


  

  
   
   
   

  

  
  


  

  
  
  

  

  
  

  

  

  

  


  

  

  

  


  

  

  
  

  

  

  

  


  

  


  
  



  
1
0
  


  




  
  


  

  

  


  a, a:link, a:active, a:visited {
color: ;
}
  body {
font-size: small;
background-color: white;
color: black;
width: 700px;
}
  td {
border-bottom: 1px solid #999;
font-size: small;
vertical-align: top;
}
  th {
color: white;
background-color: ;
font-weight: bold;
text-align: left;
padding-right: 15px;
}

  

  

  Below is an outline of the package groups available at installation
  and, later, via yum and other package-management tools. The top
  table contains descriptions of each group. To see a detailed view
  of the packages that get installed with each group, click on the
  group name.

  



- end comps.xsl -

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


Re: [CentOS] Kickstart package groups

2008-10-28 Thread Francisco Puente

Thanks a lot Paul, I'll give a try now, I'll post back the results

Francisco

Paul Heinlein wrote:

On Tue, 28 Oct 2008, Francisco Puente wrote:


Hello,

I'm building another kickstart CD, minimal, and creating my own 
repository.


Is there any way I can get the list of files that a group (like @core 
o @base) will install?


Below my .sig is an XSLT stylesheet that will do the trick. Save it to 
your filesystem as, e.g., comps.xsl. Then use xsltproc to apply it to 
the comps.xml file, e.g.,


  xsltproc --novalid comps.xsl /path/to/repodata/comps.xml > comps.html

The resulting HTML file will provide you a reasonable list of packages 
associated with each group.


Warning: the list might not be complete because any given package in 
your named group(s) might might require packages not in those groups. 
That's why anaconda does dependency checking at installation time.


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


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

2008-10-28 Thread David Miller
I have a CentOS 5.2 server running Apache 2.2.3 (yum installed) and
drupal 6.5 on ESX 3.5. We're using Name Based Virtual Hosting on it -
2 hosts. The problem is that when I pull up a web page after not
having accessed it for ~15+ minutes it takes between 10-12s to load
fully. The 2nd page, 3rd page - and sometimes more than that - take
between 8-12 second. After that - decent performance, though not great
(0.3s to 2s). Wait ~15 minutes, maybe more, maybe less, and it goes
back to slow. While it's been most apparent with httpd, I've noticed
similar slowness with the initial ssh session, etc.

I know what you're thinking. DNS problem, right? Yeah, me too. But for
the life of me I can't find a problem. This is at a colocation site
where we have other servers - all of those are just fine. We've got an
almost identical box internally - working just fine. I can do an
nslookup off of each of our different internal name servers and get
identical and immediate responses.

I've done tcpdumps (both on the client and the server). It shows the
request gets to the server immediately. I've started httpd using
strace and not seen anything glaringly wrong (though I'm not well
versed in the output I have enough C under my belt to have an idea
what's going on). Thinking it was code that the developer working on
the project I pulled all the custom drupal modules out and it's still
slow. Even created another virtual host with a stock drupal install
and it's slow (identical results). I moved the mysql server from local
to our central DB server. Load avg never gets above ~0.10 so I don't
think the box is stressed. Watching the ESX load average it looks good
too. I've tried a hell of a lot of other things and tried to include
all the relevant information so apologies in advance for anything I
might have left out.


Thanks,
Dave

Relevant info:

uname -a: Linux internal-name.domainname.com 2.6.18-92.1.13.el5 #1 SMP
Wed Sep 24 19:33:52 EDT 2008 i686 i686 i386 GNU/Linux

relevant portion of httpd.conf:
NameVirtualHost *:80


   DocumentRoot /path/to/drupal-current
   ServerName publicname.domainname.com
   ErrorLog /path/to/logserror_log
   CustomLog /path/to/logs/access_log common


/etc/hosts:
127.0.0.1 localhost.localdomain localhost internal-name
12.34.56.78 publicname.domainname.com
12.34.56.79 db-server.domainname.com db-server
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Johnny Tan

Filipe Brandenburger wrote:

Hi,

On Tue, Oct 28, 2008 at 15:34, Johnny Tan <[EMAIL PROTECTED]> wrote:

I had a 5.0 kickstart server which did "core" installs of CentOS (i.e.:
"%packages --nobase").


IMHO, that's a very bad idea. Unless your diskspace is very very tight
(in which case you should probably look into DSL or another
distribution made for that purpose), why would you want to install
CentOS without the "base" packages?

All machines that I've seen that have been installed with --nobase are
crippled. Some programs and mainly scripts just don't work, because
they need to run some utility that is not installed.

Consider removing the --nobase and, if there are packages you would
like to remove from base and you're positive that it's safe to do it,
use -packagename.


I appreciate the guidance, but all our production machines 
run nobase, and we are fine.


I'm just looking for some ideas as to why 5.2 is not 
installing certain "core" files. It could very well be a 
misconfiguration on our part, but I just wanted to see if 
others have encountered this.


Thanks,
johnn
___
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-28 Thread Craig White
On Tue, 2008-10-28 at 16:30 -0500, David Miller wrote:
> I have a CentOS 5.2 server running Apache 2.2.3 (yum installed) and
> drupal 6.5 on ESX 3.5. We're using Name Based Virtual Hosting on it -
> 2 hosts. The problem is that when I pull up a web page after not
> having accessed it for ~15+ minutes it takes between 10-12s to load
> fully. The 2nd page, 3rd page - and sometimes more than that - take
> between 8-12 second. After that - decent performance, though not great
> (0.3s to 2s). Wait ~15 minutes, maybe more, maybe less, and it goes
> back to slow. While it's been most apparent with httpd, I've noticed
> similar slowness with the initial ssh session, etc.
> 
> I know what you're thinking. DNS problem, right? Yeah, me too. But for
> the life of me I can't find a problem. This is at a colocation site
> where we have other servers - all of those are just fine. We've got an
> almost identical box internally - working just fine. I can do an
> nslookup off of each of our different internal name servers and get
> identical and immediate responses.
> 
> I've done tcpdumps (both on the client and the server). It shows the
> request gets to the server immediately. I've started httpd using
> strace and not seen anything glaringly wrong (though I'm not well
> versed in the output I have enough C under my belt to have an idea
> what's going on). Thinking it was code that the developer working on
> the project I pulled all the custom drupal modules out and it's still
> slow. Even created another virtual host with a stock drupal install
> and it's slow (identical results). I moved the mysql server from local
> to our central DB server. Load avg never gets above ~0.10 so I don't
> think the box is stressed. Watching the ESX load average it looks good
> too. I've tried a hell of a lot of other things and tried to include
> all the relevant information so apologies in advance for anything I
> might have left out.
> 
> 
> Thanks,
> Dave
> 
> Relevant info:
> 
> uname -a: Linux internal-name.domainname.com 2.6.18-92.1.13.el5 #1 SMP
> Wed Sep 24 19:33:52 EDT 2008 i686 i686 i386 GNU/Linux
> 
> relevant portion of httpd.conf:
> NameVirtualHost *:80
> 
> 
>DocumentRoot /path/to/drupal-current
>ServerName publicname.domainname.com
>ErrorLog /path/to/logserror_log
>CustomLog /path/to/logs/access_log common
> 
> 
> /etc/hosts:
> 127.0.0.1 localhost.localdomain localhost internal-name
> 12.34.56.78 publicname.domainname.com
> 12.34.56.79 db-server.domainname.com db-server

sounds sleepy - perhaps the mysql connections drop after inactivity and
then it takes that long to connect

You might just want to set up a cron script that does a curl or wget of
a standard page every 2 minutes or so just to keep things active.

Craig

___
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-28 Thread David Miller
--snip--
> 
> sounds sleepy - perhaps the mysql connections drop after inactivity and
> then it takes that long to connect
>
> You might just want to set up a cron script that does a curl or wget of
> a standard page every 2 minutes or so just to keep things active.
>
> Craig
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

hmmm you may be onto something there, Craig. Since it was the same
environment (we set up lots of LAMP servers and use a common MySQL
backend) I gave it the benefit of the doubt when I was initially
troubleshooting (the connection was there and everything looked sane).
I'll take another look at that.

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


Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Kai Schaetzl
Johnny Tan wrote on Tue, 28 Oct 2008 15:34:29 -0400:

> I had a 5.0 kickstart server which did "core" installs of 
> CentOS (i.e.: "%packages --nobase").

And you have a @core in there as well?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Kickstart package groups

2008-10-28 Thread Kai Schaetzl
Francisco Puente wrote on Tue, 28 Oct 2008 17:57:32 -0300:

> Is there any way I can get the list of files that a group (like @core o 
> @base) will install?

yum groupinfo

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


RE: [CentOS] cpan2rpm and alternatives

2008-10-28 Thread Joseph L. Casale
>Listing the RPM packages you need on the RPMforge mailinglist would be 
>sufficient to have them added (where possible).

Dag,
I can't tell you how much I would appreciate that though I don't envy
this task. Aside from ASSP 2.0 needing many, it requires newer versions
of modules that come in Perl already on CentOS and this has me baffled
as how to handle overwriting these files w/o breaking future yum updates
of Perl itself?

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


Re: [CentOS] "core" installs of 5.2 missing crucial packages like yum, selinux-policy-targeted, vim-minimal, etc.

2008-10-28 Thread Kai Schaetzl
Filipe Brandenburger wrote on Tue, 28 Oct 2008 15:44:47 -0400:

> why would you want to install
> CentOS without the "base" packages?

because it gives you more control over really unnecessary stuff, I don't 
need any CD-burning and other multimedia stuff on a webserver for 
instance.

> All machines that I've seen that have been installed with --nobase are
> crippled. Some programs and mainly scripts just don't work, because
> they need to run some utility that is not installed.

Works just perfectly for me.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Apparently no swap configured

2008-10-28 Thread Christopher Chan

nate wrote:

William L. Maltby wrote:


All this raised a question in my mind. What's the value of have a swap
managed by LVM? ISTM that: 1) swap is usually configured to be the


I think the main reason would be simplicity, assuming you have
other volumes created and not just a single VG with a single
LV in it for swap.

Though I don't use LVM on the internal disks of my systems, have
had too many headaches over the years with anaconda puking during
installation with kickstart when using LVM. I only use LVM on
SAN volumes.


Centos/RHEL 5's anaconda has that licked. Feel free to do it with 
kickstart again. I have eight new boxes setup with kickstart doing lvm 
on mirrored partitions. /boot on its own mirrored partition.

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


Re: [CentOS] changing partition priority on install

2008-10-28 Thread Phil Schaffner
On Tue, 2008-10-28 at 14:59 -0500, Monty Shinn wrote:
> Greetings.
> 
> I am in the process of installing 5.1 64 bit on a server.  The server 
> has 2 3ware cards: 9550SX 12 port, and a 8006 2 port, both SATA.

Any reason not to use 5.2?  Will save a lot of updates, and perhaps some
headaches.

> I want the 8006 board to be /dev/sda, and the 9550 to be /dev/sdb.  My 
> plan is to install the os on /dev/sda (8006), and data on /dev/sdb 
> (9550).  Unfortunately, the 9550 comes up as /dev/sda.
> 
> The 8006 is installed in slot 3, which is a 100Mhz slot.  The 9550 is 
> installed in Slot 4, which is a 133Mhz slot.
> 
> I really don't want to put the 9550 in the 100Mhz slot.  I'm not even 
> sure it would make a difference...  I would also prefer to not have grub 
> reside on /dev/sda, while the os is on /dev/sdb.
> 
> I have tried to change the boot priority in bios, but this hasn't 
> changed the priority.  I tried to disable one of the boards in the bios, 
> but that didn't seem to have any effect.
> 
> Interestingly enough, when I boot with the Knoppix 5.1.1 live cd, the 
> cards show up as I want them to.

Have also seen device ordering change with kernel/release updates on the
same distro.

> I have searched Google, but I am either entering the wrong search 
> parameters, or there isn't anything out there, at least pertaining to 
> the initial installation.
> 
> Any ideas are appreciated.  Thanks in advance.

I have vague recollections of having fixed similar problems by tweaking
the device ordering in initrd and/or modprobe.conf; however, backing up
a step, why do you need to change the order to make things work?  You
can install GRUB on the boot device MBR, whatever that may be, and put
the OS on the device you want it on without changing the ordering.

Phil


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


Re: [CentOS] Re: Apparently no swap configured

2008-10-28 Thread Christopher Chan



Even though the recommended swap is 2 times system memory, I have never made a
swap partition over 2 GB. Maybe I am also flirting with disaster, but haven't
been bit yet in years. Usually a run away process that hits into swap gives
enough time for the kernel to kill it off before the whole system dumps.



I am sorry but that 'recommended' swap should be twice the of RAM 
installed is complete nonsense and I treat the LPI certificate as 
rubbish precisely because they subscribe to that nonsense. The roots of 
swap = 2xRAM comes from an old release of Solaris which REQUIRED swap be 
2xRAM. In today's environment, there is no standard rule for how much 
swap to configure. If there is one, it is simply 'configure as much as 
you need and want.'

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


Re: [CentOS] Re: install 5.2 on new dv7z hp laptop

2008-10-28 Thread Phil Schaffner
On Tue, 2008-10-28 at 10:40 -0700, MHR wrote:
> Heck, it's bad enough I talk to myself audibly

Well, my grandma used to say it's OK to talk to yourself, but if you
start answering yourself you're in trouble.  Following this theory,
you're OK, but I don't know about Jerry!  :-)

Phil

P.S. - In the interest of full disclosure, I have also been known to
talk to myself on/off list, sometime on to get the answer out there for
future searchers there when nobody else came up with it before I did.
Holding off on hitting Send until you're REALLY stuck sounds like best
practice.



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


Re: [CentOS] boot problems

2008-10-28 Thread Phil Schaffner
On Tue, 2008-10-28 at 12:31 +0300, fabian dacunha wrote:
> dear All.
> 
> Sorry for my earlier mail which i was not able to explain correctly
> 
> as i said b4

Correct English really would not take that much more effort as compared
to texting shortcuts, and would make it more likely that you might get
the help you are requesting.

http://www.catb.org/~esr/faqs/smart-questions.html#writewell

The entire article is worth a read.

> i had installed centos 5.2 to be as a squid proxy server and it was
> working fine for over a month or so but 3 days back the machine after a
> reboot jus refused to boot.
> 
> after the post it tries to boot and the screen jus display the below message
> 
> GNU Grub version 0.97
> [Minimal Bash like line editing is supported .
> 
> guess grub cant find the OS file ..
> 
> how could i possible go about this
> 
> would really apprecite your help n suggestions

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
problems.  If you do not have a /boot partition try:

grub> find /boot/grub/stage1

If you do have a boot partition try 

grub> find /grub/stage1

This should give you a clue as to what GRUB thinks the disk layout is.
This could have changed due to BIOS settings, hardware changes, or
hardware failures.

You might also try:

grub> find /etc/fstab

This should be on the root partition /.

Grub command-line completion can help in re-constructing
missing/incorrect boot stanzas.

You can find out a lot more with "info grub" on a running system.

Do some more debugging and post what you have tried and your results
(per ESR's advice above) if unable to figure it out for yourself.

Good luck,
Phil



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


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

2008-10-28 Thread Dag Wieers

Hi all,

The CentOS community is pretty limited in what we can do to the core 
distribution. Since our mantra is "aiming to be 100% compatible with Red 
Hat Enterprise Linux" we cannot fix bugs or improve the CentOS core 
without waiting for Red Hat to make those modifications first. We have 
limited leverage and a 6-month release cycle against us.


But that is not the complete truth, Red Hat usually has an internal, a 
vendor and a public beta period and everything that is found within that 
time-frame might get fixed before it is being shipped (and frozen) for the 
next 6 months.


Today RHEL 5.3 Beta was announced with a lot of interesting improvements.

https://www.redhat.com/archives/rhelv5-announce/2008-October/msg0.html

So if we can improve the testing during the RHEL Beta program, everyone in 
the CentOS community directly benefits from that as well. Therefor it 
makes a lot of sense to encourage the large CentOS community to take part 
in the RHEL Beta program and help with improving the next CentOS releases. 
(You don't need my back patting, start already !)


If you are looking for the RHEL 5.3 Beta ISO images, go to Red Hat 
Network, log in, click on Download Software, expand the RHEL5 channel for 
your architecture and go to the Beta channel. There you can find the RHEL 
5.3 Beta ISO images for your architecture.


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

And please, if you find anything that is worth to fix, report your 
findings to Red Hat's bugzilla.


Thanks in advance,
--
--   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] Apparently no swap configured

2008-10-28 Thread Ian Masters
Nate

> If that volume is not in use by anything else you should
> be perfectly able to do:
>
> mkswap /dev/VolGroup00/swap
> swapon /dev/VolGroup00/swap
>
> then add something like this to fstab:
> /dev/VolGroup00 swapswapdefaults
  0 0

Shouldn't the fstab entry be:

/dev/VolGroup00/swap swapswapdefaults
 0 0

Just want to double-check before I dive in.

Thanks

Ian Masters

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