[CentOS] HD Failures

2008-02-25 Thread Jimmy Bradley
  I'm just curious if any one else has noticed this. I've bought
hard drives from both Walmart and Best Buy. If I can wait, I order them
from newegg.com. I'm beginning to think that the staff at both Walmart
and Best Buy, somewhere along the supply line must dribble the drives
like basket balls. The reason I say that is all the drives I have bought
from those two places fail within a few months time. Has anyone else
noticed that? Just curious.

Jim

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


Re: [CentOS] ext3 errors

2008-02-25 Thread Nicolas KOWALSKI
Les Mikesell <[EMAIL PROTECTED]> writes:

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

Maybe a memory problem:

http://thread.gmane.org/gmane.comp.file-systems.ext3.user/3457/focus=3459

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Bob Taylor wrote:

On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:
  

Bob Taylor wrote:



[snip]

  

uname -imp:

i686 i686 i386

Don't know why the kernel says it's an i386. Kernel bug? Gateway
purchase?
  

i386 is the architecture, in there you have processor flavors
which can be i386 (generic), i486, i586 and i686 tuned. C5 only
carries the generic i386 (default compile options) and the i686
tuned binaries, i586 tuned binaries are no longer being supported
after C4.



What does this say my cpu is:

vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)

[snip]

  

The uname output is valid for your install, the question now is
why rpm refuses to install valid architecture binaries on your
system.



So, my cpu is not an i686?
  


a P-II should be.  i686 is everything from the Pentium Pro onwards, 
including P-II, P-III, P4, core, and the various clones.  it does NOT 
include the original Pentiums (p5 and p54) or 'pentium w/ MMX', those 
are i586.





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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:25 -0500, Ross S. W. Walker wrote:

[snip]

>  Then verify your Internet connection works properly
> with yum (are you behind a proxy server?), and see what that does.

Dunno about proxy server. I'm behind an HughesNet satellite modem. Most
likely that thingy that changes your IP periodically (my database
retrieval program is totally busted!). :-)
-- 
Bob Taylor


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:
> Bob Taylor wrote:

[snip]

> > uname -imp:
> > 
> > i686 i686 i386
> > 
> > Don't know why the kernel says it's an i386. Kernel bug? Gateway
> > purchase?
> 
> i386 is the architecture, in there you have processor flavors
> which can be i386 (generic), i486, i586 and i686 tuned. C5 only
> carries the generic i386 (default compile options) and the i686
> tuned binaries, i586 tuned binaries are no longer being supported
> after C4.

What does this say my cpu is:

vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)

[snip]

> The uname output is valid for your install, the question now is
> why rpm refuses to install valid architecture binaries on your
> system.

So, my cpu is not an i686?

-- 
Bob Taylor


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:43 -0500, Ross S. W. Walker wrote:
> Garrick Staples wrote:
> > On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
> > > Bob Taylor wrote:
> > > > On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
> > > > > The contents of,
> > > > > 
> > > > > # cat /etc/rpm/platform
> > > > 
> > > > i386-redhat-linux
> > > 
> > > Good
> > 
> > Isn't that the problem?  All of my machines say i686, athlon, 
> > ia32e, x86_64,
> > etc.  None of them say i386.
> 
> Ooops, I saw i686 when I looked the first time, yes, this should
> be i686-redhat-linux. Good catch.
> 
> Bob, can you try manually changing this to say i686-redhat-linux,
> I believe this is auto-generated at boot so it isn't a permanent
> fix, but lets see if it updates after this by booting into the
> older kernel (may need to manually change this file again),
> removing the newer kernel and then try a 'yum update'.

Will try this tomorrow. rpm won't let me remove the kernel it installed.
-- 
Bob Taylor


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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Garrick Staples wrote:

On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
  

Bob Taylor wrote:


On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
  

The contents of,

# cat /etc/rpm/platform


i386-redhat-linux
  

Good



Isn't that the problem?  All of my machines say i686, athlon, ia32e, x86_64,
etc.  None of them say i386.

  


yeah.

# cat /etc/rpm/platform
i686-redhat-linux

# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 6
cpu MHz : 807.984
...

(oldest thing I've put C5 on)




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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Garrick Staples wrote:
> On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
> > Bob Taylor wrote:
> > > On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
> > > > The contents of,
> > > > 
> > > > # cat /etc/rpm/platform
> > > 
> > > i386-redhat-linux
> > 
> > Good
> 
> Isn't that the problem?  All of my machines say i686, athlon, 
> ia32e, x86_64,
> etc.  None of them say i386.

Ooops, I saw i686 when I looked the first time, yes, this should
be i686-redhat-linux. Good catch.

Bob, can you try manually changing this to say i686-redhat-linux,
I believe this is auto-generated at boot so it isn't a permanent
fix, but lets see if it updates after this by booting into the
older kernel (may need to manually change this file again),
removing the newer kernel and then try a 'yum update'.

-Ross

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

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Garrick Staples
On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
> Bob Taylor wrote:
> > On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
> > > The contents of,
> > > 
> > > # cat /etc/rpm/platform
> > 
> > i386-redhat-linux
> 
> Good

Isn't that the problem?  All of my machines say i686, athlon, ia32e, x86_64,
etc.  None of them say i386.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
> On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
> > Bob Taylor wrote:
> > > On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
> > > 
> > > [snip]
> > > 
> > > > Well, exactarch=0 might work around this from a yum 
> > > standpoint (as far
> > > > as downloading the updates), but if RPM is complaining this 
> > > is beyond
> > > > the control of yum.  As someone else mentioned, taking a 
> > > look at your
> > > > ~/.rpmmacros file would be interesting.
> > > 
> > > It was empty.
> > > 
> > > > Also, could you post the output of:
> > > > 
> > > >   rpm -q --queryformat 
> > > '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
> > > 
> > > kernel-2.6.18-8.el5.i686
> > > kernel-2.6.18-8.1.14.el5.i686
> > > kernel-2.6.18-53.1.13.el5.i686
> > > 
> > > The last kernel was installed manually using --ignorearch.
> > 
> > Bob,
> > 
> > What's the output of,
> > 
> > # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
> 
> rpm-4.4.2-47.el5.i386

Good

> > The contents of,
> > 
> > # cat /etc/rpm/platform
> 
> i386-redhat-linux

Good

> > And the output of,
> > 
> > # rpm --eval '%_arch'
> 
> i386

Good

> > Also, did you re-install rpm by forcing an upgrade in place 
> of rpm with,
> 
> I ran yum remove yum. I did not remove rpm nor did an rpm --force.

Don't remove rpm, just run an 'rpm -Uvh --force rpm-4.4.2-47.el5.i386.rpm'
this should replace any configs/macros that might have been damaged.

Outside of that, I dunno, I would probably do an rpm audit for all
packages that have changed files and re-install those packages on top
of themselves, making sure to move all the '*.rpmnew' on top of the
existing files. Then verify your Internet connection works properly
with yum (are you behind a proxy server?), and see what that does.


-Ross

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

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


Re: [CentOS] sudo

2008-02-25 Thread John R Pierce

Centos wrote:

Hello

unfortunately other users can change to my user name with sudo,
how I can prevent it ? is there a command to prevent to change to only 
my user name ?


if you allow users open access to sudo, they can do anything that root 
can, which is just about anything.


the alternative is to allow only very restrictive use of sudo, running 
very specific commands as specific users only.   this is all controlled 
via /etc/sudoers, see the man pages.



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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
> On Mon, 2008-02-25 at 21:22 +0100, Peter Kjellstrom wrote:
> > On Monday 25 February 2008, Ross S. W. Walker wrote:
> > > Lets get this fixed so we can kill this thread.
> > 
> > Good initiative, but since the layer beneath also fails 
> (rpm) maybe we should 
> > start there. rpm -qi kernel or maybe bad stuff in 
> /etc/sysconfig kernel.
> 
> Where I am confused is the original kernel and ONE update is in
> the /var/log/yum.log then nada.
> 
> I seem to recall a discussion many months ago regarding an i686 kernel
> being installed from an i386 directory. If you look at
> http://isodirect.centos.org/centos/5/updates you will not see an i686
> directory, just i386 and ia-64. All rpms in the i386 
> directory are i386
> except the kernels and very few others.
> 
> /etc/sysconfig/kernel:
> # UPDATEDEFAULT specifies if new-kernel-pkg should make
> # new kernels the default
> UPDATEDEFAULT=yes
> 
> # DEFAULTKERNEL specifies the default kernel package type
> DEFAULTKERNEL=kernel
> 
> > The interesting error from RPM suggests that it thinks the 
> machine is an i586 
> > (or atleast not i686).
> 
> uname -imp:
> 
> i686 i686 i386
> 
> Don't know why the kernel says it's an i386. Kernel bug? Gateway
> purchase?

i386 is the architecture, in there you have processor flavors
which can be i386 (generic), i486, i586 and i686 tuned. C5 only
carries the generic i386 (default compile options) and the i686
tuned binaries, i586 tuned binaries are no longer being supported
after C4.

Currently C5 only supports i386 and x86_64 architectures. They
are working on ia64 and ppc, maybe sparc too.

The uname output is valid for your install, the question now is
why rpm refuses to install valid architecture binaries on your
system.

-Ross

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

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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
> Bob Taylor wrote:
> > On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
> > 
> > [snip]
> > 
> > > Well, exactarch=0 might work around this from a yum 
> > standpoint (as far
> > > as downloading the updates), but if RPM is complaining this 
> > is beyond
> > > the control of yum.  As someone else mentioned, taking a 
> > look at your
> > > ~/.rpmmacros file would be interesting.
> > 
> > It was empty.
> > 
> > > Also, could you post the output of:
> > > 
> > >   rpm -q --queryformat 
> > '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
> > 
> > kernel-2.6.18-8.el5.i686
> > kernel-2.6.18-8.1.14.el5.i686
> > kernel-2.6.18-53.1.13.el5.i686
> > 
> > The last kernel was installed manually using --ignorearch.
> 
> Bob,
> 
> What's the output of,
> 
> # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm

rpm-4.4.2-47.el5.i386

> The contents of,
> 
> # cat /etc/rpm/platform

i386-redhat-linux

> And the output of,
> 
> # rpm --eval '%_arch'

i386

> Also, did you re-install rpm by forcing an upgrade in place of rpm with,

I ran yum remove yum. I did not remove rpm nor did an rpm --force.

-- 
Bob Taylor


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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 21:22 +0100, Peter Kjellstrom wrote:
> On Monday 25 February 2008, Ross S. W. Walker wrote:
> > Lets get this fixed so we can kill this thread.
> 
> Good initiative, but since the layer beneath also fails (rpm) maybe we should 
> start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.

Where I am confused is the original kernel and ONE update is in
the /var/log/yum.log then nada.

I seem to recall a discussion many months ago regarding an i686 kernel
being installed from an i386 directory. If you look at
http://isodirect.centos.org/centos/5/updates you will not see an i686
directory, just i386 and ia-64. All rpms in the i386 directory are i386
except the kernels and very few others.

/etc/sysconfig/kernel:
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel

> The interesting error from RPM suggests that it thinks the machine is an i586 
> (or atleast not i686).

uname -imp:

i686 i686 i386

Don't know why the kernel says it's an i386. Kernel bug? Gateway
purchase?

-- 
Bob Taylor


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


[CentOS] sudo

2008-02-25 Thread Centos

Hello

unfortunately other users can change to my user name with sudo,
how I can prevent it ? is there a command to prevent to change to only my 
user name ?


Thanks 


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 16:34 -0500, Ross S. W. Walker wrote:
> Bob Taylor wrote:
> > 
> > On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:
> > 
> > [snip]
> > 
> > > Bob,
> > > 
> > > Lets get this fixed so we can kill this thread.
> > 
> > I agree totally! The problem is with rpm. It refuses to install a non
> > i386 rpm. I have verified this by downloading the latest kernel rpm. I
> 
> If rpm is broken, why not try to upgrade rpm on top of itself?
> 
> rpm -Uvh --force rpm-4.4.2-47.el5.rpm
> 
> You will need to manually download the rpm package again.
> 
> > had to use --ignorearch flag to get rpm to install it. Now how do I get
> > this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
> > was to fix this. It does not work. I have tried to pass this flag
> > via /root/.rpmmacros with no help. So, why do only myself apparently
> > have this problem? One other item. I made *no* changes to any yum files
> > after installation except the addition of (maybe) rpmforge. One kernel
> > was updated around this time. My guess is the problem started around the
> > update to 5.1. Anybody have any input as to why at least one person does
> > not have this problem? What could he have that is different from me
> > regarding yum and rpm? Reading this I apologize for the ramble.
> 
> 
> Bob,
> 
> I wouldn't muck with any more options, try to undo the changes you
> have made.

Didn't make any except possibly rpmforge.repo.

> I didn't see what the rpm error was you got when you tried to
> install it, did you post it to the thread?
> 
> You said you re-installed yum, how did you remove yum?

yum remove yum
Installed yum from my installation CD, ran yum update yum with no
change.

> If you did a rpm -e yum, then the yum plugins may have still been left
> behind. Here is the list you provided earlier:

None.

[snip]

> The yum plugin that catches my attention is 'yum-versionlock'

enabled=0

-- 
Bob Taylor


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
> On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
> 
> [snip]
> 
> > Well, exactarch=0 might work around this from a yum 
> standpoint (as far
> > as downloading the updates), but if RPM is complaining this 
> is beyond
> > the control of yum.  As someone else mentioned, taking a 
> look at your
> > ~/.rpmmacros file would be interesting.
> 
> It was empty.
> 
> > Also, could you post the output of:
> > 
> >   rpm -q --queryformat 
> '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
> 
> kernel-2.6.18-8.el5.i686
> kernel-2.6.18-8.1.14.el5.i686
> kernel-2.6.18-53.1.13.el5.i686
> 
> The last kernel was installed manually using --ignorearch.

Bob,

What's the output of,

# rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm

The contents of,

# cat /etc/rpm/platform

And the output of,

# rpm --eval '%_arch'

Also, did you re-install rpm by forcing an upgrade in place of rpm with,

# rpm -Uvh --force rpm-4.4.2-47.el5.i386.rpm

Just some more things to try,

-Ross

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

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 13:19 -0800, John R Pierce wrote:
> Peter Kjellstrom wrote:
> > On Monday 25 February 2008, Ross S. W. Walker wrote:
> >   
> >> Lets get this fixed so we can kill this thread.
> >> 
> >
> > Good initiative, but since the layer beneath also fails (rpm) maybe we 
> > should 
> > start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.
> >
> > The interesting error from RPM suggests that it thinks the machine is an 
> > i586 
> > (or atleast not i686).
> >   
> 
> 
> indeed, lets add
> 
> $ cat /proc/cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)
stepping: 1
cpu MHz : 398.296
cache size  : 512 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov
pat pse36 mmx fxsr up
bogomips: 797.12

-- 
Bob Taylor


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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:

[snip]

> Well, exactarch=0 might work around this from a yum standpoint (as far
> as downloading the updates), but if RPM is complaining this is beyond
> the control of yum.  As someone else mentioned, taking a look at your
> ~/.rpmmacros file would be interesting.

It was empty.

> Also, could you post the output of:
> 
>   rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel

kernel-2.6.18-8.el5.i686
kernel-2.6.18-8.1.14.el5.i686
kernel-2.6.18-53.1.13.el5.i686

The last kernel was installed manually using --ignorearch.

-- 
Bob Taylor


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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 15:02 -0500, Alfred von Campe wrote:
> Bob:
> 
> > I agree totally! The problem is with rpm. It refuses to install a non
> > i386 rpm.
> 
> What are the contents of the ~/.rpmmacros file (for root)?

Empty

-- 
Bob Taylor


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


[CentOS] (no subject)

2008-02-25 Thread Ross S. W. Walker

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

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


Re: [CentOS] centos 5.1 install , 3ware raid card...

2008-02-25 Thread Joshua Baker-LePain

On Mon, 25 Feb 2008 at 7:20pm, Tom Bishop wrote


Installing a new system using a 3ware card, raid 5 across 4 disks,
partition, format went smothly and loaded the apps that I need, but for some
reason it appears grub was not installed, or not completely.  I am wanting
to boot from the array, when installing grub on the loader it asks whether
to install MBR on the first partition.  Should I use the partition instead
of the MBR?  When I boot up in rescue mode and go to /boot/grub all I see is
splashno other files.  Any suggestions would be welcome...thanks.


How big is the array?

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Huge mailq

2008-02-25 Thread Christopher Chan



/etc/init.d/sendmail stop
chkconfig --level 2345 sendmail off
find /var/spool/mqueue -type f -exec rm -f {} \;

That'll empty out your queue and you won't have to worry about
it building up again, pesky thing!



Hmm...it will still build. To really fix it, you need to do one more step:

rpm -e --nodeps sendmail

Now that is a permanent solution.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Huge mailq

2008-02-25 Thread nate
Jason Pyeron wrote:
> Where should we start on preventing this type of problem?
>
> [EMAIL PROTECTED] mqueue]# find | wc -l
> 185259

/etc/init.d/sendmail stop
chkconfig --level 2345 sendmail off
find /var/spool/mqueue -type f -exec rm -f {} \;

That'll empty out your queue and you won't have to worry about
it building up again, pesky thing!

:)

nate

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


RE: [CentOS] Huge mailq

2008-02-25 Thread Jason Pyeron
Let's start with an oops, that messages was sent on Thursday.

The queue spiked at 320k messages, then we discovered a name server was
down, causing an nfs authentication problem, which caused homedirs to not be
deliverable, causing the queue to reach DOS levels, causing the spamfilter
to switch off, causing mail not to be delivered...
 
With a little careful loading (beefed up the VM config) we were able to
deliver all but 25k in 17 hours. I guess this request was one of the 25k.

> -Original Message-
> From: lists-centos 
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 25, 2008 20:20
> To: Jason Pyeron
> Subject: Re: [CentOS] Huge mailq
> 
> you should start by looking at your maillog to see what's going on.
> you should also check to see if you have a sendmail/postfix (whatever
> your mta - i'm assuming sendmail because postfix holds its outbound
> queue differently) queue process running.
> 

sendmail

> entries in the maillog will help you figure out if legit mail is
> backing up, and hints as to why, or if you're a spam "gateway". if
> the latter, you need to look into the source. e.g., are you an open
> relay or do you have web pages that spammers are using.
> 
> it's possible that you have a lot of orphaned df* (data) files, but a
> rather large number.
> 
> this is just a start ...
> 
> [by the way, you don't need a "find" to feed to a "wc". a "wc -l qf*"
> in the mqueue directory would do the trick.]
> 

Too many thingies on the cmd line error.

>   - Rick
> 
> 
> 
>  Original Message 
> > Date: Thursday, February 21, 2008 11:05:45 AM -0500
> > From: Jason Pyeron <[EMAIL PROTECTED]>
> > To: 'CentOS mailing list' 
> > Subject: [CentOS] Huge mailq
> > 
> > Where should we start on preventing this type of problem?
> > 
> > [EMAIL PROTECTED] mqueue]# find | wc -l
> > 185259
> > 
> > -jason
> > 
> -- End Original Message --
> 



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 

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


Re: [CentOS] Huge mailq

2008-02-25 Thread Stephen John Smoogen
On Thu, Feb 21, 2008 at 9:05 AM, Jason Pyeron <[EMAIL PROTECTED]> wrote:
> Where should we start on preventing this type of problem?
>
> [EMAIL PROTECTED] mqueue]# find | wc -l
> 185259
>

Short answer: We can't.

Long answer: Need to know a lot more about the problem before one can
even try to fix a problem like this:

1) What are the emails from? Single program? Single user? Multiple issues etc
2) Where are the emails coming from?
3) Who are the emails are going to?
4) What kind of network setting is it.
5) What kind of server is this? [Mail server, mail gateway, personal
desktop, etc]

These are just starting questions..


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


[CentOS] centos 5.1 install , 3ware raid card...

2008-02-25 Thread Tom Bishop
Installing a new system using a 3ware card, raid 5 across 4 disks,
partition, format went smothly and loaded the apps that I need, but for some
reason it appears grub was not installed, or not completely.  I am wanting
to boot from the array, when installing grub on the loader it asks whether
to install MBR on the first partition.  Should I use the partition instead
of the MBR?  When I boot up in rescue mode and go to /boot/grub all I see is
splashno other files.  Any suggestions would be welcome...thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Huge mailq

2008-02-25 Thread Jason Pyeron
Where should we start on preventing this type of problem?

[EMAIL PROTECTED] mqueue]# find | wc -l
185259

-jason

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 


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


Re: [CentOS] ext3 errors

2008-02-25 Thread Les Mikesell

William L. Maltby wrote:




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


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.  Normally I 
raid-mirror to another drive and remove it for offsite copies, but if 
there are filesystem errors that fsck won't fix, they are going to be 
propagated in an image copy.


--
  Les Mikesell
   [EMAIL PROTECTED]

___
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] NFS options on kernel parameters

2008-02-25 Thread vincenzo romero
I apologize for the miscommunication.

I would like to enable that ability to "no_root_squash" to make sure
root users on the clients have actual root permissions; or effectively
root users are NOT mapped to user nobody.

1.  I have no_root_squash enabled in /etc/exports

2.  But my client when accessing the export via NFS - seems to be
root-squashing it .. so that root is mapped to nobody.
 I would like the root client to have actual root permissions.

... What am I missing in my client side configuration (append line
passed to kernel)?

thanks in advance.

On Mon, Feb 25, 2008 at 2:41 PM, Frank Cox <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Feb 2008 14:36:17 -0800
>  vincenzo romero <[EMAIL PROTECTED]> wrote:
>
>  > I would like to NFS root-squash the root directory.
>
>  no_root_squash means just what it says.  If you want to have root-squashing,
>  remove that parameter from your /etc/exports file.  root-squash=yes is the
>  default setting unless otherwise specified with no_root_squash.
>
>  --
>  MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
>



-- 
best,

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


Re: [CentOS] NFS options on kernel parameters

2008-02-25 Thread Frank Cox
On Mon, 25 Feb 2008 14:36:17 -0800
vincenzo romero <[EMAIL PROTECTED]> wrote:

> I would like to NFS root-squash the root directory.

no_root_squash means just what it says.  If you want to have root-squashing,
remove that parameter from your /etc/exports file.  root-squash=yes is the
default setting unless otherwise specified with no_root_squash.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS options on kernel parameters

2008-02-25 Thread vincenzo romero
Hello,

I am running an NFS server/PXE on a Cent OS 5.1 server.   I have
defined an NFS export with "no_root_squash" option in my /etc/exports
file:
#
# NFS Export Files
#
/export/images  *(rw,sync,no_root_squash)

... A client PXE boots as a diskless station to the above server into
a root-NFS directory underneath the above /export/images export.  When
the client boots; the NFS export is NOT root-Squashing - whenever I
touch a file, it is created as user nobody and NOT root.

I would like to NFS root-squash the root directory.  I believe that I
am missing to pass a parameter in my kernel - (defined in ..
/pxelinux.cfg/default) .. currently my kernel parameters are:

APPEND root=/dev/nfs rw nfsroot=192.1.2.5:/export/images/root-fs ip=dhcp

... would anyone be kind to provide advise on how I can mount my
client so that I am ensure that the "no_root_squash" setting is
enabled?

thanks in advace.


-- 
best,

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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
John R Pierce wrote:
> Peter Kjellstrom wrote:
> > On Monday 25 February 2008, Ross S. W. Walker wrote:
> >   
> >> Lets get this fixed so we can kill this thread.
> >> 
> >
> > Good initiative, but since the layer beneath also fails 
> (rpm) maybe we should 
> > start there. rpm -qi kernel or maybe bad stuff in 
> /etc/sysconfig kernel.
> >
> > The interesting error from RPM suggests that it thinks the 
> machine is an i586 
> > (or atleast not i686).
> >   
> 
> 
> indeed, lets add
> 
> $ cat /proc/cpuinfo
> 
> to the possibly interesting info to post here... 

Sure, C5 kernels only come in the i686 or x86_64 variety.

Maybe the OP's rpm thinks it's on x86_64?

'package kernel-2.6.18-53.1.13.el5 is intended for a i686 architecture'

is the kind of error one would see when installing i386 on x86_64,
the kernel rpm file has a list of unsupported architectures and it
will spit out this error when installing i386 on x86_64.

-Ross

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

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


[CentOS] Lost my win dual boot

2008-02-25 Thread Stephen McManus
Finally got my install working, Centos didn't recognise my m/board NIC 
so I had to install another NIC. Now, I've lost the windows install. I 
need it for my Walkman and Palm. Never, ever got any distro to see the 
Tunsgsten E. I can see the Win in Grub but it says there's a file 
missing, insert system disk. Where have I seen that before?
Anyway, how do I get into Grub and what do I need to add to make win 
bootable? Win is on sda2 amd Centos is on sda3 + 5. In the grub folder 
all it says in the system map is  (hd0) /dev/sda.

Nothing else.
Ta.

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


[CentOS] Yum-updatesd not functioning

2008-02-25 Thread Damien Solodow
I have a couple of CentOS 5.1 boxes, mostly i386, but a couple x86_64,
some real, some virtual.

On all of them, I have yum-updatesd configured to emit via email to
root. Here is a sample yum-updatesd.conf from one of them:

[main]
# how often to check for new updates (in seconds)
run_interval = 14400
# how often to allow checking on request (in seconds)
updaterefresh = 600

# how to send notifications (valid: dbus, email, syslog)
emit_via = email
email_from = [EMAIL PROTECTED] (the real server FQDN is in the file)
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes

# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no

None of the servers notified me of the batch of updates that came out
this weekend. Running 'service yum-updatesd status' on each of them
showed it as running, yet a 'yum update' showed the available updates. I
tried running yum-updatesd manually on each, and after loading the
plugins (installonlyn and priorities) it appears to hang or pause but no
messages were generated either on console, /var/log/messages or email.

Any idea what gives?

Damien Solodow
Senior Network Administrator

REVERSE 911(r) 
6720 Parkdale Place
Indianapolis, IN 46254
317-713-8602 Direct
317-631-6585 Fax

www.reverse911.com  
www.plantcml.com  

 

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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
> 
> On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:
> 
> [snip]
> 
> > Bob,
> > 
> > Lets get this fixed so we can kill this thread.
> 
> I agree totally! The problem is with rpm. It refuses to install a non
> i386 rpm. I have verified this by downloading the latest kernel rpm. I

If rpm is broken, why not try to upgrade rpm on top of itself?

rpm -Uvh --force rpm-4.4.2-47.el5.rpm

You will need to manually download the rpm package again.

> had to use --ignorearch flag to get rpm to install it. Now how do I get
> this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
> was to fix this. It does not work. I have tried to pass this flag
> via /root/.rpmmacros with no help. So, why do only myself apparently
> have this problem? One other item. I made *no* changes to any yum files
> after installation except the addition of (maybe) rpmforge. One kernel
> was updated around this time. My guess is the problem started around the
> update to 5.1. Anybody have any input as to why at least one person does
> not have this problem? What could he have that is different from me
> regarding yum and rpm? Reading this I apologize for the ramble.


Bob,

I wouldn't muck with any more options, try to undo the changes you
have made.

I didn't see what the rpm error was you got when you tried to
install it, did you post it to the thread?

You said you re-installed yum, how did you remove yum?

If you did a rpm -e yum, then the yum plugins may have still been left
behind. Here is the list you provided earlier:

yum-3.0.5-1.el5.centos.5
yum-cron-0.6-1.el5.centos
yum-downloadonly-1.0.4-3.el5.centos.2
yumex-2.0.3-2.el5.centos
yum-fastestmirror-1.0.4-3.el5.centos.2
yum-metadata-parser-1.0-8.fc6
yum-priorities-1.0.4-3.el5.centos.2
yum-repolist-1.0.4-3.el5.centos.2
yum-skip-broken-1.0.4-3.el5.centos.2
yum-updatesd-3.0.5-1.el5.centos.5
yum-utils-1.0.4-3.el5.centos.2
yum-versionlock-1.0.4-3.el5.centos.2

Here are the yum and plugins I have installed:

yum-3.0.5-1.el5.centos.5
yum-changelog-1.0.4-3.el5.centos.2
yum-metadata-parser-1.0-8.fc6
yum-priorities-1.0.4-3.el5.centos.2
yum-updatesd-3.0.5-1.el5.centos.5

Besides 'yum-fastestmirror' I would make sure the
others are removed and their configs cleared out
from /etc/yum/pluginconf.d unless you know you have
a real need for any of them.

The yum plugin that catches my attention is 'yum-versionlock'


> Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5
> Last kernel update. A lot of activity Oct 12-15. Possible 5.1 update
> during this period.
> 
> > Can you include the output of these commands:
> > 
> > # cat /etc/redhat-release
> > 
> > # yum list installed '*yum*'
> > 
> > # cat /etc/yum.conf
> > 
> > # cat /etc/yum.repos.d/CentOS-Base.repo
> 
> I removed yum and reinstalled then yum update yum with no help. No sense
> to include these again here.
> 
> > >From these we should be able to determine if your base installation
> > is correct.
> 
> It is *not* a yum config problem.

Can you post the rpm error you got before?

> > If it isn't a config problem then we can look at permissions and
> > network next.
> 
> See above.


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

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Peter Kjellstrom wrote:

On Monday 25 February 2008, Ross S. W. Walker wrote:
  

Lets get this fixed so we can kill this thread.



Good initiative, but since the layer beneath also fails (rpm) maybe we should 
start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.


The interesting error from RPM suggests that it thinks the machine is an i586 
(or atleast not i686).
  



indeed, lets add

   $ cat /proc/cpuinfo

to the possibly interesting info to post here... 
___

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Peter Kjellstrom
On Monday 25 February 2008, Ross S. W. Walker wrote:
> Lets get this fixed so we can kill this thread.

Good initiative, but since the layer beneath also fails (rpm) maybe we should 
start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.

The interesting error from RPM suggests that it thinks the machine is an i586 
(or atleast not i686).

/Peter

> Can you include the output of these commands:
>
> # cat /etc/redhat-release
>
> # yum list installed '*yum*'
>
> # cat /etc/yum.conf
>
> # cat /etc/yum.repos.d/CentOS-Base.repo


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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Ray Van Dolson
> I agree totally! The problem is with rpm. It refuses to install a non
> i386 rpm. I have verified this by downloading the latest kernel rpm. I
> had to use --ignorearch flag to get rpm to install it. Now how do I get
> this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
> was to fix this. It does not work. I have tried to pass this flag
> via /root/.rpmmacros with no help. So, why do only myself apparently
> have this problem? One other item. I made *no* changes to any yum files
> after installation except the addition of (maybe) rpmforge. One kernel
> was updated around this time. My guess is the problem started around the
> update to 5.1. Anybody have any input as to why at least one person does
> not have this problem? What could he have that is different from me
> regarding yum and rpm? Reading this I apologize for the ramble.
> 
> Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5
> Last kernel update. A lot of activity Oct 12-15. Possible 5.1 update
> during this period.

Well, exactarch=0 might work around this from a yum standpoint (as far
as downloading the updates), but if RPM is complaining this is beyond
the control of yum.  As someone else mentioned, taking a look at your
~/.rpmmacros file would be interesting.

Also, could you post the output of:

  rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Alfred von Campe

Bob:


I agree totally! The problem is with rpm. It refuses to install a non
i386 rpm.


What are the contents of the ~/.rpmmacros file (for root)?

Alfred

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


[CentOS] ext3 errors

2008-02-25 Thread Les Mikesell
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.


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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:

[snip]

> Bob,
> 
> Lets get this fixed so we can kill this thread.

I agree totally! The problem is with rpm. It refuses to install a non
i386 rpm. I have verified this by downloading the latest kernel rpm. I
had to use --ignorearch flag to get rpm to install it. Now how do I get
this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
was to fix this. It does not work. I have tried to pass this flag
via /root/.rpmmacros with no help. So, why do only myself apparently
have this problem? One other item. I made *no* changes to any yum files
after installation except the addition of (maybe) rpmforge. One kernel
was updated around this time. My guess is the problem started around the
update to 5.1. Anybody have any input as to why at least one person does
not have this problem? What could he have that is different from me
regarding yum and rpm? Reading this I apologize for the ramble.

Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5
Last kernel update. A lot of activity Oct 12-15. Possible 5.1 update
during this period.

> Can you include the output of these commands:
> 
> # cat /etc/redhat-release
> 
> # yum list installed '*yum*'
> 
> # cat /etc/yum.conf
> 
> # cat /etc/yum.repos.d/CentOS-Base.repo

I removed yum and reinstalled then yum update yum with no help. No sense
to include these again here.

> >From these we should be able to determine if your base installation
> is correct.

It is *not* a yum config problem.

> If it isn't a config problem then we can look at permissions and
> network next.

See above.

-- 
Bob Taylor


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


Re: [CentOS] Reg. VNC server and Windows and Centos interworking

2008-02-25 Thread Les Mikesell

Padmaja wrote:

Hi,

Thanks for your response, I could connenct to the Centos PC from Windows 
using VNC. However, I do not see the icons etc., that I see when I 
access any windows PC. I ran the command ps aux and saw there is a vnc 
process running for iconic view, but 'm not able to view the icons on 
the desktop. What should I do to get access to the GUI?




If you don't create your own /home/username/.vnc/xstartup file, 
vncserver will run twm which is a very old and unfriendly window 
manager.  You probably wan to run gnome instead.   But, as I mentioned 
before, this is going to run an independent screen.  If instead, you 
want to control the console session remotely, try 
System/Preferences/Remote Desktop from the Gnome menu and allow remote 
connections.  This will be to the :0 (default) screen.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] Major update and again no new repodata

2008-02-25 Thread Johnny Hughes

Karanbir Singh wrote:

Robert Moskowitz wrote:

Yesterday I pulled down a major update to OpenOffice.  But no updates to
repodata.


you pulled down how ?


I waited a day to see if there was some reason for the lag (like more
rpms needed to complete the set), but still today, no repodata to pull
down (my rsync looks for more recent file dates).

Help?


with what ? has the update been announced as yet ?




Please understand that there are times when we may push an update (to 
get the billion places it needs to sync to going .. a process that can 
take several hours) BEFORE we test all aspects of the package.


We do initial tests on the package (local install, compare against 
upstream) first, but we like to test some packages a bit more, 
especially if something doesn't look 100% right (even though it passed 
the quick tests).  The fact that we have the other package out there 
means that if we need to replace it, that replacement happens very fast.


We will update the metadata after all our testing is completed and we 
have sent the announement.


This sometimes results in packages without metadata, but also results in 
the fastest way we can push updates to the end user.  If you see 
packages without metadata, ignore them unless we have also announced them.


Thanks,
Johnny Hughes



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


Re: [CentOS] Reg. VNC server and Windows and Centos interworking

2008-02-25 Thread Rob Lockhart
Reply bottom-posted:

On Mon, Feb 25, 2008 at 12:52 AM, Padmaja <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Thanks for your response, I could connenct to the Centos PC from Windows
> using VNC. However, I do not see the icons etc., that I see when I access
> any windows PC. I ran the command ps aux and saw there is a vnc process
> running for iconic view, but 'm not able to view the icons on the desktop.
> What should I do to get access to the GUI?
>
> Thanks for your help,
> Padmaja
>
> - Original Message -
> From: "Les Mikesell" <[EMAIL PROTECTED]>
> To: "CentOS mailing list" 
> Sent: Monday, February 25, 2008 5:23 AM
> Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
>
>
> > Padmaja wrote:
> >> Hi,
> >>
> >> Thanks for such a fast response. I typed vncserver at the command line
> >> and it asked me for a password. It said I would require password to
> enter
> >> the desktop. I did not set any before so gave some dummy password. It
> >> again showed Verify and I typed the same password again. Then the
> screen
> >> showed something like
> >>
> >> for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup
> >> the startup applications are in /home/padmaja/.vnc/Xstartup
> >> the log file is in /home/padmaja/.vnc/sipserver.com.log
> >>
> >> After this I typed ps aux and saw that there is a Xvnc running againt
> pid
> >> 11435.
> >>
> >> Now, I tried to connect to the Centos PC from Windows using Vnc client
> >> and it gave the error
> >>
> >> "unable to connect to host: connection refused (10061)."
> >>
> >> I cant understand what the issue is. I am however able to connect to
> >> Windows PCs from VNC on windows.
> >
> >
> > Vncserver creates separate desktops for each instance and should have
> > given you a 'screen number" when you started it - probably :1 for the
> > first one.   Then you have to specify the matching screen when you
> connect
> > from the client:  hostname:1.  If you have the firewall running on
> Centos,
> > you have to permit the appropriate port in ( 5900 + screen number).  If
> > you are expecting to access the desktop running on the console you need
> a
> > different approach.  KDE and Gnome have 'screen sharing' options for the
> > running desktop.
>

You need some sort of xstartup, I believe.  I run VNC at home and it works
great, once it's set up correctly.  Not sure if this will work, it was the
first google hit (and it looks like it's set up for RHEL4):

http://www.skullbox.net/vncserver.php

I use Gnome since it's the default.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: auto seek a server

2008-02-25 Thread Jerry Geis

I am trying this command and I am getting an error of INvalid service.

avahi-publish-service MyServer  _tcp 80 "myentry at 192.168.1.8"

What is wrong with _tcp? I also tried tcp.

Jerry

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


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
> 
> On Mon, 2008-02-25 at 00:19 -0800, Ray Van Dolson wrote:
> > > I would love this. However I don't know what my IP is nor 
> how to find
> > > out. It's been too long and too much has changed.
> > 
> > Seriously?
> > 
> > ifconfig will tell you your IP address.  Or just go to
> > www.whatsmyip.org or some similar site...
> 
> Wow! Thanks Ray
> 
> > Or, just reinstall :)
> 
> I *do* have a sense of humor. :-)

Bob,

Lets get this fixed so we can kill this thread.

Can you include the output of these commands:

# cat /etc/redhat-release

# yum list installed '*yum*'

# cat /etc/yum.conf

# cat /etc/yum.repos.d/CentOS-Base.repo


>From these we should be able to determine if your base installation
is correct.

If it isn't a config problem then we can look at permissions and
network next.

-Ross

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

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


RE: [CentOS] How to speed up Rsync transfers

2008-02-25 Thread Dan Carl

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

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

Have a LVM/raid already. 
Just want to have an automated offsite backup to be on the safe side.
Have learned the hard way raid is not a subsitute for a backup.



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

Lock file sound like the way I'll go.
I'm going to stick with the hand-crafted stuff

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

Something I'll look at down the road.

> -- 
> Bill

Thanks Bill
Lots of good imformation
and thanks to all
Dan

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 00:19 -0800, Ray Van Dolson wrote:
> > I would love this. However I don't know what my IP is nor how to find
> > out. It's been too long and too much has changed.
> 
> Seriously?
> 
> ifconfig will tell you your IP address.  Or just go to
> www.whatsmyip.org or some similar site...

Wow! Thanks Ray

> Or, just reinstall :)

I *do* have a sense of humor. :-)

-- 
Bob Taylor


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


Re: [CentOS] Re: auto seek a server

2008-02-25 Thread Michael DeHaan

Jerry Geis wrote:

Jerry Geis wrote:

Hi all,

When putting multiple centos 5.1 boxes on a network (DHCP for 
network) and 1 centos 5.1 server

is there a way that these clients can automatically "seek" the server.

Is there something in centso 5.1 that an inquiry can be sent out that 
says:


Is there a "Product XYZ" on this network?
And the server - and not all the clients - can respond to this quiry.

Just wondering, trying to reduce my setup time...

Jerry



How do I set the txt part in avahi so inquiring clients might
look to the txt part for a Product name.

Is that the correct way to do it?

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


Look at the manpage for "avahi-publish-service".

--Michael


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


[CentOS] Re: auto seek a server

2008-02-25 Thread Jerry Geis

Jerry Geis wrote:

Hi all,

When putting multiple centos 5.1 boxes on a network (DHCP for network) 
and 1 centos 5.1 server

is there a way that these clients can automatically "seek" the server.

Is there something in centso 5.1 that an inquiry can be sent out that 
says:


Is there a "Product XYZ" on this network?
And the server - and not all the clients - can respond to this quiry.

Just wondering, trying to reduce my setup time...

Jerry



How do I set the txt part in avahi so inquiring clients might
look to the txt part for a Product name.

Is that the correct way to do it?

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


Re: [CentOS] auto seek a server

2008-02-25 Thread Michael DeHaan

Jerry Geis wrote:

Hi all,

When putting multiple centos 5.1 boxes on a network (DHCP for network) 
and 1 centos 5.1 server

is there a way that these clients can automatically "seek" the server.

Is there something in centso 5.1 that an inquiry can be sent out that 
says:


Is there a "Product XYZ" on this network?
And the server - and not all the clients - can respond to this quiry.

Just wondering, trying to reduce my setup time...

Jerry

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


A couple of options:

(A)  avahi/zeroconf (http://avahi.org/)
(B)  SRV records

--Michael

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


[CentOS] auto seek a server

2008-02-25 Thread Jerry Geis

Hi all,

When putting multiple centos 5.1 boxes on a network (DHCP for network) 
and 1 centos 5.1 server

is there a way that these clients can automatically "seek" the server.

Is there something in centso 5.1 that an inquiry can be sent out that says:

Is there a "Product XYZ" on this network?
And the server - and not all the clients - can respond to this quiry.

Just wondering, trying to reduce my setup time...

Jerry

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


RE: [CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Ross S. W. Walker
Johnny Hughes wrote:
> 
> Johnny Hughes wrote:
> > Tom Brown wrote:
> > > Hi
> > >
> > > If i want to add X to a system after install on CentOS 4 that would be 
> > > a yum install xorg-x11 etc
> > >
> > > This package seems to have been renamed in CentOS 5 and i wonder if 
> > > anyone can tell me what that now is please
> > >
> > 
> > yum groupinstall "X Window System"
> > 
> > and also pick the GUI that you want from:
> > 
> > "GNOME Desktop Environment"
> > 
> > or
> > 
> > "KDE (K Desktop Environment)"
> > 
> > or
> > 
> > "XFCE-4.4"
> > 
> > and add that on the end of the about groupisntall command ... like this 
> > for KDE:
> > 
> > yum groupinstall "X Window System" "KDE (K Desktop Environment)"
> 
> That can be a bit hefty on resources, I know.  However, that is how 
> Gnome or KDE or XFCE were meant to be installed.
> 
> It is certainly possible to thin down the install by doing a:
> 
> yum groupinfo ""
> 
> On each group and then only pick packages that you know you need.  That 
> does require trial and error and a very detailed knowledge of your exact 
> requirements.  If you have that knowledge, then by all means pick 
> individual packages for each group ... personally, I just use the 
> groupinstall method :)

Yes, or do a:

yum groupinstall kde-desktop|gnome-desktop

And let yum install only those X libs/tools that are dependant to get
your desktop working.

-Ross

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

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


Re: [CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Johnny Hughes

Johnny Hughes wrote:

Tom Brown wrote:

Hi

If i want to add X to a system after install on CentOS 4 that would be 
a yum install xorg-x11 etc


This package seems to have been renamed in CentOS 5 and i wonder if 
anyone can tell me what that now is please




yum groupinstall "X Window System"

and also pick the GUI that you want from:

"GNOME Desktop Environment"

or

"KDE (K Desktop Environment)"

or

"XFCE-4.4"

and add that on the end of the about groupisntall command ... like this 
for KDE:


yum groupinstall "X Window System" "KDE (K Desktop Environment)"


That can be a bit hefty on resources, I know.  However, that is how 
Gnome or KDE or XFCE were meant to be installed.


It is certainly possible to thin down the install by doing a:

yum groupinfo ""

On each group and then only pick packages that you know you need.  That 
does require trial and error and a very detailed knowledge of your exact 
requirements.  If you have that knowledge, then by all means pick 
individual packages for each group ... personally, I just use the 
groupinstall method :)




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


Re: [CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Johnny Hughes

Tom Brown wrote:

Hi

If i want to add X to a system after install on CentOS 4 that would be a 
yum install xorg-x11 etc


This package seems to have been renamed in CentOS 5 and i wonder if 
anyone can tell me what that now is please




yum groupinstall "X Window System"

and also pick the GUI that you want from:

"GNOME Desktop Environment"

or

"KDE (K Desktop Environment)"

or

"XFCE-4.4"

and add that on the end of the about groupisntall command ... like this 
for KDE:


yum groupinstall "X Window System" "KDE (K Desktop Environment)"



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


RE: [CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Ross S. W. Walker
Tom Brown wrote:
> 
> Hi
> 
> If i want to add X to a system after install on CentOS 4 that 
> would be a 
> yum install xorg-x11 etc
> 
> This package seems to have been renamed in CentOS 5 and i wonder if 
> anyone can tell me what that now is please

yum groupinstall base-x

-Ross

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

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


Re: [CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Jim Perrin
On Mon, Feb 25, 2008 at 10:45 AM, Tom Brown <[EMAIL PROTECTED]> wrote:
> Hi
>
>  If i want to add X to a system after install on CentOS 4 that would be a
>  yum install xorg-x11 etc
>
>  This package seems to have been renamed in CentOS 5 and i wonder if
>  anyone can tell me what that now is please


run the following command with the quotes: yum groupinfo 'X Window System'

This will show you all the packages in that group, which are likely
what you need. If you want, you can simply install that group.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.1 - equivalent of xorg-x11 ?

2008-02-25 Thread Tom Brown

Hi

If i want to add X to a system after install on CentOS 4 that would be a 
yum install xorg-x11 etc


This package seems to have been renamed in CentOS 5 and i wonder if 
anyone can tell me what that now is please


thanks

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


[CentOS] Re: Internet Load Balancing and Failover

2008-02-25 Thread Ugo Bellavance

Shawn Everett wrote:

Hi All,

Does anyone have any experience connecting two or more DSL/Cable modems to 
a Linux box to provide load balancing and failover?


I've done some googling and found a few resources but very few solid 
experiences.


I'm trying to optimize my LAN->Internet traffic for a bunch of 
workstations.


I'd suggest using PfSense for that.  It is based on FreeBSD, but using 
OpenBSD's PF as packet filter.  Commercial grade features in this free 
firewall, definitely a lot easier to configure and maintain than a linux 
box for this kind of tasks.


Regards,

Ugo

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


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Ray Van Dolson
> > Something is missing.  It's probably something very simple.  I still
> > think you should let someone log in as root into your box and figure it
> > out for you. :)
> 
> That was the dumbest piece of advice so far.
> 

Get a sense of humor.

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


[CentOS] CentOS-announce Digest, Vol 36, Issue 12

2008-02-25 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

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


Today's Topics:

   1. CESA-2008:0134 Moderate CentOS 3 i386 tcltk - security update
  (Tru Huynh)
   2. CESA-2008:0134 Moderate CentOS 3 x86_64 tcltk -   security
  update (Tru Huynh)


--

Message: 1
Date: Sun, 24 Feb 2008 22:38:26 +0100
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0134 Moderate CentOS 3 i386 tcltk
-   security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2008:0134

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

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

i386:
updates/i386/RPMS/expect-5.38.0-92.8.i386.rpm
updates/i386/RPMS/expect-devel-5.38.0-92.8.i386.rpm
updates/i386/RPMS/itcl-3.2-92.8.i386.rpm
updates/i386/RPMS/tcl-8.3.5-92.8.i386.rpm
updates/i386/RPMS/tcl-devel-8.3.5-92.8.i386.rpm
updates/i386/RPMS/tclx-8.3-92.8.i386.rpm
updates/i386/RPMS/tix-8.1.4-92.8.i386.rpm
updates/i386/RPMS/tk-8.3.5-92.8.i386.rpm
updates/i386/RPMS/tk-devel-8.3.5-92.8.i386.rpm

addons/i386/RPMS/expectk-5.38.0-92.8.i386.rpm
addons/i386/RPMS/tcl-html-8.3.5-92.8.i386.rpm
addons/i386/RPMS/tcllib-1.3-92.8.i386.rpm

source:
updates/SRPMS/tcltk-8.3.5-92.8.src.rpm

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

yum update 

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

--

Message: 2
Date: Sun, 24 Feb 2008 22:41:47 +0100
From: Tru Huynh <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0134 Moderate CentOS 3 x86_64
tcltk - security update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

CentOS Errata and Security Advisory CESA-2008:0134

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

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

x86_64:
updates/x86_64/RPMS/expect-5.38.0-92.8.x86_64.rpm
updates/x86_64/RPMS/expect-devel-5.38.0-92.8.x86_64.rpm
updates/x86_64/RPMS/itcl-3.2-92.8.x86_64.rpm
updates/x86_64/RPMS/tcl-8.3.5-92.8.i386.rpm
updates/x86_64/RPMS/tcl-8.3.5-92.8.x86_64.rpm
updates/x86_64/RPMS/tcl-devel-8.3.5-92.8.x86_64.rpm
updates/x86_64/RPMS/tclx-8.3-92.8.i386.rpm
updates/x86_64/RPMS/tclx-8.3-92.8.x86_64.rpm
updates/x86_64/RPMS/tix-8.1.4-92.8.x86_64.rpm
updates/x86_64/RPMS/tk-8.3.5-92.8.i386.rpm
updates/x86_64/RPMS/tk-8.3.5-92.8.x86_64.rpm
updates/x86_64/RPMS/tk-devel-8.3.5-92.8.x86_64.rpm

addons/x86_64/RPMS/expectk-5.38.0-92.8.x86_64.rpm
addons/x86_64/RPMS/tcl-html-8.3.5-92.8.x86_64.rpm
addons/x86_64/RPMS/tcllib-1.3-92.8.x86_64.rpm

source:
updates/SRPMS/tcltk-8.3.5-92.8.src.rpm

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

yum update 

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

--

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


End of CentOS-announce Digest, Vol 36, Issue 12
***
___
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] CentOS serial questions (Hyperterminal equiv and connecting to server via Hyperterminal)

2008-02-25 Thread John R Pierce

Tim Verhoeven wrote:

If the server has any remote management features then you probably
will have things like console redirection, BMC/IPMI, remote console,
... but they are platform specific so look at the manual for that
server and see what is available. They usualy do provde a way to
redirect almost all output to a serial port.
  


usuually that stuff works best over ethernet, however.   tcp/ip web 
based console.   just be sure to secure it before hooking it up to the 
public internet.


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


Re: [CentOS] CentOS serial questions (Hyperterminal equiv and connecting to server via Hyperterminal)

2008-02-25 Thread Tim Verhoeven
On Sun, Feb 24, 2008 at 5:36 PM, Rogelio <[EMAIL PROTECTED]> wrote:
> I have two serial-related questions
>
> (1) What is the CentOS (or *nix) equivalent of Hyperterminal in Windows?
> Sometimes I'm on a CentOS box and need to, say, console into a Cisco or
> something.

Besides minicom there is also a GUI terminal app called gtkterm.

> (2) I have a CentOS server that I may need to transport somewhere and will
> most likely *not* want to carry around the monitor. Where should I look in
> connecting to my server via a serial connection?
>
> (I'm more on the network end of things, and am hoping for a nudge in the
> right direction on these two questions)

You basicaly have 2 options. If the server has a normal standard
serial port you can setup a tty on that serial port. Once the machines
has booted then you can login on the serial port.

If the server has any remote management features then you probably
will have things like console redirection, BMC/IPMI, remote console,
... but they are platform specific so look at the manual for that
server and see what is available. They usualy do provde a way to
redirect almost all output to a serial port.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Ray Van Dolson
> > Something is missing.  It's probably something very simple.  I still
> > think you should let someone log in as root into your box and figure it
> > out for you. :)
> 
> I would love this. However I don't know what my IP is nor how to find
> out. It's been too long and too much has changed.

Seriously?

ifconfig will tell you your IP address.  Or just go to
www.whatsmyip.org or some similar site...

Or, just reinstall :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Sun, 2008-02-24 at 22:55 -0800, Ray Van Dolson wrote:

[snip]

> Mine reports the same as yours and I have no problem updating kernels.

Sigh! So I have the same problem with rpm? It rejects installing an i686
rpm.

[snip]

> Something is missing.  It's probably something very simple.  I still
> think you should let someone log in as root into your box and figure it
> out for you. :)

I would love this. However I don't know what my IP is nor how to find
out. It's been too long and too much has changed.

-- 
Bob Taylor


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