Re: [CentOS] Adding an 'official' CentOS image to the Amazon EC2 (Electronic Compute Cloud)

2009-05-06 Thread Jason Aubrey
I don't know if it's xen under the hood or not (not much experience
with this sort of thing).  However, 'xen' is mentioned in the
following link which I'm following so perhaps it is xen related:
http://docs.amazonwebservices.com/AWSEC2/2009-03-01/DeveloperGuide/index.html?ami-via-loopback.html

I'm not all the way through this link so I can't vouch for it's
utility but it's good thus far.

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


Re: [CentOS] Ghostscript in 5.3

2009-05-06 Thread Mogens Kjaer
MHR wrote:
> Ever since I updated to 5.3, I have been unable to convert any ps
> files to pdfs using the ps2pdf command.  I usually get errors like
> this:
> 
> [...@mhrichter forms]$ ps2pdf doe81008
> ERROR: /undefinedfilename in (doe81008)

Does the file doe81008 exist?

If you have a doe81008.ps file that needs to
be converted to doe81008.pdf, write:

$ ps2pdf doe81008.ps doe81008.pdf

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding an 'official' CentOS image to the Amazon EC2 (Electronic Compute Cloud)

2009-05-06 Thread Gavin Carr
On Wed, May 06, 2009 at 10:11:07PM -0700, Michael A. Peters wrote:
> I run CentOS inside a xen at linode - they have a 5.0 image and I 
> believe a 4.x image. They only have i386, I don't know if a home brewed 
> x86_64 image would work but it doesn't really matter for me since I'm 
> only using my instance as a web server (fully updated to 5.3, and 
> customized with EPEL and my own php build).

Linode now do CentOS 5.2, both i386 and x86_64, according to this:

  http://www.linode.com/faq.cfm

Cheers,
Gavin

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


Re: [CentOS] Adding an 'official' CentOS image to the Amazon EC2 (Electronic Compute Cloud)

2009-05-06 Thread Michael A. Peters
Jason Aubrey wrote:
> I'm starting to use the EC2 cloud (as are others) and noticed that all
> the available CentOS images seem to be of dubious origin.
> I think it would further the reputation and popularity of CentOS if it
> were represented in an official way.
> 
> In case people aren't aware, when you create an AWS (Amazon Web
> Services) account there's a management console that shows a list of
> available images.  Of this list, some are published by Amazon, others
> are uploaded anonymously, or you can upload your own.

I haven't heard of it before. It looks interesting.
Is it basically a xen, or is it it's own environment?

I run CentOS inside a xen at linode - they have a 5.0 image and I 
believe a 4.x image. They only have i386, I don't know if a home brewed 
x86_64 image would work but it doesn't really matter for me since I'm 
only using my instance as a web server (fully updated to 5.3, and 
customized with EPEL and my own php build).

Anyway, I suspect xen (or similar) virtual machines are soon to be the 
standard way non-managed web serving accounts with shell access is done.

My previous host - the people were good, I requested some perl / tcl 
modules and they were installed, but then when they upgraded the OS my 
site broke and I had to request them again. Then they changed server 
operating systems (a good move - they were running a bleeding edge 
distro and they moved to debian stable) the uid/gid of apache changed 
and they didn't use the old uid/gid breaking apache write permission and 
I could not run chown myself so I had to file a ticket, etc. - with xen 
virtual machines, I never have to file a request ticket as I have root 
so it is better both for me and the hosting company and it is 
inexpensive enough that it undoubtedly will soon be the standard way 
anything more than basic web hosting and less than managed web hosting 
is done.

To get to my point, I think it would thus be beneficial for CentOS to 
produce an official virtual machine image for servers that providers can 
use and/or users can upload and use on providers that don't offer a 
CentOS image.

It should be a small image with basically just the server install, once 
running in xen users can yum install whatever they need to their hearts 
content.

I don't know who created the image linode uses, it was missing some 
stuff a server should have (IE screen and alpine, though alpine I 
believe is EPEL and not rhel/centos) but was missing very little and was 
a very complete basic server.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding an 'official' CentOS image to the Amazon EC2 (Electronic Compute Cloud)

2009-05-06 Thread Sean Carolan
> Interestingly one is available from Amazon for both Fedora and Windows.

I would also like to see a plain vanilla, minimal 64 bit centos image
on Amazon AWS.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Adding an 'official' CentOS image to the Amazon EC2 (Electronic Compute Cloud)

2009-05-06 Thread Jason Aubrey
I'm starting to use the EC2 cloud (as are others) and noticed that all
the available CentOS images seem to be of dubious origin.
I think it would further the reputation and popularity of CentOS if it
were represented in an official way.

In case people aren't aware, when you create an AWS (Amazon Web
Services) account there's a management console that shows a list of
available images.  Of this list, some are published by Amazon, others
are uploaded anonymously, or you can upload your own.  Given the
dubious nature of an anonymous image and a lack of an Amazon image for
CentOS, I'm left in the third camp - creating/bundling/uploading my
own.  Luckily I have the required 64 bit hardware to generate a 64 bit
image!  Selfishly I'd love to just start up an existing image
published by centos.org but one's not available.

Interestingly one is available from Amazon for both Fedora and Windows.

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


Re: [CentOS] Ghostscript in 5.3

2009-05-06 Thread Frank Cox
On Wed, 06 May 2009 14:24:56 -0700
MHR wrote:

> Anyone else seeing problems like this?

No.

I use ps2pdf to convert files on Centos 5.3 several dozen times every week and
haven't discovered any issues yet.

Are you sure your input files are correct?

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


[CentOS] Ghostscript in 5.3

2009-05-06 Thread MHR
Ever since I updated to 5.3, I have been unable to convert any ps
files to pdfs using the ps2pdf command.  I usually get errors like
this:

[...@mhrichter forms]$ ps2pdf doe81008
ERROR: /undefinedfilename in (doe81008)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:102/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1

I can print the ps file just fine, but I wanted to save it in pdf
format instead of ps format, and that's not working.

I can use my VM WinXP machine and Adobe Photoshop Elements to do this,
but I prefer not having to fire up the VM for this.

Anyone else seeing problems like this?

Thanks.

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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread John R Pierce
Timo Schoeler wrote:
> However, one has to clearly distinct JFS from JFS2... (at least in the
> AIX world, see wikipedia which states 'In the other operating systems,
> such as OS/2 and Linux, only the second generation exists and is called
> simply JFS.[3] This should not be confused with JFS in AIX that actually
> refers to JFS1.' [0])
>   

the AIX I worked with, 5.3L, supports both JFS[1] and JFS2...  They are 
very similar structurally, JFS2 just supports larger volumes.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] jigdo images

2009-05-06 Thread Shad L. Lords
Ralph Angenendt wrote:
>> I have been looking what Fedora is (or was) doing with Jigdo. It seems 
>> to solve some problems and create new ones[1].
> 
> Let me look into that.

 From the os directory something like this should produce jigdo 
files/templates for all associated iso files.

for arch in i386 x86_64
do
 rsync -a --delete --delete-excluded \
 --exclude 'repodata/' --exclude 'EULA' \
 --exclude 'GPL' --exclude 'NOTES/' \
 --exclude 'RELEASE-NOTES*' --exclude 'RPM-GPG-KEY*' \
 --link-dest=../$arch/ $arch/ ${arch}.jigdo/

 for iso in $(find ../isos/i386/ -name '*.iso' -size +10)
 do
 jigdo-file make-template --force -i $iso \
 -j ${iso%.iso}.jigdo -t ${iso%.iso}.template \
 --label CentOS=$arch.jigdo/ \
 --uri CentOS=http://mirror.centos.org/centos/5/os/$arch/ \
 ${arch}.jigdo//
 done
done

After the files/templates are created they can be moved to a 
different/better location as well as updating the Servers section if 
desired.

Hope this helps someone,

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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Timo Schoeler
John R Pierce wrote:
> Ralph Angenendt wrote:
>> BTW: ext3 handles "Out of power" corruptions better than xfs does.
>>   
> 
> 
> power failure is -not- the only cause of this sort of condition...   
> noone here has ever had a kernel panic? I had a perfectly good 
> server panic shortly after a cooling fan had failed combined with 
> above-normal room temperatures due to somewhat overloaded HVAC. CPU 
> got hot (but not hot enough to trigger its thermal trip) and get some 
> kind of cache error that was a fatal bugcheck in the CPU.
> 
> I'm somewhat surprised the Linux community hasn't embraced IBM's JFS... 
> I know its supported in many distributions (but not RH natively), 
> however its out there in the "also runs" department.   Being rather 
> conservative by nature,  I've only used JFS with AIX due to this, but 
> found it to be a -very- robust file system with very good all around 
> performance in a wide range of scenarios (really big files, as well as 
> really large numbers of small files).

Same here (however, I was putting XFS into game first); JFS on AIX is
very stable.

However, one has to clearly distinct JFS from JFS2... (at least in the
AIX world, see wikipedia which states 'In the other operating systems,
such as OS/2 and Linux, only the second generation exists and is called
simply JFS.[3] This should not be confused with JFS in AIX that actually
refers to JFS1.' [0])

HTH,

Timo

[0] -- http://en.wikipedia.org/wiki/JFS_(file_system)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread John R Pierce
Ralph Angenendt wrote:
> BTW: ext3 handles "Out of power" corruptions better than xfs does.
>   


power failure is -not- the only cause of this sort of condition...   
noone here has ever had a kernel panic? I had a perfectly good 
server panic shortly after a cooling fan had failed combined with 
above-normal room temperatures due to somewhat overloaded HVAC. CPU 
got hot (but not hot enough to trigger its thermal trip) and get some 
kind of cache error that was a fatal bugcheck in the CPU.

I'm somewhat surprised the Linux community hasn't embraced IBM's JFS... 
I know its supported in many distributions (but not RH natively), 
however its out there in the "also runs" department.   Being rather 
conservative by nature,  I've only used JFS with AIX due to this, but 
found it to be a -very- robust file system with very good all around 
performance in a wide range of scenarios (really big files, as well as 
really large numbers of small files).


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


Re: [CentOS] SSH problems - command not found (SOLVED)

2009-05-06 Thread George Alexandru Dudău
Hi all,

After some search i find that openssh-client was missing.
This was all my problems. Is strange because on CentOS 5.2 
openssh-client was present but after upgrade to 5.3 (with yum) don't.

Thank you all for advices.

Geo

-- 
George Alexandru Dudău
CORE IT MEX - Grupul de firme MOBEXPERT
Network administrator | proiecte web | proiecte speciale

Tel : +40 21 2421040-1139 
http://www.itmex.ro

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


Re: [CentOS] Apache and CF

2009-05-06 Thread Jason Todd Slack-Moehrle
Hi Rick,

I uninstalled CF and re-installed, followed your steps and I am in  
business baby!

Thank you so so so much, I was banging my head against the wall for  
days.

Truly legendary help!

This whole list rocks so much. I am learning and not getting  
criticized for not understanding completely from the beginning.

-Jason

On May 5, 2009, at 8:57 AM, Rick Barnes wrote:

> Jason Todd Slack-Moehrle wrote:
>> Hi All,
>>
>> I have a CentoS 5.3 Xen Instance at Mosso.
>>
>> I need to run ColdFusion and I have in the past successfully made
>> everything work, but not on Linux rather Windows.
>>
>> I just cannot get Apache and CF talking. I added mod_jrun22, When I
>> try to serve a CF file, I am asked to download binary data. I
>> added .cfm and .cfml to Directory Index for /var/www/html in
>> httpd.conf and nothing still.
>>
>> I have been trying to get this working for days.
>
> It is been awhile since I installed CF8. But after running the
> installer, start CF8 with:
> $ /etc/init.d/coldfusion_8 start
>
> Be sure to install httpd-devel as the connector script needs apxs.
>
> $ cd /opt/coldfusion8/runtime/bin
> $ ./wsconfig -server coldfusion -ws Apache -bin /usr/sbin/httpd \
> -script /etc/init.d/httpd -dir /etc/httpd/conf -coldfusion -v
>
> This should install the connector and restart Apache for you (edit as
> necessary). Then login to http://localhost/CFIDE/ to complete.
>
> If apache doesn't restart dpe to permissions, it could be SElinux
> $ chcon --reference=/usr/sbin/httpd \
> /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.so
> usually fixes it for Enforcing. If not try Permissive.
>
> Rick
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

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


Re: [CentOS] Strange problem with filesystem changes reverting on reboot

2009-05-06 Thread jacob
I've had similar issues with certain brands of "hardware" raid
controllers. It was like the mirror didn't sync and it picked a random
drive on boot to be the master. So changes happened they just didn't
happen to both drives and on reboot the other drive without the changes
might/would become master and everything would seem to have vanished.

I fixed it by disabling the hardware raid and going with a pure software
RAID 1.

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Bart Schaefer
Sent: Wednesday, May 06, 2009 3:33 AM
To: CentOS mailing list
Subject: [CentOS] Strange problem with filesystem changes reverting on
reboot

Our sysadmin was doing midnight work on moving some hardware to new
power outlets.  We'd recently done a CentOS 5.3 install on one of
those machines and then "yum install" with the centosplus kernel and
some rpmforge packages.  It had been up and running fine for at least
two weeks in that configuration.  He sent this message:

On reboot the root file system seems to have reverted to the previous
startup -- no CentOS plus, no Dag repository info in /etc/yum.repos.d,
no xfs, and therefore no /var/lib/mysql.  This is at least the second
time we've experienced this phenomenon ... suffice to say I am really
really suspicious about ext3 now.

The previous time this occurred was quite some time ago, probably soon
after the CentOS 5.1 release -- we'd written it off as pilot error of
some kind.  The root is not an LVM, but it is on a software RAID -- my
suspicion leans more toward a RAID issue than ext3.

Does any of this sound familiar to anyone?
___
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] fs for > 16 TiB partition

2009-05-06 Thread Gary Greene
> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Ralph Angenendt
> Sent: Wednesday, May 06, 2009 3:55 AM
> To: centos@centos.org
> Subject: Re: [CentOS] fs for > 16 TiB partition
> 
> Rainer Duffner wrote:
> > It's running in a datacenter with UPSs. But once I reboot 
> it, it it's
> > the "fsck-every-n-days" thing.
> > 
> > I don't think it's a good idea to disable that behaviour.
> 
> Hmmm. xfs will not do that, the normal behaviour is not check the file
> system on every nth reboot. I normally have turned that off with ext3,
> too - if the system goes down unexpectedly, then I normally do one.
> 
> BTW: ext3 handles "Out of power" corruptions better than xfs does.
> 
> Ralph
> 

While the fsck.xfs essentially is nothing more than a /bin/true, do note that 
if you EVER need to run xfs_check or xfs_repair, you need mre than a fair 
amount of RAM to properly check the volume. See the following URL for the gory 
details:
http://oss.sgi.com/archives/xfs/2005-08/msg00391.html

--
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kghostview and xdg-open. Need to fix problem across whole system

2009-05-06 Thread Rex Dieter
Paul Johnson wrote:

> In Centos 5.3, a bad problem has surfaced in user land. We want to use
> either Evince or Adobe acroread as the pdf view, but the update of
> kdegraphics has somehow screwed up these systems so that the odious,
> horrible, awful pdf viewer kghostview is used.  

It's most likely Acrobat Reader that f#$#$#d up here.  It mucks with system 
copies of mimetypes, etc... 

My guess is that kdegraphics update simply replaced the muck'd system copies 
with known good ones.

Now, opening pdf's from where is causing problems?  Say, opening in 
nautilus, a webbrowser, what?

-- Rex


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


Re: [CentOS] Strange problem with filesystem changes reverting on reboot

2009-05-06 Thread Les Mikesell
Bart Schaefer wrote:
> Our sysadmin was doing midnight work on moving some hardware to new
> power outlets.  We'd recently done a CentOS 5.3 install on one of
> those machines and then "yum install" with the centosplus kernel and
> some rpmforge packages.  It had been up and running fine for at least
> two weeks in that configuration.  He sent this message:
> 
> On reboot the root file system seems to have reverted to the previous
> startup -- no CentOS plus, no Dag repository info in /etc/yum.repos.d,
> no xfs, and therefore no /var/lib/mysql.  This is at least the second
> time we've experienced this phenomenon ... suffice to say I am really
> really suspicious about ext3 now.
> 
> The previous time this occurred was quite some time ago, probably soon
> after the CentOS 5.1 release -- we'd written it off as pilot error of
> some kind.  The root is not an LVM, but it is on a software RAID -- my
> suspicion leans more toward a RAID issue than ext3.
> 
> Does any of this sound familiar to anyone?

The only way I can even imagine that happening would be on a RAID1 where 
  the mirrors were not in sync when you made the changes so they only 
happened on one drive.  There are reasonably common circumstances to 
cause this, so you should always check with 'cat /proc/mdstat' to be 
sure both mirrors are active.  Then, the more unlikely part is that when 
you rebooted, the previously active mirror was not recognized and the 
previously idle mirror became active instead.  Again, 'cat /proc/mdstat' 
would have shown the problem - and if that was it, unless the drives had 
started to sync the wrong direction, the quick fix would have been to 
simply remove the drive with the old contents, forcing the other one to 
be used.   One possibility here would be that the partition type on the 
drive that didn't join the raid at reboot was not set to 'FD' for 
autodetect.   And the one that had the old contents might have had some 
error that caused it to be kicked out of the set earlier - the system 
does seem to be very sensitive about that where if there is only one 
drive it will do many more retries.

-- 
Les Mikesell
  lesmikes...@gmail.com

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


Re: [CentOS] Strange problem with filesystem changes reverting on reboot

2009-05-06 Thread Alexx
Bart Schaefer пишет:
*snipped content*
> 
> On reboot the root file system seems to have reverted to the previous
> startup -- no CentOS plus, no Dag repository info in /etc/yum.repos.d,
> no xfs, and therefore no /var/lib/mysql.  This is at least the second
> time we've experienced this phenomenon ... suffice to say I am really
> really suspicious about ext3 now.
> 
> The previous time this occurred was quite some time ago, probably soon
> after the CentOS 5.1 release -- we'd written it off as pilot error of
> some kind.  The root is not an LVM, but it is on a software RAID -- my
> suspicion leans more toward a RAID issue than ext3.
> 
> Does any of this sound familiar to anyone?

Yep, it does.

I run some cluster and its gLite middleware on Scientific Linux 3.x
("flavour" of RHEL 3). Its "/" has been put to software RAID1, the same
thing you described has happened several times. After reboot (not
necessarily the first one) just about everything in file system reverted
to the previous state. Just like after the fresh install, *poof*

Currently I'm using Scientific Linux 4.7 on LVM in the mix with software
RIAD1. So far so good.

I didn't have time to experiment with software RIAD1 after stuff
disappeared. It had to be installed fast and put into operation, so I
just abandoned software RAID, and have no clue what was the reason and
how the issue could be solved.

Will be glaв if someone could shed the lite on this.

Cheers,
Alexei Altuhov.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Ralph Angenendt
Rainer Duffner wrote:
> It's running in a datacenter with UPSs. But once I reboot it, it it's
> the "fsck-every-n-days" thing.
> 
> I don't think it's a good idea to disable that behaviour.

Hmmm. xfs will not do that, the normal behaviour is not check the file
system on every nth reboot. I normally have turned that off with ext3,
too - if the system goes down unexpectedly, then I normally do one.

BTW: ext3 handles "Out of power" corruptions better than xfs does.

Ralph


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


Re: [CentOS] jigdo images

2009-05-06 Thread Ralph Angenendt
Marcelo M. Garcia wrote:
> Ralph Angenendt wrote:
> > Marcelo M. Garcia wrote:
>>> Or is there a jigdo project for CentOS?
>> 
>> Want to start one? Join the centos-devel mailing list and make a thought out
>> proposal on there >:)
> 
> The reason I'm asking about Jigdo is because some firewall blocks 
> torrent and some proxies (like here in the office) block file with the 
> kind of size of a DVD image. After using jigdo to download Debian 
> images, which uses wget to download small files, I got the impression 
> that was a good way to solve both problems.

As said, if you have some insight into Jigdo and want to help with
CentOS supporting that, feel free to step forward.

> I have been looking what Fedora is (or was) doing with Jigdo. It seems 
> to solve some problems and create new ones[1].

Let me look into that.

> Maybe now I understand why there is an entry in CentOS wiki on how to 
> create a DVD from the CDs[2].

That mostly is there because not all mirrors carry the DVDs. There are
more doing that now, when that page was written, there were much less
mirrors doing that, especially as Apache < 2.2.x could not deliver files
larger than 2 GB.

Cheers,

Ralph


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


[CentOS] Strange problem with filesystem changes reverting on reboot

2009-05-06 Thread Bart Schaefer
Our sysadmin was doing midnight work on moving some hardware to new
power outlets.  We'd recently done a CentOS 5.3 install on one of
those machines and then "yum install" with the centosplus kernel and
some rpmforge packages.  It had been up and running fine for at least
two weeks in that configuration.  He sent this message:

On reboot the root file system seems to have reverted to the previous
startup -- no CentOS plus, no Dag repository info in /etc/yum.repos.d,
no xfs, and therefore no /var/lib/mysql.  This is at least the second
time we've experienced this phenomenon ... suffice to say I am really
really suspicious about ext3 now.

The previous time this occurred was quite some time ago, probably soon
after the CentOS 5.1 release -- we'd written it off as pilot error of
some kind.  The root is not an LVM, but it is on a software RAID -- my
suspicion leans more toward a RAID issue than ext3.

Does any of this sound familiar to anyone?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH problems - command not found

2009-05-06 Thread Andrew Colin Kissa

On 06 May 2009, at 10:57 AM, Marcelo M. Garcia wrote:

> George Alexandru Dudău wrote:
>> Hi All,
>>
>> I have a strange problem with  ssh on CentOS 5.3:
>>
>> 1. I make a ssh connection from computer X to Y => OK
>> 2. When i try to conect from Y to Z i receive a strange message:
>>
>> -bash: ssh: command not found
>>
>> (normal and root user)
>>
>> #which sshd
>> /usr/sbin/sshd
>>
>> The sshd daemon it's on  (see nr.1)
>>
>> So connection to   Y it's OK, but from Y to another computer don't.  
>> Even
>> back to X don't work
>>
>> Any advice?
>>
>> Thank you!
>>
>> P.S - sorry for my bad english
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> Hi
>
> I also think you have some packages missing. In my CentOS-5.3, I have
> the following packages:
> # rpm -qa | grep ssh:
> openssh-4.3p2-29.el5
> openssh-clients-4.3p2-29.el5
> openssh-server-4.3p2-29.el5
> openssh-askpass-4.3p2-29.el5
>
> Regards
>
> mg.

SSH client is at /usr/bin/ssh it seems there is a problem with your  
$PATH if /usr/bin is not in the PATH.


>
>
> ___
> 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] jigdo images

2009-05-06 Thread Marcelo M. Garcia
Ralph Angenendt wrote:
> Marcelo M. Garcia wrote:
>> Hi
>>
>> Is there a jigdo image available for CentOS-5.3? 
> 
> No. Several people have looked into it, but either haven't understood jigdo or
> lost interest in it.
> 
>> Or is there a jigdo project for CentOS?
> 
> Want to start one? Join the centos-devel mailing list and make a thought out
> proposal on there >:)
> 
> Cheers,
> 
> Ralph - who hasn't really understood jigdo and then lost interest =:)
> 
Hi Raplh

The reason I'm asking about Jigdo is because some firewall blocks 
torrent and some proxies (like here in the office) block file with the 
kind of size of a DVD image. After using jigdo to download Debian 
images, which uses wget to download small files, I got the impression 
that was a good way to solve both problems.

I have been looking what Fedora is (or was) doing with Jigdo. It seems 
to solve some problems and create new ones[1].

Maybe now I understand why there is an entry in CentOS wiki on how to 
create a DVD from the CDs[2].

Regards

mg.

[1] http://fedoraproject.org/wiki/Features/JigdoRelease
[2] http://wiki.centos.org/TipsAndTricks/CDtoDVDMedia

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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tthus Rainer Duffner spake:
| Adrian Sevcenco schrieb:
|> Rainer Duffner wrote:
|>
|>> Adrian Sevcenco schrieb:
|>>
|>>> Hi,
|>>> What would you recommend as an FS for an partition greater than 16 TiB?
|>>> This is for an production server (that is, no ext4 recommendations
|>>> please :) )
|>>> What experiences did you had with your preferred FS ? (good and not so
|>>> good points)
|>>>
|>>> Thank you,
|>>> Adrian
|>>>
|>>>
|>> Does anybody actually run such a thing on Linux?
|>>
|> We will ..
|
| That's not what I was asking ;-)
|
|
|> 2 X RAID6 each with 12 drives (24 drives machine)
|> with 2 TB drives .. that is 20 TBs each volume
|>
|>
|>> How long does a FSCK take once it's 80% populated?
|>>
|> i strongly hope that i will never know :))
|>
|
| It will fsck every n'th reboot anyway, or after so-and-so many days
| without fsck, after a reboot.
|
|> it have 2 redundant PSU each on different ups ...
|>
|>
|>> How much RAM does that need?
|>>
|> minimal .. is an storage only machine so 4 GB is enough as the
|> connection is only GigE
|>
|>
|
| I asked about the FSCK.
| Usually, it requires some RAM, too.
|
|
|>> The FSCK on my Virtuozzo-partition takes long enough - and it's only 500
|>> GB or so.
|>>
|> Even for home its efficient to have an ups for each machine..
|>
|
|
| It's running in a datacenter with UPSs. But once I reboot it, it it's
| the "fsck-every-n-days" thing.
|
| I don't think it's a good idea to disable that behaviour.
|
|
|
|
| Rainer

To shorten the fsck discussion with XFS (quoting the man page):

fsck.xfs(8)

NAME
~   fsck.xfs - do nothing, successfully

SYNOPSIS
~   fsck.xfs [ filesys ... ]

DESCRIPTION
~   fsck.xfs  is  called by the generic Linux fsck(8) program at
startup to
~   check and repair an XFS filesystem.  XFS is a journaling
filesystem and
~   performs  recovery  at  mount(8)  time if necessary, so fsck.xfs
simply
~   exits with a zero exit status.

~   If you wish to check the consistency of an XFS filesystem, or
repair  a
~   damaged  or corrupt XFS filesystem, see xfs_check(8) and
xfs_repair(8).

FILES
~   /etc/fstab.

SEE ALSO
~   fsck(8), fstab(5), xfs(5), xfs_check(8), xfs_repair(8).

See also: http://en.wikipedia.org/wiki/XFS

HTH,

Timo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFKAVoDfg746kcGBOwRAkCcAJ0T+g2rJbPJEH9DpPFPqAjJFhDTTACfS5vu
sIPqPMEZ56MBL9kMaV9HkiA=
=iWo6
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Rainer Duffner
Adrian Sevcenco schrieb:
> Rainer Duffner wrote:
>   
>> Adrian Sevcenco schrieb:
>> 
>>> Hi,
>>> What would you recommend as an FS for an partition greater than 16 TiB?
>>> This is for an production server (that is, no ext4 recommendations
>>> please :) )
>>> What experiences did you had with your preferred FS ? (good and not so
>>> good points)
>>>
>>> Thank you,
>>> Adrian
>>>   
>>>   
>> Does anybody actually run such a thing on Linux?
>> 
> We will .. 

That's not what I was asking ;-)


> 2 X RAID6 each with 12 drives (24 drives machine)
> with 2 TB drives .. that is 20 TBs each volume
>
>   
>> How long does a FSCK take once it's 80% populated?
>> 
> i strongly hope that i will never know :))
>   

It will fsck every n'th reboot anyway, or after so-and-so many days
without fsck, after a reboot.

> it have 2 redundant PSU each on different ups ...
>
>   
>> How much RAM does that need?
>> 
> minimal .. is an storage only machine so 4 GB is enough as the
> connection is only GigE
>
>   

I asked about the FSCK.
Usually, it requires some RAM, too.


>> The FSCK on my Virtuozzo-partition takes long enough - and it's only 500
>> GB or so.
>> 
> Even for home its efficient to have an ups for each machine..
>   


It's running in a datacenter with UPSs. But once I reboot it, it it's
the "fsck-every-n-days" thing.

I don't think it's a good idea to disable that behaviour.




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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Bent Terp
On Wed, May 6, 2009 at 11:27 AM, Bent Terp  wrote:
> Lesson learned: don't use xfs_grow unless you're in the general
> vicinity of the server ;-)

Correction: the command is xfs_growfs not xfs_grow

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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Bent Terp
On Wed, May 6, 2009 at 10:48 AM, Adrian Sevcenco
 wrote:
> Hi,
> What would you recommend as an FS for an partition greater than 16 TiB?
> This is for an production server (that is, no ext4 recommendations
> please :) )
> What experiences did you had with your preferred FS ? (good and not so
> good points)

We've got a 110 TB xfs system in production based on a logical volume
striped over 9 boxes of SATA disk, works like a charm with great
throughput as we stripe over 3 controllers :-)

Only whoopsie in 18+ months was when we recently added 3 more disk
boxes and I grew the filesystem. First attempt xfs_grow only added a
fraction of the available space. Second attempt gave a kernel panic.
Reboot and everything was fine with all space available.

Lesson learned: don't use xfs_grow unless you're in the general
vicinity of the server ;-)

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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Adrian Sevcenco
Rainer Duffner wrote:
> Adrian Sevcenco schrieb:
>> Hi,
>> What would you recommend as an FS for an partition greater than 16 TiB?
>> This is for an production server (that is, no ext4 recommendations
>> please :) )
>> What experiences did you had with your preferred FS ? (good and not so
>> good points)
>>
>> Thank you,
>> Adrian
>>   
> 
> 
> Does anybody actually run such a thing on Linux?
We will .. 2 X RAID6 each with 12 drives (24 drives machine)
with 2 TB drives .. that is 20 TBs each volume

> How long does a FSCK take once it's 80% populated?
i strongly hope that i will never know :))
it have 2 redundant PSU each on different ups ...

> How much RAM does that need?
minimal .. is an storage only machine so 4 GB is enough as the
connection is only GigE

> The FSCK on my Virtuozzo-partition takes long enough - and it's only 500
> GB or so.
Even for home its efficient to have an ups for each machine..

Adrian



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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Rainer Duffner
Adrian Sevcenco schrieb:
> Hi,
> What would you recommend as an FS for an partition greater than 16 TiB?
> This is for an production server (that is, no ext4 recommendations
> please :) )
> What experiences did you had with your preferred FS ? (good and not so
> good points)
>
> Thank you,
> Adrian
>   


Does anybody actually run such a thing on Linux?

How long does a FSCK take once it's 80% populated?
How much RAM does that need?

The FSCK on my Virtuozzo-partition takes long enough - and it's only 500
GB or so.



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


Re: [CentOS] SSH problems - command not found

2009-05-06 Thread Marcelo M. Garcia
George Alexandru Dudău wrote:
> Hi All,
> 
> I have a strange problem with  ssh on CentOS 5.3:
> 
> 1. I make a ssh connection from computer X to Y => OK
> 2. When i try to conect from Y to Z i receive a strange message:
> 
> -bash: ssh: command not found
> 
> (normal and root user)
> 
> #which sshd
> /usr/sbin/sshd
> 
> The sshd daemon it's on  (see nr.1)
> 
> So connection to   Y it's OK, but from Y to another computer don't. Even 
> back to X don't work
> 
> Any advice?
> 
> Thank you!
> 
> P.S - sorry for my bad english
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Hi

I also think you have some packages missing. In my CentOS-5.3, I have 
the following packages:
# rpm -qa | grep ssh:
openssh-4.3p2-29.el5
openssh-clients-4.3p2-29.el5
openssh-server-4.3p2-29.el5
openssh-askpass-4.3p2-29.el5

Regards

mg.


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


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Laurent Wandrebeck
2009/5/6 Timo Schoeler :
> Hi,
>
>> Hi,
>> What would you recommend as an FS for an partition greater than 16 TiB?
>> This is for an production server (that is, no ext4 recommendations
>> please :) )
>> What experiences did you had with your preferred FS ? (good and not so
>> good points)
>>
>> Thank you,
>> Adrian
>
> I personally would go XFS. Made the very best experiences of any
> filesystems I ever used (well, it was XFS on IRIX).
>
> Timo
Same here. Make sure to use an UPS though.
Laurent.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fs for > 16 TiB partition

2009-05-06 Thread Timo Schoeler
Hi,

> Hi,
> What would you recommend as an FS for an partition greater than 16 TiB?
> This is for an production server (that is, no ext4 recommendations
> please :) )
> What experiences did you had with your preferred FS ? (good and not so
> good points)
> 
> Thank you,
> Adrian

I personally would go XFS. Made the very best experiences of any 
filesystems I ever used (well, it was XFS on IRIX).

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


[CentOS] fs for > 16 TiB partition

2009-05-06 Thread Adrian Sevcenco
Hi,
What would you recommend as an FS for an partition greater than 16 TiB?
This is for an production server (that is, no ext4 recommendations
please :) )
What experiences did you had with your preferred FS ? (good and not so
good points)

Thank you,
Adrian


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


Re: [CentOS] SSH problems - command not found

2009-05-06 Thread James Bensley
sudo find / -name "ssh"

See if you can find ssh anywhere on the system?

-BEGIN GEEK CODE BLOCK-
  Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+) h--(++) r++ z++
--END GEEK CODE BLOCK--
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH problems - command not found

2009-05-06 Thread Harry Sukumar
Hi George,

i guess it could be the iptables ( blocking outbound traffic)

try iptables -F(flush) and then try ssh to  other machine 

If the above doesnt work try looking at your selinux

--
Harry

George Alexandru Dudău wrote:
> Hi All,
>
> I have a strange problem with  ssh on CentOS 5.3:
>
> 1. I make a ssh connection from computer X to Y => OK
> 2. When i try to conect from Y to Z i receive a strange message:
>
> -bash: ssh: command not found
>
> (normal and root user)
>
> #which sshd
> /usr/sbin/sshd
>
> The sshd daemon it's on  (see nr.1)
>
> So connection to   Y it's OK, but from Y to another computer don't. Even 
> back to X don't work
>
> Any advice?
>
> Thank you!
>
> P.S - sorry for my bad english
> ___
> 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] SSH problems - command not found

2009-05-06 Thread nate
George Alexandru Dudău wrote:

> So connection to   Y it's OK, but from Y to another computer don't. Even
> back to X don't work

Sounds like you don't have the openssh client package installed.

rpm -q -f `which ssh`

nate


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


[CentOS] SSH problems - command not found

2009-05-06 Thread George Alexandru Dudău
Hi All,

I have a strange problem with  ssh on CentOS 5.3:

1. I make a ssh connection from computer X to Y => OK
2. When i try to conect from Y to Z i receive a strange message:

-bash: ssh: command not found

(normal and root user)

#which sshd
/usr/sbin/sshd

The sshd daemon it's on  (see nr.1)

So connection to   Y it's OK, but from Y to another computer don't. Even 
back to X don't work

Any advice?

Thank you!

P.S - sorry for my bad english
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos