[CentOS] php 5.3 packages

2011-06-06 Thread Jakub Jedelsky
Hi all,

I want to install php 5.3 (php53-* packages) on customer's server with
Centos 5.6 but I see that there is only a few packages. Is there any
repo with compatibile packages (for php 5.1 I we can usually use rpforge)?

Thnaks,

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


Re: [CentOS] php 5.3 packages

2011-06-06 Thread Eero Volotinen
2011/6/6 Jakub Jedelsky :
> Hi all,
>
> I want to install php 5.3 (php53-* packages) on customer's server with
> Centos 5.6 but I see that there is only a few packages. Is there any
> repo with compatibile packages (for php 5.1 I we can usually use rpforge)?

IUScommunity provides 53u packages, but it is not compatible with  php 5.1

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


Re: [CentOS] php 5.3 packages

2011-06-06 Thread Keith Roberts
On Mon, 6 Jun 2011, Jakub Jedelsky wrote:

> To: CentOS mailing list 
> From: Jakub Jedelsky 
> Subject: [CentOS] php 5.3 packages
> 
> Hi all,
>
> I want to install php 5.3 (php53-* packages) on customer's 
> server with Centos 5.6 but I see that there is only a few 
> packages. Is there any repo with compatibile packages (for 
> php 5.1 I we can usually use rpforge)?

Yes, there is:

Name   : php
Arch   : i386
Version: 5.3.3
Release: 1.el5.remi
Size   : 3.4 M
Repo   : installed
Summary: The PHP HTML-embedded scripting language. (PHP: 
Hypertext
: Preprocessor)
URL: http://www.php.net/
License: PHP
Description: PHP is an HTML-embedded scripting language. PHP 
attempts to
: make it easy for developers to write 
dynamically generated
: webpages. PHP also offers built-in database 
integration for

Instructions for using remi and other third party repos are 
on the Centos Wiki.

Name   : remi-release
Arch   : noarch
Version: 5
Release: 7.el5.remi
Size   : 1.8 k
Repo   : installed
Summary: YUM configuration for remi repository
URL: http://remi.collet.free.fr
License: GPL
Description: This package contains yum configuration for the 
"remi" RPM
: Repository, as well as the public GPG keys used 
to sign them.
:
: The repository is not enabled after 
installation, so you must
: use the --enablerepo=remi option for yum.

HTH

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes
I managed tosolvethatproblem, butnowwhen I try tocreatetheisoofthe 
followingerror:

  File "/usr/sbin/revisor", line 324, in ?
revisorBase.run()
  File "/usr/lib/python2.4/site-packages/revisor/cli.py", line 42, in run
self.base.lift_off()
  File "/usr/lib/python2.4/site-packages/revisor/base.py", line 966, in 
lift_off

self.cfg.pkglist_selected_tups = self.cfg.yumobj.tsInfo.pkgdict.keys()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 671, in 


tsInfo = property(fget=lambda self: self._getTsInfo(),
  File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in 
_getTsInfo

pkgSack = self.pkgSack
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 662, in 


pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 502, in 
_getSacks

self.repos.populateSack(which=repos)
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 260, in 
populateSack

sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 168, in 
populate

if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 226, in 
_check_db_version

return repo._check_db_version(mdtype)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1233, in 
_check_db_version

repoXML = self.repoXML
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1406, in 


repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 1402, in 
_getRepoXML

raise Errors.RepoError, msg



Can someonehelp me !
T

Em 03-06-2011 12:07, John Doe escreveu:

From: Deivison Moraes

I wonder if therevisoris how to pick, with the CentOS installed only in text 
mode alsoworks, and also I'm having some problems with package dependencies are 
missing some packages to install the revisorbut still can not find ...
Error: Missing Dependency: python (abi)>  = 2.4 is needed by package reviewer
Error: Missing Dependency: pykickstart is needed by package reviewer
Error: Missing Dependency: python (abi) = 2.4 is needed by package reviewer
Error: Missing Dependency: yum>  = 3 is needed by package reviewer
Error: Missing Dependency: squashfs-tools package is needed by reviewer
Error: Missing Dependency: notify-python is needed by package reviewer

Maybe try 'yum localinstall' instead of rpm...

JD

___
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] Revisor

2011-06-06 Thread Jim Perrin
On Fri, Jun 3, 2011 at 6:20 AM, Deivison Moraes
 wrote:
> Hello, some of you are familiar with the revisor, and can help me with it?
> I wonder if the revisor
> is how to pick, with the CentOS installed only in text mode alsoworks,
> and also I'm having some problems with package dependencies are missing
> some packages to install the revisor but still can not find ...

I was always under the impression that revisor would not work properly
with el5 because the software deps in el5 were not recent enough.



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


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes

Em 06-06-2011 09:27, Jim Perrin escreveu:

On Fri, Jun 3, 2011 at 6:20 AM, Deivison Moraes
  wrote:

Hello, some of you are familiar with the revisor, and can help me with it?
I wonder if the revisor
is how to pick, with the CentOS installed only in text mode alsoworks,
and also I'm having some problems with package dependencies are missing
some packages to install the revisor but still can not find ...

I was always under the impression that revisor would not work properly
with el5 because the software deps in el5 were not recent enough.



Butwhich versiondoes it work?Therevisoris ofparamountimportancetowhat 
I'mdoing,does not operateinEL5haveto settle foranotherversion!

thanks !

--

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


Re: [CentOS] Revisor

2011-06-06 Thread Ljubomir Ljubojevic
Deivison Moraes wrote:
>   Em 06-06-2011 09:27, Jim Perrin escreveu:
>> On Fri, Jun 3, 2011 at 6:20 AM, Deivison Moraes
>>  wrote:
>>> Hello, some of you are familiar with the revisor, and can help me with it?
>>> I wonder if the revisor
>>> is how to pick, with the CentOS installed only in text mode alsoworks,
>>> and also I'm having some problems with package dependencies are missing
>>> some packages to install the revisor but still can not find ...
>> I was always under the impression that revisor would not work properly
>> with el5 because the software deps in el5 were not recent enough.
>>
>>
>>
> But which version does it work? The revisor is 
> of paramount importance to what I'mdoing, does not 
> operate in EL5 have to settle for another version ! 
> thanks !
> 
> -- 

EL6 should be out in less then 2 weeks. If should work without problems.

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


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes

Em 06-06-2011 09:49, Ljubomir Ljubojevic escreveu:

Deivison Moraes wrote:

   Em 06-06-2011 09:27, Jim Perrin escreveu:

On Fri, Jun 3, 2011 at 6:20 AM, Deivison Moraes
  wrote:

Hello, some of you are familiar with the revisor, and can help me with it?
I wonder if the revisor
is how to pick, with the CentOS installed only in text mode alsoworks,
and also I'm having some problems with package dependencies are missing
some packages to install the revisor but still can not find ...

I was always under the impression that revisor would not work properly
with el5 because the software deps in el5 were not recent enough.




But which version does it work? The revisor is
of paramount importance to what I'mdoing, does not
operate in EL5 have to settle for another version ! 
thanks !

--

EL6 should be out in less then 2 weeks. If should work without problems.

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

Thestable versionofEL6yousay?
Myfear islosingtwo weeksandthis newversionalsodoes not work...

[]`s

--

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


[CentOS] regex question

2011-06-06 Thread Joseph L. Casale
Hey guys,
I am trying to extract a pattern from a downloaded html file. I only want the 
first match
printed, problem is I don't know how to force sed to exit after printing the 
first match of
a capture group. Anyone know the trick to manipulating {p;q;} to print a 
capture group?

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


Re: [CentOS] Revisor

2011-06-06 Thread Patrick Lists
On 06/06/2011 02:58 PM, Deivison Moraes wrote:
[snip]
>>> But which version does it work? The revisor is
>>> of paramount importance to what I'mdoing, does not
>>> operate in EL5 have to settle for another version ! 
>>> thanks !

Maybe I missed the reason why you want to use revisor on EL5 but why 
don't you just install Fedora 14 or 15 in a VM and use revisor that 
comes with either distro?

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


Re: [CentOS] Revisor

2011-06-06 Thread Brunner, Brian T.

> 
> The stable version of EL6 you say?
> My fear is losing two weeks and this new version also does not work
> ... 
> 
> []`s


You can download the DVDs of Scientific Linux 6.0, install, and try it
today.  Then you will have a clue whether to wait for CentOS 6.0 or
whether you must go elsewhere.
http://ftp1.scientificlinux.org/linux/scientific/6.0/i386/iso/ 
http://ftp1.scientificlinux.org/linux/scientific/6.0/x86_64/iso/ 
Further data at http://www.scientificlinux.org/download/



Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

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


Re: [CentOS] Revisor

2011-06-06 Thread Les Mikesell
On 6/6/11 7:58 AM, Deivison Moraes wrote:
> > But which version does it work? The revisor is
>>> of paramount importance to what I'mdoing, does not
>>> operate in EL5 have to settle for another version ! 
>>> thanks !
>>>
>>> --
>> EL6 should be out in less then 2 weeks. If should work without problems.
>>
>
> The stable versionof EL6 yousay?
> My fear is losing two weeks and this new version also does not work...
>

Can you test on Scientific Linux 6.0 ? They include some tools that may not be 
in Centos but should be compatible if you need them.

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


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


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes
Myintentionis tobuildacustom platformCentOS, turnedtothephoneso we 
choseCentOS.actuallyin thefedorais more likelytowork?


[]`s
Em 06-06-2011 10:11, Patrick Lists escreveu:

On 06/06/2011 02:58 PM, Deivison Moraes wrote:
[snip]

But which version does it work? The revisor is
of paramount importance to what I'mdoing, does not
operate in EL5 have to settle for another version ! 
thanks !

Maybe I missed the reason why you want to use revisor on EL5 but why
don't you just install Fedora 14 or 15 in a VM and use revisor that
comes with either distro?

Regards,
Patrick
___
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] regex question

2011-06-06 Thread m . roth
Joseph L. Casale wrote:
> Hey guys,
> I am trying to extract a pattern from a downloaded html file. I only want
> the first match
> printed, problem is I don't know how to force sed to exit after printing
> the first match of
> a capture group. Anyone know the trick to manipulating {p;q;} to print a
> capture group?
>
awk '{if ( $0 ~ /p;q;/ ) { print $0; exit;}}' filename

would work

   mark "if Larry Wall could push perl in comp.lang.awk,
   I can answer a sed question this way"

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


Re: [CentOS] Revisor

2011-06-06 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:
> My intention is to build a custom platform CentOS, turned to
> the phone so we choseCentOS. actually in the fedora is more likely to
> work? 

CentOS and Scientific Linux are (virtually) identical.  Testing on SL6
is effectively testing on CentOS6 before CentOS6 is released.
As another poster mentioned, the OS-under-test (whether SL6 or F15) can
be a guest-OS if your current platform can be a host-OS.
http://www.scientificlinux.org/download/

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

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


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes


  
  
I'll start the download and test the reviewer in this dist. But my instenção is sitema how to use a lighter as possible!
  
  Thanks !
\
Em 06-06-2011 10:19, Brunner, Brian T. escreveu:

  centos-boun...@centos.org wrote:

  
My intention is to build a custom platform CentOS, turned to
the phone so we choseCentOS. actually in the fedora is more likely to
work? 

  
  
CentOS and Scientific Linux are (virtually) identical.  Testing on SL6
is effectively testing on CentOS6 before CentOS6 is released.
As another poster mentioned, the OS-under-test (whether SL6 or F15) can
be a guest-OS if your current platform can be a host-OS.
http://www.scientificlinux.org/download/

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.
Life is not measured by the number of breaths we take, but by the
moments that take our breath away. 


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
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] Revisor

2011-06-06 Thread Ljubomir Ljubojevic
Deivison Moraes wrote:
>   My intention is to build a custom platform CentOS, 
> turned to the phone so we choseCentOS. actually in the fedora is more 
> likely to work?

RHEL/CentOS/SL 6.0 is build from frozen Fedora 12-13 tree, with some 
modification and a lot of stabilization (bug fixes and cleanups). CentOS 
5.x is several years old, and in the Linux world these several years 
were very productive, so CentOS 5.x is very very old in Linux terms. 
Solid as a rock, but still very old for newer applications. that is why 
we all wait for version 6.0, to carry us another 3-4 years.

It's like with PC's. They finally matured and developed so when you 
today buy ANY new PC's, even the cheapest, it will be strong enough for 
normal office work, will play music and movies without any problems. 
Even lighter games are nicely played on integrated graphics cards. It is 
same with current/new Linux distros. CentOS 5.x is lagging behind, but 
CentOS 6.x is modern and ready for most things for years to come.

Fedora is unstable by itself, and new version is released every 6 months 
to test new stuff, so for the long run you want CentOS.

Fedora and better yet SL 6.0 is excelent for testing how things work and 
behave, but for the final thing I suggest using CentOS 6.0(1) when it 
comes out.

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


Re: [CentOS] /etc/security/limits.conf : rss

2011-06-06 Thread Devin Reade
--On Friday, June 03, 2011 07:10:44 PM +0200 Christophe Caron
 wrote:

> I want to limit the memory usage about 150 GB per process.
> So i use the /etc/security/limits.conf configuration file. I test this
> configuration with some tools with a lower GB limit (about 2 or 4 GB),
> and it works !
> 
> But, at least one process (oases - a bioinformatics tool) bypass this
> limitation and use always 240 GB of memory (the last run) !!

A few of things come to mind:

1.  Is your bioinformatics tool running as a privileged process
(perhaps because it is being started as a daemon and is not
dropping privs?)  I don't think the hard limit applies in this
case.  If this is happening, you may want to take a big stick
to your application programmers :)

2.  /etc/security/limits.conf is used by pam_limits.  Have you 
verified that that module is configured and required by pam?

3.  How is the bioinformatics tool being started, and did you start
your other test tools (where you checked with a lower GB limit)
the same way.  I don't know one way or the other whether pam
restrictions apply to programs started as daemons.
   
4.  Are you able to have the bioinformatics tool log its hard and
soft limits, and real & effective uid/gids upon startup?
(If you can't, then maybe write a C wrapper for it that will
do this.)  That may be the quickest way to tell you what
your OS config is actually doing.

Devin

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


Re: [CentOS] /etc/security/limits.conf : rss

2011-06-06 Thread Devin Reade
--On Monday, June 06, 2011 10:02:27 AM -0600 Devin Reade 
wrote:

> 2.  /etc/security/limits.conf is used by pam_limits.  Have you 
> verified that that module is configured and required by pam?

Although I guess the answer to that one is obviously "yes" given
your comments of it working for another tool for a lower limit.

Devin

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


Re: [CentOS] Revisor

2011-06-06 Thread Patrick Lists
On 06/06/2011 03:16 PM, Deivison Moraes wrote:
> Myintentionis tobuildacustom platformCentOS, turnedtothephoneso we
> choseCentOS.actuallyin thefedorais more likelytowork?

Hope I understand you correctly. You can use Revisor on Fedora 14 or 15 
and can then build custom CentOS media. More information about Revisor 
is here: https://fedorahosted.org/revisor/wiki/Introduction#Introduction

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


Re: [CentOS] Revisor

2011-06-06 Thread Deivison Moraes

go to testing  ;)

Em 06-06-2011 13:54, Patrick Lists escreveu:

On 06/06/2011 03:16 PM, Deivison Moraes wrote:

Myintentionis tobuildacustom platformCentOS, turnedtothephoneso we
choseCentOS.actuallyin thefedorais more likelytowork?

Hope I understand you correctly. You can use Revisor on Fedora 14 or 15
and can then build custom CentOS media. More information about Revisor
is here: https://fedorahosted.org/revisor/wiki/Introduction#Introduction

Regards,
Patrick
___
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] bind-libs - key problem

2011-06-06 Thread Tom Brown
Does anyone else notice anything wrong with the bind-libs package and its key?

bind-libs-9.3.6-16.P1.el5.i386.rpm

| 862 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186


Public key for bind-utils-9.3.6-16.P1.el5.x86_64.rpm is not installed

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


[CentOS] hard disk install failure

2011-06-06 Thread Timothy Murphy
Has anybody successfully installed CentOS-

I tried (several times) installing CentOS-5.6 from a hard disk,
and each time it failed after installing all the rpms,
with the warning "The installation has tried to mount image #2,
but cannot find it on the hard drive."

When I pressed the Debug button one time after the failure,
it seemed to say that it was looking for the file in /dev/sdb7//ext2/
(/dev/sdb7 being the site of the DVD ISO).

But I'm not sure what "image #2" is? Or where it should be put?

Incidentally, I started by copying isolinux/vmlinuz and isolinux/initrd.img
to the the directory CentOS-5.6 in the /boot parition
of a working linux (Fedora) system, and adding the stanza

title CentOS-5.6
root (hd0,1)
kernel /CentOS-5.6/vmlinuz repo=hd:/dev/sdb5:/
initrd /CentOS-5.6/initrd.img

The repo option was ignored, and I was asked if I wanted to install by FTP,
from Hard Disk, etc.

In the end I installed by http from my web-server, after
mount -o loop CentOS-5.6-x86_64-bin-DVD-1of2.iso /var/www/html/
on the server .
This worked faultlessly, and seems to be by far the easiest way
to install CentOS or Fedora if a local web-server is available.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] hard disk install failure

2011-06-06 Thread Don Krause

On Jun 6, 2011, at 3:19 PM, Timothy Murphy wrote:

> Has anybody successfully installed CentOS-
> 
> I tried (several times) installing CentOS-5.6 from a hard disk,
> and each time it failed after installing all the rpms,
> with the warning "The installation has tried to mount image #2,
> but cannot find it on the hard drive."
> 
> When I pressed the Debug button one time after the failure,
> it seemed to say that it was looking for the file in /dev/sdb7//ext2/
> (/dev/sdb7 being the site of the DVD ISO).
> 
> But I'm not sure what "image #2" is? Or where it should be put?
> 
> Incidentally, I started by copying isolinux/vmlinuz and isolinux/initrd.img
> to the the directory CentOS-5.6 in the /boot parition
> of a working linux (Fedora) system, and adding the stanza
> 
> title CentOS-5.6
>root (hd0,1)
>kernel /CentOS-5.6/vmlinuz repo=hd:/dev/sdb5:/
>initrd /CentOS-5.6/initrd.img
> 
> The repo option was ignored, and I was asked if I wanted to install by FTP,
> from Hard Disk, etc.
> 
> In the end I installed by http from my web-server, after
>   mount -o loop CentOS-5.6-x86_64-bin-DVD-1of2.iso /var/www/html/
> on the server .
> This worked faultlessly, and seems to be by far the easiest way
> to install CentOS or Fedora if a local web-server is available.


Strange, I install it from the DVD.iso to VMWare images a couple times a month, 
haven't seen that issue.

Once a new release gets approved for production, I copy the contents of the 
DVD.iso to our PXE Boot server,
and install production machines from there. 

(FWIW, I have not installed in onto real hardware, from a real DVD, in a couple 
years now..)

Are you sure your DVD matches the checksums?
--
Don Krause   
Head Systems Geek, 
Waver of Deceased Chickens.
Optivus Proton Therapy, Inc.
P.O. Box 608
Loma Linda, California 92354
909.799.8327 Tel
909.799.8366 Fax
dkra...@optivus.com
www.optivus.com
"This message represents the official view of the voices in my head."








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


[CentOS] Problem changing server on a LAN

2011-06-06 Thread Timothy Murphy
I'm having great difficulty trying to change server on my home LAN.
At present 192.168.2.2 is my server, running CentOS-5.6
and connecting to an ADSL modem.
I want to change server to another CentOS machine, 192.168.2.5 .
The problem is that I cannot get the computers on the system
to forget the old server, even when it is completely disconnected,
and the new server is connected to the modem.

It seems extraordinarily difficult to get rid of the link
to the old server.
Even when all the machines are re-booted they still
want to give 192.168.2.2 as their default gateway.

Is this a problem often met in this kind of situation?
I'm wondering if it would be simpler to give the old address
to the new server?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Problem changing server on a LAN

2011-06-06 Thread Les Mikesell
On 6/6/2011 5:47 PM, Timothy Murphy wrote:
> I'm having great difficulty trying to change server on my home LAN.
> At present 192.168.2.2 is my server, running CentOS-5.6
> and connecting to an ADSL modem.
> I want to change server to another CentOS machine, 192.168.2.5 .
> The problem is that I cannot get the computers on the system
> to forget the old server, even when it is completely disconnected,
> and the new server is connected to the modem.
>
> It seems extraordinarily difficult to get rid of the link
> to the old server.
> Even when all the machines are re-booted they still
> want to give 192.168.2.2 as their default gateway.
>
> Is this a problem often met in this kind of situation?
> I'm wondering if it would be simpler to give the old address
> to the new server?

I assume the computers with this problem have their IP and associated 
(gateway/netmask) info configured by DHCP since if they were set up 
manually you'd probably remember what to change...

So, what machine is acting as the DHCP server, has it been updated with 
the new gateway info, and what was the old lease time for the 
outstanding assignments?

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


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


Re: [CentOS] hard disk install failure

2011-06-06 Thread Timothy Murphy
Don Krause wrote:

>> I tried (several times) installing CentOS-5.6 from a hard disk,
>> and each time it failed after installing all the rpms,
>> with the warning "The installation has tried to mount image #2,
>> but cannot find it on the hard drive."

> Strange, I install it from the DVD.iso to VMWare images a couple times a
> month, haven't seen that issue.
> 
> Once a new release gets approved for production, I copy the contents of
> the DVD.iso to our PXE Boot server, and install production machines from
> there.
> 
> (FWIW, I have not installed in onto real hardware, from a real DVD, in a
> couple years now..)
> 
> Are you sure your DVD matches the checksums?

Yes: 
md5sum -c md5sum.txt.asc
CentOS-5.6-x86_64-bin-DVD-1of2.iso: OK

As I said, I installed CentOS-5.6 by http without problem.
I've also installed it by netinstall and on a USB stick.
But I haven't been able to install it from the hard disk, as I said.
I'm pretty sure it is a bug in the installer program.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Problem changing server on a LAN

2011-06-06 Thread Timothy Murphy
Les Mikesell wrote:

>> I'm having great difficulty trying to change server on my home LAN.
>> At present 192.168.2.2 is my server, running CentOS-5.6
>> and connecting to an ADSL modem.
>> I want to change server to another CentOS machine, 192.168.2.5 .
>> The problem is that I cannot get the computers on the system
>> to forget the old server, even when it is completely disconnected,
>> and the new server is connected to the modem.
>>
>> It seems extraordinarily difficult to get rid of the link
>> to the old server.
>> Even when all the machines are re-booted they still
>> want to give 192.168.2.2 as their default gateway.
>>
>> Is this a problem often met in this kind of situation?
>> I'm wondering if it would be simpler to give the old address
>> to the new server?
> 
> I assume the computers with this problem have their IP and associated
> (gateway/netmask) info configured by DHCP since if they were set up
> manually you'd probably remember what to change...
> 
> So, what machine is acting as the DHCP server, has it been updated with
> the new gateway info, and what was the old lease time for the
> outstanding assignments?

Thanks for your response.
I'm pretty sure the problem lies in the dhclient leases, as you suggest.
I'm never quite sure if one can delete leases one doesn't like?

I tried with dhcp running on both old and new server.
But my dhcpd.conf doesn't contain anything about the gateway.
Could it? And if so, how exactly?

Now I look more carefully, I see there is a line
option routers192.168.2.2;
in /etc/dhcpd.conf ;
and I copied that to the new server.
I guess that probably is the cause of the problem;
if so, thank you very much.

Just to tell the full story;
I (or rather Windows) destroyed the partition table on my old server,
though it continues to run perfectly.
I've re-written the table from the information given by lshal ,
but I have no great confidence in my reasoning ,
and suspect the disk may become unreadable when I re-boot.
So I'm trying to set up an alternative server.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Problem changing server on a LAN

2011-06-06 Thread Les Mikesell
On 6/6/11 7:13 PM, Timothy Murphy wrote:
> Les Mikesell wrote:
>
>>> I'm having great difficulty trying to change server on my home LAN.
>>> At present 192.168.2.2 is my server, running CentOS-5.6
>>> and connecting to an ADSL modem.
>>> I want to change server to another CentOS machine, 192.168.2.5 .
>>> The problem is that I cannot get the computers on the system
>>> to forget the old server, even when it is completely disconnected,
>>> and the new server is connected to the modem.
>>>
>>> It seems extraordinarily difficult to get rid of the link
>>> to the old server.
>>> Even when all the machines are re-booted they still
>>> want to give 192.168.2.2 as their default gateway.
>>>
>>> Is this a problem often met in this kind of situation?
>>> I'm wondering if it would be simpler to give the old address
>>> to the new server?
>>
>> I assume the computers with this problem have their IP and associated
>> (gateway/netmask) info configured by DHCP since if they were set up
>> manually you'd probably remember what to change...
>>
>> So, what machine is acting as the DHCP server, has it been updated with
>> the new gateway info, and what was the old lease time for the
>> outstanding assignments?
>
> Thanks for your response.
> I'm pretty sure the problem lies in the dhclient leases, as you suggest.
> I'm never quite sure if one can delete leases one doesn't like?
>
> I tried with dhcp running on both old and new server.
> But my dhcpd.conf doesn't contain anything about the gateway.
> Could it? And if so, how exactly?
>
> Now I look more carefully, I see there is a line
>   option routers192.168.2.2;
> in /etc/dhcpd.conf ;
> and I copied that to the new server.
> I guess that probably is the cause of the problem;
> if so, thank you very much.

Yes, option routers is what sets the client default gateway.  If you change it 
on the server the clients will pick it up when their lease expires - and 
normally on a reboot.

> Just to tell the full story;
> I (or rather Windows) destroyed the partition table on my old server,
> though it continues to run perfectly.
> I've re-written the table from the information given by lshal ,
> but I have no great confidence in my reasoning ,
> and suspect the disk may become unreadable when I re-boot.
> So I'm trying to set up an alternative server.

If you want to replace the old one, just give it the same ip address.

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

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


Re: [CentOS] Grep: show me this line and the next N lines?

2011-06-06 Thread Kenneth Porter
--On Tuesday, May 31, 2011 1:08 AM +0300 Dotan Cohen  
wrote:

> Can grep show the matching lines and the next N lines after a match?

If I'm just inspecting a file I use less and the "/" command to search up 
to the next occurrence of a regular expression. Use the "?" command to 
search backwards. See the man page for less for lots more options.


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


[CentOS] text-mode system and /media

2011-06-06 Thread Kenneth Porter
I'm running a headless server, so no GUI, just ssh logins. I don't seem to 
have the mechanism that automounts USB drives to a subdirectory of /media, 
and from googling around I think that's a feature of a GUI-based system. 
What implements it? Right now I manually create a mountpoint in /mnt and 
then manually mount by label from /dev/disk/by-label after plugging the 
drive in. It would be convenient if the drive automounted when plugged in.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] text-mode system and /media

2011-06-06 Thread Robert Heller
At Mon, 06 Jun 2011 19:31:29 -0700 CentOS mailing list  
wrote:

> 
> I'm running a headless server, so no GUI, just ssh logins. I don't seem to 
> have the mechanism that automounts USB drives to a subdirectory of /media, 
> and from googling around I think that's a feature of a GUI-based system. 
> What implements it? Right now I manually create a mountpoint in /mnt and 
> then manually mount by label from /dev/disk/by-label after plugging the 
> drive in. It would be convenient if the drive automounted when plugged in.

The problem is this: you also need some way to unmount the disk.  And
for FAT file systems, you need to somehow map the ownership.  The GUI
does the mount in the logged in user and the [GNome] desktop icon
includes a right-click menu with an 'eject' / 'unmount' item.

Delegate this functing to some daemon running as root or to a hotplug
script (which would also be running as root), would be problematical for
obvious reasons.

Question are these random thumb drives? Or are they magnetic drives? Are
then always connected? Regularly connected?  FAT file systems? Ext2/3
file systems?

There are several options:

One option is to include a line in /etc/fstab like this:

/dev/thumb  /media/thumbautonoauto,user,rw 0 0 

(/dev/thumb in this case is created by this udev rule:

KERNEL=="sd[a-z]*", BUS=="scsi", SYSFS{device/vendor}=="Kingston", NAME="thumb"

disk-by-label is not possible since this disk is formatted FAT)

This disk is still manually mounted and dismounted, but a
non-priviledged user can do the mount and unmount and only the mount
point is used.

The other option is to use automount with lines like this in an
automount config file:

/reposi386  -fstype=ext2:LABEL=REPOSI386
/reposx86_64-fstype=ext2:LABEL=REPOSX86_64

(these are 16gig thumb drives reformatted with labeled ext2 file systems)

These drives are mounted on-demand and auto dismount after period of
idleness.

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

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



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


Re: [CentOS] text-mode system and /media

2011-06-06 Thread John R Pierce
On 06/06/11 7:31 PM, Kenneth Porter wrote:
> think that's a feature of a GUI-based system.

indeed, this is a ongoing peeve of mine with linux.getting wireless 
networking functioning without those GUI helpers is a real pain too.

this stuff should all be implemented in underlying daemons, with both 
text and GUI control surfaces.



-- 
john r pierceN 37, W 123
santa cruz ca mid-left coast

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


Re: [CentOS] text-mode system and /media

2011-06-06 Thread Kenneth Porter
--On Tuesday, June 07, 2011 12:58 AM -0400 Robert Heller 
 wrote:

> The problem is this: you also need some way to unmount the disk.  And
> for FAT file systems, you need to somehow map the ownership.  The GUI
> does the mount in the logged in user and the [GNome] desktop icon
> includes a right-click menu with an 'eject' / 'unmount' item.

In my case they're all magnetics with ext3 logical drives, so they show up 
with labels.

My practice has been to label them "Backup1", "Backup2", etc. and then 
"mount /dev/disk/by-label/Backup1 /mnt/Backup1". Or list all the 
possibilities in /etc/fstab so I can just name the mount point in the mount 
command.

An additional complication is that some USB drives spin down after some 
idle time, and don't spin back up when accessed, leading to errors and FS 
corruption. I've used "hdparam -s 0 --prefer-ata12 /dev/sdb" (for example) 
but some drives ignore that, so I end up needing to start a script that 
touches a file and sync's every few seconds.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Grep: show me this line and the next N lines?

2011-06-06 Thread Dotan Cohen
On Tue, Jun 7, 2011 at 05:26, Kenneth Porter  wrote:
> --On Tuesday, May 31, 2011 1:08 AM +0300 Dotan Cohen 
> wrote:
>
>> Can grep show the matching lines and the next N lines after a match?
>
> If I'm just inspecting a file I use less and the "/" command to search up
> to the next occurrence of a regular expression. Use the "?" command to
> search backwards. See the man page for less for lots more options.
>

Thanks, Kenneth. I am familiar with the VIM keybindingsin less and
man. I need something scriptable though.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ftp problem?

2011-06-06 Thread hadi motamedi
Dear All
I cannot ftp to my centos server from MS  Windows machine ,but ping
and telnet are ok. I checked as the following :
#chkconfig tftp on
#setup
After enabling tftp service, still the ftp is not ok but ping & telnet
are ok. Can you please help me?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ftp problem?

2011-06-06 Thread Juergen Gotteswinter
tftp != ftp

you probably want to install vsftpd

Am 07.06.11 08:43, schrieb hadi motamedi:
> Dear All
> I cannot ftp to my centos server from MS  Windows machine ,but ping
> and telnet are ok. I checked as the following :
> #chkconfig tftp on
> #setup
> After enabling tftp service, still the ftp is not ok but ping&  telnet
> are ok. Can you please help me?
> Thank you
> ___
> 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] ftp problem?

2011-06-06 Thread John R Pierce
On 06/06/11 11:47 PM, Juergen Gotteswinter wrote:
> tftp != ftp
>
> you probably want to install vsftpd

or better, use winscp from windows.


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