[CentOS] tg3 BCM5755 intermittantly stops working after upgrade to 5.3.

2009-04-21 Thread Mangesh S. Umbarje
Dear All,

 I am having a HP xw4400 with following ethernet controller 
as reported by lspci

Broadcom Corporation NetXtreme BCM5755 Gigabit Ethernet PCI Express (rev 02)

 This machine was running CentOS 5.2 without any problem. After 
updating the machine with yum update on 8 April, after which it is showing 
to be CentOS 5.3, this machine stops communicating intermittantly and I 
see the following message correspondingly in /var/log/messages

Apr 18 10:30:07 kernel: tg3: eth0: Link is down.
Apr 18 10:30:10 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:30:10 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:30:24 kernel: tg3: eth0: Link is down.
Apr 18 10:30:27 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:30:27 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:30:29 kernel: tg3: eth0: Link is down.
Apr 18 10:30:32 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:30:32 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:30:46 kernel: tg3: eth0: Link is down.
Apr 18 10:30:49 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:30:49 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:30:50 kernel: tg3: eth0: Link is down.
Apr 18 10:30:52 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:30:52 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:36:46 kernel: tg3: eth0: Link is down.
Apr 18 10:36:49 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
Apr 18 10:36:49 kernel: tg3: eth0: Flow control is off for TX and off for RX.
Apr 18 10:37:43 kernel: tg3: eth0: Link is down.

The interval for which it happens is about order of few minutes.The 
kernel it is running now is 2.6.18-128.1.6.el5. Can anybody help.

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


Re: [CentOS] tg3 BCM5755 intermittantly stops working after upgrade to 5.3.

2009-04-21 Thread D Tucny
2009/4/21 Mangesh S. Umbarje 

> Dear All,
>
> I am having a HP xw4400 with following ethernet controller
> as reported by lspci
>
> Broadcom Corporation NetXtreme BCM5755 Gigabit Ethernet PCI Express (rev
> 02)
>
> This machine was running CentOS 5.2 without any problem. After
> updating the machine with yum update on 8 April, after which it is showing
> to be CentOS 5.3, this machine stops communicating intermittantly and I
> see the following message correspondingly in /var/log/messages
>
> Apr 18 10:30:07 kernel: tg3: eth0: Link is down.
> Apr 18 10:30:10 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
> Apr 18 10:30:10 kernel: tg3: eth0: Flow control is off for TX and off for
> RX.
> Apr 18 10:30:24 kernel: tg3: eth0: Link is down.


etc...


>
>The interval for which it happens is about order of few minutes.The
> kernel it is running now is 2.6.18-128.1.6.el5. Can anybody help.
>

Have you tried running with the old kernel from before the update to verify
that it doesn't occur with that version?

It is possible that the update is just a coincidence and you are actually
facing link problems due to the card, the cable, the switch or any of the
connections between...

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


Re: [CentOS] tg3 BCM5755 intermittantly stops working after upgrade to 5.3.

2009-04-21 Thread Mangesh S. Umbarje


  I have checked the physical connectivity which is perfectly 
fine. This machine is very critical which we need to keep running as much 
as possible. So I had gone to older kernel 2.6.18-92.1.17.el5. But along 
with this kernel, I had added one more Dlink ethernet card which shows to 
be


05:09.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet 
Adapter (rev 11) (rev 11)

and it uses the skge driver.

  So I could test the machine with this new card and 
kernel-2.6.18-92.1.17.el5 togather. Still I do get the network breaks but 
the frequency reduced to factor of Ten. The corresponding messages seen in 
the /var/log/messages are as follow.


Apr 21 10:18:32 kernel: skge eth1: Link is down.
Apr 21 10:18:36 kernel: skge eth1: Link is up at 1000 Mbps, full duplex, flow 
control none
Apr 21 10:18:55 kernel: skge eth1: Link is down.
Apr 21 10:18:57 kernel: skge eth1: Link is up at 1000 Mbps, full duplex, flow 
control none
Apr 21 10:18:58 kernel: skge eth1: Link is down.
Apr 21 10:19:01 kernel: skge eth1: Link is up at 1000 Mbps, full duplex, flow 
control none

Regards,
Mangesh


On Tue, 21 Apr 2009, D Tucny wrote:


2009/4/21 Mangesh S. Umbarje 
  Dear All,

              I am having a HP xw4400 with following ethernet controller
  as reported by lspci

  Broadcom Corporation NetXtreme BCM5755 Gigabit Ethernet PCI Express (rev 
02)

              This machine was running CentOS 5.2 without any problem. After
  updating the machine with yum update on 8 April, after which it is showing
  to be CentOS 5.3, this machine stops communicating intermittantly and I
  see the following message correspondingly in /var/log/messages

  Apr 18 10:30:07 kernel: tg3: eth0: Link is down.
  Apr 18 10:30:10 kernel: tg3: eth0: Link is up at 1000 Mbps, full duplex.
  Apr 18 10:30:10 kernel: tg3: eth0: Flow control is off for TX and off for 
RX.
  Apr 18 10:30:24 kernel: tg3: eth0: Link is down.


etc...
 

         The interval for which it happens is about order of few minutes.The
  kernel it is running now is 2.6.18-128.1.6.el5. Can anybody help.


Have you tried running with the old kernel from before the update to verify 
that it doesn't occur with that version?

It is possible that the update is just a coincidence and you are actually 
facing link problems due to the card, the
cable, the switch or any of the connections between...

d

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


Re: [CentOS] tg3 BCM5755 intermittantly stops working after upgrade to 5.3.

2009-04-21 Thread D Tucny
2009/4/21 Mangesh S. Umbarje 

>
>  I have checked the physical connectivity which is perfectly fine.
> This machine is very critical which we need to keep running as much as
> possible. So I had gone to older kernel 2.6.18-92.1.17.el5. But along with
> this kernel, I had added one more Dlink ethernet card which shows to be
>
> 05:09.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet
> Adapter (rev 11) (rev 11)
>
> and it uses the skge driver.
>
>  So I could test the machine with this new card and
> kernel-2.6.18-92.1.17.el5 togather. Still I do get the network breaks but
> the frequency reduced to factor of Ten. The corresponding messages seen in
> the /var/log/messages are as follow.
>
> Apr 21 10:18:32 kernel: skge eth1: Link is down.
> Apr 21 10:18:36 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none
> Apr 21 10:18:55 kernel: skge eth1: Link is down.
> Apr 21 10:18:57 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none
> Apr 21 10:18:58 kernel: skge eth1: Link is down.
> Apr 21 10:19:01 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none
>

So, with a preupdate kernel and a different NIC, which uses different
drivers, you're still getting the problems...

I'm more convinced of a physical problem... Have you tried a different
switch port? Does the cabling run past a laser printer? Does the cabling run
parallel to some electrical cabling with intermittent high load, such as to
cooling or heating systems?
If you run the port at 100Mbps do you still get the same problem? How did
you confirm the physical connectivity was fine?

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


Re: [CentOS] tg3 BCM5755 intermittantly stops working after upgrade to 5.3.

2009-04-21 Thread Michael Iatrou
When the date was Tuesday 21 April 2009, Mangesh S. Umbarje wrote:

>I have checked the physical connectivity which is perfectly
> fine. This machine is very critical which we need to keep running as much
> as possible. So I had gone to older kernel 2.6.18-92.1.17.el5. But along
> with this kernel, I had added one more Dlink ethernet card which shows to
> be
>
> 05:09.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet
> Adapter (rev 11) (rev 11)
>
> and it uses the skge driver.
>
>So I could test the machine with this new card and
> kernel-2.6.18-92.1.17.el5 togather. Still I do get the network breaks but
> the frequency reduced to factor of Ten. The corresponding messages seen
> in the /var/log/messages are as follow.
>
> Apr 21 10:18:32 kernel: skge eth1: Link is down.
> Apr 21 10:18:36 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none Apr 21 10:18:55 kernel: skge eth1: Link is down.
> Apr 21 10:18:57 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none Apr 21 10:18:58 kernel: skge eth1: Link is down.
> Apr 21 10:19:01 kernel: skge eth1: Link is up at 1000 Mbps, full duplex,
> flow control none

Try to disable auto-negotiation for the NIC, using ethtool. Set manually the 
speed to 100 and then 1000 Mbps and see what happens.

The machine has static IP or it uses DHCP? It's a good idea to do some 
traffic capture and check if there is any correlation between the traffic 
and the link state.

-- 
 Michael Iatrou

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


Re: [CentOS] failure to install python-tools

2009-04-21 Thread John Doe

From: James A. Peltier 
> Anyone else having trouble when installing python-tools?
> sudo yum -y install python-tools
> Password:
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> adobe-linux 
> |  951 B 00:00
> extras 
> |  951 B 00:00
> base 
> | 1.1 kB 00:00
> updates 
> |  951 B 00:00
> addons 
> |  951 B 00:00
> 3 packages excluded due to repository priority protections
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package python-tools.x86_64 0:2.4.3-21.el5 set to be updated
> --> Processing Dependency: python = 2.4.3-21.el5 for package: python-tools
> --> Processing Dependency: tkinter = 2.4.3-21.el5 for package: 
> python-tools
> --> Running transaction check
> ---> Package python-tools.x86_64 0:2.4.3-21.el5 set to be updated
> --> Processing Dependency: python = 2.4.3-21.el5 for package: python-tools
> ---> Package tkinter.x86_64 0:2.4.3-21.el5 set to be updated
> --> Processing Dependency: python = 2.4.3-21.el5 for package: tkinter
> --> Processing Dependency: libTix8.4.so()(64bit) for package: tkinter
> --> Running transaction check
> ---> Package python-tools.x86_64 0:2.4.3-21.el5 set to be updated
> --> Processing Dependency: python = 2.4.3-21.el5 for package: python-tools
> ---> Package tkinter.x86_64 0:2.4.3-21.el5 set to be updated
> --> Processing Dependency: python = 2.4.3-21.el5 for package: tkinter
> ---> Package tix.x86_64 1:8.4.0-11.fc6 set to be updated
> --> Finished Dependency Resolution
> python-tools-2.4.3-21.el5.x86_64 from base has depsolving problems
>--> Missing Dependency: python = 2.4.3-21.el5 is needed by package 
> python-tools-2.4.3-21.el5.x86_64 (base)
> tkinter-2.4.3-21.el5.x86_64 from base has depsolving problems
>--> Missing Dependency: python = 2.4.3-21.el5 is needed by package 
> tkinter-2.4.3-21.el5.x86_64 (base)
> Error: Missing Dependency: python = 2.4.3-21.el5 is needed by package 
> tkinter-2.4.3-21.el5.x86_64 (base)
> Error: Missing Dependency: python = 2.4.3-21.el5 is needed by package 
> python-tools-2.4.3-21.el5.x86_64 (base)
> jpeltier48: sudo yum -y update
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> 3 packages excluded due to repository priority protections
> Setting up Update Process
> No Packages marked for Update
> jpeltier49: sudo yum -y upgrade
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> 3 packages excluded due to repository priority protections
> Setting up Upgrade Process
> No Packages marked for Update


Works for me, but I am i386 with 5.3 updates...
Maybe try yum clean all or yum makecache
Is python (2.4.3-21.el5) installed?
If not, maybe try to install it first...

JD


  

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


[CentOS] yum install openldap-clients error 5.2 to 5.3

2009-04-21 Thread Jerry Geis
I am getting the following error when doing "yum -y install openldap-clients".

The machine is still on 5.2 and not 5.3. I dont wish to disturb the machine 
that much at this time. Is there no easy way to install openldap-clients?


Jerry


Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package openldap-clients.x86_64 0:2.3.43-3.el5 set to be updated
--> Running transaction check
--> Processing Dependency: openldap = 2.3.43-3.el5 for package: openldap-clients
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openldap.x86_64 0:2.3.43-3.el5 set to be updated
--> Running transaction check

Dependencies Resolved

=
 Package Arch   Version  RepositorySize 
=
Installing:
 openldap-clientsx86_64 2.3.43-3.el5 base  220 k
Updating for dependencies:
 openldapx86_64 2.3.43-3.el5 base  301 k

Transaction Summary
=
Install  1 Package(s) 
Update   1 Package(s) 
Remove   0 Package(s) 

Total download size: 521 k
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.3.43-3.el5 
conflicts with file from package openldap-2.3.27-8
  file /usr/share/man/man5/ldif.5.gz from install of openldap-2.3.43-3.el5 
conflicts with file from package openldap-2.3.27-8

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


Re: [CentOS] yum install openldap-clients error 5.2 to 5.3

2009-04-21 Thread Kwan Lowe
On Tue, Apr 21, 2009 at 10:24 AM, Jerry Geis  wrote:
> I am getting the following error when doing "yum -y install openldap-clients".
>
> The machine is still on 5.2 and not 5.3. I dont wish to disturb the machine
> that much at this time. Is there no easy way to install openldap-clients?

It looks like you're doing an install versus an upgrade.  You likely
already have a previous version installed so it will complain.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] options netloop nloopbacks= ignored

2009-04-21 Thread henry ritzlmayr
Hi list, 

since release 5.3 all kernels ignore 

options netloop nloopbacks= 

within /etc/modprobe.conf

If  is smaller than four there are always four
vifs created. 
If  is bigger than four the appropriate number
of vifs are created. 

Is this expected/new/feature/bug?

Henry

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


Re: [CentOS] options netloop nloopbacks= ignored

2009-04-21 Thread henry ritzlmayr
Am Dienstag, den 21.04.2009, 17:29 +0200 schrieb henry ritzlmayr:
> Hi list, 
> 
> since release 5.3 all kernels ignore 
> 
> options netloop nloopbacks= 
> 
> within /etc/modprobe.conf
> 
> If  is smaller than four there are always four
> vifs created. 
> If  is bigger than four the appropriate number
> of vifs are created. 
> 
> Is this expected/new/feature/bug?
> 
> Henry

Forgot to add that this probably came from

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=358281

where I have no access to.

Henry

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


[CentOS] CentOS-announce Digest, Vol 50, Issue 11

2009-04-21 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2009:0313 Moderate CentOS 4 x86_64 wireshark security
  update (Karanbir Singh)
   2. CESA-2009:0313 Moderate CentOS 4 i386 wireshark   security
  update (Karanbir Singh)
   3. CEBA-2009:0268  CentOS 4 i386 nss_ldap Update (Karanbir Singh)
   4. CEBA-2009:0268  CentOS 4 x86_64 nss_ldap Update (Karanbir Singh)
   5. CESA-2009:0331 Important CentOS 4 i386 kernel security update
  (Karanbir Singh)
   6. CESA-2009:0331 Important CentOS 4 x86_64 kernel   security
  update (Karanbir Singh)
   7. CESA-2009:0337 Moderate CentOS 4 i386 php security update
  (Karanbir Singh)
   8. CESA-2009:0337 Moderate CentOS 4 x86_64 php   security update
  (Karanbir Singh)
   9. CESA-2009:0341 Moderate CentOS 4 i386 curlsecurity update
  (Karanbir Singh)
  10. CESA-2009:0341 Moderate CentOS 4 x86_64 curl  security update
  (Karanbir Singh)
  11. CESA-2009:0345 Moderate CentOS 4 x86_64   ghostscript security
  update (Karanbir Singh)
  12. CESA-2009:0345 Moderate CentOS 4 i386 ghostscript security
  update (Karanbir Singh)
  13. CESA-2009:0333 Moderate CentOS 4 i386 libpng  security update
  (Karanbir Singh)
  14. CESA-2009:0333 Moderate CentOS 4 x86_64 libpngsecurity
  update (Karanbir Singh)
  15. CESA-2009:0373 Moderate CentOS 4 i386 systemtap   security
  update (Karanbir Singh)
  16. CESA-2009:0373 Moderate CentOS 4 x86_64 systemtap security
  update (Karanbir Singh)
  17. CESA-2009:0409 Important CentOS 4 i386 krb5   security update
  (Karanbir Singh)
  18. CESA-2009:0409 Important CentOS 4 x86_64 krb5 security update
  (Karanbir Singh)
  19. CESA-2009:0315 Critical CentOS 4 i386 firefox security update
  (Karanbir Singh)
  20. CESA-2009:0315 Critical CentOS 4 x86_64 firefox   security
  update (Karanbir Singh)
  21. CESA-2009:0397 Critical CentOS 4 i386 firefox security update
  (Karanbir Singh)
  22. CESA-2009:0397 Critical CentOS 4 x86_64 firefox   security
  update (Karanbir Singh)


--

Message: 1
Date: Mon, 20 Apr 2009 17:01:27 +0100
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2009:0313 Moderate CentOS 4 x86_64
wireshark   security update
To: centos-annou...@centos.org
Message-ID: <20090420160127.ga24...@vkalu.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2009:0313 Moderate
 https://rhn.redhat.com/errata/RHSA-2009-0313.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: 

x86_64:
wireshark-1.0.6-2.el4_7.x86_64.rpm
wireshark-gnome-1.0.6-2.el4_7.x86_64.rpm

src:
wireshark-1.0.6-2.el4_7.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #centos @irc.freenode.net



--

Message: 2
Date: Mon, 20 Apr 2009 17:01:26 +0100
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2009:0313 Moderate CentOS 4 i386
wireshark   security update
To: centos-annou...@centos.org
Message-ID: <20090420160126.ga24...@vkalu.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2009:0313 Moderate
 https://rhn.redhat.com/errata/RHSA-2009-0313.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: 

i386:
wireshark-1.0.6-2.el4_7.i386.rpm
wireshark-gnome-1.0.6-2.el4_7.i386.rpm

src:
wireshark-1.0.6-2.el4_7.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #centos @irc.freenode.net



--

Message: 3
Date: Mon, 20 Apr 2009 17:38:32 +0100
From: Karanbir Singh 
Subject: [CentOS-announce] CEBA-2009:0268  CentOS 4 i386 nss_ldap
Update
To: centos-annou...@centos.org
Message-ID: <20090420163832.ga24...@vkalu.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2009:0268 
 https://rhn.redhat.com/errata/RHBA-2009-0268.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: 

i386:
nss_ldap-253-5.el4_7.1.i386.rpm

src:
nss_ldap-253-5.el4_7.1.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #centos @irc.freenode.net



--

Message: 4
Date: Mon, 20 Apr 2009 17:38:32 +0100
From: Karanbir Singh 
Subject: [CentOS-announce] CEBA-2009:0268  CentOS 4 x86_64 nss_ldap
U

[CentOS] One for the Cisco experts...

2009-04-21 Thread Sean Carolan
I have a Cisco 6509 switch that I'm monitoring with SNMP from a
CentOS5 machine.  SNMP polls are the only access I have to this
device, we are not allowed to log on via telnet.

How can I find out which port on the switch a particular server is
connected to?  I was hoping that this is somehow possible using the
mac address and the data gathered from snmpwalk/snmpget requests but
I'm not having much luck.  How would you tackle this problem?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Barry Brimer
Quoting Sean Carolan :

> I have a Cisco 6509 switch that I'm monitoring with SNMP from a
> CentOS5 machine.  SNMP polls are the only access I have to this
> device, we are not allowed to log on via telnet.
>
> How can I find out which port on the switch a particular server is
> connected to?  I was hoping that this is somehow possible using the
> mac address and the data gathered from snmpwalk/snmpget requests but
> I'm not having much luck.  How would you tackle this problem?

This might help:



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


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread David . Mackintosh
On Tue, Apr 21, 2009 at 11:44:47AM -0500, Sean Carolan wrote:
 
> How can I find out which port on the switch a particular server is
> connected to?  I was hoping that this is somehow possible using the
> mac address and the data gathered from snmpwalk/snmpget requests but
> I'm not having much luck.  How would you tackle this problem?

My notes: http://wiki.xdroop.com/space/snmp/Switching+Tables

Basically there are at least two places in snmp where this might be
stored.  The most obvious is the classic MIB-II Bridge.  The wrinkle
with this MIB is that some switches maintain separate tables for each
VLAN, which means in order to query the switch properly, you have to
query the MIB for each VLAN.

Newer switches populate the Q-Bridge-MIB instead of or as well as the
MIB-II Bridge.  This table contains the VLAN that the target MAC is
reachable through, which is useful since you don't have to know it
ahead of time.

We have a six- or seven- year old cisco 3750 which is running an IOS
which doesn't have the newer MIB; for this switch, we must explicitly
query the MIB-II Bridge for each VLAN.  I would hope that newer
relesaes of IOS wouldn't have this limitation.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 d...@xdroop.com  | http://www.xdroop.com


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


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Les Mikesell
Sean Carolan wrote:
> I have a Cisco 6509 switch that I'm monitoring with SNMP from a
> CentOS5 machine.  SNMP polls are the only access I have to this
> device, we are not allowed to log on via telnet.
> 
> How can I find out which port on the switch a particular server is
> connected to?  I was hoping that this is somehow possible using the
> mac address and the data gathered from snmpwalk/snmpget requests but
> I'm not having much luck.  How would you tackle this problem?

Uncomment the Linkd service in service-configuration.xml.  Then, at 
least if the connected device is also monitored the 'View Node Link 
Detailed Info' link on the node screen will show the connected device.

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


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Les Mikesell
Les Mikesell wrote:
> Sean Carolan wrote:
>> I have a Cisco 6509 switch that I'm monitoring with SNMP from a
>> CentOS5 machine.  SNMP polls are the only access I have to this
>> device, we are not allowed to log on via telnet.
>>
>> How can I find out which port on the switch a particular server is
>> connected to?  I was hoping that this is somehow possible using the
>> mac address and the data gathered from snmpwalk/snmpget requests but
>> I'm not having much luck.  How would you tackle this problem?
> 
> Uncomment the Linkd service in service-configuration.xml.  Then, at 
> least if the connected device is also monitored the 'View Node Link 
> Detailed Info' link on the node screen will show the connected device.
>

Oops - I was looking at an adjacent message and thought this was for the 
OpenNMS mail list.  The advice still stands - all :-) you have to do is 
install opennms first (http://www.opennms.org).  They have a yum 
repository that includes a suitable jvm so it isn't that hard to install 
on Centos.

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

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


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Sean Carolan
> We have a six- or seven- year old cisco 3750 which is running an IOS
> which doesn't have the newer MIB; for this switch, we must explicitly
> query the MIB-II Bridge for each VLAN.  I would hope that newer
> relesaes of IOS wouldn't have this limitation.

This is exactly what I was missing.  Thank you, I am now able to track
down which port each device is on.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Sean Carolan
> My notes: http://wiki.xdroop.com/space/snmp/Switching+Tables
>

Hi Dave, so using the example from your site above I tested a mac
address against one of our switches:

[scaro...@host:~]$ snmpwalk -v1 -c pub...@200 10.100.3.6
.1.3.6.1.2.1.17.4.3 | grep `hexmac2decoid 00:B0:D0:E1:BF:52`
SNMPv2-SMI::mib-2.17.4.3.1.1.0.176.208.225.191.82 = Hex-STRING: 00 B0
D0 E1 BF 52
SNMPv2-SMI::mib-2.17.4.3.1.2.0.176.208.225.191.82 = INTEGER: 389
SNMPv2-SMI::mib-2.17.4.3.1.3.0.176.208.225.191.82 = INTEGER: 3

Does this mean that the machine is plugged into port 389?  I didn't
think there were 389 ports on the switch.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gdm login as root automatically

2009-04-21 Thread Kwan Lowe
On Mon, Apr 20, 2009 at 9:02 PM, Jerry Geis  wrote:
> Hi all,
>
> I was wondering if someone knows how to "automatically" login as root
> with gdm and gnome.
>
> I have been doing some searching, and havent been able to find a method.
> I dont want to login
> automatically all the time - its just part of install setup.
> 1) kickstart install
> 2) post section do somethings
> 3) setup so on reboot auto login as root
> 4) complete installing some things and REMOVE the auto root login.

If you're doing it via kickstart (which is what I have), you can try
something like this in the kickstart post sections:
%post
useradd -p '$1$aqFmf2PA$VVacErRFawntEp9asdasasdasd' kwan
sed -i -e "s/^\(AutomaticLoginEnable=\).*$/\1true/" /etc/X11/gdm/gdm.conf
sed -i -e "s/^\(AutomaticLogin=\).*$/\1kwan/" /etc/X11/gdm/gdm.conf

All that does is add the AutomaticLogin to gdm.. Not sure if it works
for root thogh.




> This is what I am looking at trying to do. I have it all working except
> the auto root login.
>
> I have looked at gdmsetup on centos 5.3 x86_64 and dont see a setup for it.
> I have setup gdm to auto login as a regular user but that doesnt work
> for me.
>
> How does one setup gdm to login as root automatically?
>
> Thanks,
>
> 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] One for the Cisco experts...

2009-04-21 Thread David . Mackintosh
On Tue, Apr 21, 2009 at 01:22:07PM -0500, Sean Carolan wrote:

> SNMPv2-SMI::mib-2.17.4.3.1.2.0.176.208.225.191.82 = INTEGER: 389
> 
> Does this mean that the machine is plugged into port 389?  I didn't
> think there were 389 ports on the switch.

It'd be a very large switch.

No, it just means it's reachable through interface number 389.  There
is a table somewhere which associates interfance names with
descriptions or even better, the labels which you have hopefully
applied to each interface.  (Brief pause while I dig around in my
wiki and various script directories.)  If you are digging around in
your cisco, I'd try starting with something like .1.3.6.1.2.1.2.2.1.2
which on mine returns information like:

nmpwalk -c public -On -v 1 172.30.0.254 1.3.6.1.2.1.2.2 | grep Giga | head
.1.3.6.1.2.1.2.2.1.2.10101 = STRING: GigabitEthernet1/0/1
.1.3.6.1.2.1.2.2.1.2.10102 = STRING: GigabitEthernet1/0/2
[...]

In your case I'd look at .1.3.6.1.2.1.2.2.1.2.389 to see what the
interface was.

Also possibly useful:

- http://wiki.xdroop.com/space/snmp/Switch+Port+Vlans
- http://wiki.xdroop.com/space/snmp/Switch+Port+Labels

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 d...@xdroop.com  | http://www.xdroop.com


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


[CentOS] OT Question about raid 5

2009-04-21 Thread Per Qvindesland
Hi List

I am hoping that someone here could perhaps give me a straight answer
on a question that someone asked me today

I have always belived that if you have 5 hard drives 1 50gb second
50gb third 20gb fourth 60gb firth 30gb that the largest would then be
the size of the smallest disk, not 80 or 100 or 120 for that matter or
am I wrong here?

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


Re: [CentOS] OT Question about raid 5

2009-04-21 Thread Joseph L. Casale
>I have always belived that if you have 5 hard drives 1 50gb second
>50gb third 20gb fourth 60gb firth 30gb that the largest would then
>be the size of the smallest disk, not 80 or 100 or 120 for that matter
>or am I wrong here?

Well, wrt to R5, yes. If the array is spanned across different disks,
it must use the smallest size and leave unused space for the remainder
on the larger disks..

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


Re: [CentOS] OT Question about raid 5

2009-04-21 Thread Tim Verhoeven
On Tue, Apr 21, 2009 at 9:09 PM, Per Qvindesland  wrote:
>
> I am hoping that someone here could perhaps give me a straight answer on a
> question that someone asked me today
> I have always belived that if you have 5 hard drives 1 50gb second 50gb
> third 20gb fourth 60gb firth 30gb that the largest would then be the size of
> the smallest disk, not 80 or 100 or 120 for that matter or am I wrong here?

In your example the smallest disk is 20gb, this will limit the size of
the array. This means that the size of the array would be 20 * (5-1) =
80gb.

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven...@gmail.com - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT Question about raid 5

2009-04-21 Thread Jerry Franz

Per Qvindesland wrote:
> Hi List
>
> I am hoping that someone here could perhaps give me a straight answer 
> on a question that someone asked me today
>
> I have always belived that if you have 5 hard drives 1 50gb second 
> 50gb third 20gb fourth 60gb firth 30gb that the largest would then be 
> the size of the smallest disk, not 80 or 100 or 120 for that matter or 
> am I wrong here
In general you are correct for simple 'out of the box' type 
configurations and for most hardware RAID controllers.

But there are advanced tricks that can be played with 'hybrid' RAID 
levels that can achieve larger sizes from smaller drives.

For your example drives of 2 x 50GB, 1 x 20GB, 1 x 60GB, and 1 x 30GB, 
using software RAID, you could use use linear mode to make one 50GB 
'drive' out of the 30GB and the 20GB and then make a RAID5 out of the 2 
X 50GB the 1 X 60GB and the 'fake' 1 x 50GB resulting in a RAID5 with 
150GB available vs a naive 'just bang them together' as a 5 x 20GB RAID5 
approach which would only give you 80GB.

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


Re: [CentOS] OT Question about raid 5

2009-04-21 Thread Per Qvindesland
Hi All

Thanks a lot for all your answers.

So I was right but also a bit wrong :)

Agan thanks a lot.

Regards
Per Qvindesland

--- Original message follows ---
SUBJECT: Re: [CentOS] OT Question about raid 5
FROM:  Jerry Franz
TO: "CentOS mailing list"
DATE: 21-04-2009 21:28

Per Qvindesland wrote:
> Hi List
>

> I am hoping that someone here could perhaps give me a straight
answer
> on a question that someone asked me today
>
> I have always belived that if you have 5 hard drives 1 50gb second
> 50gb third 20gb fourth 60gb firth 30gb that the largest would then
be
> the size of the smallest disk, not 80 or 100 or 120 for that matter
or
> am I wrong here
In general you are correct for simple 'out of the box' type
configurations and for most hardware RAID controllers.

But there are advanced tricks that can be played with 'hybrid' RAID
levels that can achieve larger sizes from smaller drives.

For your example drives of 2 x 50GB, 1 x 20GB, 1 x 60GB, and 1 x
30GB,
using software RAID, you could use use linear mode to make one 50GB
'drive' out of the 30GB and the 20GB and then make a RAID5 out of the
2
X 50GB the 1 X 60GB and the 'fake' 1 x 50GB resulting in a RAID5 with

150GB available vs a naive 'just bang them together' as a 5 x 20GB
RAID5
approach which would only give you 80GB.

--
Benjamin Franz
___
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] OT Question about raid 5

2009-04-21 Thread D Tucny
2009/4/22 Jerry Franz 

>
> Per Qvindesland wrote:
> > Hi List
> >
> > I am hoping that someone here could perhaps give me a straight answer
> > on a question that someone asked me today
> >
> > I have always belived that if you have 5 hard drives 1 50gb second
> > 50gb third 20gb fourth 60gb firth 30gb that the largest would then be
> > the size of the smallest disk, not 80 or 100 or 120 for that matter or
> > am I wrong here
> In general you are correct for simple 'out of the box' type
> configurations and for most hardware RAID controllers.
>
> But there are advanced tricks that can be played with 'hybrid' RAID
> levels that can achieve larger sizes from smaller drives.
>
> For your example drives of 2 x 50GB, 1 x 20GB, 1 x 60GB, and 1 x 30GB,
> using software RAID, you could use use linear mode to make one 50GB
> 'drive' out of the 30GB and the 20GB and then make a RAID5 out of the 2
> X 50GB the 1 X 60GB and the 'fake' 1 x 50GB resulting in a RAID5 with
> 150GB available vs a naive 'just bang them together' as a 5 x 20GB RAID5
> approach which would only give you 80GB.
>

Or, alternatively, with those disks...
You could make a raid5 array using 20GB of each disk, giving you 80GB of
usable space, a second raid5 array out of the remaining 30GB of the two 50GB
disks and 30GB of the 60GB disk giving you 60GB of space and a raid1 of the
remaining 10GB of the 60GB and 30GB disks... Total usable space also 150GB
but without having to do anything special like layering of raid on JBOD...
Performance might not be awsome though as depending on your workload the
60GB disk at least could be hit pretty hard having all 3 arrays on it...

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


[CentOS] QuickBooks Enterprise DB Server

2009-04-21 Thread Joseph L. Casale
Anyone running this POS on CentOS and can spare some info? Support
is useless, and it's just not working:)I am not getting a qbdir.dat
file created, and the error log is, well, empty!

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


Re: [CentOS] One for the Cisco experts...

2009-04-21 Thread Daniel Bird

> How can I find out which port on the switch a particular server is
> connected to?  I was hoping that this is somehow possible using the
> mac address and the data gathered from snmpwalk/snmpget requests but
> I'm not having much luck.  How would you tackle this problem?
>   
Take a look at Netdisco. I seem to remember it's a little tricky to set
up on CentOS but I wouldn't live without it now.

http://www.netdisco.org/

Dan

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


Re: [CentOS] Dual-boot with WinXP, CentOS already installed

2009-04-21 Thread JohnS

On Mon, 2009-04-20 at 10:02 +0200, Sorin Srbu wrote:
> >-Original Message-
> >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf
> >Of JohnS
> >Sent: Friday, April 17, 2009 5:39 PM
> >To: CentOS mailing list
> >Subject: Re: [CentOS] Dual-boot with WinXP, CentOS already installed
> >
> >
> >> Basically, what would I need to change in the how-to from apcmag.com
> above??
> >> Thanks for any pointers.
> >
> >Just one question for you.. What brand of mother board do you have?
> >There is a better way than trying to kill an OS via Grub or any boot
> >loader via software.
> 
> It's either Aopen or Asus. Can't tell just yet, there's a course going on
> now on the computers. 8-)
> 
> Would you mind elaborating on the killing part?
-

If the board is an ASUS Press F8 during POST. That will then give you a
Selection of Devices.

JohnStanley

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


Re: [CentOS] Weird performance problem

2009-04-21 Thread JohnS

On Mon, 2009-04-20 at 08:12 -0400, Ugo Bellavance wrote:
> JohnS a écrit :
> > On Sun, 2009-04-19 at 09:02 -0700, Akemi Yagi wrote:
> >> On Sun, Apr 19, 2009 at 8:34 AM, JohnS  wrote:
> >>
> >>> I don't reacall any one really saying if there was indeed a fix put into
> >>> that PAE or any Specific Kernel for CentOS. Can the CentOS Kernel
> >>> Builder Comment Please?
> >>>
> >>> Also See: +1
> >>> http://wiki.centos.org/TipsAndTricks/VMWare_Server?highlight=(100hz)
> >>>
> >>> JohnStanley
> >> As noted at the top of that wiki page, the contents need to be
> >> updated.  When I added that note, I intended to do it asap but have
> >> not had a chance to do so.  However, the link referenced in there (
> >> http://kb.vmware.com/kb/1006427 ) is the best source for timekeeping
> >> at this moment.  In short, CentOS no longer offers 100Hz kernels
> >> because the divider=10 kernel option now works.
> >>
> >> Akemi
> > 
> > Thanks Akemi for the update on it. That should fix hin up,
> 
> I'm not using VMWare, I'm using OpenVZ...
> 
> Ugo
-
Perhaphs persue your ? with OpenVZ. Try the kernel option?

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


Re: [CentOS] yum install openldap-clients error 5.2 to 5.3

2009-04-21 Thread Scott Silva
on 4-21-2009 7:24 AM Jerry Geis spake the following:
> I am getting the following error when doing "yum -y install openldap-clients".
> 
> The machine is still on 5.2 and not 5.3. I dont wish to disturb the machine 
> that much at this time. Is there no easy way to install openldap-clients?
> 
> 
> Jerry
> 
> 
> Loading "installonlyn" plugin
> Setting up Install Process
> Setting up repositories
> Reading repository metadata in from local files
> Parsing package install arguments
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package openldap-clients.x86_64 0:2.3.43-3.el5 set to be updated
> --> Running transaction check
> --> Processing Dependency: openldap = 2.3.43-3.el5 for package: 
> openldap-clients
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package openldap.x86_64 0:2.3.43-3.el5 set to be updated
> --> Running transaction check
> 
> Dependencies Resolved
> 
> =
>  Package Arch   Version  RepositorySize 
> =
> Installing:
>  openldap-clientsx86_64 2.3.43-3.el5 base  220 k
> Updating for dependencies:
>  openldapx86_64 2.3.43-3.el5 base  301 k
> 
> Transaction Summary
> =
> Install  1 Package(s) 
> Update   1 Package(s) 
> Remove   0 Package(s) 
> 
> Total download size: 521 k
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> 
> 
> Transaction Check Error:
>   file /usr/share/man/man5/ldap.conf.5.gz from install of 
> openldap-2.3.43-3.el5 conflicts with file from package openldap-2.3.27-8
>   file /usr/share/man/man5/ldif.5.gz from install of openldap-2.3.43-3.el5 
> conflicts with file from package openldap-2.3.27-8
Try a "yum update openldap && yum install openldap-clients"



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] QuickBooks Enterprise DB Server

2009-04-21 Thread Rob Kampen


On Apr 21, 2009, at 16:17, "Joseph L. Casale"  
 wrote:

> Anyone running this POS on CentOS and can spare some info? Support
> is useless, and it's just not working:)I am not getting a qbdir.dat
> file created, and the error log is, well, empty!
>
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Sorry, my experience is with QB2007 PRO and I use sun virtualbox with  
windoze client a poor cludge but workable. Good luck
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos