RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> William L. Maltby wrote:
> 

> I wonder if anyone can duplicate the problem by creating a partition
> and having it mounted in fstab by volume label and see if it appears
> twice.

Not quite the same, but I've a USB drive that I plugged in after
removing "noauto" from the fstab entry.

$ grep 4 /etc/fstab
LABEL=BkUp_4_5  /media/sdc1  ext2defaults,noatime 0 0

Got a nice little message telling me (in Gnome desktop) that I wasn't
priveleged to mount it. That's as I would expect since I was already
logged in at my desktop. Mount showed it mounted.

$ mount
/dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)

Now I'll reboot and see what happens.

Rebooted. Prior to entering "telinit 5", did a "mount" and it was
mounted. After logging onto graphical desktop, one icon on the desktop.
As expected.

I'm led back to the conclusion that there is some oddity about the
device definitions on Mark's problematic unit.

> 
> If you list it in fstab by /dev/sdXX and HAL announces it as /dev/sdXX
> then it will only appear once, but if it is listed in fstab as
> LABEL= and HAL announces it as /dev/sdXX then it would be
> listed as twice.

Not as far as I can tell. From dmesg:

device-mapper: multipath: version 1.0.5 loaded
  Vendor: Toshiba   Model: USB2.0 Drive R00  Rev: 1.43
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdc: 195371568 512-byte hdwr sectors (100030 MB)

and

SELinux: initialized (dev sdc1, type ext2), uses xattr

>From messages:

Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi disk sdc
Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0

Nothing of interest in /var/log/gdm/:0.log.

> 
> I believe /boot, /, LABEL=boot and LABEL=root, are typically ignored
> either in Gnome or HAL or both, so those won't dup.

That would be another good test.

> 
> -Ross
> 

-- 
Bill


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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >  You mean regardless of if desktop is started up? In that case, it sounds
> >  like System->Preferences->Removable Drives and Media settings need
> >  changing to *not* mount when hot-plugged.
> >
> 
> At the risk of repeating myself: this is a fixed hard drive; it is NOT
> a removable drive nor a removable media drive.  That is why this issue
> is so puzzling to me

BTW. Determination of device type/class is contained within the HAL/udev
data bases (script, configs, hardware lists, ...). If your device is not
there, or is there erroneously identified, ISTM that it could cause the
system to believe it was removable media.

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >  You mean regardless of if desktop is started up? In that case, it sounds
> >  like System->Preferences->Removable Drives and Media settings need
> >  changing to *not* mount when hot-plugged.
> >
> 
> At the risk of repeating myself: this is a fixed hard drive; it is NOT
> a removable drive nor a removable media drive.  That is why this issue
> is so puzzling to me

Repeating is not an issue. Long threads promote forgetfulness. But I
didn't forget. I'm just hazarding a guess that whatever the root cause
is, changing those settings might get rid of the extra icon. That, in
turn, gives a hint that might be useful. If it doesn't fix it, it also
provides some help by eliminating some things... I hope.

I'm still hoping that the scan of the dmesg or messages log, in
conjunction with a look a udev stuff might reveal the cause.

The settings suggestion was just a stab at getting rid of the icon,
which was your stated goal.

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 12:50 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 12:43 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> >  If the "misc" is getting automounted, that would be a problem. But
> >  wasn't the "noauto" option tried (I can't remember)?
> >
> 
> No, I want it automounted.  I just don't want it to show up twice on my 
> desktop.

You mean regardless of if desktop is started up? In that case, it sounds
like System->Preferences->Removable Drives and Media settings need
changing to *not* mount when hot-plugged.

> 
> I suppose I could just delete the file from my Desktop folder, but I'm
> not sure if that does anything detrimental or what
> 
> mhr
> 

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 15:25 -0400, Ross S. W. Walker wrote:
> William L. Maltby wrote:
> > On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
> > > On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> > > >  >
> > > >  > Must be something like that - if I su and umount it, both icons go
> > > >  > away.  Then I 'mount -a' and only one comes back.  But if I log out
> > > >  > and log back in, they both come back.  Must a new "feature" of gnome
> > > >  > 2.20.0
> > > >
> > > >  If *I* know about it, it *can't* be a *new* feature!  ;-)
> > > >
> > > 
> > > Heh, heh - I meant "feature" as in the infamous Bill Gates interview
> > > with the German technology magazine, wherein he claimed that Windows
> > > has no bugs, only features that people do not understand. (You can't
> > > make this stuff up)
> > > 
> > > The most interesting part to me is that the disk in question is a
> > > fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
> > > show up on the desktop (why would they?), only the removable media.
> > 
> > If it is truly a fixed drive, then I would suggest a look at the logs
> > (dmesg and/or messages) to get it "identity" and then look at udev
> > configuration scripts. IIUC, udev is assigned the task of identifying
> > and classifying stuff correctly. Everything else at "higher" levels of
> > abstraction would depend on those results.
> > 
> > I did a locate on udev and some promising things popped up.
> > 
> > /etc/udev
> > /etc/sysconfig/modules/udev-stw.modules
> > /etc/udev/devices
> > /etc/udev/makedev.d
> > /etc/udev/rules.d
> > /etc/udev/udev.conf
> > 
> > Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
> > including overview and writing-udev-rules. "man -k udev" offers some
> > potential help too.
> > 
> > I hope there's an answer hidden in there somewhere.
> > 
> > > 
> > > Thanks, including for the chuckle.
> > 
> > Chuckles are free, grins @ $0.01.
> 
> I believe the problem is simple really.
> 
> fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
> the Gnome file manager sees these as 2 separate devices and presents them
> as such.

If the "misc" is getting automounted, that would be a problem. But
wasn't the "noauto" option tried (I can't remember)?


> 
> Find a way to have Gnome stop scanning the fstab file and have it rely
> completely on HAL, or have HAL ignore all devices listed in fstab.
> 
> -Ross
> 

-- 
Bill

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


Re: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
> 2008/4/29 Lanny Marcus <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] ~]# grep ^hdc /var/log/dmesg hdc: DV-516D,
> ATAPI
>  CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache,
> UDMA(100)
> [EMAIL PROTECTED] ~]#
> 
> Good(-ish). The optical device is there but it's an old combo
> CD/DVD-ROM drive.
> 
> 
> 
> >Then looked at the symbolic links? ls -l /dev/ | grep hdc
> 
> 
> [EMAIL PROTECTED] ~]# ls -l /dev/ | grep hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 cdrom-hdc ->
> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd -> hdc
> lrwxrwxrwx 1 root  root   3 Apr 29 12:30 dvd-hdc ->
> hdc
> brw--- 1 lanny disk22,0 Apr 29 12:30 hdc
> [EMAIL PROTECTED] ~]#

When I do that, I get nothing. But, this is promising (BTW, my prev
ide-cd thingy was left over from another CentOS box. It's not effective
on this one.).

]# ls -l /dev|grep -i "dvd\|cd"
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrom-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdrw-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 cdwriter-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvd-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdrw-hda -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter -> hda
lrwxrwxrwx 1 root  root   3 Apr 26 17:52 dvdwriter-hda ->
hda

And

# ls -Ll /dev|grep -i "dvd\|cd"
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrom-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdrw-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 cdwriter-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvd-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdrw-hda
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter
brw--- 1 wild-bill disk 3,0 Apr 26 17:52 dvdwriter-hda

I popped a CentOS DVD in, got one image on the desktop and one mount
listed from the mount command and one nautilus box popped up..

I removed that and inserted a Mark Knopfler DVD and totem automatically
popped up to do it's usual bitch about plugins.

Mount showed one on /media/SHANGRILA and desktop had one ICON for it.

> 

My best guess (admittedly, in blissful ignorance) is there is some
configuration problem on that unit.

HTH
-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
> On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> >  >
> >  > Must be something like that - if I su and umount it, both icons go
> >  > away.  Then I 'mount -a' and only one comes back.  But if I log out
> >  > and log back in, they both come back.  Must a new "feature" of gnome
> >  > 2.20.0
> >
> >  If *I* know about it, it *can't* be a *new* feature!  ;-)
> >
> 
> Heh, heh - I meant "feature" as in the infamous Bill Gates interview
> with the German technology magazine, wherein he claimed that Windows
> has no bugs, only features that people do not understand.  (You can't
> make this stuff up)
> 
> The most interesting part to me is that the disk in question is a
> fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
> show up on the desktop (why would they?), only the removable media.

If it is truly a fixed drive, then I would suggest a look at the logs
(dmesg and/or messages) to get it "identity" and then look at udev
configuration scripts. IIUC, udev is assigned the task of identifying
and classifying stuff correctly. Everything else at "higher" levels of
abstraction would depend on those results.

I did a locate on udev and some promising things popped up.

/etc/udev
/etc/sysconfig/modules/udev-stw.modules
/etc/udev/devices
/etc/udev/makedev.d
/etc/udev/rules.d
/etc/udev/udev.conf

Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
including overview and writing-udev-rules. "man -k udev" offers some
potential help too.

I hope there's an answer hidden in there somewhere.

> 
> Thanks, including for the chuckle.

Chuckles are free, grins @ $0.01.

> 
> mhr
> 

HTH
-- 
Bill

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


RE: [CentOS] DVD reader: Hardware problem or OS glitch?

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 10:22 -0500, Lanny Marcus wrote:
> On 27 April 2008, "John"  wrote:
> 

> Mike Peterson has the same problem on an HP box. Mine is a Dell
> Dimension 4300. I believe the DVD reader was not installed in the
> factory and that I installed it, later, but, I'm not positive about
> that. I also believe that the Dell Dimension 4300 had CentOS 5 on it,
> before I wiped the HD last Thanksgiving, but, I'm not positive about
> that. Certainly this was working on that box, when it was mine. My
> daughter rarely puts removable media into that box and the drive has
> little use, but, that does not mean that it might not be dirty or
> faulty. However, the drive seems to work properly, at all times, under
> Windows XP.
> 
> That these boxes can boot from the same DVD media, and then not be able
> to mount the media properly, after the installation is complete, is
> frustrating.
> 
> > Did you do a mount /dev/hdc /mnt/media?
> 
> I tried that but I got this error message: mount point /mnt/media does
> not exist
> 
> When I look at the /etc/fstab files in the box with the problem and in
> my box, they look identical or nearly identical. Where is the
> configuration file for removable media now?
> 
> I suspect that somewhere in the auto mount process, it has a problem
> with the HW for the DVD reader for my daughter's box and for the DVD
> reader in Mike's HP box. 
> 
> When a DVD is inserted into the DVD reader, the DVD shows up on the
> GNOME Desktop, but as if the media is empty.

I don't know if y'all tried this, or if it will help, but in my
grub.conf (menu.lst) I have this on the kernel line.

 hdc=ide-cd

Maybe it will help you?

> 

HTH
-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
> On Mon, Apr 28, 2008 at 3:49 PM, Ross S. W. Walker
> <[EMAIL PROTECTED]> wrote:
> >
> > Boot and root should be ok, but misc is probably causing problems with file
> >  managers querying fstab and hal.
> >
> >  -Ross
> >
> 
> Must be something like that - if I su and umount it, both icons go
> away.  Then I 'mount -a' and only one comes back.  But if I log out
> and log back in, they both come back.  Must a new "feature" of gnome
> 2.20.0

If *I* know about it, it *can't* be a *new* feature!  ;-)

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread William L. Maltby
On Mon, 2008-04-28 at 13:52 -0700, MHR wrote:
> On Thu, Apr 24, 2008 at 3:36 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> >  I see that you have solved. If for some reason you wish to keep both
> >  definitions (there may be reasons), just add "noauto" (no quotes) to one
> >  or both of the entries. This might be useful when you want to mount a
> >  different volume, e.g. as a "temp" mount for backup or copy purposes.
> >  This is handy when you have, e.g., a couple identical looking external
> >  usb drives that are used for different purposes on multiple machines.
> >
> >  With "label" and "noauto", it keeps me from accidentally mounting the
> >  wrong one. No, external labels won't do - purposes change frequently.
> >
> 
> I'm not sure I understand this - there are no duplicate entries in
> fstab, and the /misc volume does not automount during the boot, or
> didn't the last time I booted the machine.

The entry in fstab will mount automatically unless noauto is specified.
With HAL, UDEV et al active on your system, it is safe to assume that
one of them is "mounting" the device. At the time X starts, devices that
are handled via this facility will be made available to the user of the
desktop (and "ownership" is assigned to that user too IIUC). I don't
recall seeing noauto in your fstab entry.

Before logging on via X, switch to a vt and type mount. You'll probably
see the device already mounted. Then after you log in via X, do "mount"
again. I expect you'll see two mounts on the device.

> 
> The problem is that I still have two icons on the desktop for a single
> mounted disk.

AFAIK, that is not a problem except to the "wetware". The system is
perfectly happy with it. See "man mount" and look for "bind" to see
evidence of this.

I'm not that knowledgeable about the desktop, but I think Gnome has some
stuff it starts up that comminucates with HAL or udev to locate
removable devices and make them available on the desktop. This goes
beyond mount, IIUC. Witness a CD or DVD that is a video or music media.
It has no file system, as we understand it, and can't be formally
mounted. I *think* that's correct. Those devices should get accessed
through the raw device interfaces.

Maybe Gnome has some preferences about this?

> 

HTH
-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-24 Thread William L. Maltby
On Thu, 2008-04-24 at 11:06 -0700, MHR wrote:
> I'm running FC8 with Gnome 2.20.0 at work and I have this interesting 
> situation.
> 
> I have two disks on the system that are both configured to be mounted
> in /etc/fstab, but I'm seeing two things I believe are strange.
> 
> One is that the second drive is not getting mounted at boot time.
> 
> The other is that I see two icons for the disk on my desktop - one
> with the mount point of the drive, the other with the labvel, and they
> both refer to the same drive (but, e.g., if I use one icon to umount
> the drive, the other icon does not go away - this is secondary).
> 
> Suggestions welcome.  Here is my /etc/fstab:
> 
> LABEL=/ /   ext3defaults1 1
> LABEL=/boot /boot   ext3defaults1 2
> tmpfs   /dev/shmtmpfs   defaults0 0
> devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
> sysfs   /syssysfs   defaults0 0
> proc/proc   procdefaults0 0
> /dev/sda2   swapswapdefaults0 0
> LABEL=/misc /misc   ext3defaults1 2
> 
> The drive that is misbehaving is /misc.
> 
> This is (more or less) my first experience with FC, so have mercy.  :-)

I see that you have solved. If for some reason you wish to keep both
definitions (there may be reasons), just add "noauto" (no quotes) to one
or both of the entries. This might be useful when you want to mount a
different volume, e.g. as a "temp" mount for backup or copy purposes.
This is handy when you have, e.g., a couple identical looking external
usb drives that are used for different purposes on multiple machines.

With "label" and "noauto", it keeps me from accidentally mounting the
wrong one. No, external labels won't do - purposes change frequently.

> 
> Thanks.
> 
> mhr
> 

HTH
-- 
Bill

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


Re: [CentOS] network Interface

2008-04-22 Thread William L. Maltby
On Tue, 2008-04-22 at 11:19 +0530, gopinath wrote:
> When i run a mii-tool
>  
> it displays no MII transcievers present !!!
>  
> if i run ifconfig it displays the eth0 its ip and Hwaddress
>  
> if i ping to the eth0 ip it pings.
>  
> if i ping to some other ip on Lan no response is coming. 
>  
> This all happens in Cent OS 4.2 
>  
> if i boot to Centos 5.1 or Redhat 7.3 the pc is able to communicated
> to everyone on the networks. 
>  
> Please help me out.

"man mii-tool"

Says it is obsolete and directs you to ethtool. "man ethtool" might be
your solution?

>  
>  
> Regards,
> Gopinath M
> 

> 

-- 
Bill

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


Re: [CentOS] rpmforge problem

2008-04-21 Thread William L. Maltby
On Mon, 2008-04-21 at 19:41 +0200, Lorenzo Martínez Rodríguez wrote:
> 

> P.S.: Yes, I do love top-posting if it helps (before some taliban says
> something to me, the list is to help people. I hope not to be
> unpolite)
> 

I'm not taliban, nor intolerant. But Have you thought about what you
just said? If you knowingly violate accepted "standard" behavior in a
venue, and it does cause delay or increases difficulty for those trying
to offer help to others, and it is only to satisify your whim (personal
desire, convenience, ...), then you are almost by definition being
impolite.

MHO
-- 
Bill

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


Re: [CentOS] fdisk partition table plus sign

2008-04-21 Thread William L. Maltby
On Mon, 2008-04-21 at 19:31 +0200, Kai Schaetzl wrote:
> William L. Maltby wrote on Mon, 21 Apr 2008 12:06:06 -0400:
> 
> > As to loss, maybe yes. When you allocate using multipliers, (10GB,
> > 100MB, etc.) the bytes per cylinder is used as a divisor. This *may*
> > leave some part of a cylinder unused at the end. With todays drive
> > sizes, even anal me doesn't worry about it anymore.
> 
> well, I was wondering about that when I wanted to duplicate a partition 
> and I wasn't able to get exactly the same block size in fdisk, neither 
> with size in GB nor with last cylinder.

As long as the files system does not map beyond the end of a partition
on the target drive, you'll be OK. If the drive geometry *appears* the
same and your target partition(s) are at leaset as large as the source
partitions, you should be OK.

Given the above, the only ill-effects I've seen are intangible. As when
sfdisk gives you a warning about the geometry appears to have been
created for one C/H/Spt but this drive seems different.

Since we all do LBA now (don't we?), no harm.

If you want to be absolutely sure, "man sfdisk". This will let you have
complete control, even allocating by sector count. It will let you save
a "map" of the current drive and apply it to a new drive.

If you are fairly new to this level of stuff (... hmm, even if not),
please have good backup/recovery plans and data if you are affecting
production drives.

> 
> Kai
> 

HTH
-- 
Bill

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


Re: [CentOS] fdisk partition table plus sign

2008-04-21 Thread William L. Maltby
On Mon, 2008-04-21 at 16:31 +0200, Kai Schaetzl wrote:
> What does the plus sign after the blocks value exactly mean in the fdisk 
> output? Some research reveals that it indicates that not all the blocks 
> are included in the fdisk value. But what does this exactly mean?

IIRC, it means that the partition did not start/end on a cylinder
boundary. I get these all the time when I manually configure partitions
to get every last block used (not since "large" drives were about
500MB).

As to loss, maybe yes. When you allocate using multipliers, (10GB,
100MB, etc.) the bytes per cylinder is used as a divisor. This *may*
leave some part of a cylinder unused at the end. With todays drive
sizes, even anal me doesn't worry about it anymore.

> 
> Kai
> 

HTH
-- 
Bill

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


Re: [CentOS] nis and new users

2008-04-15 Thread William L. Maltby
On Tue, 2008-04-15 at 10:27 -0400, Jason Pyeron wrote:
> Every time a "new" user logs into a development box (which does not use nfs
> for the home dirs) the get could not chdir to their home dir. They call me
> with the error and I do a:
> 
> cp -a /etc/skel/ ~USER && chown USER.users -R ~USER/
> 
> and it is fixed.
> 
> Is there an automated way?

>From CLI, use useradd (man useradd) which has a parameter to
automatically set up user's home, including copying /etc/skel.

>From an X gnome desktop session (System->Administration->Users and
Groups), I can't remember if it's automatic or if it has a checkbox for
that.

Either case should fix it.

> 

HTH
-- 
Bill

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


Re: [CentOS] SSH Question relating to Public and Private Keys

2008-04-15 Thread William L. Maltby
On Tue, 2008-04-15 at 17:56 +1200, Clint Dilks wrote:
> Hi People,
> 
> The Linux Environment I am responsible for is using ssh key pairs to 
> allow access to a number or accounts on a number Linux Servers.  I 
> currently have the opportunity to re-design some of this.  So I would 
> like to tap into peoples experiences to see what might be some good 
> changes to make.  Specifically I have a couple of questions
> 
> 1. Currently all of the key pairs we are using have empty passphrases is 
> it worth the effort of changing this and setting up ssh-agent compared 
> to what you gain in security by doing this ?

Keeping in mind what the other responders have said, you need to do at
least an informal risk analysis to determine whether it is worth the
effort. Without going into all the formalities of assessment, reduction,
acceptance, assignment, ...

How sensitive is the data and how critical are the functions that that
could be disrupted? What is the scope of exposure to intrusion from
outside the organization (LAN, firewalls, in place, etc.).

How effectively will the enhanced procedures be used? Will users
frequently try to bypass them because it is inconvenient etc.?

OT: does the political environment (e.g. management) support increased
security or does it view increased security as an inconvenient thing
they view as really unnecessary in their situation?

>From a purely technical POV, it is as the other responders have said.
Having *decent* pass phrases is certainly worthwhile.

> 
> 2. At this stage I am going to use RSA Keys of the default size, is this 
> generally the best approach?

Unless you are in an environment that is a desirable target for
espionage (corporate, military, ...) the default sizes are sufficient
IMO.

> 
> 
> Thanks for any thoughts, and have a nice day :)
> 

-- 
Bill

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


Re: [CentOS] yum update did not complete

2008-04-15 Thread William L. Maltby
On Mon, 2008-04-14 at 20:55 -0400, Jerry Geis wrote:
> I was doing a yum update today.
> It downloaded all the packages.
> was doing the next part and my remote connection was lost.
> so ssh session was killed.
> 
> When I logged back in I am not sure if the update is done or not. I 
> presume not.
> I presume it died with my remote session.
> 
> I do a yum update now and it returns as if there is nothing to update.
> last I saw it was 30 out of 312 in the installation section.
> 
> What next?

IIRC, "rpm -qa --last >/tmp/ 
> Jerry
> 

HTH
-- 
Bill

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


Re: [CentOS] Centos issues

2008-04-14 Thread William L. Maltby
On Mon, 2008-04-14 at 20:03 +0200, Dag Wieers wrote:
> On Sun, 13 Apr 2008, William L. Maltby wrote:
> 
> > On Sun, 2008-04-13 at 16:56 +0200, Dag Wieers wrote:
> >>

> >
> > Geez folks! Let's have a little thicker skin. Nothing wrong, IMO, with
> > what was posted. OP was just sharing a strategic decision that might be
> > made. I found nothing offensive there.
> 
> A "strategic decision" is the last thing that pops up in my mind when 
> reading that mail.
> 
> You don't switch distributions because you cannot solve something (or 
> because people are not helping you to solve something). Especially not if 
> it is something that a Google search could have helped you with.

I suspect a difference in ... age, background, personality causes our
different POV on this.

As soon as reading the OP, I deduced that little or no research was done
and no attempt to RTFM had occured. This could be wrong, but it's
irrelevant to me.

That is the OP's problem. I make it a rule to (*try*) not let other's
problems become mine. Especially of an emotional nature.

I realize that is easier said than done. Especially if one has invested
dedicated work and effort. It does take a fair amount of effort to just
to maintain this attitude. When I was youg and full of piss and vinegar,
I 1) didn't know the rule and 2) would have failed miserably regardless.

Now I am able to figure that the strategy of a lot of folks (based on
observation) is to lay as much effort onto others as possible,
minimizing their own effort. This no longer bothers me *as much* as it
used to. It's like getting pissed off because it is raining.

However, having said all that, my response was not intended to be a
criticism. It was only meant to encourage a less ... *reactive* response
to things such as this, which really only ends up wasting your own time.
If the OP is not inclined to do the research it is doubtful that
anything we post here would have much influence.

I *do* sometimes try to ... "educate" folks, but only selectively as I
*think* I see something indicating the poster may be amenable to such
"education".

> 
> But apparently it works to mention switching distributions :)

Only if the OP *thinks* it is a successful "bullying* tactic. Then some
satisfaction might be derived. But if such a tactic fails to provoke any
response at all, chance of satisfaction is reduced, IMO.

But it's really just a style difference ('twixt you and me, e.g.). I
really don't have any animosity toward anyone who "defends" themselves
or their project.


> 
> Maybe I should go back to Slackware ?

*chuckle*

That's a stategic decision!  ;-)

> 

-- 
Bill

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


Re: [CentOS] Centos issues

2008-04-13 Thread William L. Maltby
On Sun, 2008-04-13 at 16:56 +0200, Dag Wieers wrote:
> On Sat, 12 Apr 2008, hamood Iqbal wrote:
> 
> >

> >
> > but if i cant solve it i will switch back to suse.
> 
> Did you consider it to be unfriendly to compare one project with another 
> and threaten to go back if you don't get an answer.
> 
> Did you consider it to be unfriendly to imply that the problems you have 
> are caused by CentOS and not by an action of yourself ?
> 
> To be honest, I personally wouldn't mind if you would go back using 
> OpenSUSE because we do not need a community of whiners that lacks any 
> social skills.
> 
> But if you intend to stay and be part of the CentOS community, I hope you 
> can change your attitude.

Geez folks! Let's have a little thicker skin. Nothing wrong, IMO, with
what was posted. OP was just sharing a strategic decision that might be
made. I found nothing offensive there.

> 

-- 
Bill

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


Re: [CentOS] merge an lvm snapshot back

2008-04-13 Thread William L. Maltby
On Sun, 2008-04-13 at 08:47 -0700, Bart Schaefer wrote:
> On Sat, Apr 12, 2008 at 5:59 PM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
> >  well, just use it.
> 
> This implies that "snapshot" is a bit of a misnomer for what LVM
> creates, because you can modify both the "snapshot" and the "real
> physical LV," but if you want to be able to revert easily, it's the
> "real LV" that you have to *avoid* changing (so that you can simply
> drop the snapshot when you're finished with it).
> 
> Have I got that wrong?
> 
> This limits the usefulness of snapshots as a backup/recovery mechanism.
> 
> > Also, your work flow is broken if your historic snapshots are now
> > production while the real physical LV isnt.( imho )
> 
> Seems to me that's exactly the situation he's trying to avoid.  He
> wants to restore the real LV to the state it was in at the time one of
> the snapshots was taken.  Which in other contexts is exactly the
> reason one makes a snapshot.

At the risk of looking foolish now, I'll discourse a little from
*memory*. Then y'all can take KB's advice if desired.

IIRC, the snapshot volume holds changes to the base volume that occur
while it is mounted, leaving the base unchanged so that a (e.g.) backup
process sees a fixed state on the base file system. Only changes are on
the snapshot volume and I don't know at what level (changed blocks,
i-nodes, whole files or what). Regardless, when the snapshot volume is
unmounted, the changes are then commited to the base volume. But the
record of those things are still on the volume and it is mountable and
usable independently, implying that there might be complete files on
there. I don't know for sure.

Regardless, the snapshot volume is not a "mirror" of the base and is not
suitable for an unfiltered restore to the base and is not useful as a
full replacement for the base FS.

Someone please correct me if I'm wrong - it'll save me reading again!
=>8-O  :)

> 

-- 
Bill

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


Re: [CentOS] merge an lvm snapshot back

2008-04-13 Thread William L. Maltby
On Sun, 2008-04-13 at 15:04 +0100, Karanbir Singh wrote:
> William L. Maltby wrote:
> > IIRC, you don't have a real snapshot on the LV ATM. The snapshot LV only
> > contains files that were chang(ed/ing) while the snapshot volume was
> > "attached" during the backup.
> 
> That does not mean you cant use the snapshot, as long as you are ready 
> to live with the fallouts of such a move ( and have enough space 
> allocated )

Right. I started to say something about that earlier (I have an
automated b/u script I wrote way-back-when that takes advantage of the
snapshot facility) but decided that mentioning that to the OP might lead
to some unexpected hardships for him/her. I decided that just letting
h{im | er } know that it didn't have the full FS was a better choice of
information to pass on.

And in all honesty, it's been so long since I read up on it (vers 1,
IIRC) and looked at the script, I really didn't feel qualified to
suggest anything useful with any certainty.

-- 
Bill

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


Re: [CentOS] merge an lvm snapshot back

2008-04-13 Thread William L. Maltby
On Sun, 2008-04-13 at 01:59 +0100, Karanbir Singh wrote:
> Joseph L. Casale wrote:
> > So how does one accomplish this if say the snap is now deemed the copy of 
> > interest? I am hoping dd is not the only answer:)
> > 
> 
> well, just use it.
> 
> Also, your work flow is broken if your historic snapshots are now 
> production while the real physical LV isnt.( imho )

IIRC, you don't have a real snapshot on the LV ATM. The snapshot LV only
contains files that were chang(ed/ing) while the snapshot volume was
"attached" during the backup.

Don't trust me though - read the docs to be sure. Last time I looked it
might have been vers 1.

> 
> 

-- 
Bill

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


Re: [CentOS] Strange reboots

2008-04-10 Thread William L. Maltby
On Fri, 2008-04-11 at 02:02 +0300, Linux wrote:
> On Fri, Apr 11, 2008 at 1:44 AM, Benjamin Karhan <[EMAIL PROTECTED]> wrote:
> >  ] Every 59 minutes (maybe every hour) it reboots without any logs,
> >  ] without any traces and unfortunately with breaking software raid.
> >  ] After reboot dmesg does not have any strange entries.
> >  this really only helps you if you have X11 installed/enabled to begin 
> > with...
> 
> Well, X11 is not installed (just as would be expected from a production 
> server)
> Also I tried removing unneeded things ipv6 etc...
> no luck yet...
> 
> And it is really annoying that I have only 59 minutes to work on it

I can't help, but if you post your hardware configuration, grub kernel
boot lines, OS status, etc., I bet there is someone that has your config
running that may have something useful to say. Maybe need something on
the kernel line like "lapic" or whatnot.

> 

-- 
Bill

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


Re: [CentOS] More info for -perm 2 ?

2008-04-09 Thread William L. Maltby
On Thu, 2008-04-10 at 07:49 +0700, Fajar Priyanto wrote:
> Hi all,
> Is there any more exhaustive explanation on this command?
> find / -type f -perm -2.
> Someone said that it means to find all files which have 'other' write access.
> 
> From the man page it only says:
> -perm mode
>  File’s permission bits are exactly mode (octal or symbolic).  Symbolic modes 
> use mode 0 as a point of departure.
> 
> -perm -mode
>  All of the permission bits mode are set for the file.
> 
> -perm +mode
>  Any of the permission bits mode are set for the file.
> 
> Is there any table that explain all that mode?
> Thank you.

"Man chmod".

The pertinent part:

 A  numeric  mode is from one to four octal digits (0-7), derived by
 adding up the bits with values 4, 2, and 1.  Any omitted digits are
 assumed  to be leading zeros.  The first digit selects the set user
 ID (4) and set group ID (2) and sticky (1) attributes.  The  second
 digit selects permissions for the user who owns the file: read (4),
 write (2), and execute (1); the third selects permissions for other
 users in the file’s group, with the same values; and the fourth for
 other users not in the file’s group, with the same values


> 

HTH
-- 
Bill

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


Re: [CentOS] java-1.6.0-openjdk packages for testing

2008-04-07 Thread William L. Maltby
On Fri, 2008-04-04 at 13:35 -0500, Johnny Hughes wrote:
> Johnny Hughes wrote:
> > Akemi Yagi wrote:
> >> On Fri, Apr 4, 2008 at 9:18 AM, William L. Maltby
> >> <[EMAIL PROTECTED]> wrote:
> >>> Johnny,
> >>>
> >>>  Thought I'd try these out for you. Looks like a prerequisite is 
> >>> missing?
> >>>
> >>>  yum --enablerepo=c5-testing install java-1.6.0-openjdk\*
> >>>  
> >>>
> >>>  --> Finished Dependency Resolution
> >>>  Error: Missing Dependency: jpackage-utils >= 1.7.3-1jpp.3 is needed by
> >>>  package java-1.6.0-openjdk
> >>
> >> I get the same error.  Thought Johnny cheated on this one, but 
> >> apparently not...
> > 
> > hmmm
> > 
> > There is another version of jpackage-utils in there that should also work.
> > 
> 
> I suspect that the problem is that you have priorities enabled, with the 
> testing repo as the lower priority and jpackage-utils is an upgrade to 
> the one included in the main distro.

That was it. I wish yum had a "--disablepriorities=" flag. nevertheless,
I disabled all repos, enabled the c5-testing and the update went just
fine.

However...

I know nothing about Java. The real Java worked fine for a java console
and application I use. The application worked (mostly) for Firefox 3.0.
It works very relaiably for the Firefox delivered (and updated to CentOS
current version) on both 4.x and 5.x. The Java Console looks like it
works, but doesn't give the prompts I saw in the real Java (clear
cache, ...) and on Windows XP.

The java-1.6.0-openjdk doesn't. I suspect I'm missing some sort of style
sheet processing. Again, I know nothing. Or maybe it's some
configuration I've overlooked. I looked at all that I could think of
that might be related.

Anyone got a clue bat to get me headed down the right road?

Here's a snippet that represents the errors I see in the Java console.
Stuff is wrapped.
Error: Unknown property 'box-sizing'.  Declaration dropped.
Source File:
https://a248.e.akamai.net/n/248/1777/20080331.0/www.etrade.com/stylesheet/global.css
 Line: 81

Error: Error in parsing value for property 'cursor'.  Declaration
dropped.
Source File:
https://a248.e.akamai.net/n/248/1777/20080331.0/www.etrade.com/stylesheet/global.css
 Line: 134

Error: Error in parsing value for property 'cursor'.  Declaration
dropped.
Source File:
https://a248.e.akamai.net/n/248/1777/20080331.0/www.etrade.com/stylesheet/global.css
 Line: 139

Error: Expected end of value for property but found 'height'.  Error in
parsing value for property 'padding'.  Declaration dropped.
Source File: https://www.etrade.wallst.com/v1/common/styles/common.css
Line: 175

Error: Expected declaration but found '~'.  Skipped to next declaration.
Source File:
https://www.etrade.wallst.com/v1/markets/overview/overview.asp?YYY220_/UfRI8EalsCAi3GJbJt1+1s5f342JV9/gVOKi53Y/+mgCK6YLp2npSpR/iB8MUHlH/xLj3KqPvxrZiXFk/P8P9Dm/BRVro4iUbunY3sI88SGZA9kudTDWkHRnft4blfv+5ugfzMoFQ0ZNMhiZyCd7jWgf9iIYmFdzJR5wu/OiSoXFU4kD0ERjHxPm6Y3QBd5
 Line: 271

> 

TIA
--- 
Bill

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


Re: [CentOS] CentOS 5.1 x86 medium installation problems

2008-04-07 Thread William L. Maltby
On Mon, 2008-04-07 at 14:38 +0300, Ioannis Vranos wrote:
> Hi, I had downloaded CentOS 5.1 x86 DVD image, and although it passed
> sha1sum or md5sum test and I burned it verifying it, installation failed.
> 
> Also if I recall correctly, when I tested the medium during install, it
> failed although as I said the media was verified.
> 
> ==> The same things happen with Scientific Linux 5.1 x86 installation
> DVD, so perhaps it is a Red Hat EL 5.1 x86 DVD issue?

Another possibility is a hardware related issue. In another thread in
the past, Johnny suggested adding 300K of pad to the ISO image. I use
cd-record. I did some testing. I just yesterday found the floppy that
contains my notes on the results. I will be posting a [SOLVED] to that
thread (I'll find it later) that discusses this.

In a nutshell: some drives have trouble reading the tail end of the
recording on the media. I tested older ones (sounds like you might have
one) and a newer Lite-on. Some worked fine, others failed.

Using dd to append 300K of zeros (from /dev/zero) may fix you issue if
the problem is this one. Symptoms are erratic because the install
continues until it receives notification of the read error, which is
deferred by some indeterminate time.

> 

HTH
-- 
Bill

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


[CentOS] java-1.6.0-openjdk packages for testing

2008-04-04 Thread William L. Maltby
Johnny,

Thought I'd try these out for you. Looks like a prerequisite is missing?

yum --enablerepo=c5-testing install java-1.6.0-openjdk\*


330 packages excluded due to repository priority protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package java-1.6.0-openjdk-demo.i386 1:1.6.0.0-0.6.b08.el5.centos
set to be updated
---> Package java-1.6.0-openjdk-plugin.i386 1:1.6.0.0-0.6.b08.el5.centos
set to be updated
---> Package java-1.6.0-openjdk-src.i386 1:1.6.0.0-0.6.b08.el5.centos
set to be updated
---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-0.6.b08.el5.centos set to
be updated
---> Package java-1.6.0-openjdk-devel.i386 1:1.6.0.0-0.6.b08.el5.centos
set to be updated
---> Package java-1.6.0-openjdk-javadoc.i386
1:1.6.0.0-0.6.b08.el5.centos set to be updated
--> Running transaction check
--> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk
--> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.3 for package:
java-1.6.0-openjdk
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package tzdata-java.noarch 0:2007k-2.el5.centos set to be updated
--> Running transaction check
--> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.3 for package:
java-1.6.0-openjdk
--> Finished Dependency Resolution
Error: Missing Dependency: jpackage-utils >= 1.7.3-1jpp.3 is needed by
package java-1.6.0-openjdk

# rpm -q centos-release
centos-release-5-1.0.el5.centos.1

# rpm -q jpackage-utils
jpackage-utils-1.7.3-1jpp.2.el5

A view of all available yields nothing.

$ yum --enablerepo=\* --disablerepo=contrib list available \
>/tmp/YumAvail.03

$ grep -i jpackage /tmp/YumA*  # 2 older vers also available
$

BTW: the contrib repo seems to be non-functional for some time now.

$ yum --enablerepo=\* list available >/tmp/YumAvail.03Error: Cannot
open/read repomd.xml file for repository: contrib

BTW2: have migrated my "production work" :-)  (mail, stock trading,
doing some spreadsheet stuff) to C5. After minor configuration
adjustments/irratations for the plain old copy of C4's /home, it's
working well. Using FF 3.0b05, the real java stuff. A little flaky
there. Java console in FF worked fine until this A.M. Haven't treid to
"finger" it out yet.

HTH
-- 
Bill

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


Re: [CentOS] New firefox causing anyone else problems - CentOS 4.X?

2008-03-31 Thread William L. Maltby
On Sun, 2008-03-30 at 17:09 -0700, Bart Schaefer wrote:
> On Sun, Mar 30, 2008 at 4:34 PM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> > Looks like Firefox may be getting another update soon, if my problem is
> >  not atypical. Prior to the latest, had NP for *months*. Anyone else
> >  seeing any problems?
> 
> I've had FF running on my CentOS 4 desktop for a little over 2 days
> now, continuously, with no problems.  However, I *don't* have the JRE
> package installed, and I use the centosplus kernel.

I've dropped back to the previous kernel to see if that makes a
difference, based on what I saw in the google results I mentioned in my
second post. IIRC, with the previous kernel *and* prev FF, I'd had some
issues, but never a panic. I'd been looking forward to a new FF,
thinking that would fix things. Symptoms were a "slow freeze" when I had
lots of things running on a Gnome desktop (two sets of mail, FF, gnome
terminal for two users - 1 native via login, the other "su -" invoked,
multiple tabs in FF and terminal, and several OO spreadsheets). Doing a
C&P operation would sometimes result in severe lack of responsiveness
from that point on. Might take a half hour until I could even kill
things and start anew.

Various diags would show no swap use, nothing odd about memory usage,
etc. But repainting the workspaces would take a *long* time.

Maybe all this was a sign of that bug in a larval stage.

> 

-- 
Bill

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


Re: [CentOS] New firefox causing anyone else problems - CentOS 4.X?

2008-03-30 Thread William L. Maltby
On Sun, 2008-03-30 at 19:34 -0400, William L. Maltby wrote:

> Looks like Firefox may be getting another update soon, if my problem is
> not atypical. Prior to the latest, had NP for *months*. Anyone else
> seeing any problems?
> 
> BTW, running the recent Java console from sun that was detailed in
> another thread a week or two back with Firefox. Had NP prior to the
> latest update, if that offers any useful info. Would like to test the
> openjdk for us if it's applicable to 4.x. If not, I can still test it on
> the 5.x machine.
> 
> # uname -a
> Linux centos01.homegroannetworking 2.6.9-67.0.7.EL #1 Sat Mar 15
> 06:19:12 EDT 2008 i686 athlon i386 GNU/Linux
> 
> >From rpm -qa --last:
> 
> krb5-workstation-1.3.4-54.el4_6.1 Thu Mar 27 14:14:55 2008
> krb5-devel-1.3.4-54.el4_6.1   Thu Mar 27 14:14:51 2008
> krb5-server-1.3.4-54.el4_6.1  Thu Mar 27 14:14:49 2008
> firefox-1.5.0.12-0.14.el4.centos  Thu Mar 27 14:14:39 2008
> krb5-libs-1.3.4-54.el4_6.1Thu Mar 27 14:14:16 2008
> jre-1.6.0_05-fcs  Mon Mar 17 09:13:36 2008
> kernel-smp-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:02:20 2008
> kernel-hugemem-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:01:42 2008
> kernel-doc-2.6.9-67.0.7.ELSun Mar 16 06:01:35 2008
> kernel-2.6.9-67.0.7.ELSun Mar 16 06:01:21 2008
> kernel-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:00:00 2008
> 
> >From the messages log: (sorry about the wrapping)
> 
> Mar 30 14:53:40 centos01 kernel: general protection fault:  [#1]

NB: Maybe this is related?

http://www.redhat.com/security/data/oval/com.redhat.rhsa-2008.xml

The google "header" is

Red Hat OVAL Patch Definition Merger 2 5.3 2008-03-27T19:20:03 ...
Red Hat Enterprise Linux 4 users are advised to upgrade to these updated
packages, . a general fault protection, a NULL pointer
dereference, ...

This seems to indicate a 3/27 update.


> 

-- 
Bill

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


[CentOS] New firefox causing anyone else problems - CentOS 4.X?

2008-03-30 Thread William L. Maltby
Looks like Firefox may be getting another update soon, if my problem is
not atypical. Prior to the latest, had NP for *months*. Anyone else
seeing any problems?

BTW, running the recent Java console from sun that was detailed in
another thread a week or two back with Firefox. Had NP prior to the
latest update, if that offers any useful info. Would like to test the
openjdk for us if it's applicable to 4.x. If not, I can still test it on
the 5.x machine.

# uname -a
Linux centos01.homegroannetworking 2.6.9-67.0.7.EL #1 Sat Mar 15
06:19:12 EDT 2008 i686 athlon i386 GNU/Linux

>From rpm -qa --last:

krb5-workstation-1.3.4-54.el4_6.1 Thu Mar 27 14:14:55 2008
krb5-devel-1.3.4-54.el4_6.1   Thu Mar 27 14:14:51 2008
krb5-server-1.3.4-54.el4_6.1  Thu Mar 27 14:14:49 2008
firefox-1.5.0.12-0.14.el4.centos  Thu Mar 27 14:14:39 2008
krb5-libs-1.3.4-54.el4_6.1Thu Mar 27 14:14:16 2008
jre-1.6.0_05-fcs  Mon Mar 17 09:13:36 2008
kernel-smp-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:02:20 2008
kernel-hugemem-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:01:42 2008
kernel-doc-2.6.9-67.0.7.ELSun Mar 16 06:01:35 2008
kernel-2.6.9-67.0.7.ELSun Mar 16 06:01:21 2008
kernel-devel-2.6.9-67.0.7.EL  Sun Mar 16 06:00:00 2008

>From the messages log: (sorry about the wrapping)

Mar 30 14:53:40 centos01 kernel: general protection fault:  [#1]
Mar 30 14:53:40 centos01 kernel: Modules linked in: loop vfat fat radeon
md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc
ipt_REJECT ipt_state ip_conntrack iptable_filter ip_tables dm_multipath
button battery ac sd_mod usb_storage scsi_mod uhci_hcd ehci_hcd
snd_via82xx snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore
8139too mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod
Mar 30 14:53:40 centos01 kernel: CPU:0
Mar 30 14:53:40 centos01 kernel: EIP:0060:[<0028f705>]Not
tainted VLI
Mar 30 14:53:40 centos01 kernel: EFLAGS: 00010206   (2.6.9-67.0.4.EL)
Mar 30 14:53:40 centos01 kernel: EIP is at 0x28f705
Mar 30 14:53:40 centos01 kernel: eax: f4360de0   ebx: f4360de0   ecx:
0028f705  edx: e0125fa0
Mar 30 14:53:40 centos01 kernel: esi: 0145   edi: f634ce00   ebp:
0003  esp: e0125f48
Mar 30 14:53:40 centos01 kernel: ds: 007b   es: 007b   ss: 0068
Mar 30 14:53:40 centos01 kernel: Process firefox-bin (pid: 21366,
threadinfo=e0125000 task=f4499870)
Mar 30 14:53:40 centos01 kernel: Stack: c0182962 e0125f6c 0009
f634cde0 0003 e0125fa0 f634cde0 c01829e5
Mar 30 14:53:40 centos01 kernel:e0125f70 e0125fa0 
 f634cde0 0c0e5958 0009 c0182c09
Mar 30 14:53:40 centos01 kernel:0003 0bb7 f634cde0
f634cde0  fff4 c018201d cd499000
Mar 30 14:53:40 centos01 kernel: Call Trace:
Mar 30 14:53:40 centos01 kernel:  [] do_pollfd+0x47/0x81
Mar 30 14:53:40 centos01 kernel:  [] do_poll+0x49/0xab
Mar 30 14:53:40 centos01 kernel:  [] sys_poll+0x1c2/0x279
Mar 30 14:53:40 centos01 kernel:  [] __pollwait+0x0/0x94
Mar 30 14:53:40 centos01 kernel:  [] sys_gettimeofday
+0x53/0xac
Mar 30 14:53:40 centos01 kernel:  [] syscall_call+0x7/0xb
Mar 30 14:53:40 centos01 kernel: Code:  Bad EIP value.
Mar 30 14:53:40 centos01 kernel:  <0>Fatal exception: panic in 5 seconds

-- 
Bill

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


Re: [CentOS] Sound card problem

2008-03-29 Thread William L. Maltby
On Fri, 2008-03-28 at 21:57 -0600, David G. Miller wrote:
> I came into an Abit AX8 motherboard and single core AMD Athlon 64 FX.  I 
> did a quick install of CentOS 5.0 on it to make sure everything worked 
> and then returned the hard disk and case to the original owner.  After 
> getting a new case and hard disk, I downloaded the CentOS 5.1 cd images 
> and installed.

I am on CentOS 4.x, and a 32 bit system. But I have the same sound
setup. I don't have a clue yet, but I thought if I posted my stuff, it
might help.

First, I think BIOS settings can affect the success/failure/stability of
things. It might be worth experimenting there although you don't mention
having changed anything.

On my system, there seems to be a little "flakiness" re the sound.
Sometimes just clicking the "Open Volume Control" and muting/unmuting a
few things fixes it. This seems to be needed less with recent updates to
the 4.x stuff (again, 32 bit).

There is a kernel parameter that may have affect - see the end of this
post.

I wish that I could be more helpful, but I just use the stuff. :-(

>   For some reason the motherboard's on board sound no 
> longer works (worked with CentOS 5.0).  dmesg gives me:
> 
> ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
> ACPI: PCI Interrupt :00:11.5[C] -> Link [ALKC] -> GSI 22 (level, 
> low) -> IRQ 90
> PCI: Setting latency timer of device :00:11.5 to 64
> codec_read: codec 0 is not valid [0x1fc]
> codec_read: codec 0 is not valid [0x1fe]
> codec_ready: codec 0 is not ready [0x100]
> codec_ready: codec 0 is not ready [0x100]
> codec_read: codec 0 is not valid [0x1fc]
> codec_read: codec 0 is not valid [0x1fe]
> AC'97 0 access is not valid [0x], removing mixer.
> ACPI: PCI interrupt for device :00:11.5 disabled
> VIA 82xx Audio: probe of :00:11.5 failed with error -5

=
via82xx: Assuming DXS channels with 48k fixed sample rate.
 Please try dxs_support=1 or dxs_support=4 option
 and report if it works on your machine.
ACPI: PCI Interrupt :00:11.5[C] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device :00:11.5 to 64

> 
> and I get the same result if I rmmod/modprobe the kernel sound module 
> (snd-via82xx).
> 
> lspci -vv gives me:
> 
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
> VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
> Subsystem: ABIT Computer Corp. Unknown device 1416
> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- 

=
00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
Subsystem: AOPEN Inc. AK77-8XN onboard audio
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
SERR-  ParErr- Stepping- SERR- FastB2B-
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
> SERR-  Interrupt: pin C routed to IRQ 90
> Region 0: I/O ports at e800 [disabled] [size=256]
> Capabilities: [c0] Power Management version 2
> Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> 
> and my modprobe.conf (generated by kudzu) looks like:
> 
> alias eth0 r8169
> alias scsi_hostadapter sata_via
> alias snd-card-0 snd-via82xx
> options snd-card-0 index=0
> options snd-via82xx index=0
> remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; 
> /sbin/modprobe -r --ignore-remove snd-via82xx

=
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias eth0 8139too
alias snd-card-0 snd-via82xx
options snd-card-0 index=0

> 
> I can always stick a spare sound card in the remaining PCI slot but the 
> sound card used to work with CentOS 5.0.  It seems kind of silly that it 
> doesn't work now.  I've Googled for some different parts of the dmesg 
> output but haven't found anything helpful.  Same with error messages 
> from aplay, amixer, etc.  Any suggestions would be appreciated.

I have this on my grub kernel line

=
ro root=/dev/VolGroup00/LogVol00 rhgb ide0=ata66 ide1=ata66 hdc=ide-cd
lapic

> 
> Thanks,
> Dave
> 

HTH
-- 
Bill

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


Re: [CentOS] Re: questions on kickstart

2008-03-28 Thread William L. Maltby
On Fri, 2008-03-28 at 15:50 -0700, Bill Campbell wrote:
> On Fri, Mar 28, 2008, Les Mikesell wrote:
> >Joshua Baker-LePain wrote:
> >>On Fri, 28 Mar 2008 at 4:32pm, Ross S. W. Walker wrote
> >>

> I used to use the separate /boot partition, but quit when the 1024 sector
> problem was solved, mostly because OS upgrades or installation of alternate
> distributions in a different partition for ``/'' would frequently result in
> a less than useful /boot setup.  Having /boot on the ``/'' file system
> isn't as vulnerable to poorly written installation and upgrade scripts.

I still use it just because I can mount it ro, if I want to keep it
mounted and that reduces chance of FS corruption if we should an
unexpected disastrous event. Although I don't anymore, I also used to
have separate ro partitions for the infrequently changing "critical"
parts of the root file system. With the robustness of things these days,
I've found that less useful.

But because I still do a lot of dinking with stuff, the separate root is
worthwhile (see below).

> 
> Being a belts and suspenders guy, I don't boot from raid or lvm file
> systems as there are too many ways things can go bad.

Only through the grace of high metabolism, I'm still just a belt guy,
even at my advanced physical age. Mentally, I'm suspenders sometimes
though.

> 
> I generally build systems with two identical ext3 partitions for ``/'' and
> ``/backroot', swap, and the remainder in ``/home''.  Once the system is
> installed and configured, the ``/'' is copied to ``/backroot'' with the
> ``/backroot/etc/fstab'' file edited appropriately and ``/boot/grub/menu.lst''
> set up to allow booting from the ``/backroot'' partion (which isn't
> normally mounted).

I do the same with one minor change, ignoring naming conventions. All
systems have two bootable drives and my backup boot and base root are
duplicated, with minor mods, to the second drive. That gives me a
fallback not only for my screw ups, but also for HD failures.

> 
> This provides the ability to boot a damaged system from ``/backroot'', and
> a fallback position if an upgrade goes south by refreshing the copy just
> prior to doing the upgrade.

Great minds think  I know, I know. Trite.

> 
> Bill
> --
> 

-- 
Bill

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


Re: [CentOS] System Rebooted by 2.6.18-8.1.8.el5

2008-03-26 Thread William L. Maltby
On Wed, 2008-03-26 at 10:31 +, Andrew Hearn wrote:
> Mogens Kjaer wrote:
> > Andrew Hearn wrote:
> >> Hello,
> >>
> >> I have a machine that seemed to reboot by itself yesterday, in
> >> /var/log/messages I only see:
> >>
> >> Mar 25 14:26:45 asterisk shutdown[19256]: shutting down for system reboot
> > 
> > What do you mean by "only see"?
> > 
> > Are there no lines before this in /var/log/messages?
> > 
> > Maybe in /var/log/messages.1 ?
> > 
> > Mogens
> > 
> 
> Sorry, more of the log around the time of the reboot
> 
> Mar 25 14:26:12 asterisk snmpd[3189]: Received SNMP packet(s) from UDP:
> [81.187.81.187]:38190
> Mar 25 14:26:12 asterisk snmpd[3189]: Connection from UDP:
> [81.187.81.187]:38196
> Mar 25 14:26:12 asterisk snmpd[3189]: Received SNMP packet(s) from UDP:
> [81.187.81.187]:38196
> Mar 25 14:26:13 asterisk snmpd[3189]: Connection from UDP:
> [81.187.81.187]:38205
> Mar 25 14:26:13 asterisk snmpd[3189]: Received SNMP packet(s) from UDP:
> [81.187.81.187]:38205
> Mar 25 14:26:13 asterisk snmpd[3189]: Connection from UDP:
> [81.187.81.187]:38211
> Mar 25 14:26:13 asterisk snmpd[3189]: Received SNMP packet(s) from UDP:
> [81.187.81.187]:38211
> Mar 25 14:26:14 asterisk snmpd[3189]: Connection from UDP:
> [81.187.81.187]:38211
> Mar 25 14:26:19 asterisk last message repeated 8 times
> Mar 25 14:26:19 asterisk snmpd[3189]: Connection from UDP:
> [81.187.81.187]:38174
> Mar 25 14:26:20 asterisk last message repeated 13 times
> Mar 25 14:26:45 asterisk shutdown[19256]: shutting down for system reboot

This looks like a normal shutdown command was issued from somewhere,
IMO. I would check the other log files under /var/log and its sub-
directories for entries around this time. Especially secure.log*. Also,
I don't know your configuration, but is there a cron or at entry that
has a scheduled reboot?

> 

HTH
-- 
Bill

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


Re: [CentOS] Commands failing silently?

2008-03-25 Thread William L. Maltby
On Tue, 2008-03-25 at 13:21 -0500, Dan Bongert wrote:
> William L. Maltby wrote:
> > On Mon, 2008-03-24 at 16:19 -0500, Dan Bongert wrote:
> >> mouss wrote:
> >>> Dan Bongert wrote:
> >>>> Hello all:
> >>>>
> >>>> 
> > 
> > 
> >> Though 'ls' was just an example -- just about any program will fail. The 
> >> 'w'
> >> command will fail too:
> >>
> >> 

> > 
> > Hmmm... Sure it's failing? Maybe just the output is going somewhere
> > else? After the command runs, what does "echo $?" show? Does it even
> > work? Echo is a bash internal command, so I would expect it to never
> > fail.
> 
> Ok, it's definitely getting an error from somewhere:
> 
> thoth(3) /tmp> ls
> 
> thoth(4) /tmp> echo $?
> 141
> 
> Although:
> 
> thoth(31) ~> top

"~>" ? Got me on that one.

> 
> 
> thoth(32) ~> echo $?
> 0

Ditto. Although I should mention that unless you "man bash" and find the
magic incantation I can't remember that gets return codes from a
pipeline (if that's what "~>" is supposed to be), the return from the
last command in the pipeline is what's returned. If echo is from bash,
as I expected, it should not fail and should return a 0 code regardless
of what happened ahead of it.

Your best tack is simplicity: one command, no pipes, just redirect
output with "&>" like so

   cat  &>/tmp/test.out

Then you can see if the output file has greater than zero length, use
vim on in (if that works), etc.

> 

> I'm usually sshing into the machine, but I've also experienced the problem
> on the console.

Ssh via e'net or serial? On the console, is the failure as reliable or
less frequent?

> > If you are on a normal console, try running the commands similart to
> > this (trying to determine if *something* else is receiving output or
> > not)
> > 
> >  &> /dev/tty
> > 
> > if this works reliably, maybe that's a starting point.
> 
> Nope, that fails intermittently as well.

I would surmise that means that basic kernel operations are good and
there is some common library routine involved.

> 
> > There's a couple kernel guys who frequent this list. Maybe one of them
> > will have a clue as to what could go wrong. Corrupted libraries and
> > whatnot.
> > 
> > You might try that rpm -V command earlier against all packages (add a
> > "a" IIRC). Maybe some library accessed by the coreutils, but which is
> > not itself part of coreutils, is corrupt.
> 
> Hmmwhen I do a 'rpm -Va', I get lots of "at least one of file's
> dependencies has changed since prelinking" errors. Even if I run prelink
> manually, and then do a 'rpm -Va' immediately afterwards.

Well, I'd "man rpm" (no, I don't hate you, but I don't do rpm stuff
enough to remember it all and *I* am not going to "man rpm" unless I
suddenly become quite masochistic :-), select some promising looking
options and run it again, redirecting output to a file you can examine
(possibly have to get it to a machine that works reliably - "man nc"
someone mentioned in another thread looks like a useful tool).

You want to get the diagnostic output from rpm and see what files it
complains about. The ones tagged with a "c" are config files and will
often show up there. If your system hasn't been compromised, it's safe
to ignore these.

Examine all the ones that were unexpectedly tagged and see if there is a
pattern.

If your HDs are "smart", maybe a "smartctl -l " will
identify some sectors gone bad in a critical area of your HD.

I don't have a clue why right after prelink is run the rpm would claim
they had been changed, unless it's a matter of the rpm data base has not
yet been updated. I don't know how it all works together. Maybe the rpm
update runs at night or something?

WHERE'S THE KNOWLEDGEABLE FOLKS WHEN NEEDED? It's the blind leading the
blind ATM.  8-O

HTH
-- 
Bill

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


Re: [CentOS] Commands failing silently?

2008-03-24 Thread William L. Maltby
On Mon, 2008-03-24 at 16:19 -0500, Dan Bongert wrote:
> mouss wrote:
> > Dan Bongert wrote:
> >> Hello all:
> >>
> >>


> Though 'ls' was just an example -- just about any program will fail. The 'w'
> command will fail too:
> 
> thoth(118) /tmp> w
>16:06:51 up  5:34,  1 user,  load average: 0.94, 1.46, 2.04
> USER TTY  FROM  LOGIN@   IDLE   JCPU   PCPU WHAT
> dbongert pts/0copland.ssc.wisc 14:160.00s  0.22s  0.05s w
> 
> thoth(119) /tmp> w
>16:06:52 up  5:34,  1 user,  load average: 0.94, 1.46, 2.04
> USER TTY  FROM  LOGIN@   IDLE   JCPU   PCPU WHAT
> dbongert pts/0copland.ssc.wisc 14:160.00s  0.22s  0.05s w
> 
> thoth(120) /tmp> w
> 
> thoth(121) /tmp> w
> 

Hmmm... Sure it's failing? Maybe just the output is going somewhere
else? After the command runs, what does "echo $?" show? Does it even
work? Echo is a bash internal command, so I would expect it to never
fail.

What is your output device? A serial terminal? If so, could be simple
flow control issues. In fact, any serial connection (even a PC emulating
a terminal) could suffer from flow control problems. And they would tend
to be erratic in nature.

If you are on a normal console, try running the commands similart to
this (trying to determine if *something* else is receiving output or
not)

 &> /dev/tty

if this works reliably, maybe that's a starting point.

There's a couple kernel guys who frequent this list. Maybe one of them
will have a clue as to what could go wrong. Corrupted libraries and
whatnot.

You might try that rpm -V command earlier against all packages (add a
"a" IIRC). Maybe some library accessed by the coreutils, but which is
not itself part of coreutils, is corrupt.


HTH
-- 
Bill

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


Re: [CentOS] Regd: Info about supported Printer for CentOS and RHEL

2008-03-20 Thread William L. Maltby
On Thu, 2008-03-20 at 17:39 +0530, Balaji wrote:
> Dear All,
> 
>I am searched net info about CentOS and RHEL Supported Printer 
> Details and i am not able to find out the Supported printer details from 
> net.
>Please can any one send me the supported printer details document or link

Generally, there is no printer-specific support in CentOS/RHEL. Usually
the print facilities are provided by a package such as CUPS or the
traditional LP package. These packages can be searched on the web
(google) and their home sites browsed for the information you seek.


> 
> Regards
> -S.Balaji
> 

-- 
Bill

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


Re: [CentOS] Move hard disk to a new machine

2008-03-20 Thread William L. Maltby
On Wed, 2008-03-19 at 17:49 -0700, Kenneth Porter wrote:
> On Saturday, March 15, 2008 3:41 PM -0400 "William L. Maltby" 
> <[EMAIL PROTECTED]> wrote:
> 
> > Unless it is an LVM volume? OP didn't say much. If so, export the volume
> > first, then import it on the target machine.
> 
> For those of us not familiar with the details of LVM, what does the 
> export/import do?

>From "man vgimport":

DESCRIPTION
   vgimport allows you to make a  Volume  Group  that  was
   previously exported using vgexport(8) known to the system again,
   perhaps after moving its Physical Volumes from a different
   machine.

Essentially, IIUC, vgexport updates the LVM configuration to remove the
group from the system. I *guess* it might also put some status
information into the descriptors on the volume being removed so that
critical information is available when a vgimport is done.

I can tell you from first-hand experience that moving the volume without
doing this makes for extra work when re-installing, though I can say
that it can be done. Again, from first-hand experience.

> 
> I was going to take the 300 GB PATA drive out of an old HP Vectra and move 
> it to a newer box with more memory, and didn't realize I'd need to do this 
> step.

One of the *few* advantages to not using LVM. Overall, I'd rather use it
in most cases.

> 

-- 
Bill

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


Re: [CentOS] Should I update to DRBD 82?

2008-03-18 Thread William L. Maltby
On Tue, 2008-03-18 at 13:47 +1100, Amos Shapira wrote:
> On Tue, Mar 18, 2008 at 10:50 AM, Joseph L. Casale
> <[EMAIL PROTECTED]> wrote:
> >So now - more of a "yum" question - what can I put in some
> file to prevent yum from trying to upgrade drbd8 to drbd82 for
> now?
> 
> Edit your /etc/yum.conf and add the following:
> exclude=drbd* kmod-drbd*
> 
> Thanks.
> I suppose that tells "yum" to avoid upgrading drbd at all. I can
> probably do:
> exclude=drbd82* kmod-drbd82*
> to avoide the drbd82 packages.
> 
> Can I tell yum to ignore "drbd" packages from the extras repository
> only, so it'll keep updating drbd 8.0 for security fixes?

Yes. Put the exclude lines in the .repo file for extras. See "man yum"
for the format.

> 
> Cheers,
> 
> --Amos
> 


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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 18:09 +, Karanbir Singh wrote:
> William L. Maltby wrote:
> > On Sun, 2008-03-16 at 11:31 -0400, William L. Maltby wrote:
> >> 
> > 
> > P.S. It's the xulrunner @ 57MB that looks like the killer. FF is only
> > 11MB. Looks like things have sped up. 10MB done already in 11 minutes.
> > 
> > I'll keep an eye on it.
> > 
> 
> There is an early build for ff3 at : http://dev.centos.org/~z00dax/misc/
> I was going to build and maintain it for centosplus, but since upstream
> are looking at adding it into the main distro, I wont need to do that.
> 
> One thing worth noting about this rpm on my dev.centos.org site - it
> wont hanck or interfere with anything else on the machine, it sets up a
> parallel firefox3 entry, and runs parallel to the firefox already
> included in the distro ( so you can have both installed )

It looks like Niki's also left things alone. It went into a 3.0 sub-
directory.

By the time I saw you post, I already had installed an updated Java and
Java Console plugin. I would have been glad to test that as well.

I'll try and catch it next time around.

> 

Thanks for all that all of you do.

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 17:07 +0100, Niki Kovacs wrote:
> William L. Maltby a écrit :
> 
> > 
> > It looks like it will take about 13 hours to download. I'm afraid I
> > would soak up your outgoing bandwidth. If I don't hear from you in an
> > hour or so, I'll kill it.
> > 
> I'm hosting this on a publicly available server, and sometimes, download 
> speeds are throttled. But 13 hours seems excessive to me. I'm using my 
> own repo to install various client machines in geographically distinct 
> places (France and Austria), and the average speed is about 40 kbps (it 
> can be much more, though). As for "sucking the bandwidth", don't bother, 
> it's not "my" server, it's public FTP and not my machine. Go ahead.

As I mentioned, things sped up considerably. I got 3 installed, after
removing the 2 that was on there (Karan, the 1.* from original install
is still there so I s/b OK when the new release comes out), got the
plugins done (esp. Java and its console for an app that is fairly
importatnt to me - means I don't have to do Winblows) and looks pretty
good.

It picked up my old user config stuff OK and worked well.

Only observed problem seem to be with a screen layout on a certain
website. Some "tabs" it presents are partially hidden and no amount of
+<-|+> will make them visible enough to read completely. I'll have
to browse in settings a bit and see if there is something there that
might cure that problem.

But it'll do what I can use it for.

I've got to say thanks.

I'll post more to this thread if I see any other adverse behavior.

Cable system acting up today - wasted some hour or so on the horn with
tech support.


> 
> Cheers,
> 
> Niki
> 

Again, thanks for the contribution.

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 11:31 -0400, William L. Maltby wrote:
> 

P.S. It's the xulrunner @ 57MB that looks like the killer. FF is only
11MB. Looks like things have sped up. 10MB done already in 11 minutes.

I'll keep an eye on it.

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 11:31 -0400, William L. Maltby wrote:
> On Sun, 2008-03-16 at 11:22 -0400, William L. Maltby wrote:
> > On Sun, 2008-03-16 at 08:06 -0700, Akemi Yagi wrote:
> > > On Sun, Mar 16, 2008 at 4:16 AM, William L. Maltby
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On Sun, 2008-03-16 at 12:10 +0100, Niki Kovacs wrote:
> > > >  > William L. Maltby a écrit :
> > > >  > >

Kiki,

It looks like it will take about 13 hours to download. I'm afraid I
would soak up your outgoing bandwidth. If I don't hear from you in an
hour or so, I'll kill it.

I guess this reinforces Johnny's earlier comments in a thread about
torrents giving full speed download regardless. I could host a torrent
if I do get it all down, but start up would be slow as my upload speed
is not great either (appx. 60KB/second). But once it got going, if there
were a lot of participants, it would do well.

OTOH, with an estimated early May 5 upgrade release, it may not be worth
it?

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 11:22 -0400, William L. Maltby wrote:
> On Sun, 2008-03-16 at 08:06 -0700, Akemi Yagi wrote:
> > On Sun, Mar 16, 2008 at 4:16 AM, William L. Maltby
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > On Sun, 2008-03-16 at 12:10 +0100, Niki Kovacs wrote:
> > >  > William L. Maltby a écrit :
> > >  > >
> > >  > > # cat /etc/yum.repos.d/kikinovak
> > 
> > Try adding a ".repo" to the file name.
> 
> LOL. That "otter" do it, with a couple more cups of coffee!

Yep. Coffee is brewing too!

> 

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 08:06 -0700, Akemi Yagi wrote:
> On Sun, Mar 16, 2008 at 4:16 AM, William L. Maltby
> <[EMAIL PROTECTED]> wrote:
> >
> > On Sun, 2008-03-16 at 12:10 +0100, Niki Kovacs wrote:
> >  > William L. Maltby a écrit :
> >  > >
> >  > > # cat /etc/yum.repos.d/kikinovak
> 
> Try adding a ".repo" to the file name.

LOL. That "otter" do it, with a couple more cups of coffee!

Sorry to have bothered.

> 

Thanks,
-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 12:10 +0100, Niki Kovacs wrote:
> William L. Maltby a écrit :
> 
> > 
> > I tried to get and test this for you, and me. Can't access the repo.
> > 
> > # uname -a
> > Linux centos501.homegroannetworking 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5
> > 11:36:49 EST 2008 i686 athlon i386 GNU/Linux
> > 
> > # cat /etc/yum.repos.d/kikinovak
> > [kikinovak]
> > enabled=0
> > priority=99
> > name=CentOS-$releasever - kikinovak
> > baseurl=http://kikinovak.free.fr/centos/$releasever/kikinovak/$basearch
> > #baseurl=http://kikinovak.free.fr/centos/5/kikinovak/i386/
> > gpgcheck=0
> > protect=0
> > 
> > Tried adding slash to the end of your original baseurl and added and
> > tried the commented hardcoded URL. NG.
> > 
> > # yum --enablerepo=kikinovak list
> > Loading "changelog" plugin
> > Loading "downloadonly" plugin
> > Loading "installonlyn" plugin
> > Loading "kernel-module" plugin
> > Loading "skip-broken" plugin
> > Loading "fedorakmod" plugin
> > Loading "repolist" plugin
> > Loading "fastestmirror" plugin
> > Loading "tsflags" plugin
> > Loading "allowdowngrade" plugin
> > Loading "priorities" plugin
> > 
> > 
> > Error getting repository data for kikinovak, repository not found
> > 
> > Any thoughts?
> 
> Yes. Replace 'enabled=0' by 'enabled=1' :oD

Need more coffee too? ;-) Above I had

yum --enablerepo=kikinovak list

That "otter" do it, no?

> 
> Cheers,
> 
> Niki
> 

-- 
Bill

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


Re: [CentOS] Firefox 3

2008-03-16 Thread William L. Maltby
On Sun, 2008-03-16 at 11:11 +0100, Niki Kovacs wrote:
> Niki Kovacs a écrit :
> >>
> > I gave it a go anyway, and the result is very convincing. 
> 
> I forgot: if anyone wants to try out Firefox 3.0beta without the hassle 
> of building/adapting it for CentOS, feel free to use the RPM from my 
> repo. To add it, create and edit /etc/yum.repos.d/kikinovak.repo:
> 
> --8<
> [kikinovak]
> enabled=1
> priority=set_your_priority_here
> name=CentOS-$releasever - kikinovak
> baseurl=http://kikinovak.free.fr/centos/$releasever/kikinovak/$basearch
> gpgcheck=0
> --8<
> 
> And I'm sorry, I only have i386 available, since there's no x86_64 
> architecture around.

I tried to get and test this for you, and me. Can't access the repo.

# uname -a
Linux centos501.homegroannetworking 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5
11:36:49 EST 2008 i686 athlon i386 GNU/Linux

# cat /etc/yum.repos.d/kikinovak
[kikinovak]
enabled=0
priority=99
name=CentOS-$releasever - kikinovak
baseurl=http://kikinovak.free.fr/centos/$releasever/kikinovak/$basearch
#baseurl=http://kikinovak.free.fr/centos/5/kikinovak/i386/
gpgcheck=0
protect=0

Tried adding slash to the end of your original baseurl and added and
tried the commented hardcoded URL. NG.

# yum --enablerepo=kikinovak list
Loading "changelog" plugin
Loading "downloadonly" plugin
Loading "installonlyn" plugin
Loading "kernel-module" plugin
Loading "skip-broken" plugin
Loading "fedorakmod" plugin
Loading "repolist" plugin
Loading "fastestmirror" plugin
Loading "tsflags" plugin
Loading "allowdowngrade" plugin
Loading "priorities" plugin


Error getting repository data for kikinovak, repository not found

Any thoughts?

> 
> 
> Be careful about the priority. I have some stuff in that repo that 
> replaces [base] packages.
> 
> Cheers,
> 
> Niki
> 

-- 
Bill

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


Re: [CentOS] Gnash 0.8.2 rpm for CentOS 4?

2008-03-15 Thread William L. Maltby
On Sat, 2008-03-15 at 14:23 -0700, Robert Arkiletian wrote:
> Does anyone know if there is a Gnash rpm available for CentOS 4?
> 
> I have tried compiling it myself but run into dependency problems.
> I looked here
> 
> http://dag.wieers.com/rpm/packages/gnash/
> 
> but there is only 0.8.2 for el5 not el4.

?? I see 7.1-1 for el4.

> 

HTH
-- 
Bill

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


Re: [CentOS] Move hard disk to a new machine

2008-03-15 Thread William L. Maltby
On Sat, 2008-03-15 at 14:57 -0400, Ignacio Vazquez-Abrams wrote:
> On Sun, 2008-03-16 at 00:18 +0530, Truejack wrote:
> > We have a 1TB disk in one of our machines that needs to be moved to a
> > new server.
> >  
> > How can I do that without losing any of the data?
> 
> Shut down the first machine, unplug the drive, shut down the second
> machine, plug the drive in, start both machines, and change the software
> configurations as required (including /etc/fstab).

Unless it is an LVM volume? OP didn't say much. If so, export the volume
first, then import it on the target machine.

> 

-- 
Bill

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


Re: [CentOS] evince on centos5.1

2008-03-14 Thread William L. Maltby
On Fri, 2008-03-14 at 05:36 -0400, William L. Maltby wrote:
> On Fri, 2008-03-14 at 07:41 +0100, Mogens Kjaer wrote:
> > William L. Maltby wrote:
> > ...
> > >  I use Adobe's acroread. Works very well. But don't get the 8.* series -
> > > it's broken in printer interface and is a little bloated do to a not yet
> > > really useful voice reader capability.
> > 
> > Broken? How?
> > 
> > I've printed many pages from acroread 8.x
> 
> When it first came out with 8.1, it would not print. I use CUPS. Version
> 7 worked fine for a long time. 

BTW, printer is a Canon BJC-4550 bubble jet photo quality, wide.
Supported in cups with a similar entry, bjc-800.ppd.

As stated, worked fine prior to the 8.1 acroread install, and after
removal or 8.1. Also worked with orhter normal applications, firefox,
thunderbird, evolution, CLI, etc.

-- 
Bill

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


Re: [CentOS] CentOS 5.1 install via PXE Failure

2008-03-14 Thread William L. Maltby
On Fri, 2008-03-14 at 16:32 +1100, James Gray wrote:
> James
> -- 
> Q:  What lies on the bottom of the ocean and twitches?
> A:  A nervous wreck

I had to say thank you for that one! Made me laugh out loud at 05:40
with only one cup of coffee ingested.

-- 
Bill

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


Re: [CentOS] evince on centos5.1

2008-03-14 Thread William L. Maltby
On Fri, 2008-03-14 at 07:41 +0100, Mogens Kjaer wrote:
> William L. Maltby wrote:
> ...
> >  I use Adobe's acroread. Works very well. But don't get the 8.* series -
> > it's broken in printer interface and is a little bloated do to a not yet
> > really useful voice reader capability.
> 
> Broken? How?
> 
> I've printed many pages from acroread 8.x

When it first came out with 8.1, it would not print. I use CUPS. Version
7 worked fine for a long time. I tried modifying the print command in
various ways and never got it working. I googled and saw several
complaints about the same problem. Tried the (very) few solutions
suggested. None worked. I can't recall seeing any responses from the
posts that indicated anyone else got it working either. Again, that was
when it first came out.

I don't remember the details of the failure now. IIRC, it was failing to
connect the output from the PDF to the input for the printer, I *think*.
I tend to get disgusted when things like that happen - a new version
that has a failure in such a basic function that has been well defined
and working across many platforms and software packages for years being
broken when an "improved" is released indicates a QC problem in my view.

I uninstalled it, reinstalled 7, changed nothing else and print worked
again.

When 8.2 was released, I pulled it down and looked at the change log. No
mention of a fix. So I didn't even try it. Why waste my time when 7
works just great and does everything I need?

Anyway, it may be working now. I wouldn't know, based on my experience
and the change log.

> 
> Mogens

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


Re: [CentOS] evince on centos5.1

2008-03-13 Thread William L. Maltby
On Thu, 2008-03-13 at 16:24 -0400, Jerry Geis wrote:
> is there something other than evince on centos 5.1 to view pdf's?
> Every time I am remoted in using vncviewer and look at attached emails
> it KILLS my X11 session.
> 
> If I am at my desktop it works fine.
> 
> xpdf used to work fine on 4.X - but it was removed in 5.X.
> 
> Is there an alternative?
 I use Adobe's acroread. Works very well. But don't get the 8.* series -
it's broken in printer interface and is a little bloated do to a not yet
really useful voice reader capability.

> 
> Thanks,
> 
> Jerry
> 

HTH
-- 
Bill

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


RE: [CentOS] CentOS 5 Evolution Update errors.

2008-03-13 Thread William L. Maltby
On Thu, 2008-03-13 at 05:33 -0400, William L. Maltby wrote:
> On Wed, 2008-03-12 at 16:41 -0400, William L. Maltby wrote:
> > On Wed, 2008-03-12 at 13:57 -0500, Lanny Marcus wrote:
> > > On 12 March 2008, William L. Maltby CentOS4Bill at triad.rr.com wrote:
> > > 
> > > >I just tried again and got the same errors as in my original post. I'll
> > > >run a verify on my system and see if something got corrupted.
> 
> Well, no luck. The only errors of note were the missing gaim dependency
> for nautilus-sender (now replaced by pidgin and reported upstream by
> Johnny) and a missing dev entry. The rest were size and configuration
> files. I forgot to re-run with the md5sum checks turned on last night,
> but I have no *other* indications that there might be a problem there.
> 
> I've started it up now. It's early enough that I should have some
> results before the day ends.

Well, nothing catches my ey, but I've shown the results at the end if
anyone wants to look. Maybe there's something there I just don't
recognize.

> 

> > 
> > Hoping the the mention of docbook is relevant...
> > 
> > # yum list doc\*
> > Loading "changelog" plugin 
> >   .
> >   .
> > extras100% |=| 1.1 kB
> > 00:00
> > Loading mirror speeds from cached hostfile
> > Reading repository metadata in from local files
> > 268 packages excluded due to repository priority protections
> > Installed Packages
> > docbook-dtds.noarch  1.0-30.1
> > installed
> > Available Packages
> > docbook-simple.noarch1.0-2.1.1  base
> > docbook-slides.noarch3.3.1-2.1.1base
> > docbook-style-dsssl.noarch   1.79-4.1   base
> > docbook-style-xsl.noarch 1.69.1-5.1 base
> > docbook-utils.noarch 0.6.14-5.1 base
> > docbook-utils-pdf.noarch 0.6.14-5.1 base
> > docbook2odf.noarch   0.244-2.el5.rf rpmforge
> > #
> > 
> > Maybe I need to install one of these? One would think that yum would
> > have recognized this though.
> >

If y'all don't spot something in the below or wherever, I gues my next
shot is the evolution home, since google didn't provide anything.

rmp --very output follows.

Thanks to all that tried to help,

-- 
Bill

S.5T c /etc/sysconfig/vncservers
...T c /etc/modprobe.d/blacklist-firewire
S.?.   /usr/lib/libpanelw.so.5.5
S.?.   /usr/lib/libdv.so.4.0.2
S.?.   /usr/lib/libmp3lame.so.0.0.0
..5T c /etc/pki/nssdb/secmod.db ...T c /etc/audit/auditd.conf
S.5T c /etc/ntp.conf
S.5T c /etc/printcap
S.?.   /usr/bin/xdriinfo S.5T   /usr/share/icons/hicolor/icon-
theme.cache
S.5T   /usr/share/applications/defaults.list
S.5T c /etc/sysconfig/system-config-securitylevel
S.5T c /etc/ntp/ntpservers S.5T c /etc/yum.repos.d/rpmforge.repo
S.?.   /usr/bin/mplayer
Unsatisfied dependencies for nautilus-sendto-0.7-5.fc6.i386:
libgaim.so.0
L... c /etc/yum.repos.d/CentOS-Base.repo
S.?.   /usr/bin/glxgears
S.?.   /usr/bin/glxinfo
S.5T c /etc/ppp/chap-secrets
S.5T c /etc/ppp/pap-secrets
S.5T c /etc/sane.d/dll.conf
missing /dev/lirc
S.?.   /usr/lib/nvidia/libGL.so.1.0.9631
S.?.   /usr/lib/nvidia/tls/libnvidia-tls.so.1.0.9631
SM5T c /etc/cups/classes.conf
S.5T c /etc/cups/printers.conf
..5T c /usr/lib/security/classpath.security
L... c /etc/pam.d/system-auth
S.?.   /usr/lib/libGL.so.1.2
S.?.   /usr/bin/kdesktop_lock
S.5T c /usr/share/config/kdm/kdmrc
SM5T c /etc/sysconfig/iptables-config
S.?.   /usr/libexec/gnome-screensaver-gl-helper
...T c /etc/sysconfig/system-config-users
..5T c /etc/yum/pluginconf.d/protectbase.conf
S.?.   /usr/bin/cacaxine
S.?.   /usr/lib/libxvidcore.so.4.1
S.5T   /usr/share/mimelnk/application/pdf.desktop
...T c /etc/modprobe.d/blacklist-firewire
...T c /etc/mail/sendmail.cf
S.5T c /var/log/mail/statistics
...T c /etc/modprobe.d/blacklist-firewire

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


RE: [CentOS] CentOS 5 Evolution Update errors.

2008-03-13 Thread William L. Maltby
On Wed, 2008-03-12 at 16:41 -0400, William L. Maltby wrote:
> On Wed, 2008-03-12 at 13:57 -0500, Lanny Marcus wrote:
> > On 12 March 2008, William L. Maltby CentOS4Bill at triad.rr.com wrote:
> > 
> > >I just tried again and got the same errors as in my original post. I'll
> > >run a verify on my system and see if something got corrupted.

Well, no luck. The only errors of note were the missing gaim dependency
for nautilus-sender (now replaced by pidgin and reported upstream by
Johnny) and a missing dev entry. The rest were size and configuration
files. I forgot to re-run with the md5sum checks turned on last night,
but I have no *other* indications that there might be a problem there.

I've started it up now. It's early enough that I should have some
results before the day ends.

>  I have
> > >seen two unreadable sectors from smartctl selftest output in a currently
> > >unused portion of one of my HDs. The rpm verify and another smartctl
> > >selftest may provide a clue or two.
> > 
> > >I hope no more bad sectors show up. If I see more than just a few I
> > >believe things tend over successive self tests, I tend to have a
> > >pessimistic outlook for the drive.

Well, we can put this one to bed. Over the last two weeks, only 1 bad
sector showed up in the automatic short test and one more in the
extended offline self test. No signs of further deterioration.

As I mentioned earlier, the two sectors are in unused portions of the
disk *and* the HD is not my root, something I overlooked earlier. So it
contains only backup, my LFS boot/work areas, and a part used for /home
for my migration to 5.x. Further, each HD is on a separate SATA port
(DUH!), so there's not a single failure point in the cables or port.

My feeling is this isn't related to my evolution update problem.

> >


   .
   .
   .
> > evolution-sharp-devel.i386   0.14.0.1-1.el5.centos  extras
> > [EMAIL PROTECTED] ~]#
> 
> Looks just like mine looked. I did go a-googling and found some
> possibilities.
> 

I've left the rest of the previous post, the rest of this message, JIC
anyone who's interested missed the earlier parts of the thread. If you
read the others or are uninterested, stop reading now.

Bill

> None are related to evolution, but I'm hoping that clues lie there for
> discovery by some skilled viewers of this thread.
> 
> Here, they claim that the oasis site is broken. But since I did a wget
> successfully, I still suspect my installation has something wrong. But
> rpm --verify doesn't give a clue, more later.
> 
> # Wrapped line
> http://www.archivum.info/debian-bugs-
> dist.lists.debian.org/2004-12/msg07181.html
> 
> And in the follow-up to this, they mention the need to have a version of
> docbook installed and using --disable-gtk-doc. But this has to do with
> building pacakages.
> 
> http://www.cygwin.com/ml/cygwin-apps/2005-08/msg00315.html
> 
> In the next, broken rpm macros are suggested. It starts here, but I'd
> skip to the second URL as it seems to get closer to the germ of truth..
> 
>  Site seem to take great glee in presenting lots of "cutesy"
> animated little ads that slow things noticeably.
> 
> 
> The stuff beginning here doesn't *seem* related to my ignorant eyes, but
> maybe it does have meaning to others. Mostly petty sniping typical
> of ... UH-OH! Almost got politically incorrect there.
> 
> http://osdir.com/ml/linux.pld.devel.english/2005-05/msg00095.html
> 
> Anyway, my error appears in this one.
> 
> http://osdir.com/ml/linux.pld.devel.english/2005-05/msg00106.html
> 
> But, I can't see that it relates and no solution jumps out at me.
> 
> Here is from another bug tracker at Debian. Maybe some hope there?
> 
> # wrapped, from 5/2004, maybe not relevant any longer?
> 
> http://www.archivum.info/debian-bugs-
> dist.lists.debian.org/2004-12/msg07144.html
> 
> It includes a link to here.
> 
> http://lists.oasis-open.org/archives/docbook-tc/200405/msg0.html
> 
> But it's subject is "FYI: OASIS site not ECN standards-compliant" and
> leads absolutely nowhere.
> 
> So, anyone with time, interest, knowledge, a beer... ?
> 
> Hoping the the mention of docbook is relevant...
> 
> # yum list doc\*
> Loading "changelog" plugin 
>   .
>   .
> extras100% |=| 1.1 kB
> 00:00
> Loading mirror speeds from cached hostfile
> Reading repository metadata in from local files
> 268 packages excluded due to repository priority protections
> Installed Packages
> docbook-dtds.noarch  1.0-30.1
> installed
> Available Packages
>

RE: [CentOS] CentOS 5 Evolution Update errors.

2008-03-12 Thread William L. Maltby
On Wed, 2008-03-12 at 13:57 -0500, Lanny Marcus wrote:
> On 12 March 2008, William L. Maltby CentOS4Bill at triad.rr.com wrote:
> 
> >I just tried again and got the same errors as in my original post. I'll
> >run a verify on my system and see if something got corrupted. I have
> >seen two unreadable sectors from smartctl selftest output in a currently
> >unused portion of one of my HDs. The rpm verify and another smartctl
> >selftest may provide a clue or two.
> 
> >I hope no more bad sectors show up. If I see more than just a few I
> >believe things tend over successive self tests, I tend to have a
> >pessimistic outlook for the drive.
> 
> Bill: I get the Digest version of the ML each morning, but I read the
> above online. Suggest you download the Diagnostics from the
> manufacturer of the drive and run that. You may be spinning your
> wheels here, and wasting a lot of your valuable time, if the drive is
> bad and needs to be replaced. FWIW, below is the output of the yum
> command you ran, so  you can see what I have installed and what I
> don't have installed, of Evolution, on CentOS 5.   GL, Lanny

By the time you read this in the A.M. I should have a new smartctl
extended selftest completed. Then I'll get the diags if it seems things
have deteriorated from my comfort level.

Meanwhile, back at the ranch ...

> 
> 
> [EMAIL PROTECTED] ~]# yum list 'evo*'
> Loading "installonlyn" plugin
> Loading "priorities" plugin
> Setting up repositories
> adobe-linux-i386  100% |=|  951 B00:00
> google100% |=|  951 B00:00
> rpmforge  100% |=| 1.1 kB00:00
> base  100% |=| 1.1 kB00:00
> updates   100% |=|  951 B00:00
> addons100% |=|  951 B00:00
> extras100% |=| 1.1 kB00:00
> Reading repository metadata in from local files
> 239 packages excluded due to repository priority protections
> Installed Packages
> evolution.i386   2.8.0-40.el5_1.1   installed
> evolution-connector.i386 2.8.0-3.fc6installed
> evolution-data-server.i386   1.8.0-15.el5   installed
> evolution-webcal.i3862.7.1-6installed
> Available Packages
> evolution-bogofilter.i3860.2.0-1.el5.rf rpmforge
> evolution-data-server.i386   1.8.0-25.el5   base
> evolution-data-server-devel.i386 1.8.0-25.el5   base
> evolution-devel.i386 2.8.0-40.el5_1.1   updates
> evolution-rss.i386   0.0.7-1.el5.rf rpmforge
> evolution-sharp.i386 0.14.0.1-1.el5.centos  extras
> evolution-sharp-devel.i386   0.14.0.1-1.el5.centos  extras
> [EMAIL PROTECTED] ~]#

Looks just like mine looked. I did go a-googling and found some
possibilities.

None are related to evolution, but I'm hoping that clues lie there for
discovery by some skilled viewers of this thread.

Here, they claim that the oasis site is broken. But since I did a wget
successfully, I still suspect my installation has something wrong. But
rpm --verify doesn't give a clue, more later.

# Wrapped line
http://www.archivum.info/debian-bugs-
dist.lists.debian.org/2004-12/msg07181.html

And in the follow-up to this, they mention the need to have a version of
docbook installed and using --disable-gtk-doc. But this has to do with
building pacakages.

http://www.cygwin.com/ml/cygwin-apps/2005-08/msg00315.html

In the next, broken rpm macros are suggested. It starts here, but I'd
skip to the second URL as it seems to get closer to the germ of truth..

 Site seem to take great glee in presenting lots of "cutesy"
animated little ads that slow things noticeably.


The stuff beginning here doesn't *seem* related to my ignorant eyes, but
maybe it does have meaning to others. Mostly petty sniping typical
of ... UH-OH! Almost got politically incorrect there.

http://osdir.com/ml/linux.pld.devel.english/2005-05/msg00095.html

Anyway, my error appears in this one.

http://osdir.com/ml/linux.pld.devel.english/2005-05/msg00106.html

But, I can't see that it relates and no solution jumps out at me.

Here is from another bug tracker at Debian. Maybe some hope there?

# wrapped, from 5/2004, maybe not relevant any longer?

http://www.archivum.info/debian-bugs-
dist.lists.debian.org/2004-12/msg07144.html

It includes a link to here.

http://lists.oasis-open.org/archives/docbook-tc/200405/msg0.html

But it's 

Re: [CentOS] Gnome desktop, workspaces and windows

2008-03-12 Thread William L. Maltby
On Wed, 2008-03-12 at 12:59 -0400, James B. Byrne wrote:
> 

> Questions:
> 
> What key combination places the window with focus into another workspace?
> 
> What key combination or other method moves it back into the primary workspace?

I use --

> 
> Why did hiding all windows empty the alternate workspace?

I suspect it minimized them. Once you are at the workspace containing
them, -- should let you select them and bring them back.

> 
> How do I get my vim instance back from wherever it is gone?

If it's as I suspect, the above should work.

> 
> Regards,
> 
> 

HTH
-- 
Bill

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


RE: [CentOS] CentOS 5 Evolution Update errors

2008-03-12 Thread William L. Maltby
On Wed, 2008-03-12 at 11:55 -0500, Lanny Marcus wrote:
> On 12 March 2008, "William L. Maltby" <[EMAIL PROTECTED]> wrote:
> > 

> > > Evo update on my 4.x worked just fine. 5.0 generated a bunch of
> > > parsing
> > > errors preceded and followed by a couple of I/O errors that appear
> > > related to an unavailable URL.
> 
> Bill:
> 
> FWIW, I use Evolution daily on CentOS 5 for IMAP email. Recently, I have
> been having problems, trying to close Evolution. Yesterday I updated
> Evolution, via the update icon in the lower right hand corner of the
> GNOME desktop for "pup" the Package Updater. So far, I am not having the
> problem closing Evolution.   :-)
> 
> I did *not* update the evolution-data-server package yesterday.
> 
> Good luck on a quick and easy solution! Lanny

Thanks Lanny. I just finished an rpm verify and see lots of size
changes. I think these are from prelink, IIRC. The usual T and c flags
(mtime differs and c means it's a configuration file). I'm still plowing
through the output. I suppressed md5sum checking for this pass because I
recall that when things are prelinked, rpm will "unprelink" to a
temporary file and then check. A slowdown may be noticable.  :-{

I'm hoping I can locate the trouble without having to do that now. I'll
run a more thorough one tonight while I snuggle comfy in my haystack.

Did find a missing dependancy for nautilus-sendto, libgain.so.0. Trying
to see "whatprovides" that now. All indications are I'll have to go a-
googling for that one. Yum and rpm both seem to indicate it's a bastard
child.

I remember locating it before in the dim dark past. Can't remember now
though.

<*sigh*>  They say your memory is the *second* thing to go.

> 

Thanks again,

-- 
Bill

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


Re: [CentOS] CentOS 5 Evolution Update errors.

2008-03-12 Thread William L. Maltby
On Wed, 2008-03-12 at 11:15 -0500, Johnny Hughes wrote:
> William L. Maltby wrote:
> > Folks,
> > 
> > Evo update on my 4.x worked just fine. 5.0 generated a bunch of parsing
> > errors preceded and followed by a couple of I/O errors that appear
> > related to an unavailable URL.
> > 
> > I first figured corruption on my node, so I yum erased evo, its -
> > connector and -webcal units. The data-server removal looked as if it
> > might remove half my Gnome desktop, so I left it in place.
> > 
> > Then I did a selective reinstall. The edited results follow. I believe
> > the very first error is the cause. I erased and installed multiple
> > times, even trying the connector plugin figuring maybe it was needed to
> > download files from a website. No-go.
> > 
> > I was able to wget the docbook w/NP.
> > 
> > Any suggestions? Not critical, I only run evo on my 4.X. But I've begun
> > a slow and careful migration to my 5.0, letting it serve as back up for
> > now.
> 
> I was just able to install the upgrade on my workstation where I use 
> evolution just fine:
> 
> 

I just tried again and got the same errors as in my original post. I'll
run a verify on my system and see if something got corrupted. I have
seen two unreadable sectors from smartctl selftest output in a currently
unused portion of one of my HDs. The rpm verify and another smartctl
selftest may provide a clue or two.

I hope no more bad sectors show up. If I see more than just a few I
believe things tend over successive self tests, I tend to have a
pessimistic outlook for the drive.

Thanks,

-- 
Bill

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


[CentOS] CentOS 5 Evolution Update errors.

2008-03-12 Thread William L. Maltby
Folks,

Evo update on my 4.x worked just fine. 5.0 generated a bunch of parsing
errors preceded and followed by a couple of I/O errors that appear
related to an unavailable URL.

I first figured corruption on my node, so I yum erased evo, its -
connector and -webcal units. The data-server removal looked as if it
might remove half my Gnome desktop, so I left it in place.

Then I did a selective reinstall. The edited results follow. I believe
the very first error is the cause. I erased and installed multiple
times, even trying the connector plugin figuring maybe it was needed to
download files from a website. No-go.

I was able to wget the docbook w/NP.

Any suggestions? Not critical, I only run evo on my 4.X. But I've begun
a slow and careful migration to my 5.0, letting it serve as back up for
now.

TIA
-- 
Bill

===
# uname -a
Linux centos501.homegroannetworking \
   2.6.18-53.1.13.el5 #1 SMP Tue Feb 12 13:01:45 EST 2008 \
   i686 athlon i386 GNU/Linux

# yum install evolution
Loading "changelog" plugin


Setting up Install Process
Setting up repositories
kbs-CentOS-Extras   100% |=|  951 B00:00


268 packages excluded due to repository priority protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package evolution.i386 0:2.8.0-40.el5_1.1 set to be updated
--> Running transaction check

Dependencies Resolved

=
PackageArch   Version  RepositorySize
=
Installing:
evolution  i386   2.8.0-40.el5_1.1  updates13 M

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



Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: evolution  # [1/1]
I/O error : Attempt to load network entity http://www.oasis-
open.org/docbook/xml/4.1.2/docbookx.dtd
/usr/share/gnome/help/evolution-2.8/C/evolution-2.8.xml:22: parser
error : Entity 'trade' not defined
  Evolution™
   ^
/usr/share/gnome/help/evolution-2.8/C/evolution-2.8.xml:69: parser
error : Entity 'copy' not defined
Copyright © 2004 Novell, Inc. All rights reserved. No
part of t^


/usr/share/gnome/help/evolution-2.8/C/evolution-2.8.xml:242: parser
error : Entity 'reg' not defined
 Select this option if you connect to Novell
GroupWise®. Novel
^
/usr/share/gnome/help/evolution-2.8/C/evolution-2.8.xml:914: parser
error : Entity 'rdquo' not defined


# yum list 'evo*'
Loading "changelog" plugin
Loading 

268 packages excluded due to repository priority protections
Installed Packages
evolution.i386   2.8.0-40.el5_1.1
installed
evolution-data-server.i386   1.8.0-25.el5
installed

Available Packages
evolution-bogofilter.i3860.2.0-1.el5.rf rpmforge

===



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


Re: [CentOS] Automatically send CTRL-D

2008-03-11 Thread William L. Maltby
On Tue, 2008-03-11 at 09:01 -0700, Garrick Staples wrote:
> On Tue, Mar 11, 2008 at 12:35:19PM +, Mário Gamito alleged:
> > Hi,
> > 
> > Sorry for the little bit off-topic.
> > 
> > I have a script that has to performe a hash over a password.
> > Problem is that sha512sum expects CTRL-D to be pressed to return to the
> > command prompt.
> > 
> > I've searched all over Google, but either I didn't do the right search or
> > there is nothing relevant about this.
> > 
> > Bottom line is that I need this command to print the password hash and
> > returns to the shell automatically:
> > 
> > $ sha512sum | xargs echo "password" | cut -f2 -d' '
> > 
> > Any help would be appreciated.
> 
> Do you mean this?
>   echo "password" | sha512sum

You might try stdio re-direction:

passwd= 
passwd < 

HTH
-- 
Bill

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


Re: [CentOS] Unable open raw socket in CentOS 5 - SE Linux andkernelcapability interaction?

2008-03-08 Thread William L. Maltby
On Fri, 2008-03-07 at 16:48 -0500, S Roderick wrote:
> I was hoping that either via kernel capabilities or SE Linux that we  
> could avoid this. Both seem to offer exactly the feature we want,  
> opening raw sockets from unprivileged accounts. But it's really  
> unclear from all the doc's online how these two interact. Best we  
> could do was try all the examples and approaches we could find - none  
> worked.
> 
> I guess I can try trolling the kernel source ... ugh! ... to see if  
> your recollection is correct. I certainly hope there is another  
> option ...
> 
> Thanks
> S

I think Ross is right. At my last contract with IBM some years back, we
were doing some raw socket stuff. ISTR that we had no problems because
we were real root applications. IIRC, docs specified root privileges.

> 

-- 
Bill

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


Re: [CentOS] parsing /proc/cmdline

2008-03-08 Thread William L. Maltby
It's Saturday A.M, so please forgive me.

On Fri, 2008-03-07 at 10:54 -0500, Filipe Brandenburger wrote:
> On Fri, Mar 7, 2008 at 10:35 AM, Jerry Geis <[EMAIL PROTECTED]> wrote:
> >  If /proc/cmdline looks like
> >
> >  option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
> >
> >  How can I get the 192.168.1.8 out of this cmdline.

A 12 gage shotgun ought to get the job done!  

> 
> Cryptic but does the job:
> 

Seriously, by the time I got to this thread, answers had flowed like
river water, so that left only my perverse sense of humor in play.

-- 
Bill

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


Re: [CentOS] OpenOffice won't start up

2008-03-07 Thread William L. Maltby
On Fri, 2008-03-07 at 10:00 +0100, Niki Kovacs wrote:
> Frank Cox a écrit :
> > 
> > That's highly unusual, because I have never seen that error caused by 
> > anything
> > other than selinux.
> > 
> Well, I have. For third-party applications installed to some obscure 
> places in opt/, and not included in the PATH :oD
> 
> I bet my whole Aretha Franklin CD collection that adding the correct 
> path will solve the problem.
> 
> Therese: open a Terminal, su - to root (which means: type 'su -' and 
> then enter your root password) and type:
> 
> # find / -name 'swriter'

On my 4.0 CentOS, OO 2.0, swriter is a lib component. Try oowriter. WFM.

> 
> Then send us the output of your search.
> 
> Cheers,
> 
> Niki
> 

HTH
-- 
Bill

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


Re: [CentOS] OpenOffice won't start up

2008-03-07 Thread William L. Maltby
On Fri, 2008-03-07 at 10:00 +0100, Niki Kovacs wrote:
> Frank Cox a écrit :
> >

> Therese: open a Terminal, su - to root (which means: type 'su -' and 
> then enter your root password) and type:
> 
> # find / -name 'swriter'

Suggestion for future faster "finds":

After installing/removing components, run updatedb. Then instead of
find, you can "locate swriter". You'll probably need to filter the
output as locate's match seems to be very regex-generalized.

Also, if updating components that have control files, locate rpmsave and
rpmnew so you can see if any of your configuration files need to be
examined.

> 

> Niki
> 

-- 
Bill

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


RE: [CentOS] Send in your favorite CentOS slogan today

2008-03-03 Thread William L. Maltby
On Mon, 2008-03-03 at 10:36 -0600, Dan Carl wrote:
> Heard someone mention free beer, had to participate.
> 
> CentOS, we find RedHat's bugs
> 
> CentOS, the OS that makes sense. 

Consistently Excellent No-cost Terrific Open Source (CENTOS)

> 

-- 
Bill

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


Re: [CentOS] PnP OS

2008-03-02 Thread William L. Maltby
On Sun, 2008-03-02 at 17:22 -0600, Matt wrote:
> Simple question.  In the motherboard bios should PnP OS be enabled or
> disable on motherboard running Centos 4.x?

Mine is enabled.

> 
> Matt
> 

-- 
Bill

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


Re: [CentOS] Re: about mono

2008-03-01 Thread William L. Maltby
On Sat, 2008-03-01 at 15:03 -0800, Scott Silva wrote:
> on 3-1-2008 1:50 PM Simon Jolle sjolle spake the following:
> > On 03/01/2008 08:11 PM, Roilan Cardoso Sýnchez wrote:
> >> Hello Friens
> >>

> Although I dislike hijacked threads myself, it would be so much more helpful 
> and friendlier to newbies to at least answer the question along with the 
> floggings.
> We were all newbies once!

?? Only once?! Obviously a youngster!  ;-)

I'm just trying to avoid the next cycle I'm always trying to enter.

> 

-- 
Bill

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


Re: [CentOS] perl error on CentOS

2008-02-28 Thread William L. Maltby
On Thu, 2008-02-28 at 20:38 +0100, Ralph Angenendt wrote:
> Rogelio wrote:
> > I notice that a lot of my questions stem from a misunderstanding of how RPMs
> > work, as well as how YUM uses RPMs.  Can anyone provide me some useful
> > links?  I google for info, but just seem to get little bits of knowledge but
> > not enough to put it all together coherently.
> 
>  - it's not that hard to find.

Yeah, after you know the answer, it's always so easy!  ;-)

Just trying to interject a little love and kindness here. :-)

> 
> Cheers,
> 
> Ralph
> 

-- 
Bill

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


Re: [CentOS] GRabbing MAC address

2008-02-28 Thread William L. Maltby
On Thu, 2008-02-28 at 08:51 -0500, Toby Bluhm wrote:
> Jerry Geis wrote:
> > I am trying to grab the mac address for eth0 on centos 5.1 with
> >
> > ifconfig | grep eth0 | cut -d ' ' -f 5 and I dont get anything.
> >
> > What am I not doing right?
> >
> > ifconfig | grep eth0 | cut -d ' ' -f 1 gives me eth0 but anything else 
> > like -f 2, -f 3 etc
> > I get nothing.
> >
> > Jerry
> >
> 
> There's multiple spaces in the output that cut is hitting - use tr to 
> reduce them.
> 
> ifconfig | grep eth0 | tr -s ' ' ' ' | cut -d ' ' -f 5

/sbin/ifconfig | grep eth0 | awk '{ print $5 }'

for the lazy way or "man gawk" to see how to select and print and skip
lines of no interest, eliminating the grep.

> 
> 

HTH
-- 
Bill

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


Re: [CentOS] Find user accounts with uid > 500

2008-02-28 Thread William L. Maltby
On Thu, 2008-02-28 at 09:48 +, Jim Wight wrote:
> On Thu, 2008-02-28 at 04:27 -0500, William L. Maltby wrote: 
> > On Thu, 2008-02-28 at 02:56 -0600, Sean Carolan wrote:
> > > Hi all:
> > > 
> > > I'm doing an audit of some Linux machines, and have used this awk
> > > one-liner to find accounts with uid > 499:
> > > 
> > > awk -F: '{if ($3 > 499) print $0}' < /etc/passwd
> > > 
> > > It works great if you run it on a host directly, but if I try to ssh
> > > to a remote host and run the command it fails:
> > > 
> > ssh servername awk -F: "'{if (\$3 > 499) print \$0}'" < /etc/passwd
> 
> ssh servername awk -F: "'{if (\$3 > 499) print \$0}' < /etc/passwd"
> 
> otherwise '< /etc/passwd' happens on the client.
> 
> Jim

DRAT! Need to get first cup-o-java! I even remembered to watch out for
this before I typed my reply!

Better idea: go back to bed!

> 

-- 
Bill

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


Re: [CentOS] Find user accounts with uid > 500

2008-02-28 Thread William L. Maltby
On Thu, 2008-02-28 at 02:56 -0600, Sean Carolan wrote:
> Hi all:
> 
> I'm doing an audit of some Linux machines, and have used this awk
> one-liner to find accounts with uid > 499:
> 
> awk -F: '{if ($3 > 499) print $0}' < /etc/passwd
> 
> It works great if you run it on a host directly, but if I try to ssh
> to a remote host and run the command it fails:
> 
> mybox$ ssh servername awk -F: '{if ($3 > 499) print $0}' < /etc/passwd
> 
> bash: -c: line 1: syntax error near unexpected token `('
> bash: -c: line 1: `awk -F: {if ($3 > 499) print $0}'
> 
> I tried wrapping the command in quotes but no luck.  Any suggestions?
> I want to put this into a for loop so I can grab the info from
> multiple machines.

ssh servername awk -F: "'{if (\$3 > 499) print \$0}'" < /etc/passwd

> 
> thanks
> 
> Sean
> 

-- 
Bill

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


[CentOS] Re: [CentOS-announce] CESA-2008:0161 Important CentOS 5 i386 cups - security update

2008-02-26 Thread William L. Maltby
On Tue, 2008-02-26 at 08:54 -0600, Johnny Hughes wrote:
> CentOS Errata and Security Advisory 2009:0161
> 
> https://rhn.redhat.com/errata/RHSA-2008-0161.html
> 
> The following updated files have been uploaded and are currently
> syncing to the mirrors:
> 
> i386:
> cups-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm
> cups-devel-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm
> cups-libs-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm

Uh-oh! Looks like I messed up somewhere. 

$ yum list cups\*

Installed Packages
cups.i3861:1.2.4-11.14.el5_1.4
installed
cups-libs.i386   1:1.2.4-11.14.el5_1.4
installed
Available Packages
cups-devel.i386  1:1.2.4-11.14.el5_1.4  updates
cups-lpd.i3861:1.2.4-11.14.el5_1.4  updates

$ rpm -q cups
cups-1.2.4-11.14.el5_1.4

Fully up-to-date CentOS5. AFAIR, I used what CentOS5 delivers.

Oh wait! I just noticed the repo tag - el4!  <*whew*>

Subject line got me.

> 

TIA
-- 
Bill

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


Re: [CentOS] ext3 errors

2008-02-26 Thread William L. Maltby
On Mon, 2008-02-25 at 18:11 -0600, Les Mikesell wrote:
> William L. Maltby wrote:
> > 
> >>

> > If you use cpio, it can handle the hard links intelligently, IIRC. That
> > may make this more feasible. Plus you can specify such things as depth
> > to the find command feeding cpio so that even directories end up with
> > good dates.
> 
> Handling them intelligently and in a reasonable amount of time are 2 
> different things.  The last time I tried to copy a backuppc archive much 
> smaller than this I gave up after 3 days - and I've tried most of the 
> possible file-oriented ways to do it, including cpio.

Do you remember if you used the --link or -l parameter? That's the one
that says hard link when possible rather than copying. That should
prevent multiple copies of the same file when multiple hard links
reference them. That should be faster than not doing so if there are
lots of hard links.

> 

-- 
Bill

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


Re: [CentOS] ext3 errors

2008-02-25 Thread William L. Maltby
On Mon, 2008-02-25 at 14:04 -0600, Les Mikesell wrote:
> I recently set up a new system to run backuppc on centOS 5 with the 
> archive stored on a raid1 of 750 gig SATA drives created with 3 members 
> with one specified as "missing".  Once a week I add the 3rd partition, 
> let it sync, then remove it.  I've had a similar system working for a 
> long time using a firewire drive as the 3rd member, so I don't think the 
> raid setup is the cause of the problem.  I may have had problems with 
> the drive power connectors initially but I think that is fixed now and I 
> can't see any hardware errors being logged (the system/log files are on 
> different drives).
> 
> About once a week, I get an error like this, and the partition switches 
> to read-only.
> 
> ---
> Feb 24 04:48:20 linbackup1 kernel: EXT3-fs error (device md3): 
> htree_dirblock_to_tree: bad entry in directory #869973: directory entry 
> across bloc
> ks - offset=0, inode=3915132787, rec_len=42464, name_len=11
> Feb 24 04:48:20 linbackup1 kernel: Aborting journal on device md3.
> Feb 24 04:48:20 linbackup1 kernel: ext3_abort called.
> Feb 24 04:48:20 linbackup1 kernel: EXT3-fs error (device md3): 
> ext3_journal_start_sb: Detected aborted journal
> Feb 24 04:48:20 linbackup1 kernel: Remounting filesystem read-only
> Feb 24 04:48:33 linbackup1 kernel: EXT3-fs error (device md3): 
> htree_dirblock_to_tree: bad entry in directory #4212181: rec_len % 4 != 
> 0 - offse
> t=0, inode=4054525677, rec_len=1183, name_len=121
> 
> 
> 'fsck -y' seems to fix it up, but it keeps happening.  Is this likely to 
> be leftover cruft from the hardware issues or are there problems in 
> ext3/raid1/sata drivers?  The way backuppc stores data with millions of 
> hardlinks in the archive it isn't really practical to copy it off, 
> reformat, and start over.

If you use cpio, it can handle the hard links intelligently, IIRC. That
may make this more feasible. Plus you can specify such things as depth
to the find command feeding cpio so that even directories end up with
good dates.

You can also suppress atime updates, making it both faster and non-
intrusive.

> 

HTH
-- 
Bill

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


Re: [CentOS] How to speed up Rsync transfers

2008-02-25 Thread William L. Maltby
On Sun, 2008-02-24 at 17:53 -0600, Dan Carl wrote:
> - Original Message - 
> From: "William L. Maltby" <[EMAIL PROTECTED]>
> 

> > In that case, it sounds like you need a local staging that can be
> > quickly done before starting upload sync. Then the upload can run 24/7.
> > How you might want to deal with new updates that happen before the
> > previous upload finishes is going to be an interesting problem.
> >
> This is exactly the situation I'm trying to avoid.
> Right now its less than 2GB new/edited images a day so the rsync backup 
> finishes before the script runs again.

General strategy: 1) maximize local operations to minimize intrusion
into the time-constrained resource window by using out-of-band available
resources and 2) minimize in-band demands.

> But I can't take it for granted that this will always be the case.
> Any ideas would be appreciated. What do you mean by local staging?
> 

1) E.g. if local HD space is available, do a local rsync from live ->
backup copy. This can be done even during normal hours while users are
making files (at low priority - see "man nice"), *prior* to the
communications window, *if* something like LVM snapshot is available
(that way you can be assured that activities starting in the live
environment after local copy begins don't get included, although
partials started prior to the copy can still get in there. But they will
be "corrected" on the next cycle).

In this scenario, it may be easier to use one of the "canned" utilities
like amanda or backuppc that have been extensively discussed on this
list. I've never used these things, so I don't really know if they are
appropriate in this scheme. However, nothing wrong with hand-crafted
stuff if you've the inclination and need.

Keep in mind that over time the local rsync will tend to take longer as
directory numbers and sizes grow unless there is also a significant
amount of file deletion by the users going on. So you may want to
schedule several low-priority snapshot/rsync runs throughout the
workday.

Don't be afraid to seek/request some kind of raid/NAS/SAN resource if
the data is mission-critical, growing constantly and volatile. It may
not be needed now, but look down the road so you don't get into a
constant cycle of scrambling to keep up with needs.

Ditto for additional band-width to the remote. It should be cheaper in
the long run if resource demand is certain to grow significantly.

> I'd like the backup to run from 7pm to 7am and then if it didn't finish to
> resume again the next night.

2) You mention images, so I'm not sure much can be gained by compression
because many types of image files are already compressed to a great
degree. But if there are a large number that can be (further) compressed
for significant gain, compress them *prior* to the start of the
communication window. You may need to do some testing to tell which file
types are suited for further compression.

The downside to this is that you no longer have an rsync-amenable image
on the backup local side. Additional scripting would be needed and
instead of rsync, hand-crafted copy operations would be needed. However
this is easily overcome using a time-stamp file in conjunction with
find's "time" parameters to select only things which have been modified
since the previous local copy started.

Another downside is that to restore from either the local or remote
copies, decompression would be needed. This is quite fast though. But,
again, some additional hand-crafting would be needed. Thorough testing
too.

> That way when nothing was added/edited on the weekends the backup can catch 
> up.

In conjunction with "lock" files mentioned in another reply, you may be
able to gain something by segmenting the local and remote rsync. This
allows 1) concurrent *local* compression and rsync (if CPU/memory
resources are sufficient to avoid unduly slowing the user's activities -
again "man nice" to reduce the effects on users) and 2) easier
management of the remote rsync start/stop on directory boundaries as the
window is entered/exited. This may not be needed at all or may be of
limited benefit.

Lastly, see if it's possible to run the rsync during normal hours. If
your site has upload of 750KB/sec and during 90% of the normal workday
only a small percentage is consumed, take advantage by doing some of the
rsync (maybe in small chunks) during these hours at low priority and
throttled appropriately. Presuming that most of your activity is
download, not upload during the normal workday, and knowing that most of
the rsync activity will be upload, not download, there is an opportunity
there.

Testing this scheme before opting for it would be advised.

Finally ...

"Some assembly required".   8-0

> Dan 
> 

HTH
-- 
Bill

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


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread William L. Maltby
On Sat, 2008-02-23 at 10:51 -0800, Bob Taylor wrote:
> On Sat, 2008-02-23 at 06:25 -0500, William L. Maltby wrote:
> > On Fri, 2008-02-22 at 23:45 -0800, Bob Taylor wrote:
> 
> [snip]
> 
> > 

> Someone just said *not* to use protect and priority together.

Me. But I'm no authority on it. Just passing what Johnny et al has said
several times in the past.

> 
> Red Hat has a propensity to remove any documentation on a package that
> does not have a man page. Sometimes it's included in /usr/share/doc and
> sometimes in /usr/lib and sometimes it's just not there. There is,
> hopefully *some* documentation on plugins other than how to write one. I
> would like to know *what* plugins actually *do*.
> 

Well Google? But you must be, like me, lazy. So here's your sign. ;-)

http://www.duke.edu/search/?q=yum+package+manager

Enjoy.

-- 
Bill

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


Re: [CentOS] How to speed up Rsync transfers

2008-02-23 Thread William L. Maltby
On Sat, 2008-02-23 at 10:38 -0600, Dan Carl wrote:
> - Original Message - 
> From: "nate" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, February 22, 2008 10:33 PM
> Subject: RE: [CentOS] How to speed up Rsync transfers
> 
> 
> > Dan Carl wrote:
> >

> > - Do you know what sort of bandwidth your "supposed" to have from your
> >  ISP?
> source server business DSL 1.5m down / 878k up
> distination server T1 colo at a large ISP.
> >
> > nate
> Sounds like I'll be stuck with the tranfer rate I'm getting.

In that case, it sounds like you need a local staging that can be
quickly done before starting upload sync. Then the upload can run 24/7.
How you might want to deal with new updates that happen before the
previous upload finishes is going to be an interesting problem.

> Thanks Nate
> Dan
> >

-- 
Bill

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


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread William L. Maltby
On Fri, 2008-02-22 at 23:45 -0800, Bob Taylor wrote:
> On Fri, 2008-02-22 at 19:56 -0500, William L. Maltby wrote:
> > On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:
> > > On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
> > > > On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> > > > >
> > > 
> 
> [snip]
> 
> > Priority *and* protect? Supposed to be a no-no.
> > 
> > Worse, it's on the updates too. I would carefully examine all your repo
> > defs and have *either* protect or priority, but not both. Also make sure
> > the settings are appropriate sionce you've add some other repos.
> 
> Thanks for your response, Bill. I added the protect lines attempting to
> locate this problem. I've removed all protect lines.
> 
> > I've been using Rpmforge for a long time, NP. But at the time I
> > established priorities, I disabled all protect settings.
> > 
> > And there are a couple exclude and include setups for a few special
> > instances.
> 
> Mind telling me what these are?

S/B nothing of interest, but here's a condensed version.

== Useless/uninteresting lines snipped =
[rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
# NEXT LINE WRAPPED - CAREFUL
protect=0 priority=10 includepkgs=bittorrent.noarch, bittorrent-
gui.noarch, python-khashmir.noarch, python-crypto.i386 rtorrent,
libtorrent.i386, libtorrent-devel.i386, libsigc*, mplayer.i386, mplayer-
docs.i386, mplayer-fonts.noarch, mplayerplug-in.i386, aalib.i386,
faac.i386, lame.i386, libXvMCW.i386, libdvdnav.i386, libmad.i386,
libmpcdec.i386, lirc.i386, lzo.i386, openal.i386, x264.i386,
xvidcore.i386, libmp4v2.i386 gkrellm.i386 # mplayer-skins.noarch,
==

Some of the above may not be appropriate any more - I've not looked in
awhile.

> 

-- 
Bill

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


Re: [CentOS] How to speed up Rsync transfers

2008-02-22 Thread William L. Maltby
On Fri, 2008-02-22 at 16:36 -0800, MHR wrote:
> On Fri, Feb 22, 2008 at 1:43 PM, Dan Carl <[EMAIL PROTECTED]> wrote:
> >
> > I just ran a test from one local box the another on a 100Mbit link and the
> > fastest transfer OI got was 10MBytes/second but most were between
> > 1MBytes/second and 4MBytes/second.
> >
> 
> I could be wrong (it happens), but the best performance you are likely
> to get from a 100 Mbit/s link would be right around 10 MByte/s.
> 
> I think the rest of the time would have to be attributed to memory and
> file consumption fomr the way rsync works, as discussed previously on
> this list.
> 
> Just my $0.02.

I agree. I just calc'd it out at roughly *maximum* 12.5MB, assuming
standard packet sizes. Plus, IIRC, OP said link was 750KB. I don't
recall if OP was trying to resync over that or over and internal 10 or
100 LAN. If over a LAN, I can't figure what the ISP 750KB link had to do
with anything.

> 
> mhr
> 

-- 
Bill

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


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread William L. Maltby
On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:
> On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
> > On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor <[EMAIL PROTECTED]> wrote:
> > >
> 

> 
> # CentOS-Base.repo
> #
> # This file uses a new mirrorlist system developed by Lance Davis for
> CentOS.
> # The mirror system uses the connecting IP address of the client and the
> # update status of each mirror to pick mirrors that are updated to and
> # geographically close to the client.  You should use this for CentOS
> updates
> # unless you are manually picking other mirrors.
> #
> # If the mirrorlist= does not work for you, as a fall back you can try
> the 
> # remarked out baseurl= line instead.
> #
> #
> 
> [base]
> name=CentOS-$releasever - Base
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=
> $basearch&repo
> =os
> #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> priority=1
> protect=1

Priority *and* protect? Supposed to be a no-no.

Worse, it's on the updates too. I would carefully examine all your repo
defs and have *either* protect or priority, but not both. Also make sure
the settings are appropriate sionce you've add some other repos.

I've been using Rpmforge for a long time, NP. But at the time I
established priorities, I disabled all protect settings.

And there are a couple exclude and include setups for a few special
instances.

> #released updates 
> [updates]
> name=CentOS-$releasever - Updates
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=
> $basearch&repo
> =updates
> #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> priority=1
> protect=1

Conflict?

> 

HTH
-- 
Bill

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


[CentOS] Centos Guys: Any estimate of recent torrent savings?

2008-02-22 Thread William L. Maltby
Just wondering if the community has any stats available from the tracker
showing savings from torrent (up|down)loads. I'm seeing *lots* of
activity on the live CD. Between that and the two CentOS releases I'm
sharing (4 DVD & 1-4, 5 DVD & 1-6) my current session has sent out about
20.3GB.

Since I started using it regularly, I think I've sent >= 0.4TB.

If some really good numbers were available, it might encourage others
when they realize that all this translates to faster syncing of mirrors,
faster initial release downloads, reduced costs to the project, etc.

I recently increased my cable modem speeds (U.S. $10/mo seemed worth it
to me even though I don't get the benefits of the added download speed
often - nature of what I do and all that) so I could upload appx. 60KB/s
instead of the previous appx. 45KB/s. And the new {lib, r}torrent from
rpmforge has DHT capability included, which I activated, and I think is
increasing the number of peers/clients with which I see exchanges. I
don't know how badly this might cause under-reporting of your stats.

Just curious, no big need.

-- 
Bill

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


Re: [CentOS] How to mount 'virtual' file systems /proc and /sys ??

2008-02-21 Thread William L. Maltby
On Thu, 2008-02-21 at 11:45 -0800, nate wrote:
> Robinson Tiemuqinke wrote:
> 
> > Please help.
> >
> 
> Looking at my BIND init scripts it calls this:
> mount --bind /proc ${ROOTDIR}/proc >/dev/null
> 
> 
> [EMAIL PROTECTED] init.d]# mount | grep proc
> /dev/proc on /proc type proc (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> /proc on /var/named/proc type none (rw,bind)
> 
> 
> Not sure about the sys file system, maybe it's the
> same, maybe it's not.

For the Q posed by the OP, "man mount" gives this hint.

===
The proc file system is not associated with a special device, and
when mounting it, an arbitrary keyword, such as proc can be used instead
of a device specification.  (The customary choice none is less
fortunate: the error message 'none busy' from umount can be confusing.)
===

Note also the default mounts my CentOS 4.x shows

$ mount
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

On proc, sys, pts and shm, the "none" comes from /etc/fstab, modified by
fstab-sync (see the man page for it). But IIRC from long ago, anything
that doesn't have a real device associated with it, like these, can take
any value for the fs type. Back then, sentiment was sidling towards
avoiding "none" due to the potential confusion it could cause in casual
users and the fact that hum0n eyes could more quickly scan and identify
desired items when a "rational" value appeared in place of "none".

Note that the sunrpc is different - it seems to be a result of the
loaded module sunrpc.

$ /sbin/modinfo sunrpc
filename:   /lib/modules/2.6.9-67.0.4.EL/kernel/net/sunrpc/sunrpc.ko
license:GPL
vermagic:   2.6.9-67.0.4.EL 686 REGPARM 4KSTACKS gcc-3.4
depends:

Lsmod shows a use count of one, but I don't see any module using it.

However, the modinfo output in conjunction with output of this command
(I won't include the output, there's more than a line or two) makes me
think that's it's a foundation piece for RPC stuff.

$ gunzip  
> nate
> 

-- 
Bill

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


Re: [CentOS] nss_ldap failed to bind to LDAP server 127.0.0.1

2008-02-19 Thread William L. Maltby
On Tue, 2008-02-19 at 14:09 -0800, Hugh E Cruickshank wrote:
> Hi All:
> 
> Over the weekend I install all the outstanding updates for our
> CentOS 4 based server. Since I had been holding off on these until
> I had addressed some disk space issues there were a large number
> (300+). I know my bad! After installing the updates I rebooted the
> system and it took forever to boot and once up there were problems
> connecting to some of our SAMBA shares. I checked the messages log
> 

Did you remember to "updatedb" and then "locate rpmsave" or "locate
rpmnew"? There are likely to be many that you need to compare and
update.

> TIA
> 
> Regards, Hugh
> 

HTH
-- 
Bill

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


Re: [CentOS] acroread 8 on CentOS-4 (was for SL4)

2008-02-19 Thread William L. Maltby
On Tue, 2008-02-19 at 11:27 -0800, MHR wrote:
> On Feb 19, 2008 6:06 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote:
> >

> AR 8.1.1 would not print landscape graphic pdfs (on my machine,
> anyway) properly at all.  It also had scaling problems (would not
> scale images to fit the printer).
> 
> Does anyone know if these problems have been fixed in 8.1.2?  (Or
> where I could go to look?)

I've not tried 8.1.2, but IIRC I did download and check the changelog. I
was trying to address a general problem mentione here:

http://lists.centos.org/pipermail/centos/2008-February/094078.html

Saw no indication it had been fixed.

> 
> Thanks.
> 
> mhr
> 

HTH
-- 
Bill

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


Re: [CentOS] Re: CentOS5 installation crashes

2008-02-15 Thread William L. Maltby
On Fri, 2008-02-15 at 12:49 +0100, Andrew Henry wrote:
> Scott Silva wrote:
> > I think you still need a small /boot partition unless grub will
> > finally boot from LVM.
> that did the trick!  thanks for the tip.  There is no warning dialogue
> to tell you this during the install.  Another thing I noticed is that
> the drive size changes to a slightly smaller size after you create
> partitions.  Seemed a bit strange.

Normal. Default operations for things like fdisk is to operate in units
of "cylinders". The first cylinder often goes completely unused except
for the MBR. The last is often only partially used. In the past when
drives were physically large, small in capacity, expensive, unreliable,
noisy, ... I would manually partition in advance to use every last
sector on the drive. I had no worries about other idiots trying to
follow up on my work then. Or MS Winbloze OS's - I only did *IX as a
rule.

The downside is putting up with stupid messages from utilities
complaining the things don't start/end on boundaries.

Ahh! Those were the good ol' days when we were actually smarter than the
tools we used!  :-[  And our services were not a commodity.

> 

-- 
Bill

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


Re: [CentOS] Screen blacks b/w window changes

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 15:08 -0500, Chris McDonald wrote:
> Is there a setting that can be changed that keeps the screen from going 
> black when changing between?

I presume you mean switching between a virtual console and an X session,
or between multiple X sessions. AFAIK, it can't be prevented because the
video output to the display changes and the monitor takes a brief time
to re-sync.

When I have run multiple X sessions, even when the resoultion is the
same, the black screen stills appears for a second or two.

> 

But I'm not a hardware guy, so it could be FUD I'm spouting.

-- 
Bill

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


Re: [CentOS] Re: Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 08:44 -0800, Scott Silva wrote:
> on 2/14/2008 2:25 AM William L. Maltby spake the following:
> > 

> > If grub had a "one time" next boot like LILO, I'd have some more
> > thoughts, but <*sigh*>
> > 
> I have been hoping for that option for years. I have used other options like 
> using sed or cp, but they are still susceptible to failures.
> All my new hardware has been HP's with the ILO feature, so I haven't had to 
> worry about it for a while.

<*chuckle*> So I'm not the only one that thinks their self-aggrandizing
naming as Grand Unified Boot... is not entirely accurate yet? It
certainly is not G or U IMO. I was *very* comfy w/LILO and I did some
neat tricks with it.

Makes me want to go back and look at LILO some more and see what other
new features are in it now. But time prohibits that. <*sigh*>

> 

-- 
Bill

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


Re: [CentOS] ccache on CentOS?

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 14:17 +0100, Niki Kovacs wrote:
> Hi,
> 
> Before using CentOS, I've spent a few years with Slackware. This 
> distribution doesn't come with many packages, so I had the habit of 
> building a lot of stuff myself. One of the first things I installed was 
> ccache, a compiler cache that accelerates (re)building significantly.
> 
> Has anyone ever setup ccache on CentOS? I'd be glad to find a little HOWTO.

RpmForge has it.

> 
> Cheers,
> 
> Niki
> 

-- 
Bill

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


RE: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.

2008-02-14 Thread William L. Maltby
On Thu, 2008-02-14 at 14:57 +1100, Steven Haigh wrote:
> There are a number of differences in the initrd, although nothing that I
> would call obvious as causing an issue..
> 
> -
> # gunzip -cd /boot/initrd-2.6.18-8.1.8.el5.img |cpio -t |more
> 6097 blocks
> bin
>  ...

> sys
> etc
> #
> -
> # gunzip -cd /boot/initrd-2.6.18-53.1.13.el5.img |cpio -t |more
> 9679 blocks
> bin
> bin/dmraid
> 

> sys
> etc
> #
> -

Do yourself a favor, as you'll probably have several more comparisons to
do.

When making the lists, sort the output, either piped to sort or make a
sorted version afterward, and use comm (man comm). You can see a nice
consolidated output, or select any combination of "only on file1", "only
on file2", ... both, etc. Makes detecting differences much faster.

> 

If grub had a "one time" next boot like LILO, I'd have some more
thoughts, but <*sigh*>

-- 
Bill

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


RE: [CentOS] pvmove speed

2008-02-12 Thread William L. Maltby
On Tue, 2008-02-12 at 22:24 -0700, Joseph L. Casale wrote:
> >But I really have a hunch that it is just a lot of I/O wait time due to
> >either metadata maintenance and checkpointing and/or I/O failures, which
> >have very long timeouts before failure is recognized and *then*
> >alternate block assignment and mapping is done.
> 
> One of the original arrays just needs to be rebuilt with more members, there 
> are no errors but I believe you are right about simple I/O wait time.
> 
> Going from sdd to sde:
> 
> # iostat -d -m -x
> Linux 2.6.18-53.1.6.el5 (host)  02/12/2008
> 
> Device: rrqm/s   wrqm/s   r/s   w/srMB/swMB/s avgrq-sz 
> avgqu-sz   await  svctm  %util
> sdd   0.74 0.00  1.52 42.72 0.11 1.7586.41 
> 0.50   11.40   5.75  25.43
> sde   0.00 0.82  0.28  1.04 0.00 0.11   177.52 
> 0.13   98.71  53.55   7.09
> 
> Not very impressive :) Two different SATA II based arrays on an LSI 
> controller, 5% complete in ~7 hours == a week to complete! I ran this command 
> from an ssh session from my workstation (That was clearly a dumb move). Given 
> the robustness of the pvmove command I have gleaned from reading, if the 
> session bales how much time am I likely to lose by restarting? Are the 
> checkpoints frequent?

Beyond my ken on the checkpoint frequency. Never had to use them. I'm in
a situation where I can start 'em up and walk away. My best thought is
to read the description of it in the man page and make a best-guess
about letting it run or not.

Sorry I can't offer more, but I'd being spewing FUD if I tried!

I suggest that with an estimated 1 week completion, you can't lose much
by killing it and restarting. Other checkpoints I've used in the past
have *very* low overhead and easily justify their use.

I would anticipate this to be the same. IIRC from the man page
description, it is essentially just marking completed portions and
updating metadata to reflect the new status. With such a straightforward
process, restart should be almost instantaneous with very low loss of
time.

Again, this is all supposition as I don't know the code.

> 
> Thanks!
> jlc
> 

-- 
Bill

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


RE: [CentOS] pvmove speed

2008-02-12 Thread William L. Maltby
On Tue, 2008-02-12 at 20:41 -0700, Joseph L. Casale wrote:
> >You could "nice" it. "man nice". Since there is likely to be a lot of
> >I/O happening, it may not help much.
> 
> Ok, here's a noob question :) - What process would I nice?

If you run pvmove from the command line, "nice -20 pvmove" for example.
If you start lvm and run pvmove inside that, then "nice -20 lvm" e.g.

But based on the  1% CPU usage, probably won't help much.

> 
> >If the drives are on the same channel, or other devices on the channel
> >are also flooding the channel, that would be expected. Does "swapon -s"
> >show a lot of swap being used? Does top give a clue? I suspect a lot of
> >CPU may also be involved.
> 
> Swapon -s shows 0 being used, top shows cpu's next under 1%.

My guess then is that the writes to the HD are just large and slow. If
the two HDs on the same channel that would make it even slower. If the
drives are older/slower models, ditto. If they have small on-board
cache, same thing.

But I really have a hunch that it is just a lot of I/O wait time due to
either metadata maintenance and checkpointing and/or I/O failures, which
have very long timeouts before failure is recognized and *then*
alternate block assignment and mapping is done.

> 
> Thanks!
> jlc
> 

-- 
Bill

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


Re: [CentOS] pvmove speed

2008-02-12 Thread William L. Maltby
On Tue, 2008-02-12 at 19:57 -0700, Joseph L. Casale wrote:
> 

> Iostat shows the system way underutilized even though the lv whose
> pe's are being migrated is continuously being written (slowly) to.

I finally thought about that last line. Makes since because meta-data
tracking must be done as various pieces are moved and a checkpoint is
written (note in the man page about being able to restart without
providing any parameters). And that is the drive that is failing too!
May be a lot of write failures followed by alternate block assignments
going on at the hardware level. Just a SWAG (Scientific Wild-Assed
Guess).

> 
> Thanks!
> jlc
> 

-- 
Bill

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


Re: [CentOS] pvmove speed

2008-02-12 Thread William L. Maltby
Sorry 'bout that previous one. Wrong key combo hit!

On Tue, 2008-02-12 at 19:57 -0700, Joseph L. Casale wrote:
> Are there any ways to improve/manage the speed of pvmove?

Not that I am aware of. Keep in mind that a *lot* of work is being done.

You could "nice" it. "man nice". Since there is likely to be a lot of
I/O happening, it may not help much.

> Man doesn't show any documented switches for priority scheduling.
> Iostat shows the system way underutilized even though the lv whose
> pe's are being migrated is continuously being written (slowly) to.

If the drives are on the same channel, or other devices on the channel
are also flooding the channel, that would be expected. Does "swapon -s"
show a lot of swap being used? Does top give a clue? I suspect a lot of
CPU may also be involved.

> 
> Thanks!
> jlc
> 

-- 
Bill

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


Re: [CentOS] pvmove speed

2008-02-12 Thread William L. Maltby
On Tue, 2008-02-12 at 19:57 -0700, Joseph L. Casale wrote:
> Are there any ways to improve/manage the speed of pvmove? Man doesn't show 
> any documented switches for priority scheduling.
> Iostat shows the system way underutilized even though the lv whose pe's are 
> being migrated is continuously being written (slowly) to.
> 
> Thanks!
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Strange performance issues under CentOS 5.1

2008-02-12 Thread William L. Maltby
On Tue, 2008-02-12 at 21:15 -0500, Alfred von Campe wrote:
> I am still running CentOS 4.6 on our production systems, but I am  
> starting to plan the upgrade to CentOS 5.1.  I have one test system  
> running 5.1 that is the exact same hardware configuration as my 4.6  
> test system.  One of our builds runs about 6 times slower on the 5.1  
> system, even though is uses less overall CPU time.  I first suspected  
> something wrong with the disk, but the results from bonnie++ show  
> that the 5.1 system is slightly faster:
> 
>Version  1.03   --Sequential Output-- --Sequential  
> Input- --Random-
>-Per Chr- --Block-- -Rewrite- -Per Chr- -- 
> Block-- --Seeks--
>MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec % 
> CP  /sec %CP
>centos4.6   16G   35933  10 21301   5
> 46507   6  41.8   0
> 
> 
>Version  1.03   --Sequential Output-- --Sequential  
> Input- --Random-
>-Per Chr- --Block-- -Rewrite- -Per Chr- -- 
> Block-- --Seeks--
>MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec % 
> CP  /sec %CP
>centos5.1   16G   42015  14 21179   5
> 49863   4  91.6   0
> 
> Then I ran the build with "/usr/bin/time --verbose", and here are the  
> results (first 4.6 then 5.1):
> 
>  Command being timed: "make"
>  User time (seconds): 32.15
>  System time (seconds): 3.52
>  Percent of CPU this job got: 99%
>  Elapsed (wall clock) time (h:mm:ss or m:ss): 0:35.88
> 
>  Command being timed: "make"
>  User time (seconds): 22.05
>  System time (seconds): 3.11
>  Percent of CPU this job got: 11%
>  Elapsed (wall clock) time (h:mm:ss or m:ss): 3:31.35
> 
> As you can see from the above, there is a lot of idle time on the 5.1  
> system.  Finally, I ran the build with "strace -c", and here are the  
> top ten lines of that output (again, 4.6 first and then 5.1):
> 
> % time seconds  usecs/call callserrors syscall
> -- --- --- - - 
>   53.81   16.804147   54916   30658 waitpid
>   34.75   10.853461   82851   131   wait4
>5.291.650844   9177706154581 open
>1.610.503701  15 34408   read
>0.910.283706  15 18607   write
>0.600.185894  12 14919 10364 stat64
>0.520.163340  10 16495  9079 access
>0.470.146933   7 20581   mmap2
> 
> % time seconds  usecs/call callserrors syscall
> -- --- --- - - 
>   60.07   15.173924   52687   28858 waitpid
>   38.509.724412   83831   116   wait4
>0.540.135194   7 19199 10705 access
>0.360.090850  54  1681  1334 execve
>0.270.067686   5 14423 10570 stat64
>0.110.027676   1 24832   read
>0.090.022339   0155810135765 open
>0.030.007617 15948   unlink
> 
> Any suggestions as to what could possible be causing this?  I am  
> fresh out of other ideas to try.

Check BIOS settings? For memory, CAS etc. the same? Disk hardware the
same and specified identically?

Presumming that nothing is found there, install system accounting
packages and run some SAR reports. You may see a clue in them.

Any "tweaks" on the old system you forgot to apply on the new? Elevator,
buffer flush interval changes, etc?

Any other noticeable things on there that may cause it? Presume the
slowdown is caused by a process that you are not looking at. "Hangs"
while some other process is waiting or tying up the CPU. Try running
top.

I notice an execve shows on the new one that is not in the old. One says
"hmmm".

What does swapon -s show?

Is the system "seeing" the same amount of memory "available" or have
BIOS settings in one reduced available?

If all new equipment on the new one, open her up and reseat all
connections, PCI cards and mem sticks. Make sure all power connectors
are well seated to MB and drives.

Front side bus and memory speeds set the same in BIOS?

That's all I can think of that may be even remotely related ATM

> 
> Alfred
> 

HTH
-- 
Bill

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


Re: [CentOS] New Adobe Reader works on CentOS-4.x, speech synthesis reader & more.

2008-02-08 Thread William L. Maltby
On Mon, 2008-01-14 at 15:21 -0500, William L. Maltby wrote:
> On Mon, 2008-01-14 at 14:32 -0500, William L. Maltby wrote:
> > Just and FYI.
> > 
> > In RPM form, works on 4.x and I will try on 5.x too. Speech is tacky,
> > but if I can get something but the Gnome Festival synthesizer, maybe it
> > will improve?
> > 
> > http://www.adobe.com/products/acrobat/readstep2.html?promoid=BONRM
> > 
> 
> Works on CentOS-5.x too. I suspect updates will soon follow as the
> speech reader tends to drop the last words of what it is reading. E.g,
> for a paragraph, leaves off the last line or so of a "9 line" paragraph.
> 

Well, the 8* version doesn't seem to want to print using standard
established CUPS etc. Info obtained via Google seems to indicate that
many have this problem and it is internal to the 8* version. Presented
solutions seem cumbersome and not worthwhile, IMO. And many didn't work
anyway!

I've regressed to the "standard issue" 7* version and printing works
again as expected.

FYI

-- 
Bill

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


Re: [CentOS] Changing ext3 Partition Size

2008-02-08 Thread William L. Maltby
On Fri, 2008-02-08 at 10:17 -0600, Scott Moseman wrote:
> I have an ext3 partition from our SAN.  The size was increased.
> I am attempting to re-size this specific ext3 partition, obviously.
> 
> I unmount the partition, run fdisk, change the cyls, and save...
> 
> WARNING: Re-reading the partition table failed with error 22: Invalid 
> argument.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
> 
> And that is the message that I receive after I attempt the save.
> I did attempt a reboot to see if it did anything, but it did not help.

Other partitions on the (apparent) device in use? If so, you need to
umount them and then (I use) sfdisk -R . If the fdisk
changes were written to the device, this should reload the kernel's view
of that device.

BTW, *before* shrinking the partition, be sure the (live?) file system
has been shrunk (if shrinking). If enlarging, do the resize2fs *after*
the kernel knows about the new size.

Other: if LVM is active on that partition or device, it also needs to be
inactive ATT the fdisk/sfdisk is done. This means that LVM meta-data for
the partition may be incorrect after changes have bee done.

> 
> Thanks,
> Scott
> 

I *think* I got all that right.

HTH
-- 
Bill

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


Re: [CentOS] CentOS 5 loses ip address (newbie question)

2008-02-01 Thread William L. Maltby
On Fri, 2008-02-01 at 16:53 -0800, John R Pierce wrote:
> frankly3d-centos wrote:
> > Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server)
> >
> > loses samba clients due to eth0 losing it's ip.
> >
> >
> >
> > eth0  Link encap:Ethernet  HWaddr 00:04:61:72:AB:98  
> >   inet addr:169.254.66.122  Bcast:169.254.255.255 
> > Mask:255.255.0.0
> 
> 
> 
> whack, 169.254.x.x is the 'auto-IP' range of self assigned IPs used if a 
> system can't reach the DHCP server. I wasn't aware Linux did this, 
> I've only seen it on MS Windows.

It threw me for a loop first time I ever saw it. Especially when (for a
brief moment IIRC) that *and* my IP was assigned to the same device.

I guess that means the OP should check the logs for the DISCOVER...
messages to see what is going on. He'll probably see the OFFERED
rejected somewhere?

> 

-- 
Bill

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


Re: [CentOS] CentOS 5 loses ip address (newbie question)

2008-02-01 Thread William L. Maltby
On Fri, 2008-02-01 at 13:20 -0800, MHR wrote:
> On Feb 1, 2008 6:08 AM, frankly3d-centos
> <[EMAIL PROTECTED]> wrote:
> > Reserved ip in 192.168.x.x range for CenOS 5 (Samba Server)
> >
> > loses samba clients due to eth0 losing it's ip.
> >
> >
> >
> > eth0  Link encap:Ethernet  HWaddr 00:04:61:72:AB:98
> >   inet addr:169.254.66.122  Bcast:169.254.255.255
> > Mask:255.255.0.0
> >   inet6 addr: fe80::204:61ff:fe72:ab98/64 Scope:Link
> >   UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
> >   RX packets:60058 errors:0 dropped:0 overruns:0
> >

> What is your system setup?  Is it a LAN on the inside of a router?  Do
> the systems exist inside and outside the router?

If you control the DHCP server, you should be able to set the reserved
range. Also, you should be able to extend the lease/renewal times to a
*very* long interval. If you don't ... I'm lucky, IPCop is my friend.

Regardless, if it's losing the IP and not getting re-assigned another
(or same) one, something else must be wrong somewhere.

Keeping in mind that I'm really ignorant about this stuff, if it were my
unit I would be looking to see if I had conflicting setups somewhere.
Like maybe booting into a static private IP address default
configuration and yet having a DHCP client active. I don't know if
that's possible or rational, but like I said, I don't know much.

Did you use system-config-network for initial setup? If so, I would
think subsequent diddling would be the screw-up. If not, initial
diddling probably the culprit.


> 
> Need more information for this to be useful.

AMEN brother! (No religious injection intended here: simply an
exclamatory reaffirmation shamelessly stolen from revival meetings I've
seen on the boob-tube - as opposed to you-tube).

> 
> mhr
> 

-- 
Bill

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


<    2   3   4   5   6   7   8   9   >