Re: [CentOS] missing email

2012-01-09 Thread m . roth
I *loathe* dnsorbs Maybe this one will get through its crap. Maybe if
I add a few more words

John R. Dennison wrote:
 On Mon, Jan 09, 2012 at 12:49:31PM -0500, m.r...@5-cent.us wrote:
 I haven't gotten anything from the list since my email of 09:34 EST. Do
I have a problem, or is the list quiet?

 Please cc me offlist, if this goes through.

 I hope you get 20,000 replies :)

Nope, jes' one, so far.
snip
 You _could_ just have checked the archive.

Actually, I went to the archives, and at least saw something from *sigh*
Bennett that was dated 12:34 or so today; that was why I asked. Dunno if
someone (NOT my hosting co - I don't have any filtering turned on) is
delaying, or filtering, or if I'd been dropped for some reason, or

Thanks, though.

   mark



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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
John R Pierce wrote:
 On 01/09/12 6:09 AM, John Doe wrote:
 Works fine here...
 On some PCs/servers the key is sdb...

 the days of relying on /dev/sd? are long past.

Heh. See the point of a related thread, where mkswap -L did. not. work. No
label...

 'scsi' devices renumber themselves on every boot. case in point,

So we use labels. I *loathe* UUIDs. Quick, tell my yours on one system
without looking (as would be the case if the drive crashed).
snip
I've even labelled software RAID partitions.

   mark


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


Re: [CentOS] centos6.2, parted and alignment

2012-01-09 Thread m . roth
John R Pierce wrote:
 I have a large raid (lsi megaraid sas2 9261-8i card) and when I use
 parted to initialize it as the one big partition I want, it gives me a
 warning.
snip
  # parted -a optimal /dev/sda mkpart primary 128s -1s
  Warning: You requested a partition from 65.5kB to 81.0TB.
  The closest location we can manage is 65.5kB to 81.0TB.
  Is this still acceptable to you?
  Yes/No? yes
  Warning: The resulting partition is not properly aligned for best
 performance.
  Ignore/Cancel? i
  Information: You may need to update /etc/fstab.
snip
If *anyone* has the answer to this, I want to know. Or maybe we should
just file a bug against parted, which ABSOLUTELY, POSITIVELY does *not*
want to a) align it for best performance, or b) *TELL* you what you need
to align it.

Using gparted (GUIs, why did it have to be GUIs), you at least don't get
that idiot warning.

  mark

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


Re: [CentOS] missing email

2012-01-09 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 01/09/2012 07:31 PM, m.r...@5-cent.us wrote:
 I *loathe* dnsorbs Maybe this one will get through its crap. Maybe
 if I add a few more words

 John R. Dennison wrote:
 On Mon, Jan 09, 2012 at 12:49:31PM -0500, m.r...@5-cent.us wrote:
 I haven't gotten anything from the list since my email of 09:34 EST.
 Do I have a problem, or is the list quiet?
snip
 You _could_ just have checked the archive.

 Actually, I went to the archives, and at least saw something from *sigh*
 Bennett that was dated 12:34 or so today; that was why I asked. Dunno if
 someone (NOT my hosting co - I don't have any filtering turned on) is
 delaying, or filtering, or if I'd been dropped for some reason, or

 I have seen few times when several replies came 2-3 hours before the
 original thread starter. I think Grey-listing could be responsible.

Yeah, but grey-listing *outbound*?

#include indignant.h
Or were you suggesting my email was grey-listed?

   mark actually, my cloak is green, not grey

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
John R Pierce wrote:
 On 01/09/12 10:33 AM, m.r...@5-cent.us wrote:
 So we use labels. I*loathe*  UUIDs. Quick, tell my yours on one system
 without looking (as would be the case if the drive crashed).

 from my rescue environment, I'd use:  xfs_admin -u /dev/
 (or the somewhat messier ext? equiv)

 labels get messy too, when you have 27 systems and a half dozen file
 systems each.  you want your labels globally unique so if you plug a
 volume into another system for repair there's no collisions.   our

They are? I dunno - ours are labelled where they're intended to be
mounted, like / or /boot

 hostnames tend to be messy and nearly as unreadable as a uuid, so
 embedding them in a label wouldn't actually be much help.

Oh, you're in one of *those* places This machine was bought under
this account, and is part of this project, and there's 1-4 char
abbreviations for each, and .
snip
 mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
Les Mikesell wrote:
 On Mon, Jan 9, 2012 at 1:11 PM,  m.r...@5-cent.us wrote:

 labels get messy too, when you have 27 systems and a half dozen file
 systems each.  you want your labels globally unique so if you plug a
 volume into another system for repair there's no collisions.   our

 They are? I dunno - ours are labelled where they're intended to be
 mounted, like / or /boot

 On which machine?  Don't you ever move drives around?  Things can get
 ugly with duplicate labels even if the reason you added a used disk
 was just to reformat it and reuse as a different mount.

On all of them. They should be running the same o/s. Move them around? No,
not unless we're replacing one that's either failed, or too small. And
with hostname and IP via dhcp, there's only a few things to worry about,
such as if it's an h/a or HPC cluster member, or backups, home directory
server, whatever.

mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
John R Pierce wrote:
 On 01/09/12 11:11 AM, m.r...@5-cent.us wrote:
 They are? I dunno - ours are labelled where they're intended to be
 mounted, like / or /boot

 don't plug one of those into a different system for repair or you'll
 have all kinda grief.   $HOSTNAME_root would be the sane way to do it...

I'm trying to figure out why I'd plug one into a different system for
repair. Either the drive's bad, or I'm re-embodying a server that died,
but left good drives. If it's going bad, the *only* thing I'm going to do
is plug it into a hot-swap bay (just about all of ours have those, love
them) to recover some data, then wipe it.

 hostnames tend to be messy and nearly as unreadable as a uuid, so
 embedding them in a label wouldn't actually be much help.
 Oh, you're in one of *those* places This machine was bought under
 this account, and is part of this project, and there's 1-4 char
 abbreviations for each, and .

 well, $job is at a large multinational...  company standardized
 hostnames start with a 3 letter site prefix, then -S for server, then a
 6 digit department ID, then -nnn as a server ID within that group.
 fug-ly. projects are too transient and servers tend to bounce around
 between physical and virtual over their life cycle.

Exactly what I was implying. Been there, but mostly in smaller groups, so
we could name our own.

   mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
Again, I *HATE* dnsorbs This was bounced, which makes twice today.
snip more text, add a few more words, we'll see if this makes it.

John R Pierce wrote:
 On 01/09/12 12:05 PM, m.r...@5-cent.us wrote:
 John R Pierce wrote:
   On 01/09/12 11:11 AM,m.r...@5-cent.us  wrote:
   They are? I dunno - ours are labelled where they're intended to
be mounted, like / or /boot
 
   don't plug one of those into a different system for repair or
you'll have all kinda grief.   $HOSTNAME_root would be the sane way
to do
 it...
 
 I'm trying to figure out why I'd plug one into a different system for
repair. Either the drive's bad, or I'm re-embodying a server that died,
but left good drives. If it's going bad, the*only*  thing I'm going to
do is plug it into a hot-swap bay (just about all of ours have those,
love them) to recover some data, then wipe it.

 exactly. and if you put that drive in a hotswap bay of another system
 that is using the same label, thats a potential for a big mess.   same
snip
Why? If I shove it into another system, I'm *not* rebooting using it, just
putting it into a spare bay; then I'll mount /dev/sdwhatever /mnt.

No problem.

But this thread's gotten way OT: *does* anyone have any idea what the .img
file is that the running o/s from install.img is looking for, after the
partitioning, when it's ready to install?

 mark



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


Re: [CentOS] missing email

2012-01-09 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 01/09/2012 07:43 PM, m.r...@5-cent.us wrote:
 Ljubomir Ljubojevic wrote:
 John R. Dennison wrote:
 On Mon, Jan 09, 2012 at 12:49:31PM -0500, m.r...@5-cent.us wrote:
 I haven't gotten anything from the list since my email of 09:34 EST.
 Do I have a problem, or is the list quiet?
snip
 someone (NOT my hosting co - I don't have any filtering turned on) is
 delaying, or filtering, or if I'd been dropped for some reason, or

 I have seen few times when several replies came 2-3 hours before the
 original thread starter. I think Grey-listing could be responsible.

 Yeah, but grey-listing *outbound*?

 #includeindignant.h
 Or were you suggesting my email was grey-listed?

 I am officially confused. You said you were not *receiving* *any* mails
 from the list. So my assumption was inbound mail from mailing list to
 you. That is what happened to me.

Right. And I get my email from this list during the day via wegmail, and
my email is on hosting I pay for, not my ISP's server, and I don't have
filtering enabled in any way. (Great, now all the spammers reading this
list will offer me pills to enlarge and/or firm up some portion of my
anatomy or wallet) Therefore, I don't understand where the greylisting
you're suggesting would occur, unless it's on the CentOS host.

mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
John R Pierce wrote:
 On 01/09/12 12:31 PM, m.r...@5-cent.us wrote:
 Again, I*HATE*  dnsorbs This was bounced, which makes twice today.
 snip  more text, add a few more words, we'll see if this makes it.

 your email is being relayed through 66.147.249.253
 (oproxy4-pub.bluehost.com) which appears on several spam lists, for
 instance, sorbs says 100s of spams have been sent from that host in the
 past interval.

 you want to use a spammer-friendly service as your mail server, expect
 to be treated as a spammer and blocked by admins tired of the deluge..

Let's go through this again - we did it months ago. My site is hosted by
hostmonster, which also operates as bluehost. They are a *large* provider,
with hundreds of thousands of domains, and the email from all of them go
through their (few) email servers. Therefore, when 100 or so of them
running WinBlows get their hosts infected, and they send out spam, and the
hosting provider hasn't caught them yet, hundreds of thousands of the rest
of us get hit with the same block.

Who here is *not* using a work email? Who here posts from their own
hosting site? Has this ever happened to you?

mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
John R Pierce wrote:
 On 01/09/12 1:13 PM, m.r...@5-cent.us wrote:
 Let's go through this again - we did it months ago. My site is hosted by
 hostmonster, which also operates as bluehost. They are a*large*
 provider,
 with hundreds of thousands of domains, and the email from all of them go
 through their (few) email servers. Therefore, when 100 or so of them
 running WinBlows get their hosts infected, and they send out spam, and
 the hosting provider hasn't caught them yet, hundreds of thousands of the
 rest of us get hit with the same block.

 Thats a BS excuse.  gmail has MILLIONS more users than bluehost, yet
 doesn't seem to ever be used to relay spam.  Why?  they are proactive
 rather than reactive.  Bluehost is a cutrate provider who only reacts
 when forced, or this wouldn't keep recurring over and over again.

Ok, fine. Find me a hosting provider with similar rates - I don't have a
commercial site - and then get my money refunded that I've prepaid, and
the move of my stuff.

And I resent you suggesting that I chose them without doing due
dilligence, without getting a recommendations for hosting providers from
friends, some of whom have been online a *very* long time.

I should jump every time a provider falls behind? And no, I will NOT go to
gmail - when I use pop-3 and delete, I want it *GONE* forever off the
server.

   mark

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


Re: [CentOS] USB install annoyances

2012-01-09 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 01/09/2012 10:13 PM, m.r...@5-cent.us wrote:
snip
 Who here is *not* using a work email? Who here posts from their own
 hosting site? Has this ever happened to you?

 I own my own domain/server/subnet. My WISP customers can only send mail
 via my server, with all the prevention's I could think of. I have never
 been hit with this (but I do have small customer base), but I have had
 regular domains (like one local Bank!!!) blocked to deliver to my server
 because they do not have proper FQDN.

As I noted in another email, I don't have a commercial site. Buying a
static IP from Verizon, to run a server from home, is a *lot* more
expensive than just a 'Net connection and an inexpensive hosting provider.

  mark

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


[CentOS] Was Re: USB install annoyances, is, OT, hosting providers

2012-01-09 Thread m . roth
I've changed the subject line. It has nothing to do with my question with
my original post, that no one seems to have any answer to, what file
image# 1 is looking for.

This bloody email has now been blocked *twice*.

Ljubomir Ljubojevic wrote:
 On 01/09/2012 10:43 PM, m.r...@5-cent.us wrote:
 Ljubomir Ljubojevic wrote:
 On 01/09/2012 10:13 PM, m.r...@5-cent.us wrote:
 snip
 Who here is *not* using a work email? Who here posts from their own
hosting site? Has this ever happened to you?

 I own my own domain/server/subnet. My WISP customers can only send mail

So, you're your own hosting, as well as personal, provider.
 via my server, with all the prevention's I could think of. I have
never been hit with this (but I do have small customer base), but I have
had regular domains (like one local Bank!!!) blocked to deliver to my
server because they do not have proper FQDN.

Please - I can't email some of my Congresscritters or Senators, here in
the US, because the idiot who's in charge of the Congress' webservers
hasn't discovered that top-level country codes exist and are valid.

 As I noted in another email, I don't have a commercial site. Buying a
static IP from Verizon, to run a server from home, is a *lot* more
expensive than just a 'Net connection and an inexpensive hosting
provider.

 It is OK. You asked who, and I answered, that is all. If I was not on
the semi-reliable 150Km Wireless link, I would be able to provide
quality service.

I appreciate your response. There's also a slight distance... and I figure
that the CIA and the FBI would have the successor to Carnivore staring at
my every email if I used you as a hosting provider. g

 Believe it or not, I am one of the *very* *very* rare hosting providers
in Serbia (local mostly) that provide SSL POP3/SMTP connection via port
995 and 465. There is maybe one or two providers on 7 million citizens.

 And yes, I forgot to write about reverse DNS, I have that too.

You're doing a really professional job. There's way too many over here who
don't have a clue, other than I'll get rich!!!

mark





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


Re: [CentOS] Was Re: USB install annoyances, is, OT, hosting providers

2012-01-09 Thread m . roth
Craig White wrote:

 On Jan 9, 2012, at 3:05 PM, m.r...@5-cent.us wrote:

 I've changed the subject line. It has nothing to do with my question
 with my original post, that no one seems to have any answer to, what file
 image# 1 is looking for.

 This bloody email has now been blocked *twice*.
 
 quite simply, it's obviously the methodology that you use to send e-mail
 and that may very well include 3rd parties.

What third parties? 5-cent.us is hosted, as I said, and you seem to
ignore, on hostmonster. The same company is also bluehost - they are one
and the same: I assume there was a merger a few years back. They funnel
all their email through a few mailhosts for the entire hosting provider.
*THAT* is what's being blocked.

I've argued before that blocks should be by source - actual source, the
oldest Received-From, not from the last mailer. I think that would a)
get the hosts/virtual hosts send out the spam, not the last email host,
*and* would block the crap sent out that fraudulently puts in Reply-to:
with other folks' email (I'm really not sending all that spam to addresses
in the Netherlands or Italy).

 you can choose to fix it or continue to suffer the vagaries that are
 apparent in your methods to get an e-mail to the intended target - it's
 your choice. Of course this is not the first time you've complained on the
 same topic and the cause is still the same.

Yeah. And I've said all along that I don't like dnsorbs, due to what I
consider a bad methodology. I am *NOT* going to jump hosting providers
every time this happens.

Unless, of course, you have a good-sized hosting provider in the US who
charges inexpensive rates for domain hosting that has *NEVER* been
blocked.

mark


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


Re: [CentOS] bug submission justified for distribution of obsolete java software?

2012-01-10 Thread m . roth
e-letter wrote:
 Readers,

 Would someone advise whether the distribution of an obsolete version
 of java should be reported as a bug;
 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=827

One *could* argue that Java is a bug, being a) so error-prone, b) so
vulnerable to attack, and c) so huge and slow, and shouldn't be
allowed

mark java; why did it have to be java?

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


Re: [CentOS] defense-in-depth possible for sshd?

2012-01-10 Thread m . roth
John Doe wrote:
 From: Bennett Haselton benn...@peacefire.org

 On 1/10/2012 5:16 AM, John Doe wrote:
  The sshd child is running as bob; so it has bob (and not root)
 rights...

 Yes, I understand that.  What I said was that if you could take complete
 control of the sshd process you were connecting to, even if that process
 was completely unprivileged, you could still make it say Accept a login
 from 'root' with password 'foo' and then log in as root.

 How would your bob owned child sshd take complete control of the
 parent root owned sshd...?

I have not read the details of any given exploit, but as I understand it,
if one can craft an exploit that breaks in the middle of the login, the
child would die, leaving one in the parent (root) process.

   mark

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


Re: [CentOS] bug submission justified for distribution of obsolete java software?

2012-01-10 Thread m . roth
Les Mikesell wrote:
 On Tue, Jan 10, 2012 at 8:47 AM,  m.r...@5-cent.us wrote:

 Would someone advise whether the distribution of an obsolete version
 of java should be reported as a bug;
 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=827

 One *could* argue that Java is a bug, being a) so error-prone, b) so
 vulnerable to attack, and c) so huge and slow, and shouldn't be
 allowed

 But you'd be wrong on all counts.  I'd argue the opposite - that you
 should only be allowed to use languages that work across CPU types and
 OS's so as to never be locked into a monopolistic single vendor.

No, I wouldn't. You argue wrongly. For one, by your first sentence, you
deny all of my arguments, with no reasons for that denial. As someone
who's worked more as a programmer than an admin, and both for a long time,
in a lot of languages, I see almost all java programs as huge. I also know
that *if* you write your code correctly, the code will compile and run on
pretty much anything, unless you're writing windowing-system specific
stuff.

Then there's java, that in everything I read from the mid-nineties through
the mid-oughts, was presented as being free from memory errors, etc, etc,
but as one huge counter-example, just about every time I see a tomcat app
crash, the stack traces are 150-200 calls deep, and there are, indeed,
memory errors.

Further, it's nothing more than a re-imagining (as they say) of Pascal
p-code (quick: what other language besides java used the command
writeln?). The difference between recompile and run on a vm that's
compiled for that machine is? Oh, right, it is, in effect, another layer
that sits on top of the o/s, like a pseudo-os, or windowing system.

I can go on... but I really need to get around to writing my article to be
entitled, The Failure of OOP in General, and Java in Particular.

  mark

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


Re: [CentOS] USB install annoyances (not OT)

2012-01-10 Thread m . roth
I've retried again, and it still fails. I see that it's mounted /dev/sda2,
which is where I've got the contents of a DVD, as /mnt/isolinux. The
contents of that are:
ls -a
.GPLTRANS.TBL
..   Packages   images
.discinfoRELEASE-NOTES-en-US.html   isolinux
.treeinfoRPM-GPG-KEY-CentOS-6   lost+found
CentOS_BuildTag  RPM-GPG-KEY-CentOS-Debug-6 repodata
EFI  RPM-GPG-KEY-CentOS-Security-6
EULA RPM-GPG-KEY-CentOS-Testing-6

I've tried mounting /dev/sda2 on a new mountpoint, and both ln -s isolinux
and images to /mnt/isolinux, and neither was accepted. Does anyone have
any idea at all what the thing is looking for?

   mark

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


Re: [CentOS] bug submission justified for distribution of obsolete java software?

2012-01-10 Thread m . roth
Les Mikesell wrote:
 On Tue, Jan 10, 2012 at 10:17 AM, Giles Coochey gi...@coochey.net wrote:

 But you'd be wrong on all counts.  I'd argue the opposite - that you
 should only be allowed to use languages that work across CPU types and
 OS's so as to never be locked into a monopolistic single vendor.

 So if I were to develop a CPU type and/or OS that didn't support Java
 then you would lock yourself out of the very language you appear to
 advocate?

 Being locked out of some oddball thing is not at all the same
 situation as being locked into what only a single vendor provides. But
 try something like 'jenkins'  (http://jenkins-ci.org/) with an
 assortment of cross-platform nodes to get the idea of how handy a
 language with remoting across many platforms can be.  It's painless to
 install try, even if you only use it on a single box.

I have a one-word answer: perl. A longer answer - are you suggesting
system admin chores being done using some kind of java monstrosity? I
mean, I don't remember what Spacewalk's written in, but it was a very
large pain, and if it's not in java, then the java version would be a
*lot* worse.

mark

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


Re: [CentOS] USB install annoyances (not OT)

2012-01-10 Thread m . roth
John Doe wrote:
 From: m.r...@5-cent.us m.r...@5-cent.us

 I've retried again, and it still fails. I see that it's mounted
 /dev/sda2, which is where I've got the contents of a DVD, as
/mnt/isolinux.

 Unless you specifically need the DVD contents, maybe try with
 the ISOs instead...

This doesn't vaguely answer my question. The install.img mounted the
partition, by itself, as /mnt/isolinux. That's what *IT* did. I thought I
had the partition as a clone of the dvd by mount -o loop and rsync.

But I've just rebuilt the USB key partition from the latest 2 DVDs we have
locally (I rsync'd Pagckages/. from the second one into the Packages
directory I made when I rsync'd the first DVD, so it should look like a
one-disk DVD. As soon as that finishes, I'll try another time

Unless someone has the explicit answer to what is the image, or directory,
the install.img wants to mount to get the repo, please don't reply.

mark

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


Re: [CentOS] bug submission justified for distribution of obsolete java software?

2012-01-10 Thread m . roth
Les Mikesell wrote:
 On Tue, Jan 10, 2012 at 10:32 AM,  m.r...@5-cent.us wrote:

 Would someone advise whether the distribution of an obsolete version
 of java should be reported as a bug;
 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=827

 One *could* argue that Java is a bug, being a) so error-prone, b) so
 vulnerable to attack, and c) so huge and slow, and shouldn't be
 allowed

 But you'd be wrong on all counts.  I'd argue the opposite - that you
 should only be allowed to use languages that work across CPU types and
 OS's so as to never be locked into a monopolistic single vendor.

 No, I wouldn't. You argue wrongly. For one, by your first sentence, you
 deny all of my arguments, with no reasons for that denial.

 The reasons are obvious.  Java is common on phones, so there goes the
 'huge' argument.  OpenNMS can monitor thousands of nodes, so it's not

Really? And how much memory is in them? And is it optimized for the
phones? Is it a subset of the full JVM?

 slow.   It's not more or less vulnerable to attack than anything else,
 so why even mention it?

Based on the reports, more vulnerable. And every bloody java app I've had
to deal with ranges from acceptable to slwww.

 As someone who's worked more as a programmer than an admin, and both
 for a long time, in a lot of languages, I see almost all java
 programs as huge.
snip
 I also know that *if* you write your code correctly, the code will
 compile and run on pretty much anything, unless you're writing
 windowing-system specific stuff.

 That's if you know every quirk of every target system - and have all
 the associated compilers, and take the time to compile on all of them.

Hah. You mean like gcc, that runs on everything I've ever heard of?

 Then there's java, that in everything I read from the mid-nineties
 through the mid-oughts, was presented as being free from memory
 errors, etc, etc, but as one huge counter-example, just about every
 time I see a tomcat app crash, the stack traces are 150-200 calls
 deep, and there are, indeed, memory errors.

 You can write badly in any language, can't you?   And why bring up old
 versions?   You can take just about anything you were running in the

Old versions? Only if you want to call crashes last year, on the current
openjdk or Sun java on an updated CentOS old.

 90's up to maybe a few months ago and realize now that it had horrible
 bugs.  Unless maybe it was written by Donald Knuth...

I dunno 'bout that. A lot of the C code or the perl, esp. if I, or people
I respected based on evidence had anything to do with, did maintenance on
it, didn't have more bugs than crap written today. (Btw, have you seen the
report today on slashdot, about the FBI's Sentinel case management system,
that LockMart was writing using Agile methodology, is way behind and
delayed again...?)

 Further, it's nothing more than a re-imagining (as they say) of Pascal
 p-code (quick: what other language besides java used the command
 writeln?).

 That's a good thing, now that (a) processes are fast enough that you
 don't care about the interpreter speed and (b) there are techniques to
 use native libraries anywhere it does matter.

Sorry, but I've run into a lot of sites that are dog-slow, and it's *not*
my connection.

 The difference between recompile and run on a vm that's
 compiled for that machine is? Oh, right, it is, in effect, another layer
 that sits on top of the o/s, like a pseudo-os, or windowing system.

 Yes, if you don't like language abstractions you could code in
 assembly for a particular CPU.

That's a non-sequiteur. All compilers can do that... but except for things
like device drivers, very few folks have ever touched assembly.

 I can go on... but I really need to get around to writing my article to
 be entitled, The Failure of OOP in General, and Java in Particular.

 There's something to be said for functional programming and message
 passing  instead of objects in these days of distributed and multi-cpu
 systems, but nobody really thinks that way.

A friend who worked for (was it ArcInfo? Or Autocad?) back in the late
seventies, or maybe it was early eighties, told me they were early
adopters of OOP, and they had an orientation talk, and were handed cheat
sheets: method == function, message passing == parameter passing, etc.

  mark

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


Re: [CentOS] Upgrade Question

2012-01-10 Thread m . roth
Gene Poole wrote:
 We've got about 200 existing servers running CentOS/RHEL 5.6 and all new
 servers are being provisioned using CentOS/RHEL 6.1.  So that everything
 is consistent we need to upgrade the servers running CentOS/RHEL 5.6. I've
 searched the CentOS wiki, the Red Hat site, and the internet  looking for
 something official on upgrading/migrating from CentOS/RHEL 5.x to
 CentOS/RHEL 6.x.  There's got to be a way other than having 2 times
 hardware.

 Any ideas???

What we do is build one, then create /boot/new and /new on the next
server, rsync over to them, then mkdir /boot/old and /old, and (using zsh
with modules loaded) mv * old, mv old/lost+found ., mv old/new/* ., make
sure a few things are correct (for example, ifcfg-eth*, /etc/ssh/), and
sync, then reboot. All your other stuff is fine

  mark

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


Re: [CentOS] USB install annoyances

2012-01-10 Thread m . roth
Darr247 wrote:
 But this thread's gotten way OT: *does* anyone have any
 idea what the .img file is that the running o/s from install.img
 is looking for, after the partitioning, when it's ready to install?

 Possibly, but without the info I previously requested, I won't be
 trying to reproduce the problem.

 e.g.
 the source file[s] and command[s] used to make your bootable USB stick.

I started by listing that:
1. I have a partitioned USB stick, 8G, with a 10M FAT32 partition, and the
rest as ext3.
2. Rsync'd isolinux to the FAT partition, renamed isolinux.cfg to
syslinux.cfg
3. syslinux to the USB
4. mounted DVD.iso, and rsync'd all of that to the ext3 partition.
5. mounted the second DVD, and rsync'd Packages/* to the Packages
directory already there, and so have a 1 DVD, effectively, on the USB.

But the question is what image# 1 that it's looking for? It's not trying
to look on the USB for an .iso, is it?

mark


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


Re: [CentOS] USB install annoyances (not OT)

2012-01-10 Thread m . roth
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
 Behalf Of m.r...@5-cent.us
 John Doe wrote:
  From: m.r...@5-cent.us m.r...@5-cent.us
 
  I've retried again, and it still fails. I see that it's mounted
  /dev/sda2, which is where I've got the contents of a DVD, as
 /mnt/isolinux.
 
  Unless you specifically need the DVD contents, maybe try with
  the ISOs instead...

 This doesn't vaguely answer my question.
snip
  From what I recall: you can
* boot the USB
* layout and format the disks (we assume using anaconda)
   And when you  get towards package selection, anaconda fails indicating
 ' that it can't find image# 1.'

 The image# 1 it is looking for is the .iso which could have been burnt
 to a DVD for doing the install, i.e., not something from the images
 directory from THAT iso.

 As RHEL6 anaconda derives from something post the rawhide that I
 submitted the following bug on, it may help you understand.
 https://bugzilla.redhat.com/show_bug.cgi?id=435976

 summary: anaconda will not trust any mounted file system for the rpm's
 to install, it only trusts media images and http.

So you're saying that the second partition has to actually hold a .iso,
*not* the contents?

Augh!

Well, I'll delete the contents of the filesystem, and rsync the .iso, and
try again. I *did* note, this last time (I thought I'd found something
else), that the popup window said iso 9660

Thanks!

 mark

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


Re: [CentOS] USB install annoyances (not OT)[SOLVED]

2012-01-10 Thread m . roth
Yet another denial - it's as though it's also blocking me based on the
relationship of included text vs. new text.

blah, blah, blah. Let's see if this is enough new text to get through.

Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
 Behalf Of m.r...@5-cent.us
snip
  I've retried again, and it still fails. I see that it's mounted
/dev/sda2, which is where I've got the contents of a DVD, as
 /mnt/isolinux.
 
  Unless you specifically need the DVD contents, maybe try with the
ISOs instead...
snip
   And when you  get towards package selection, anaconda fails indicating
 ' that it can't find image# 1.'

 The image# 1 it is looking for is the .iso which could have been burnt
to a DVD for doing the install, i.e., not something from the images
directory from THAT iso.
snip
Thank you, Todd, that was the answer. So, in RHEL 6, they're protecting us
against ourselves (we might not have copied everything). So with the FAT32
partition as it was, I then deleted everything on the second partition,
and copied both DVDs onto it... and it's installing even as we speak.

I suppose I need to submit a revised how to build a USB key for CentOS 6.

   mark



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


Re: [CentOS] Upgrade Question

2012-01-10 Thread m . roth
Les Mikesell wrote:
 On Tue, Jan 10, 2012 at 1:35 PM,  m.r...@5-cent.us wrote:

 We've got about 200 existing servers running CentOS/RHEL 5.6 and all
 new servers are being provisioned using CentOS/RHEL 6.1.  So that
 everything is consistent we need to upgrade the servers running
 CentOS/RHEL 5.6.
snip
 Any ideas???

 What we do is build one, then create /boot/new and /new on the next
 server, rsync over to them, then mkdir /boot/old and /old, and (using
 zsh with modules loaded) mv * old, mv old/lost+found ., mv
 old/new/* ., make sure a few things are correct (for example,
 ifcfg-eth*, /etc/ssh/), and sync, then reboot. All your other stuff is
 fine

 Have you looked at http://rear.sourceforge.net/ (and in EPEL) as a
 potential backup/clone/rollout mechanism?  It seems like something
snip
The one difference with the method we use is that you *don't* have to
format /, and so anything you have under it is still safe. We normally
have a few directories that are local, and so need to be saved (web, a
temp that everyone can use that is guaranteed *not* to go away, etc).

It's also pretty quick: you don't affect the running system while you're
rsyncing over, so then the rotation takes long enough to issue the few
commands, check grub and fstab, and reboot.

   mark

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


Re: [CentOS] USB install annoyances (not OT)[SOLVED] (mostly)

2012-01-10 Thread m . roth
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
 Behalf Of m.r...@5-cent.us
snip
  I've retried again, and it still fails. I see that it's mounted
/dev/sda2, which is where I've got the contents of a DVD, as
 /mnt/isolinux.
 
  Unless you specifically need the DVD contents, maybe try with the
ISOs instead...
snip
   And when you  get towards package selection, anaconda fails indicating
 ' that it can't find image# 1.'

 The image# 1 it is looking for is the .iso which could have been burnt
to a DVD for doing the install, i.e., not something from the images
directory from THAT iso.
snip
Thank you, Todd, that was the answer. So, in RHEL 6, they're protecting us
against ourselves (we might not have copied everything). So with the FAT32
partition as it was, I then deleted everything on the second partition,
and copied both DVDs onto it... and it's installing even as we speak.

I suppose I need to submit a revised how to build a USB key for CentOS 6.

And then there's the bug report I need to file: my only question being
whether it's with CentOS, or upstream.

Given this stupid bios, I had to make the USB key /dev/sda, so I told it
not to install the bootloader. Went to reboot with linux rescue to install
grub... and the same program that mounts the iso for the install, will
*not* do that for linux rescue, and it wants images/install.img in the
directory

   mark ah, consistancy

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


Re: [CentOS] with Centos6 i cant Partition on 3TB Disks, problem

2012-01-11 Thread m . roth
Hi, Marko,

Marko Weber wrote:

 i try to install Centos 6 on a Server with 2x 3TB Disks.
 When anaconda is showing up the disk partitioner i cant
 do more then 3 normal Partitions or more then 3 Raid Partitions.

 Even when u choose that each partition is 200mb, u cant do more then
 3 normal or raid partitions.

 is this a bug of anaconda installer?

I *think* disk druid (or whatever it's called) is based on fdisk. For
larger than 2TB partitions, you need parted or gparted. Consider
   a) booting off a rescue disk
   b) using gparted to partition them: note that you *will* need to make
them gpt, *not* the normal mbr.
   c)  make usable partitions for /boot and /.
   d)  make larger partitions for whatever else you want.

The normal goes back to the M$ DOS days, and 2TB is the max, and only four
primary partitions are allowed. Beyond that, you make an extended
partition, and make partitions in that.

   mark

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


Re: [CentOS] Write to USB pendrives horribly slow

2012-01-11 Thread m . roth
Blah, blah, blah,

Being blocked again, still appears to be based on new content vs. included
content.

Which makes it very annoying when I want to include context for my response.

blah, blah, blah, new content.

Hi, wwp,

wwp wrote:
 On Wed, 11 Jan 2012 16:31:43 +0100 Ljubomir Ljubojevic off...@plnet.rs
wrote:
 On 01/11/2012 08:45 AM, wwp wrote:
  On Tue, 10 Jan 2012 08:57:14 -0800 (PST) John Doejd...@yahoo.com
 wrote:
  From: wwpsubscr...@free.fr
 
  I wonder if some mount options aren't wrong with USB pendrives, see:
 /dev/sdd1 on /media/monolith type vfat
  (rw,nosuid,nodev,uhelper=udisks,shortname=mixed,dmask=0077,utf8=1,flush)
my suspicion is about the flush option, which I find atypical here.
snip
 ehci_hcd does manage my devices (it's not a loadable module, apparently
compiled in kernel instead), see for instance:

 kernel: usb 2-2: new high speed USB device using ehci_hcd and address 28
snip
This may be a dumb question, but have you done an lsusb? I'd be curious -
I know that on my brand new, as of a few months ago, Dell I have two kinds
of USB ports, 1.1 and 2.0. We also have some 1.1 webcams... and some 1.0.

See if your pen drive's in a slower port.

  mark



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


Re: [CentOS] Is Amanda vaulting what I need for archiving data?

2012-01-11 Thread m . roth
Hey, Alan,

Alan McKay wrote:
snip
 gtar on the back end, which is how I ended up at Amanda.  In looking
 through some of the initial configuration how-tos it seemed as though this
 was massively over-complex for my application.  But then I hit upon
 vaulting

 http://wiki.zmanda.com/index.php/How_To:Copy_Data_from_Volume_to_Volume
snip
 Basically I work in a scientific research lab (stem cell research) where
 the scientists produce a fair bit of raw data.   We want to periodically
 take the data and archive it to tape and then remove it from disk and
 store the tape in our archival facility.  We'd need a record of what is
snip
For one thing, I think you seriously need to look at backup up to offline
hard drives, instead of tapes. Unless you really want/need to archive the
tapes for seven years, or whatever, legally, tapes are not the preferred
solution these days: they're very slow to use for recovery, and h/d's are
large and fast, and still cheap.

We back up to backup servers, then, every couple of weeks, I run rsync
backups (well, we have a locally-rolled system to run the rsync) onto
offline drives - in our case, I swap large drives into an eSATA drive bay.
When I'm done, they go in the fire safe.

I will note that I work for a US federal agency who I shouldn't mention (I
do not speak for the agency or my employer), and our division generates a
lot of data, also: easily half a terabyte for one user, and a number for
the group that does protein folding

 mark

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-30 Thread m . roth
Les Mikesell wrote:
 On Mon, Jan 30, 2012 at 8:14 AM, Larry Martell larry.mart...@gmail.com
 wrote:
 I have a Windows 7 laptop that I want to make dual boot with CentOS
 6.2. My plan was to use the Windows Disk Management tool to partition
 the disk, but I do not have the needed admin rights on the box to use
 that. Has anyone used the partitioning tool that comes with 6.2 to do
snip

Two things: on the one hand, you're familiar with the std. instructions to
use Windows' defragger before you resize the partitions, correct?

On the other... if you don't have admin rights, are you sure you,
personally, won't get into trouble (I'm assuming this is a work machine)
for doing this, and, for that matter, that when desktop support checks
conformance to organization policy, that they won't ghost it back to what
it was?

mark, wondering if he's still graylisted

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


Re: [CentOS] confidence in partitioning tool (6.2)

2012-01-30 Thread m . roth

Jonathan Nilsson wrote:
 Larry wrote:
snip
 I didn't come here to debate VM's. I was just looking for someone to
 say Yeah, I used the CentOS partitioning it and it worked like a
 charm or I used it and it was a disaster.

 sorry if i sounded cross; i am not trying to be argumentative. it's just
 that from my experience dual-booting has not been worth the effort unless
 it is truly needed for the hardware performance, and running CentOS on a
 laptop (depending on the model) may prove challenging to get all the
 hardware to work.

 as for partitioning, i have not had success using any linux installer to
 resize an existing Windows partition. supposedly gparted on a livecd can
snip
I've done it a few times; most recently, with my netbook (ok, it's got the
Ubuntu netbook remix on it, but I'm getting annoyed enough to maybe put
CentOS on - I like stability), and have never had a problem.

As I said, do the defrag, then yes, you *can* use Linux's fdisk, it's
perfectly fine with a DOS MBR, and won't break anything.

 mark

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


Re: [CentOS] fqdn hostname fails after reboot

2012-02-08 Thread m . roth
Chris wrote:
 2012/2/8 Tony Schreiner anthony.schrei...@bc.edu:
 On Feb 8, 2012, at 4:22 PM, Chris wrote:

 I have several machines running CentOS 6.2 and a strange problem with
 the hostname of one machine... After every reboot it loses the fqdn
 hostname.
snip
 Everything is okay ...

 Something I've never experienced before. Does anyone have an idea?
snip
 I have 5 systems with the same DNS configuration. (name servers in
 /etc/resolv.conf)

 It seems that /etc/hosts is ignored.. on this system only. But I do
 not know why :(

AH! A light may be dawning. What's the hosts line  in /etc/nsswitch.conf?

 mark

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


Re: [CentOS] oops, or how to bring a datacenter router down with one setting

2012-02-10 Thread m . roth
Bob Hoffman wrote:
 Dennis Jacobfeuerborn wrote
 /Fri Feb 10 06:47:22 EST 2012/

 On 02/10/2012 12:54 AM, Bob Hoffman wrote:
/  so I gave up on bonding.
 //  I found about 300 posts showing eth0 and eth1 both pointing to br0
 (bridge)
 //  as interfaces.
 //  I followed them correctly, or so I thought.
 //  I pointed both ethx to the bridge, restarted network and bam...!!!
snip

 I was not bonding at this time. I am wondering though why the network
 manager overwrites resolv.conf if NM is off, all ifcfg files say
 nm_controlled=no, and chkconfig NetworkManager off was run.

dhcp running? That will update resolv.conf; NM not needed.

   mark

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


Re: [CentOS] script regular expression

2012-02-10 Thread m . roth
Steve Brooks wrote:
 On Thu, 9 Feb 2012, Alejandro Rodriguez Luna wrote:

 Hi everyone, I was creating a script and i found something i can't
 figure out.

 #/bin/bash
 for i in $(cat certificates.txt)
 do 
     echo $i
 done

 I expected this

 RSA Secure Server Certification Authority
 VeriSign Class 1 CA Individual Subscriber-Persona Not Validated


 but i got this

 RSA
 Secure
snip

Sure will. i is in the list RSA Secure etc. and each word is a member of
the list, separated by whitespace. Y'know, it would be a lot easier to do
awk '{print $0;}' certificates.txt, which would be exactly what you want.

   mark


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


Re: [CentOS] oops, or how to bring a datacenter router down with one setting

2012-02-10 Thread m . roth
Devin Reade wrote:
snip
 I do have clusters where bonding is in use but those have helped not so
 much in avoiding NIC failures as they do in allowing the machines
 to continue operating as the network team brings down part of the
 redundant switch network for maintenance (or to replace a failed switch,
 or when some fool decides that they can unplug a network cable
 briefly so that they can move other cables around).

Now wait a minute - I would dearly love to disconnect some cables we have
in a shared rack downstairs in the datacenter - it's a rats' nest, and
more than half ain't ours, and every single time I have to do something in
the back, I'm deathly afraid I'm going to pull out somebody's power,
or

mark

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


Re: [CentOS] oops, or how to bring a datacenter router down with one setting

2012-02-10 Thread m . roth
Devin Reade wrote:
 --On Friday, February 10, 2012 04:40:59 PM -0500 m.r...@5-cent.us wrote:

 Devin Reade wrote:
 snip
 or when some fool decides that they can unplug a network cable
 briefly so that they can move other cables around).

 Now wait a minute - I would dearly love to disconnect some cables we
 have in a shared rack downstairs in the datacenter [...]

 My complaint is not with moving cables, it's in doing so without
 having proper change control.

Change control? We're talking about a datacenter that provides racks,
power, and connectivity, and the responsible folks from various Institutes
get to rack, connect, etc them all

 Clean data centers == good
 Arbitrarily moving hardware without planning and authorization == bad

The racks are locked, so no one who doesn't have access to the rack can do
anything, but this shared rack!

   mark

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


[CentOS] Adding Mandarin support - pointers?

2012-02-13 Thread m . roth
I've had a request from one of my users to add Mandarin support. A few
quick googles gets me nothing, nor looking for adding language support.
Anyone have a pointer to info on adding whatever packages/group packages I
need?

Thanks in advance.

mark

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


Re: [CentOS] Adding Mandarin support - pointers?

2012-02-13 Thread m . roth
John Doe wrote:
 From: m.r...@5-cent.us m.r...@5-cent.us

 I've had a request from one of my users to add Mandarin support. A few
 quick googles gets me nothing, nor looking for adding language
 support.
 Anyone have a pointer to info on adding whatever packages/group packages
 I need?

 Something like that?
 yum install @Chinese Support

As I've never needed to do it before, I had no idea, and was a tad annoyed
that my google found nothing in the way of advice or howtos. With that,
thanks a lot, John, it worked, as reported by my user.

  mark

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


Re: [CentOS] Removing All Packages From Repository

2012-02-13 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 02/13/2012 09:54 PM, Matt wrote:
 Is there a way to remove all packages from a certain repository such
 as RPMFORGE?

 yum remove $(yum list installed | grep repoforge | awk '{ print $1 }')

 where repoforge is the part of the repository name that show up in yum
 list

That's silly:
yum remove $(yum list installed | awk '{if ($0 ~ /repoforge) { print $1;}}')

mark, still awking after all these years.


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


Re: [CentOS] question on unused directories in /usr/lib and /usr/lib64

2012-02-15 Thread m . roth
Craig Thompson wrote:
 Hardly kidding.  But then again, this is early April isn't it?  Oh,
 wait...

 To cleanly uninstall unused software, one would need a list of what
 software is ON the system which is unused.  Doing a minimal install
 pretty much gives you a system which no one can use.  Doing the classic

I agree. I just did a minimal install last week, and had all *kinds* of
grief trying to get networking working.

 server install loads a lot of this junk which no one ever uses.  As
 someone opined on this list, Why does CentOS install bluetooth
 packages???   I don't want it on my server.  I'm trying to find out what
 the commonly UNUSED packages are so they can be removed.

Yup. For that matter, why would I want avahi running on a rackmount server
that's hardwired for gigabit ethernet? But you get that, too, with
server.

 I randomly selected one package pango and found it had about 200
 dependencies and uninstalled it.  Lucky?  But I'm sure there are more.

There are indeed some packages that have a ridiculous set of dependencies.
I can't remember what it was - it's been months, but I wanted to install
some command line tool, and it wanted gnome installed.
snip
mark

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


Re: [CentOS] question on unused directories in /usr/lib and /usr/lib64

2012-02-15 Thread m . roth
John R Pierce wrote:
 On 02/15/12 1:13 PM, m.r...@5-cent.us wrote:
 I agree. I just did a minimal install last week, and had all*kinds*  of
 grief trying to get networking working.

 huh?  I did a minimal install of C6 and it came up on DHCP right off the
 bat.   I don't even think I had to start sshd (at least, if I did, I
 forgot to record such on my installation notes)

Let me think I *think* it might have been on a blade, so there may
have been some oddness.

 mark

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


Re: [CentOS] question on unused directories in /usr/lib and /usr/lib64

2012-02-15 Thread m . roth
Craig Thompson wrote:
 Thanks, Lamar.  This is the type of helpful response I was looking for.

 If anyone has any other practical lists of junk please post them.

 My goal is to develop my own list, put it in a basic shell script and
 remove them wholesale.  I've done this for generally unused services which
 I run upon installation of a basic system, and it works well.

 The more community input, the better, IMO.
snip
Here's a thought:
yum grouplist | awk '{if ($3 ~ /Groups/ ) { doit = ($1 ~ /Install/ ) ? 1 :
0;} if ( doit ) { print $0; }}'

This will name all the groups that are installed. if you see, say, Office
Suite and Productivity, you can do a yum remove @Office Suite and
Productivity

mark

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


Re: [CentOS] anyone else having flash trouble?

2012-02-16 Thread m . roth
fred smith wrote:
 On Thu, Feb 16, 2012 at 07:50:11AM +, Jake Shipton wrote:
 On Wed, 15 Feb 2012 22:36:14 -0500
 fred smith fre...@fcshome.stoneham.ma.us wrote:

  On my centos 5.7 system, using Firefox 10.1, suddenly flash videos
  have stopped working, like, today. they worked yesterday. Now all I
  get is an error message that the flash plugin has crashed, reload
  page and try again.
snip
 Yes, I'm using the nvidia driver bundle from Nvidia's web site. but
 then I ALWAYS have been (this machine is something like 3 years old).
 However, I did update it recently, I'll have to see if I can figure
 out exactly when that was (less than a week...), and maybe reinstall
 the one I had previously.

Strong recommendation: enable elrepo, at least for kmod-nvidia and
xorg-x11-drv-nvidia. That way, when you update, it will autoupdate and
autorebuild for you. I've just started moving that was for my people (and
me) who have nvidia (esp old nvidia) cards.

   mark

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


[CentOS] smartd and smartctl

2012-02-17 Thread m . roth
A few weeks ago, one of my servers started complaining, via smartd, that
one drive had one unreadable sector. I umounted it, and ran an fsck -c,
then remounted it. Error didn't go away. Now, what's really annoying is
that I've gotten back to it today, and it's reporting the problem, as it
has for weeks now, every half an hour.

However, when I run
 smartctl -q errorsonly -H -l selftest -l error /dev/sdb
it gives me *nothing*. Anyone understand why I get two different results?

 mark and I am waiting for the smartctl -t long /dev/sdb to complete

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


Re: [CentOS] smartd and smartctl

2012-02-17 Thread m . roth
Mike Burger wrote:

 A few weeks ago, one of my servers started complaining, via smartd, that
 one drive had one unreadable sector. I umounted it, and ran an fsck -c,
 then remounted it. Error didn't go away. Now, what's really annoying is
 that I've gotten back to it today, and it's reporting the problem, as it
 has for weeks now, every half an hour.

 However, when I run
 smartctl -q errorsonly -H -l selftest -l error /dev/sdb
 it gives me *nothing*. Anyone understand why I get two different
 results?

  mark and I am waiting for the smartctl -t long /dev/sdb to
 complete

 The smart system works at the hardware level, reading diagnostic
 information from the SMART circuitry on the hard drives, themselves. The
 hard drives will often, now, try to move the data from bad sectors on the
 platters to good sectors, and then mark them so that they won't be used,
 later.

 Running fsck only works at the logical filesystem layer. The fsck tool has
 no hooks to deal with the physical layer.

Ok, but my thinking was, first, that after the fsck, the system wouldn't
try to write to the bad sector, thus not provoking smart. The more
annoying thing is that I don't understand why smartctl doesn't give the
same info as smartd. When I do a -a, it does tell me that one sector's
pending, but not that there's any error.

mark

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


Re: [CentOS] smartd and smartctl

2012-02-17 Thread m . roth
Mike VanHorn wrote:

 FWIW, on some of my workstations, when I have gotten the sector pending
 messages, I have been able to take the drive out and run the
 manufacturer's diagnostics on it (in my case, Seatools), and that fixed
 some things and I haven't had any issues since.

Well, since the server has users on it, I can't really do that, or wipe
the disk I'm not really worried - it's stayed at 1 sector. If that
starts growing, then I'll worry, and get ready to replace the disk. Right
now, it's just an annoyance, as I said, that it shows up on email logs
from our loghost twice every hour. And I'm still waiting for anyone to
explain to me what I'm doing using smartctl that results in it *not*
telling me there's an error, or where the error is. In fact, the last long
test I started, early this afternoon, seems to be done, and with smartctl
-a, I see
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA
_of_first_error
# 1  Extended offlineCompleted without error   00%  2536  
  -
# 2  Short offline   Completed without error   00%  2529  
  -

So I'm befuddled why it won't tell me anything about this pending error.

mark

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


[CentOS] firefox and IronPort

2012-02-21 Thread m . roth
A couple of weeks ago, I got an autogenerated email from the mail folks
here, telling me they'd quarantined what they thought was spam. The last
time I got one of these was a month or month and a half ago, and I had no
problem.

This time, however, I get a 500 error. When I pulled up firefox's error
console, and clicked on the link, I got
servername elided: server does not support RFC 5746, see CVE-2009-3555

I'm told they're running Cisco's IronPort. It appears the patch came out a
year and a half or so ago. However, I also found a post where someone,
apparently running on Windows, couldn't get to a site they needed to,
either with IE 9 or FF10.somethingorother, until they downgraded.

The support folks report they can get there, from Windows boxes.

I've tried Mozilla's workarounds, in about:config, but no joy. My ff is up
to date, including both patches from last week, and as those were
critical, I'm very loathe to downgrade.

a) Is anyone else seeing this?
b) Any thoughts on whether it's an IronPort issue, or whether it might be
a bug (new or reintroduced) browser problem?


 mark

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


Re: [CentOS] chmodding SCP

2012-02-21 Thread m . roth
Turnbough, Bradley E. wrote:
 I have two machines, and I am trying to copy files from one to the other
 via SCP.
snip
 What we did was we chmodded 700 /usr/bin/scp.  The owner has remained root
 and the group has remianed root.

From a different machine, I'm trying to scp to that machine, but I'm
 receiving an access denied.

 My ssh key is in the authorized users file in the root profile.
snip
One question: can you ssh to that machine?

mark

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


Re: [CentOS] firefox and IronPort

2012-02-22 Thread m . roth
Tris Hoar wrote:
 On 21/02/2012 15:58, m.r...@5-cent.us wrote:
 A couple of weeks ago, I got an autogenerated email from the mail folks
 here, telling me they'd quarantined what they thought was spam. The last
 time I got one of these was a month or month and a half ago, and I had
 no problem.

 This time, however, I get a 500 error. When I pulled up firefox's error
 console, and clicked on the link, I got servername elided: server
 does not support RFC 5746, see CVE-2009-3555

 I'm told they're running Cisco's IronPort. It appears the patch came out
snip
 The support folks report they can get there, from Windows boxes.
snip
 a) Is anyone else seeing this?
 b) Any thoughts on whether it's an IronPort issue, or whether it might
 be a bug (new or reintroduced) browser problem?

  From my experiences with IronPort (admittedly from 3 years ago) I'd say
 blame that. The software is horribly buggy at best.

Wonderful. I still have to deal with it; I mean, the thought that I might
influence them to dump it... lol.

 mark

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


Re: [CentOS] Ways To Practice Breaking My System?

2012-02-23 Thread m . roth
Alex Walker wrote:

 Things like boot process rarely break. Try something like filling up
 your root or tmp partition. That just seems to be a bit more common
 as far as problem scenarios go.

 Thanks for the reply. I've recently started working for a large hosting
 company, so there's a reasonable amount of scope for anything that can
 go wrong going wrong at some point, so I wanted to be prepared in
 advance for as many eventualities as possible :)

*sigh* Good luck with the new job.

 I've seen root partitions fill up a few times, but in my own experience
 we've always been able to get in and clear out some space before it's
 knocked the server over. I'll look into it a bit further tho.

One trick my manager's shown me, that you can use to keep things going
while dealing with a root filesystem full is to use tune2fs to lower the
f/s reserved space.

 mark

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


Re: [CentOS] System reboots automatically more or less every two days

2012-02-23 Thread m . roth
fabio.pugna...@tiscali.it wrote:

 I have a problem with CentOS 6.2.

 On December 2011 I installed CentOS 6.1 on a HP ProLiant DL 165 G7
 server.

 Recentely I upgraded to CentOS 6.2 but at reboot the system didn't
 startup. So I removed new kernel kernel-2.6.32-220.4.2.el6 and CentOS

You say the system didn't come up - how far did it get? How did you remove
the newer kernel?

Personally, I'm moving as fast as I can to get *rid* of the 220.2 kernel,
with its constant, irregular crash dumps with traces that all start with
warn_slowpath.

Is the server on a UPS?

 was again able to startup with original kernel-2.6.32-71.el6.x86_64. But
 now every two days the system automatically reboots as you can see
 below:

Looks to me as though its randomly rebooting several times a day. I'd
seriously wonder about hardware or power problems.
snip
   mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
John R Pierce wrote:
 On 02/23/12 5:19 AM, Wuxi Ixuw wrote:
 I am afraid if I get hacked and do not know what should i do to setup
 the whole vps the right way.

 there is no single 'right way'.  security requires a thorough
 understanding of all aspects of the system, this is not something that
 can be dealt with by a 'how to' walkthrough.   hire a systems
 adminstrator with a background in security.

Or, since it's a VPS, call your ISP's support line and ask them.

 mark

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


Re: [CentOS] System reboots automatically more or less every two days

2012-02-23 Thread m . roth
Les Mikesell wrote:
 On Thu, Feb 23, 2012 at 12:50 PM, Tru Huynh t...@centos.org wrote:
 ...
 reboot   system boot  2.6.32-71.el6.x8 Wed Feb 22 22:53 - 17:10
 always rebooting at 17:10 ?

 Is that when the janitor comes in and plugs his vacuum into the rack
 power  outlet?

I was wondering about something like that. A friend mentioned, on another
list, about how some idiot had plugged, um, don't remember, coffee pot?
microwave? into a power outlet that was orange, and labelled computer
equipment only. After he had to come in (he's a consultant) and $fix$ the
resulting mess, it may have gotten through to the staff.

mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
Les Mikesell wrote:
 On Thu, Feb 23, 2012 at 1:08 PM, Wuxi Ixuw w7u64...@gmail.com wrote:
 I am not using cent os for my daily computing tasks at home or work but
 just for the vps hosting website.
 you mean to use web control panel back end or you mean another issue?

 I don't have any idea what a 'web control panel back end is' since
 that is not a stock centos feature.  CentOS itself packages updates as

I'd guess he's talking cPanel.

 soon as possible after they are released and on a non VPS system you
 would use 'yum update' to install them.  And normally you want to do
 that as soon as possible because when the updates are published, the
 vulnerabilities that they fix are obvious and often even explained in
 public.

Actually, I assume that my hosting provider is regularly updating system
software. I should probably look, but I think I'm paying for that, as part
of what they do... which is also very much to their own benefit.

mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
John R Pierce wrote:
 On 02/23/12 11:05 AM, Wuxi Ixuw wrote:
 Please suggest a one as I am keep goggling and all result bring books
 dealing with linux as a real server and not a vps.

 you could do worse than starting here...
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/

 VPS and real hardware work exactly the same once the software is
 installed.

 my base level suggestions:

   * start with a *minimal* install of the latest release (currently 6.2)
   * create your user account, give both user and root account different
 secure passwords

I was assuming his provider gave him a working system, not virtual bare
metal.

   * secure the SSH server (no root, key instead of password
 authentication, only allow ssh from your home/office networks or a
 few secure 'bastion' hosts, etc)
   * yum update right after install and reboot

Yup.

   * install *just* the services you need, only from trustworthy yum
 repositories

YES! For about 10 years, I ran an old rh (NOT RHEL) system as a
firewall/router for my home network. I ran Bastille Linux over it - which
is *not* a distro, but a set of hardening scripts. Great stuff, and NIST
recommendations these days refer to it, last time I looked.

After running Bastille, *then* I got paranoid: I never installed X
(security holes), or *any* compiler, or language I didn't absolutely need
(no gcc, yes to perl). No nuttin'... and to the best of my knowledge,
though I did see scans, I never had an intrusion, partly due to firewall
rules of DROP, and partly because they had nothing to use to run their
nasties.

If it got installed, and you don't need it, don't only turn it off, yum
remove. At work, and home, I certainly don't need either bluetooth or
avahi running, on wired boxen.

   * secure the services you install as appropriate
   * document your configuration, including what packages you needed to
 install

YES. You do *not* want to be trying to figure out what you'd done, a year
from now, at 17:00 on a Friday, or 02:00 some morning.

   * script a secure backup of your configuration specific conf and data
 files to reliable offsite storage.

Yup. Or have the full website, and all configuration files for the system,
on your machine at home or work, so you can just upload the whole thing.

   * plan on regular yum updates, and staying up on security alerts, such
 as CERT
snip
RH, and this offshot I know of, called CentOS, are pretty good at
announcing security fixes in a timely manner (take a bow, Johnny).

mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
Wuxi Ixuw wrote:

 On 23/02/2012 10:26 PM, John R Pierce wrote:
 On 02/23/12 12:16 PM, Wuxi Ixuw wrote:
 I will use Drupal core and mostly no modules.
 Drupal has had its share of exploits, too.
 http://www.cvedetails.com/vulnerability-list/vendor_id-1367/product_id-2387/Drupal-Drupal.html

 What shall I use then?
 I did goggled a lot for what I should use and found that Drupal is so
 far the best CMS compared to Joomla or Wordpress.

You need to get your head around the idea that *NOTHING* is ultimately
safe. To paraphrase the stupid phrase, vigilance is the price of liberty
(of your system from the bad guys)

mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
Wuxi Ixuw wrote:
 And do I need a recent computer for the linux one or an old one can do so?
 I mean something like Pentium 4 or Pentium D may fits?

 On 23/02/2012 10:58 PM, John R Pierce wrote:
 On 02/23/12 12:47 PM, Wuxi Ixuw wrote:
 Actually I read many times that geek people used to use a Linux
 computer
 as a firewall for their network but never figured out how they do so.
 install linux on a computer with two ethernet cards.  connect eth0 to
 your internet connection, and eth1 to your local network.   configure
 iptables firewall rules in the linux system.  or install pfsense on that
 same computer.

That's one of the beauties of Linux: unlike a competing operating system
which shall remain nameless (but is headquartered in Redmond, WA), it'll
run on pretty much *anything*. It will find more hardware errors...
because it uses the entire system much more efficiently. But if the
hardware's ok, it'll run for a *long* time. So, yes, anything you've got
should work.

mark

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


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread m . roth
Wuxi Ixuw wrote:
 what do you mean?

 On 23/02/2012 11:10 PM, m.r...@5-cent.us wrote:
 It will find more hardware errors

Windows uses hardware sloppily, and not that well. Linux, like all
versions of Unix, uses much more of the hardware's capabilities. Try
running Linux on the same hardware as Windows: my fiancee's 14-yr-old son
is dual booting his T-60 laptop, and *he* sees the difference in speed
(Linux being that much faster).

   mark

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


Re: [CentOS] System reboots automatically more or less every two days

2012-02-23 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 02/23/2012 04:08 PM, m.r...@5-cent.us wrote:
 fabio.pugna...@tiscali.it wrote:

 I have a problem with CentOS 6.2.

 On December 2011 I installed CentOS 6.1 on a HP ProLiant DL 165 G7
 server.

 Recentely I upgraded to CentOS 6.2 but at reboot the system didn't
 startup. So I removed new kernel kernel-2.6.32-220.4.2.el6 and CentOS

 You say the system didn't come up - how far did it get? How did you
 remove the newer kernel?

 Personally, I'm moving as fast as I can to get *rid* of the 220.2
 kernel, with its constant, irregular crash dumps with traces that
 all start with warn_slowpath.

 I am unable to run anything later then
 2.6.32-220.2.1.el6.centos.plus.x86_64. Booting of 220.4.x just hangs. I
 had no time to file a bug report, always something more pressing. But
 will do it soon. 220.2.1 runs without a problem for weeks at the time
 (always-on desktop).

Out of curiosity, why CentOS plus, and not the std.?

mark

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


Re: [CentOS] centos 6 - 1 of 2 machines starts and not the other

2012-02-23 Thread m . roth
fakessh @ wrote:
 hu guys

 I regularly read this list I can usually find me in the excellent
 documentation apache.
 I'm in front of a very strange problem I possess two desktop machines
 which works with the Apache server with centos 6

 1 of 2 machines starts and not the other.

 I use the apache config file here that provides standard distribution

What's in /var/log/httpd/error_log on the machine where it doesn't start?
And is selinux enforcing?

   mark

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


Re: [CentOS] Shrew Soft VPN Client for CentOS 6

2012-02-24 Thread m . roth
Hi, Dave,

d...@davenjudy.org wrote:

 Where I work uses the Shrew Soft VPN client to access remote resources.  I
 have found pre-built rpms for EL5, various versions of Fedora, and
 appropriate packages for non-rpm based distros but no rpm for EL6.  I have
 downloaded the source from Shrew Soft and built my own which built and
 installed with no errors but then didn't work.  I'm finally taking the
snip
 same configuration and user connects under EL6 (confirmed on the VPN
 server) but is unusable (e.g., I can't ping known systems).

I think I'd try tcpdump, or some other tool, and see what's happening.

 mark

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


Re: [CentOS] Software RAID1 with CentOS-6.2

2012-02-29 Thread m . roth
Miguel Medalha wrote:

 A few months ago I had an enormous amount of grief trying to understand
 why a RAID array in a new server kept getting corrupted and suddenly
 changing configuration. After a lot of despair and head scratching it
 turned out to be the SATA cables. This was a rack server from Asus with
 a SATA backplane. The cables, made by Foxconn, came pre-installed.

 After I replaced the SATA cables with new ones, all problems were gone
 and the array is now rock solid.

Thanks for this info, Miguel.
snip
 As an additional information, I quote from the Caviar Black range
 datasheet:

 Desktop / Consumer RAID Environments - WD Caviar Black Hard Drives are
 tested and recommended for use in consumer-type RAID applications
 (RAID-0 /RAID-1).
 - Business Critical RAID Environments – WD Caviar Black Hard Drives are
 not recommended for and are not warranted for use in RAID environments
 utilizing Enterprise HBAs and/or expanders and in multi-bay chassis, as
 they are not designed for, nor tested in, these specific types of RAID
 applications. For all Business Critical RAID applications, please
 consider WD’s Enterprise Hard Drives that are specifically designed with
 RAID-specific, time-limited error recovery (TLER), are tested
 extensively in 24x7 RAID applications, and include features like
 enhanced RAFF technology and thermal extended burn-in testing.

Wonderful... NOT. We've got a number of Caviar Green, so I looked up its
datasheet... and it says the same.

That rebuild of my system at home? I think I'll look at commercial grade
drives

   mark

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


[CentOS] network problems

2012-03-01 Thread m . roth
We just moved a user, who deals with a *lot* of data, to a new server,
since his old NFS home directory was on a disk that had started showing
problems.

Now, i/o is about six times slower, my manager reports.

After a fair bit of googling, I started looking at tc and ip, and found
the following: from ip address show, first, on the old home directory
server,
 eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 1000
then, on the new:
 eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen 1000

I've tried tc qdisc add dev eth0 mq pfifo_fast
and
tc qdisc add dev eth0  pfifo_fast

and neither works. I've googled, and seen something about you can't set
something with tc, because pfifo_fast is the hardwired default.

Anyone know how I can reset this, or is there a package I can reinstall
that would do that?

 mark


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


Re: [CentOS] network problems

2012-03-01 Thread m . roth
John Doe wrote:
 From: m.r...@5-cent.us m.r...@5-cent.us

 I've tried tc qdisc add dev eth0 mq pfifo_fast
 and tc qdisc add dev eth0  pfifo_fast
 and neither works. I've googled, and seen something about you can't set
 something with tc, because pfifo_fast is the hardwired default.

 Not an expert, but this seems to add 'mq' succesfully on my unused eth1:
 eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
 # tc qdisc add dev eth1 root handle 1: mq
 eth1: BROADCAST,MULTICAST mtu 1500 qdisc mq state DOWN qlen 1000

 But it fails for 'pfifo_fast':
 # tc qdisc add dev eth1 root handle 1: pfifo_fast
 qdisc 'pfifo_fast' does not support option parsing

 Also, maybe you need to delete before adding?

Yeah: after I tried to add it, and it gave me the does not support
options parsing, I began trying to del the mq, but I can't seem to find
the Magical Syntax (tm) that let's me get rid of that.

 mark

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


Re: [CentOS] network problems

2012-03-01 Thread m . roth
Nataraj wrote:
 On 03/01/2012 08:15 AM, m.r...@5-cent.us wrote:
 We just moved a user, who deals with a *lot* of data, to a new server,
 since his old NFS home directory was on a disk that had started showing
 problems.

 Now, i/o is about six times slower, my manager reports.

 After a fair bit of googling, I started looking at tc and ip, and found
 the following: from ip address show, first, on the old home directory
 server,
  eth0: BROADCAST,MULTICAST mtu 1500 qdisc pfifo_fast qlen 1000
 then, on the new:
  eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen
 1000
snip
 Are you sure your performance problems are network related?  Have you
 measured performance of the filesystems on the two servers?   You may
 have a data alignment problem with your disk partitions.

He did. It's not disk-related.

mark

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


Re: [CentOS] CentOS 6.2 software raid 10 with LVM - Need help with degraded drive and only one MBR

2012-03-02 Thread m . roth
Jonathan Vomacka wrote:
 CentOS Community,

 I have a dedicated server with 4 hard drives in a RAID 10 software
 configuration running LVM. My OS is CentOS 6.2. Earlier today, I
 rebooted my system and my system did not come back online. I opened a
 ticket with my datacenter who informed me that one of my hard drives is
 no longer recognized by the bios and has failed. I was told that an OS
 reinstall was needed.

 I don't understand why a reinstall would be necessary when the drives
 are in RAID 10. Apparently when the datacenter did the initial OS
 install, they ONLY installed the MBR on one drive instead of all 4
 leaving the other 3 drives unbootable.
snip
Whatever the outcome, I would strongly recommend escalating this to a
manager, since the staff installed it incorrectly - perhaps they don't
understand what a RAID is? But they need to make this right - you're
paying for it.

Besides, it's not Windows

 mark

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


Re: [CentOS] network problems

2012-03-02 Thread m . roth
(Sorry 'bout the screwed-up headers - forwarded to my work email from
home, then forwarded back to this account just now)

 Original Message 
From: John Doe jd...@yahoo.com

References:
76baacf79f928a056c17d63f02d53ae7.squir...@mail.5-cent.us
1330619990.16821.yahoomail...@web114705.mail.gq1.yahoo.com
86feb08093663823b4190d6fae1e3a3b.squir...@mail.5-cent.us

From: m.r...@5-cent.us m.r...@5-cent.us

 Yeah: after I tried to add it, and it gave me the does not support
 options parsing, I began trying to del the mq, but I can't seem to
 find the Magical Syntax (tm) that let's me get rid of that.

This worked for me...
# tc qdisc del dev eth1 root handle 1

That works... but won't get rid of mq. Right now, I'm trying pfifo, unless
someone thinks that PRIO might be better.

The real question is why *some* of my 6.2 boxen have pfifo_fast, and
others have mq. Does anyone know where this is set?

   mark

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


Re: [CentOS] C6.2 on DELL E6520

2012-03-02 Thread m . roth
Bernd Bartmann wrote:
 On Fri, Mar 2, 2012 at 3:21 PM, Jussi Hirvi  wrote:
 On 2.3.2012 15.59, Bernd Bartmann wrote:
 The only problem is that the system hangs after
 entering reboot. I can see that several services get stopped, but
 after some seconds the screen is just black and nothing happens
 anymore.

 Does it hang after the shutdown process is totally complete, or
 somewhere in between? (If so, what is the last thing you see on screen?)
 How long have you waited for it to proceed?

 After pressing ESC to see all the service shutdown messages the last
 two lines show:

 init: Re-executing /sbin/init [OK]
 Please stand by while rebooting the system...
 Restarting system.

 So it hangs after shutdown has been completed. I've waited more than 10
 minutes.
snip
Sounds to me as though something's hanging - maybe it's trying to restart
something, and it's not letting go.

A thought: check the BIOS, and see if there's something that says
something like restart after reboot.

   mark

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


Re: [CentOS] CentOS 6.2 software raid 10 with LVM - Need help with degraded drive and only one MBR

2012-03-02 Thread m . roth
Digimer wrote:
snip
 Boot from a live CD using the CentOS 6.2 install media. Once booted:

 bash# grub
 grub root (hd0,0)
 grub setup (hd0)
 grub root (hd1,0)
 grub setup (hd1)
 grub root (hd2,0)
 grub setup (hd2)
 grub quit
 bash# reboot

 This assumes that grub sees the drives at '0, 1 and 2' and the boot
 partition is the first on each drive. If it is, when you type 'root
 (hdX,0)' it should report that a file system was found. The 'setup
 (hdX)' will tell grub to write the MBR to the specified disk.

THANK YOU! I could have used that once or twice, and had no idea that grub
could create a std. MBR.

mark

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


[CentOS] hardware issues? driver issues?

2012-03-07 Thread m . roth
Got a bunch of servers from Penguin. Supermicro m/b's H8QG6. We put a 3tb
drive in for additional workspace for the users, and some of them won't
read, others will go for weeks, then spit out DRDY errors. lshw shows the
controller as an ATI SB7x0/SB8x0/SB9x0 SATA.

I did notice that it shows
 *-storage
 description: SATA controller
 product: SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
 vendor: ATI Technologies Inc
snip
 width: 32 bits
 ^^
 clock: 66MHz
 
 capabilities: storage pm ahci_1.0 bus_master cap_list

From /var/log/dmesg:
pci :00:0d.0: PME# supported from D0 D3hot D3cold
pci :00:0d.0: PME# disabled
pci :00:11.0: reg 10 io port: [0xd000-0xd007]
pci :00:11.0: reg 14 io port: [0xc000-0xc003]
pci :00:11.0: reg 18 io port: [0xb000-0xb007]
pci :00:11.0: reg 1c io port: [0xa000-0xa003]
pci :00:11.0: reg 20 io port: [0x9000-0x900f]
pci :00:11.0: reg 24 32bit mmio: [0xdfefa400-0xdfefa7ff]
...
ahci :00:11.0: version 3.0
  alloc irq_desc for 22 on node 0
  alloc kstat_irqs on node 0
ahci :00:11.0: PCI INT A - GSI 22 (level, low) - IRQ 22
ahci :00:11.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl SATA mode
ahci :00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part
ccc
...
ata1: SATA max UDMA/133 abar m1024@0xdfefa400 port 0xdfefa500 irq 22
ata2: SATA max UDMA/133 abar m1024@0xdfefa400 port 0xdfefa580 irq 22

I've included the above, because I note the 32bit mmio, but the 64bit
flag; also the clock speed for the controller.

Now, I've been working on one with Penguin. I noticed one thing, that it
was set to native IDE. After googling, I saw that the most recent spec,
which included EIDE, should be good to petabytes... but I tried resetting
it to AHCI anyway.

The user ran one job, ok... then another last night, and it's spitting the
same errors.

In /var/log/messages, I see JBD: detected IO errors while flushing file data:
Mar  7 00:53:28 server kernel: ata2.00: exception Emask 0x0 SAct 0x3
SErr 0x0 action 0x6 frozen
Mar  7 00:53:28 server kernel: ata2.00: failed command: WRITE FPDMA QUEUED
Mar  7 00:53:28 server kernel: ata2.00: cmd
61/08:00:72:4a:a4/00:00:ae:00:00/40 tag 0 ncq 4096 out
Mar  7 00:53:28 server kernel: res
40/00:04:20:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
Mar  7 00:53:28 server kernel: ata2.00: status: { DRDY }
...
Mar  7 00:53:28 server kernel: ata2: hard resetting link
Mar  7 00:53:33 server kernel: ata2: SATA link up 3.0 Gbps (SStatus 123
SControl 300)
Mar  7 00:53:33 server kernel: ata2.00: configured for UDMA/133
Mar  7 00:53:33 server kernel: ata2.00: device reported invalid CHS
sector 0
Mar  7 00:53:33 server kernel: ata2: EH complete

Notice the device reported invalid CHS sector 0. The drive does have a
GPT rather than an MBR.

So, has anyone else seen similar problems, or have some suggestions as to
something I can try? Penguin's still waiting for a response from
Supermicro, and has escalated

  mark


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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Ross Walker wrote:
 On Mar 7, 2012, at 11:02 AM, Les Mikesell lesmikes...@gmail.com wrote:

 On Wed, Mar 7, 2012 at 9:49 AM, William Warren
 hescomins...@emmanuelcomputerconsulting.com wrote:
 well ubuntu allows me to boot from MD RAID10...so there's something
 they are doing that allows that to boot.

 That ubuntu version has probably switched to grub2.  Good luck
 debugging it when it breaks - it is very different.

 Plus it is very handy to have a /boot that is readable/mountable without
 LVM or MDRAID drivers loaded and configured.

 /boot is only 256-512MB partition that is read only during boot and
 updated only when there is a new kernel, so it ain't no big thing. Even
 when RH goes to grub2 I think I'll keep this setup by default.

Don't make it less than 512M - we're debating between 512M and 1G here.
Certainly, bleeding-edge fedora *needs* at least 256M *free* in /boot to
do an upgrade in place, so I have to assume that's coming in the next few
years for RHEL/CentOS.

mark

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


Re: [CentOS] hardware issues? driver issues?

2012-03-07 Thread m . roth
Peter Kjellström wrote:
 On Wednesday 07 March 2012 11.17.15 m.r...@5-cent.us wrote:
 Got a bunch of servers from Penguin. Supermicro m/b's H8QG6. We put a
 3tb drive in for additional workspace for the users, and some of them
 won't read, others will go for weeks, then spit out DRDY errors. lshw
 shows the controller as an ATI SB7x0/SB8x0/SB9x0 SATA.
 ...
 Now, I've been working on one with Penguin. I noticed one thing, that it
 was set to native IDE. After googling, I saw that the most recent spec,
 which included EIDE, should be good to petabytes... but I tried
 resetting it to AHCI anyway.

 The user ran one job, ok... then another last night, and it's spitting
 the same errors.
 ...
 Mar  7 00:53:28 server kernel: ata2.00: failed command: WRITE FPDMA
 QUEUED
 ...
 40/00:04:20:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
 ...
 Mar  7 00:53:28 server kernel: ata2: hard resetting link

 While writing the drive timed out and the link to it was then subjected to
 a hard reset. This is not normal and usually points to bad drive or buggy
 firmware.

 Have you had a look at smartdata for the drive(s)? (you may want to run
 the smart selftests)

 Also, I'd suggest you test it in a controlled environment. For example,
 can any of your drives survive a full surface write? (dd if=/dev/zero
 bs=1M of=..)
 Full surface read? Do the tests against /dev/sdX to be sure (excludes
 partitioning, filesystems, volume management, etc.)

 Do note that writing your drive full of zeros _will_ destroy your data (I
 really hope that's stating the obvious...).

g
Of course. Nahhh... I've run bonnie++ against it, but couldn't provoke it.
It's this one user, who runs *large* jobs, with big o/p, when it hits.

smartctl - I ran the short test just before lunch, and smartctl -H reports
it passed, completed without errors.

I saw that it timed out. One of the reasons for some of the stuff I
included, above, was that
kernel: ata2.00: device reported invalid CHS sector 0

Also, I noticed that lshw showed the ATI controller having a width of 32
bits, and a clock of 66MHz, and wondered if there could be some sort of
slip-through-the-cracks where the driver didn't handle this correctly.

mark

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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Markus Falb wrote:
 On 7.3.2012 19:08, m.r...@5-cent.us wrote:
 Ross Walker wrote:
 On Mar 7, 2012, at 11:02 AM, Les Mikesell
 lesmikesell-re5jqeeqqe8avxtiumw...@public.gmane.org wrote:

 On Wed, Mar 7, 2012 at 9:49 AM, William Warren
 hescominsoon-dGSttIWD7Blt2rXhg/qq1lelw3d7xbbmmrmqpfiv...@public.gmane.org
 wrote:
 well ubuntu allows me to boot from MD RAID10...so there's something
 they are doing that allows that to boot.

 That ubuntu version has probably switched to grub2.  Good luck
 debugging it when it breaks - it is very different.

 Plus it is very handy to have a /boot that is readable/mountable
 without LVM or MDRAID drivers loaded and configured.

 /boot is only 256-512MB partition that is read only during boot and
 updated only when there is a new kernel, so it ain't no big thing. Even
 when RH goes to grub2 I think I'll keep this setup by default.

 Don't make it less than 512M - we're debating between 512M and 1G here.

 You may have noticed that redhat recommends 250M
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s2-diskpartrecommend-x86.html

Yeah, well, some of us have many servers more than 4 yrs old; so I'm
assuming that three, four years from now, with CentOS 8 or 9, it'll do the
same, and want maybe 800M. Plan for the future, y'know.

mark

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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Les Mikesell wrote:
 On Wed, Mar 7, 2012 at 2:01 PM,  m.r...@5-cent.us wrote:
 
 You may have noticed that redhat recommends 250M
 http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/s2-diskpartrecommend-x86.html

 Yeah, well, some of us have many servers more than 4 yrs old; so I'm
 assuming that three, four years from now, with CentOS 8 or 9, it'll do
 the
 same, and want maybe 800M. Plan for the future, y'know.

 If the future continues anything like the past, you'll be be able to
 buy something new with twice the speed and 10x the space by then and
 be better off starting over than allocating more than you need today.

a) You think I, or a *lot* of other folks, are going to do that at home?
   (Please - I'm trying to get my fiancee to at *least* go from
*shudder* Vista to Win7)
b) I'm a federal contractor, on site. You think the Republicans in
   Congress are going to increase our budget, to replace all servers
   over three or four years old?

   mark clue: phat chance

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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Les Mikesell wrote:
 On Wed, Mar 7, 2012 at 2:23 PM,  m.r...@5-cent.us wrote:

 If the future continues anything like the past, you'll be be able to
 buy something new with twice the speed and 10x the space by then and
 be better off starting over than allocating more than you need today.

 a) You think I, or a *lot* of other folks, are going to do that at home?
       (Please - I'm trying to get my fiancee to at *least* go from
        *shudder* Vista to Win7)

 If you leave them on, add up the power cost of running an old box for
 years.

Sorry, that doesn't work either: *everything* new seems to need a lot more
power than the older stuff. Certainly, last time I upgraded my own system,
I had to buy one that was 150% the power of the old one.

 b) I'm a federal contractor, on site. You think the Republicans in
       Congress are going to increase our budget, to replace all servers
       over three or four years old?

 Yes, if someone does the report to show that it will save money in the
 big picture...  But you don't necessarily throw out the 3 year old
 boxes, you can re-purpose them to something where people aren't
 waiting idly for their results, keeping some others for spare parts.
 In any case, someone should be accounting for the space/power/cooling
 that old hardware takes while accomplishing 10% as much as new.

We already repurpose. There's a limit to parts - when something gets
surplussed, it has to have pretty much what we bought it with (a different
h/d's no big deal, though). And the budget won't *allow* say, 20 or 50 or
70 new servers in one year. I can give you, with a 98% confidence level,
that our budget (we're not DoD) will *NOT* be upped by 10%.

The sob's just saved money by a) taking away our water coolers (we can
use the metal water fountains, y'know) and b) not refilling one of the
three soap dispensers in the men's room on this floor. Mind-bogglingly
petty? Damn straight. Cheap? Bet *their* offices still have the water

 mark and our people are trying to do real science

ObDisclaimer: I speak only for myself, not for my agency or my employer.

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


Re: [CentOS] Anyone recognize www-mysql?

2012-03-07 Thread m . roth
Rainer Duffner wrote:

 Am 07.03.2012 um 22:18 schrieb John R Pierce:

 On 03/07/12 1:00 PM, Adam Tauno Williams wrote:
 This a binary that executes HTML
 pages containing embedded SQL statements.


 I found the debian package here:
 http://archive.debian.net/etch/www-mysql

 ah, and peeking into the source tarball, www-mysql (and www-pgsql) build
 from www-sql, which comes from here
 http://www.jamesh.id.au/software/www-sql/

 this stuff looks really old, like its not been touched since 1998.
 its a pretty simple cgi package written in C, so it probably can be
 built for newer systems.

 It's probably also riddled with buffer-overflows.
 Better let it go...

Why? I know that none of the zillions of lines of C I wrote in the late
eighties and through the nineties were riddled with buffer overflows.

Oh, sorry, it's not the N33t3st, k3wl language on the planet!

 mark

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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Les Mikesell wrote:
 On Wed, Mar 7, 2012 at 3:23 PM,  m.r...@5-cent.us wrote:

 a) You think I, or a *lot* of other folks, are going to do that at
 home?  (Please - I'm trying to get my fiancee to at *least* go from
        *shudder* Vista to Win7)

 If you leave them on, add up the power cost of running an old box for
 years.

 Sorry, that doesn't work either: *everything* new seems to need a lot
 more power than the older stuff. Certainly, last time I upgraded my own
 system, I had to buy one that was 150% the power of the old one.

 That was probably before power became a big thing for servers - in
 most cases now power and cooling are the limiting factors for
 expansion in a data center.  Most of the new servers use 2.5 drives
 and while they might still use as much power per 1u of space due to
 using more blades in a chassis or having more CPUs and RAM, we get
 much more performance from the same space and power consumption.
 It's not such a big deal for desktops, but you can get small low power
 systems if you look around - or just use a laptop that will sleep when
 you close the lid.

Heh. Many of the new servers we are getting are all on the order of 48 or
64 cores, and they eat and drink power. The same UPS that would handle six
4 or 8 core boxes can handle *three*, if we're lucky, when a clustering
job's running

mark

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


Re: [CentOS] md raid 10

2012-03-07 Thread m . roth
Les Mikesell wrote:
 On Wed, Mar 7, 2012 at 3:23 PM,  m.r...@5-cent.us wrote:

 a) You think I, or a *lot* of other folks, are going to do that at
home?  (Please - I'm trying to get my fiancee to at *least* go from  
     *shudder* Vista to Win7)

 If you leave them on, add up the power cost of running an old box for
years.

 Sorry, that doesn't work either: *everything* new seems to need a lot
more power than the older stuff. Certainly, last time I upgraded my own
system, I had to buy one that was 150% the power of the old one.

 That was probably before power became a big thing for servers - in most
cases now power and cooling are the limiting factors for
 expansion in a data center.  Most of the new servers use 2.5 drives and
while they might still use as much power per 1u of space due to using
more blades in a chassis or having more CPUs and RAM, we get much more
performance from the same space and power consumption. It's not such a
big deal for desktops, but you can get small low power systems if you
look around - or just use a laptop that will sleep when you close the
lid.

Heh. Many of the new servers we are getting are all on the order of 48 or
64 cores, and they eat and drink power. The same UPS that would handle six
4 or 8 core boxes can handle *three*, if we're lucky, when a clustering
job's running

mark



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


Re: [CentOS] md raid 10

2012-03-08 Thread m . roth
John R Pierce wrote:
 On 03/08/12 4:39 AM, mark wrote:
 VM's? Sorry, we're doing very serious scientific computing - the couple
 or so VMs we had are going away. I mean, when, for example, one guy I
 support gets on a 48 core box, and proceeds to fire up an R job, and
 uses*all*  of them Plus, we're running out of UPSs to stick them on
 to, and sockets to reach

 ok, so 3 x 48/64 core servers uses the same power as 6 x 4/8 core ?
 thats still major win.

Um, no - that's what I'm saying is *not* the case. The new suckers drink
power - using a UPS that I could hang, say, 6 Dell 1950's off of, *if* I'm
lucky, I can put three of the new servers. And at that, if a big jobs
running (they very much vary in how much power they draw, depending on
usage), even with only three on, I've seen the leds run up to where
they're blinking, indicating it's near overload, over 90% capability.

mark

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


[CentOS] Thunderbird

2012-03-08 Thread m . roth
CentOS 6. T-bird 3.1.18

Is there *ANY* way to search message on message *CONTENT*, not header? I
used to do that all the time

mark or maybe I'll dump t-bird

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


Re: [CentOS] Thunderbird

2012-03-08 Thread m . roth
Ljubomir Ljubojevic wrote:
 On 03/08/2012 04:45 PM, m.r...@5-cent.us wrote:
 CentOS 6. T-bird 3.1.18

 Is there *ANY* way to search message on message *CONTENT*, not header? I
 used to do that all the time

 Edit menu - Find - Search Messages? I have T-bird 9 at the moment.

Or ctrl-shift-F, but no, there's no option any more for body.

 mark

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


Re: [CentOS] Thunderbird

2012-03-08 Thread m . roth
Lamar Owen wrote:
 On Thursday, March 08, 2012 10:45:26 AM m.r...@5-cent.us wrote:
 CentOS 6. T-bird 3.1.18

 Is there *ANY* way to search message on message *CONTENT*, not header? I
 used to do that all the time

 mark or maybe I'll dump t-bird

 Hmm.
 [root@migration ~]# repoquery thunderbird
 thunderbird-0:10.0.1-3.el6.centos.x86_64
 [root@migration ~]# cat /etc/redhat-release
 CentOS release 6.2 (Final)
 [root@migration ~]#

 Upgrade thunderbird with CentOS 6.2, since 6.2 includes Thunderbird
 10.0.1?

Yep, I see it's just come in. Not overwhelmingly impressed with FF 10,
from trivial things like the non-bottom border, to speed - too frequently,
pages sit there taking time that didn't used to take that long.

 mark

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


Re: [CentOS] md raid 10

2012-03-08 Thread m . roth
John R Pierce wrote:
 On 03/08/12 6:33 AM, m.r...@5-cent.us wrote:
   ok, so 3 x 48/64 core servers uses the same power as 6 x 4/8 core ?
   thats still major win.
 Um, no - that's what I'm saying is*not*  the case. The new suckers drink
 power - using a UPS that I could hang, say, 6 Dell 1950's off of,*if*
 I'm lucky, I can put three of the new servers. And at that, if a big jobs
 running (they very much vary in how much power they draw, depending on
 usage), even with only three on, I've seen the leds run up to where
 they're blinking, indicating it's near overload, over 90% capability.

 ok, how do you figure 3 48 core modern servers are not more powerful
 computationally than 6 8 core servers?   the 1950's were cloverton
 which were dual core2duo chips, 2 sockets, at ~ 2-3GHz, for your 8 cores
 per 1U.

I'm sorry, but to me, the above is a non sequitur. I was talking about how
much power the servers drink, and that the UPSs that I have can barely,
barely handle half as many or less, and I'm running out of UPSs, and out
of power outlets for them in such a small space (that is, a dozen or so in
each rack), without trying to go halfway across the room.

 now, I dunno what your 48 core servers are, if thats really 2x12 cores
 with 'hyperthreading', then those extra threads are NOT good for intense
 numerical compute work as they share the FPU, but even those 24 cores
 should be faster than twice as many 8 core systems.

http://www.newegg.com/Product/Product.aspx?Item=N82E16819105264

  mark

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


Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date)

2009-09-14 Thread m . roth
 Hi,

 I am running 32-bit Firefox-3.5.3 on Centos-5.3 (64-bit kernel) on a Dell
 Precision M65 laptop. This is likely a Adobe problem, but maybe someone
 else has seen this before. Please CC me, as I only receive the digest
 version of the list.


 When using the 10.0.32.18-release version of the flash-plugin, trying
 to access *any* page containing flash (e.g. www.adobe.com) causes the
 browser to die. This also happens with version 10.0.22.87. Version
 9.0.115.0 works fine. To avoid problems with add-ons, Firefox is
 started with -safe-mode. As far as I know, the problem also happens
 with Firefox-3.0.x.
snip
I filed a bug with the firefox team about exactly that. I'm running 64 bit
CentOS 5.3, with updates, and it happens with both firefox 3.5.3 and
3.0.14.

Fortunately, I install in such a way as to not wipe out the existing,
running version... so I'm running 3.0.12 until I see a fix.

mark

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


Re: [CentOS] Where to download rpm packages for centos?

2009-09-17 Thread m . roth

 I am looking for some user level packages, such as icewm, openoffice.


 icewm? You logon through the terminal and so can choose your window
 manager? Otherwise, you can more or less forget it...

Oy, as they say, vey. I just went from opensuse 10.3 to centos 5.3.
Building icewm was a *royal* pain. There were a number of libraries it
wanted, and, IIRC, I had to manually create backward links (ln - s
libsomethingorother.so.4 libsomethingorother.so.2

mark

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


Re: [CentOS] gdm-simple-greeter config?

2009-09-18 Thread m . roth
 Greetings,

 On Fri, Sep 18, 2009 at 8:34 AM, mark m.r...@5-cent.us wrote:
 itxakaserr...@gmail.com wrote:
 Enviado desde mi iPhone
 El 18/09/2009, a las 04:39, mark m.r...@5-cent.us escribió:
 R P Herrold wrote:
 On Thu, 17 Sep 2009, mark wrote:

   I have googled. I have find ...-exec grep. One server
 continues to send error messages to /var/log/messages that
 gdm-simple-greeter can't find some file in a user's (another
 admin, actually) home directory. Any ideas where it's
 getting it from?

 There are couple of directories starting with '.' (i.e. hidden ones)
 pertaining to gnome .gconf, .gdm maybe you can find the answers there.

 /me putting up the sheild for hiding from insufficient accuracy missiles

Yeah, I always alias ll=ls -laF, so they're never hidden from me. g

Anyway, the situation is that users logging onto this system, as most of
our systems, get their home directory automounted. However, this guy
hasn't been on this system most of the time I've tried to find this error.

Based on that, it's got to be somewhere in a *system* file, not in a home
directory, yet it complains:
gdm-simple-greeter[2361]: GLib-GIO-WARNING: Missing callback called
fullpath = /home/username/.face#012

Now, I found /var/lib/gdm, and have looked under .config, .gconf, and
.gconfd, and not found it. I have also killed the simple greeter, and it
respawned, and started griping again.

So, where is it storing this, and, more important, *WHY* is it caching
this? Ideally, I'd like to not only clear whatever's causing it now, but
also change the relevant system configuration file so that it doesn't
happen again.

 mark


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


Re: [CentOS] getting ftp log reports

2009-09-18 Thread m . roth
 Hello,
   I'm running pure-ftpd on a centos 5.3 machine. I'm encountering a
 situation where i need to get log reports of user logins and logouts and
 tracking the files got, atempted anonymous user logins those should
 preferably go in to a firewall rule block list, and atempted hack ins,
 same
 thing as anonymous user logins.
   Can anyone suggest a package for creating and then emailing say 3 to
 4 times a day reports of activity?

logwatch

mark

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


Re: [CentOS] getting ftp log reports

2009-09-18 Thread m . roth
 Hi,
   Thanks. I've installed logwatch. It definitely looks like what i'm
 looking for. I've got a question on customizations, point of confusion
 actually.
   In /usr/share/logwatch/default.conf are the default configs, nothing
 is in /usr/share/logwatch/dist.conf, and nothing in /etc/logwatch in terms
 of configs. Do i make changes to /usr/share/logwatch/default.conf/* files
 or
 copy them to their equivalent name place in /etc/logwatch and edit making
 changes to those?
   Thanks much.

I actually don't know. They run logwatch here, and I just look at the emails.

Every hour. Every day. Every machine

Anyway, looking through our configs, I see that what's in
/etc/logwatch/conf/logwatch.conf just says # Local configuration options
go here (defaults are in /usr/share/logwatch/default.conf/logwatch.conf).
So I gather that if the defaults are fine, go with that; if you want
something different, use the defaults as a guide, and put the local stuff
in etc.

 mark

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


Re: [CentOS] gdm-simple-greeter config?

2009-09-18 Thread m . roth
 grep face /home/username -r

 :)

Please. I'm not send me the directions how to set up ssl with my web
server.

I've tried, as last resorts,
find /var -type f -exec grep -il username/.face {} \;
and in addition to /var, I tried /etc and /tmp, and the *only* thing grep
gave me were the logfiles that had the entries.

Now, does anyone have any other suggestions?

   mark there's reasons I'm not hot on gnome
 --
 David Fix
 Senior Systems Administrator
 Mr. X Inc.


 - Original Message -
 From: m roth m.r...@5-cent.us
 To: CentOS mailing list centos@centos.org
 Sent: Friday, September 18, 2009 9:01:27 AM
 Subject: Re: [CentOS] gdm-simple-greeter config?

 Greetings,

 On Fri, Sep 18, 2009 at 8:34 AM, mark m.r...@5-cent.us wrote:
 itxakaserr...@gmail.com wrote:
 Enviado desde mi iPhone
 El 18/09/2009, a las 04:39, mark m.r...@5-cent.us escribió:
 R P Herrold wrote:
 On Thu, 17 Sep 2009, mark wrote:

 I have googled. I have find ...-exec grep. One server
 continues to send error messages to /var/log/messages that
 gdm-simple-greeter can't find some file in a user's (another
 admin, actually) home directory. Any ideas where it's
 getting it from?

 There are couple of directories starting with '.' (i.e. hidden ones)
 pertaining to gnome .gconf, .gdm maybe you can find the answers there.

 /me putting up the sheild for hiding from insufficient accuracy
 missiles

 Yeah, I always alias ll=ls -laF, so they're never hidden from me. g

 Anyway, the situation is that users logging onto this system, as most of
 our systems, get their home directory automounted. However, this guy
 hasn't been on this system most of the time I've tried to find this error.

 Based on that, it's got to be somewhere in a *system* file, not in a home
 directory, yet it complains:
 gdm-simple-greeter[2361]: GLib-GIO-WARNING: Missing callback called
 fullpath = /home/username/.face#012

 Now, I found /var/lib/gdm, and have looked under .config, .gconf, and
 .gconfd, and not found it. I have also killed the simple greeter, and it
 respawned, and started griping again.

 So, where is it storing this, and, more important, *WHY* is it caching
 this? Ideally, I'd like to not only clear whatever's causing it now, but
 also change the relevant system configuration file so that it doesn't
 happen again.

 mark


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



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


Re: [CentOS] gdm-simple-greeter config?

2009-09-18 Thread m . roth
 grep face /home/username -r

 :)

Oh, yes, the point I realized I should mention as I hit send: I thought
I mentioned that when I look at the log, that the user is NOT LOGGED ON,
and that the home directories were automounted at login.

   mark gnome, gnome and deranged

 --
 David Fix
 Senior Systems Administrator
 Mr. X Inc.


 - Original Message -
 From: m roth m.r...@5-cent.us
 To: CentOS mailing list centos@centos.org
 Sent: Friday, September 18, 2009 9:01:27 AM
 Subject: Re: [CentOS] gdm-simple-greeter config?

 Greetings,

 On Fri, Sep 18, 2009 at 8:34 AM, mark m.r...@5-cent.us wrote:
 itxakaserr...@gmail.com wrote:
 Enviado desde mi iPhone
 El 18/09/2009, a las 04:39, mark m.r...@5-cent.us escribió:
 R P Herrold wrote:
 On Thu, 17 Sep 2009, mark wrote:

 I have googled. I have find ...-exec grep. One server
 continues to send error messages to /var/log/messages that
 gdm-simple-greeter can't find some file in a user's (another
 admin, actually) home directory. Any ideas where it's
 getting it from?

 There are couple of directories starting with '.' (i.e. hidden ones)
 pertaining to gnome .gconf, .gdm maybe you can find the answers there.

 /me putting up the sheild for hiding from insufficient accuracy
 missiles

 Yeah, I always alias ll=ls -laF, so they're never hidden from me. g

 Anyway, the situation is that users logging onto this system, as most of
 our systems, get their home directory automounted. However, this guy
 hasn't been on this system most of the time I've tried to find this error.

 Based on that, it's got to be somewhere in a *system* file, not in a home
 directory, yet it complains:
 gdm-simple-greeter[2361]: GLib-GIO-WARNING: Missing callback called
 fullpath = /home/username/.face#012

 Now, I found /var/lib/gdm, and have looked under .config, .gconf, and
 .gconfd, and not found it. I have also killed the simple greeter, and it
 respawned, and started griping again.

 So, where is it storing this, and, more important, *WHY* is it caching
 this? Ideally, I'd like to not only clear whatever's causing it now, but
 also change the relevant system configuration file so that it doesn't
 happen again.

 mark


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



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


Re: [CentOS] gdm-simple-greeter config?

2009-09-18 Thread m . roth
 Hi,

 On Fri, Sep 18, 2009 at 11:42,  m.r...@5-cent.us wrote:
 grep face /home/username -r

 Please. I'm not send me the directions how to set up ssl with my web
 server.

 I've tried, as last resorts,
 find /var -type f -exec grep -il username/.face {} \;
 and in addition to /var, I tried /etc and /tmp, and the *only* thing
 grep
 gave me were the logfiles that had the entries.

 But you clearly have ADD or something...

Why is that?

 The file is probably referred in one of the .gnome*/.gconf* files
 inside the home directory. Just because the home is not mounted at the
 time of login it doesn't mean that the gdm-greeter won't mount it,
 then read its config files from there, then try to look for the
 missing file.
snip
Oh, so the answer to my question is that gnome's simple greeter is reading
*his* configuration files - is this as he's logging on? - from his home
directory.

However, I don't see the message from any other server (and we have a good
number), so I don't understand why it wouldn't show up from another 10-30
machines.

But obviously I'm missing something that you're overlooking in your
over-familiarity with gnome and gnome-simple-greeter.

 mark


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


Re: [CentOS] gdm-simple-greeter config?

2009-09-18 Thread m . roth
 Hi,

 On Fri, Sep 18, 2009 at 11:54,  m.r...@5-cent.us wrote:
 grep face /home/username -r

 However, I don't see the message from any other server (and we have a
 good number), so I don't understand why it wouldn't show up from another
 10-30 machines.

 Well, did you at least *look* in his home directory? If you look and
 it's not there, it's probably something else, but I don't think you
 should discard that before actually looking at it.

I really don't see that I need to: his home directory's on another system,
and I don't see it happening from logs from any other system running gnome
when he logs on, and he tells me he doesn't know anything about it,
either, and since he's been a sysadmin here for years, and knows the
systems, I believe him.

It has to be stored somewhere on this one server. Can you suggest any
reason that you think it's not?

*IF* I understand this correctly, the simple greeter shows up when you
wake up the screensaver, and displays the names of those recently logged
in, and it *seems* as though it can also display pictures. Given the
location and filename, I was assuming that it gets them that way. which
would imply that it might work *if* the home directory was always mounted,
not automounted on logon.

With those assumptions, my guess was that there's a configuration that
tells it to look in a user's home directory for such a file.

 mark

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


Re: [CentOS] CentOS for non-tech user

2009-09-24 Thread m . roth
 On Thursday 24 September 2009 12:38:12 Sorin Srbu wrote:
 -Original Message-
 Of Anne Wilson
 Sent: Thursday, September 24, 2009 1:27 PM
snip
 box, which is where I'm testing what's available for her, but
 kipi-plugins isn't found be yum list or yum search.  Strange when
libkipi is there.

 Have you checked eg pbone.net for some suitable rpm's? Assuming all
 dependencies are met from before, you could install them manually.

 Yes, I checked pbone - but only for centos.
snip
I'd add in the search RHELyour release, at least to start. Beyond that,
some other distro, such as mandrake, may have compatible rpms.

 mark


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


Re: [CentOS] CentOS for non-tech user

2009-09-24 Thread m . roth
 Anne Wilson wrote:
 I'm thinking of giving CentOS to a non-tech user for her new desktop.
 He
 needs are small.  She has been used to Mozilla for both mail and
 browsing, so
 equivalents there are not a problem.  She needs grip and lame, for her
 mp3s -
 again no problem.

 Desktop, non-techie - use Ubuntu instead.
snip
A few comments: let me note that ESR uses ubuntu. I, on the other hand,
don't. A few years ago, I was on a contract in the middle of bloody
nowhere in western NC, and wound up in a motel room by the month that had
only wireless, so I had to go out and buy a wireless card for my tower. I
was also upgrading from RH9, and wasn't going to pay for RHEL, and my
opinion of fedora at the time, as well as several other folks opinion,
including Eric's, was that it was bleeding edge, rather than leading edge.
I also didn't know about CentOS.

So I tried live CDs of ubuntu and SuSE. ubuntu couldn't figure out what to
do with my wireless card, while SuSE thought about it for 30 sec, and a
window popped up, telling me I had a new wireless card, and would I like
to configure it. I eventually upgraded to opensuse 10.3

Just in the month, I went up to CentOS 5.3. Now, there was one major
problem: it could figure wirelesss, but unlike my year+ old opensuse, it
didn't know WPA, and I went through days of grief until I got that
going... so beware of that (and I'm *very* unhappy that it is such a song
and dance to get that working... but I don't have time, with a new job, to
spend time writing something that will do it all).

The other thing is that ubuntu does some things I consider odd, and puts
some things in odd places (say, not having your web stuff under /var/www,
etc).

So, pick your poison. g

  mark

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


Re: [CentOS] CentOS for non-tech user

2009-09-25 Thread m . roth
 Anne Wilson wrote:
 On Thursday 24 September 2009 20:03:04 Curt Mills wrote:
 On Thu, 24 Sep 2009, Anne Wilson wrote:
 On Thursday 24 September 2009 17:50:37 Ron Loftin wrote:
 My image of the low-tech user is the one who surfs the Web, reads
 and
 writes e-mail, and does the odd letter or maybe even a spreadsheet in
 some office tool, along with maybe some simple games.  My experience
 with this category of user is that when they stumble across something
 unfamiliar or want some additional function, they pick up the phone
 and call me.
 I recognise that description ;-D
 It's the Give a man a fish/Teach a man to fish scenario.

 Some people would rather visit the fishmonger, and it's their right to
 make that decision.

 Or, teach a man to fish and he'll waste the rest of his life sitting in a
 boat drinking beer?

I was trying to avoid responding... sorry, but my instant reaction to
fishmonger was from the Asterix comics, Unhygienic the fishmonger

  mark

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


Re: [CentOS] samba file locking

2009-09-25 Thread m . roth
 Hi,

 On Fri, Sep 25, 2009 at 08:07, janezkosmr janezko...@volja.net wrote:
 I encountered an interesting problem. We have a Java application on a
 samba server. The folder is then shared to the clients via a samba
snip
 When a developer copies a new jar to the folder which is shared via
 samba. And if this copying is done by scp strange things start
 happening. After a few clicks the application stops working returning
 NoClassDeffFound, even if the file is there and readable. After that it
snip
 I believe the problem is that you are rewriting the file on the server
 (with scp) while it is open on the clients (using NFS? or mounted
 CIFS?). As the clients have the file open they will have parts of it
 cached, and those parts will be updated on the server but the cache
 will persist on the client for sometimes quite a long time, or until
 you unmount the network filesystem, which it seems is what you are
 currently doing to fix the issue.

 I would suggest that you change the procedure to update the .jar file.
snip
You're on linux. I'd agree with changing the procedure, but to
scp filename.datetimestamp
ln -s filename.datetimestamp filename

  mark


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


Re: [CentOS] how to implement java in firefox ?

2009-09-25 Thread m . roth
 Wed, Sep 23, 2009 at 7:14 PM, mark m.r...@5-cent.us wrote:
 Lanny Marcus wrote:
 On Mon, Sep 7, 2009 at 4:55 PM, Clint Dilks cli...@scms.waikato.ac.nz
 wrote:
 I have some pb for running java on my system with Firefox 3.0.12
 System centos 5.3 - kernel 2.6.18-128 x86_64

 When I tested my java config on
 http://www.java.com/en/download/installed.jsp?detect=jretry=1
 http://www.java.com/en/download/installed.jsp?detect=jretry=1 I
 have always the message that plugin missed : Java Runtime
 Environnemtn
 is not present.

 What I need to do for implemented full java in firefox ?
 snip
 If you have  sun java 1.6 .*  installed on a 32 Bit system you need to
 create a link from libjavaplugin_oji.so to one of your plugin
 directories such as /usr/lib/mozilla/plugins.  Once this is done you
 should see something similar to the following in about:plugins

    Java(TM) Plug-in 1.6.0_10-b33

    File name: libjavaplugin_oji.so
    Java(TM) Plug-in 1.6.0_10

 snip

 I want to resurrect this thread. Some time ago, I got the JRE, but
 had the same  problem as the OP.     This box is CentOS 5.3   (32 bit)
 fully updated. Firefox 3.04.14.   I have jre1.6.0_13 installed.   In
 usr/lib/mozilla/plugins   when I make the link, as the root user, the
 permissions seem to be the same as for the link for libflashplayer.so
 but when I go back to my regular user account and launch Mozilla
 Firefox, it crashes. Is that because I had the java.com site open in
 the browser, before  making the link as the root user? I removed the
 link, temporarily.  What do I need to do, to make the link work
 properly?      TIA!

 Gee, flashplayer

 I reported a bug to the firefox team early last week. *Every* time I
 tried to
 use flash under either 3.0.14 or 3.5.3, firefox crashed. Hard.

 They *finally* found the bug: there's an undocumented dependency on
 libcurl, so
 if you install the curl rpm (both, if you're running 64-bit), it'll
 work.

 Mark: Thank you. I am running CentOS 5.332 bit. Do I need to yum
 install libcurl or libcurl and curl? TIA! Lanny

yum install curl (or update curl). The curl package includes libcurl. And
I'm on 5.3 32 bit at home (where I tried it first), and 64 bit at work.

Oh, and if you're interested, it was Bug 515672.

mark

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


Re: [CentOS] CentOS for non-tech user

2009-09-29 Thread m . roth
 m.r...@5-cent.us a écrit :

 I also have CentOS at home. There are quirks, though: for example, I
 tried to run kaffeine last night, and it couldn't find libkaffeinepart.so.
 I tried adding /opt/kde3/lib to LD_LIBRARY_PATH, to LOAD_LIBwhatever,
 and even did an ldconfig, and it *still* can't find it (I run icewm, btw,
 not KDE).

 Kaffeine is basically Xine for KDE. Since you're running IceWM, you
 might as well give Xine or Gxine (no Gnome deps) a spin.

I might... but I *really* want to know *why* it can't find the library,
that's right there. That's problems waiting to happen.

   mark

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


[CentOS] selinux...

2009-10-07 Thread m . roth
Have I mentioned that I am less than enthralled with selinux?

My latest issue is continuing messages in the /var/log/messages, which
complain, for example, that siteminder can't write to smagent log (well,
it can, since we've got selinux in permissive mode, and no, we have no
control over using either siteminder or selinux).

I've done what it says will solve the problem. A number of times.
Discussing it with my manager, it seems as though selinux DOES NOT HAVE
CORRECT ERROR HANDLING, and is falling through to a default error, and is
*not* telling me the true cause.

Anyone else seen this? Clues for the poor? (And please, if you're going to
say anything about getting rid of either, just don't: as I said, we have
*zero* control over what the security people, or upper management,
demand.)

mark

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


<    2   3   4   5   6   7   8   9   10   11   >