Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 6:59 AM, Barry Brimer  wrote:

> > I tried for the other engaged rpm packages one-by-one . But at last ,
> only
> > the following one remained as unresolved :
> > [r...@mss-1 tmp]# rpm -Uvh
> yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
> > warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA
> > signature: NOKEY, key ID e8562897
> > error: Failed dependencies:
> >yum >= 3.0 is needed by
> > yum-fastestmirror-1.1.16-13.el5.centos.noarch
> > Can you please let me know why it does not come to an end ?
>
> What is the output of "lsb_release -a"
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



Please find it as below :
[r...@mss-1 ~]# lsb_release -a
LSB Version:
:core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:CentOS release 5.2 (Final)
Release:5.2
Codename:   Final
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Barry Brimer
> I tried for the other engaged rpm packages one-by-one . But at last , only
> the following one remained as unresolved :
> [r...@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
> warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA
> signature: NOKEY, key ID e8562897
> error: Failed dependencies:
>yum >= 3.0 is needed by
> yum-fastestmirror-1.1.16-13.el5.centos.noarch
> Can you please let me know why it does not come to an end ?

What is the output of "lsb_release -a"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 6:56 AM, John R Pierce  wrote:

> hadi motamedi wrote:
> > I tried for the other engaged rpm packages one-by-one . But at last ,
> > only the following one remained as unresolved :
> > [r...@mss-1 tmp]# rpm -Uvh
> > yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
> > warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3
> > DSA signature: NOKEY, key ID e8562897
> > error: Failed dependencies:
> > yum >= 3.0 is needed by
> > yum-fastestmirror-1.1.16-13.el5.centos.noarch
> > Can you please let me know why it does not come to an end ?
>
> Try installing both at once...
>
># rpm -Uvh yum-rpm yum-fastestmirror-xxx.rpm
>
> and if that still doesn't work, try...
>
># rpm -Uvh --nodeps  yum-fastestmirror-xxx.yyy.rpm
># rpm -Uvh yum-xxx.yyy.rpm
>
> for whatever xxx-yyy files you got.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thank you very much for your kind contineous support . At last , I have yum
on my client .
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R Pierce
hadi motamedi wrote:
> I tried for the other engaged rpm packages one-by-one . But at last , 
> only the following one remained as unresolved :
> [r...@mss-1 tmp]# rpm -Uvh 
> yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
> warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 
> DSA signature: NOKEY, key ID e8562897
> error: Failed dependencies:
> yum >= 3.0 is needed by 
> yum-fastestmirror-1.1.16-13.el5.centos.noarch
> Can you please let me know why it does not come to an end ?

Try installing both at once...

# rpm -Uvh yum-rpm yum-fastestmirror-xxx.rpm

and if that still doesn't work, try...

# rpm -Uvh --nodeps  yum-fastestmirror-xxx.yyy.rpm
# rpm -Uvh yum-xxx.yyy.rpm

for whatever xxx-yyy files you got.


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 6:22 AM, John R Pierce  wrote:

> hadi motamedi wrote:
> > With many thanks for your help , please let me know why I am receiving
> > the followings ?
> > [r...@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
> > warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature:
> > NOKEY, key ID e8562897
> > error: Failed dependencies:
> > python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch
> > python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch
> > python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch
> > urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
> > yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
> > yum-metadata-parser >= 1.1.0 is needed by
> > yum-3.2.22-20.el5.centos.noarch
>
>
> are you -sure- you have CentOS 5.x ??!?
>
> I believe the DSA Signature key is in package centos-release from that
> same path
> http://mirror.centos.org/centos-5/5/os/i386/CentOS/
> (assuming 32bit centos5, adjust path for different versions or
> architectures)
>
>
> re: the failed dependencies, you'll need to install those other RPMs
> too, again from the same path...
>
> some of those RPMs may require yet more, download and install them too.
> repeat until yum works.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


I tried for the other engaged rpm packages one-by-one . But at last , only
the following one remained as unresolved :
[r...@mss-1 tmp]# rpm -Uvh yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
warning: yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm: Header V3 DSA
signature: NOKEY, key ID e8562897
error: Failed dependencies:
yum >= 3.0 is needed by
yum-fastestmirror-1.1.16-13.el5.centos.noarch
Can you please let me know why it does not come to an end ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Thu, Dec 24, 2009 at 06:00:18AM +, hadi motamedi wrote:
> 
> Sorry. Can you please let me have the link to one of these CentOS mirrors to
> download the yum rpm package? I have used pbone.net to install the screen
> rpm for CentOS and so I don't know any CentOS mirror to make use for this
> purpose.

Sorry, can you perchance do a single iota of research on your
own?  Can we bill your client for doing your job for you?

Did you even bother to read the link that Akemi gave you
yesterday?

http://www.centos.org - mirrors are quite clearly listed.





John


-- 
If the world were a village of 100 people 

6 people (all in the USA) would own 59% of all the village's wealth,
74 people would share another 39%, and
20 people would share the remaining 2%.

-- David Copeland, in Value Earth




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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R Pierce
hadi motamedi wrote:
> With many thanks for your help , please let me know why I am receiving 
> the followings ?
> [r...@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
> warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: 
> NOKEY, key ID e8562897
> error: Failed dependencies:
> python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch
> python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch
> python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch
> urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
> yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
> yum-metadata-parser >= 1.1.0 is needed by 
> yum-3.2.22-20.el5.centos.noarch


are you -sure- you have CentOS 5.x ??!?   

I believe the DSA Signature key is in package centos-release from that 
same path
http://mirror.centos.org/centos-5/5/os/i386/CentOS/
(assuming 32bit centos5, adjust path for different versions or 
architectures)


re: the failed dependencies, you'll need to install those other RPMs 
too, again from the same path...

some of those RPMs may require yet more, download and install them too. 
repeat until yum works.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Barry Brimer
> With many thanks for your help , please let me know why I am receiving the
> followings ?
> [r...@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
> warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature:
> NOKEY, key ID e8562897
> error: Failed dependencies:
>python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch
>python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch
>python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch
>urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
>yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
>yum-metadata-parser >= 1.1.0 is needed by
> yum-3.2.22-20.el5.centos.noarch

You need to get the packages listed above that are dependencies of yum. 
Download each of these packages from the same mirror site you downloaded 
the yum package from.  Put them all in the same directory (without other 
RPMs) and run "rpm -Uvh *.rpm"

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 6:03 AM, John R Pierce  wrote:

> hadi motamedi wrote:
> > Sorry. Can you please let me have the link to one of these CentOS
> > mirrors to download the yum rpm package? I have used pbone.net
> >  to install the screen rpm for CentOS and so I don't
> > know any CentOS mirror to make use for this purpose.
>
> http://mirror.centos.org/
>
> for intsance,
>
> http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
>
> (path varies with version and architecture)
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



With many thanks for your help , please let me know why I am receiving the
followings ?
[r...@mss-1 tmp]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm
warning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature:
NOKEY, key ID e8562897
error: Failed dependencies:
python-elementtree is needed by yum-3.2.22-20.el5.centos.noarch
python-iniparse is needed by yum-3.2.22-20.el5.centos.noarch
python-sqlite is needed by yum-3.2.22-20.el5.centos.noarch
urlgrabber >= 3.1.0 is needed by yum-3.2.22-20.el5.centos.noarch
yum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch
yum-metadata-parser >= 1.1.0 is needed by
yum-3.2.22-20.el5.centos.noarch
[r...@mss-1 tmp]# whereis yum
yum:
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R Pierce
hadi motamedi wrote:
> Sorry. Can you please let me have the link to one of these CentOS 
> mirrors to download the yum rpm package? I have used pbone.net 
>  to install the screen rpm for CentOS and so I don't 
> know any CentOS mirror to make use for this purpose.

http://mirror.centos.org/

for intsance,
http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm

(path varies with version and architecture)


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Thu, Dec 24, 2009 at 5:54 AM, Drew  wrote:

> Yum-Arch is, I think, a red herring. Yum-Arch, according to pbone:
>
> "This package only provides the old yum-arch command from yum-2.2.2
> It should be used to generate repository informations for Fedora Core < 3
> and RedHat Enterprise Linux < 4."
>
> So that's not even relevent to CentOS 4 or 5 in any way.
>
> Hadi: Have you tried downloading and installing the yum package from
> the CentOS mirrors?
>
>
> --
> Drew
>
> "Nothing in life is to be feared. It is only to be understood."
> --Marie Curie
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



Sorry. Can you please let me have the link to one of these CentOS mirrors to
download the yum rpm package? I have used pbone.net to install the screen
rpm for CentOS and so I don't know any CentOS mirror to make use for this
purpose.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Drew
Yum-Arch is, I think, a red herring. Yum-Arch, according to pbone:

"This package only provides the old yum-arch command from yum-2.2.2
It should be used to generate repository informations for Fedora Core < 3
and RedHat Enterprise Linux < 4."

So that's not even relevent to CentOS 4 or 5 in any way.

Hadi: Have you tried downloading and installing the yum package from
the CentOS mirrors?


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R Pierce
hadi motamedi wrote:
> ...
> package yum-arch-2.2.2-2.el5.kb is already installed
> [r...@mss-1 tmp]# whereis yum
> yum:
> [r...@mss-1 tmp]#

try...

# rpm -V yum


if the package is intact, there should be no output (after a few seconds 
of thinking), otherwise it will list anything thats wrong, like missing 
files.

# rpm -V --verbose yum

should output a list of all the files in that package, including...

  c /etc/logrotate.d/yum
/etc/yum
  c /etc/yum.conf
/etc/yum.repos.d
/etc/yum/pluginconf.d
/usr/bin/yum
/usr/lib/python2.4/site-packages/rpmUtils
/usr/lib/python2.4/site-packages/rpmUtils/__init__.py
/usr/lib/python2.4/site-packages/rpmUtils/__init__.pyc
/usr/lib/python2.4/site-packages/rpmUtils/__init__.pyo
/usr/lib/python2.4/site-packages/rpmUtils/arch.py
/usr/lib/python2.4/site-packages/rpmUtils/arch.pyc
/usr/lib/python2.4/site-packages/rpmUtils/arch.pyo
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.py
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyc
/usr/lib/python2.4/site-packages/rpmUtils/miscutils.pyo
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.py
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyc
/usr/lib/python2.4/site-packages/rpmUtils/oldUtils.pyo
/usr/lib/python2.4/site-packages/rpmUtils/transaction.py
/usr/lib/python2.4/site-packages/rpmUtils/transaction.pyc
/usr/lib/python2.4/site-packages/rpmUtils/transaction.pyo
/usr/lib/python2.4/site-packages/rpmUtils/updates.py
/usr/lib/python2.4/site-packages/rpmUtils/updates.pyc
/usr/lib/python2.4/site-packages/rpmUtils/updates.pyo
/usr/lib/python2.4/site-packages/yum
/usr/lib/python2.4/site-packages/yum/Errors.py
/usr/lib/python2.4/site-packages/yum/Errors.pyc
/usr/lib/python2.4/site-packages/yum/Errors.pyo
/usr/lib/python2.4/site-packages/yum/__init__.py
/usr/lib/python2.4/site-packages/yum/__init__.pyc
/usr/lib/python2.4/site-packages/yum/__init__.pyo
/usr/lib/python2.4/site-packages/yum/callbacks.py
/usr/lib/python2.4/site-packages/yum/callbacks.pyc
/usr/lib/python2.4/site-packages/yum/callbacks.pyo
/usr/lib/python2.4/site-packages/yum/comps.py
/usr/lib/python2.4/site-packages/yum/comps.pyc
/usr/lib/python2.4/site-packages/yum/comps.pyo
/usr/lib/python2.4/site-packages/yum/config.py
/usr/lib/python2.4/site-packages/yum/config.pyc
/usr/lib/python2.4/site-packages/yum/config.pyo
/usr/lib/python2.4/site-packages/yum/constants.py
/usr/lib/python2.4/site-packages/yum/constants.pyc
/usr/lib/python2.4/site-packages/yum/constants.pyo
/usr/lib/python2.4/site-packages/yum/depsolve.py
/usr/lib/python2.4/site-packages/yum/depsolve.pyc
/usr/lib/python2.4/site-packages/yum/depsolve.pyo
/usr/lib/python2.4/site-packages/yum/failover.py
/usr/lib/python2.4/site-packages/yum/failover.pyc
/usr/lib/python2.4/site-packages/yum/failover.pyo
/usr/lib/python2.4/site-packages/yum/i18n.py
/usr/lib/python2.4/site-packages/yum/i18n.pyc
/usr/lib/python2.4/site-packages/yum/i18n.pyo
/usr/lib/python2.4/site-packages/yum/logginglevels.py
/usr/lib/python2.4/site-packages/yum/logginglevels.pyc
/usr/lib/python2.4/site-packages/yum/logginglevels.pyo
/usr/lib/python2.4/site-packages/yum/mdparser.py
/usr/lib/python2.4/site-packages/yum/mdparser.pyc
/usr/lib/python2.4/site-packages/yum/mdparser.pyo
/usr/lib/python2.4/site-packages/yum/metalink.py
/usr/lib/python2.4/site-packages/yum/metalink.pyc
/usr/lib/python2.4/site-packages/yum/metalink.pyo
/usr/lib/python2.4/site-packages/yum/misc.py
/usr/lib/python2.4/site-packages/yum/misc.pyc
/usr/lib/python2.4/site-packages/yum/misc.pyo
/usr/lib/python2.4/site-packages/yum/packageSack.py
/usr/lib/python2.4/site-packages/yum/packageSack.pyc
/usr/lib/python2.4/site-packages/yum/packageSack.pyo
/usr/lib/python2.4/site-packages/yum/packages.py
/usr/lib/python2.4/site-packages/yum/packages.pyc
/usr/lib/python2.4/site-packages/yum/packages.pyo
/usr/lib/python2.4/site-packages/yum/parser.py
/usr/lib/python2.4/site-packages/yum/parser.pyc
/usr/lib/python2.4/site-packages/yum/parser.pyo
/usr/lib/python2.4/site-packages/yum/pgpmsg.py
/usr/lib/python2.4/site-packages/yum/pgpmsg.pyc
/usr/lib/python2.4/site-packages

Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 2:45 PM, fred smith
wrote:

>  On Wed, Dec 23, 2009 at 12:12:16PM +, hadi motamedi wrote:
> > On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson 
> wrote:
> >
> > > On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> > > > On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson  >
> > > wrote:
> > > >
> > > > >  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> > > > > > Dear All
> > > > > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm
> package
> > > from
> > > > > > the www.pbone.net . But I didn't have success in installing it
> so
> > > please
> > > > > let
> > > > > > me know if there is another way to accomplish this job ?
> > > > > > Thank you in advance
> > > > >
> > > > > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> > > > >
> > > >
> > > > Thanks for your reply . But for unknown reasons the yum is not
> available
> > > on
> > > > my CentOS .
> > > > [r...@mss-1 tmp]# more /etc/redhat-release
> > > > CentOS release 5.2 (Final)
> > > > [r...@mss-1 tmp]# yum
> > > > -bash: yum: command not found
> > > > Can you please let me know how can I install it ?
> > >
> > > Strange.  What's the output of rpm -q yum?
> > >
> > > You could manually install the RPM's from:
> > >
> > >  http://mirror.stanford.edu/yum/pub/centos/5/os/
> > >
> > > Pick the correct architecture... and you'll have to resolve some
> > > dependancies manually.
> > >
> > > Ray
> >
> >
> > The output is as :
> > [r...@mss-1 tmp]# rpm -qa |grep yum
> > yum-arch-2.2.2-2.el5.kb
>
> Strange. when I run that on my Centos 5.4, I get:
>
># rpm -q yum
>yum-3.2.22-20.el5.centos
>
> which I would assume to be different than "yum-arch-..." I DO NOT find
> yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not
> a complete yum installation. On the off-chance that it is, you could try:
>
> ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less
>
> to see what files it contains, and whether all of them are actually still
> on your disk, or not.
>
> And as others have suggested, you may want/need to download the appropriate
> yum rpm file from a Centos mirror and install it with rpm before you can
> actually use yum.
>
> --
>  Fred Smith -- fre...@fcshome.stoneham.ma.us-
>The Lord is like a strong tower.
> Those who do what is right can run to him for safety.
> --- Proverbs 18:10 (niv)
> -
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thank you for your help . To this end , I tried as the followings :
"
[r...@mss-1 tmp]# rpm -Uvh yum-arch-2.2.2-2.el5.kb.noarch.rpm
warning: yum-arch-2.2.2-2.el5.kb.noarch.rpm: Header V3 DSA signature: NOKEY,
key ID 3e13cf5b
Preparing...###
[100%]
package yum-arch-2.2.2-2.el5.kb is already installed
[r...@mss-1 tmp]# whereis yum
yum:
[r...@mss-1 tmp]#
"
Can you please let me know why the yum is still unavailable?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread John R Pierce
Timo Schoeler wrote:
>> But these days, nothing should ever be reading from swap, although you 
>> might write a bit there.  If it does, buy some more RAM instead of 
>> worrying about disk performance.
>> 
>
> Sure, absolutely no question; *but* in the (ancient) times it was
> important, it was 'nice' to have it as fast as possible, i.e. on the
> fastest section(s) of the used HDs. So...
>   


unless you're using tmpfs, where your swap space doubles as backing 
store for your /tmpI use this quite regularly on solaris, it 
performs much better than a conventional journaled file system, as 
recovery from system crashes is totally not a priority.


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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Timo Schoeler
On 12/23/2009 08:15 PM, Les Mikesell wrote:
> Timo Schoeler wrote:
>> On 12/23/2009 07:29 PM, John R Pierce wrote:
>>> Ross Walker wrote:
 I think you might be confusing CAV with CLV of optical drives.
 http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
   
>>> no, I'm not. most HD's ('green drives' complicate this some) spin at 
>>> a constant RPM, so the rotational latency is the same on the inner and 
>>> outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
>>> and 2mS for a 15000rpm enterprise drive .   However, the data rate 
>>> changes. so the outer tracks have more data on them, which is read at a 
>>> higher speed in megabytes/second
>>
>> That's why in ancient times one was setting up partitions so that the
>> swap area was the the beginning (mostly the outer tracks of the HD --
>> never hit a drive that did it the other way round) of the drive.
>>
>> Try it yourself, get a spare HD and create three partitions on it, two
>> smaller ones at beginning/end of the drive, the third one filling the
>> gap between them; install bonnie++ and compare the transfer rates.
> 
> But these days, nothing should ever be reading from swap, although you 
> might write a bit there.  If it does, buy some more RAM instead of 
> worrying about disk performance.

Sure, absolutely no question; *but* in the (ancient) times it was
important, it was 'nice' to have it as fast as possible, i.e. on the
fastest section(s) of the used HDs. So...

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


Re: [CentOS] CentOS 5.4 Upgrade installation failure

2009-12-23 Thread Kwan Lowe
On Wed, Dec 23, 2009 at 10:53 PM, Edward Diener  wrote:
> CentOS 5.3 has been running fairly good except for a slow ethernet
> connection so I thought I would upgrade to CentOS 5.4 to see if that
> improved things. I had previously changed fstab and menu.lst to use UUID
> instead of LABEL in order to insulate myself from partition label
> changes I wanted to make. This worked fine in CentOS 5.3.

No answers, but can you tell me why you're re-installing?  Doing a
regular yum update will bring a 5.3 system to a 5.4 system.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.4 Upgrade installation failure

2009-12-23 Thread Edward Diener
CentOS 5.3 has been running fairly good except for a slow ethernet 
connection so I thought I would upgrade to CentOS 5.4 to see if that 
improved things. I had previously changed fstab and menu.lst to use UUID 
instead of LABEL in order to insulate myself from partition label 
changes I wanted to make. This worked fine in CentOS 5.3.

When I attempted to upgrade from 5.3 to 5.4 using the installation disk 
and telling it to upgrade rather than do a new install, the installation 
correctly found my root partition as /dev/sdb8. When I proceeded with 
the upgrade I received the error:

"Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. 
No such file or directory. This most likely means the partition has not 
been formatted."

But of course it has been formatted and is my / partition running CentOS 
5.3.

Does anyone know how to fix this to get CentOS 5.3 upgraded ? Do I have 
to use LABEL in fstab and menu.lst for my partitions, or perhaps just 
for my root partition ? Any other ideas why this is failing ?

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Ross Walker
On Dec 23, 2009, at 1:29 PM, John R Pierce  wrote:

> Ross Walker wrote:
>> I think you might be confusing CAV with CLV of optical drives.
>> http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
>>
>
> no, I'm not. most HD's ('green drives' complicate this some)  
> spin at
> a constant RPM, so the rotational latency is the same on the inner and
> outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive,
> and 2mS for a 15000rpm enterprise drive .   However, the data rate
> changes. so the outer tracks have more data on them, which is read  
> at a
> higher speed in megabytes/second

You know your right. I don't know what I was thinking, a rotation is a  
rotation and if it takes 4ms on the outer tracks then it takes 4ms on  
the inner tracks.

It is I who had to two mixed up. It would be CLV that would make the  
disk spin faster as it approached the inner tracks which is the only  
way rotational latency would decrease.

Sorry for the noise, we now continue with your regularly scheduled  
program.

-Ross

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread MHR
On Wed, Dec 23, 2009 at 2:50 PM, carlopmart  wrote:
> Kwan Lowe wrote:
>>
>> I actually prefer backing up LVMs.. I use the snapshot feature which
>> means I can backup a live volume. Works well.
>
> But I can't use snapshot feature because under these lvm partitions there are 
> ZFS,
> NTFS and so on filesystems that linux can't access ...
>

There is a perfectly usable NTFS support file system available for
CentOS/Linux - I use it from time to time for disk backups.

Take a look at NTFS-fuse.

BTW, volume backups generally do not require knowledge of the
underlying file system structures, so this shouldn't be an issue
anyway.

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
>> I actually prefer backing up LVMs.. I use the snapshot feature which
>> means I can backup a live volume. Works well.
>
> But I can't use snapshot feature because under these lvm partitions there are 
> ZFS,
> NTFS and so on filesystems that linux can't access ...

Not sure that I'm understanding.. The snapshots are block level, so no
knowledge of the filesystem on the LVs are needed. In fact, some are
raw devices and don't have filesystems at all.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] donations

2009-12-23 Thread Karanbir Singh
On 23/12/09 22:55, Jerry Geis wrote:
> The donation page does not seem up to date:
>
>
>   *Monetary*
>
> CentOS is currently reviewing our cash donation program. If you are
> looking to make a cash dontation to the CentOS Project, please check
> back here after August 15th, 2009.
>
> I sent an email to the webmaster but did not get a reply. I thought I
> would post.
> Anything new on this?

I posted an update to the list only a few days back. check the archive

in a nutshell - no, were not yet accepting donations. But its something 
thats high on the agenda and once setup, we will post details about it.

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


[CentOS] donations

2009-12-23 Thread Jerry Geis
The donation page does not seem up to date:


 *Monetary*

CentOS is currently reviewing our cash donation program. If you are 
looking to make a cash dontation to the CentOS Project, please check 
back here after August 15th, 2009.

I sent an email to the webmaster but did not get a reply. I thought I 
would post.
Anything new on this?

Thanks,

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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Kwan Lowe wrote:
>>> With LVMs you'd of course lose the flexibility of file-backed targets
>>> and the ability to do sparse files are you're intending..
>>>
>>> dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
>>> bs=1 count=0 seek=16G
>> LVM was my first option and performance it is very very good with iSCSI, but 
>> backup
>> and restore it is a problem with LVM. For these reason I need to use large 
>> files on
>> this server...
> 
> I actually prefer backing up LVMs.. I use the snapshot feature which
> means I can backup a live volume. Works well.

But I can't use snapshot feature because under these lvm partitions there are 
ZFS, 
NTFS and so on filesystems that linux can't access ...



-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
>> With LVMs you'd of course lose the flexibility of file-backed targets
>> and the ability to do sparse files are you're intending..
>>
>> dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
>> bs=1 count=0 seek=16G
>
> LVM was my first option and performance it is very very good with iSCSI, but 
> backup
> and restore it is a problem with LVM. For these reason I need to use large 
> files on
> this server...

I actually prefer backing up LVMs.. I use the snapshot feature which
means I can backup a live volume. Works well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Les Mikesell
Timo Schoeler wrote:
> On 12/23/2009 07:29 PM, John R Pierce wrote:
>> Ross Walker wrote:
>>> I think you might be confusing CAV with CLV of optical drives.
>>> http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
>>>   
>> no, I'm not. most HD's ('green drives' complicate this some) spin at 
>> a constant RPM, so the rotational latency is the same on the inner and 
>> outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
>> and 2mS for a 15000rpm enterprise drive .   However, the data rate 
>> changes. so the outer tracks have more data on them, which is read at a 
>> higher speed in megabytes/second
> 
> That's why in ancient times one was setting up partitions so that the
> swap area was the the beginning (mostly the outer tracks of the HD --
> never hit a drive that did it the other way round) of the drive.
> 
> Try it yourself, get a spare HD and create three partitions on it, two
> smaller ones at beginning/end of the drive, the third one filling the
> gap between them; install bonnie++ and compare the transfer rates.

But these days, nothing should ever be reading from swap, although you 
might write a bit there.  If it does, buy some more RAM instead of 
worrying about disk performance.

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

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


[CentOS] /dev/video* permissions

2009-12-23 Thread Boris Epstein
Hi all,

Does anybody know where those permissions are controlled? I've looked
in /etc/udev and everywhere else I could think of and thus far I have
seen not a hint...

Thanks in advance for all your help.

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Timo Schoeler
On 12/23/2009 07:29 PM, John R Pierce wrote:
> Ross Walker wrote:
>> I think you might be confusing CAV with CLV of optical drives.
>> http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
>>   
> 
> no, I'm not. most HD's ('green drives' complicate this some) spin at 
> a constant RPM, so the rotational latency is the same on the inner and 
> outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
> and 2mS for a 15000rpm enterprise drive .   However, the data rate 
> changes. so the outer tracks have more data on them, which is read at a 
> higher speed in megabytes/second

That's why in ancient times one was setting up partitions so that the
swap area was the the beginning (mostly the outer tracks of the HD --
never hit a drive that did it the other way round) of the drive.

Try it yourself, get a spare HD and create three partitions on it, two
smaller ones at beginning/end of the drive, the third one filling the
gap between them; install bonnie++ and compare the transfer rates.

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread John R Pierce
Ross Walker wrote:
> I think you might be confusing CAV with CLV of optical drives.
> http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
>   

no, I'm not. most HD's ('green drives' complicate this some) spin at 
a constant RPM, so the rotational latency is the same on the inner and 
outer tracks, an average of 1/2 turn, about 4mS for a 7200 rpm drive, 
and 2mS for a 15000rpm enterprise drive .   However, the data rate 
changes. so the outer tracks have more data on them, which is read at a 
higher speed in megabytes/second


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


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Les Mikesell
carlopmart wrote:
> Kwan Lowe wrote:
>> On Wed, Dec 23, 2009 at 10:47 AM, carlopmart  wrote:
>>> Hi all,
>>>
>>>  Recently I have installed a centOS 5.4 server to use as a home NAS server. 
>>> I need
>>> to use large files (8GB minimum) inside of it to serve via iSCSI services. 
>>> Which
>>> filesystem do you recommends me to reach maximum performance: xfs, ext3, 
>>> ext4, gfs2
>>> ??
>> I don't know if this is still true, but when I last checked a couple
>> years ago, the recommendation was for LVM device backed iSCSI targets.
>>
>> http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html
>>
>> With LVMs you'd of course lose the flexibility of file-backed targets
>> and the ability to do sparse files are you're intending..
>>
>> dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
>> bs=1 count=0 seek=16G
> 
> LVM was my first option and performance it is very very good with iSCSI, but 
> backup 
> and restore it is a problem with LVM. For these reason I need to use large 
> files on 
> this server...

Doesn't sparse file use leave you in danger of (a) overcommiting the 
actual available space, and (b) badly fragmenting the on-disk locations 
when the space is actually allocated?   I think xfs has some support for 
allocating sparse space at creation time without waiting for real 
writes, but I don't know how to use it.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Kwan Lowe wrote:
> On Wed, Dec 23, 2009 at 10:47 AM, carlopmart  wrote:
>> Hi all,
>>
>>  Recently I have installed a centOS 5.4 server to use as a home NAS server. 
>> I need
>> to use large files (8GB minimum) inside of it to serve via iSCSI services. 
>> Which
>> filesystem do you recommends me to reach maximum performance: xfs, ext3, 
>> ext4, gfs2
>> ??
> 
> I don't know if this is still true, but when I last checked a couple
> years ago, the recommendation was for LVM device backed iSCSI targets.
> 
> http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html
> 
> With LVMs you'd of course lose the flexibility of file-backed targets
> and the ability to do sparse files are you're intending..
> 
> dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
> bs=1 count=0 seek=16G

LVM was my first option and performance it is very very good with iSCSI, but 
backup 
and restore it is a problem with LVM. For these reason I need to use large 
files on 
this server...


-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Kwan Lowe
On Wed, Dec 23, 2009 at 10:47 AM, carlopmart  wrote:
> Hi all,
>
>  Recently I have installed a centOS 5.4 server to use as a home NAS server. I 
> need
> to use large files (8GB minimum) inside of it to serve via iSCSI services. 
> Which
> filesystem do you recommends me to reach maximum performance: xfs, ext3, 
> ext4, gfs2
> ??

I don't know if this is still true, but when I last checked a couple
years ago, the recommendation was for LVM device backed iSCSI targets.

http://osdir.com/ml/linux.iscsi.tgt.devel/2008-09/msg0.html

With LVMs you'd of course lose the flexibility of file-backed targets
and the ability to do sparse files are you're intending..

dd if=/dev/zero of=iqn.2009-12.com.mydomain:storage.disk01.foo.foo
bs=1 count=0 seek=16G
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Les Mikesell wrote:
> carlopmart wrote:
>> Hi all,
>>
>>   Recently I have installed a centOS 5.4 server to use as a home NAS server. 
>> I need 
>> to use large files (8GB minimum) inside of it to serve via iSCSI services. 
>> Which 
>> filesystem do you recommends me to reach maximum performance: xfs, ext3, 
>> ext4, gfs2 
>> ??
> 
> None of them should have a problem with large files and any differences 
> in the filesystem metadata handling will be covered up by the underlying 
> disk access speed of a large amount of data per file.  The bigger 
> differences are in how fast they can create or delete large numbers of 
> files.
> 

Thanks Les. then if I would to use sparse files to create these large files, 
which 
can be the best form: dd of qcow2 format for example??

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fully automatic installation FAI?

2009-12-23 Thread Christoph Maser
Am Mittwoch, den 23.12.2009, 16:46 +0100 schrieb David Mehler:
> Hello,
> Is anyone running a software package called FAI for Fully Automatic
> Installation on a CentOS server? I was wondering if there were any
> issues to running it?
> Thanks.
> Dave.

Afiak thats the debian way for automatic installs on
Fedora/RedHat/CentOS it is much more common to use kickstart (and
cobbler)

Chris


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. 
Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread Les Mikesell
carlopmart wrote:
> Hi all,
> 
>   Recently I have installed a centOS 5.4 server to use as a home NAS server. 
> I need 
> to use large files (8GB minimum) inside of it to serve via iSCSI services. 
> Which 
> filesystem do you recommends me to reach maximum performance: xfs, ext3, 
> ext4, gfs2 
> ??

None of them should have a problem with large files and any differences 
in the filesystem metadata handling will be covered up by the underlying 
disk access speed of a large amount of data per file.  The bigger 
differences are in how fast they can create or delete large numbers of 
files.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Les Mikesell
Marko Vojinovic wrote:
> On Wednesday 23 December 2009 14:51:23 Matt wrote:
>> If memory serves me correctly I was told CentOS 4.x was based on
>> Fedora Core 3.  So when finding a rpm I always looked for one for
>> Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
>> 5 the same way and if so what Core is it based on?
> 
> CentOS 5 is based on Fedora Core 6.
> 
> That said, be warned that installing FC packages on CentOS is *not* a good 
> idea. While it might work without issues in some cases, such practice is 
> inviting trouble.

A slightly better approach is to grab the src rpm for fedora and 
'rpmbuild --rebuild' it to get the binary versions to install.  But most 
things that will work are already built in the epel or rpmforge 
repositories.

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

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


[CentOS] OT:Which filesystem to use with large files

2009-12-23 Thread carlopmart
Hi all,

  Recently I have installed a centOS 5.4 server to use as a home NAS server. I 
need 
to use large files (8GB minimum) inside of it to serve via iSCSI services. 
Which 
filesystem do you recommends me to reach maximum performance: xfs, ext3, ext4, 
gfs2 
??

Thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] fully automatic installation FAI?

2009-12-23 Thread David Mehler
Hello,
Is anyone running a software package called FAI for Fully Automatic
Installation on a CentOS server? I was wondering if there were any
issues to running it?
Thanks.
Dave.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Marko Vojinovic
On Wednesday 23 December 2009 14:51:23 Matt wrote:
> If memory serves me correctly I was told CentOS 4.x was based on
> Fedora Core 3.  So when finding a rpm I always looked for one for
> Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
> 5 the same way and if so what Core is it based on?

CentOS 5 is based on Fedora Core 6.

That said, be warned that installing FC packages on CentOS is *not* a good 
idea. While it might work without issues in some cases, such practice is 
inviting trouble.

HTH, :-)
Marko

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


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread William L. Maltby

On Wed, 2009-12-23 at 09:37 -0500, Ross Walker wrote:
> 

> I think you might be confusing CAV with CLV of optical drives.
> 
> http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity
> 
> -Ross

That was my thought. However, I think most are missing the boat on this.

I have always looked at the anticipated work profile on the drive and
tried to place partitions to minimize seek time - that being the single
biggest latency issue, IMO. By placing the most frequently accessed
partitons adjacent to each other, and near the middle of the platter(s),
seek delays are minimized.

With the advent of LVM, I feel this is more easily fine tuned, initially
and later after the /real/ workload can be statistically profiled.

-- 
Bill

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


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread m . roth
> If memory serves me correctly I was told CentOS 4.x was based on
> Fedora Core 3.  So when finding a rpm I always looked for one for
> Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
> 5 the same way and if so what Core is it based on?

No to both. CentOS 4 was RHEL 4; 5 is RHEL 5.

  mark

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


Re: [CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Rob Kampen

Matt wrote:

If memory serves me correctly I was told CentOS 4.x was based on
Fedora Core 3.  So when finding a rpm I always looked for one for
Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
5 the same way and if so what Core is it based on?

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

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


[CentOS] CentOS 5 and Fedora Core

2009-12-23 Thread Matt
If memory serves me correctly I was told CentOS 4.x was based on
Fedora Core 3.  So when finding a rpm I always looked for one for
Fedora Core 3 and then it seemed to install ok on CentOS 4.  Is CentOS
5 the same way and if so what Core is it based on?

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread fred smith
On Wed, Dec 23, 2009 at 12:12:16PM +, hadi motamedi wrote:
> On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson  wrote:
> 
> > On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> > > On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson 
> > wrote:
> > >
> > > >  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> > > > > Dear All
> > > > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package
> > from
> > > > > the www.pbone.net . But I didn't have success in installing it so
> > please
> > > > let
> > > > > me know if there is another way to accomplish this job ?
> > > > > Thank you in advance
> > > >
> > > > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> > > >
> > >
> > > Thanks for your reply . But for unknown reasons the yum is not available
> > on
> > > my CentOS .
> > > [r...@mss-1 tmp]# more /etc/redhat-release
> > > CentOS release 5.2 (Final)
> > > [r...@mss-1 tmp]# yum
> > > -bash: yum: command not found
> > > Can you please let me know how can I install it ?
> >
> > Strange.  What's the output of rpm -q yum?
> >
> > You could manually install the RPM's from:
> >
> >  http://mirror.stanford.edu/yum/pub/centos/5/os/
> >
> > Pick the correct architecture... and you'll have to resolve some
> > dependancies manually.
> >
> > Ray
> 
> 
> The output is as :
> [r...@mss-1 tmp]# rpm -qa |grep yum
> yum-arch-2.2.2-2.el5.kb

Strange. when I run that on my Centos 5.4, I get:

# rpm -q yum
yum-3.2.22-20.el5.centos

which I would assume to be different than "yum-arch-..." I DO NOT find
yum-arch at all. Dunno what yum-arch contains, but I wonder if it is not
a complete yum installation. On the off-chance that it is, you could try:

ls -l `rpm -ql yum-arch-2.2.2-2.el5.kb` | less

to see what files it contains, and whether all of them are actually still
on your disk, or not. 

And as others have suggested, you may want/need to download the appropriate 
yum rpm file from a Centos mirror and install it with rpm before you can 
actually use yum.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] partitioning order and IO performance

2009-12-23 Thread Ross Walker
On Dec 22, 2009, at 10:14 PM, John R Pierce  wrote:

> Ross Walker wrote:
>> Also, for random IO the opposite is true, the rotational latency is
>> significantly smaller on the inner tracks than the outer tracks, so
>> random OPs perform better there.
>>
>
> um, most all hard disks are CAV, so the rotational latency measured in
> milliseconds is constant throughout the disk.  usually 50% of a turn  
> is
> the assumed mean rotational latency

I think you might be confusing CAV with CLV of optical drives.

http://en.m.wikipedia.org/wiki/Constant_Angular_Velocity

-Ross

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:52:50PM +, hadi motamedi wrote:
> 
> Sorry . Here is the complementary data :
> [r...@mss-1 tmp]# uname -a
> Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686
> i386 GNU/Linux

Oh, and before I forget.

Update that box.  It's running insecure components and has a 
kernel with known security problems with in the wild exploits.




John

-- 
It is not bigotry to be certain we are right; but it is bigotry to be unable
to imagine how we might possibly have gone wrong.
 -- G. K. Chesterton


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


Re: [CentOS] Missing virtio-win in CentOS 5.4

2009-12-23 Thread Karanbir Singh
On 23/12/09 12:51, Sebastian wrote:
> On Dec 1. the drivers are available on the Supplementary channel
>
> https://rhn.redhat.com/errata/RHEA-2009-1624.html
>
> Any chance to get them for CentOS?


the official centos policy is to only build freely distributable sources 
published from upstream on that route.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 07:54:06AM -0500, mark wrote:
> 
> Wonder if someone was trying to remove yum-updatesd, and got all of yum.

Possibly.  But one would need to either use "-y" or answer
yes at the "are you really silly enough to want me to do
this?" yum prompt.  




John

-- 
My dynamite will sooner lead to peace than a thousand world conventions.
As soon as men will find that in one instant, whole armies can be utterly
destroyed, they surely will abide by golden peace.

-- Alfred Nobel (21 October 1833 - 10 December 1896), Swedish chemist,
armaments manufacturer, inventor of dynamite, who in his will used his
enormous fortune to institute the Nobel Prizes, as quoted in The Military
Quotation Book (2002) by James Charlton, p.  114


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread mark
John R. Dennison wrote:
> On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
>> Please find below :
>> [r...@mss-1 tmp]# rpm -q centos-release
>> centos-release-5-2.el5.centos
> 
>   And you conveniently left out the kernel revision that would
>   be returned by the second part of the command I gave you, namely
>   "uname -a".
> 
>   It sounds very much like a broken server, either a crippled
>   OpenVZ or similar VPS or a server broken by someone that
>   didn't know what they were doing and went to some trouble
>   to remove the yum subsystem.  Akemi pointed you to
>   http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
>   is worth your time to read it and see if you can unbreak
>   that box.

Wonder if someone was trying to remove yum-updatesd, and got all of yum.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:45 PM, John R. Dennison  wrote:

> On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
> >
> > Please find below :
> > [r...@mss-1 tmp]# rpm -q centos-release
> > centos-release-5-2.el5.centos
>
>And you conveniently left out the kernel revision that would
>be returned by the second part of the command I gave you, namely
>"uname -a".
>
>It sounds very much like a broken server, either a crippled
>OpenVZ or similar VPS or a server broken by someone that
>didn't know what they were doing and went to some trouble
>to remove the yum subsystem.  Akemi pointed you to
>http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
>is worth your time to read it and see if you can unbreak
>that box.
>
>
>
>
>John
>
> --
> All I ask is this: Do something.  Try something.  Speaking out, showing up,
> writing a letter, a check, a strongly worded e-mail.  Pick a cause -- there
> are few unworthy ones.  And nudge yourself past the brink of tacit support
> to action.  Once a month, once a year, or just once.
>
> -- Joss Whedon (1964-), writer and film director
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


Sorry . Here is the complementary data :
[r...@mss-1 tmp]# uname -a
Linux mss-1.iwv 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686
i386 GNU/Linux
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing virtio-win in CentOS 5.4

2009-12-23 Thread Sebastian
On Dec 1. the drivers are available on the Supplementary channel

https://rhn.redhat.com/errata/RHEA-2009-1624.html

Any chance to get them for CentOS?

Sebastian

2009/10/22 carlopmart 

> Ray Van Dolson wrote:
> > On Thu, Oct 22, 2009 at 04:14:00PM +0200, Sebastian Marten wrote:
> >> Hello,
> >> I Installed 5.4 on a test system to use KVM, but i didn't find the
> >> "virtio-win" package with the Windows drivers.
> >>
> >
> > Looks like these are provided via the RHN Supplementary Channel.  I'd
> > imagine they are not freely distributable?
> >
> > I'm sure someone else can confirm.
> >
> > Ray
>
> There are freely redistributable, but still they aren't published by
> upstream. You
> can use these instead:
>
> http://www.linux-kvm.com/content/windows-binary-virtio-drivers-finally-released,
> but
> there are a lot of problems with any windows 64 bits. And another problem,
> a big
> really, is that you can¡t install a windows kvm guest directly to a virtio
> disk.
> First you need to install to an ide disk, after generate a virtio disk and
> attach to
> win guest, install the virtio driver and last remove ide drive ... very
> very ugly.
>
> --
> CL Martinez
> carlopmart {at} gmail {d0t} com
> ___
> 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] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:31:53PM +, hadi motamedi wrote:
> 
> Please find below :
> [r...@mss-1 tmp]# rpm -q centos-release
> centos-release-5-2.el5.centos

And you conveniently left out the kernel revision that would
be returned by the second part of the command I gave you, namely
"uname -a".

It sounds very much like a broken server, either a crippled
OpenVZ or similar VPS or a server broken by someone that
didn't know what they were doing and went to some trouble
to remove the yum subsystem.  Akemi pointed you to
http://wiki.centos.org/TipsAndTricks/BrokenVserver and it
is worth your time to read it and see if you can unbreak
that box.




John

-- 
All I ask is this: Do something.  Try something.  Speaking out, showing up,
writing a letter, a check, a strongly worded e-mail.  Pick a cause -- there
are few unworthy ones.  And nudge yourself past the brink of tacit support
to action.  Once a month, once a year, or just once.

-- Joss Whedon (1964-), writer and film director


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:23 PM, John R. Dennison  wrote:

> On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> >
> > Thanks for your reply . But for unknown reasons the yum is not available
> on
> > my CentOS .
> > [r...@mss-1 tmp]# more /etc/redhat-release
> > CentOS release 5.2 (Final)
>
>This is irrelevant.  /etc/redhat-release is a text file and
>can be edited to say anything.
>
>rpm -q centos-release && uname -a will properly identify
>the release you are using.
>
>
>
>
>John
> --
> Only puny secrets need protection.
> Big discoveries are protected by public incredulity.
>
> -- Marshall McLuhan
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


Please find below :
[r...@mss-1 tmp]# rpm -q centos-release
centos-release-5-2.el5.centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> 
> Thanks for your reply . But for unknown reasons the yum is not available on
> my CentOS .
> [r...@mss-1 tmp]# more /etc/redhat-release
> CentOS release 5.2 (Final)

This is irrelevant.  /etc/redhat-release is a text file and
can be edited to say anything.

rpm -q centos-release && uname -a will properly identify
the release you are using.




John
-- 
Only puny secrets need protection.
Big discoveries are protected by public incredulity.

-- Marshall McLuhan




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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread John R. Dennison
On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> Dear All
> I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
> the www.pbone.net . But I didn't have success in installing it so please let
> me know if there is another way to accomplish this job ?

1)  CentOS comes with yum, so it should be installed on your
system now.  If you don't have it installed you are
running something that looks like CentOS but likely
isn't.  If this is the case you should contact whomever
sold you that setup and get your money back.

2)  Why in the world would you try to install from pbone
when you can get official CentOS packages from any
CentOS mirror?




John

-- 
We must respect the other fellow's religion, but only in the same sense and
to the extent that we respect his theory that his wife is beautiful and his
children smart.

-- H. L. Mencken (1880-1956), writer, editor, and critic


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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Akemi Yagi
On Wed, Dec 23, 2009 at 4:03 AM, hadi motamedi  wrote:

> Thanks for your reply . But for unknown reasons the yum is not available on
> my CentOS .
> [r...@mss-1 tmp]# more /etc/redhat-release
> CentOS release 5.2 (Final)
> [r...@mss-1 tmp]# yum
> -bash: yum: command not found
> Can you please let me know how can I install it ?

You might want to take a look at:

http://wiki.centos.org/TipsAndTricks/BrokenVserver

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:08 PM, Ray Van Dolson  wrote:

> On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> > On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson 
> wrote:
> >
> > >  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> > > > Dear All
> > > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package
> from
> > > > the www.pbone.net . But I didn't have success in installing it so
> please
> > > let
> > > > me know if there is another way to accomplish this job ?
> > > > Thank you in advance
> > >
> > > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> > >
> >
> > Thanks for your reply . But for unknown reasons the yum is not available
> on
> > my CentOS .
> > [r...@mss-1 tmp]# more /etc/redhat-release
> > CentOS release 5.2 (Final)
> > [r...@mss-1 tmp]# yum
> > -bash: yum: command not found
> > Can you please let me know how can I install it ?
>
> Strange.  What's the output of rpm -q yum?
>
> You could manually install the RPM's from:
>
>  http://mirror.stanford.edu/yum/pub/centos/5/os/
>
> Pick the correct architecture... and you'll have to resolve some
> dependancies manually.
>
> Ray
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



The output is as :
[r...@mss-1 tmp]# rpm -qa |grep yum
yum-arch-2.2.2-2.el5.kb
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Ray Van Dolson
On Wed, Dec 23, 2009 at 12:03:58PM +, hadi motamedi wrote:
> On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson  wrote:
> 
> >  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> > > Dear All
> > > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
> > > the www.pbone.net . But I didn't have success in installing it so please
> > let
> > > me know if there is another way to accomplish this job ?
> > > Thank you in advance
> >
> > Yum is installed by default in CentOS 5.x.  Just run 'yum'.
> >
> 
> Thanks for your reply . But for unknown reasons the yum is not available on
> my CentOS .
> [r...@mss-1 tmp]# more /etc/redhat-release
> CentOS release 5.2 (Final)
> [r...@mss-1 tmp]# yum
> -bash: yum: command not found
> Can you please let me know how can I install it ?

Strange.  What's the output of rpm -q yum?

You could manually install the RPM's from:

  http://mirror.stanford.edu/yum/pub/centos/5/os/

Pick the correct architecture... and you'll have to resolve some
dependancies manually.

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


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
On Wed, Dec 23, 2009 at 12:00 PM, Ray Van Dolson  wrote:

>  On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> > Dear All
> > I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
> > the www.pbone.net . But I didn't have success in installing it so please
> let
> > me know if there is another way to accomplish this job ?
> > Thank you in advance
>
> Yum is installed by default in CentOS 5.x.  Just run 'yum'.
>
> Ray
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thanks for your reply . But for unknown reasons the yum is not available on
my CentOS .
[r...@mss-1 tmp]# more /etc/redhat-release
CentOS release 5.2 (Final)
[r...@mss-1 tmp]# yum
-bash: yum: command not found
Can you please let me know how can I install it ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:yum?

2009-12-23 Thread Ray Van Dolson
On Wed, Dec 23, 2009 at 11:44:16AM +, hadi motamedi wrote:
> Dear All
> I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
> the www.pbone.net . But I didn't have success in installing it so please let
> me know if there is another way to accomplish this job ?
> Thank you in advance

Yum is installed by default in CentOS 5.x.  Just run 'yum'.

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


[CentOS] Inquiry:yum?

2009-12-23 Thread hadi motamedi
Dear All
I want to add "yum" to my CentOS 5.2 so I downloaded the rpm package from
the www.pbone.net . But I didn't have success in installing it so please let
me know if there is another way to accomplish this job ?
Thank you in advance
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] eME627-5082 laptop and Linux?

2009-12-23 Thread Scott Ehrlich
Anyone have experience with this laptop running C5 5.4 32 or 64-bit?
Any known problems/issues?

Thanks.

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


Re: [CentOS] iptables ... *BSD pf ... pfSense

2009-12-23 Thread Jure Pečar
On Tue, 22 Dec 2009 19:22:23 +0100
Götz Reinicke - IT Koordinator  wrote:


> http://www.pfsense.org/
> 
> What do you think?

Running in production since 0.9 or so. 1Gbit of traffic, carp failover, 
multiple vlans, all kinds of VPN, etc.

I have to think hard to come up with something that I don't like about pfsense 
... lack of IPv6 support could be one such minus.


-- 

Jure Pečar
http://jure.pecar.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] advanced routing, 2isp

2009-12-23 Thread David Hláčik
Guys,

please I have no luck with this. I have 2 ISPS. I have working
configuration with ip route a 2 routing tables in a way, that matching
local subnet uses second provider while all the others are using the
first one - main.

The main problem I am having is, that I am unable to reach my router
via public ip address of that second ISP.

This is my default routing table

[r...@sx1 cron.hourly]# ip route show table main
194.228.196.39 dev ppp0  proto kernel  scope link  src 90.178.76.117
10.123.50.101 dev ppp2  proto kernel  scope link  src 10.123.50.1
10.123.50.100 dev ppp1  proto kernel  scope link  src 10.123.50.1
213.194.242.0/24 dev eth1  proto kernel  scope link  src 213.194.242.198
10.123.20.0/24 dev eth0  proto kernel  scope link  src 10.123.20.1
10.123.10.0/24 dev eth0  proto kernel  scope link  src 10.123.10.11
10.123.11.0/24 dev eth0.8  proto kernel  scope link  src 10.123.11.1
10.123.42.0/24 dev eth0.5  proto kernel  scope link  src 10.123.42.1
10.123.123.0/24 dev eth0.7  proto kernel  scope link  src 10.123.123.1
10.123.40.0/24 dev eth0.4  proto kernel  scope link  src 10.123.40.1
10.123.30.0/24 dev eth0  proto kernel  scope link  src 10.123.30.1
10.123.44.0/24 dev eth0.6  proto kernel  scope link  src 10.123.44.1
169.254.0.0/16 dev eth0.8  scope link
default via 213.194.242.1 dev eth1

As you can see , my default provider has gateway 213.192.252.1 ,
connected via eth1 . This works fine for me.

Second configuration is ip rule based, when subnet 10.123.123.0/24
goes to routing table adsl

[r...@sx1 cron.hourly]# ip rule show
0: from all lookup 255
32764: from all fwmark 0x1 lookup adsl-vpn
32765: from 10.123.123.0/24 lookup adsl
32766: from all lookup main
32767: from all lookup default

[r...@sx1 cron.hourly]# ip route show table adsl
194.228.196.39 dev ppp0  scope link  src 90.178.76.117
10.123.123.0/24 dev eth0.7  scope link  src 10.123.123.1
default via 194.228.196.39 dev ppp0

As you can see in this case, all trafic goes via ppp0 (my second
internet provider connected via ppp0 - adsl ppoe).

This works fine.

What I want to achieve is, now being able to ping /access/whatever to
my server via second public IP address of my adsl provider
(90.178.76.117).
To achieve this i have added iptables rule, which marks all packets
comming via ppp0 (iptables -t mangle -A PREROUTING -i ppp0 -j MARK
--set-mark 0x1).

And created another routing table named adsl-vpn

[r...@sx1 cron.hourly]# ip route show table adsl-vpn
194.228.196.39 dev ppp0  scope link  src 90.178.76.117
10.123.10.0/24 dev eth0  scope link  src 10.123.10.11
default via 194.228.196.39 dev ppp0

Now i have added ip rule, which for all packets marked as 1 , which
are the ones which came trough ppp0 = my second ISP, uses table
adsl-vpn

[r...@sx1 cron.hourly]# ip rule show
0: from all lookup 255
32764: from all fwmark 0x1 lookup adsl-vpn  <--- this one
32765: from 10.123.123.0/24 lookup adsl
32766: from all lookup main
32767: from all lookup default

Well, now I should be able definitely to ping my server from outside,
but it does not works

Pinging from windows machine in outside world :

C:\Users\boss>ping 90.178.76.117
Pinging 90.178.76.117 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 90.178.76.117:
Packets: Sent = 3, Received = 0, Lost = 3 (100% loss),

If i will tcpdump my ppp0 interface on my router I see the ICMP echo
requests are comming

[r...@sx1 cron.hourly]# tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
09:08:27.743789 IP adsl-dyn118.78-98-105.t-com.sk >
gw2.cz.polarion.com: ICMP echo request, id 1, seq 72, length 40

But, echo responses  from my server NOT, instead of that, responses
are comming out of eth1 interface , which is my first ISP!

[r...@sx1 cron.hourly]# tcpdump -i eth1 |grep ICMP
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
09:09:30.451706 IP gw2.cz.polarion.com >
adsl-dyn118.78-98-105.t-com.sk: ICMP echo reply, id 1, seq 73, length
40
09:09:35.409704 IP gw2.cz.polarion.com >
adsl-dyn118.78-98-105.t-com.sk: ICMP echo reply, id 1, seq 74, length
40

This means that either mange is not working or ip rule is not working .

Please help,
David
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos