[CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread Roland RoLaNd

Dear all,
I'm trying to setup a development server which hosts a number of virtual 
hosts.and i need your advice with the following:
1. What's the best Filesystem to be used with an apache server?Relevant info: 
i. Mysql DB size' 1 GBii. Code directory size' 8 GB (Max file size is 5 KB)2. 
What's the best file structure to maximize seek time from drives?Relevant 
info:i. 2 X 1 TB SATAII 64MB blk Edition Int HDDii. 1 X 320GB 
General info:
I have an additional directory which hosts all my code under /Development . 
this directory has a size of almost 300 GB.14 Virtual Hosts would be created on 
the server under /etc/httpd/VHosts/
I was thinking of the following structure:
Drive A (320 GB): OS Drive B (1 TB): Mysql + /homeDrive C (1 TB): /development 
+ /opt
Would this work? i followed no guidelines with the above setup, it's just using 
my own logic. so i'd appreciate an expert advice with this.
Thanks,
--Roland  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread David Sommerseth
On 10/01/11 05:41, Rudi Ahlers wrote:
> On Sun, Jan 9, 2011 at 11:13 PM, Robert Spangler
>  wrote:
>> On Sunday 09 January 2011 13:33, Rudi Ahlers wrote:
>>
>>>  Our intranet's WAN interface just stopped working yesterday, and I
>>>  can't figure it out.
>>
>> Look in /etc/sysconfig/network-scripts.  There you should see ifcfg-eth#  If
>> ifcfg-eth0 isn't there copy ifcfg-eth1 to ifccfg-eth0 and then configure
>> ifcfg-eth0 to the information needed for your WAN link.
>>
> 
> The device file exists, but it's like asif the network card itself
> doesn't exist.

My immediate hunch is ... and I'm sorry to say it ... but your NIC is
often referred to as Realcrap NICs - unfortunately that's not without a
reason.

However, check what lspci says.  If you don't see your NIC there, it is
most likely a hardware issue (or caused by BIOS changes).  If you see
it, then look closely in dmesg for anything related to loading the
kernel module for this NIC.  See if that spits out any error messages.
You may also try to reload your NICs kernel module (modprobe -r 
&& modprobe ).

Another thing is to figure out what you did before it stopped working.
If you want to say "I did nothing" and that means you rebooted your box,
upgraded packages or other things which might sound safe and innocent,
it might just as well be connected.

The only times I've experienced issues and where I really did nothing,
it was related to physical hardware issues.  But those times where I did
"nothing" (rebooting, upgrading, innocent configuration changes) and got
troubles ... it was always connected to that I did the "nothing" thing.
 Sometimes even disabling "useless features" in BIOS turned out to
disable quite a useful feature after all.

So no rock is too small to be turned around now.  Go carefully through
all your changes you did before it stopped working.


kind regards,

David Sommerseth

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


Re: [CentOS] rpm/yum/repo issue - Error: Package tuple could not be found in packagesack

2011-01-10 Thread Keith Roberts
On Mon, 10 Jan 2011, n...@li.nux.ro wrote:

> To: CentOS mailing list 
> From: n...@li.nux.ro
> Subject: Re: [CentOS] rpm/yum/repo issue - Error: Package tuple could not be
> found in packagesack
> 
> n...@li.nux.ro writes:

*snip*

> No ideas guys? What I could figure out is that the spec 
> file is not the problem, it's somehow my build 
> environment. If I use the centos-testing repo for php 
> everything works fine, if i rebuild the srpm from 
> centos-testing.. the error appears again.. I tried 
> building both "manually" and from mock. Same sad result on 
> both cases.

Maybe it's ypur build environment? Try creating a new user 
and build environment to build RPM packages, and test that 
out with a simple package you know works first.

HTH

Keith










-
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] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread Rudi Ahlers
On Mon, Jan 10, 2011 at 10:05 AM, David Sommerseth
 wrote:
> On 10/01/11 05:41, Rudi Ahlers wrote:
>> On Sun, Jan 9, 2011 at 11:13 PM, Robert Spangler
>>  wrote:
>>> On Sunday 09 January 2011 13:33, Rudi Ahlers wrote:
>>>
  Our intranet's WAN interface just stopped working yesterday, and I
  can't figure it out.
>>>
>>> Look in /etc/sysconfig/network-scripts.  There you should see ifcfg-eth#  If
>>> ifcfg-eth0 isn't there copy ifcfg-eth1 to ifccfg-eth0 and then configure
>>> ifcfg-eth0 to the information needed for your WAN link.
>>>
>>
>> The device file exists, but it's like asif the network card itself
>> doesn't exist.
>
> My immediate hunch is ... and I'm sorry to say it ... but your NIC is
> often referred to as Realcrap NICs - unfortunately that's not without a
> reason.

Thank you for the discrimination, but it's not appreciated. This is
not a multi-million dollar enterprise cluster, so please don't see it
as such. It's an in-house development server and really doesn't
justify thousands of dollars' worth of hardware. The NIC was working
fine for about 2 years now without a hiccup, out of the box when we
first installed CentOS. Something went wrong, I just don't know how to
actually fix it without re-installing CentOS :)


>
> However, check what lspci says.  If you don't see your NIC there, it is
> most likely a hardware issue (or caused by BIOS changes).  If you see
> it, then look closely in dmesg for anything related to loading the
> kernel module for this NIC.  See if that spits out any error messages.
> You may also try to reload your NICs kernel module (modprobe -r 
> && modprobe ).
>
> Another thing is to figure out what you did before it stopped working.
> If you want to say "I did nothing" and that means you rebooted your box,
> upgraded packages or other things which might sound safe and innocent,
> it might just as well be connected.


The kernel & CentOS itself was upgraded last year sometime, when
CentOS 5.5. was released and it was running fine since then.
I really did nothing. We were working on a client's stuff, in fact,
accessing data over SMB from the server. Would that have caused an
issue? The network just dropped and hooked a KVM onto it to see what's
up. eth0 was still using IP 192.168.1.250 (configured when we
installed it) I then restarted the network scripts
(/etc/init.d/network restart) and eth0 didn't come back up. So, it
could either be a faulty network (yes, expensive card can also fail)
or the driver doesn't load properly anymore. BUT, I don't know where
to start fixing the problem.


>
> The only times I've experienced issues and where I really did nothing,
> it was related to physical hardware issues.  But those times where I did
> "nothing" (rebooting, upgrading, innocent configuration changes) and got
> troubles ... it was always connected to that I did the "nothing" thing.
>  Sometimes even disabling "useless features" in BIOS turned out to
> disable quite a useful feature after all.

So are you saying a spook accessed the BIOS of a machine which was
running for about 3 years, without any hardware changes? I don't,
ever, change BIOS settings once a machine is setup. Why should I?
Besides, the machine doesn't have a monitor or keyboard and I need to
take the one off my desk, walk over to the server room plug it in and
then access it that way. I don't know about you, but I don't do this
randomly every day, it's a waste of time.

>
> So no rock is too small to be turned around now.  Go carefully through
> all your changes you did before it stopped working.
>
>
> kind regards,
>
> David Sommerseth
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Could not setup Speed and Duplex on CentOS 5.5

2011-01-10 Thread Sikkandar Dulkarnai
Team,

Thanks for the response. It looks like when we are using *Xen*, eth0 is
become peth0.

When I tried

*ethtool -s peth0 speed 100 duplex full autoneg off*

it works fine. I tested throughput and it is optimum.


Regards,
Sikkandar


On Mon, Jan 10, 2011 at 4:57 AM, R Lists07  wrote:

>  Sikkandar,
>
> typically, we do this & put this text
>
> ETHTOOL_OPTS="speed 100 duplex full autoneg off"
>
> in this file
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
>
> and any others files there as necessary
>
> reboot unit or whatever is best for your admin situation...
>
> you may have other issues that we cannot discern from your email
>
>  - rh
>
> ___
> 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] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread compdoc
I love realtek - the resources they use tend not to conflict with other
cards or hardware, they don't use much cpu time, the drivers are mature, and
they don't cost much. What could be better? There does seem to be at least
one onboard realtek chipset that can have driver issues, but I use the 8169
without problems.

But hardware does fail. And any brand of nic can fail in odd ways. I'm
guessing you've swapped it out?

Bios settings can change if the on-board battery is dead and the system
loses power. (It can set to defaults) But bios settings rarely affect nics -
you're more likely to see boot problems from a change in drive boot
sequence.

I don't suppose you have a vpn on your lan? I noticed you use the
192.168.1.x address range, which is one of the most common ranges in the
world. If someone connects to your vpn from home or workplace, and if they
use the same range,  and if theres a bridge, addresses are going to
conflict.

If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them
if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or
higher. You should have backups of your originals for that reason...

I bet you wish you had a tcp/ip based kvm switch system about now...


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


Re: [CentOS] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread Rudi Ahlers
On Mon, Jan 10, 2011 at 11:49 AM, compdoc  wrote:
> I love realtek - the resources they use tend not to conflict with other
> cards or hardware, they don't use much cpu time, the drivers are mature, and
> they don't cost much. What could be better? There does seem to be at least
> one onboard realtek chipset that can have driver issues, but I use the 8169
> without problems.
>
> But hardware does fail. And any brand of nic can fail in odd ways. I'm
> guessing you've swapped it out?

Yes, the NIC might have failed, but how do I tell? lspci still shows
it as active.


>
> Bios settings can change if the on-board battery is dead and the system
> loses power. (It can set to defaults) But bios settings rarely affect nics -
> you're more likely to see boot problems from a change in drive boot
> sequence.

I already checked, BIOS settings didn't change :)

>
> I don't suppose you have a vpn on your lan? I noticed you use the
> 192.168.1.x address range, which is one of the most common ranges in the
> world. If someone connects to your vpn from home or workplace, and if they
> use the same range,  and if theres a bridge, addresses are going to
> conflict.

This is purely cause the ADSL router in the office is on the
192.168.1.0 subnet, so it's less hassle when it needs to be swapped
out to get it back up again. No VPN.


>
> If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them
> if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or
> higher. You should have backups of your originals for that reason...

I've already tried that, but eth0 doesn't automatically get detected.


>
> I bet you wish you had a tcp/ip based kvm switch system about now...
>

Yes, I supposed I could take one from a client server, or open a
sealed one, but it's not really necessary. For now I put in another
D-Link and got the server up that way, but would prefer to use the
onboard one since I had to take everything out of the 1U chassis,
which doesn't support more than 1 additional NIC.

>
> ___
>



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread John Doe
From: Roland RoLaNd 
>1. Drive A (320 GB): OS 
>2. Drive B (1 TB): Mysql + /home
>3. Drive C (1 TB): /development + /opt

Does that mean no RAID and downtime to recover from backups is acceptable...?

JD


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


Re: [CentOS] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread Rudi Ahlers
On Mon, Jan 10, 2011 at 12:08 PM, Rudi Ahlers  wrote:
> On Mon, Jan 10, 2011 at 11:49 AM, compdoc  wrote:
>> I love realtek - the resources they use tend not to conflict with other
>> cards or hardware, they don't use much cpu time, the drivers are mature, and
>> they don't cost much. What could be better? There does seem to be at least
>> one onboard realtek chipset that can have driver issues, but I use the 8169
>> without problems.
>>
>> But hardware does fail. And any brand of nic can fail in odd ways. I'm
>> guessing you've swapped it out?
>
> Yes, the NIC might have failed, but how do I tell? lspci still shows
> it as active.
>
>
>>
>> Bios settings can change if the on-board battery is dead and the system
>> loses power. (It can set to defaults) But bios settings rarely affect nics -
>> you're more likely to see boot problems from a change in drive boot
>> sequence.
>
> I already checked, BIOS settings didn't change :)
>
>>
>> I don't suppose you have a vpn on your lan? I noticed you use the
>> 192.168.1.x address range, which is one of the most common ranges in the
>> world. If someone connects to your vpn from home or workplace, and if they
>> use the same range,  and if theres a bridge, addresses are going to
>> conflict.
>
> This is purely cause the ADSL router in the office is on the
> 192.168.1.0 subnet, so it's less hassle when it needs to be swapped
> out to get it back up again. No VPN.
>
>
>>
>> If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them
>> if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or
>> higher. You should have backups of your originals for that reason...
>
> I've already tried that, but eth0 doesn't automatically get detected.
>
>
>>
>> I bet you wish you had a tcp/ip based kvm switch system about now...
>>
>
> Yes, I supposed I could take one from a client server, or open a
> sealed one, but it's not really necessary. For now I put in another
> D-Link and got the server up that way, but would prefer to use the
> onboard one since I had to take everything out of the 1U chassis,
> which doesn't support more than 1 additional NIC.
>
>>
>> ___
>>
>
>

This is really weird, after I installed the 2nd D-Link card and booted
up the server everyone could work again. But I noticed and eth2 being
loaded as well, which could only make sense if the onboard NIC was in
fact still working. And it was. So I took out the D-Link, deleted
eth2, rebooted and it worked again as normal.

Why would this happen, or have happened in the first place? Why would
a NIC just loose it's drivers like that?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread Roland RoLaNd

I'm using rsync with a cronjob everynight at 11 pm to do the following:
sync relevant directories to a running phsycial machine (same specs more or 
lesS)Sync relevant directories to a running Virtual Machine(vmware) On down 
time i'll run either one of those machines till problem is fixed. 
wouldn't that be enough?



> Date: Mon, 10 Jan 2011 03:01:56 -0800
> From: jd...@yahoo.com
> To: centos@centos.org
> Subject: Re: [CentOS] Centos installation Vs Disk partitioning
> 
> From: Roland RoLaNd 
> >1. Drive A (320 GB): OS 
> >2. Drive B (1 TB): Mysql + /home
> >3. Drive C (1 TB): /development + /opt
> 
> Does that mean no RAID and downtime to recover from backups is acceptable...?
> 
> 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] 389 Directory Server & CentOS

2011-01-10 Thread sync
On Mon, Jan 10, 2011 at 7:53 AM, Edgar Valdes wrote:

> Hello Everyone,
>
> I was wondering if anyone out there has successfully implemented 389 as a
> replacement or to support to a windows AD environment. I'm just starting to
> toy around with it in a few vm's and trying to get a feel for integrating
> the two together. So far I have the 389 up now I'm just working on
> connecting a dummy user to authenticate with it along with populating and
> talking with a dummy AD server.
>
> Any insights/suggestions/opinions/recommendations would be appreciated,
> especially before I get waste deep.
>
> Regards,
>
>
I  also have the same  problem , hope someone could give some suggestions



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


Re: [CentOS] Centos installation Vs Disk partitioning

2011-01-10 Thread Kwan Lowe
On Mon, Jan 10, 2011 at 7:21 AM, Roland RoLaNd  wrote:
> I'm using rsync with a cronjob everynight at 11 pm to do the following:
>
> sync relevant directories to a running phsycial machine (same specs more or
> lesS)
> Sync relevant directories to a running Virtual Machine(vmware)
>
> On down time i'll run either one of those machines till problem is fixed.
> wouldn't that be enough?

On my network I am using a combination of rsync and DRBD volumes to
make copies of my data. The main large drive is rsynced regularly to
another system. The daily changes (mostly documentation) is mirrored
on two drives on one server and that volume is DRBD'ed to the other
system.  Works well and recovery is quick.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Terminal with variable sized font

2011-01-10 Thread Michael Gliwinski
On Sunday 09 Jan 2011 19:58:54 Bart Schaefer wrote:
> On Sun, Jan 9, 2011 at 10:27 AM, Thomas Dickey  wrote:
> > But the request was for something that would retain the same screen
> > dimensions while changing the lines/columns.
> 
> Actually I believe the request is for something that will retain the
> same lines/columns while varying the font size to match the new screen
> dimensions.

IIRC PuTTY on Windows has such option and there is a GNU/Linux version, may be 
worth checking out.  It should also be possible to run a normal (local) shell 
under PuTTY instead of SSH but not sure if it's exposed (via options that is).


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

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


Re: [CentOS] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread Lisandro Grullon
I like your analogy David..." rock is too small to be turned around now" I 
think you put it in the right context. It is always a good idea to check on 
dmesg upon boot and make sure those modules are loaded as David mentioned. Try 
to start from the beginning to troubleshoot the problem. Tow cents.

>>> David Sommerseth  1/10/2011 3:05 AM >>>
On 10/01/11 05:41, Rudi Ahlers wrote:
> On Sun, Jan 9, 2011 at 11:13 PM, Robert Spangler
>  wrote:
>> On Sunday 09 January 2011 13:33, Rudi Ahlers wrote:
>>
>>>  Our intranet's WAN interface just stopped working yesterday, and I
>>>  can't figure it out.
>>
>> Look in /etc/sysconfig/network-scripts.  There you should see ifcfg-eth#  If
>> ifcfg-eth0 isn't there copy ifcfg-eth1 to ifccfg-eth0 and then configure
>> ifcfg-eth0 to the information needed for your WAN link.
>>
> 
> The device file exists, but it's like asif the network card itself
> doesn't exist.

My immediate hunch is ... and I'm sorry to say it ... but your NIC is
often referred to as Realcrap NICs - unfortunately that's not without a
reason.

However, check what lspci says.  If you don't see your NIC there, it is
most likely a hardware issue (or caused by BIOS changes).  If you see
it, then look closely in dmesg for anything related to loading the
kernel module for this NIC.  See if that spits out any error messages.
You may also try to reload your NICs kernel module (modprobe -r 
&& modprobe ).

Another thing is to figure out what you did before it stopped working.
If you want to say "I did nothing" and that means you rebooted your box,
upgraded packages or other things which might sound safe and innocent,
it might just as well be connected.

The only times I've experienced issues and where I really did nothing,
it was related to physical hardware issues.  But those times where I did
"nothing" (rebooting, upgrading, innocent configuration changes) and got
troubles ... it was always connected to that I did the "nothing" thing.
Sometimes even disabling "useless features" in BIOS turned out to
disable quite a useful feature after all.

So no rock is too small to be turned around now.  Go carefully through
all your changes you did before it stopped working.


kind regards,

David Sommerseth

___
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] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread Barry Brimer
> Thank you for the discrimination, but it's not appreciated. This is
> not a multi-million dollar enterprise cluster, so please don't see it
> as such. It's an in-house development server and really doesn't
> justify thousands of dollars' worth of hardware. The NIC was working
> fine for about 2 years now without a hiccup, out of the box when we
> first installed CentOS. Something went wrong, I just don't know how to
> actually fix it without re-installing CentOS :)

I would boot the server from a LiveCD or two and test network 
connectivity.  If it works from any one of these LiveCDs than the network 
card works and it could be a configuration issue in your installed CentOS. 
If it doesn't work on any of these LiveCDs that are all using different 
drivers, then it might be the card.  Also .. since this should be easy to 
do, switch network cables (in place, keeping their existing switch ports) 
with another system that is running fine.  If the other system starts 
exhibiting strange issues and this system magically starts working fine, 
it could be a cable or switch configuration issue.  Although most people 
don't have these sitting around, you could connect a USB nic to the 
machine and see if the problem occurs with the installed CentOS but using 
a different NIC without cracking the case.

Hope this helps,
Barry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread Lisandro Grullon
Rudi,
Sounds like a module conflict/misconfiguration, but anyway glad its working 
back. have you upgrade this system with the latest kernel build. I am guessing 
both onboard NICs are the same brand, take a look at messages and see if the 
card give me problems in the future. make sure you look for packet drops or 
errors that may hinder a bad NIC in the near future. Put your admin hat on a 
design a good plan to tackle this issue so you don't sweet it in the near 
future. Two cents.

>>> Rudi Ahlers  1/10/2011 6:18 AM >>>
On Mon, Jan 10, 2011 at 12:08 PM, Rudi Ahlers  wrote:
> On Mon, Jan 10, 2011 at 11:49 AM, compdoc  wrote:
>> I love realtek - the resources they use tend not to conflict with other
>> cards or hardware, they don't use much cpu time, the drivers are mature, and
>> they don't cost much. What could be better? There does seem to be at least
>> one onboard realtek chipset that can have driver issues, but I use the 8169
>> without problems.
>>
>> But hardware does fail. And any brand of nic can fail in odd ways. I'm
>> guessing you've swapped it out?
>
> Yes, the NIC might have failed, but how do I tell? lspci still shows
> it as active.
>
>
>>
>> Bios settings can change if the on-board battery is dead and the system
>> loses power. (It can set to defaults) But bios settings rarely affect nics -
>> you're more likely to see boot problems from a change in drive boot
>> sequence.
>
> I already checked, BIOS settings didn't change :)
>
>>
>> I don't suppose you have a vpn on your lan? I noticed you use the
>> 192.168.1.x address range, which is one of the most common ranges in the
>> world. If someone connects to your vpn from home or workplace, and if they
>> use the same range,  and if theres a bridge, addresses are going to
>> conflict.
>
> This is purely cause the ADSL router in the office is on the
> 192.168.1.0 subnet, so it's less hassle when it needs to be swapped
> out to get it back up again. No VPN.
>
>
>>
>> If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them
>> if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or
>> higher. You should have backups of your originals for that reason...
>
> I've already tried that, but eth0 doesn't automatically get detected.
>
>
>>
>> I bet you wish you had a tcp/ip based kvm switch system about now...
>>
>
> Yes, I supposed I could take one from a client server, or open a
> sealed one, but it's not really necessary. For now I put in another
> D-Link and got the server up that way, but would prefer to use the
> onboard one since I had to take everything out of the 1U chassis,
> which doesn't support more than 1 additional NIC.
>
>>
>> ___
>>
>
>

This is really weird, after I installed the 2nd D-Link card and booted
up the server everyone could work again. But I noticed and eth2 being
loaded as well, which could only make sense if the onboard NIC was in
fact still working. And it was. So I took out the D-Link, deleted
eth2, rebooted and it worked again as normal.

Why would this happen, or have happened in the first place? Why would
a NIC just loose it's drivers like that?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
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] how to recreate eth0 - Realtek 8169sc

2011-01-10 Thread Les Mikesell
On 1/10/11 3:12 AM, Rudi Ahlers wrote:
>
>> My immediate hunch is ... and I'm sorry to say it ... but your NIC is
>> often referred to as Realcrap NICs - unfortunately that's not without a
>> reason.
>
> Thank you for the discrimination, but it's not appreciated. This is
> not a multi-million dollar enterprise cluster, so please don't see it
> as such. It's an in-house development server and really doesn't
> justify thousands of dollars' worth of hardware. The NIC was working
> fine for about 2 years now without a hiccup, out of the box when we
> first installed CentOS. Something went wrong, I just don't know how to
> actually fix it without re-installing CentOS :)

A quick check would be to boot a live-cd distro or the centos install disk in 
rescue mode.  If the nic comes up that way it's something in your software or 
configs; if it doesn't, it's hardware.

> So are you saying a spook accessed the BIOS of a machine which was
> running for about 3 years, without any hardware changes? I don't,
> ever, change BIOS settings once a machine is setup.

Stuff like that happens.  We've had a bunch of IBM servers that after running 
several years would start crashing randomly - and would be fixed with a bios 
update.

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


Re: [CentOS] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread Tommy E Craddock Jr
Hey,

If it happens again, or maybe it might show in /var/log/messages, if there was 
a MAC address conflict in the ifcfg files.  I've seen where eth0 won't come on 
as the MAC address set in the cfg file wasnt matching.  Some times it fails 
with a message on an ifdown ifup, sometimes it doesn't.  Now that eth2 was 
created and the MAC is matching it works.  The pieces line up but doesn't mean 
that it was happened.  Just an idea.  

Tommy C. 

On Jan 10, 2011, at 6:18 AM, Rudi Ahlers  wrote:

> On Mon, Jan 10, 2011 at 12:08 PM, Rudi Ahlers  wrote:
>> On Mon, Jan 10, 2011 at 11:49 AM, compdoc  wrote:
>>> I love realtek - the resources they use tend not to conflict with other
>>> cards or hardware, they don't use much cpu time, the drivers are mature, and
>>> they don't cost much. What could be better? There does seem to be at least
>>> one onboard realtek chipset that can have driver issues, but I use the 8169
>>> without problems.
>>> 
>>> But hardware does fail. And any brand of nic can fail in odd ways. I'm
>>> guessing you've swapped it out?
>> 
>> Yes, the NIC might have failed, but how do I tell? lspci still shows
>> it as active.
>> 
>> 
>>> 
>>> Bios settings can change if the on-board battery is dead and the system
>>> loses power. (It can set to defaults) But bios settings rarely affect nics -
>>> you're more likely to see boot problems from a change in drive boot
>>> sequence.
>> 
>> I already checked, BIOS settings didn't change :)
>> 
>>> 
>>> I don't suppose you have a vpn on your lan? I noticed you use the
>>> 192.168.1.x address range, which is one of the most common ranges in the
>>> world. If someone connects to your vpn from home or workplace, and if they
>>> use the same range,  and if theres a bridge, addresses are going to
>>> conflict.
>> 
>> This is purely cause the ADSL router in the office is on the
>> 192.168.1.0 subnet, so it's less hassle when it needs to be swapped
>> out to get it back up again. No VPN.
>> 
>> 
>>> 
>>> If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them
>>> if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or
>>> higher. You should have backups of your originals for that reason...
>> 
>> I've already tried that, but eth0 doesn't automatically get detected.
>> 
>> 
>>> 
>>> I bet you wish you had a tcp/ip based kvm switch system about now...
>>> 
>> 
>> Yes, I supposed I could take one from a client server, or open a
>> sealed one, but it's not really necessary. For now I put in another
>> D-Link and got the server up that way, but would prefer to use the
>> onboard one since I had to take everything out of the 1U chassis,
>> which doesn't support more than 1 additional NIC.
>> 
>>> 
>>> ___
>>> 
>> 
>> 
> 
> This is really weird, after I installed the 2nd D-Link card and booted
> up the server everyone could work again. But I noticed and eth2 being
> loaded as well, which could only make sense if the onboard NIC was in
> fact still working. And it was. So I took out the D-Link, deleted
> eth2, rebooted and it worked again as normal.
> 
> Why would this happen, or have happened in the first place? Why would
> a NIC just loose it's drivers like that?
> 
> 
> -- 
> Kind Regards
> Rudi Ahlers
> SoftDux
> 
> Website: http://www.SoftDux.com
> Technical Blog: http://Blog.SoftDux.com
> Office: 087 805 9573
> Cell: 082 554 7532
> ___
> 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] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread Lisandro Grullon
Tommy,
I think your scenario only pertain to those of us that clone macs with 
different prefixes, we are assuming that rudi is using the original MAC from 
the actual device. Not two macs are equal unless you change the physical device 
parameters via mac-changer/modification. Let's hope he is not aliasing the 
original mac with a multi-fake mac group link to the original NIC.
 
>>> Tommy E Craddock Jr  1/10/2011 8:54 AM >>>
Hey,

If it happens again, or maybe it might show in /var/log/messages, if there was 
a MAC address conflict in the ifcfg files.  I've seen where eth0 won't come on 
as the MAC address set in the cfg file wasnt matching.  Some times it fails 
with a message on an ifdown ifup, sometimes it doesn't.  Now that eth2 was 
created and the MAC is matching it works.  The pieces line up but doesn't mean 
that it was happened.  Just an idea.  

Tommy C. 

On Jan 10, 2011, at 6:18 AM, Rudi Ahlers  wrote:



On Mon, Jan 10, 2011 at 12:08 PM, Rudi Ahlers  wrote:


On Mon, Jan 10, 2011 at 11:49 AM, compdoc  wrote:




I love realtek - the resources they use tend not to conflict with other




cards or hardware, they don't use much cpu time, the drivers are mature, and




they don't cost much. What could be better? There does seem to be at least




one onboard realtek chipset that can have driver issues, but I use the 8169




without problems.









But hardware does fail. And any brand of nic can fail in odd ways. I'm




guessing you've swapped it out?





Yes, the NIC might have failed, but how do I tell? lspci still shows


it as active.














Bios settings can change if the on-board battery is dead and the system




loses power. (It can set to defaults) But bios settings rarely affect nics -




you're more likely to see boot problems from a change in drive boot




sequence.





I already checked, BIOS settings didn't change :)












I don't suppose you have a vpn on your lan? I noticed you use the




192.168.1.x address range, which is one of the most common ranges in the




world. If someone connects to your vpn from home or workplace, and if they




use the same range,  and if theres a bridge, addresses are going to




conflict.





This is purely cause the ADSL router in the office is on the


192.168.1.0 subnet, so it's less hassle when it needs to be swapped


out to get it back up again. No VPN.















If you delete your ifcfg-eth0 or ifcfg-eth1 files, centos will recreate them




if it sees the nics at boot. But it tends to enable eth0 and disable eth1 or




higher. You should have backups of your originals for that reason...





I've already tried that, but eth0 doesn't automatically get detected.















I bet you wish you had a tcp/ip based kvm switch system about now...










Yes, I supposed I could take one from a client server, or open a


sealed one, but it's not really necessary. For now I put in another


D-Link and got the server up that way, but would prefer to use the


onboard one since I had to take everything out of the 1U chassis,


which doesn't support more than 1 additional NIC.












___












This is really weird, after I installed the 2nd D-Link card and booted
up the server everyone could work again. But I noticed and eth2 being
loaded as well, which could only make sense if the onboard NIC was in
fact still working. And it was. So I took out the D-Link, deleted
eth2, rebooted and it worked again as normal.

Why would this happen, or have happened in the first place? Why would
a NIC just loose it's drivers like that?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
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] replace x86 with x64 system and reuse existing LVM

2011-01-10 Thread Robert Heller
At Sun, 09 Jan 2011 23:31:25 +0100 CentOS mailing list  
wrote:

> 
> I want to replace an existing 32bit with a 64bit installation (Centos 5). 
> There's an existing LVM with lots of partitions. Most are used for Xen 
> guests. The system itself uses only one of them plus a separate /boot 
> partition that is not on LVM.
> What's the best course of action here? Should I do the reinstall with 
> kickstart or better manually and reuse the existing filesystem? As I 
> understand once LVM gets loaded it should find the volumes by itself, but 
> will it be able to use the same naming scheme for instance? Or do I have 
> to do some additional stuff, anyway?

You should re-install the O/S.  You can re-use the existing volumes,
but you should have the installer remake (as in mkfs.ext2/3) the root
(/), /var, and /usr file systems.  You can keep /home, etc. as is
(assuming it is a separate file systems.  If you have enough space
available in your volumn group, you can create a new root file system
for the 64-bit system and use that.  You can re-use the /boot file
system if you plan on making things 'dual boot'.  You can do this
(except create new logical volumns, unless you are using the GUI
installer)) from the 'custom layout' screen in the installer.

> 
> Thanks,
> 
> Kai
> 
> 
> ___
> 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] Centos installation Vs Disk partitioning

2011-01-10 Thread Brian Mathis
On Mon, Jan 10, 2011 at 3:03 AM, Roland RoLaNd  wrote:
> Dear all,
> I'm trying to setup a development server which hosts a number of virtual 
> hosts.
> and i need your advice with the following:
>
> 1. What's the best Filesystem to be used with an apache server?
>
> Relevant info:
>
> i. Mysql DB size' 1 GB
> ii. Code directory size' 8 GB (Max file size is 5 KB)
>
> 2. What's the best file structure to maximize seek time from drives?
>
> Relevant info:
>
> i. 2 X 1 TB SATAII 64MB blk Edition Int HDD
>
> ii. 1 X 320GB
>
> General info:
>
> I have an additional directory which hosts all my code under /Development .
> this directory has a size of almost 300 GB.
> 14 Virtual Hosts would be created on the server under /etc/httpd/VHosts/
>
> I was thinking of the following structure:
>
> Drive A (320 GB): OS
> Drive B (1 TB): Mysql + /home
> Drive C (1 TB): /development + /opt
>
> Would this work? i followed no guidelines with the above setup, it's just
> using my own logic. so i'd appreciate an expert advice with this.
> Thanks,
> --Roland


Filesystem is almost always irrelevant.  If you don't already know
that you need something special, use the default.  The only potential
issue would be if you have a lot of small files in one directory, or
an extremely large disk.

A daily rsync is not enough for protection against disk failures, and
disks are exceedingly cheap.  Your estimated disk usage is 9GB, and
you have 2x 1TB drives.  There's no excuse for not making that into a
RAID.  The Linux caching subsystems will handle most of the
performance concerns you might have, as it will automatically cache
things you use often.  Don't think too much about one thing that has
little benefit, while neglecting other things that do.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum difference

2011-01-10 Thread Matej Cepl
Dne 10.1.2011 00:35, derleader __ napsal(a):
> Red hat yum downloads packages from RHN
> Centos yum downloads packages from the fastest mirror?
> 
> There is difference in configuration.

yum can use plugins and in this case RHEL yum uses rhnplugin for
communicating with RHN/Satellite. Yum itself (from yum.src.rpm) is same.

Best,

Matěj

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


Re: [CentOS] Helper variables like %{rhel} on CentOS

2011-01-10 Thread Santi Saez
El 05/01/2011 20:05, Akemi Yagi escribió:
> (..)
> So, it will be:
>
> %rhel   0%(/bin/rpm -q -f /etc/redhat-release --qf '%{VERSION}\n')

Akemi and Nico, thank you very much for those tips!

Finally I will use the last version proposed by Akemi, thanks!

Regards,

--
Santi Saez
http://woop.es


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


Re: [CentOS] [OT] RHEVM List

2011-01-10 Thread Alan Hodgson
On January 9, 2011 04:26:50 pm Nico Kadel-Garcia wrote:
> Can you pass along a copy of your configuration, especially
> /etc/sysconfig/network-scripts/ and relevant /etc/ settings for a
> working KVM domain and network? I'd like to compare.

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


Re: [CentOS] Terminal with variable sized font

2011-01-10 Thread Frank Cox
On Mon, 10 Jan 2011 12:45:25 +
Michael Gliwinski wrote:

> IIRC PuTTY on Windows has such option and there is a GNU/Linux version, may
> be worth checking out.  It should also be possible to run a normal (local)
> shell under PuTTY instead of SSH but not sure if it's exposed (via options
> that is).

Interesting.  I never realized that putty was available for Linux.  I'll look
at it.

Thanks!

-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Set font and size in xterm

2011-01-10 Thread James B. Byrne

On Fri, January 7, 2011 15:00, Bill Campbell wrote:
> On Fri, Jan 07, 2011, James B. Byrne wrote:
>>I have attempted to set the font size using xrdb and a custom
>>.Xresources file.  I can change the colour scheme.  I can create a
>>scrollbar.  I can move the scrollbar to either the right or left
>>window margin.  What I cannot do is to change the font size.
>
> An easier way to handle this is to create a $HOME/XTerm file
> which will be used each time an xterm is started.  I'm including
> mine which sets a large font and several other options I like.
>

I copied your file into my home directory as ~/XTerm and took a look
at its contents.  As far as I can see you did not intend for me to
make any alterations to it to begin with.

With this file in place and ~/.Xresources renamed to
~/Xresources.test I started xterm from a gnome terminal. There were
several changes in behaviour, so I infer that the file is recognized
and loaded by xterm.  However, the font size remains unchanged.  I
suspect that there is something wrong with the xfont configuation on
this system since xfontsel can only see four fonts and there are
literally dozens available.  Since xterm apparently only knows about
four fonts then it cannot be altered to use any other.

How do I get xterm to recognize the availability of these additional
fonts?


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] latest kernel - version question

2011-01-10 Thread Santi Saez
El 09/01/2011 16:31, Robert Heller escribió:

> The kernel itself is optimized for the i686 processor.  It is possible
> to custom build a kernel for the i586, i486, or i386 if you really have
> a processor that old.

What is the sense of optimize a kernel for i686 and then distribute most 
of packages for i386?

For example in CentOS-5:

kernel-2.6.18-194.el5.i686.rpm
php-5.1.6-27.el5.i386.rpm
httpd-2.2.3-43.el5.centos.i386.rpm
mysql-server-5.0.77-4.el5_4.2.i386.rpm

Regards,

--
Santi Saez
http://woop.es
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] usb 3

2011-01-10 Thread Jerry Geis
I am trying to plug a USB 2 device in a USB 3 slot. Nothing is being 
detected
in "lsusb". Is there something special I need to do? I am running centos 
5.5 x86_64.
I thought 3.0 was backward compatible. Nothing special about my device 
its an RS232 to USB device.
It works in 2.0 slot.

Thanks,

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


Re: [CentOS] replace x86 with x64 system and reuse existing LVM

2011-01-10 Thread Kai Schaetzl
Answering here to all three replies, and thanks for all of them! I think 
it should have been clear from my wording that I want to install from 
scratch and wipe the existing OS. I do not want to dualboot or "save" 
anything (or much) from the existing OS. I just want to reuse the existing 
LVM structure with all the existing guests and wasn't sure if this would 
be easily provided by the install wizard or if I needed to do something 
special. Or if I should just install via kickstart reusing the original 
kickstart file with slightly altered options (e.g. don't create volumes, 
just format the correct ones - which might be a tricky and easily mistaken 
one). So, as I understand, a normal install with the custom disk layout 
option should be able to reuse the LVM as I want it, right? Thanks.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] usb 3

2011-01-10 Thread Kwan Lowe
On Mon, Jan 10, 2011 at 1:07 PM, Jerry Geis  wrote:
> I am trying to plug a USB 2 device in a USB 3 slot. Nothing is being
> detected
> in "lsusb". Is there something special I need to do? I am running centos
> 5.5 x86_64.
> I thought 3.0 was backward compatible. Nothing special about my device
> its an RS232 to USB device.
> It works in 2.0 slot.
>

It is backwards compatible, but the chipset might not yet be
supported.  What does lsdev show for the port?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb 3

2011-01-10 Thread Jerry Geis
>
> It is backwards compatible, but the chipset might not yet be
> supported.  What does lsdev show for the port?
>   
I dont have lsdev - I do have lspci. Is this what you meant?

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
02:00.0 Network controller: RaLink RT2860
03:00.0 VGA compatible controller: nVidia Corporation GT218 [ION] (rev a2)
03:00.1 Audio device: nVidia Corporation High Definition Audio 
Controller (rev a1)
04:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

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


Re: [CentOS] Set font and size in xterm

2011-01-10 Thread James B. Byrne

On Mon, January 10, 2011 12:37, Bill Campbell wrote:
> On Mon, Jan 10, 2011, James B. Byrne wrote:
>> I copied your file into my home directory as ~/XTerm and took a
>> look at its contents.  As far as I can see you did not intend
>> for me to make any alterations to it to begin with.
>
> James:
>
> I sent the entire file FYI, and it's yours to hack as you see
> fit.  Lines starting with "!" are comments and may be removed.
>

Thanks.  I thought as much.

It really does seem to come down to the fact that xfs is not finding
the fonts and that therefore only the default fonts are left
available to XTerm.  I have tried configuring the FontPath argument
in xorg.conf but all that manages to do is to stop the xserver from
starting at all.

I looked into the rc script and to me it is a nightmare.  To begin
with, instead of just configuring the font directories the startup
script runs a font locater utility /usr/sbin/chkfontpath. When run
from the command line this yields these results:

/usr/share/X11/fonts/misc:unscaled
/usr/share/X11/fonts/75dpi:unscaled
/usr/share/X11/fonts/100dpi:unscaled
/usr/share/X11/fonts/Type1
/usr/share/X11/fonts/TTF
/usr/share/fonts/default/Type1
/usr/share/fonts/webcore

But when I run xset q I do not see these listed:

Font Path:
  built-ins
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 0Suspend: 0Off: 0
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib64/xorg/modules
  Log file: /var/log/Xorg.0.log

I would appreciate some guidance on how to proceed from this point.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] usb 3

2011-01-10 Thread Lisandro Grullon
I don't have a lsdev either, I hope he meant lspci | grep usb* or something 
along those lines...:-)

>>> Jerry Geis  1/10/2011 2:36 PM >>>
>
> It is backwards compatible, but the chipset might not yet be
> supported.  What does lsdev show for the port?
>   
I dont have lsdev - I do have lspci. Is this what you meant?

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
02:00.0 Network controller: RaLink RT2860
03:00.0 VGA compatible controller: nVidia Corporation GT218 [ION] (rev a2)
03:00.1 Audio device: nVidia Corporation High Definition Audio 
Controller (rev a1)
04:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

Jerry
___
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] usb 3

2011-01-10 Thread Lisandro Grullon
Jerry,
See the /var/log/messages and see if you see the device being detect by the 
kernel when you plug in. tail /var/log/messages should hint you something..

>>> Jerry Geis  1/10/2011 2:36 PM >>>
>
> It is backwards compatible, but the chipset might not yet be
> supported.  What does lsdev show for the port?
>   
I dont have lsdev - I do have lspci. Is this what you meant?

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
02:00.0 Network controller: RaLink RT2860
03:00.0 VGA compatible controller: nVidia Corporation GT218 [ION] (rev a2)
03:00.1 Audio device: nVidia Corporation High Definition Audio 
Controller (rev a1)
04:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

Jerry
___
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] usb 3

2011-01-10 Thread Kwan Lowe
On Mon, Jan 10, 2011 at 2:36 PM, Jerry Geis  wrote:
>>
>> It is backwards compatible, but the chipset might not yet be
>> supported.  What does lsdev show for the port?
>>
> I dont have lsdev - I do have lspci. Is this what you meant?

:D  Working on AIX at the moment so got my ls*'s mixed..

[snip]
> 01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
[snip]

So no driver installed.. There's a link I found:
http://git.kernel.org/?p=linux/kernel/git/sarah/xhci.git;a=summary

But it appears you need a later kernel...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb 3

2011-01-10 Thread Kwan Lowe
On Mon, Jan 10, 2011 at 2:36 PM, Jerry Geis  wrote:
>>
>> It is backwards compatible, but the chipset might not yet be
>> supported.  What does lsdev show for the port?
>>
> I dont have lsdev - I do have lspci. Is this what you meant?
[snip]

> 01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)

Saw this link with some CentOS info:
https://www.centos.org/modules/newbb/viewtopic.php?viewmode=thread&topic_id=28472&forum=39

Following that eventually led to this:
http://elrepo.org/tiki/kernel-ml

So it appears that you can load the mainline kernel and automagically
get support for the device. I haven't located a module for the stock
upstream vendor's kernel though.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Set font and size in xterm

2011-01-10 Thread James B. Byrne
I now have fonts! I added the font directories found by
/usr/sbin/chkfontpath to the Files Section of the /etc/X11/xorg.conf
and following a restart things began to work.

The system startup script for xfs makes reference to a
/tmp/.font-unix directory.  An error message appears on the boot
details screen to the effect that lstat reports /tmp/.font-unix does
not exist but I can find no reference to this error in any of the
logs.  After startup I can find that directory but it is empty.

I have no idea how this is supposed to work but I suspect that the
dynamic discovery and addition of the font directories is failing
for some reason.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] latest kernel - version question

2011-01-10 Thread Robert Heller
At Mon, 10 Jan 2011 18:25:22 +0100 CentOS mailing list  
wrote:

> 
> El 09/01/2011 16:31, Robert Heller escribió:
> 
> > The kernel itself is optimized for the i686 processor.  It is possible
> > to custom build a kernel for the i586, i486, or i386 if you really have
> > a processor that old.
> 
> What is the sense of optimize a kernel for i686 and then distribute most 
> of packages for i386?

Most packages don't actualy do anything where process-specific
optimizations would make any noticable differences.  Note: glibc itself
is optimized for i686 and since just about all programs use glibc, they
would all get this advantage.

Optimizing the kernel not only relates to generic speed, etc.
advantages but also a pile of kernel-level 'features' the newer
procossors provide (stuff involving process scheduling, virtual memory
management, and I/O / DMA addressing / processing).  These various 
kernel-level 'features' are not accessable by user-mode processes, so
adding in those features / instructions is not meaningful for user-mode
code (most packages).

> 
> For example in CentOS-5:
> 
> kernel-2.6.18-194.el5.i686.rpm
> php-5.1.6-27.el5.i386.rpm
> httpd-2.2.3-43.el5.centos.i386.rpm
> mysql-server-5.0.77-4.el5_4.2.i386.rpm
> 
> Regards,
> 
> --
> Santi Saez
> http://woop.es
> ___
> 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] replace x86 with x64 system and reuse existing LVM

2011-01-10 Thread Robert Heller
At Mon, 10 Jan 2011 19:51:57 +0100 CentOS mailing list  
wrote:

> 
> Answering here to all three replies, and thanks for all of them! I think 
> it should have been clear from my wording that I want to install from 
> scratch and wipe the existing OS. I do not want to dualboot or "save" 
> anything (or much) from the existing OS. I just want to reuse the existing 
> LVM structure with all the existing guests and wasn't sure if this would 
> be easily provided by the install wizard or if I needed to do something 
> special. Or if I should just install via kickstart reusing the original 
> kickstart file with slightly altered options (e.g. don't create volumes, 
> just format the correct ones - which might be a tricky and easily mistaken 
> one). So, as I understand, a normal install with the custom disk layout 
> option should be able to reuse the LVM as I want it, right? Thanks.

Yes.  Just be sure to reformat things like the / and
/boot file systems (/usr and /var if those are separate).  You can leave
/home and and *data* file system alone.

> 
> Kai
> 

-- 
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] usb 3

2011-01-10 Thread Lisandro Grullon
It would be great if you can post the output of this command to see the device 
ID
 
/sbin/lspci - n | grep '01:00.0'

>>> Jerry Geis  1/10/2011 3:12 PM >>>
sure - I can wait for 6.
Was hoping it would be here by now.

Jerry

Lisandro Grullon wrote: 


Likely support for 3.0 hasn't reach that kernel, probably in the present 
unstable build it is being tested, not sure if you want to take that risk 
though. If I were you I would wait until they work out the bugs, likely this 
will get integrated in 6.x which should be out not too far ahead. Can you live 
with 2.0 for now. I rather play safe than dealing with module crashes, it will 
be your call.

>>> Jerry Geis  ( 
>>> mailto:ge...@messagenetsystems.com ) 1/10/2011 3:01 PM >>>
running 2.6.18-194.26 - not the latest but close.

jerry

Lisandro Grullon wrote: 

Sounds like a driver issue thenhave you update your kernel recently?

>>> Jerry Geis  ( 
>>> mailto:ge...@messagenetsystems.com ) 1/10/2011 2:56 PM >>>
I am not getting any events when I plug/unplug from the usb 3 port.
Works fine in a 2.0 port.

jerry


Lisandro Grullon wrote: 

Jerry,
See the /var/log/messages and see if you see the device being detect by the 
kernel when you plug in. tail /var/log/messages should hint you something..

>>> Jerry Geis  ( mailto:ge...@pagestation.com ) 
>>> 1/10/2011 2:36 PM >>>
>
> It is backwards compatible, but the chipset might not yet be
> supported.  What does lsdev show for the port?
>   
I dont have lsdev - I do have lspci. Is this what you meant?

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 
3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI 
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI 
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
02:00.0 Network controller: RaLink RT2860
03:00.0 VGA compatible controller: nVidia Corporation GT218 [ION] (rev a2)
03:00.1 Audio device: nVidia Corporation High Definition Audio 
Controller (rev a1)
04:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

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

-- 

Jerry Geis 
MessageNet Systems 
101 East Carmel Dr. Suite 105 
Carmel, IN 46032 
(317)566-1677 
(317)663-0808 Fax 

-- 

Jerry Geis 
MessageNet Systems 
101 East Carmel Dr. Suite 105 
Carmel, IN 46032 
(317)566-1677 
(317)663-0808 Fax 

-- 

Jerry Geis 
MessageNet Systems 
101 East Carmel Dr. Suite 105 
Carmel, IN 46032 
(317)566-1677 
(317)663-0808 Fax 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] latest kernel - version question

2011-01-10 Thread Kevin K

On Jan 10, 2011, at 11:25 AM, Santi Saez wrote:

> El 09/01/2011 16:31, Robert Heller escribió:
> 
>> The kernel itself is optimized for the i686 processor.  It is possible
>> to custom build a kernel for the i586, i486, or i386 if you really have
>> a processor that old.
> 
> What is the sense of optimize a kernel for i686 and then distribute most 
> of packages for i386?
> 
> For example in CentOS-5:
> 
> kernel-2.6.18-194.el5.i686.rpm
> php-5.1.6-27.el5.i386.rpm
> httpd-2.2.3-43.el5.centos.i386.rpm
> mysql-server-5.0.77-4.el5_4.2.i386.rpm
> 

Most packages don't necessarily require the extra instructions in the 686.  
Routines like glibc, which are linked in at runtime, do get compiled for the 
686.

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


Re: [CentOS] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread Nico Kadel-Garcia
On Mon, Jan 10, 2011 at 8:58 AM, Lisandro Grullon
 wrote:
> Tommy,
> I think your scenario only pertain to those of us that clone macs with
> different prefixes, we are assuming that rudi is using the original MAC from
> the actual device. Not two macs are equal unless you change the physical
> device parameters via mac-changer/modification. Let's hope he is not
> aliasing the original mac with a multi-fake mac group link to the
> original NIC.

I've also had kernel updates change the name of the module for the
NIC, and fail to detect or reload it successfully in
/etc/modprobe.conf. (Don't *GET* me goiing devices changing from
/dev/hda to /dev/sda, or switching numbering due to really poor vendor
patches.)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to recreate eth0 - Realtek 8169sc [SOLVED]

2011-01-10 Thread compdoc
>> (Don't *GET* me goiing devices changing from /dev/hda to /dev/sda[>] ...)
[>]

In centos, you can at least mount your storage drives like this:

[r...@yourpc ~]# blkid
/dev/sdb1: LABEL="sixtb" UUID="f5ef20af-fd54-4f5e-8fce-2d4f262fcfbf"
TYPE="ext4"

Then add this at the bottom of fstab: (using your own uuid and type)

UUID= f5ef20af-fd54-4f5e-8fce-2d4f262fcfbf  /mountpoint  ext4  defaults
0 0

The uuid doesn't change.

___
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] RAID configuration suggestion???

2011-01-10 Thread mcclnx mcc
we have several DELL R900 with PERC 6/E adapter in it.  R900 using Redhat 
Linux.  Each R900 have two PERC 6/E adapter and at least two MD1000 connect to 
it.

Configuration 1:

  PERC 6/E -- two MD1000
  PERC 6/E --  empty

Configuration 2:

  PERC 6/E --  MD1000
  PERC 6/E --  MD1000

Normally first MD1000 for database and second MD1000 for nightly backup.  My 
co-worker told me there is NO difference on performance or battery life on botn 
configurations.

I would like listen to your opinion on follwoing:

1. which configuration have better performance?

2. put two MD1000 on same PERC 6/E adapter will cause battery life shorter?

3. other comment?

Thanks.


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


Re: [CentOS] RAID configuration suggestion???

2011-01-10 Thread John R Pierce
On 01/10/11 5:41 PM, mcclnx mcc wrote:
> 2. put two MD1000 on same PERC 6/E adapter will cause battery life shorter?

raid batteries only get used when your power fails while the system is 
running, and are used to maintain the write cache so when power is 
restored any dirty data in the cache can be committed to disk.

they should last for their shelf life, which is generally 5 years from 
date of deployment (I don't know Dell's spec on the Perc 6/E, I just 
mean in general).



your other questions re relative performance should be tested with a 
simulation of your production sorts of workload, and other people's 
experience will have little bearing on your usage.


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


Re: [CentOS] rpm/yum/repo issue - Error: Package tuple could not be found in packagesack

2011-01-10 Thread nux
Keith Roberts writes:

> Maybe it's ypur build environment? Try creating a new user 
> and build environment to build RPM packages, and test that 
> out with a simple package you know works first.
> 
> HTH
> 
> Keith

Changing the user account didn't help. I ended up building a new 
kvm virtual machine. All works flawlessly… No idea what the problem was, but 
glad it's working :-(
the repo is at http://dl.nux.ro/rpm/nux-php52.repo if you like testing.

--
Nux!
www.nux.ro

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


Re: [CentOS] logical volume management:problem solved

2011-01-10 Thread Ritika Garg
I updated the package system-config-lvm, so now i can see
system->administration->logical volume management
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos