[CentOS] freenx vs vmware console

2008-07-17 Thread Les Mikesell
After upgrading to 5.2 and the current freenx, when I start the vmware 
server console (from VMware-server-1.0.6-91891) in the NX client I get

Xlib:  extension "XFree86-VidModeExtension" missing on display ":1000.0".
in the terminal window where vmware was started and a black screen where 
the console of the virtual machine is supposed to be.  Is there a way to 
make this work?  I would normally ssh/freenx/vnc directly to the virtual 
machine but for the cases that need console access I would much rather 
use NX with the host machine with the vmware console conneced locally 
than use the vmware console remotely.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] preferred software RAID 10?

2008-07-17 Thread David Mackintosh
On Fri, Jul 18, 2008 at 12:31:19AM +0200, Kai Schaetzl wrote:
> Rudi Ahlers wrote on Thu, 17 Jul 2008 23:10:48 +0200:
> 
> > > /boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
> > > leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
> > > to remember to copy /boot to /boot2 each time you update the kernel.
> > I understand this, but how do you boot from /boot2 on the second HDD if 
> > the 1st have failed?
> 
> You don't (*). I don't understand John's advice here. There is no problem 
> md mirroring /boot. You just need to install grub a second time on the 
> other disk. For that you have to boot from it. (I think I also did it 
> successfully without booting from the other disk in the past, but last 
> time I tried it it didn't want to work like I remembered it should.)

I think you mean "if you want to boot from it, you have to install
grub on it".  I've done this.  It means if the first disk fails, you
can then physically remove the failed disk, put the survivor in as
the first disk, then boot from that.

To install grub to the second disk:

# grub
> device (hd0) /dev/sdb
> root (hd0,0)
> setup (hd0)
(blah blah blah)
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2
/boot/grub/grub.conf"… succeeded
Done.
> quit

(or /dev/hdb, or whatever is appropriate).

To get back to the OP: I've done a RAID-10 under CentOS, and the
problem I encountered was that the kernel wasn't smart enough to
assemble the RAID without a properly populated /etc/mdadm.conf file.

See the details at 
http://wiki.xdroop.com/space/Linux/Software+Raid+compound+devices

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


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


Re: [CentOS] Getting printer to work under 5.2

2008-07-17 Thread Donald Buchan
Yes on both counts.  That's where I was dealing with the parts about the
one-dependancy-mentionned-at-a-time part.  No luck, hence the reason for
uninstalling it and reverting to the yum repository.

> From: Anne Wilson <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] Getting printer to work under 5.2
> To: CentOS mailing list 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="utf-8"
> 
> On Thursday 17 July 2008 04:04, Donald Buchan wrote:
> > I have a standard hplip install on my 5.2 box installed from the repos
> > (it originally was installed from the 5.1 disks and followed any upgrade
> > that may have occured in the transition to 5.2). My printer is a HP
> > Deskjet F4180 connecting via USB.
> 
> Did you run hp-setup (as root, of course)?
> 
> Anne


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


Re: [CentOS] OT - Windows slowdown?

2008-07-17 Thread Martyn Hare
John R Pierce wrote:
> Anne Wilson wrote:
>> Applying SP3 to my daughter's laptop has killed performance to the
>> point of being almost unusable.  Restore Points seem to be lost, so I
>> can't go back to before it.
>>   
>
> I've installed SP3 on dozens of systems and seen no slowdowns.
>
>
> this is WAY off topic for this list.
It seems Service Pack 3 has been hell for a lot of people, including
businesses.  Windows Fundamentals for Legacy PCs is incompatible with
SP3 yet Microsoft lists it on Microsoft Update for that XP variant for
example.

Here is my advice for XP users wanting SP3, this advice applies to any
service pack install...

* _NEVER_ use Microsoft [Windows] Update to install service packs
   (Use the "IT Professionals" multiple installation bundles)
* Don't waste space on uninstallation backups (there are command-line
switches to prevent this)
* Clean out and turn off System Restore before you do it
* Make a slipstreamed XP CD to run a Repair installation should
something go badly wrong...

This is so barely on topic it's just plain _wrong_, but it's the only
thing I can give useful input on based on [bad] experience.  That said
it's not _that_ offtopic given Xen can run Windows and CentOS includes
Xen technology ;-)


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


RE: [CentOS] preferred software RAID 10?

2008-07-17 Thread Ross S. W. Walker
Rudi Ahlers wrote:
> Ross S. W. Walker wrote:
> > Rudi Ahlers wrote:
> >   
> >> John R Pierce wrote:
> >> 
> >>> Rudi Ahlers wrote:
> >>>   
>  And then, how do I setup the partitioning? Do I setup /boot on a 
>  separate RAID "partition"? If so, what happens if I want to replace 
>  the 1st 2 HDD's with bigger ones?
>  
> >>> each partition is raided seperately with mdadm you could make the 
> >>> whole thing one LVM partition thats raid10, then use LVM to dice it up 
> >>> into file systems.
> >>>
> >>> if you have 4 drives and are doing software raid10, you won't be 
> >>> swapping drives with different sizes without a WHOLE lotta pain.
> >>>   
> >> Ok, so how do I do this? Let's say I have 4x 160GB HDD's now, and plan 
> >> on replacing them with 4x 500GB HDD's in the future?
> >> 
> >
> > Personally I would never put an OS install on a higher RAID then RAID1,
> > because it gets too messy to upgrade like you suggested.
> > 
> 
> So you're suggesting that I keep the OS separate from the data? But what 
> happens if both the 1st 2 drives with the OS fails, or needs to be replaced?

Well I was talking 2 separate spindles for the OS, but I guess you got
the idea from my later question.

> >   
> >> What setup would help with a upgrade in the future?
> >>
> >> 
> >>> /boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
> >>> leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
> >>> to remember to copy /boot to /boot2 each time you update the kernel.
> >>>   
> >> I understand this, but how do you boot from /boot2 on the 
> >> second HDD if the 1st have failed?
> >> 
> >
> > Could you not get a system that had 2 drives for the OS and 4 drives
> > for data?
> >
> 
> nope, unfortunately not. It's a 2U rackmount chassis with space for only 
> 4 HDD's. I have been thinking about installing the OS onto a USB memory 
> stick, but have never actually got as far as trying to figure out how 
> todo it.

Yeah, problem with USB memory stick is swap on the slow USB will IO wait
the whole box and what if some wise guy comes and says "Oh look someone
forgot a USB memory stick"?

> > I have setup 4 disk RAID10 systems before, but they were never
> > intended to be upgraded (in place at least).
> >
> > I can forward a couple of recipes, but let me first say that to do
> > it from the CentOS install media requires 2 RAID1s and LVM striping
> > because the RAID10 option isn't on the media, but it is functionally
> > equivalent both in useable space and performance.
> >
>  
> Please share your recipes, I'd like to give it a try  :)

Ok, well let me start with the first using 2 RAID1 PVs in a VG and
striping.

This will require 2 major steps, one to setup and install and the
other after installation to create striped OS LV because the
installer doesn't let you give options on the LV creation to
make it interleaved.

1) Create 100MB or 256MB primary parts on each disk as type
MD RAID.

2) Add those 4 partitions to a RAID1 set, make first 2 active
and the other 2 spare.

3) Allocate the rest of the drive space on the 4 drives as
partition types of MD RAID

4) Create 2 RAID1s, one out of first 2 drives, the other
out of the second 2 drives. Make them of type LVM.

5) Create LVM volume group vg0 out of the 2 PVs.

6) Create 2 4 GB LVs in the VG, 1 called swap0, the other
called rooti (not a typo cause after boot we will create
a root).

7) Install into rooti and reboot

8) After reboot and yum update, create a LV of say 8GB
that have the option '-i 2' on the lvcreate so it
interleaves the allocation between the two RAID1 PVs,
call it 'root'

9) Do a dump/restore of 'rooti' LV to 'root' LV, for
care do it in single user so data isn't 'influx'.

10) Change fstab and grub.conf swapping rooti for root,
do a 'mkinitrd' for the running kernel and then reboot.

11) Keep in mind older initrd files will still have
the old rooti in them! Maybe best to get rid of those
kernels...

12) If all works well, do a lvrename of rooti to swap1,
do a mkswap on it and add it to fstab with same priority
as swap0 and then swapon -a and swap will be interleaved.

If you need further explanation on any of those steps
just let me know.

I'll give my off-line receipe after I get home from this
business trip

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@cent

Re: [CentOS] Custom CentOS iso's

2008-07-17 Thread Tracy R Reed

Johnny Hughes wrote:
First, the reason we take them out ... svn does not do well with big 
files like tarballs in it's file system.


That makes sense.

The spec file calls out all the sources ... so you can look for them 
first in SVN (or CVS, Hg, etc.), then use something like wget to look 
for them.


first export the files in the sources directory from SVN ...


But since you keep the tarballs outside of the svn on a webserver 
somewhere you wouldn't normally expect the script to find the tarball, 
right? Unless you had already run this build once and downloaded it perhaps.


And when you are done you check in any of changes then delete the 
working directory where you had the sources checked out and tarball 
downloaded into? Or do you just leave it all alone? I guess anyone 
working on it would know not to check in the tarball.


--
Tracy R Reed  Read my blog at http://ultraviolet.org
Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
Non-GPG signed mail gets read only if I can find it among the spam.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] RE: lvm errors after replacing drive in raid 10 array

2008-07-17 Thread Mike


On Thu, 17 Jul 2008, Ross S. W. Walker wrote:



It would be interesting to see what the mdadm --detail /dev/mdX
says.

I see the VG is made out of 1 PV md3? What are md0,1,2 doing, I
can guess md0 is probably /boot, but what about 1 and 2?

It wouldn't hurt to give the sfdisk partition dumps for the
drives in question too.

-Ross



Thanks for the reply.  md2 is /boot, md0 is /root and md1 is swap.


# mdadm --detail /dev/md3
/dev/md3:
Version : 00.90.03
  Creation Time : Fri Jul  4 17:11:30 2008
 Raid Level : raid10
 Array Size : 947883008 (903.97 GiB 970.63 GB)
  Used Dev Size : 473941504 (451.99 GiB 485.32 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 3
Persistence : Superblock is persistent

Update Time : Thu Jul 17 15:58:52 2008
  State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

 Layout : near=1, far=2
 Chunk Size : 256K

   UUID : 7ecb1de6:c6e22a3a:1bd5446a:1dcd5444
 Events : 0.3852

Number   Major   Minor   RaidDevice State
   0   840  active sync   /dev/sda4
   1   8   201  active sync   /dev/sdb4
   2   8   362  active sync   /dev/sdc4
   3   8   523  active sync   /dev/sdd4


# sfdisk -l /dev/sda

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   *  0+ 12  13-104391   fd  Linux raid 
autodetect
/dev/sda2 1312871275   10241437+  fd  Linux raid 
autodetect
/dev/sda3   12881797 5104096575   fd  Linux raid 
autodetect
/dev/sda4   1798   60800   59003  473941597+  fd  Linux raid 
autodetect


# sfdisk -l /dev/sdb

Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdb1   *  0+ 12  13-104391   fd  Linux raid 
autodetect
/dev/sdb2 1312871275   10241437+  fd  Linux raid 
autodetect
/dev/sdb3   12881797 5104096575   fd  Linux raid 
autodetect
/dev/sdb4   1798   60800   59003  473941597+  fd  Linux raid 
autodetect


# sfdisk -l /dev/sdc

Disk /dev/sdc: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdc1   *  0+ 12  13-104391   fd  Linux raid 
autodetect
/dev/sdc2 1312871275   10241437+  fd  Linux raid 
autodetect
/dev/sdc3   12881797 5104096575   fd  Linux raid 
autodetect
/dev/sdc4   1798   60800   59003  473941597+  fd  Linux raid 
autodetect


# sfdisk -l /dev/sdd

Disk /dev/sdd: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdd1   *  0+ 12  13-104391   fd  Linux raid 
autodetect
/dev/sdd2 1312871275   10241437+  fd  Linux raid 
autodetect
/dev/sdd3   12881797 5104096575   fd  Linux raid 
autodetect
/dev/sdd4   1798   60800   59003  473941597+  fd  Linux raid 
autodetect

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


RE: [CentOS] lvm errors after replacing drive in raid 10 array

2008-07-17 Thread Ross S. W. Walker
Mike wrote:
> I thought I'd test replacing a failed drive in a 4 drive raid 10 array on 
> a CentOS 5.2 box before it goes online and before a drive really fails.
> 
> I 'mdadm failed, removed', powered off, replaced drive, partitioned with 
> sfdisk -d /dev/sda | sfdisk /dev/sdb, and finally 'mdadm add'ed'.
> 
> Everything seems fine until I try to create a snapshot lv.  (Creating a 
> snapshot lv worked before I replaced the drive.)  Here's what I'm seeing.
> 
> # lvcreate -p r -s -L 8G -n home-snapshot /dev/vg0/homelv
>Couldn't find device with uuid 
> 'yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi'.
>Couldn't find all physical volumes for volume group vg0.
>Volume group for uuid not found: 
> I4Gf5TUB1M1TfHxZNg9cCkM1SbRo8cthCTTjVHBEHeCniUIQ03Ov4V1iOy2ciJwm
>Aborting. Failed to activate snapshot exception store.
> 
> So then I try
> 
> # pvdisplay
>--- Physical volume ---
>PV Name   /dev/md3
>VG Name   vg0
>PV Size   903.97 GB / not usable 3.00 MB
>Allocatable   yes
>PE Size (KByte)   4096
>Total PE  231416
>Free PE   44536
>Allocated PE  186880
>PV UUID   yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi
> 
> 
> Subsequent runs of pvdisplay eventually returns nothing. pvck /dev/md3 
> seems to restore that but creating a snapshot volume still fails.
> 
> It's as if the "PV stuff" is not on the new drive.  I (probably 
> incorrectly) assumed that just adding the drive back in to 
> the raid array would take care of that.
>
> I've searched quite a bit but have not found any clues.  Any one?

It would be interesting to see what the mdadm --detail /dev/mdX
says.

I see the VG is made out of 1 PV md3? What are md0,1,2 doing, I
can guess md0 is probably /boot, but what about 1 and 2?

It wouldn't hurt to give the sfdisk partition dumps for the
drives in question too.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] racoon and ipsec issues

2008-07-17 Thread Bill Campbell
Following up on my own post with some new information and puzzler:

On Thu, Jul 17, 2008, Bill Campbell wrote:
>On Thu, Jul 17, 2008, Timothy Selivanow wrote:
...
>
>After letting things sit overnight, and seeing ``IPsec-SA
>expired'' messages in /var/log/messages, I tried again this
>afternoon. without success.  There are some things that seem
>noteworthy to me.
>
>  1.  There was no traffic between the machines until I started ``tcpdump''
>  on one, at which time it initiated the handshaking with the machine
>  here (one machine is here on M.I. the other in Kansas City).
>
>  2.  When racoon starts, there is a message in /var/log/messages,
>  ``racoon: ERROR: racoon: MLS support is not enabled''.  I haven't
>  been able to figure out what that means.
>
>  3.  The Kansas City machine is running kernel 2.6.18-53.1.14.el5 SMP,
>  x86_64.
>
>  4.  The M.I. machine is running 2.6.18-53.1.21.el5PAE SMP i686...
>
>  5.  The M.I. machine hosts several VMware virtual machines so both its
>  NICs are in promiscuous mode.

I tried setting up a different machine here on M.I. to connect,
changed the remote IP on the Kansas City machine, and am able to
create a tunnel, ping, and ssh from M.I. to K.C., but cannot do
any of these from K.C. to M.I.

There are *NO* iptables rules on either machine at present.  To
the best of my knowledge there are no IP filters between the
Internet and these machines.  The one in K.C. is a DSL modem on a
/29 net block while the connection here is via an Integra/Eschelon
Adtran channel bank to a T1 to our 192.136.111.0/24 block.

I cannot understand how a connection works one way, but not the
other on what is supposed to be symmetric.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Things in our country run in spite of government.  Not by aid of it!
Will Rogers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] preferred software RAID 10?

2008-07-17 Thread Rudi Ahlers

Ross S. W. Walker wrote:

Rudi Ahlers wrote:
  

John R Pierce wrote:


Rudi Ahlers wrote:
  
And then, how do I setup the partitioning? Do I setup /boot on a 
separate RAID "partition"? If so, what happens if I want to replace 
the 1st 2 HDD's with bigger ones?

each partition is raided seperately with mdadm you could make the 
whole thing one LVM partition thats raid10, then use LVM to dice it up 
into file systems.


if you have 4 drives and are doing software raid10, you won't be 
swapping drives with different sizes without a WHOLE lotta pain.
  
Ok, so how do I do this? Let's say I have 4x 160GB HDD's now, and plan 
on replacing them with 4x 500GB HDD's in the future?



Personally I would never put an OS install on a higher RAID then RAID1,
because it gets too messy to upgrade like you suggested.
  
So you're suggesting that I keep the OS separate from the data? But what 
happens if both the 1st 2 drives with the OS fails, or needs to be replaced?
  

What setup would help with a upgrade in the future?


/boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
to remember to copy /boot to /boot2 each time you update the kernel.
  
I understand this, but how do you boot from /boot2 on the 
second HDD if the 1st have failed?



Could you not get a system that had 2 drives for the OS and 4 drives
for data?
  
nope, unfortunately not. It's a 2U rackmount chassis with space for only 
4 HDD's. I have been thinking about installing the OS onto a USB memory 
stick, but have never actually got as far as trying to figure out how 
todo it.

I have setup 4 disk RAID10 systems before, but they were never
intended to be upgraded (in place at least).

I can forward a couple of recipes, but let me first say that to do
it from the CentOS install media requires 2 RAID1s and LVM striping
because the RAID10 option isn't on the media, but it is functionally
equivalent both in useable space and performance.
  

Please share your recipes, I'd like to give it a try  :)


--

Kind Regards
Rudi Ahlers

Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff

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


RE: [CentOS] preferred software RAID 10?

2008-07-17 Thread Ross S. W. Walker
Kai Schaetzl wrote:
> Rudi Ahlers wrote on Thu, 17 Jul 2008 23:10:48 +0200:
> 
> > > /boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
> > > leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
> > > to remember to copy /boot to /boot2 each time you update the kernel.
> > I understand this, but how do you boot from /boot2 on the second HDD if 
> > the 1st have failed?
> 
> You don't (*). I don't understand John's advice here. There is no problem 
> md mirroring /boot. You just need to install grub a second time on the 
> other disk. For that you have to boot from it. (I think I also did it 
> successfully without booting from the other disk in the past, but last 
> time I tried it it didn't want to work like I remembered it should.)
> 
> (*) Anyway, you would boot from a Rescue CD or such and rename it ...

Yes, no problems, I had /boot mirrored across 4 drives (NAS box) and
grub installed on each.

If you use labels for /boot in fstab you don't even need to edit fstab
from a rescue CD, just remove the failed first drive and boot.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


[CentOS] lvm errors after replacing drive in raid 10 array

2008-07-17 Thread Mike
I thought I'd test replacing a failed drive in a 4 drive raid 10 array on 
a CentOS 5.2 box before it goes online and before a drive really fails.


I 'mdadm failed, removed', powered off, replaced drive, partitioned with 
sfdisk -d /dev/sda | sfdisk /dev/sdb, and finally 'mdadm add'ed'.


Everything seems fine until I try to create a snapshot lv.  (Creating a 
snapshot lv worked before I replaced the drive.)  Here's what I'm seeing.


# lvcreate -p r -s -L 8G -n home-snapshot /dev/vg0/homelv
  Couldn't find device with uuid 'yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi'.
  Couldn't find all physical volumes for volume group vg0.
  Volume group for uuid not found: 
I4Gf5TUB1M1TfHxZNg9cCkM1SbRo8cthCTTjVHBEHeCniUIQ03Ov4V1iOy2ciJwm

  Aborting. Failed to activate snapshot exception store.

So then I try

# pvdisplay
  --- Physical volume ---
  PV Name   /dev/md3
  VG Name   vg0
  PV Size   903.97 GB / not usable 3.00 MB
  Allocatable   yes
  PE Size (KByte)   4096
  Total PE  231416
  Free PE   44536
  Allocated PE  186880
  PV UUID   yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi


Subsequent runs of pvdisplay eventually returns nothing.  pvck /dev/md3 
seems to restore that but creating a snapshot volume still fails.


It's as if the "PV stuff" is not on the new drive.  I (probably 
incorrectly) assumed that just adding the drive back in to the raid array 
would take care of that.


I've searched quite a bit but have not found any clues.  Any one?

-- Thanks, Mike
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] preferred software RAID 10?

2008-07-17 Thread Ross S. W. Walker
Rudi Ahlers wrote:
> John R Pierce wrote:
> > Rudi Ahlers wrote:
> >> And then, how do I setup the partitioning? Do I setup /boot on a 
> >> separate RAID "partition"? If so, what happens if I want to replace 
> >> the 1st 2 HDD's with bigger ones?
> >
> >
> > each partition is raided seperately with mdadm you could make the 
> > whole thing one LVM partition thats raid10, then use LVM to dice it up 
> > into file systems.
> >
> > if you have 4 drives and are doing software raid10, you won't be 
> > swapping drives with different sizes without a WHOLE lotta pain.
> 
> Ok, so how do I do this? Let's say I have 4x 160GB HDD's now, and plan 
> on replacing them with 4x 500GB HDD's in the future?

Personally I would never put an OS install on a higher RAID then RAID1,
because it gets too messy to upgrade like you suggested.

> 
> What setup would help with a upgrade in the future?
> 
> >
> > /boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
> > leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
> > to remember to copy /boot to /boot2 each time you update the kernel.
> 
> I understand this, but how do you boot from /boot2 on the 
> second HDD if the 1st have failed?

Could you not get a system that had 2 drives for the OS and 4 drives
for data?

I have setup 4 disk RAID10 systems before, but they were never
intended to be upgraded (in place at least).

I can forward a couple of recipes, but let me first say that to do
it from the CentOS install media requires 2 RAID1s and LVM striping
because the RAID10 option isn't on the media, but it is functionally
equivalent both in useable space and performance.

If you want to use the MD RAID10 driver you need to build it from a
working system then install on it.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] preferred software RAID 10?

2008-07-17 Thread Kai Schaetzl
Rudi Ahlers wrote on Thu, 17 Jul 2008 23:10:48 +0200:

> > /boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
> > leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
> > to remember to copy /boot to /boot2 each time you update the kernel.
> I understand this, but how do you boot from /boot2 on the second HDD if 
> the 1st have failed?

You don't (*). I don't understand John's advice here. There is no problem 
md mirroring /boot. You just need to install grub a second time on the 
other disk. For that you have to boot from it. (I think I also did it 
successfully without booting from the other disk in the past, but last 
time I tried it it didn't want to work like I remembered it should.)

(*) Anyway, you would boot from a Rescue CD or such and rename it ...

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] yum update glitch on latest update to 5.2

2008-07-17 Thread Lanny Marcus
On Thu, Jul 17, 2008 at 10:38 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
> Lanny Marcus wrote:
>>
>> On Thu, Jul 17, 2008 at 9:01 AM, MHR <[EMAIL PROTECTED]> wrote:
>>>
>>> ]# yum update
>>> Loading "priorities" plugin
>>> Loading "fastestmirror" plugin
>>> Loading mirror speeds from cached hostfile
>>>  * base: mirror.hmc.edu
>>>  * updates: mirrors.versaweb.com
>>>  * kbs-CentOS-Extras: centos.karan.org
>>>  * extras: centos-distro.cavecreek.net
>>> Excluding Packages in global exclude list
>>> Finished
>>> Excluding Packages from CentOS-5 - Base
>>> Finished
>>> Excluding Packages from CentOS-5 - Updates
>>> Finished
>>> Excluding Packages from CentOS.Karan.Org-EL5 - Stable
>>> Finished
>>> 0 packages excluded due to repository priority protections
>>
>> Why does it say 0 packages excluded? On my CentOS 5.2 Desktop,
>> it says it excludes about 285 packages, because of repository
>> priority protections.  Is priorities working properly or
>> am I missing something, because I'm a newbie?
>>
>>  (the rest of the transaction followed)
>
> Depends on what repos are active and priority settings.
>
> If all the repos that are "enabled=1" have the same priority setting ... OR
> ... if there are not any "overlapping packages" in repos with different
> priority settings then there will be no packages excluded.

Johnny: Thank you for the explanation! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raw device gone after reboot (Centos 5.2)!!!

2008-07-17 Thread Jeff
2008/7/17 mcclnx mcc <[EMAIL PROTECTED]>:
> We are set up CENTOS 5.2 (X86) as our database server.  I created raw
> partitions and also put definition on /etc/sysconfig/rawdevices.
>
> I can use "raw -qa" see raw partitions.  The wield things is after reboot
> /dev/raw is not exist any more.
>
>
>
> Does anyone know how to fix it?

Raw partitions are deprecated. I recall from prior posts that you are
using Informix, is that right? Recent versions of Informix implement
the O_DIRECT flag for disk I/O so raw devices are not needed

For our Informix installation, we point the server directly at the
/dev/sd* devices. The one trick is to create a file in
/etc/udev/permissions.d that sets the permissions for the disk devices
at boot.

# cat /etc/udev/permissions.d/40-informix.permissions
sdb5:informix:informix:0660
sdb6:informix:informix:0660
sdb7:informix:informix:0660
#

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


Re: [CentOS] racoon and ipsec issues

2008-07-17 Thread Bill Campbell
On Thu, Jul 17, 2008, Timothy Selivanow wrote:
>On Thu, 2008-07-17 at 00:03 -0700, Bill Campbell wrote:
>> I am attempting to create an ipsec tunnel between two CentOS 5.1
>> systems, network-to-network with two different 192.168.xxx.0/24
>> LAN segments.
>
>
>As someone who has a similar setup to what you are wanting, it sounds
>like either the route, or a problem with the SRCGW/DSTGW.  If your two
>networks are 192.168.100.0/24 and 192.168.200.0/24 for sites A and B,
>respectively, with public IPs 1.1.1.1 and 2.2.2.2 (respectively, again),
>then you will want something like the following:
>
>Site A ifcfg-ipsec0:
>TYPE=IPSEC
>SRCGW=192.168.100.1
>DSTGW=192.168.200.1
>SRCNET=192.168.100.0/24
>DSTNET=192.168.200.0/24
>DST=2.2.2.2
>
>Site B ifcfg-ipsec0:
>TYPE=IPSEC
>SRCGW=192.168.200.1
>DSTGW=192.168.100.1
>SRCNET=192.168.200.0/24
>DSTNET=192.168.100.0/24
>DST=1.1.1.1

These are the same as what I have with the appropriate IP and
CIDR blocks.

>You will want to make sure that no NAT'ing is occurring for traffic that
>wants to flow from site A to B (and vice-versa).  I also have a static
>route set up, as I was having some problems with it automatically
>setting when the ipsec "interface" was set up.  For this example, I'm
>assuming that both Site A and B have two physical interfaces, eth0 and
>eth1, that have the public and private addresses.

It each case these are machines that are directly connected to
the Internet with no NAT.

>Site A interfaces:
>eth0: 1.1.1.1
>eth1: 192.168.100.1
>
>Site B interfaces:
>eth0: 2.2.2.2
>eth1: 192.168.200.1
>
>Site A route-eth1:
>192.168.200.0/24 via 192.168.100.1
>
>Site B route-eth1:
>192.168.100.0/24 via 192.168.200.1
>
These are equivalent.

It appears to me that the ``ifup ipsec0'' command primarily wakes
racoon up to modify the /etc/racoon/racoon.conf file with the
appropriate include and to set the route, and ``ifdown'' mostly
removes the route.

>On a closing note, you are correct in observing that there is no longer
>an "ipsec0" or similar interface.  I started to explain why...but it got
>too long.  If you would like a crash course on kernel IPSec behaviour,
>let me know and I'll write up a short one with some further reading
>linked.

I would be very interested in this.

After letting things sit overnight, and seeing ``IPsec-SA
expired'' messages in /var/log/messages, I tried again this
afternoon. without success.  There are some things that seem
noteworthy to me.

  1.  There was no traffic between the machines until I started ``tcpdump''
  on one, at which time it initiated the handshaking with the machine
  here (one machine is here on M.I. the other in Kansas City).

  2.  When racoon starts, there is a message in /var/log/messages,
  ``racoon: ERROR: racoon: MLS support is not enabled''.  I haven't
  been able to figure out what that means.

  3.  The Kansas City machine is running kernel 2.6.18-53.1.14.el5 SMP,
  x86_64.

  4.  The M.I. machine is running 2.6.18-53.1.21.el5PAE SMP i686...

  5.  The M.I. machine hosts several VMware virtual machines so both its
  NICs are in promiscuous mode.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Perhaps, when committing your first federal crime, it would be unwise to
slap your name and address on it and mail it to 10,000 people. --Dogbert
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raw device gone after reboot (Centos 5.2)!!!

2008-07-17 Thread nate
mcclnx mcc wrote:
> We are set up CENTOS 5.2 (X86) as our database server.  I created raw
> partitions and also put definition on /etc/sysconfig/rawdevices.
> I can use "raw -qa" see raw partitions.  The wield things is after reboot
> /dev/raw is not exist any more.
> Â
> Does anyone know how to fix it?

Are you sure you want to do that? from the raw manpage:

WARNING
   Although  Linux  includes support for rawio, it is now a
deprecated interface. If your application performs device access
using this interface, Red Hat encourages you to modify your
application to open the block device with the O_DIRECT flag.
The rawio interface will exist for the life  of  Red Hat Enterprise
Linux 4, but is a candidate for removal from future releases.

What database server are you using that your wanting to use raw for?

My only experience with raw devices and databases is with Oracle 10G
and Automatic Storage Management(ASM). In that case Oracle's stuff
handles all of the direct I/O without needing anything to do with
/dev/raw, infact I've explicitly disabled the raw service on all of
my servers because I've never needed it.

nate

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


[CentOS] Raw device gone after reboot (Centos 5.2)!!!

2008-07-17 Thread mcclnx mcc
We are set up CENTOS 5.2 (X86) as our database server.  I created raw 
partitions and also put definition on /etc/sysconfig/rawdevices.
I can use "raw -qa" see raw partitions.  The wield things is after reboot 
/dev/raw is not exist any more.
 
Does anyone know how to fix it?
 
Thanks.


  
___
總會在某些時刻,突然想起舊情人?他 現在過得還好嗎? 
http://sev.search.yahoo.net___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] preferred software RAID 10?

2008-07-17 Thread Rudi Ahlers

John R Pierce wrote:

Rudi Ahlers wrote:
And then, how do I setup the partitioning? Do I setup /boot on a 
separate RAID "partition"? If so, what happens if I want to replace 
the 1st 2 HDD's with bigger ones?



each partition is raided seperately with mdadm you could make the 
whole thing one LVM partition thats raid10, then use LVM to dice it up 
into file systems.


if you have 4 drives and are doing software raid10, you won't be 
swapping drives with different sizes without a WHOLE lotta pain.
Ok, so how do I do this? Let's say I have 4x 160GB HDD's now, and plan 
on replacing them with 4x 500GB HDD's in the future?


What setup would help with a upgrade in the future?


/boot shouldn't be mirrored, as the BIOS won't know how to boot it. 
leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try 
to remember to copy /boot to /boot2 each time you update the kernel.
I understand this, but how do you boot from /boot2 on the second HDD if 
the 1st have failed?


--

Kind Regards
Rudi Ahlers

Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff

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


Re: [CentOS] Custom CentOS iso's

2008-07-17 Thread Johnny Hughes

Tracy R Reed wrote:

Johnny Hughes wrote:
We install the SRPMS and move all the tar files out of SVN and into a 
directory, keeping all the patches and text files in SVN.  We put the 
tarballs in a webdav directory (in a subdirectory under SRPM name)


How do you know which tarballs go with which SRPMS and then how do you 
put them back into place so you can build the RPM?


First, the reason we take them out ... svn does not do well with big 
files like tarballs in it's file system.


The spec file calls out all the sources ... so you can look for them 
first in SVN (or CVS, Hg, etc.), then use something like wget to look 
for them.


first export the files in the sources directory from SVN ...

we use a package called rpmdevtools from fedora that has a script called 
spectool which can be called like this:


#==
for f in `spectool -n -S -P *.spec | awk '{FS=" ";print $2}' \
 | sed -e "s/.*\///g"`

 do
  # some source files are already here, so only download missing
  # (compressed) ones.
  if [ ! -e $rpmroot/SOURCES/$f ]; then

   wget --http-user=$wget_user --http-password=$wget_passwd \
   -P ../SOURCES http://$SERVER_NAME/sources/$f

  fi

 done
#=




For CentOS-5, building an ISO uses the anaconda runtime and the 
buildinstall command.  Here is documentation on the buildinstall command:


Thanks!






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


Re: [CentOS] Custom CentOS iso's

2008-07-17 Thread Tracy R Reed

Johnny Hughes wrote:
We install the SRPMS and move all the tar files out of SVN and into a 
directory, keeping all the patches and text files in SVN.  We put the 
tarballs in a webdav directory (in a subdirectory under SRPM name)


How do you know which tarballs go with which SRPMS and then how do you 
put them back into place so you can build the RPM?


For CentOS-5, building an ISO uses the anaconda runtime and the 
buildinstall command.  Here is documentation on the buildinstall command:


Thanks!

--
Tracy R Reed  Read my blog at http://ultraviolet.org
Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
Non-GPG signed mail gets read only if I can find it among the spam.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Howto: Java Plugin for Firefox 3.0.1?

2008-07-17 Thread MHR
On Thu, Jul 17, 2008 at 12:31 PM, Max Hetrick <[EMAIL PROTECTED]> wrote:
> James B. Byrne wrote:
>>
>> Can anyone here give me the magic decoder ring recipe for getting jre
>> "plugged" into Firefox 3.0.1?  The plugins directory is gone and the
>> Firefox FAQ regarding this issue cryptically mentions that plugin support
>> has been dropped. It then points one to a early adopter SUN jre1.6-10 page
>> that has innumerable dependencies which my version of CentOS-5.2 does not
>> meet.
>>
>> Firefox 3.0.0 had a plugins directory and it did support the logical link
>> plugin:
>>
>>  ls -s libjavaplugin_oji.so
>> /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so
>>

You may also need a symbolic link in your ~/.mozilla/plugins directory
for this to work

mhr

>> I have no clue how to get java to work in FF3.0.1 at the moment.  Any help
>> would be appreciated.
>>
>>
> Can you drop it into /usr/lib/mozilla/plugins/ ? Flash player puts it's
> plugin in this directory on my installation, and it appears to still be
> working.
>
> Regards,
> Max
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Difficulties with Seamonkey plugins on 5.2

2008-07-17 Thread MHR
Has anyone else noticed this?

I've been running a self-built, working 64-bit version of Seamonkey's
2.01a pre-release (alpha) version for the last six or seven months
(because the "contributed" unofficial 64-bit build didn't work right
and the official 32-bit release crashed all the time), and it's been
working relatively well until recently, particularly in the area of
plugins.

After updating to CentOS 5.2, I noticed that the flash plugin didn't
work right.  This might be due to a major change in nspluginwrapper -
it is now included in the CentOS (RHEL) release, as opposed to being a
download from rpmforge.

Problem is - it doesn't seem to work right.  My flash plugin does not
work.  At all.

There was a new official release of Seamonkey (1.1.10) with an
available contributed 64-bit build (haven't gotten around to the
1.1.11 revision yet), so I though, maybe this time it will work
better.  I pulled down this revision and installed it.  Works great -
except for the flash plugin.  (Actually, I only know that the acrobat
reader plug-in works, but the flash plugin definitely does _not_.)  I
tried again with 1.1.11 here at work (32-bits) and it seems to work
just fine.

But, as of this morning at least, my home system absolutely does NOT
work with the new nspluginwrapper, and the flash plugin does not work
at all.  This is true both on the 1.1.10 unofficial contributed 64-bit
build, and also my home built 64-bit 2.01pre (with fresh source as of
this morning).

Does anyone have the new (0.9.91.5) nspluginwrapper working with the
flash plugin on a 64-bit install of CentOS 5.2 and Seamonkey?

Also, one of the "tricks" I learned with this whole setup was that the
simplest way to "install" the plugins was simply to create symbolic
links from /usr/lib64/mozlilla/plugins - I think that's right - to the
relevant plugins directory.  This worked until 5.2, or at least
Seamonkey reports that the plugins are installed.  (The AR8 plugin has
serious problems, haven't gone all the way back to the AR7.9 plugin
yet, and I haven't tested the mplayerplug-in yet, but the critical one
is the flash plugin because so many web pages have flash videos on
them these days.)

Suggestions welcome.

Thanks.

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


[CentOS] Re: Howto: Java Plugin for Firefox 3.0.1? {SOLVED]]

2008-07-17 Thread James B. Byrne


On Thu, July 17, 2008 15:05, James B. Byrne wrote:

> I have no clue how to get java to work in FF3.0.1 at the moment.  Any help
> would be appreciated.
>

Ah.  I now have to put this logical link in the.mozilla/plugins directory
under each users home directory.  At least it works.

Sorry for the interruption.

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



-- 
***  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] Howto: Java Plugin for Firefox 3.0.1?

2008-07-17 Thread Max Hetrick

James B. Byrne wrote:

Can anyone here give me the magic decoder ring recipe for getting jre
"plugged" into Firefox 3.0.1?  The plugins directory is gone and the
Firefox FAQ regarding this issue cryptically mentions that plugin support
has been dropped. It then points one to a early adopter SUN jre1.6-10 page
that has innumerable dependencies which my version of CentOS-5.2 does not
meet.

Firefox 3.0.0 had a plugins directory and it did support the logical link
plugin:

 ls -s libjavaplugin_oji.so
/usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so


I have no clue how to get java to work in FF3.0.1 at the moment.  Any help
would be appreciated.


Can you drop it into /usr/lib/mozilla/plugins/ ? Flash player puts it's 
plugin in this directory on my installation, and it appears to still be 
working.


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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
to, 2008-07-17 kello 10:11 -0700, Akemi Yagi kirjoitti:
> On Thu, Jul 17, 2008 at 12:05 AM, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> > Hi list,
> >
> > I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
> > - this time with ISA bus and ISAPNP support which I accidentally left
> > out of my previous attempt.
> > Unfortunately, this time I forgot to change my identifier in
> > kernel-2.6.spec file. Thus I now have one *installed* kernel version
> > *without* ISA support, and another one *with* ISA support but as rpm,
> > not yet installed. Both kernels now have identical identifiers.
> >
> > What is the safe way to remove the previous installed kernel version
> > without taking out the uninstalled new version? Is the latter safe in
> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> 
> Hi Antti,
> 
> I don't know if you have some reason and must stay at that old kernel,
> but I advise you get the current 2.6.18-92.1.6 kernel and rebuild.
> Then you'd have a chance to get your buildid in.
> 
> Akemi

Thanks, Akemi, but I first tried just that. In a post to Alan (you
should have a copy of it) I told my box crashed with 2.6.18-92.1.6
(kernel panic: Not syncing). 2.6.18-92.1.6.el5.bz_pre53 worked but I
didn't find the source rpm until Alan told me where to find it.
I have now dl'd the source rpm and will try compiling it soon.
I just wanted to have one kernel with ISA support and now I have it.
Building the newest kernel with ISA support should be relatively simple
based on my recent experiences.

Antti


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


[CentOS] Howto: Java Plugin for Firefox 3.0.1?

2008-07-17 Thread James B. Byrne
Can anyone here give me the magic decoder ring recipe for getting jre
"plugged" into Firefox 3.0.1?  The plugins directory is gone and the
Firefox FAQ regarding this issue cryptically mentions that plugin support
has been dropped. It then points one to a early adopter SUN jre1.6-10 page
that has innumerable dependencies which my version of CentOS-5.2 does not
meet.

Firefox 3.0.0 had a plugins directory and it did support the logical link
plugin:

 ls -s libjavaplugin_oji.so
/usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so


I have no clue how to get java to work in FF3.0.1 at the moment.  Any help
would be appreciated.


-- 
***  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] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
to, 2008-07-17 kello 17:58 +0100, ne.. kirjoitti:
> On Thu, Jul 17, 2008 at 10:19, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> > to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
> >> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> >> >
> >> > What is the safe way to remove the previous installed kernel version
> >> > without taking out the uninstalled new version? Is the latter safe in
> >> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> >> There is no need to remove the old kernel. Use the --replacefiles option to
> >> rpm when installing the new kernel. Then verify that your 
> >> grub.conf/lilo.conf
> >> has the correct entry.
> >>
> > Well, it wasn't as simple as that. rpm says:"kernel ... is already
> > installed" and will not go on. The identifiers (file names) are
> > identical, remember?
> Bummer, wrong option. From rpm --help
>   --replacepkgsreinstall if the package is already present
> 
> And what Mr Hughes wrote will also work.
> 
I'm sure you are both right. However, I took the long path and first
removed kernel and kernel-devel, then installed with 'rpm -ivh'. All
went OK. Thanks anyway.

Antti


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


Re: [CentOS] gecko-libs dependency resurfaces

2008-07-17 Thread MHR
On Thu, Jul 17, 2008 at 9:13 AM, Johnny Hughes <[EMAIL PROTECTED]> wrote:
>
> UMM ... this was reported a couple hours ago on this list already 
>
> this is an upsteam issue and has been corrected, should be fixed in a few
> hours on the mirrors, see this for info:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=455601
>

Still doesn't work /quite/ right:

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Updating:
 devhelp i386   0.12-18.el5_2updates   179 k
 firefox i386   3.0.1-1.el5.centos  updates   9.3 M
 nspluginwrapper i386   0.9.91.5-22.el5  updates   130 k
 xulrunner   i386   1.9.0.1-1.el5_2  updates10 M
 xulrunner-devel i386   1.9.0.1-1.el5_2  updates   3.6 M
 yelpi386   2.16.0-20.el5_2  updates   580 k

Transaction Summary
=
Install  0 Package(s)
Update   6 Package(s)
Remove   0 Package(s)

Total download size: 24 M
Downloading Packages:
(1/6): nspluginwrapper-0. 100% |=| 130 kB00:00
(2/6): xulrunner-1.9.0.1- 100% |=|  10 MB00:30
(3/6): xulrunner-devel-1. 100% |=| 3.6 MB00:16
(4/6): yelp-2.16.0-20.el5 100% |=| 580 kB00:01
(5/6): devhelp-0.12-18.el 100% |=| 179 kB00:00
(6/6): firefox-3.0.1-1.el 100% |=| 9.3 MB00:29
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : xulrunner### [ 1/12]
  Updating  : devhelp  ### [ 2/12]
  Updating  : firefox  ### [ 3/12]
/var/tmp/rpm-tmp.71452: line 11: cd:
/usr/lib/xulrunner-1.9/extensions: No such file or directory
  Updating  : yelp ### [ 4/12]
  Updating  : xulrunner-devel  ### [ 5/12]
  Updating  : nspluginwrapper  ### [ 6/12]
  Cleanup   : firefox  ### [ 7/12]
  Cleanup   : devhelp  ### [ 8/12]
  Cleanup   : yelp ### [ 9/12]
  Cleanup   : xulrunner-devel  ### [10/12]
  Cleanup   : xulrunner### [11/12]
  Cleanup   : nspluginwrapper  ### [12/12]

Updated: devhelp.i386 0:0.12-18.el5_2 firefox.i386
0:3.0.1-1.el5.centos nspluginwrapper.i386 0:0.9.91.5-22.el5
xulrunner.i386 0:1.9.0.1-1.el5_2 xulrunner-devel.i386
0:1.9.0.1-1.el5_2 yelp.i386 0:2.16.0-20.el5_2
Complete!

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


[CentOS] xdmcp to gnome desktop

2008-07-17 Thread David Hláčik
Hello,

i have turned on XDMCP on my CentOS 5.2 xen virtual machine running Gnome
Desktop. I have X window installed on my Windows Machine (Xmanager
Enterprise from Netsarang).
My questions is

1) how can i reconect to working sesion (allready loged in through xdmcp) in
case connection from client (x window on Windows) was dropped. When i will
reconnect normaly, i am getting messages that for example Firefox is
allready running and so , * it will allways open new session for me*.

Thanks in advance!

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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
to, 2008-07-17 kello 05:26 -0500, Johnny Hughes kirjoitti:
> Antti J. Huhtala wrote:
> > to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
> >> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> >>> What is the safe way to remove the previous installed kernel version
> >>> without taking out the uninstalled new version? Is the latter safe in
> >>> ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> >> There is no need to remove the old kernel. Use the --replacefiles option to
> >> rpm when installing the new kernel. Then verify that your 
> >> grub.conf/lilo.conf
> >> has the correct entry.
> >>
> > Well, it wasn't as simple as that. rpm says:"kernel ... is already
> > installed" and will not go on. The identifiers (file names) are
> > identical, remember?
> > 
> > Any other ideas?
> > 
> > Antti
> 
> rpm -ivh --force 
> 
OK, thanks. I decided to try 'rpm -e kernel', 'rpm -e
kernel-devel, and then went to ~/rpmbuild/RPMS/i686 and ran
'rpm -ivh kernel.rpm. All went well.

Antti


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


Re: [CentOS] Simple IP Question

2008-07-17 Thread Chris Boyd


On Jul 17, 2008, at 11:39 AM, Matt wrote:


I have a server located remotely running CentOS 5.x.  I need to have
two IP's on the same interface.  So I have this:

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=69.x.x.199
HWADDR=00:x:x:x:c6:10
IPADDR=69.x.x.194
NETMASK=255.255.255.248
NETWORK=69.x.x.192
ONBOOT=yes
GATEWAY=69.x.x.193
TYPE=Ethernet

So I added this:

/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=69.x.x.199
HWADDR=00:x:x:x:c6:10
IPADDR=69.x.x.195
NETMASK=255.255.255.248
NETWORK=69.x.x.192
ONBOOT=yes
GATEWAY=69.x.x.193
TYPE=Ethernet


I got tripped up on this a while back.  You need to have  
DEVICE=eth0:0 in the second script, otherwise you just overwrite the   
previously assigned IP address.

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


Re: [CentOS] Simple IP Question

2008-07-17 Thread Bo Lynch
On Thu, July 17, 2008 12:39 pm, Matt wrote:
> I have a server located remotely running CentOS 5.x.  I need to have
> two IP's on the same interface.  So I have this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.194
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> So I added this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.195
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> Now the only IP that works is the second one.  What am I doing wrong?
>
> Thanks.
>
> Matt
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Matt,

run ifconfig eth0:2 123.123.123.123 netmask 255.255.255.0 broadcast
123.123.123.255
and if needed
route add -host 123.123.123.123 eth0:2
Change values as needed though...

Then set your ifcfg-eth0:2

Bo

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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Akemi Yagi
On Thu, Jul 17, 2008 at 12:05 AM, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
> - this time with ISA bus and ISAPNP support which I accidentally left
> out of my previous attempt.
> Unfortunately, this time I forgot to change my identifier in
> kernel-2.6.spec file. Thus I now have one *installed* kernel version
> *without* ISA support, and another one *with* ISA support but as rpm,
> not yet installed. Both kernels now have identical identifiers.
>
> What is the safe way to remove the previous installed kernel version
> without taking out the uninstalled new version? Is the latter safe in
> ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?

Hi Antti,

I don't know if you have some reason and must stay at that old kernel,
but I advise you get the current 2.6.18-92.1.6 kernel and rebuild.
Then you'd have a chance to get your buildid in.

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


Re: [CentOS] bcm43xx CentOS5

2008-07-17 Thread Bart Schaefer
On Thu, Jul 17, 2008 at 5:36 AM, Michael Simpson
<[EMAIL PROTECTED]> wrote:
> Hi there,
> I have a BCM4306 pcmcia card (one of the later revisions) that i use
> to connect to my wpa2 wireless network.
>
> Wireless now works but is *real slow* just for internet access (like
> minutes for pages to load). ssh, ping etc all good and quick

I fear I can contribute more commiseration than assistance.  I have an
HP laptop with builtin Broadcom wireless.  I initially got CentOS 5
working with ndiswrapper, but had to change my access point from
shared to open authentication (WEP) and found that ndiswrapper fails
to authtenticate in the latter configuration.  The default bcm43xx
module handles the open authentication OK, but I experience a lot of
lost and duplicated packets -- experiments with ping show up to 30%
failure some of the time.  (I should update the HP ze5300 wiki page
with this info.)  I have to plug in to a wired net to do package
updates.

I have other wireless devices using the same AP with no problems, and
the same laptop performs well when booted into Windows, so this
appears to be a problem with the bcm43xx drivers.  I keep hoping that
each kernel update will improve the situation, but so far in vain.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Simple IP Question

2008-07-17 Thread Matt
>>DEVICE=eth0:0

Your not gonna believe this but that fixed it right up. ;<)  Thanks everybody!

Matthew


> I have a server located remotely running CentOS 5.x.  I need to have
> two IP's on the same interface.  So I have this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.194
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> So I added this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.195
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> Now the only IP that works is the second one.  What am I doing wrong?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread ne . . .
On Thu, Jul 17, 2008 at 10:19, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
>> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
>> >
>> > What is the safe way to remove the previous installed kernel version
>> > without taking out the uninstalled new version? Is the latter safe in
>> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
>> There is no need to remove the old kernel. Use the --replacefiles option to
>> rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
>> has the correct entry.
>>
> Well, it wasn't as simple as that. rpm says:"kernel ... is already
> installed" and will not go on. The identifiers (file names) are
> identical, remember?
Bummer, wrong option. From rpm --help
  --replacepkgsreinstall if the package is already present

And what Mr Hughes wrote will also work.

-- 
Laurence J. Peter  - "Originality is the fine art of remembering what
you hear but forgetting where you heard it."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple IP Question

2008-07-17 Thread Timothy Selivanow
On Thu, 2008-07-17 at 11:39 -0500, Matt wrote:
> So I added this:
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.195
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
> 
> Now the only IP that works is the second one.  What am I doing wrong?

You want DEVICE=eth0:1 (or what ever your interface alias is)


--Tim

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


Re: [CentOS] Simple IP Question

2008-07-17 Thread Ralph Angenendt
Matt wrote:
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
^:0 
  
> Now the only IP that works is the second one.  What am I doing wrong?

The obvious thing :)

Cheers,

Ralph


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


Re: [CentOS] racoon and ipsec issues

2008-07-17 Thread Timothy Selivanow
On Thu, 2008-07-17 at 00:03 -0700, Bill Campbell wrote:
> I am attempting to create an ipsec tunnel between two CentOS 5.1
> systems, network-to-network with two different 192.168.xxx.0/24
> LAN segments.


As someone who has a similar setup to what you are wanting, it sounds
like either the route, or a problem with the SRCGW/DSTGW.  If your two
networks are 192.168.100.0/24 and 192.168.200.0/24 for sites A and B,
respectively, with public IPs 1.1.1.1 and 2.2.2.2 (respectively, again),
then you will want something like the following:

Site A ifcfg-ipsec0:
TYPE=IPSEC
SRCGW=192.168.100.1
DSTGW=192.168.200.1
SRCNET=192.168.100.0/24
DSTNET=192.168.200.0/24
DST=2.2.2.2

Site B ifcfg-ipsec0:
TYPE=IPSEC
SRCGW=192.168.200.1
DSTGW=192.168.100.1
SRCNET=192.168.200.0/24
DSTNET=192.168.100.0/24
DST=1.1.1.1

You will want to make sure that no NAT'ing is occurring for traffic that
wants to flow from site A to B (and vice-versa).  I also have a static
route set up, as I was having some problems with it automatically
setting when the ipsec "interface" was set up.  For this example, I'm
assuming that both Site A and B have two physical interfaces, eth0 and
eth1, that have the public and private addresses.

Site A interfaces:
eth0: 1.1.1.1
eth1: 192.168.100.1

Site B interfaces:
eth0: 2.2.2.2
eth1: 192.168.200.1

Site A route-eth1:
192.168.200.0/24 via 192.168.100.1

Site B route-eth1:
192.168.100.0/24 via 192.168.200.1


On a closing note, you are correct in observing that there is no longer
an "ipsec0" or similar interface.  I started to explain why...but it got
too long.  If you would like a crash course on kernel IPSec behaviour,
let me know and I'll write up a short one with some further reading
linked.

I hope this helps.


--Tim

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


Re: [CentOS] Simple IP Question

2008-07-17 Thread Marko A. Jennings
On Thu, July 17, 2008 12:39 pm, Matt wrote:
> I have a server located remotely running CentOS 5.x.  I need to have
> two IP's on the same interface.  So I have this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.194
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> So I added this:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> DEVICE=eth0
> BOOTPROTO=none
> BROADCAST=69.x.x.199
> HWADDR=00:x:x:x:c6:10
> IPADDR=69.x.x.195
> NETMASK=255.255.255.248
> NETWORK=69.x.x.192
> ONBOOT=yes
> GATEWAY=69.x.x.193
> TYPE=Ethernet
>
> Now the only IP that works is the second one.  What am I doing wrong?

In ifcfg-eth0:0, DEVICE line should look like this:

DEVICE=eth0:0

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


[CentOS] Simple IP Question

2008-07-17 Thread Matt
I have a server located remotely running CentOS 5.x.  I need to have
two IP's on the same interface.  So I have this:

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=69.x.x.199
HWADDR=00:x:x:x:c6:10
IPADDR=69.x.x.194
NETMASK=255.255.255.248
NETWORK=69.x.x.192
ONBOOT=yes
GATEWAY=69.x.x.193
TYPE=Ethernet

So I added this:

/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=69.x.x.199
HWADDR=00:x:x:x:c6:10
IPADDR=69.x.x.195
NETMASK=255.255.255.248
NETWORK=69.x.x.192
ONBOOT=yes
GATEWAY=69.x.x.193
TYPE=Ethernet

Now the only IP that works is the second one.  What am I doing wrong?

Thanks.

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


Re: [CentOS] Evolution & HTML

2008-07-17 Thread Ralph Angenendt
Lanny Marcus wrote:
> on Thu, Jul 17, 2008 at 12:53 AM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> > I've noticed several HTML emails that evo says are unknown attachments
> > with a blank page on message display.
> 
>  I saw that, a couple of days ago, several times.
> 
> > Selecting Edit as New Message
> > results in seeing the email in the composer. Anyone seeing this? CentOS
> > 5.2.
> 
> I haven't tried that. I'm also CentOS 5.2 and Evo possibly has been updated,
> since the huge update to 5.2.

Eh, yes:

http://www.centos.org/docs/5/html/5.2/Package_Manifest/ar01s03.html

which the release notes for 5.2 point to ...

Ralph


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


Re: [CentOS] gecko-libs dependency resurfaces

2008-07-17 Thread Johnny Hughes

Ben Mohilef wrote:
In doing an update of centos 5.2 this morning, I observed that the old 
gecko-libs dependency issue caused yum update to fail because it was  
required by  nspluginwrapper (x64_86), devhelp, yelm and firefox. Also, a 
firefox (x64_86) showed the red hat splash screen rather than centos.


Manual installation of affected rpms using --nodeps (I don't advise this)  did 
not apear to impair the performance of any of the affected packages.  

Is everyone seeing this or do we have something missing in our 
installations?




UMM ... this was reported a couple hours ago on this list already 

this is an upsteam issue and has been corrected, should be fixed in a 
few hours on the mirrors, see this for info:


https://bugzilla.redhat.com/show_bug.cgi?id=455601



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


[CentOS] gecko-libs dependency resurfaces

2008-07-17 Thread Ben Mohilef
In doing an update of centos 5.2 this morning, I observed that the old 
gecko-libs dependency issue caused yum update to fail because it was  
required by  nspluginwrapper (x64_86), devhelp, yelm and firefox. Also, a 
firefox (x64_86) showed the red hat splash screen rather than centos.

Manual installation of affected rpms using --nodeps (I don't advise this)  did 
not apear to impair the performance of any of the affected packages.  

Is everyone seeing this or do we have something missing in our 
installations?

regards,

benm


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


Re: [CentOS] yum update glitch on latest update to 5.2

2008-07-17 Thread Johnny Hughes

Lanny Marcus wrote:

On Thu, Jul 17, 2008 at 9:01 AM, MHR <[EMAIL PROTECTED]> wrote:

]# yum update
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * base: mirror.hmc.edu
 * updates: mirrors.versaweb.com
 * kbs-CentOS-Extras: centos.karan.org
 * extras: centos-distro.cavecreek.net
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS.Karan.Org-EL5 - Stable
Finished
0 packages excluded due to repository priority protections


Why does it say 0 packages excluded? On my CentOS 5.2 Desktop,
it says it excludes about 285 packages, because of repository
priority protections.  Is priorities working properly or
am I missing something, because I'm a newbie?

 (the rest of the transaction followed)


Depends on what repos are active and priority settings.

If all the repos that are "enabled=1" have the same priority setting ... 
OR ... if there are not any "overlapping packages" in repos with 
different priority settings then there will be no packages excluded.





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


Re: [CentOS] yum update glitch on latest update to 5.2

2008-07-17 Thread Lanny Marcus
On Thu, Jul 17, 2008 at 9:01 AM, MHR <[EMAIL PROTECTED]> wrote:
> ]# yum update
> Loading "priorities" plugin
> Loading "fastestmirror" plugin
> Loading mirror speeds from cached hostfile
>  * base: mirror.hmc.edu
>  * updates: mirrors.versaweb.com
>  * kbs-CentOS-Extras: centos.karan.org
>  * extras: centos-distro.cavecreek.net
> Excluding Packages in global exclude list
> Finished
> Excluding Packages from CentOS-5 - Base
> Finished
> Excluding Packages from CentOS-5 - Updates
> Finished
> Excluding Packages from CentOS.Karan.Org-EL5 - Stable
> Finished
> 0 packages excluded due to repository priority protections

Why does it say 0 packages excluded? On my CentOS 5.2 Desktop,
it says it excludes about 285 packages, because of repository
priority protections.  Is priorities working properly or
am I missing something, because I'm a newbie?

 (the rest of the transaction followed)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Evolution & HTML

2008-07-17 Thread Lanny Marcus
on Thu, Jul 17, 2008 at 12:53 AM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> I've noticed several HTML emails that evo says are unknown attachments
> with a blank page on message display.

 I saw that, a couple of days ago, several times.

> Selecting Edit as New Message
> results in seeing the email in the composer. Anyone seeing this? CentOS
> 5.2.

I haven't tried that. I'm also CentOS 5.2 and Evo possibly has been updated,
since the huge update to 5.2.

Possibly the problem I had, when exiting from Evolution, where the Evolution
Calendar (which I never use) crashed, has been fixed, by one of the
15-20 updates
I've done.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update glitch on latest update to 5.2

2008-07-17 Thread Johnny Hughes

Akemi Yagi wrote:

On Thu, Jul 17, 2008 at 7:01 AM, MHR <[EMAIL PROTECTED]> wrote:


--> Finished Dependency Resolution
Error: Missing Dependency: gecko-libs = 1.9 is needed by package nspluginwrapper

Something missing?


This is a known issue:

https://bugzilla.redhat.com/show_bug.cgi?id=455601



I am building a new version now that Red Hat has just released, should 
be pushed in soon




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


Re: [CentOS] Q about CentOS-4

2008-07-17 Thread Craig White
On Thu, 2008-07-17 at 08:56 -0500, Johnny Hughes wrote:
> Craig White wrote:
> > I have a client with a server on CentOS-4 and I'm looking to upgrade to
> > latest horde/imp/etc.
> > 
> > clearly php 4.3.9-xx is not up to the task but I see that upgrades for
> > php & mysql are in CentOS-Plus
> > 
> > I see that CentOS-4 projects to get security updates until 3/2012 which
> > probably is the usefulness of the hardware itself.
> > 
> > So my questions...
> > 
> > - Will CentOS-Plus maintain the php/mysql packages until then?
> >
> 
> Yes ... the RHWAS will be supported until then and we will use whatever 
> is in there in plus (except that mysql is a bit newer ... whatever is 
> the latest mysql enterprise release).
> 
> > - The upgrade to mysql-5...do I have to nuke the db and reload from
> > backup or is there a possibility that the upgrade and subsequent restart
> > of mysql will update the database stuff itself (of course I'm gonna do a
> > complete dump of mysql data before attempting)?
> 
> There is a section to upgrade and it mostly works OK:
> 
> http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html
> 

thanks Johnny

I really didn't want to upgrade this server to 5.x

Craig

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


Re: [CentOS] yum update glitch on latest update to 5.2

2008-07-17 Thread Akemi Yagi
On Thu, Jul 17, 2008 at 7:01 AM, MHR <[EMAIL PROTECTED]> wrote:

> --> Finished Dependency Resolution
> Error: Missing Dependency: gecko-libs = 1.9 is needed by package 
> nspluginwrapper
>
> Something missing?

This is a known issue:

https://bugzilla.redhat.com/show_bug.cgi?id=455601

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


[CentOS] yum update glitch on latest update to 5.2

2008-07-17 Thread MHR
]# yum update
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * base: mirror.hmc.edu
 * updates: mirrors.versaweb.com
 * kbs-CentOS-Extras: centos.karan.org
 * extras: centos-distro.cavecreek.net
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Excluding Packages from CentOS.Karan.Org-EL5 - Stable
Finished
0 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package xulrunner.x86_64 0:1.9.0.1-1.el5_2 set to be updated
--> Processing Dependency: gecko-libs = 1.9 for package: nspluginwrapper
--> Processing Dependency: gecko-libs = 1.9 for package: nspluginwrapper
---> Package yelp.x86_64 0:2.16.0-20.el5_2 set to be updated
---> Package firefox.x86_64 0:3.0.1-1.el5.centos set to be updated
---> Package firefox.i386 0:3.0.1-1.el5.centos set to be updated
--> Processing Dependency: gecko-libs = 1.9 for package: nspluginwrapper
--> Processing Dependency: gecko-libs = 1.9 for package: nspluginwrapper
---> Package xulrunner.i386 0:1.9.0.1-1.el5_2 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: gecko-libs = 1.9 is needed by package nspluginwrapper

Something missing?

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


Re: [CentOS] openldap package compilation flags?

2008-07-17 Thread tblader

Johnny Hughes wrote:
If you download the SRPM and install it, then you can look at the spec 
file.



Hi Johnny,
Great, thanks for the info.  Just in case anyone else is
interested, here's how it worked for me:

# mkdir -p /usr/src/redhat/SOURCES
# rpm -Uvh 
http://mirror.nic.uoregon.edu/centos/5/os/SRPMS/openldap-2.3.27-8.el5_1.3.src.rpm
# fgrep enable /usr/src/redhat/SPECS/openldap.spec
...


--

Flambeau Inc. Technology Center - Baraboo, WI
Email: [EMAIL PROTECTED]
Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Q about CentOS-4

2008-07-17 Thread Johnny Hughes

Craig White wrote:

I have a client with a server on CentOS-4 and I'm looking to upgrade to
latest horde/imp/etc.

clearly php 4.3.9-xx is not up to the task but I see that upgrades for
php & mysql are in CentOS-Plus

I see that CentOS-4 projects to get security updates until 3/2012 which
probably is the usefulness of the hardware itself.

So my questions...

- Will CentOS-Plus maintain the php/mysql packages until then?



Yes ... the RHWAS will be supported until then and we will use whatever 
is in there in plus (except that mysql is a bit newer ... whatever is 
the latest mysql enterprise release).



- The upgrade to mysql-5...do I have to nuke the db and reload from
backup or is there a possibility that the upgrade and subsequent restart
of mysql will update the database stuff itself (of course I'm gonna do a
complete dump of mysql data before attempting)?


There is a section to upgrade and it mostly works OK:

http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html



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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Kevin Thorpe

Craig White wrote:

On Thu, 2008-07-17 at 09:26 -0400, Brett Serkez wrote:
  

On Thu, Jul 17, 2008 at 6:02 AM, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
Hi all,
   I have a permissions problem with a samba share which I really can't
fathom out. I'm trying to create a fully group writable share. Easy or so I
thought.
As you can see from my config I am trying all the options to set files group
writable, however when I create a file from the client I'm always getting
the
mode 0644. Does anyone have a clue why?  Thanks!

client:
//database.pricetrak.com/spendtrak  /home/spendtrak cifs
username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770
0 0

server:
[spendtrak]
comment = Spendtrak Files
path = /home/spendtrak
browseable = no
writable = yes
printable = no
valid users = +spendtrak
force group = spendtrak
create mode = 0660
create mask = 0660
force create mode = 0660
directory mode = 0770
  

I have this working with:

[example]
path = /home/example
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0775
directory mask = 0775
force directory mode = 0775



indeed and 'force group' is pointless.

chmod g+s /home/spendtrak

gets it done, neatly, cleanly and the recommended method
  

Still getting 0644 on the files when the parent dir is 0770.. odd

It's wierd that the samba settings work fine for directories, but not 
the files.

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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Craig White
On Thu, 2008-07-17 at 09:26 -0400, Brett Serkez wrote:
> > On Thu, Jul 17, 2008 at 6:02 AM, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >I have a permissions problem with a samba share which I really can't
> > fathom out. I'm trying to create a fully group writable share. Easy or so I
> > thought.
> > As you can see from my config I am trying all the options to set files group
> > writable, however when I create a file from the client I'm always getting
> > the
> > mode 0644. Does anyone have a clue why?  Thanks!
> >
> > client:
> > //database.pricetrak.com/spendtrak  /home/spendtrak cifs
> > username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770
> > 0 0
> >
> > server:
> > [spendtrak]
> > comment = Spendtrak Files
> > path = /home/spendtrak
> > browseable = no
> > writable = yes
> > printable = no
> > valid users = +spendtrak
> > force group = spendtrak
> > create mode = 0660
> > create mask = 0660
> > force create mode = 0660
> > directory mode = 0770
> 
> I have this working with:
> 
> [example]
> path = /home/example
> writeable = yes
> browseable = yes
> create mask = 0775
> force create mode = 0775
> directory mask = 0775
> force directory mode = 0775

indeed and 'force group' is pointless.

chmod g+s /home/spendtrak

gets it done, neatly, cleanly and the recommended method

Craig

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


[CentOS] Q about CentOS-4

2008-07-17 Thread Craig White
I have a client with a server on CentOS-4 and I'm looking to upgrade to
latest horde/imp/etc.

clearly php 4.3.9-xx is not up to the task but I see that upgrades for
php & mysql are in CentOS-Plus

I see that CentOS-4 projects to get security updates until 3/2012 which
probably is the usefulness of the hardware itself.

So my questions...

- Will CentOS-Plus maintain the php/mysql packages until then?

- The upgrade to mysql-5...do I have to nuke the db and reload from
backup or is there a possibility that the upgrade and subsequent restart
of mysql will update the database stuff itself (of course I'm gonna do a
complete dump of mysql data before attempting)?

Craig

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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Ned Slider

Kevin Thorpe wrote:

Ned Slider wrote:

Kevin Thorpe wrote:

Hi all,
  I have a permissions problem with a samba share which I really 
can't fathom out. I'm trying to create a fully group writable share. 
Easy or so I thought.
As you can see from my config I am trying all the options to set 
files group writable, however when I create a file from the client 
I'm always getting the

mode 0644. Does anyone have a clue why?  Thanks!

client:
//database.pricetrak.com/spendtrak  /home/spendtrak cifs
username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770  
0 0


server:
[spendtrak]
   comment = Spendtrak Files
   path = /home/spendtrak
   browseable = no
   writable = yes
   printable = no
   valid users = +spendtrak
   force group = spendtrak
   create mode = 0660
   create mask = 0660
   force create mode = 0660
   directory mode = 0770




Here's how I used to achieve that type of scenario on CentOS 4:

[Staff]
 comment = Staff Share
 path = /shares/staff
 writeable = yes
 valid users = +staff
 force group = staff
 force create mode = 0660
 force directory mode = 0770


I know - that's where I started - works fine for directories, but not 
for files. I can't fathom it out.


Did you use "force create mode" as opposed to "create mode" in your 
original message?


I wonder if it's a *nix file permission thing. Maybe you need to 
manually (re)set all file ownerships to spendtrak:spendtrak and take it 
from there.


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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Brett Serkez
> On Thu, Jul 17, 2008 at 6:02 AM, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
> Hi all,
>I have a permissions problem with a samba share which I really can't
> fathom out. I'm trying to create a fully group writable share. Easy or so I
> thought.
> As you can see from my config I am trying all the options to set files group
> writable, however when I create a file from the client I'm always getting
> the
> mode 0644. Does anyone have a clue why?  Thanks!
>
> client:
> //database.pricetrak.com/spendtrak  /home/spendtrak cifs
> username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770
> 0 0
>
> server:
> [spendtrak]
> comment = Spendtrak Files
> path = /home/spendtrak
> browseable = no
> writable = yes
> printable = no
> valid users = +spendtrak
> force group = spendtrak
> create mode = 0660
> create mask = 0660
> force create mode = 0660
> directory mode = 0770

I have this working with:

[example]
path = /home/example
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0775
directory mask = 0775
force directory mode = 0775

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


Re: [CentOS] Problems with building an rpm

2008-07-17 Thread Johnny Hughes

Robert Moskowitz wrote:

wow

Johnny Hughes wrote:

Robert Moskowitz wrote:

thanks for replying.

R P Herrold wrote:

On Wed, 16 Jul 2008, Robert Moskowitz wrote:


I followed the setup instructions from
http://www.owlriver.com/tips/non-root/


... the author is known to me ;)


Assuming that you are in /etc/sudoers
And then asked for a password.
Which password? My userid or root's? I tried both and after 3 tries 
got:



me is not in sudoers file. This incident will be reported.
removing '/home/me/rpmbuild/BUILD/hipl--main--2.6/hipl-1.0.4'


The end user account password is what sudo is looking for ... as 
noted, it seems you had not configured /etc/sudoers to include you.


So I look at /etc/sudoers and do not understand what I am suppose 
to do there.


A sample entry which permits a single user machine to do root 
operations when needed, but to stay in its non-priv'd mode most of 
the time looks like something as simple as:


[EMAIL PROTECTED] ~]$ sudo grep herrold /etc/sudoers
Password: [here, the end user 'herrold's password]
herrold ALL=(ALL) ALL
[EMAIL PROTECTED] ~]$

... We need root rights to read /etc/sudoers, or else it would have 
not been needed except for teaching reasons.



A bit of help would be greatly appreciated!


Hope this helps .. I wonder a bit at your description of untarring, 
./configure'ing, etc ... that is not part of rpm building from .spec 
or SRPM.

Here is what I was told to do:

wget http://hipl.hiit.fi/hipl/hipl.tar.gz

you can build on CentOS by executing:

tar xvzf hipl.tar.gz
cd hipl--main--2.6
./autogen.sh
./configure
make rpm

("make install" works too, but installs to /usr/local by default)

Software requirements are listed here:

http://infrahip.hiit.fi/hipl/manual/ch02.html


OK ... after several changes to the spec file, I got this to build.  
The process was rather intense, so rather than trying to document it I 
will post a good SRPM after I verify that all the build requirements 
are there and it will also build the same in mock.


So, in a couple minutes expect a link to download a GOOD SRPM for this 
package that builds on centos-5 i386 and x86_64


I am S thankful.



No problem

You will definitely get a line of recognition for my IETF presentation 
on SIP over HIP over Teredo in two weeks!   I should not have been sooo 
schrunched for time.  I waited for management to get me the hardware for 
this 'experiment', and 4 months later it is finally ordered; I have had 
to cobble gear together


look here:

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

You should be able to build that on CentOS-5.x with no problems.  Now, 
whether it does everything you need, I don't know.


Also be advised that 1.0.3 is the latest stable release from them, and 
1.0.4 seems to be something from SVN and not a normal release.


Thanks,
Johnny Hughes



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


Re: [CentOS] Problems with building an rpm

2008-07-17 Thread William L. Maltby

On Thu, 2008-07-17 at 06:45 -0600, Robert Moskowitz wrote:
> 

> I am S thankful.
> 
> You will definitely get a line of recognition for my IETF presentation 
> on SIP over HIP over Teredo in two weeks!   I should not have been sooo 

Lobby your management to make a contribution or provide some kind of
support for the project. Remind them of "enlightened self-interest"
principle.

> schrunched for time.  I waited for management to get me the hardware for 
> this 'experiment', and 4 months later it is finally ordered; I have had 
> to cobble gear together
> 

-- 
Bill

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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Kevin Thorpe

Ned Slider wrote:

Kevin Thorpe wrote:

Hi all,
  I have a permissions problem with a samba share which I really 
can't fathom out. I'm trying to create a fully group writable share. 
Easy or so I thought.
As you can see from my config I am trying all the options to set 
files group writable, however when I create a file from the client 
I'm always getting the

mode 0644. Does anyone have a clue why?  Thanks!

client:
//database.pricetrak.com/spendtrak  /home/spendtrak cifs
username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770  
0 0


server:
[spendtrak]
   comment = Spendtrak Files
   path = /home/spendtrak
   browseable = no
   writable = yes
   printable = no
   valid users = +spendtrak
   force group = spendtrak
   create mode = 0660
   create mask = 0660
   force create mode = 0660
   directory mode = 0770




Here's how I used to achieve that type of scenario on CentOS 4:

[Staff]
 comment = Staff Share
 path = /shares/staff
 writeable = yes
 valid users = +staff
 force group = staff
 force create mode = 0660
 force directory mode = 0770
I know - that's where I started - works fine for directories, but not 
for files. I can't fathom it out.

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


Re: [CentOS] Problems with building an rpm

2008-07-17 Thread Robert Moskowitz

wow

Johnny Hughes wrote:

Robert Moskowitz wrote:

thanks for replying.

R P Herrold wrote:

On Wed, 16 Jul 2008, Robert Moskowitz wrote:


I followed the setup instructions from
http://www.owlriver.com/tips/non-root/


... the author is known to me ;)


Assuming that you are in /etc/sudoers
And then asked for a password.
Which password? My userid or root's? I tried both and after 3 tries 
got:



me is not in sudoers file. This incident will be reported.
removing '/home/me/rpmbuild/BUILD/hipl--main--2.6/hipl-1.0.4'


The end user account password is what sudo is looking for ... as 
noted, it seems you had not configured /etc/sudoers to include you.


So I look at /etc/sudoers and do not understand what I am suppose 
to do there.


A sample entry which permits a single user machine to do root 
operations when needed, but to stay in its non-priv'd mode most of 
the time looks like something as simple as:


[EMAIL PROTECTED] ~]$ sudo grep herrold /etc/sudoers
Password: [here, the end user 'herrold's password]
herrold ALL=(ALL) ALL
[EMAIL PROTECTED] ~]$

... We need root rights to read /etc/sudoers, or else it would have 
not been needed except for teaching reasons.



A bit of help would be greatly appreciated!


Hope this helps .. I wonder a bit at your description of untarring, 
./configure'ing, etc ... that is not part of rpm building from .spec 
or SRPM.

Here is what I was told to do:

wget http://hipl.hiit.fi/hipl/hipl.tar.gz

you can build on CentOS by executing:

tar xvzf hipl.tar.gz
cd hipl--main--2.6
./autogen.sh
./configure
make rpm

("make install" works too, but installs to /usr/local by default)

Software requirements are listed here:

http://infrahip.hiit.fi/hipl/manual/ch02.html


OK ... after several changes to the spec file, I got this to build.  
The process was rather intense, so rather than trying to document it I 
will post a good SRPM after I verify that all the build requirements 
are there and it will also build the same in mock.


So, in a couple minutes expect a link to download a GOOD SRPM for this 
package that builds on centos-5 i386 and x86_64


I am S thankful.

You will definitely get a line of recognition for my IETF presentation 
on SIP over HIP over Teredo in two weeks!   I should not have been sooo 
schrunched for time.  I waited for management to get me the hardware for 
this 'experiment', and 4 months later it is finally ordered; I have had 
to cobble gear together



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


[CentOS] bcm43xx CentOS5

2008-07-17 Thread Michael Simpson
Hi there,
i am looking for a bit of advice on how to proceed with a wee problem
that i am having.
I have a BCM4306 pcmcia card (one of the later revisions) that i use
to connect to my wpa2 wireless network.
This is running on an old Dell Latitude (circa 1999).
I used to use fedora (7,8 and then 9) on this but 2.6.23 and 2.6.25
stopped populating various bits of /proc/acpi with the relevant
information for the cpu temp sensor to be read accurately (lm_sensors
doesn't detect any sensors either in 2.x or 3.x) so i am reliant on
the kernel to do the necessary magic.
I had been using bcm43xx then b43 to access the card with the 4.x
firmware from openwrt and all was good - speedy responsive etc

Got fed up with kernel updates attempting to fry the laptop as i after
2.6.23 i had to replace the mobo (opened bugzilla report, no action
taken, not complaining coz hey it's a 440BX-M so is fairly unimportant
in the overall scheme of things)

So, as every other box in the house now runs CentOS i installed that instead.
dl'd the bcm43xx-fwcutter from Karanbir (thanks btw!) cut out the bits
from the 3.x firmware from the link on linuxwireless.org, altered
modprobe.conf etc.

Wireless now works but is *real slow* just for internet access (like
minutes for pages to load). ssh, ping etc all good and quick

I am wondering if it is because of the old version of BCM43xx that is
in the 2.6.18 kernel (never liked softMAC much) or if something else
is going on.
top occasionally shows me that Xorg is sometimes going to 70-80% of cpu useage.

The desktop is always really responsive and apart from the browsing
issue which is upsetting my partner loads then CentOS sems ideal for
this laptop.

I really don't want to go back to using ndiswrapper and wondered if
anyone had any pointers other than using another box with which to ssh
-Y firefox &

Am away from the laptop atm but if any further info is needed, dmesg,
lspci etc then i will be able to provide them when i am home this
evening (about 5hrs hence)


Thanks in advance

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


Re: [CentOS] Problems with building an rpm

2008-07-17 Thread Johnny Hughes

Robert Moskowitz wrote:

thanks for replying.

R P Herrold wrote:

On Wed, 16 Jul 2008, Robert Moskowitz wrote:


I followed the setup instructions from
http://www.owlriver.com/tips/non-root/


... the author is known to me ;)


Assuming that you are in /etc/sudoers
And then asked for a password.
Which password? My userid or root's? I tried both and after 3 tries got:



me is not in sudoers file. This incident will be reported.
removing '/home/me/rpmbuild/BUILD/hipl--main--2.6/hipl-1.0.4'


The end user account password is what sudo is looking for ... as 
noted, it seems you had not configured /etc/sudoers to include you.


So I look at /etc/sudoers and do not understand what I am suppose to 
do there.


A sample entry which permits a single user machine to do root 
operations when needed, but to stay in its non-priv'd mode most of the 
time looks like something as simple as:


[EMAIL PROTECTED] ~]$ sudo grep herrold /etc/sudoers
Password: [here, the end user 'herrold's password]
herrold ALL=(ALL) ALL
[EMAIL PROTECTED] ~]$

... We need root rights to read /etc/sudoers, or else it would have 
not been needed except for teaching reasons.



A bit of help would be greatly appreciated!


Hope this helps .. I wonder a bit at your description of untarring, 
./configure'ing, etc ... that is not part of rpm building from .spec 
or SRPM.

Here is what I was told to do:

wget http://hipl.hiit.fi/hipl/hipl.tar.gz

you can build on CentOS by executing:

tar xvzf hipl.tar.gz
cd hipl--main--2.6
./autogen.sh
./configure
make rpm

("make install" works too, but installs to /usr/local by default)

Software requirements are listed here:

http://infrahip.hiit.fi/hipl/manual/ch02.html


OK ... after several changes to the spec file, I got this to build.  The 
process was rather intense, so rather than trying to document it I will 
post a good SRPM after I verify that all the build requirements are 
there and it will also build the same in mock.


So, in a couple minutes expect a link to download a GOOD SRPM for this 
package that builds on centos-5 i386 and x86_64




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


[CentOS] perl bless/overload performance problem

2008-07-17 Thread Amos Shapira
Hello,

How do people here handle the situation mentioned in RH bug #379791
(https://bugzilla.redhat.com/show_bug.cgi?id=379791)?

We have a web site built using Perl Catalyst which warns about this
issue. So far we managed to avoid this by not upgrading the perl
package handed to us as part of an old Xen image based on CentOS 5.0,
but we are now building the Xen guests without this image and
generally want to keep our package up to date for security.

So - is there another package available to install instead of the
CentOS 5.2 version?

I tried before to compile the Fedora 9 package from source but despite
it being claimed to have it patched it still demonstrated the buggy
behaviour (using the sample test code mentioned in the bug report).

Thanks,

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


Re: [CentOS] Samba permissions problem

2008-07-17 Thread Ned Slider

Kevin Thorpe wrote:

Hi all,
  I have a permissions problem with a samba share which I really 
can't fathom out. I'm trying to create a fully group writable share. 
Easy or so I thought.
As you can see from my config I am trying all the options to set files 
group writable, however when I create a file from the client I'm always 
getting the

mode 0644. Does anyone have a clue why?  Thanks!

client:
//database.pricetrak.com/spendtrak  /home/spendtrak cifs
username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770  
0 0


server:
[spendtrak]
   comment = Spendtrak Files
   path = /home/spendtrak
   browseable = no
   writable = yes
   printable = no
   valid users = +spendtrak
   force group = spendtrak
   create mode = 0660
   create mask = 0660
   force create mode = 0660
   directory mode = 0770




Here's how I used to achieve that type of scenario on CentOS 4:

[Staff]
 comment = Staff Share
 path = /shares/staff
 writeable = yes
 valid users = +staff
 force group = staff
 force create mode = 0660
 force directory mode = 0770


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


[CentOS] CentOS-announce Digest, Vol 41, Issue 8

2008-07-17 Thread centos-announce-request
ssage: 19
Date: Wed, 16 Jul 2008 22:01:03 -0500
From: Johnny Hughes <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0545 Moderate CentOS 4 i386 php
Update
To: CentOS-Announce <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

CentOS Errata and Security Advisory 2008:0545

Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0545.html

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

i386:
php-4.3.9-3.22.12.i386.rpm
php-devel-4.3.9-3.22.12.i386.rpm
php-domxml-4.3.9-3.22.12.i386.rpm
php-gd-4.3.9-3.22.12.i386.rpm
php-imap-4.3.9-3.22.12.i386.rpm
php-ldap-4.3.9-3.22.12.i386.rpm
php-mbstring-4.3.9-3.22.12.i386.rpm
php-mysql-4.3.9-3.22.12.i386.rpm
php-ncurses-4.3.9-3.22.12.i386.rpm
php-odbc-4.3.9-3.22.12.i386.rpm
php-pear-4.3.9-3.22.12.i386.rpm
php-pgsql-4.3.9-3.22.12.i386.rpm
php-snmp-4.3.9-3.22.12.i386.rpm
php-xmlrpc-4.3.9-3.22.12.i386.rpm

src:
php-4.3.9-3.22.12.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/20080716/5bba09f8/signature-0001.bin

--

Message: 20
Date: Thu, 17 Jul 2008 10:56:52 +0200
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0598 Critical CentOS 3 i386
firefox -   security update (CENTOSPLUS only)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2008:0598

firefox security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2008-0598.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
centosplus/i386/RPMS/firefox-1.5.0.12-0.21.el4.centos3.i386.rpm

source:
centosplus/SRPMS/firefox-1.5.0.12-0.21.el4.centos3.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update firefox

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/20080717/1f8cd576/attachment-0001.bin

--

Message: 21
Date: Thu, 17 Jul 2008 10:57:37 +0200
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0598 Critical CentOS 3 x86_64
firefox -   security update (CENTOSPLUS only)
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2008:0598

firefox security update for CentOS 3 x86_64:
https://rhn.redhat.com/errata/RHSA-2008-0598.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

x86_64:
centosplus/x86_64/RPMS/firefox-1.5.0.12-0.21.el4.centos3.x86_64.rpm

source:
centosplus/SRPMS/firefox-1.5.0.12-0.21.el4.centos3.src.rpm

You may update your CentOS-3 x86_64 installations by running the command:

yum update firefox

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/20080717/909c5276/attachment-0001.bin

--

Message: 22
Date: Thu, 17 Jul 2008 13:26:05 +0300
From: Pasi Pirhonen <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0599 Critical CentOS 3 s390(x)
seamonkey - security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory 2008:0599

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

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

s390:
updates/s390/RPMS/seamonkey-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-chat-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-devel-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-dom-inspector-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-js-debugger-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-mail-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-nspr-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-nspr-devel-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-nss-1.0.9-0.22.el3.centos3.s390.rpm
updates/s390/RPMS/seamonkey-nss-devel-1.0.9-0.22.el3

Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Johnny Hughes

Antti J. Huhtala wrote:

to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:

On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:

What is the safe way to remove the previous installed kernel version
without taking out the uninstalled new version? Is the latter safe in
~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?

There is no need to remove the old kernel. Use the --replacefiles option to
rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
has the correct entry.


Well, it wasn't as simple as that. rpm says:"kernel ... is already
installed" and will not go on. The identifiers (file names) are
identical, remember?

Any other ideas?

Antti


rpm -ivh --force 



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


Re: [CentOS] Custom CentOS iso's

2008-07-17 Thread Johnny Hughes

Tracy R Reed wrote:


I have a consulting client who has a Linux based storage appliance which 
is based on Fedora Core 2. I'll pause here while you laugh...


They need to upgrade to something more easily supported and CentOS is 
the chosen distro. They have the source RPM's for their old system 
stored in CVS and have a very weird/complicated build system to turn it 
all into an iso which I am still figuring out. They version control 
their source rpm's but don't really use CVS version numbers to number 
their distros. Instead they build an iso and name/number that and then 
have to keep the iso around forever.


I want to go through their CVS, pick out the stuff we want to port to 
CentOS and trash the rest. And keep it all version controlled at the 
same time. The current thinking is that we want to get off of CVS and 
move to Mercurial.


Given the above and that we want to customize our CentOS build what is 
the best way to do that? I am thinking we would like to work with the 
source rpm's. Putting binaries under version control which can just be 
built from the source seems silly. If we put the source rpm's and any 
associated build scripts in version control then given any particular 
repository version number we should be able to reproduce any installable 
ISO we created in the past.


I am imagining that we will have a huge source tree of exploded SRPMS 
and we will go through the old CVS and evaluate all of the 
customizations they made and whichever are worthy can be hacked into the 
SRPMS, RPM's get built out of these, and an ISO gets built out of the 
RPM's.




We install the SRPMS and move all the tar files out of SVN and into a 
directory, keeping all the patches and text files in SVN.  We put the 
tarballs in a webdav directory (in a subdirectory under SRPM name)



Does all of this sound feasible?



yes

Does CentOS already have tools for automating a complete iso build from 
an SRPM repository?


No ... we maintain a package tree, and build the ISO from that.

For CentOS-5, building an ISO uses the anaconda runtime and the 
buildinstall command.  Here is documentation on the buildinstall command:


https://fedoraproject.org/wiki/Anaconda/BuildInstall



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


[CentOS] Custom CentOS iso's

2008-07-17 Thread Tracy R Reed


I have a consulting client who has a Linux based storage appliance which 
is based on Fedora Core 2. I'll pause here while you laugh...


They need to upgrade to something more easily supported and CentOS is 
the chosen distro. They have the source RPM's for their old system 
stored in CVS and have a very weird/complicated build system to turn it 
all into an iso which I am still figuring out. They version control 
their source rpm's but don't really use CVS version numbers to number 
their distros. Instead they build an iso and name/number that and then 
have to keep the iso around forever.


I want to go through their CVS, pick out the stuff we want to port to 
CentOS and trash the rest. And keep it all version controlled at the 
same time. The current thinking is that we want to get off of CVS and 
move to Mercurial.


Given the above and that we want to customize our CentOS build what is 
the best way to do that? I am thinking we would like to work with the 
source rpm's. Putting binaries under version control which can just be 
built from the source seems silly. If we put the source rpm's and any 
associated build scripts in version control then given any particular 
repository version number we should be able to reproduce any installable 
ISO we created in the past.


I am imagining that we will have a huge source tree of exploded SRPMS 
and we will go through the old CVS and evaluate all of the 
customizations they made and whichever are worthy can be hacked into the 
SRPMS, RPM's get built out of these, and an ISO gets built out of the 
RPM's.


Does all of this sound feasible?

Does CentOS already have tools for automating a complete iso build from 
an SRPM repository?


Thanks!

--
Tracy R Reed  Read my blog at http://ultraviolet.org
Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
Non-GPG signed mail gets read only if I can find it among the spam.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba permissions problem

2008-07-17 Thread Kevin Thorpe

Hi all,
  I have a permissions problem with a samba share which I really 
can't fathom out. I'm trying to create a fully group writable share. 
Easy or so I thought.
As you can see from my config I am trying all the options to set files 
group writable, however when I create a file from the client I'm always 
getting the

mode 0644. Does anyone have a clue why?  Thanks!

client:
//database.pricetrak.com/spendtrak  /home/spendtrak cifs
username=webserver,password=twonkerlet,uid=apache,file_mode=0660,dir_mode=0770  
0 0


server:
[spendtrak]
   comment = Spendtrak Files
   path = /home/spendtrak
   browseable = no
   writable = yes
   printable = no
   valid users = +spendtrak
   force group = spendtrak
   create mode = 0660
   create mask = 0660
   force create mode = 0660
   directory mode = 0770


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


Re: [CentOS] Cluster: understanding virtual IP

2008-07-17 Thread Tracy R Reed

Dirk H. Schulz wrote:
I have set up a cluster on CentOS 5.2 using /etc/cluster/cluster.conf - and 
it works fine. It's only purpose is to switch a virtual IP between two 
routers.


Where did you find docs on how to do this? I have set up LVS with 
piranha but couldn't find anything decent or a tool to set up high 
availability failover like I did with LVS. All of the cluster suite 
stuff I read about involves quorums and shared storage etc which is not 
what I need here. I just need a firewall that will bring up the network 
gateway address in the event the primary fails.


Thanks!

--
Tracy R Reed  Read my blog at http://ultraviolet.org
Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
Non-GPG signed mail gets read only if I can find it among the spam.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Getting printer to work under 5.2

2008-07-17 Thread Anne Wilson
On Thursday 17 July 2008 04:04, Donald Buchan wrote:
> I have a standard hplip install on my 5.2 box installed from the repos
> (it originally was installed from the 5.1 disks and followed any upgrade
> that may have occured in the transition to 5.2).  My printer is a HP
> Deskjet F4180 connecting via USB.

Did you run hp-setup (as root, of course)?

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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> >
> > What is the safe way to remove the previous installed kernel version
> > without taking out the uninstalled new version? Is the latter safe in
> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> There is no need to remove the old kernel. Use the --replacefiles option to
> rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
> has the correct entry.
> 
Well, it wasn't as simple as that. rpm says:"kernel ... is already
installed" and will not go on. The identifiers (file names) are
identical, remember?

Any other ideas?

Antti


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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> > Hi list,
> >
> > I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
> > - this time with ISA bus and ISAPNP support which I accidentally left
> > out of my previous attempt.
> > Unfortunately, this time I forgot to change my identifier in
> > kernel-2.6.spec file. Thus I now have one *installed* kernel version
> > *without* ISA support, and another one *with* ISA support but as rpm,
> > not yet installed. Both kernels now have identical identifiers.
> >
> > What is the safe way to remove the previous installed kernel version
> > without taking out the uninstalled new version? Is the latter safe in
> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> There is no need to remove the old kernel. Use the --replacefiles option to
> rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
> has the correct entry.
> 
Ah, indeed. I've never used --replacefiles in installing kernels but
guess it works with them just as with any other files. Thanks!

Antti


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


Re: [CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread ne . . .
On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <[EMAIL PROTECTED]> wrote:
> Hi list,
>
> I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
> - this time with ISA bus and ISAPNP support which I accidentally left
> out of my previous attempt.
> Unfortunately, this time I forgot to change my identifier in
> kernel-2.6.spec file. Thus I now have one *installed* kernel version
> *without* ISA support, and another one *with* ISA support but as rpm,
> not yet installed. Both kernels now have identical identifiers.
>
> What is the safe way to remove the previous installed kernel version
> without taking out the uninstalled new version? Is the latter safe in
> ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
There is no need to remove the old kernel. Use the --replacefiles option to
rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
has the correct entry.

-- 
Laurence J. Peter  - "Originality is the fine art of remembering what
you hear but forgetting where you heard it."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yun Update problem

2008-07-17 Thread Tony Molloy
On Thursday 17 July 2008 01:45:50 Camron W. Fox wrote:
> Tony Molloy wrote:
> > On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote:
> >> On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote:
> >>> On 7/15/2008 9:57 AM, Tony Molloy wrote:
>  (34/92): selinux-policy-2 100% |=| 381 kB
>  00:00
>  http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux
> - po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
>  intended download
> 
>  The rpm packages are in my local repo.
> 
>  Is this just a case of my local upstream mirrors being out of sync or
>  have I got a bigger problem.
> >>>
> >>> I have seen this error before.  I am not sure if the local cache is
> >>> corrupted or my local repository is corrupted/out of sync.  To fix this
> >>> in the past I usually do a "yum clean all" and try again.  If that
> >>> doesn't work I delete the problem packages from my local repository,
> >>> and do a repository sync.
> >>>
> >>>
> >>> Kenneth
> >>
> >> Thanks for the reply,
> >>
> >> That's exactly what I did but till have the same problem. It may be that
> >> the 2 upstream repos that I sync my local repo to are corrupted. This is
> >> the first time I've used the x86_64 repos. When I get a chance I'll try
> >> and use a different repo and see what happens.
> >>
> >> Tony
> >
> > These are internal machines so I had to set up a proxy to get external
> > access.
> >
> > Then I removed my local repos  and used the "mirrorlist" line in the
> > repos definitions and the "fastestmirror" plugin and the update went OK.
> > So it must be a problem with my 2 upstream mirrors. I'll get onto the
> > mirror masters and try and sort it out with them.
> >
> > Tony
>
> Alle,
>
>   FYI, I installed two x86_64 boxes by hand from a freshly downloaded
> DVD.iso. The first thing I did was update yum on both machines then ran
> a yum update. I have no local or third party repositories, but the error
> was the same for the same packages:
>
> (170/189): selinux-policy 100% |=| 911 kB
> 00:01
> http://ftp2.riken.jp/Linux/centos/5.2/updates/x86_64/RPMS/selinux-policy-ta
>rgeted-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match
> intended download

< lots snipped >

So it would appear that lots of download sites have the wrong rpms then.

I got the good rpms from the following repos

 * fasttrack: ftp.tudelft.nl
 * update: ftp.quicknet.nl<<<
 * base: ftp.quicknet.nl
 * extras: anorien.csc.warwick.ac.uk
 * addons: anorien.csc.warwick.ac.uk


Tony



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


Re: [CentOS] yum remove -- wants to remove a ton of stuff

2008-07-17 Thread David Hrbáč

fred smith napsal(a):

Thanks to Johnny and all the others who pointed out the stupid thing
I was trying to do. I'll follow the advice to clean up 'list' before
trying it again.



Fred,
besides you can use installonlyn plugin, you can remove old kernel but 
few like this:


if [ $(rpm -q kernel | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel | sed 
'$d'); fi
if [ $(rpm -q kernel-smp | wc -l) -gt 1 ]; then rpm -e $(rpm -q 
kernel-smp | sed '$d'); fi


etc.
David

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


[CentOS] Replacing custom kernel with another - with same identifier

2008-07-17 Thread Antti J. Huhtala
Hi list,

I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
- this time with ISA bus and ISAPNP support which I accidentally left
out of my previous attempt. 
Unfortunately, this time I forgot to change my identifier in
kernel-2.6.spec file. Thus I now have one *installed* kernel version
*without* ISA support, and another one *with* ISA support but as rpm,
not yet installed. Both kernels now have identical identifiers.

What is the safe way to remove the previous installed kernel version
without taking out the uninstalled new version? Is the latter safe in
~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?

TIA

Antti


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


[CentOS] racoon and ipsec issues

2008-07-17 Thread Bill Campbell
I am attempting to create an ipsec tunnel between two CentOS 5.1
systems, network-to-network with two different 192.168.xxx.0/24
LAN segments.  I have gone through the documentation on the
centos web site, and have the machines to the point where the
/var/log/messages show ``IPsec-SA established'' on both machines
after runnig ``ifup ipsec0'' (same ipsec0 on each machine).

IP forwarding is configured in /etc/sysctl.conf and in the proper
/proc ``file''.

``netstat -rn'' shows a reasonable looking route on each machine
with the gateway as the private IP for the internal LAN.

The iptables on each machine are totally clear with no filters.

Attempting to ping the private interface on the remote machine
results in this where the xx.xx... is the IP address of the
public LAN.

>From xx.xx.xxx.xxx icmp_seq=2 Destination Host Unreachable

Running tcpdump on another Linux box on the remote network that
is our main connection to the internet so sits between the remote
machine and our T1 does not show any packets from the machine
attempting to ping the remote or attempting to make an ssh
connection to the remote machine's private IP.

At this point I'm at a loss as what to try to debug this.  My
previous IPsec experience was with Freeswan on an older SuSE box
which is quite different in the system setup.  The centos/rh
documentation is not totally clear what IP is meant by SRCGW, but
looking at the ifcfg-ipsec script, it assigns the private IP of
the internal network NIC if SRCGW is not set.

I expected to see an ``ipsec0'' device from ``ifconfig'', as was
done with freeswan, but either that's not the case with ipsec-tools
or I have something hosed.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Liberty don't work as good in practice as it does in speeches.
Will Rogers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos