From jingchen at slac.stanford.edu Thu Oct 4 17:38:21 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Thu, 4 Oct 2007 10:38:21 -0700 Subject: Is there any GUI based Admin Tool for RedHat Linux Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> Anyone knows if there is a GUI based System Administration Tool for RedHat Linux? Basically, I would like to use this tool for quick/simple management of accounts, quota, printing queues and so on. I used to use "admintool" to do this kind of work on Solaris. Any info is appreciated. Thanks, Jingchen From bacchi at rpi.edu Thu Oct 4 17:43:52 2007 From: bacchi at rpi.edu (Andrew Bacchi) Date: Thu, 04 Oct 2007 13:43:52 -0400 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> Message-ID: <47052658.8090809@rpi.edu> In RHAS 4 from the desktop do Applications -> System Settings -> Printing Applications -> System Settings -> Users and Groups There are others under that menu. Zhou, Jingchen wrote: > Anyone knows if there is a GUI based System Administration Tool for RedHat Linux? > Basically, I would like to use this tool for quick/simple management of accounts, quota, printing queues and so on. I used to use "admintool" to do this kind of work on Solaris. > Any info is appreciated. > > Thanks, > Jingchen > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- veritatis simplex oratio est -Seneca Andrew Bacchi Systems Programmer Rensselaer Polytechnic Institute phone: 518.276.6415 fax: 518.276.2809 http://www.rpi.edu/~bacchi/ From jingchen at slac.stanford.edu Thu Oct 4 18:15:59 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Thu, 4 Oct 2007 11:15:59 -0700 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <47052658.8090809@rpi.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <47052658.8090809@rpi.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> Yes. I have used it before, but for some reason it hangs when I try to create a new group. In addition, I have a number of servers which are located far in the computer room and have no monitors connected, i.e., not desktop kind. How can I bring up this tool (or a similar one) from command line so that I can use it in my office desktop? Thanks, Jingchen -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Andrew Bacchi Sent: Thursday, October 04, 2007 10:44 AM To: redhat-sysadmin-list at redhat.com Subject: Re: Is there any GUI based Admin Tool for RedHat Linux In RHAS 4 from the desktop do Applications -> System Settings -> Printing Applications -> System Settings -> Users and Groups There are others under that menu. Zhou, Jingchen wrote: > Anyone knows if there is a GUI based System Administration Tool for RedHat Linux? > Basically, I would like to use this tool for quick/simple management of accounts, quota, printing queues and so on. I used to use "admintool" to do this kind of work on Solaris. > Any info is appreciated. > > Thanks, > Jingchen > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- veritatis simplex oratio est -Seneca Andrew Bacchi Systems Programmer Rensselaer Polytechnic Institute phone: 518.276.6415 fax: 518.276.2809 http://www.rpi.edu/~bacchi/ -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jsbillin at Princeton.EDU Thu Oct 4 18:31:46 2007 From: jsbillin at Princeton.EDU (Jonathan S. Billings) Date: Thu, 4 Oct 2007 14:31:46 -0400 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <47052658.8090809@rpi.edu> <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> Message-ID: <20071004183146.GX3334@princeton.edu> On Thu, Oct 04, 2007 at 11:15:59AM -0700, Zhou, Jingchen wrote: > Yes. I have used it before, but for some reason it hangs when I try to > create a new group. In addition, I have a number of servers which are > located far in the computer room and have no monitors connected, i.e., > not desktop kind. > How can I bring up this tool (or a similar one) from command line so > that I can use it in my office desktop? You can use SSH with a tunneled X session (with -X) and run an X server on your workstation, then run system-config-users for editing user and group information, and system-config-printer for printers. Without X forwarding, you'll get an ncurses-based GUI. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From bacchi at rpi.edu Thu Oct 4 18:33:45 2007 From: bacchi at rpi.edu (Andrew Bacchi) Date: Thu, 04 Oct 2007 14:33:45 -0400 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <47052658.8090809@rpi.edu> <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> Message-ID: <47053209.5060308@rpi.edu> If you have SSH set up correctly to forward your X session, the command is /usr/bin/system-config-users. This will forward the gui to the X server that you are sshing from. To find the command of any gui tool, left click on the icon an choose properties. That gives you the command line syntax. For printing it's - /usr/bin/printconf-gui Zhou, Jingchen wrote: > Yes. I have used it before, but for some reason it hangs when I try to create a new group. In addition, I have a number of servers which are located far in the computer room and have no monitors connected, i.e., not desktop kind. > How can I bring up this tool (or a similar one) from command line so that I can use it in my office desktop? > > Thanks, > Jingchen > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Andrew Bacchi > Sent: Thursday, October 04, 2007 10:44 AM > To: redhat-sysadmin-list at redhat.com > Subject: Re: Is there any GUI based Admin Tool for RedHat Linux > > In RHAS 4 from the desktop do > Applications -> System Settings -> Printing Applications -> System Settings -> Users and Groups > > There are others under that menu. > > > Zhou, Jingchen wrote: >> Anyone knows if there is a GUI based System Administration Tool for RedHat Linux? >> Basically, I would like to use this tool for quick/simple management of accounts, quota, printing queues and so on. I used to use "admintool" to do this kind of work on Solaris. >> Any info is appreciated. >> >> Thanks, >> Jingchen >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >> > > -- > veritatis simplex oratio est > -Seneca > > Andrew Bacchi > Systems Programmer > Rensselaer Polytechnic Institute > phone: 518.276.6415 fax: 518.276.2809 > > http://www.rpi.edu/~bacchi/ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- veritatis simplex oratio est -Seneca Andrew Bacchi Systems Programmer Rensselaer Polytechnic Institute phone: 518.276.6415 fax: 518.276.2809 http://www.rpi.edu/~bacchi/ From jay.jones at pcc.edu Thu Oct 4 18:34:46 2007 From: jay.jones at pcc.edu (Jay Jones) Date: Thu, 4 Oct 2007 11:34:46 -0700 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <47052658.8090809@rpi.edu> <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> Message-ID: <20071004183446.GB12083@pcc.edu> In message <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63 at exch-mail2.win.slac.stanford.edu>, "Zhou, Jingchen" writes: >Yes. I have used it before, but for some reason it hangs when I try to create a new group. In addition, I have a number of servers which are located far in the computer room and have no monitors connected, i.e., not desktop kind. >How can I bring up this tool (or a similar one) from command line so that I can use it in my office desktop? /usr/(s)bin/system-config-* should work if you access those hosts via ssh with X forwarding. - Jay -- ``What hath night to do with sleep? John Milton, Perth----v Night hath better sweets to prove.'' 1634. T`*---+') Jay Jones (503) 977-8449 | | Email Administrator - PCC Technology Solution Services L_______| From jingchen at slac.stanford.edu Thu Oct 4 18:46:27 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Thu, 4 Oct 2007 11:46:27 -0700 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <20071004183446.GB12083@pcc.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu><47052658.8090809@rpi.edu><8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63@exch-mail2.win.slac.stanford.edu> <20071004183446.GB12083@pcc.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF6C@exch-mail2.win.slac.stanford.edu> That is awesome. Works great! Thanks to Jay, Andrew and Jonathan. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Jay Jones Sent: Thursday, October 04, 2007 11:35 AM To: redhat-sysadmin-list at redhat.com Subject: Re: Is there any GUI based Admin Tool for RedHat Linux In message <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF63 at exch-mail2.win.slac.stanford.edu>, "Zhou, Jingchen" writes: >Yes. I have used it before, but for some reason it hangs when I try to create a new group. In addition, I have a number of servers which are located far in the computer room and have no monitors connected, i.e., not desktop kind. >How can I bring up this tool (or a similar one) from command line so that I can use it in my office desktop? /usr/(s)bin/system-config-* should work if you access those hosts via ssh with X forwarding. - Jay -- ``What hath night to do with sleep? John Milton, Perth----v Night hath better sweets to prove.'' 1634. T`*---+') Jay Jones (503) 977-8449 | | Email Administrator - PCC Technology Solution Services L_______| -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From romeotheriault at fastmail.fm Thu Oct 4 19:13:10 2007 From: romeotheriault at fastmail.fm (Romeo Theriault) Date: Thu, 4 Oct 2007 15:13:10 -0400 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> Message-ID: <46cd475b0710041213rbd8589an7c6168b19f8e460e@mail.gmail.com> Another useful tool is called Yast. It's available on Suse Linux but Oracle has modified it to run on RHEL as well. You can download it for free from: http://oss.oracle.com/projects/yast/ Once you get it installed on your servers you should be able to tunnel it through ssh. Romeo On 10/4/07, Zhou, Jingchen wrote: > > Anyone knows if there is a GUI based System Administration Tool for RedHat > Linux? > Basically, I would like to use this tool for quick/simple management of > accounts, quota, printing queues and so on. I used to use "admintool" to do > this kind of work on Solaris. > Any info is appreciated. > > Thanks, > Jingchen > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- Romeo Theriault System Administrator Information Technology Services Ph#: 207-561-3517 Em@: romeo.theriault at maine.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jingchen at slac.stanford.edu Thu Oct 4 22:41:13 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Thu, 4 Oct 2007 15:41:13 -0700 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <46cd475b0710041213rbd8589an7c6168b19f8e460e@mail.gmail.com> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <46cd475b0710041213rbd8589an7c6168b19f8e460e@mail.gmail.com> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AFBB@exch-mail2.win.slac.stanford.edu> Great! Thank you very much. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Romeo Theriault Sent: Thursday, October 04, 2007 12:13 PM To: redhat-sysadmin-list at redhat.com Subject: Re: Is there any GUI based Admin Tool for RedHat Linux Another useful tool is called Yast. It's available on Suse Linux but Oracle has modified it to run on RHEL as well. You can download it for free from: http://oss.oracle.com/projects/yast/ Once you get it installed on your servers you should be able to tunnel it through ssh. Romeo On 10/4/07, Zhou, Jingchen < jingchen at slac.stanford.edu> wrote: Anyone knows if there is a GUI based System Administration Tool for RedHat Linux? Basically, I would like to use this tool for quick/simple management of accounts, quota, printing queues and so on. I used to use "admintool" to do this kind of work on Solaris. Any info is appreciated. Thanks, Jingchen -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- Romeo Theriault System Administrator Information Technology Services Ph#: 207-561-3517 Em@: romeo.theriault at maine.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Edoardo.Causarano at laitspa.it Fri Oct 5 00:19:45 2007 From: Edoardo.Causarano at laitspa.it (Edoardo Causarano) Date: Fri, 5 Oct 2007 02:19:45 +0200 Subject: Ethernet bondig Message-ID: Hi there, I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? All this on Linux servers... Of course ;-) e -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bill.Holder at sunwater.com.au Fri Oct 5 01:10:51 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Fri, 5 Oct 2007 11:10:51 +1000 Subject: Ethernet bondig In-Reply-To: Message-ID: <8ADEE648D981EF47A23B6E1334BEBA61024BA2C5@brisbane04.sunwater.com.au> I understand what you mean and I'd love to know that there is a real solution out there! :) At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano Sent: Friday, 5 October 2007 10:20 AM To: redhat-sysadmin-list at redhat.com Subject: Ethernet bondig Hi there, I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? All this on Linux servers... Of course ;-) e *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Fri Oct 5 01:12:55 2007 From: lists at brimer.org (Barry Brimer) Date: Thu, 4 Oct 2007 20:12:55 -0500 (CDT) Subject: Ethernet bondig In-Reply-To: References: Message-ID: > Can I do the same with network? I'd like to bond a couple eth devs and > attach them to redundant switches (not stacked) so in case one link > fails, the other one keeps connectivity (throw in some load balancing as > a bonus!) You haven't specified which RHEL you are using, but nic bonding has been available/supported since RHEL 3. Install the kernel-doc rpm and look for the bonding.txt file in the networking directory. It will explain everything. Barry From katsumi at gmail.com Fri Oct 5 01:24:33 2007 From: katsumi at gmail.com (katsumi liquer) Date: Thu, 4 Oct 2007 21:24:33 -0400 Subject: Is there any GUI based Admin Tool for RedHat Linux In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AFBB@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1AF47@exch-mail2.win.slac.stanford.edu> <46cd475b0710041213rbd8589an7c6168b19f8e460e@mail.gmail.com> <8CF98BE8D19EA84BA2271BE19BE8F83403B1AFBB@exch-mail2.win.slac.stanford.edu> Message-ID: <70dbf54d0710041824m78bd37ccne589429d9b7fd61f@mail.gmail.com> Last but not least -- I would also throw in Webmin http://www.webmin.com -- can be used securely over SSL, ridiculously easy to setup and use, and drops right into RedHat like me in the sack with Scarlett Johansen. katsu :) On 10/4/07, Zhou, Jingchen wrote: > Great! Thank you very much. > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Romeo > Theriault > Sent: Thursday, October 04, 2007 12:13 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: Is there any GUI based Admin Tool for RedHat Linux > > > Another useful tool is called Yast. It's available on Suse Linux but Oracle > has modified it to run on RHEL as well. You can download it for free from: > > http://oss.oracle.com/projects/yast/ > > Once you get it installed on your servers you should be able to tunnel it > through ssh. > > Romeo > > > > On 10/4/07, Zhou, Jingchen < jingchen at slac.stanford.edu> wrote: > > Anyone knows if there is a GUI based System Administration Tool for RedHat > Linux? > Basically, I would like to use this tool for quick/simple management of > accounts, quota, printing queues and so on. I used to use "admintool" to do > this kind of work on Solaris. > Any info is appreciated. > > Thanks, > Jingchen > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > > > -- > Romeo Theriault > System Administrator > Information Technology Services > Ph#: 207-561-3517 > Em@: romeo.theriault at maine.edu > From Bill.Holder at sunwater.com.au Fri Oct 5 01:30:34 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Fri, 5 Oct 2007 11:30:34 +1000 Subject: Ethernet bondig In-Reply-To: Message-ID: <8ADEE648D981EF47A23B6E1334BEBA61024BA2EE@brisbane04.sunwater.com.au> The bonding and load balancing I know about, but I've never had much success with redundant paths via bonding. It always seems to kill the route if one component of the bond dies. Saying that, I only spent a few days with it and it was a while ago. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry Brimer Sent: Friday, 5 October 2007 11:13 AM To: redhat-sysadmin-list at redhat.com Subject: Re: Ethernet bondig > Can I do the same with network? I'd like to bond a couple eth devs and > attach them to redundant switches (not stacked) so in case one link > fails, the other one keeps connectivity (throw in some load balancing > as a bonus!) You haven't specified which RHEL you are using, but nic bonding has been available/supported since RHEL 3. Install the kernel-doc rpm and look for the bonding.txt file in the networking directory. It will explain everything. Barry -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** From Edoardo.Causarano at laitspa.it Fri Oct 5 07:03:59 2007 From: Edoardo.Causarano at laitspa.it (Edoardo Causarano) Date: Fri, 5 Oct 2007 09:03:59 +0200 Subject: R: RE: Ethernet bondig Message-ID: Hi, Your trick is nice although I'd like to remain within the second layer of the stack. HP-UX does something similar to your setup by clustering nics and failing over to the spare (keeping the same IP addr though); perhaps RHCS or RH5 could do the same. As far as I've been told by the network folks, nic teaming can only be done on a single switch (or n-stacked) although the italian wikipedia on spanning tree does seem to imply that the algo would disable the redundant paths keeping them as a hot backups. So, one would think that a switch network should tolerate multiple branches. Has anyone done bonding on separate switches? Does it work? How long does it take to restore connectivity in case of link failure? (I don't care about bw/port loss, we're on GigE and hw to spare anyway) Ideally I'd like to work with Nortel DSMLT switches and get rid of spanning tree altogether. (does Cisco do that or not unless over their dead body) Ciao, e -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com To: redhat-sysadmin-list at redhat.com Sent: Fri Oct 05 03:10:51 2007 Subject: RE: Ethernet bondig I understand what you mean and I'd love to know that there is a real solution out there! :) At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano Sent: Friday, 5 October 2007 10:20 AM To: redhat-sysadmin-list at redhat.com Subject: Ethernet bondig Hi there, I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? All this on Linux servers... Of course ;-) e *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Fri Oct 5 13:10:33 2007 From: lists at brimer.org (Barry Brimer) Date: Fri, 5 Oct 2007 08:10:33 -0500 (CDT) Subject: R: RE: Ethernet bondig In-Reply-To: References: Message-ID: The bonding.txt explains all about the different types of bonding .. many of which do not require switch modification. On Fri, 5 Oct 2007, Edoardo Causarano wrote: > Hi, > > Your trick is nice although I'd like to remain within the second layer of the stack. HP-UX does something similar to your setup by clustering nics and failing over to the spare (keeping the same IP addr though); perhaps RHCS or RH5 could do the same. > > As far as I've been told by the network folks, nic teaming can only be done on a single switch (or n-stacked) although the italian wikipedia on spanning tree does seem to imply that the algo would disable the redundant paths keeping them as a hot backups. So, one would think that a switch network should tolerate multiple branches. > > Has anyone done bonding on separate switches? Does it work? How long does it take to restore connectivity in case of link failure? (I don't care about bw/port loss, we're on GigE and hw to spare anyway) > > Ideally I'd like to work with Nortel DSMLT switches and get rid of spanning tree altogether. (does Cisco do that or not unless over their dead body) > > > Ciao, > e > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > To: redhat-sysadmin-list at redhat.com > Sent: Fri Oct 05 03:10:51 2007 > Subject: RE: Ethernet bondig > > I understand what you mean and I'd love to know that there is a real solution out there! :) > > At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... > > > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano > Sent: Friday, 5 October 2007 10:20 AM > To: redhat-sysadmin-list at redhat.com > Subject: Ethernet bondig > > > > Hi there, > > I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. > > Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) > > As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). > > So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? > > All this on Linux servers... Of course ;-) > e > > > > *********************************************************************** > The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > *********************************************************************** > > > > !DSPAM:4705e84c146263068227144! > From Edoardo.Causarano at laitspa.it Sat Oct 6 09:59:32 2007 From: Edoardo.Causarano at laitspa.it (Edoardo Causarano) Date: Sat, 6 Oct 2007 11:59:32 +0200 Subject: R: Re: R: RE: Ethernet bondig Message-ID: Thanks, I've read the doc and really... inside the bonding driver there's a whole world beyond overwriting the mac address! ;-) Some questions: - mii-tool Vs. ethtool: the former doesn't seem to correctly identify wire speed of the nics topping at 100BaseT-FD wheras the latter recognizes the GigE status of them. In other words, ethtool seems to work better than mii-tool with more complete insight into the status of the card. Does the bonding driver in mii mode use the kernel driver information that the mentioned tools use and therefore perform as ethtool or does it call the executable and therefore suffer the limits of mii-tool? -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com To: redhat-sysadmin-list at redhat.com Sent: Fri Oct 05 15:10:33 2007 Subject: Re: R: RE: Ethernet bondig The bonding.txt explains all about the different types of bonding .. many of which do not require switch modification. On Fri, 5 Oct 2007, Edoardo Causarano wrote: > Hi, > > Your trick is nice although I'd like to remain within the second layer of the stack. HP-UX does something similar to your setup by clustering nics and failing over to the spare (keeping the same IP addr though); perhaps RHCS or RH5 could do the same. > > As far as I've been told by the network folks, nic teaming can only be done on a single switch (or n-stacked) although the italian wikipedia on spanning tree does seem to imply that the algo would disable the redundant paths keeping them as a hot backups. So, one would think that a switch network should tolerate multiple branches. > > Has anyone done bonding on separate switches? Does it work? How long does it take to restore connectivity in case of link failure? (I don't care about bw/port loss, we're on GigE and hw to spare anyway) > > Ideally I'd like to work with Nortel DSMLT switches and get rid of spanning tree altogether. (does Cisco do that or not unless over their dead body) > > > Ciao, > e > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > To: redhat-sysadmin-list at redhat.com > Sent: Fri Oct 05 03:10:51 2007 > Subject: RE: Ethernet bondig > > I understand what you mean and I'd love to know that there is a real solution out there! :) > > At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... > > > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano > Sent: Friday, 5 October 2007 10:20 AM > To: redhat-sysadmin-list at redhat.com > Subject: Ethernet bondig > > > > Hi there, > > I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. > > Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) > > As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). > > So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? > > All this on Linux servers... Of course ;-) > e > > > > *********************************************************************** > The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > *********************************************************************** > > > > !DSPAM:4705e84c146263068227144! > -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From Edoardo.Causarano at laitspa.it Sat Oct 6 11:08:40 2007 From: Edoardo.Causarano at laitspa.it (Edoardo Causarano) Date: Sat, 6 Oct 2007 13:08:40 +0200 Subject: R: Re: R: RE: Ethernet bondig Message-ID: Sorry for the incomplete email, I accidentally hit the send button. Again, I'm wondering wether the bonding driver in mii mode extracts insight on the interface status the same way as the ethtool binary as opposed to mii-tool that consistently gives wrong results. My worry is that the bonding driver in mii mode would suffer the same problem and not notice speed flutters caused by faulty links. Also, In arp mode I'd ping the core router VLAN interace but am afraid of placing too much burden on it once the bond count starts growing. Anyway since I'll be using broadcom tg3 nics mii would be ok, right? TIA, e -----Original Message----- From: Edoardo Causarano To: 'redhat-sysadmin-list at redhat.com' Sent: Sat Oct 06 11:59:32 2007 Subject: R: Re: R: RE: Ethernet bondig Thanks, I've read the doc and really... inside the bonding driver there's a whole world beyond overwriting the mac address! ;-) Some questions: - mii-tool Vs. ethtool: the former doesn't seem to correctly identify wire speed of the nics topping at 100BaseT-FD wheras the latter recognizes the GigE status of them. In other words, ethtool seems to work better than mii-tool with more complete insight into the status of the card. Does the bonding driver in mii mode use the kernel driver information that the mentioned tools use and therefore perform as ethtool or does it call the executable and therefore suffer the limits of mii-tool? -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com To: redhat-sysadmin-list at redhat.com Sent: Fri Oct 05 15:10:33 2007 Subject: Re: R: RE: Ethernet bondig The bonding.txt explains all about the different types of bonding .. many of which do not require switch modification. On Fri, 5 Oct 2007, Edoardo Causarano wrote: > Hi, > > Your trick is nice although I'd like to remain within the second layer of the stack. HP-UX does something similar to your setup by clustering nics and failing over to the spare (keeping the same IP addr though); perhaps RHCS or RH5 could do the same. > > As far as I've been told by the network folks, nic teaming can only be done on a single switch (or n-stacked) although the italian wikipedia on spanning tree does seem to imply that the algo would disable the redundant paths keeping them as a hot backups. So, one would think that a switch network should tolerate multiple branches. > > Has anyone done bonding on separate switches? Does it work? How long does it take to restore connectivity in case of link failure? (I don't care about bw/port loss, we're on GigE and hw to spare anyway) > > Ideally I'd like to work with Nortel DSMLT switches and get rid of spanning tree altogether. (does Cisco do that or not unless over their dead body) > > > Ciao, > e > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > To: redhat-sysadmin-list at redhat.com > Sent: Fri Oct 05 03:10:51 2007 > Subject: RE: Ethernet bondig > > I understand what you mean and I'd love to know that there is a real solution out there! :) > > At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... > > > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano > Sent: Friday, 5 October 2007 10:20 AM > To: redhat-sysadmin-list at redhat.com > Subject: Ethernet bondig > > > > Hi there, > > I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. > > Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) > > As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). > > So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? > > All this on Linux servers... Of course ;-) > e > > > > *********************************************************************** > The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > *********************************************************************** > > > > !DSPAM:4705e84c146263068227144! > -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From linuxtechmails at gmail.com Mon Oct 8 09:39:16 2007 From: linuxtechmails at gmail.com (Linux Technology Mails) Date: Mon, 8 Oct 2007 15:09:16 +0530 Subject: Ethernet bondig Message-ID: Hi, here is solution for you. .................................................................................................................................................. Where should I use bonding? You can use it wherever you need redundant links, fault tolerance or load balancing networks. It is the best way to have a high availability network segment. A very useful way to use bonding is to use it in connection with 802.1q VLAN support (your network equipment must have 802.1q protocol implemented). Diverse modes of bonding: *mode=1* (active-backup) Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. The bond's MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance. The primary option affects the behavior of this mode. *mode=2* (balance-xor) XOR policy: Transmit based on [(source MAC address XOR'd with destination MAC address) modulo slave count]. This selects the same slave for each destination MAC address. This mode provides load balancing and fault tolerance. *mode=3* (broadcast) Broadcast policy: transmits everything on all slave interfaces. This mode provides fault tolerance. *mode=4* (802.3ad) IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. - Prerequisites: - Ethtool support in the base drivers for retrieving the speed and duplex of each slave. - A switch that supports IEEE 802.3ad Dynamic link aggregation. Most switches will require some type of configuration to enable 802.3ad mode. *mode=5* (balance-tlb) Adaptive transmit load balancing: channel bonding that does not require any special switch support. The outgoing traffic is distributed according to the current load (computed relative to the speed) on each slave. Incoming traffic is received by the current slave. If the receiving slave fails, another slave takes over the MAC address of the failed receiving slave. - Prerequisite: Ethtool support in the base drivers for retrieving the speed of each slave. *mode=6* (balance-alb) Adaptive load balancing: includes balance-tlb plus receive load balancing (rlb) for IPV4 traffic, and does not require any special switch support. The receive load balancing is achieved by ARP negotiation. The bonding driver intercepts the ARP Replies sent by the local system on their way out and overwrites the source hardware address with the unique hardware address of one of the slaves in the bond such that different peers use different hardware addresses for the server. Also you can use multiple bond interface but for that you must load the bonding module as many as you need. Example: In the /etc/modprobe.conf file add the following: alias bond0 bonding options bond0 miimon=80 mode=5 In the /etc/sysconfig/network-scripts/ directory create ifcfg-bond0: DEVICE=bond0 IPADDR= NETMASK= NETWORK= BROADCAST= GATEWAY= ONBOOT=yes BOOTPROTO=none USERCTL=no Change the ifcfg-eth0 to: DEVICE=eth0 ONBOOT=yes BOOTPROTO=none USERCTL=no MASTER=bond0 SLAVE=yes Change the ifcfg-eth1 to: DEVICE=eth1 ONBOOT=yes BOOTPROTO=none USERCTL=no MASTER=bond0 SLAVE=yes That?s all! Now your trunk should be up and running with any type of switch config. Regards, Linux Tech Mails On Fri, 5 Oct 2007, Edoardo Causarano wrote: > Hi, > > Your trick is nice although I'd like to remain within the second layer of the stack. HP-UX does something similar to your setup by clustering nics and failing over to the spare (keeping the same IP addr though); perhaps RHCS or RH5 could do the same. > > As far as I've been told by the network folks, nic teaming can only be done on a single switch (or n-stacked) although the italian wikipedia on spanning tree does seem to imply that the algo would disable the redundant paths keeping them as a hot backups. So, one would think that a switch network should tolerate multiple branches. > > Has anyone done bonding on separate switches? Does it work? How long does it take to restore connectivity in case of link failure? (I don't care about bw/port loss, we're on GigE and hw to spare anyway) > > Ideally I'd like to work with Nortel DSMLT switches and get rid of spanning tree altogether. (does Cisco do that or not unless over their dead body) > > > Ciao, > e > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com < redhat-sysadmin-list-bounces at redhat.com> > To: redhat-sysadmin-list at redhat.com > Sent: Fri Oct 05 03:10:51 2007 > Subject: RE: Ethernet bondig > > I understand what you mean and I'd love to know that there is a real solution out there! :) > > At the moment, I have multiple nics with connections to different switches, and a dodgy perl script that tries to ping a destination via the default route, and if it can't it then drops that interface and points the default route to the next one in the list. It's dodgy but it works... > > > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com [mailto: redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Edoardo Causarano > Sent: Friday, 5 October 2007 10:20 AM > To: redhat-sysadmin-list at redhat.com > Subject: Ethernet bondig > > > > Hi there, > > I have a question for you. I've done some FC SAN configurations and understood the benefits of multipathing so now our critical servers are redundantly connected to minimize storage failure probability. > > Can I do the same with network? I'd like to bond a couple eth devs and attach them to redundant switches (not stacked) so in case one link fails, the other one keeps connectivity (throw in some load balancing as a bonus!) > > As far as I can understand, and as the network guys put it, it can't be done. In fact, eth bondig replicates the mac address on all the participating interfaces confusing the hell out of the eth routing protocols. Still, I keep wondering about this issue... after all, having to rush out to the datacentre because a nic, cable or switch gave up the ghost while everything else is duplicated is irritating (and inelegant). > > So, would the switches (Cisco, in our case) choke is the same MAC was detected on two different ports of two different units? Would they go in broadcast mode, flooding the VLAN? > > All this on Linux servers... Of course ;-) > e -- Regards, Linux Tech Mails Group. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bill.Holder at sunwater.com.au Tue Oct 9 02:56:49 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Tue, 9 Oct 2007 12:56:49 +1000 Subject: dynamic resize of LUNs Message-ID: <8ADEE648D981EF47A23B6E1334BEBA610252DB75@brisbane04.sunwater.com.au> Hi all, I'm hoping someone might be able to help me get this to work properly... Linux server with Qlogic HBA cards, has a 50gig LUN presented to it, with a single ext3 filesystem. SAN admin has added another 50 gig to the LUN, and the server sees a 100 gig LUN. Problem is, the filesystem is now corrupt. I've tried rebuilding the devices and letting kpartx do it's thing, but the existing filesystem always dies. Anyone know a good way to get this working, or am I screwed? Thanks guys. /B *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Tue Oct 9 03:10:01 2007 From: lists at brimer.org (Barry Brimer) Date: Mon, 8 Oct 2007 22:10:01 -0500 (CDT) Subject: dynamic resize of LUNs In-Reply-To: <8ADEE648D981EF47A23B6E1334BEBA610252DB75@brisbane04.sunwater.com.au> References: <8ADEE648D981EF47A23B6E1334BEBA610252DB75@brisbane04.sunwater.com.au> Message-ID: On Tue, 9 Oct 2007, Holder, Bill wrote: > Hi all, > > I'm hoping someone might be able to help me get this to work > properly... > > Linux server with Qlogic HBA cards, has a 50gig LUN presented to it, > with a single ext3 filesystem. > > SAN admin has added another 50 gig to the LUN, and the server sees a > 100 gig LUN. > > Problem is, the filesystem is now corrupt. > > I've tried rebuilding the devices and letting kpartx do it's thing, > but the existing filesystem always dies. > > > Anyone know a good way to get this working, or am I screwed? What version of RHEL are you using? What filesystem is on it ext2/3, xfs, gfs, vxfs .. etc? Are you using any LVM? From Bill.Holder at sunwater.com.au Tue Oct 9 03:14:30 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Tue, 9 Oct 2007 13:14:30 +1000 Subject: dynamic resize of LUNs In-Reply-To: Message-ID: <8ADEE648D981EF47A23B6E1334BEBA610252DBA7@brisbane04.sunwater.com.au> It's a single ext3 partition with no LVM on a RHEL 5 server. Don't ask why I was forced to not use LVM, it's a very Dilbert-esque story. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry Brimer Sent: Tuesday, 9 October 2007 1:10 PM To: redhat-sysadmin-list at redhat.com Subject: Re: dynamic resize of LUNs On Tue, 9 Oct 2007, Holder, Bill wrote: > Hi all, > > I'm hoping someone might be able to help me get this to work > properly... > > Linux server with Qlogic HBA cards, has a 50gig LUN presented to > it, with a single ext3 filesystem. > > SAN admin has added another 50 gig to the LUN, and the server sees > a 100 gig LUN. > > Problem is, the filesystem is now corrupt. > > I've tried rebuilding the devices and letting kpartx do it's thing, > but the existing filesystem always dies. > > > Anyone know a good way to get this working, or am I screwed? What version of RHEL are you using? What filesystem is on it ext2/3, xfs, gfs, vxfs .. etc? Are you using any LVM? -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** From lists at brimer.org Tue Oct 9 03:28:49 2007 From: lists at brimer.org (Barry Brimer) Date: Mon, 8 Oct 2007 22:28:49 -0500 (CDT) Subject: dynamic resize of LUNs In-Reply-To: <8ADEE648D981EF47A23B6E1334BEBA610252DBA7@brisbane04.sunwater.com.au> References: <8ADEE648D981EF47A23B6E1334BEBA610252DBA7@brisbane04.sunwater.com.au> Message-ID: resize2fs is the tool that you would use to expand the filesystem. First, we need to expand the partition that the filesystem lives on. WARNING: I have done exactly this with 100% success on multiple RHEL 4 machines. I have never tried it on RHEL 5. 0. BACK UP YOUR DATA!!! 1. Run 'fdisk -l' and note the starting and ending of your partition. I will assume that the space being given to you appears at the end of your existing partition and that this partition is the last partition on the disk. 2. Using fdisk, delete the partition. Create a new partition that begins in the same place, but ends at the end of the newly created space. Use 'w' to write your changes, and save them. Run partprobe if necessary to force the kernel to re-read the partition table if it complains that the kernel uses the old partition table. 3. Use resize2fs to expand your filesystem (while online) to take up the entire partition. Hope this helps. Barry On Tue, 9 Oct 2007, Holder, Bill wrote: > > > It's a single ext3 partition with no LVM on a RHEL 5 server. Don't ask > why I was forced to not use LVM, it's a very Dilbert-esque story. > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry > Brimer > Sent: Tuesday, 9 October 2007 1:10 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: dynamic resize of LUNs > > > > On Tue, 9 Oct 2007, Holder, Bill wrote: > >> Hi all, >> >> I'm hoping someone might be able to help me get this to work >> properly... >> >> Linux server with Qlogic HBA cards, has a 50gig LUN presented to >> it, with a single ext3 filesystem. >> >> SAN admin has added another 50 gig to the LUN, and the server sees >> a 100 gig LUN. >> >> Problem is, the filesystem is now corrupt. >> >> I've tried rebuilding the devices and letting kpartx do it's thing, > >> but the existing filesystem always dies. >> >> >> Anyone know a good way to get this working, or am I screwed? > > What version of RHEL are you using? What filesystem is on it ext2/3, > xfs, gfs, vxfs .. etc? Are you using any LVM? > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > *********************************************************************** > The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > *********************************************************************** > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > !DSPAM:470af232131261230822988! > > From Bill.Holder at sunwater.com.au Tue Oct 9 03:47:17 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Tue, 9 Oct 2007 13:47:17 +1000 Subject: dynamic resize of LUNs In-Reply-To: Message-ID: <8ADEE648D981EF47A23B6E1334BEBA610252DC0A@brisbane04.sunwater.com.au> Thanks mate, I'm about to organise some test space and I'll try your method. /B -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry Brimer Sent: Tuesday, 9 October 2007 1:29 PM To: redhat-sysadmin-list at redhat.com Subject: RE: dynamic resize of LUNs resize2fs is the tool that you would use to expand the filesystem. First, we need to expand the partition that the filesystem lives on. WARNING: I have done exactly this with 100% success on multiple RHEL 4 machines. I have never tried it on RHEL 5. 0. BACK UP YOUR DATA!!! 1. Run 'fdisk -l' and note the starting and ending of your partition. I will assume that the space being given to you appears at the end of your existing partition and that this partition is the last partition on the disk. 2. Using fdisk, delete the partition. Create a new partition that begins in the same place, but ends at the end of the newly created space. Use 'w' to write your changes, and save them. Run partprobe if necessary to force the kernel to re-read the partition table if it complains that the kernel uses the old partition table. 3. Use resize2fs to expand your filesystem (while online) to take up the entire partition. Hope this helps. Barry On Tue, 9 Oct 2007, Holder, Bill wrote: > > > It's a single ext3 partition with no LVM on a RHEL 5 server. Don't ask > why I was forced to not use LVM, it's a very Dilbert-esque story. > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry > Brimer > Sent: Tuesday, 9 October 2007 1:10 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: dynamic resize of LUNs > > > > On Tue, 9 Oct 2007, Holder, Bill wrote: > >> Hi all, >> >> I'm hoping someone might be able to help me get this to work >> properly... >> >> Linux server with Qlogic HBA cards, has a 50gig LUN presented to >> it, with a single ext3 filesystem. >> >> SAN admin has added another 50 gig to the LUN, and the server sees >> a 100 gig LUN. >> >> Problem is, the filesystem is now corrupt. >> >> I've tried rebuilding the devices and letting kpartx do it's >> thing, > >> but the existing filesystem always dies. >> >> >> Anyone know a good way to get this working, or am I screwed? > > What version of RHEL are you using? What filesystem is on it ext2/3, > xfs, gfs, vxfs .. etc? Are you using any LVM? > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > ********************************************************************** > * The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed and > may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution and/or > publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to inform > the sender as quickly as possible and delete this message and any > copies of this message from your computer and/or your computer system > network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > ********************************************************************** > * > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > !DSPAM:470af232131261230822988! > > -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** From lists at brimer.org Tue Oct 9 03:53:06 2007 From: lists at brimer.org (Barry Brimer) Date: Mon, 8 Oct 2007 22:53:06 -0500 (CDT) Subject: dynamic resize of LUNs In-Reply-To: <8ADEE648D981EF47A23B6E1334BEBA610252DC0A@brisbane04.sunwater.com.au> References: <8ADEE648D981EF47A23B6E1334BEBA610252DC0A@brisbane04.sunwater.com.au> Message-ID: One other thing to throw in .. I have been very impressed with the gparted LiveCD .. you boot your machine off of this live cd and you can repartition/reformat/move partitions, etc. It is really a frontend for parted, but it has a nice simple clean interface and works well .. check it out at On Tue, 9 Oct 2007, Holder, Bill wrote: > Thanks mate, > > I'm about to organise some test space and I'll try your method. > > /B > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry > Brimer > Sent: Tuesday, 9 October 2007 1:29 PM > To: redhat-sysadmin-list at redhat.com > Subject: RE: dynamic resize of LUNs > > resize2fs is the tool that you would use to expand the filesystem. > First, we need to expand the partition that the filesystem lives on. > > WARNING: I have done exactly this with 100% success on multiple RHEL 4 > machines. I have never tried it on RHEL 5. > > 0. BACK UP YOUR DATA!!! > > 1. Run 'fdisk -l' and note the starting and ending of your partition. > I will assume that the space being given to you appears at the end of > your existing partition and that this partition is the last partition on > the disk. > > 2. Using fdisk, delete the partition. Create a new partition that > begins in the same place, but ends at the end of the newly created > space. > Use 'w' to write your changes, and save them. Run partprobe if > necessary to force the kernel to re-read the partition table if it > complains that the kernel uses the old partition table. > > 3. Use resize2fs to expand your filesystem (while online) to take up > the entire partition. > > Hope this helps. > > Barry > > On Tue, 9 Oct 2007, Holder, Bill wrote: > >> >> >> It's a single ext3 partition with no LVM on a RHEL 5 server. Don't ask > >> why I was forced to not use LVM, it's a very Dilbert-esque story. >> >> >> -----Original Message----- >> From: redhat-sysadmin-list-bounces at redhat.com >> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Barry >> Brimer >> Sent: Tuesday, 9 October 2007 1:10 PM >> To: redhat-sysadmin-list at redhat.com >> Subject: Re: dynamic resize of LUNs >> >> >> >> On Tue, 9 Oct 2007, Holder, Bill wrote: >> >>> Hi all, >>> >>> I'm hoping someone might be able to help me get this to work >>> properly... >>> >>> Linux server with Qlogic HBA cards, has a 50gig LUN presented to >>> it, with a single ext3 filesystem. >>> >>> SAN admin has added another 50 gig to the LUN, and the server sees > >>> a 100 gig LUN. >>> >>> Problem is, the filesystem is now corrupt. >>> >>> I've tried rebuilding the devices and letting kpartx do it's >>> thing, >> >>> but the existing filesystem always dies. >>> >>> >>> Anyone know a good way to get this working, or am I screwed? >> >> What version of RHEL are you using? What filesystem is on it ext2/3, >> xfs, gfs, vxfs .. etc? Are you using any LVM? >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >> >> ********************************************************************** >> * The information in this e-mail together with any attachments is >> intended only for the person or entity to which it is addressed and >> may contain confidential and/or privileged material. >> Any form of review, disclosure, modification, distribution and/or >> publication of this e-mail message is prohibited. >> If you have received this message in error, you are asked to inform >> the sender as quickly as possible and delete this message and any >> copies of this message from your computer and/or your computer system >> network. >> Any attachments should be checked for viruses by you, before being > opened. SunWater accepts no responsibility for an attachment that > contains a virus. >> ********************************************************************** >> * >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >> >> >> >> > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > *********************************************************************** > The information in this e-mail together with any attachments is > intended only for the person or entity to which it is addressed > and may contain confidential and/or privileged material. > Any form of review, disclosure, modification, distribution > and/or publication of this e-mail message is prohibited. > If you have received this message in error, you are asked to > inform the sender as quickly as possible and delete this message > and any copies of this message from your computer and/or your > computer system network. > Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. > *********************************************************************** > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > !DSPAM:470af9e6134777795218147! > > From Tony.Delov at gribbles.com.au Tue Oct 9 05:47:18 2007 From: Tony.Delov at gribbles.com.au (t) Date: Tue, 09 Oct 2007 15:47:18 +1000 Subject: 8gb memory on Redhat AS 2.1 Message-ID: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> Hi All, Im running Redhat AS 2.1 on an IBM HS20 Blade Server. I have just upgraded the ram to 8Gb. The 8Gb memory shows up in the bios but the linux system only shows 4gb? Is there any special way to get the extra memory recognized in Redhat AS 2.1? I have a server that's running Redhat ES 2.1 that has 8gb of ram. That system has a custom kernel and is running on different hardware, I'm wondering if that would be the reason why? Redhat AS 2.1 more /etc/issue Red Hat Linux Advanced Server release 2.1AS/\m (Pensacola) uname -a Linux srv1 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686 unknown free total used free shared buffers cached Mem: 3465400 433984 3031416 0 116588 230684 -/+ buffers/cache: 86712 3378688 Swap: 2048276 0 2048276 Redhat ES 2.1: more /etc/issue Red Hat Enterprise Linux ES release 2.1 (Panama) Kernel \r on an \m uname -a Linux srvold 2.4.9-e.57custom #2 SMP Thu Apr 21 16:21:36 EST 2005 i686 unknown free total used free shared buffers cached Mem: 8228908 8205260 23648 162336 416616 6793652 -/+ buffers/cache: 994992 7233916 Swap: 2047976 70436 1977540 Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mij at irwan.name Tue Oct 9 08:43:23 2007 From: mij at irwan.name (Mohd Irwan Jamaluddin) Date: Tue, 9 Oct 2007 16:43:23 +0800 Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> Message-ID: On 10/9/07, t wrote: > > Hi All, > Im running Redhat AS 2.1 on an IBM HS20 Blade Server. > I have just upgraded the ram to 8Gb. > The 8Gb memory shows up in the bios but the linux system only shows 4gb? > > Is there any special way to get the extra memory recognized in Redhat AS > 2.1? > Use kernel-enterprise-* kernel-enterprise: The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. -- Regards, Mohd Irwan Jamaluddin Web: http://www.irwan.name/ Blog: http://blog.irwan.name/ From JMARTI05 at intersil.com Tue Oct 9 12:37:26 2007 From: JMARTI05 at intersil.com (Martin, Jonathan) Date: Tue, 9 Oct 2007 08:37:26 -0400 Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> Message-ID: <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> I'm not sure about AS 2 as we run AS3 here, but we had to install the HUGEMEM kernel and modify GRUB to use it. -Jonathan -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan Jamaluddin Sent: Tuesday, October 09, 2007 4:43 AM To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com Subject: Re: 8gb memory on Redhat AS 2.1 On 10/9/07, t wrote: > > Hi All, > Im running Redhat AS 2.1 on an IBM HS20 Blade Server. > I have just upgraded the ram to 8Gb. > The 8Gb memory shows up in the bios but the linux system only shows 4gb? > > Is there any special way to get the extra memory recognized in Redhat > AS 2.1? > Use kernel-enterprise-* kernel-enterprise: The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. -- Regards, Mohd Irwan Jamaluddin Web: http://www.irwan.name/ Blog: http://blog.irwan.name/ -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From mgalgoci at redhat.com Tue Oct 9 18:36:15 2007 From: mgalgoci at redhat.com (Matthew Galgoci) Date: Tue, 9 Oct 2007 14:36:15 -0400 Subject: multi-port infrastructure modems In-Reply-To: References: Message-ID: > Date: Mon, 17 Sep 2007 14:17:25 -0400 > From: Matthew Galgoci > To: redhat-sysadmin-list at redhat.com > Subject: multi-port infrastructure modems > > > Hey Y'all, > > I'm having a problem getting a square peg into a round hole regarding > multi-port modems in a modern server chassis. > > The new server is a 1u box with two pci express expansion slots. So far, > I have not been able to find any pci express modems (let alone multi-port > modem cards!) with this type of bus interconnect. > > Ok, so fair enough, I order a pci-x riser card to replace the pci express > riser in the server chassis. One of my cohorts orders a multiport pci modem > that we were assured would work. Problem is, this modem is 5V only, and > keyed as such, and will not fit. > > I did some more research and the options for solving this problem in a clean > way seem pretty sparse. > > Has anyone found such a beast? Thank you to everyone who replied. I ended up purchasing the following modem: http://mainpine.com/products_IQE.html It wasn't picked up by the serial driver immediately, so I had to do lspci and get BAR0 and the interrupt for the card to feed to setserial. Once I did that, each port was just an 0x08 offset from BAR0, starting that BAR0 itself. So far so good. Looks like a very well designed device. :) -- Matthew Galgoci Network Operations Red Hat, Inc 919.754.3700 x44155 From jbourne at hardrock.org Tue Oct 9 19:45:20 2007 From: jbourne at hardrock.org (James Bourne) Date: Tue, 9 Oct 2007 13:45:20 -0600 (MDT) Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> Message-ID: On Tue, 9 Oct 2007, Martin, Jonathan wrote: > I'm not sure about AS 2 as we run AS3 here, but we had to install the > HUGEMEM kernel and modify GRUB to use it. On AS 2.1 you need to use kernel-enterprise. Name : kernel-enterprise Relocations: (not relocateable) Version : 2.4.9 Vendor: Red Hat, Inc. Release : e.72 Build Date: Tue 03 Jul 2007 08:17:40 PM MDT Install date: Thu 04 Oct 2007 04:35:50 PM MDT Build Host: hs20-bc1-2.build.redhat.com Group : System Environment/Kernel Source RPM: kernel-2.4.9-e.72.src.rpm Size : 35962606 License: GPL Packager : Red Hat, Inc. Summary : The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. Description : This package includes a kernel that has appropriate configuration options enabled for Pentium III machines with 4 Gigabyte of memory or more. Regards James > > -Jonathan > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan > Jamaluddin > Sent: Tuesday, October 09, 2007 4:43 AM > To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com > Subject: Re: 8gb memory on Redhat AS 2.1 > > On 10/9/07, t wrote: >> >> Hi All, >> Im running Redhat AS 2.1 on an IBM HS20 Blade Server. >> I have just upgraded the ram to 8Gb. >> The 8Gb memory shows up in the bios but the linux system only shows > 4gb? >> >> Is there any special way to get the extra memory recognized in Redhat > >> AS 2.1? >> > > Use kernel-enterprise-* > > kernel-enterprise: > The Linux Kernel compiled with options for machines with more than 4 > Gigabyte of memory. > > -- > Regards, > Mohd Irwan Jamaluddin > Web: http://www.irwan.name/ > Blog: http://blog.irwan.name/ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- James Bourne | Email: jbourne at hardrock.org UNIX Systems Administration | WWW: http://www.hardrock.org Custom UNIX Programming | Linux: The choice of a GNU generation ---------------------------------------------------------------------- "All you need's an occasional kick in the philosophy." Frank Herbert Need an inexpensive domain alternative? http://fastforwarddomains.com From Bill.Holder at sunwater.com.au Tue Oct 9 22:17:21 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Wed, 10 Oct 2007 08:17:21 +1000 Subject: mouse and console issue Message-ID: <8ADEE648D981EF47A23B6E1334BEBA610252DF28@brisbane04.sunwater.com.au> Hi all, I've just installed Fedora 7 into a Vmware guest, and I've struck a really frustrating problem. When I type in the console, there is a massive delay in the characters appearing - until I move the mouse. When I move the mouse around (not even in an active window, just moving the mouse) then typing in the console works file - it's hard to type and move the mouse at the same time so this is kind of annoying :) This problem is not present if I ssh into the image. Any ideas? /B Bill Holder Systems Administrator - unix & datacomms SunWater Level 9, 120 Edward Street, Brisbane, QLD, 4000 Ph: +61 7 3120 0116 Fax: +61 7 3120 0302 www.SunWater.com.au *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tony.Delov at gribbles.com.au Tue Oct 9 22:32:19 2007 From: Tony.Delov at gribbles.com.au (t) Date: Wed, 10 Oct 2007 08:32:19 +1000 Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> Message-ID: <1191969139.3225.24.camel@melittdelov.gribbles.com.au> Hi, Thanks for the link. This will most likely solve the problem. I was wondering which version would be the best to install. Given that the system this is running is 2.4.9-e.57smp, would it be best to install the equivalent enterprise version or should go for the latest release (e.72)? Regards Tony Delov Linux melinetsrv 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686 unkno On Tue, 2007-10-09 at 13:45 -0600, James Bourne wrote: > On Tue, 9 Oct 2007, Martin, Jonathan wrote: > > > I'm not sure about AS 2 as we run AS3 here, but we had to install the > > HUGEMEM kernel and modify GRUB to use it. > > On AS 2.1 you need to use kernel-enterprise. > > Name : kernel-enterprise Relocations: (not relocateable) > Version : 2.4.9 Vendor: Red Hat, Inc. > Release : e.72 Build Date: Tue 03 Jul 2007 08:17:40 PM MDT > Install date: Thu 04 Oct 2007 04:35:50 PM MDT Build Host: hs20-bc1-2.build.redhat.com > Group : System Environment/Kernel Source RPM: kernel-2.4.9-e.72.src.rpm > Size : 35962606 License: GPL > Packager : Red Hat, Inc. > Summary : The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. > Description : > This package includes a kernel that has appropriate configuration options > enabled for Pentium III machines with 4 Gigabyte of memory or more. > > Regards > James > > > > > -Jonathan > > > > -----Original Message----- > > From: redhat-sysadmin-list-bounces at redhat.com > > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan > > Jamaluddin > > Sent: Tuesday, October 09, 2007 4:43 AM > > To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com > > Subject: Re: 8gb memory on Redhat AS 2.1 > > > > On 10/9/07, t wrote: > >> > >> Hi All, > >> Im running Redhat AS 2.1 on an IBM HS20 Blade Server. > >> I have just upgraded the ram to 8Gb. > >> The 8Gb memory shows up in the bios but the linux system only shows > > 4gb? > >> > >> Is there any special way to get the extra memory recognized in Redhat > > > >> AS 2.1? > >> > > > > Use kernel-enterprise-* > > > > kernel-enterprise: > > The Linux Kernel compiled with options for machines with more than 4 > > Gigabyte of memory. > > > > -- > > Regards, > > Mohd Irwan Jamaluddin > > Web: http://www.irwan.name/ > > Blog: http://blog.irwan.name/ > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Tue Oct 9 23:49:36 2007 From: lists at brimer.org (Barry Brimer) Date: Tue, 9 Oct 2007 18:49:36 -0500 (CDT) Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: <1191969139.3225.24.camel@melittdelov.gribbles.com.au> References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> <1191969139.3225.24.camel@melittdelov.gribbles.com.au> Message-ID: I would move to the latest version, unless there is a reason why you are sticking with an older version because of external dependencies. On Wed, 10 Oct 2007, t wrote: > Hi, > Thanks for the link. > This will most likely solve the problem. > I was wondering which version would be the best to install. > Given that the system this is running is 2.4.9-e.57smp, would it be best > to install the equivalent enterprise version or should go for the latest > release (e.72)? > > Regards > Tony Delov > > > Linux melinetsrv 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686 > unkno > > On Tue, 2007-10-09 at 13:45 -0600, James Bourne wrote: > >> On Tue, 9 Oct 2007, Martin, Jonathan wrote: >> >>> I'm not sure about AS 2 as we run AS3 here, but we had to install the >>> HUGEMEM kernel and modify GRUB to use it. >> >> On AS 2.1 you need to use kernel-enterprise. >> >> Name : kernel-enterprise Relocations: (not relocateable) >> Version : 2.4.9 Vendor: Red Hat, Inc. >> Release : e.72 Build Date: Tue 03 Jul 2007 08:17:40 PM MDT >> Install date: Thu 04 Oct 2007 04:35:50 PM MDT Build Host: hs20-bc1-2.build.redhat.com >> Group : System Environment/Kernel Source RPM: kernel-2.4.9-e.72.src.rpm >> Size : 35962606 License: GPL >> Packager : Red Hat, Inc. >> Summary : The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. >> Description : >> This package includes a kernel that has appropriate configuration options >> enabled for Pentium III machines with 4 Gigabyte of memory or more. >> >> Regards >> James >> >>> >>> -Jonathan >>> >>> -----Original Message----- >>> From: redhat-sysadmin-list-bounces at redhat.com >>> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan >>> Jamaluddin >>> Sent: Tuesday, October 09, 2007 4:43 AM >>> To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com >>> Subject: Re: 8gb memory on Redhat AS 2.1 >>> >>> On 10/9/07, t wrote: >>>> >>>> Hi All, >>>> Im running Redhat AS 2.1 on an IBM HS20 Blade Server. >>>> I have just upgraded the ram to 8Gb. >>>> The 8Gb memory shows up in the bios but the linux system only shows >>> 4gb? >>>> >>>> Is there any special way to get the extra memory recognized in Redhat >>> >>>> AS 2.1? >>>> >>> >>> Use kernel-enterprise-* >>> >>> kernel-enterprise: >>> The Linux Kernel compiled with options for machines with more than 4 >>> Gigabyte of memory. >>> >>> -- >>> Regards, >>> Mohd Irwan Jamaluddin >>> Web: http://www.irwan.name/ >>> Blog: http://blog.irwan.name/ >>> >>> -- >>> redhat-sysadmin-list mailing list >>> redhat-sysadmin-list at redhat.com >>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >>> >>> -- >>> redhat-sysadmin-list mailing list >>> redhat-sysadmin-list at redhat.com >>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >>> >>> > > > > Attention: > The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. > > Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. > > Thank You. > > Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. > Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. > > > !DSPAM:470c02aa17391508817574! > From jingchen at slac.stanford.edu Wed Oct 10 00:59:02 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Tue, 9 Oct 2007 17:59:02 -0700 Subject: An interesting NFS mounting problem Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. The server (nfs0) is configured as such $ cat /etc/exports /home nfsclient1(rw) and the client (nfsclient1) as such: #cat /etc/fstab nfs0:/home /home nfs defaults 0 0 When the client boots up, I get the following error message: "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. Am I missing any? Thanks, JC From matt.snyder at Copart.Com Wed Oct 10 01:09:19 2007 From: matt.snyder at Copart.Com (Matthew Snyder) Date: Tue, 09 Oct 2007 18:09:19 -0700 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> Message-ID: <470C263F.1020306@copart.com> Zhou, Jingchen wrote: > I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. > > The server (nfs0) is configured as such > $ cat /etc/exports > /home nfsclient1(rw) > > and the client (nfsclient1) as such: > #cat /etc/fstab > nfs0:/home /home nfs defaults 0 0 > > When the client boots up, I get the following error message: > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." > > However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. > > Am I missing any? > > Thanks, > JC > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list Is it trying to mount /home before networking is started during boot? From anilvrathod at gmail.com Wed Oct 10 02:56:20 2007 From: anilvrathod at gmail.com (anil rathod) Date: Wed, 10 Oct 2007 02:56:20 +0000 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> Message-ID: Make the entry of your clients into your server's /etc/hosts vi /etc/hosts nfsclient1 *** IP of client *** On 10/10/07, Zhou, Jingchen wrote: > > I am having a problem to mount a NFS volume /home (exported by a RHEL4 > server nfs0) on a NFS client which is also RHEL4. > > The server (nfs0) is configured as such > $ cat /etc/exports > /home nfsclient1(rw) > > and the client (nfsclient1) as such: > #cat /etc/fstab > nfs0:/home /home nfs defaults 0 0 > > When the client boots up, I get the following error message: > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: > System Error: No route to host." > > However, I have no problem to ping the server (nfs0) from nfsclient1 and I > also can mount /home manually via e.g. "mount /home" from command line. > > Am I missing any? > > Thanks, > JC > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- Thanks and Regards, ANIL RATHOD Red Hat Certified Engineer (RHCE) _________________________ Linux System Administrator Kalinga Data Link Pvt. Ltd. Pune-Satara Road, Pune - 411037 India. Mob.No. 9860062917 ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tony.Delov at gribbles.com.au Wed Oct 10 03:11:42 2007 From: Tony.Delov at gribbles.com.au (t) Date: Wed, 10 Oct 2007 13:11:42 +1000 Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> <1191969139.3225.24.camel@melittdelov.gribbles.com.au> Message-ID: <1191985902.6949.11.camel@melittdelov.gribbles.com.au> I'm also wondering about the smp functionality. I'm running this on a server with multiple processors. On Tue, 2007-10-09 at 18:49 -0500, Barry Brimer wrote: > I would move to the latest version, unless there is a reason why you are > sticking with an older version because of external dependencies. > > On Wed, 10 Oct 2007, t wrote: > > > Hi, > > Thanks for the link. > > This will most likely solve the problem. > > I was wondering which version would be the best to install. > > Given that the system this is running is 2.4.9-e.57smp, would it be best > > to install the equivalent enterprise version or should go for the latest > > release (e.72)? > > > > Regards > > Tony Delov > > > > > > Linux melinetsrv 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686 > > unkno > > > > On Tue, 2007-10-09 at 13:45 -0600, James Bourne wrote: > > > >> On Tue, 9 Oct 2007, Martin, Jonathan wrote: > >> > >>> I'm not sure about AS 2 as we run AS3 here, but we had to install the > >>> HUGEMEM kernel and modify GRUB to use it. > >> > >> On AS 2.1 you need to use kernel-enterprise. > >> > >> Name : kernel-enterprise Relocations: (not relocateable) > >> Version : 2.4.9 Vendor: Red Hat, Inc. > >> Release : e.72 Build Date: Tue 03 Jul 2007 08:17:40 PM MDT > >> Install date: Thu 04 Oct 2007 04:35:50 PM MDT Build Host: hs20-bc1-2.build.redhat.com > >> Group : System Environment/Kernel Source RPM: kernel-2.4.9-e.72.src.rpm > >> Size : 35962606 License: GPL > >> Packager : Red Hat, Inc. > >> Summary : The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. > >> Description : > >> This package includes a kernel that has appropriate configuration options > >> enabled for Pentium III machines with 4 Gigabyte of memory or more. > >> > >> Regards > >> James > >> > >>> > >>> -Jonathan > >>> > >>> -----Original Message----- > >>> From: redhat-sysadmin-list-bounces at redhat.com > >>> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan > >>> Jamaluddin > >>> Sent: Tuesday, October 09, 2007 4:43 AM > >>> To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com > >>> Subject: Re: 8gb memory on Redhat AS 2.1 > >>> > >>> On 10/9/07, t wrote: > >>>> > >>>> Hi All, > >>>> Im running Redhat AS 2.1 on an IBM HS20 Blade Server. > >>>> I have just upgraded the ram to 8Gb. > >>>> The 8Gb memory shows up in the bios but the linux system only shows > >>> 4gb? > >>>> > >>>> Is there any special way to get the extra memory recognized in Redhat > >>> > >>>> AS 2.1? > >>>> > >>> > >>> Use kernel-enterprise-* > >>> > >>> kernel-enterprise: > >>> The Linux Kernel compiled with options for machines with more than 4 > >>> Gigabyte of memory. > >>> > >>> -- > >>> Regards, > >>> Mohd Irwan Jamaluddin > >>> Web: http://www.irwan.name/ > >>> Blog: http://blog.irwan.name/ > >>> > >>> -- > >>> redhat-sysadmin-list mailing list > >>> redhat-sysadmin-list at redhat.com > >>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > >>> > >>> -- > >>> redhat-sysadmin-list mailing list > >>> redhat-sysadmin-list at redhat.com > >>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > >>> > >>> > > > > > > > > Attention: > > The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. > > > > Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. > > > > Thank You. > > > > Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. > > Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. > > > > > > !DSPAM:470c02aa17391508817574! > > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tony.Delov at gribbles.com.au Wed Oct 10 04:28:36 2007 From: Tony.Delov at gribbles.com.au (t) Date: Wed, 10 Oct 2007 14:28:36 +1000 Subject: ENOMEM in journal_get_undo_access_Rsmp_767cdac6 Message-ID: <1191990516.6949.21.camel@melittdelov.gribbles.com.au> While testing a server and its mounted SAN drives, I got these error messages when trying to create a very large file. Oct 10 14:04:36 melisrv kernel: ENOMEM in journal_get_undo_access_Rsmp_767cdac6, retrying. Oct 10 14:06:45 melisrv kernel: ENOMEM in journal_get_undo_access_Rsmp_767cdac6, retrying. Oct 10 14:06:46 melisrv kernel: ENOMEM in journal_alloc_journal_head, retrying. The command used: dd if=/dev/zero of=testfile bs=1M count=20000 Is this an issue with my system configuration? uname -a Linux melisrv 2.4.9-e.57enterprise #1 SMP Thu Dec 2 20:45:51 EST 2004 i686 unknown more /etc/redhat-release Red Hat Linux Advanced Server release 2.1AS (Pensacola) [tdelov at melisrv tdelov]$ free total used free shared buffers cached Mem: 8234188 308272 7925916 0 23520 26412 -/+ buffers/cache: 258340 7975848 Swap: 2048276 0 2048276 Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Wed Oct 10 12:31:01 2007 From: lists at brimer.org (Barry Brimer) Date: Wed, 10 Oct 2007 07:31:01 -0500 (CDT) Subject: 8gb memory on Redhat AS 2.1 In-Reply-To: <1191985902.6949.11.camel@melittdelov.gribbles.com.au> References: <1191908838.3225.15.camel@melittdelov.gribbles.com.au> <13E204E614D8E04FAF594C9AA9ED0BB709011FC8@PBCOMX02.intersil.corp> <1191969139.3225.24.camel@melittdelov.gribbles.com.au> <1191985902.6949.11.camel@melittdelov.gribbles.com.au> Message-ID: kernel-enterprise handles smp. On Wed, 10 Oct 2007, t wrote: > I'm also wondering about the smp functionality. > I'm running this on a server with multiple processors. > > > On Tue, 2007-10-09 at 18:49 -0500, Barry Brimer wrote: > >> I would move to the latest version, unless there is a reason why you are >> sticking with an older version because of external dependencies. >> >> On Wed, 10 Oct 2007, t wrote: >> >>> Hi, >>> Thanks for the link. >>> This will most likely solve the problem. >>> I was wondering which version would be the best to install. >>> Given that the system this is running is 2.4.9-e.57smp, would it be best >>> to install the equivalent enterprise version or should go for the latest >>> release (e.72)? >>> >>> Regards >>> Tony Delov >>> >>> >>> Linux melinetsrv 2.4.9-e.57smp #1 SMP Thu Dec 2 20:51:12 EST 2004 i686 >>> unkno >>> >>> On Tue, 2007-10-09 at 13:45 -0600, James Bourne wrote: >>> >>>> On Tue, 9 Oct 2007, Martin, Jonathan wrote: >>>> >>>>> I'm not sure about AS 2 as we run AS3 here, but we had to install the >>>>> HUGEMEM kernel and modify GRUB to use it. >>>> >>>> On AS 2.1 you need to use kernel-enterprise. >>>> >>>> Name : kernel-enterprise Relocations: (not relocateable) >>>> Version : 2.4.9 Vendor: Red Hat, Inc. >>>> Release : e.72 Build Date: Tue 03 Jul 2007 08:17:40 PM MDT >>>> Install date: Thu 04 Oct 2007 04:35:50 PM MDT Build Host: hs20-bc1-2.build.redhat.com >>>> Group : System Environment/Kernel Source RPM: kernel-2.4.9-e.72.src.rpm >>>> Size : 35962606 License: GPL >>>> Packager : Red Hat, Inc. >>>> Summary : The Linux Kernel compiled with options for machines with more than 4 Gigabyte of memory. >>>> Description : >>>> This package includes a kernel that has appropriate configuration options >>>> enabled for Pentium III machines with 4 Gigabyte of memory or more. >>>> >>>> Regards >>>> James >>>> >>>>> >>>>> -Jonathan >>>>> >>>>> -----Original Message----- >>>>> From: redhat-sysadmin-list-bounces at redhat.com >>>>> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Mohd Irwan >>>>> Jamaluddin >>>>> Sent: Tuesday, October 09, 2007 4:43 AM >>>>> To: tony.delov at gribbles.com.au; redhat-sysadmin-list at redhat.com >>>>> Subject: Re: 8gb memory on Redhat AS 2.1 >>>>> >>>>> On 10/9/07, t wrote: >>>>>> >>>>>> Hi All, >>>>>> Im running Redhat AS 2.1 on an IBM HS20 Blade Server. >>>>>> I have just upgraded the ram to 8Gb. >>>>>> The 8Gb memory shows up in the bios but the linux system only shows >>>>> 4gb? >>>>>> >>>>>> Is there any special way to get the extra memory recognized in Redhat >>>>> >>>>>> AS 2.1? >>>>>> >>>>> >>>>> Use kernel-enterprise-* >>>>> >>>>> kernel-enterprise: >>>>> The Linux Kernel compiled with options for machines with more than 4 >>>>> Gigabyte of memory. >>>>> >>>>> -- >>>>> Regards, >>>>> Mohd Irwan Jamaluddin >>>>> Web: http://www.irwan.name/ >>>>> Blog: http://blog.irwan.name/ >>>>> >>>>> -- >>>>> redhat-sysadmin-list mailing list >>>>> redhat-sysadmin-list at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >>>>> >>>>> -- >>>>> redhat-sysadmin-list mailing list >>>>> redhat-sysadmin-list at redhat.com >>>>> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list >>>>> >>>>> >>> >>> >>> >>> Attention: >>> The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. >>> >>> Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. >>> >>> Thank You. >>> >>> Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. >>> Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. >>> >>> >>> >>> >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > Attention: > The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. > > Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. > > Thank You. > > Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. > Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. > > > !DSPAM:470c431574813830542480! > From mweber at alliednational.com Wed Oct 10 12:51:33 2007 From: mweber at alliednational.com (Michael Weber) Date: Wed, 10 Oct 2007 07:51:33 -0500 Subject: mouse and console issue In-Reply-To: <8ADEE648D981EF47A23B6E1334BEBA610252DF28@brisbane04.sunwater.com.au> References: <8ADEE648D981EF47A23B6E1334BEBA610252DF28@brisbane04.sunwater.com.au> Message-ID: <470C847F.640A.0013.3@alliednational.com> Hey, Bill. All of my issues like that (though I haven't seen those exact symptoms) went away when I got the VMWare tools properly installed. I have seen once where I thought I had done the tool install but it didn't take. After a reboot I still had funky video/mouse issues. I re-did the tool install and rebooted and all was well. HTH! -Michael >>> "Holder, Bill" 10/9/2007 5:17 PM >>> Hi all, I've just installed Fedora 7 into a Vmware guest, and I've struck a really frustrating problem. When I type in the console, there is a massive delay in the characters appearing - until I move the mouse. When I move the mouse around (not even in an active window, just moving the mouse) then typing in the console works file - it's hard to type and move the mouse at the same time so this is kind of annoying :) This problem is not present if I ssh into the image. Any ideas? /B Bill Holder Systems Administrator - unix & datacomms SunWater Level 9, 120 Edward Street, Brisbane, QLD, 4000 Ph: +61 7 3120 0116 Fax: +61 7 3120 0302 www.SunWater.com.au *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** E-MAIL CONFIDENTIALITY NOTICE: This communication and any associated file(s) may contain privileged, confidential or proprietary information or be protected from disclosure under law ("Confidential Information"). Any use or disclosure of this Confidential Information, or taking any action in reliance thereon, by any individual/entity other than the intended recipient(s) is strictly prohibited. This Confidential Information is intended solely for the use of the individual(s) addressed. If you are not an intended recipient, you have received this Confidential Information in error and have an obligation to promptly inform the sender and permanently destroy, in its entirety, this Confidential Information (and all copies thereof). E-mail is handled in the strictest of confidence by Allied National, however, unless sent encrypted, it is not a secure communication method and may have been intercepted, edited or altered during transmission and therefore is not guaranteed. From cristian.chirilov at ipsec.ro Wed Oct 10 14:18:10 2007 From: cristian.chirilov at ipsec.ro (Cristian CHIRILOV) Date: Wed, 10 Oct 2007 17:18:10 +0300 Subject: ENOMEM in journal_get_undo_access_Rsmp_767cdac6 In-Reply-To: <1191990516.6949.21.camel@melittdelov.gribbles.com.au> References: <1191990516.6949.21.camel@melittdelov.gribbles.com.au> Message-ID: <470CDF22.7040709@ipsec.ro> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 t wrote: > While testing a server and its mounted SAN drives, I got these error > messages when trying to create a very large file. > > Oct 10 14:04:36 melisrv kernel: ENOMEM in > journal_get_undo_access_Rsmp_767cdac6, retrying. > Oct 10 14:06:45 melisrv kernel: ENOMEM in > journal_get_undo_access_Rsmp_767cdac6, retrying. > Oct 10 14:06:46 melisrv kernel: ENOMEM in journal_alloc_journal_head, > retrying. > > The command used: dd if=/dev/zero of=testfile bs=1M count=20000 > > Is this an issue with my system configuration? > > uname -a > Linux melisrv 2.4.9-e.57enterprise #1 SMP Thu Dec 2 20:45:51 EST 2004 > i686 unknown > > more /etc/redhat-release > Red Hat Linux Advanced Server release 2.1AS (Pensacola) > > [tdelov at melisrv tdelov]$ free > total used free shared buffers cached > Mem: 8234188 308272 7925916 0 23520 26412 > -/+ buffers/cache: 258340 7975848 > Swap: 2048276 0 2048276 > Hello, These messages usually appear under heavy memory pressure. There are places in the kernel that log the memory allocation failures. The journal code is one of them. Most of them simply retry without logging anything. There is no need to worry about your system configuration. It's just a warning meaning that the filesystem retries the allocation. - -- Cristian CHIRILOV -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHDN8is/yYs6RaifwRAlQqAJ9ypaIAqex0u41v9G9jYnkfyEEEgACdFkZr ChJKU0c1KkDALokyh1592tw= =/PH2 -----END PGP SIGNATURE----- From jingchen at slac.stanford.edu Wed Oct 10 18:02:04 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Wed, 10 Oct 2007 11:02:04 -0700 Subject: An interesting NFS mounting problem References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> <470C263F.1020306@copart.com> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> I think this has something to do with iptables. I just don't know how to fix this problem. What is funny is that some clients on the same network work, while others (e.g. nfsclient1) don't. Even for nfsclients1, I notice sometime it can mount /u1, /usr/local, but not /home at boot time. Of course, if I do "mount -a" from command line, all gets mounted. By the way, all the clients are configured the same way. This NFS problem appears to be very random. Any clue is appreciated. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of Matthew Snyder Sent: Tue 10/9/2007 6:09 PM To: redhat-sysadmin-list at redhat.com Subject: Re: An interesting NFS mounting problem Zhou, Jingchen wrote: > I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. > > The server (nfs0) is configured as such > $ cat /etc/exports > /home nfsclient1(rw) > > and the client (nfsclient1) as such: > #cat /etc/fstab > nfs0:/home /home nfs defaults 0 0 > > When the client boots up, I get the following error message: > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." > > However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. > > Am I missing any? > > Thanks, > JC > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list Is it trying to mount /home before networking is started during boot? -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jingchen at slac.stanford.edu Wed Oct 10 18:02:31 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Wed, 10 Oct 2007 11:02:31 -0700 Subject: An interesting NFS mounting problem References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7F@exch-mail2.win.slac.stanford.edu> Tried to use IPs on both server and client. Still not working. Thanks. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of anil rathod Sent: Tue 10/9/2007 7:56 PM To: redhat-sysadmin-list at redhat.com Subject: Re: An interesting NFS mounting problem Make the entry of your clients into your server's /etc/hosts vi /etc/hosts nfsclient1 *** IP of client *** On 10/10/07, Zhou, Jingchen wrote: I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. The server (nfs0) is configured as such $ cat /etc/exports /home nfsclient1(rw) and the client (nfsclient1) as such: #cat /etc/fstab nfs0:/home /home nfs defaults 0 0 When the client boots up, I get the following error message: "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- Thanks and Regards, ANIL RATHOD Red Hat Certified Engineer (RHCE) _________________________ Linux System Administrator Kalinga Data Link Pvt. Ltd. Pune-Satara Road, Pune - 411037 India. Mob.No. 9860062917 ________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5004 bytes Desc: not available URL: From paul.nuffer at gmail.com Wed Oct 10 18:58:12 2007 From: paul.nuffer at gmail.com (Paul N) Date: Wed, 10 Oct 2007 12:58:12 -0600 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> <470C263F.1020306@copart.com> <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> Message-ID: On 10/10/07, Zhou, Jingchen wrote: > I think this has something to do with iptables. I just don't know how to fix this problem. What is funny is that some clients on the same network work, while others (e.g. nfsclient1) don't. Even for nfsclients1, I notice sometime it can mount /u1, /usr/local, but not /home at boot time. Of course, if I do "mount -a" from command line, all gets mounted. By the way, all the clients are configured the same way. This NFS problem appears to be very random. > Just to eliminate guesses, if your security can afford it, you could try taking nfsclient1's iptables out of the picture for the boot: `/sbin/chkconfig --level 345 iptables off` Reboot, then see if the same error appears. Relating to the second half - are /u1, /usr/local, and /home all exports from the same nfs server? Paul From rriley at procuri.com Wed Oct 10 19:05:23 2007 From: rriley at procuri.com (Richard Riley) Date: Wed, 10 Oct 2007 15:05:23 -0400 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu><470C263F.1020306@copart.com> <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> Message-ID: > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat- > sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen > Sent: Wednesday, October 10, 2007 2:02 PM > To: redhat-sysadmin-list at redhat.com > Subject: RE: An interesting NFS mounting problem > > I think this has something to do with iptables. I just don't know > how to fix this problem. What is funny is that some clients on the > same network work, while others (e.g. nfsclient1) don't. Even for > nfsclients1, I notice sometime it can mount /u1, /usr/local, but not > /home at boot time. Of course, if I do "mount -a" from command line, > all gets mounted. By the way, all the clients are configured the > same way. This NFS problem appears to be very random. If you had a problem with iptables, you would not be able to mount via NFS at any time. Since the amount of information you have provided is limited, here is one important place to check. Look at /etc/rc.d/rc3.d directory (assuming run level 3, if different run level replace 3 with that level). The file name convention here S??service where S indicates a startup script, ?? is the sequence number (smallest is started first) and "service" is the name of the service to start. Be sure that the number associated with the netfs service is larger than "network" and "portmap". The key is that other necessary services required to support NFS are already started before the "netfs" service attempts to start. [Richard Riley] > Any clue is appreciated. > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com on behalf of Matthew > Snyder > Sent: Tue 10/9/2007 6:09 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: An interesting NFS mounting problem > > > > Zhou, Jingchen wrote: > > I am having a problem to mount a NFS volume /home (exported by a > RHEL4 server nfs0) on a NFS client which is also RHEL4. > > > > The server (nfs0) is configured as such > > $ cat /etc/exports > > /home nfsclient1(rw) > > > > and the client (nfsclient1) as such: > > #cat /etc/fstab > > nfs0:/home /home nfs defaults 0 0 > > > > When the client boots up, I get the following error message: > > > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' > failed: System Error: No route to host." > > > > However, I have no problem to ping the server (nfs0) from > nfsclient1 and I also can mount /home manually via e.g. "mount > /home" from command line. > > > > Am I missing any? > > > > Thanks, > > JC > > > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > Is it trying to mount /home before networking is started during > boot? > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jingchen at slac.stanford.edu Wed Oct 10 21:13:26 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Wed, 10 Oct 2007 14:13:26 -0700 Subject: An interesting NFS mounting problem References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu><470C263F.1020306@copart.com><8CF98BE8D19EA84BA2271BE19BE8F83401A34B7E@exch-mail2.win.slac.stanford.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B81@exch-mail2.win.slac.stanford.edu> Here is what I have in /etc/rc3.d S10network ... S13portmap ... S25netfs ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of Richard Riley Sent: Wed 10/10/2007 12:05 PM To: redhat-sysadmin-list at redhat.com Subject: RE: An interesting NFS mounting problem > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat- > sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen > Sent: Wednesday, October 10, 2007 2:02 PM > To: redhat-sysadmin-list at redhat.com > Subject: RE: An interesting NFS mounting problem > > I think this has something to do with iptables. I just don't know > how to fix this problem. What is funny is that some clients on the > same network work, while others (e.g. nfsclient1) don't. Even for > nfsclients1, I notice sometime it can mount /u1, /usr/local, but not > /home at boot time. Of course, if I do "mount -a" from command line, > all gets mounted. By the way, all the clients are configured the > same way. This NFS problem appears to be very random. If you had a problem with iptables, you would not be able to mount via NFS at any time. Since the amount of information you have provided is limited, here is one important place to check. Look at /etc/rc.d/rc3.d directory (assuming run level 3, if different run level replace 3 with that level). The file name convention here S??service where S indicates a startup script, ?? is the sequence number (smallest is started first) and "service" is the name of the service to start. Be sure that the number associated with the netfs service is larger than "network" and "portmap". The key is that other necessary services required to support NFS are already started before the "netfs" service attempts to start. [Richard Riley] > Any clue is appreciated. > > ________________________________ > > From: redhat-sysadmin-list-bounces at redhat.com on behalf of Matthew > Snyder > Sent: Tue 10/9/2007 6:09 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: An interesting NFS mounting problem > > > > Zhou, Jingchen wrote: > > I am having a problem to mount a NFS volume /home (exported by a > RHEL4 server nfs0) on a NFS client which is also RHEL4. > > > > The server (nfs0) is configured as such > > $ cat /etc/exports > > /home nfsclient1(rw) > > > > and the client (nfsclient1) as such: > > #cat /etc/fstab > > nfs0:/home /home nfs defaults 0 0 > > > > When the client boots up, I get the following error message: > > > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' > failed: System Error: No route to host." > > > > However, I have no problem to ping the server (nfs0) from > nfsclient1 and I also can mount /home manually via e.g. "mount > /home" from command line. > > > > Am I missing any? > > > > Thanks, > > JC > > > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > Is it trying to mount /home before networking is started during > boot? > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From HowardC at prpa.org Wed Oct 10 21:27:17 2007 From: HowardC at prpa.org (Howard, Chris) Date: Wed, 10 Oct 2007 15:27:17 -0600 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7F@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> <8CF98BE8D19EA84BA2271BE19BE8F83401A34B7F@exch-mail2.win.slac.stanford.edu> Message-ID: <1305E9F69BC3CE49ABCDC8E00492F7020268D09E@titan.internal.prpa.org> On one of my systems I have a network card that requires some diddling during the bootup. I put the diddling in rc.local as I recall. That means that my network really isn't up until rc.local has been run. You don't happen to have something goofy like that going on do you? Because it sounds like the network isn't completely up by the time the NFS script starts. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: Wednesday, October 10, 2007 12:03 PM To: redhat-sysadmin-list at redhat.com Subject: RE: An interesting NFS mounting problem Tried to use IPs on both server and client. Still not working. Thanks. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of anil rathod Sent: Tue 10/9/2007 7:56 PM To: redhat-sysadmin-list at redhat.com Subject: Re: An interesting NFS mounting problem Make the entry of your clients into your server's /etc/hosts vi /etc/hosts nfsclient1 *** IP of client *** On 10/10/07, Zhou, Jingchen wrote: I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. The server (nfs0) is configured as such $ cat /etc/exports /home nfsclient1(rw) and the client (nfsclient1) as such: #cat /etc/fstab nfs0:/home /home nfs defaults 0 0 When the client boots up, I get the following error message: "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- Thanks and Regards, ANIL RATHOD Red Hat Certified Engineer (RHCE) _________________________ Linux System Administrator Kalinga Data Link Pvt. Ltd. Pune-Satara Road, Pune - 411037 India. Mob.No. 9860062917 ________________________________ From jingchen at slac.stanford.edu Wed Oct 10 21:43:04 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Wed, 10 Oct 2007 14:43:04 -0700 Subject: An interesting NFS mounting problem References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu><8CF98BE8D19EA84BA2271BE19BE8F83401A34B7F@exch-mail2.win.slac.stanford.edu> <1305E9F69BC3CE49ABCDC8E00492F7020268D09E@titan.internal.prpa.org> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B82@exch-mail2.win.slac.stanford.edu> By default, I have the following: ls -all /etc/rc3.d/S99local lrwxrwxrwx 1 root root 11 Jun 29 18:41 /etc/rc3.d/S99local -> ../rc.local cat /etc/rc3.d/S99local #!/bin/sh touch /var/lock/subsys/local ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of Howard, Chris Sent: Wed 10/10/2007 2:27 PM To: redhat-sysadmin-list at redhat.com Subject: RE: An interesting NFS mounting problem On one of my systems I have a network card that requires some diddling during the bootup. I put the diddling in rc.local as I recall. That means that my network really isn't up until rc.local has been run. You don't happen to have something goofy like that going on do you? Because it sounds like the network isn't completely up by the time the NFS script starts. -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Zhou, Jingchen Sent: Wednesday, October 10, 2007 12:03 PM To: redhat-sysadmin-list at redhat.com Subject: RE: An interesting NFS mounting problem Tried to use IPs on both server and client. Still not working. Thanks. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of anil rathod Sent: Tue 10/9/2007 7:56 PM To: redhat-sysadmin-list at redhat.com Subject: Re: An interesting NFS mounting problem Make the entry of your clients into your server's /etc/hosts vi /etc/hosts nfsclient1 *** IP of client *** On 10/10/07, Zhou, Jingchen wrote: I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. The server (nfs0) is configured as such $ cat /etc/exports /home nfsclient1(rw) and the client (nfsclient1) as such: #cat /etc/fstab nfs0:/home /home nfs defaults 0 0 When the client boots up, I get the following error message: "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- Thanks and Regards, ANIL RATHOD Red Hat Certified Engineer (RHCE) _________________________ Linux System Administrator Kalinga Data Link Pvt. Ltd. Pune-Satara Road, Pune - 411037 India. Mob.No. 9860062917 ________________________________ -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From jingchen at slac.stanford.edu Wed Oct 10 23:43:27 2007 From: jingchen at slac.stanford.edu (Zhou, Jingchen) Date: Wed, 10 Oct 2007 16:43:27 -0700 Subject: An interesting NFS mounting problem References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> Message-ID: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B84@exch-mail2.win.slac.stanford.edu> Thank you all for your responses. So, I googled around and found this solution, and it works! http://crazytoon.com/2007/05/11/centos-and-redhat-problem-nfs-mount-at-boot-up-fails-with-error-system-error-no-route-to-host/ But I don't know if this is a proper solution though, as I have a number of applicaiton daemons which get started at run level 3 and depend on the NFS filesystems. My concern is that the application daemons may start up before netfs, as netfs sleeps 30s. My question is that why do I have to do this on this client, as I have a large number of NFS clients that have the same hardware/OS and are configured identically. All works except for this client. Why it takes so long for network to start and set up routes etc.? Is it something wrong with my NIC card ? Thanks, Jingchen ________________________________ From: redhat-sysadmin-list-bounces at redhat.com on behalf of Zhou, Jingchen Sent: Tue 10/9/2007 5:59 PM To: redhat-sysadmin-list at redhat.com Subject: An interesting NFS mounting problem I am having a problem to mount a NFS volume /home (exported by a RHEL4 server nfs0) on a NFS client which is also RHEL4. The server (nfs0) is configured as such $ cat /etc/exports /home nfsclient1(rw) and the client (nfsclient1) as such: #cat /etc/fstab nfs0:/home /home nfs defaults 0 0 When the client boots up, I get the following error message: "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: System Error: No route to host." However, I have no problem to ping the server (nfs0) from nfsclient1 and I also can mount /home manually via e.g. "mount /home" from command line. Am I missing any? Thanks, JC -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5472 bytes Desc: not available URL: From hjnmolly at hetnet.nl Thu Oct 11 08:42:07 2007 From: hjnmolly at hetnet.nl (harold molly) Date: Thu, 11 Oct 2007 10:42:07 +0200 Subject: An interesting NFS mounting problem In-Reply-To: <8CF98BE8D19EA84BA2271BE19BE8F83401A34B84@exch-mail2.win.slac.stanford.edu> References: <8CF98BE8D19EA84BA2271BE19BE8F83403B1B20F@exch-mail2.win.slac.stanford.edu> <8CF98BE8D19EA84BA2271BE19BE8F83401A34B84@exch-mail2.win.slac.stanford.edu> Message-ID: <470DE1DF.4050609@hetnet.nl> seems to me you solved the problem, yourself. 1) do an early nfs mount (an operation on fstab) 2)check your routes and set these manually, if needed(an operation on the route command) good luck Zhou, Jingchen wrote: > Thank you all for your responses. > > So, I googled around and found this solution, and it works! > > http://crazytoon.com/2007/05/11/centos-and-redhat-problem-nfs-mount-at-boot-up-fails-with-error-system-error-no-route-to-host/ > But I don't know if this is a proper solution though, as I have a > number of applicaiton daemons which get started at run level 3 and > depend on the NFS filesystems. My concern is that the application > daemons may start up before netfs, as netfs sleeps 30s. > > My question is that why do I have to do this on this client, as I have > a large number of NFS clients that have the same hardware/OS and are > configured identically. All works except for this client. Why it takes > so long for > network to start and set up routes etc.? Is it something wrong with my > NIC card ? > > Thanks, > Jingchen > > ------------------------------------------------------------------------ > *From:* redhat-sysadmin-list-bounces at redhat.com on behalf of Zhou, > Jingchen > *Sent:* Tue 10/9/2007 5:59 PM > *To:* redhat-sysadmin-list at redhat.com > *Subject:* An interesting NFS mounting problem > > I am having a problem to mount a NFS volume /home (exported by a RHEL4 > server nfs0) on a NFS client which is also RHEL4. > > The server (nfs0) is configured as such > $ cat /etc/exports > /home nfsclient1(rw) > > and the client (nfsclient1) as such: > #cat /etc/fstab > nfs0:/home /home nfs defaults 0 0 > > When the client boots up, I get the following error message: > > "Mounting NFS filesystems: mount: mount to NFS server 'nfs0' failed: > System Error: No route to host." > > However, I have no problem to ping the server (nfs0) from nfsclient1 > and I also can mount /home manually via e.g. "mount /home" from > command line. > > Am I missing any? > > Thanks, > JC > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From Neill.Flynn at itg.com Fri Oct 12 10:53:57 2007 From: Neill.Flynn at itg.com (Flynn, Neill) Date: Fri, 12 Oct 2007 11:53:57 +0100 Subject: NS issues Message-ID: Hi all, I'm a Solaris admin who has a few RH boxes to look after. We use NIS and DNS for name resolution. The NIS host file gets updated by hand and the DNS server uses this information to create it's named DB's. All clients are setup to use "files, NIS, DNS" in their nsswitch.conf. We have 3 boxes running propriety software (all on the same subnet), two run in production and one is a backup. I created an alias for each of the primary machines which is now used for accessing the services on that box. "In the unlikely event of a failure", the plan is to switch the alias from the faulty primary machine to the backup machine and restart all services. During testing, I changed the alias and updated DNS (I had a wee problem with the TTL for the DNS zone - as these machines actually use a secondary DNS server - this was overcome and all seemed fine). When the application support lads went to startup the application, it was still trying the old IP address of the aliased hostname. I checked everything I could think of (mainly from a Solaris perspective)..../etc/nsswitch.conf, /etc/resolv.conf, ypmatch, nslookup, arp, nscd (which isn't running)......anyway I found nothing obvious. Can anyone suggest anything else that I should look at? Thanks in advance for any help, Neill This message is for the named person's use only. This communication is for informational purposes only and has been obtained from sources believed to be reliable, but it is not necessarily complete and its accuracy cannot be guaranteed. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument oras an official confirmation of any transaction. Moreover, this material should not be construed to contain any recommendation regarding, or opinion concerning, any security. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ITG may monitor traffic data of both business and personal e-mails. By replying to this e-mail, you consent to ITG monitoring the content of any e-mails you send to or receive from ITG. ITG(r) is a global brand that, in Europe, refers to Investment Technology Group Limited ("ITGL"), registered in Ireland No. 283940 and/or its wholly owned subsidiary, Investment Technology Group Europe Limited ("ITGEL"), registered in Ireland No. 283939. The registered office of these companies is Dublin Exchange Facility, IFSC, Dublin 1, Ireland. ITGEL London Branch is registered in England and Wales, Branch No. BROO4642. ITGL and ITGEL are authorised by the Irish Financial Regulator under the Investment Intermediaries Act, 1995 and provide services in other member states under Article 14 of the Investment Services Directive. ITGL is a member of the London Stock Exchange, Euronext and the Deutsche Borse and operates POSIT(r), the Alternative Trading System. ITGEL London Branch is regulated by the Financial Services Authority for the conduct of investment business in the UK. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bacchi at rpi.edu Fri Oct 12 13:11:10 2007 From: bacchi at rpi.edu (Andrew Bacchi) Date: Fri, 12 Oct 2007 09:11:10 -0400 Subject: NS issues In-Reply-To: References: Message-ID: <470F726E.8070403@rpi.edu> In my case, the application client caches the server address internally. Unless I flush this client cache it keeps trying to connect to the old IP address. You may have a similar situation. One possible solution is to reboot the standby machine with the IP address and hostname of the failed machine. It's less work to do that than change DNS records. Flynn, Neill wrote: > Hi all, > > I'm a Solaris admin who has a few RH boxes to look after. We use NIS and > DNS for name resolution. The NIS host file gets updated by hand and the > DNS server uses this information to create it's named DB's. All clients > are setup to use "files, NIS, DNS" in their nsswitch.conf. > > We have 3 boxes running propriety software (all on the same subnet), two > run in production and one is a backup. I created an alias for each of > the primary machines which is now used for accessing the services on > that box. "In the unlikely event of a failure", the plan is to switch > the alias from the faulty primary machine to the backup machine and > restart all services. > > During testing, I changed the alias and updated DNS (I had a wee problem > with the TTL for the DNS zone - as these machines actually use a > secondary DNS server - this was overcome and all seemed fine). When the > application support lads went to startup the application, it was still > trying the old IP address of the aliased hostname. > > I checked everything I could think of (mainly from a Solaris > perspective)?./etc/nsswitch.conf, /etc/resolv.conf, ypmatch, nslookup, > arp, nscd (which isn't running)??anyway I found nothing obvious. Can > anyone suggest anything else that I should look at? > > Thanks in advance for any help, > Neill > > This message is for the named person's use only. This communication is for > informational purposes only and has been obtained from sources believed to be reliable, > but it is not necessarily complete and its accuracy cannot be guaranteed. It is not > intended as an offer or solicitation for the purchase or sale of any financial instrument oras an official confirmation of any transaction. Moreover, this material should not be > construed to contain any recommendation regarding, or opinion concerning, any > security. It may contain confidential, proprietary or legally privileged information. > No confidentiality or privilege is waived or lost by any mistransmission. If you receive this > message in error, please immediately delete it and all copies of it from your system, > destroy any hard copies of it and notify the sender. You must not, directly or indirectly, > use, disclose, distribute, print, or copy any part of this message if you are not the > intended recipient. Any views expressed in this message are those of the individual > sender, except where the message states otherwise and the sender is authorised to > state them to be the views of any such entity. > > ITG may monitor traffic data of both business and personal e-mails. By replying to this > e-mail, you consent to ITG monitoring the content of any e-mails you send to or receive > from ITG. > > ITG(r) is a global brand that, in Europe, refers to Investment Technology Group Limited > ("ITGL"), registered in Ireland No. 283940 and/or its wholly owned subsidiary, > Investment Technology Group Europe Limited ("ITGEL"), registered in Ireland No. > 283939. The registered office of these companies is Dublin Exchange Facility, IFSC, > Dublin 1, Ireland. ITGEL London Branch is registered in England and Wales, Branch No. > BROO4642. ITGL and ITGEL are authorised by the Irish Financial Regulator under the > Investment Intermediaries Act, 1995 and provide services in other member states under > Article 14 of the Investment Services Directive. ITGL is a member of the London Stock > Exchange, Euronext and the Deutsche Borse and operates POSIT(r), the Alternative > Trading System. ITGEL London Branch is regulated by the Financial Services Authority > for the conduct of investment business in the UK. > > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- veritatis simplex oratio est -Seneca Andrew Bacchi Systems Programmer Rensselaer Polytechnic Institute phone: 518.276.6415 fax: 518.276.2809 http://www.rpi.edu/~bacchi/ From moti at 101tech.net Fri Oct 12 13:39:50 2007 From: moti at 101tech.net (Moti Levy) Date: Fri, 12 Oct 2007 09:39:50 -0400 Subject: NS issues In-Reply-To: <470F726E.8070403@rpi.edu> References: <470F726E.8070403@rpi.edu> Message-ID: <470F7926.1060604@101tech.net> I agree, dns caching is an issue with many apps , i can tell you that if you have tomcat anywhere in that list you can forget about dns as a failover mechanism. I suggest you assign a "virtual ip" that can be moved ( either manually or via keepalived or any other clustering tool ) when needed. Andrew Bacchi wrote: > In my case, the application client caches the server address internally. > Unless I flush this client cache it keeps trying to connect to the old > IP address. You may have a similar situation. > > One possible solution is to reboot the standby machine with the IP > address and hostname of the failed machine. It's less work to do that > than change DNS records. > > Flynn, Neill wrote: >> Hi all, >> >> I'm a Solaris admin who has a few RH boxes to look after. We use NIS >> and DNS for name resolution. The NIS host file gets updated by hand >> and the DNS server uses this information to create it's named DB's. >> All clients are setup to use "files, NIS, DNS" in their nsswitch.conf. >> >> We have 3 boxes running propriety software (all on the same subnet), >> two run in production and one is a backup. I created an alias for each >> of the primary machines which is now used for accessing the services >> on that box. "In the unlikely event of a failure", the plan is to >> switch the alias from the faulty primary machine to the backup machine >> and restart all services. >> >> During testing, I changed the alias and updated DNS (I had a wee >> problem with the TTL for the DNS zone - as these machines actually use >> a secondary DNS server - this was overcome and all seemed fine). When >> the application support lads went to startup the application, it was >> still trying the old IP address of the aliased hostname. >> >> I checked everything I could think of (mainly from a Solaris >> perspective)?./etc/nsswitch.conf, /etc/resolv.conf, ypmatch, nslookup, >> arp, nscd (which isn't running)??anyway I found nothing obvious. Can >> anyone suggest anything else that I should look at? >> >> Thanks in advance for any help, >> Neill >> >> This message is for the named person's use only. This communication is >> for >> informational purposes only and has been obtained from sources >> believed to be reliable, >> but it is not necessarily complete and its accuracy cannot be >> guaranteed. It is not >> intended as an offer or solicitation for the purchase or sale of any >> financial instrument oras an official confirmation of any transaction. >> Moreover, this material should not be >> construed to contain any recommendation regarding, or opinion >> concerning, any >> security. It may contain confidential, proprietary or legally >> privileged information. >> No confidentiality or privilege is waived or lost by any >> mistransmission. If you receive this >> message in error, please immediately delete it and all copies of it >> from your system, >> destroy any hard copies of it and notify the sender. You must not, >> directly or indirectly, >> use, disclose, distribute, print, or copy any part of this message if >> you are not the >> intended recipient. Any views expressed in this message are those of >> the individual >> sender, except where the message states otherwise and the sender is >> authorised to >> state them to be the views of any such entity. >> >> ITG may monitor traffic data of both business and personal e-mails. By >> replying to this >> e-mail, you consent to ITG monitoring the content of any e-mails you >> send to or receive >> from ITG. >> >> ITG(r) is a global brand that, in Europe, refers to Investment >> Technology Group Limited >> ("ITGL"), registered in Ireland No. 283940 and/or its wholly owned >> subsidiary, >> Investment Technology Group Europe Limited ("ITGEL"), registered in >> Ireland No. >> 283939. The registered office of these companies is Dublin Exchange >> Facility, IFSC, >> Dublin 1, Ireland. ITGEL London Branch is registered in England and >> Wales, Branch No. >> BROO4642. ITGL and ITGEL are authorised by the Irish Financial >> Regulator under the >> Investment Intermediaries Act, 1995 and provide services in other >> member states under >> Article 14 of the Investment Services Directive. ITGL is a member of >> the London Stock >> Exchange, Euronext and the Deutsche Borse and operates POSIT(r), the >> Alternative >> Trading System. ITGEL London Branch is regulated by the Financial >> Services Authority >> for the conduct of investment business in the UK. >> >> >> ------------------------------------------------------------------------ >> >> -- >> redhat-sysadmin-list mailing list >> redhat-sysadmin-list at redhat.com >> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > From tiagocruz at forumgdh.net Tue Oct 16 18:04:12 2007 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 Oct 2007 16:04:12 -0200 Subject: Ldap x local users Message-ID: <1192557852.5800.2.camel@tuxkiller> Hello everyone, I'm using LDAP for user's auth , but I would like that the system does not look on ldap server for local users, like httpd or mysql. How can I do this? Thanks! -- Tiago Cruz http://everlinux.com Linux User #282636 From Kent.Rankin at orau.org Tue Oct 16 18:40:23 2007 From: Kent.Rankin at orau.org (Rankin, Kent) Date: Tue, 16 Oct 2007 14:40:23 -0400 Subject: Ldap x local users References: <1192557852.5800.2.camel@tuxkiller> Message-ID: <3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> Just store them locally in /etc/passwd and /etc/shadow, and tell PAM to check those sources as well. -- Kent Rankin -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com on behalf of Tiago Cruz Sent: Tue 10/16/2007 2:04 PM To: redhat-sysadmin-list at redhat.com Subject: Ldap x local users Hello everyone, I'm using LDAP for user's auth , but I would like that the system does not look on ldap server for local users, like httpd or mysql. How can I do this? Thanks! -- Tiago Cruz http://everlinux.com Linux User #282636 -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2715 bytes Desc: not available URL: From tiagocruz at forumgdh.net Tue Oct 16 19:00:50 2007 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 Oct 2007 17:00:50 -0200 Subject: Red Hat very strange Message-ID: <1192561250.5800.23.camel@tuxkiller> Hello Guys, I have a lot of Red Hat's here [Red Hat Enterprise Linux AS release 4 (Nahant Update 4)] and some times he's was very strange, look: [tbezerra at pix-1 ~]$ su - [tbezerra at pix-1 ~]$ su - [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls [tbezerra at pix-1 ~]$ ls jre-6u1-linux-amd64.rpm tuning.sh [tbezerra at pix-1 ~]$ ls jre-6u1-linux-amd64.rpm tuning.sh [tbezerra at pix-1 ~]$ su - Password: [root at pix-1 ~]# How can you see, sometime single commands like 'ls' or 'su' was getting failed. Sometimes, I god messages on /var/log/messages and/or dmesg speaking about "Max open files", but sometimes not. When this happen, I fix this increasing the maximum of number of files open, but when I can't get any message, what can I do? Is this one know problem? Thanks! -- Tiago Cruz http://everlinux.com Linux User #282636 From tiagocruz at forumgdh.net Tue Oct 16 19:22:38 2007 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 Oct 2007 17:22:38 -0200 Subject: Ldap x local users In-Reply-To: <3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> References: <1192557852.5800.2.camel@tuxkiller> <3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> Message-ID: <1192562558.5800.31.camel@tuxkiller> Hello Kent, Thanks for reply! I have my users stored on my /etc/passwd, but sound's like nss_ldap and/or pam_ldap look local _and_ remote before give-me one answer. Please, look at one 'id' with debug output: [root at sites-12 logs]# id daemon ldap_create ldap_url_parse_ext(ldap://saracura:636) ldap_simple_bind ldap_sasl_bind ldap_send_initial_request ldap_new_connection ldap_int_open_connection ldap_connect_to_host: TCP saracura:636 ldap_new_socket: 3 [...] ** Connections: * host: saracura port: 636 (default) refcnt: 2 status: Connected last used: Tue Oct 16 17:17:37 2007 [...] ldap_search_ext put_filter: "(&(objectClass=posixGroup)(memberUid=daemon))" put_filter: AND put_filter_list "(objectClass=posixGroup)(memberUid=daemon)" put_filter: "(objectClass=posixGroup)" put_filter: simple put_simple_filter: "objectClass=posixGroup" put_filter: "(memberUid=daemon)" put_filter: simple put_simple_filter: "memberUid=daemon" [...] ldap_chkResponseList for msgid=2, all=0 ldap_chkResponseList returns NULL [...] res_errno: 0, res_error: <>, res_matched: <> ldap_free_request (origid 3, msgid 3) ldap_free_connection ldap_free_connection: refcnt 1 ldap_parse_result ber_scanf fmt ({iaa) ber: ber_scanf fmt (}) ber: ldap_msgfree uid=2(daemon) gid=2(daemon) groups=2(daemon),1(bin),4(adm),7(lp) On Tue, 2007-10-16 at 14:40 -0400, Rankin, Kent wrote: > Just store them locally in /etc/passwd and /etc/shadow, and tell PAM to check those sources as well. Maybe I have some mistake in PAM configuration: Content of: /etc/pam.d/system-auth auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass auth required /lib/security/$ISA/pam_deny.so account sufficient /lib/security/$ISA/pam_unix.so broken_shadow account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet account sufficient /lib/security/pam_ldap.so account required /lib/security/$ISA/pam_permit.so password requisite /lib/security/$ISA/pam_cracklib.so retry=3 password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow password sufficient /lib/security/$ISA/pam_ldap.so use_authtok password required /lib/security/$ISA/pam_deny.so session required /lib/security/$ISA/pam_limits.so session required /lib/security/$ISA/pam_unix.so session optional /lib/security/$ISA/pam_ldap.so session required /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel umask=0022 Thanks for you help and attention! -- Tiago Cruz http://everlinux.com Linux User #282636 From henson at acm.org Tue Oct 16 19:54:53 2007 From: henson at acm.org (Paul B. Henson) Date: Tue, 16 Oct 2007 12:54:53 -0700 (PDT) Subject: Ldap x local users In-Reply-To: <1192562558.5800.31.camel@tuxkiller> References: <1192557852.5800.2.camel@tuxkiller><3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> <1192562558.5800.31.camel@tuxkiller> Message-ID: On Tue, 16 Oct 2007, Tiago Cruz wrote: > I have my users stored on my /etc/passwd, but sound's like nss_ldap > and/or pam_ldap look local _and_ remote before give-me one answer. man nsswitch.conf Sounds like you have ldap listed before files... -- Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/ Operating Systems and Network Analyst | henson at csupomona.edu California State Polytechnic University | Pomona CA 91768 From tiagocruz at forumgdh.net Tue Oct 16 20:53:06 2007 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 Oct 2007 18:53:06 -0200 Subject: Ldap x local users In-Reply-To: References: <1192557852.5800.2.camel@tuxkiller> <3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> <1192562558.5800.31.camel@tuxkiller> Message-ID: <1192567986.5800.34.camel@tuxkiller> On Tue, 2007-10-16 at 12:54 -0700, Paul B. Henson wrote: > Sounds like you have ldap listed before files... Nope ;) passwd: files ldap shadow: files ldap group: files ldap Any other suggestion? Thanks -- Tiago Cruz http://everlinux.com Linux User #282636 From henson at acm.org Tue Oct 16 20:58:09 2007 From: henson at acm.org (Paul B. Henson) Date: Tue, 16 Oct 2007 13:58:09 -0700 (PDT) Subject: Ldap x local users In-Reply-To: <1192567986.5800.34.camel@tuxkiller> References: <1192557852.5800.2.camel@tuxkiller><3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net><1192562558.5800.31.camel@tuxkiller> <1192567986.5800.34.camel@tuxkiller> Message-ID: On Tue, 16 Oct 2007, Tiago Cruz wrote: > On Tue, 2007-10-16 at 12:54 -0700, Paul B. Henson wrote: > > > Sounds like you have ldap listed before files... > > Nope ;) > > passwd: files ldap > shadow: files ldap > group: files ldap > > Any other suggestion? In that case, the only naming service call that would touch ldap for a local user would be initgroups. Check the nss_ldap documentation for the nss_initgroups_ignoreusers config option. I'm not sure if that's in the version of nss_ldap in the red hat release you're using, but you can provide a list of users not to look up in ldap for group membership. -- Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/ Operating Systems and Network Analyst | henson at csupomona.edu California State Polytechnic University | Pomona CA 91768 From tiagocruz at forumgdh.net Tue Oct 16 21:54:13 2007 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 Oct 2007 19:54:13 -0200 Subject: Ldap x local users In-Reply-To: References: <1192557852.5800.2.camel@tuxkiller> <3B1B40BF9A684D49B927F7BE5CEE1D66137B0752@zirconium.orau.net> <1192562558.5800.31.camel@tuxkiller> <1192567986.5800.34.camel@tuxkiller> Message-ID: <1192571653.5682.3.camel@tuxkiller> On Tue, 2007-10-16 at 13:58 -0700, Paul B. Henson wrote: > In that case, the only naming service call that would touch ldap for a > local user would be initgroups. Check the nss_ldap documentation for the > nss_initgroups_ignoreusers config option. Nice Paul, It's exactly what's I'm looking for, many thanks! For history, put in your ldap.conf: nss_initgroups_ignoreusers root,ldap,daemon,nobody,postfix,sendmail,named,apache,sshd And remove "ldap" entry for 'grup' on nsswitch.conf Works on nss-ldap v.245 or greater. Many thanks! -- Tiago Cruz http://everlinux.com Linux User #282636 From lists at brimer.org Wed Oct 17 03:15:25 2007 From: lists at brimer.org (Barry Brimer) Date: Tue, 16 Oct 2007 22:15:25 -0500 (CDT) Subject: Red Hat very strange In-Reply-To: <1192561250.5800.23.camel@tuxkiller> References: <1192561250.5800.23.camel@tuxkiller> Message-ID: To increase max open files for the whole system add the line "fs.file-max = <# of open files you want>" To /etc/sysctl.conf and then type sysctl -p to activate it. That should be all you need, but if you feel the need to increase the per-user limits on open files edit /etc/security/limits.conf and add " - nofile <# of open files you want>" and then when you open a new user session that user will have the new limit. Barry On Tue, 16 Oct 2007, Tiago Cruz wrote: > Hello Guys, > > I have a lot of Red Hat's here [Red Hat Enterprise Linux AS release 4 > (Nahant Update 4)] and some times he's was very strange, look: > > > [tbezerra at pix-1 ~]$ su - > [tbezerra at pix-1 ~]$ su - > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > [tbezerra at pix-1 ~]$ ls > jre-6u1-linux-amd64.rpm tuning.sh > [tbezerra at pix-1 ~]$ ls > jre-6u1-linux-amd64.rpm tuning.sh > [tbezerra at pix-1 ~]$ su - > Password: > [root at pix-1 ~]# > > How can you see, sometime single commands like 'ls' or 'su' was getting > failed. Sometimes, I god messages on /var/log/messages and/or dmesg > speaking about "Max open files", but sometimes not. > > When this happen, I fix this increasing the maximum of number of files > open, but when I can't get any message, what can I do? > > Is this one know problem? > > Thanks! > > -- > Tiago Cruz > http://everlinux.com > Linux User #282636 > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > !DSPAM:47156dfc287336595683046! > > From Edoardo.Causarano at laitspa.it Thu Oct 18 07:03:22 2007 From: Edoardo.Causarano at laitspa.it (Edoardo Causarano) Date: Thu, 18 Oct 2007 09:03:22 +0200 Subject: Weird network problem Message-ID: Hi, I have a little problem: a machine is configured with two ip addrs on the same eth if, the other being an alias. When connecting to the primary addr, even when pinging it, the response seems to come from the alias addr; this of course messes up the config of the firewall sitting between the server and clients. How is it possible? Why is the kernel answering on the alias? How can I force it to answer with the correct address? TIA, e -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at brimer.org Thu Oct 18 13:15:08 2007 From: lists at brimer.org (Barry Brimer) Date: Thu, 18 Oct 2007 08:15:08 -0500 (CDT) Subject: Weird network problem In-Reply-To: References: Message-ID: > Hi, > > I have a little problem: a machine is configured with two ip addrs on > the same eth if, the other being an alias. When connecting to the > primary addr, even when pinging it, the response seems to come from the > alias addr; this of course messes up the config of the firewall sitting > between the server and clients. How is it possible? Why is the kernel > answering on the alias? How can I force it to answer with the correct > address? Sounds strange. Do you have any iptables rules that would explain this .. most likely in the 'nat' table? 'iptables -t nat -L -n' will tell you. I suppose you could use an iptables rule to force traffic out that IP address .. something like: iptables -t nat -I POSTROUTING -s -j SNAT --to-source (This should all be on one line, regardless of how it appears in this message). Barry From edoardo.causarano at laitspa.it Thu Oct 18 13:30:35 2007 From: edoardo.causarano at laitspa.it (Edoardo Causarano) Date: Thu, 18 Oct 2007 15:30:35 +0200 Subject: Weird network problem In-Reply-To: References: Message-ID: <1192714235.5969.28.camel@gollum> I should add that on AS4 this doesn't happen but the machine in question is an AS3. Could it be a known problem of the 2.4.x kernel line? Saluti, e On Thu, 2007-10-18 at 15:15 +0200, Barry Brimer wrote: > > Hi, > > > > I have a little problem: a machine is configured with two ip addrs > on > > the same eth if, the other being an alias. When connecting to the > > primary addr, even when pinging it, the response seems to come from > the > > alias addr; this of course messes up the config of the firewall > sitting > > between the server and clients. How is it possible? Why is the > kernel > > answering on the alias? How can I force it to answer with the > correct > > address? > > Sounds strange. Do you have any iptables rules that would explain > this .. > most likely in the 'nat' table? > > 'iptables -t nat -L -n' will tell you. > > I suppose you could use an iptables rule > to force traffic out that IP address .. something like: > > iptables -t nat -I POSTROUTING -s -j SNAT > --to-source > > (This should all be on one line, regardless of how it appears in this > message). > > Barry > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- Edoardo Causarano Direzione Produzione e Tecnologie Area Esercizio Sistemi LAit S.p.A. Via Adelaide Bono Cairoli, 68 00145 Roma mobile: +393465024522 fisso: +390651689829 fax: +390651892200 mailto: edoardo.causarano at laitspa.it web: http://www.laitspa.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From Craig.Miskell at agresearch.co.nz Thu Oct 18 19:34:22 2007 From: Craig.Miskell at agresearch.co.nz (Miskell, Craig) Date: Fri, 19 Oct 2007 08:34:22 +1300 Subject: Weird network problem In-Reply-To: References: Message-ID: > I have a little problem: a machine is configured with two ip > addrs on the same eth if, the other being an alias. When > connecting to the primary addr, even when pinging it, the > response seems to come from the alias addr; this of course > messes up the config of the firewall sitting between the > server and clients. How is it possible? Why is the kernel > answering on the alias? How can I force it to answer with the > correct address? I think I've seen something similar, and it's all down to routing tables. Remember that routing is done at the IP level (layer 3) not TCP (layer 4). So, when the reply packet is sent, your local routing table will be consulted to decide where to send it and over which interface, REGARDLESS of the interface/address on which the incoming packet arrived (the routing doesn't even *know* about the incoming packet at this stage). Check your routing table ("route -n", or "netstat -rn"). Things to consider: 1) Which interface/network/gateway is your default route (0.0.0.0); this may well be the chosen route if you've got a firewall in between, as your clients will be on a different subnet to any of the IP addresses on the server 2) If that doesn't help, check the Iface (interface) column, particularly if both IP addresses are in the same subnet. I'm not aware of the rules the kernel uses to decide which route to use if there are multiple for the same network; it's probably something simply like the lowest IP address or lowest interface number or something. If you get stuck send me more details offline (ip addresses, network diagrams etc); like I said, I've dealt with stuff like this before (to my mental detriment ;-)) Craig Miskell ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ======================================================================= From dlopez at humnet.ucla.edu Wed Oct 24 18:33:14 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Wed, 24 Oct 2007 11:33:14 -0700 Subject: SSH question Message-ID: Hi all, I am in a mixed environment and I have 2 admins that connect to my RHEL AS4 machines using windows. In their windows setup, there is a setting "Register this connections addresses in DNS" which registers the computer name to the IP address. For my Linux system there is no such setting that I am aware of. I have SSH configures so that each admin can only SSH to the server from their administrative desktop IP address. So in the sshd_config file I have denise at 192.168.1.1. My question is this: For the admins running windows sometimes I need to add the DNS name in addition to the IP address in the sshd_config file. Does anyone know why that is? Also I wonder if I had an entry in DNS for my Linux system if I would need the additional entry as well. Thanks in advance. Denise Lopez UCLA - Center for Digital Humanities Network Services Linux Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095-1499 310/206-8216 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2230 bytes Desc: image001.jpg URL: From rriley at procuri.com Wed Oct 24 19:26:15 2007 From: rriley at procuri.com (Richard Riley) Date: Wed, 24 Oct 2007 15:26:15 -0400 Subject: SSH question In-Reply-To: References: Message-ID: Sounds like the windows boxes are using dhcp to get their IP address. In this case, they may not always have the same IP address, so you should use their hostname instead of an IP address in your sshd_config file. Since the windows boxes automatically update their DNS registration, their hostname, via DNS lookup, will always match the IP address they are using when a connection attempt is made. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Wednesday, October 24, 2007 2:33 PM To: redhat-sysadmin-list at redhat.com Subject: SSH question Hi all, I am in a mixed environment and I have 2 admins that connect to my RHEL AS4 machines using windows. In their windows setup, there is a setting "Register this connections addresses in DNS" which registers the computer name to the IP address. For my Linux system there is no such setting that I am aware of. I have SSH configures so that each admin can only SSH to the server from their administrative desktop IP address. So in the sshd_config file I have denise at 192.168.1.1. My question is this: For the admins running windows sometimes I need to add the DNS name in addition to the IP address in the sshd_config file. Does anyone know why that is? Also I wonder if I had an entry in DNS for my Linux system if I would need the additional entry as well. Thanks in advance. Denise Lopez UCLA - Center for Digital Humanities Network Services Linux Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095-1499 310/206-8216 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2230 bytes Desc: image001.jpg URL: From dlopez at humnet.ucla.edu Wed Oct 24 23:43:50 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Wed, 24 Oct 2007 16:43:50 -0700 Subject: SSH question In-Reply-To: References: Message-ID: Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard Riley Sent: Wednesday, October 24, 2007 12:26 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Sounds like the windows boxes are using dhcp to get their IP address. In this case, they may not always have the same IP address, so you should use their hostname instead of an IP address in your sshd_config file. Since the windows boxes automatically update their DNS registration, their hostname, via DNS lookup, will always match the IP address they are using when a connection attempt is made. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Wednesday, October 24, 2007 2:33 PM To: redhat-sysadmin-list at redhat.com Subject: SSH question Hi all, I am in a mixed environment and I have 2 admins that connect to my RHEL AS4 machines using windows. In their windows setup, there is a setting "Register this connections addresses in DNS" which registers the computer name to the IP address. For my Linux system there is no such setting that I am aware of. I have SSH configures so that each admin can only SSH to the server from their administrative desktop IP address. So in the sshd_config file I have denise at 192.168.1.1. My question is this: For the admins running windows sometimes I need to add the DNS name in addition to the IP address in the sshd_config file. Does anyone know why that is? Also I wonder if I had an entry in DNS for my Linux system if I would need the additional entry as well. Thanks in advance. Denise Lopez UCLA - Center for Digital Humanities Network Services Linux Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095-1499 310/206-8216 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2230 bytes Desc: image001.jpg URL: From Bill.Holder at sunwater.com.au Wed Oct 24 23:47:06 2007 From: Bill.Holder at sunwater.com.au (Holder, Bill) Date: Thu, 25 Oct 2007 09:47:06 +1000 Subject: SSH question In-Reply-To: Message-ID: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au> Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard Riley Sent: Wednesday, October 24, 2007 12:26 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Sounds like the windows boxes are using dhcp to get their IP address. In this case, they may not always have the same IP address, so you should use their hostname instead of an IP address in your sshd_config file. Since the windows boxes automatically update their DNS registration, their hostname, via DNS lookup, will always match the IP address they are using when a connection attempt is made. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Wednesday, October 24, 2007 2:33 PM To: redhat-sysadmin-list at redhat.com Subject: SSH question Hi all, I am in a mixed environment and I have 2 admins that connect to my RHEL AS4 machines using windows. In their windows setup, there is a setting "Register this connections addresses in DNS" which registers the computer name to the IP address. For my Linux system there is no such setting that I am aware of. I have SSH configures so that each admin can only SSH to the server from their administrative desktop IP address. So in the sshd_config file I have denise at 192.168.1.1. My question is this: For the admins running windows sometimes I need to add the DNS name in addition to the IP address in the sshd_config file. Does anyone know why that is? Also I wonder if I had an entry in DNS for my Linux system if I would need the additional entry as well. Thanks in advance. Denise Lopez UCLA - Center for Digital Humanities Network Services Linux Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095-1499 310/206-8216 *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2230 bytes Desc: image001.jpg URL: From JMARTI05 at intersil.com Thu Oct 25 12:46:58 2007 From: JMARTI05 at intersil.com (Martin, Jonathan) Date: Thu, 25 Oct 2007 08:46:58 -0400 Subject: SSH question In-Reply-To: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au> References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au> Message-ID: <13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard Riley Sent: Wednesday, October 24, 2007 12:26 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Sounds like the windows boxes are using dhcp to get their IP address. In this case, they may not always have the same IP address, so you should use their hostname instead of an IP address in your sshd_config file. Since the windows boxes automatically update their DNS registration, their hostname, via DNS lookup, will always match the IP address they are using when a connection attempt is made. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Wednesday, October 24, 2007 2:33 PM To: redhat-sysadmin-list at redhat.com Subject: SSH question Hi all, I am in a mixed environment and I have 2 admins that connect to my RHEL AS4 machines using windows. In their windows setup, there is a setting "Register this connections addresses in DNS" which registers the computer name to the IP address. For my Linux system there is no such setting that I am aware of. I have SSH configures so that each admin can only SSH to the server from their administrative desktop IP address. So in the sshd_config file I have denise at 192.168.1.1. My question is this: For the admins running windows sometimes I need to add the DNS name in addition to the IP address in the sshd_config file. Does anyone know why that is? Also I wonder if I had an entry in DNS for my Linux system if I would need the additional entry as well. Thanks in advance. Denise Lopez UCLA - Center for Digital Humanities Network Services Linux Systems Engineer 337 Charles E. Young Drive East PPB 1020 Los Angeles, CA 90095-1499 310/206-8216 *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2230 bytes Desc: image001.jpg URL: From dlopez at humnet.ucla.edu Thu Oct 25 18:55:48 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Thu, 25 Oct 2007 11:55:48 -0700 Subject: SSH question In-Reply-To: <13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au> <13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> Message-ID: Thanks Jonathan, We are running AD and BIND. The windows clients look to AD for DNS. Our AD hosts our internal DNS and BIND hosts external DNS. The SSH server also looks to AD for DNS. For one admin station there is only a DNS entry in AD and the other one there is a DNS entry in AD and an A record but no PTR record in BIND. My Linux box has NO entry in AD or in BIND so the IP address doesn't resolve and there is no problem. I guess then my question is how does SSH handle DNS lookups? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Martin, Jonathan Sent: Thursday, October 25, 2007 5:47 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rriley at procuri.com Thu Oct 25 19:54:58 2007 From: rriley at procuri.com (Richard Riley) Date: Thu, 25 Oct 2007 15:54:58 -0400 Subject: SSH question In-Reply-To: References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au><13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> Message-ID: Denise, If the windows machines do have static IP addresses, you can eliminate the need to worry about AD or BIND by simply adding entries on the servers in "/etc/hosts" for the windows machines. This way, you control the hostname that will match the IP address and thus control what hostname to use in your sshd_config entries. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, October 25, 2007 2:56 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks Jonathan, We are running AD and BIND. The windows clients look to AD for DNS. Our AD hosts our internal DNS and BIND hosts external DNS. The SSH server also looks to AD for DNS. For one admin station there is only a DNS entry in AD and the other one there is a DNS entry in AD and an A record but no PTR record in BIND. My Linux box has NO entry in AD or in BIND so the IP address doesn't resolve and there is no problem. I guess then my question is how does SSH handle DNS lookups? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Martin, Jonathan Sent: Thursday, October 25, 2007 5:47 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rriley at procuri.com Thu Oct 25 20:01:20 2007 From: rriley at procuri.com (Richard Riley) Date: Thu, 25 Oct 2007 16:01:20 -0400 Subject: SSH question In-Reply-To: References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au><13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> Message-ID: Denise, In response to your second question, the Linux file /etc/nsswitch.conf has a line entry similar to this "hosts: files dns" that tells the Linux box how to resolve host-to-IP or IP-to-host lookups. The word "files" before "dns" means the Linux box will first look in local hosts file and then look to dns. Richard Riley System Administrator Phone: 407-718-3135 Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, October 25, 2007 2:56 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks Jonathan, We are running AD and BIND. The windows clients look to AD for DNS. Our AD hosts our internal DNS and BIND hosts external DNS. The SSH server also looks to AD for DNS. For one admin station there is only a DNS entry in AD and the other one there is a DNS entry in AD and an A record but no PTR record in BIND. My Linux box has NO entry in AD or in BIND so the IP address doesn't resolve and there is no problem. I guess then my question is how does SSH handle DNS lookups? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Martin, Jonathan Sent: Thursday, October 25, 2007 5:47 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay.jones at pcc.edu Thu Oct 25 20:26:23 2007 From: jay.jones at pcc.edu (Jay Jones) Date: Thu, 25 Oct 2007 13:26:23 -0700 Subject: SSH question In-Reply-To: References: Message-ID: <20071025202623.GA11116@pcc.edu> In message , "Lopez, Denise" writes: >The windows boxes are using DHCP but they have static DHCP reservations >because they are administrative boxes so they always get the same IP >address. > > > >I think it has something to do on the RHEL side and am just not sure >what is happening. If you're already restricting inbound connections to selected local IP addresses, you could just permit them regardless of address <--> DNS name (mis)matching. - Jay -- ``What hath night to do with sleep? John Milton, Perth----v Night hath better sweets to prove.'' 1634. T`*---+') Jay Jones (503) 977-8449 | | Email Administrator - PCC Technology Solution Services L_______| From dlopez at humnet.ucla.edu Thu Oct 25 23:13:17 2007 From: dlopez at humnet.ucla.edu (Lopez, Denise) Date: Thu, 25 Oct 2007 16:13:17 -0700 Subject: SSH question In-Reply-To: References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au><13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> Message-ID: Thank you everyone for your suggestions and input. So just to clarify, the answer to my question would be that the /etc/nsswitch.conf file tells the Linux box how to resolve IP addresses. Mine says "hosts: files dns." So the Linux box consults "/etc/hosts" for the IP to name resolution and if not found consults the dns server listed in "/etc/resolve.conf". After it has resolved the name then the packets get sent to SSH? If there is no name that resolves then the IP address gets passed so there is no problem. Then is the order name resolution, iptables, then ssh if it is an ssh packet? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard Riley Sent: Thursday, October 25, 2007 12:55 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Denise, If the windows machines do have static IP addresses, you can eliminate the need to worry about AD or BIND by simply adding entries on the servers in "/etc/hosts" for the windows machines. This way, you control the hostname that will match the IP address and thus control what hostname to use in your sshd_config entries. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, October 25, 2007 2:56 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks Jonathan, We are running AD and BIND. The windows clients look to AD for DNS. Our AD hosts our internal DNS and BIND hosts external DNS. The SSH server also looks to AD for DNS. For one admin station there is only a DNS entry in AD and the other one there is a DNS entry in AD and an A record but no PTR record in BIND. My Linux box has NO entry in AD or in BIND so the IP address doesn't resolve and there is no problem. I guess then my question is how does SSH handle DNS lookups? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Martin, Jonathan Sent: Thursday, October 25, 2007 5:47 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rriley at procuri.com Fri Oct 26 01:30:05 2007 From: rriley at procuri.com (Richard Riley) Date: Thu, 25 Oct 2007 21:30:05 -0400 Subject: SSH question In-Reply-To: References: <8ADEE648D981EF47A23B6E1334BEBA610275A4DA@brisbane04.sunwater.com.au><13E204E614D8E04FAF594C9AA9ED0BB7091441C8@PBCOMX02.intersil.corp> Message-ID: Denise Your first statement is fine. As the ssh connection request comes in "iptables" (the firewall) determines whether service "ssh" is allowed from this IP address. Then because of the statement in sshd_config - "AllowUser sam at somewhere", ssh tests to see if it is sam coming from somewhere. The user id (sam) and IP address is known, but since sam is only allowed coming from "somewhere" then a lookup is done to determine if the IP address matches the host "somewhere". If your sshd_config was "AllowUser sam at IPaddress", then it would not have had to do the IP-to-host lookup. I have run into some problems when using an IP address instead of a hostname, so I always specify the hostname. In my case, the workstation has a permanent IP address, so I always create a host file entry which eliminates the need to do a dns (bind) lookup. Richard Riley System Administrator Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, October 25, 2007 7:13 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thank you everyone for your suggestions and input. So just to clarify, the answer to my question would be that the /etc/nsswitch.conf file tells the Linux box how to resolve IP addresses. Mine says "hosts: files dns." So the Linux box consults "/etc/hosts" for the IP to name resolution and if not found consults the dns server listed in "/etc/resolve.conf". After it has resolved the name then the packets get sent to SSH? If there is no name that resolves then the IP address gets passed so there is no problem. Then is the order name resolution, iptables, then ssh if it is an ssh packet? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Richard Riley Sent: Thursday, October 25, 2007 12:55 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Denise, If the windows machines do have static IP addresses, you can eliminate the need to worry about AD or BIND by simply adding entries on the servers in "/etc/hosts" for the windows machines. This way, you control the hostname that will match the IP address and thus control what hostname to use in your sshd_config entries. Richard Riley System Administrator Email: rriley at procuri.com Procuri Inc. www.procuri.com The information contained in this message from Procuri Inc., including any attachments, is confidential and intended only for the named recipient(s). If you have received this message in error, you are prohibited from copying, distributing, or using the information. Please contact the sender immediately by return email and delete the original message. ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, October 25, 2007 2:56 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks Jonathan, We are running AD and BIND. The windows clients look to AD for DNS. Our AD hosts our internal DNS and BIND hosts external DNS. The SSH server also looks to AD for DNS. For one admin station there is only a DNS entry in AD and the other one there is a DNS entry in AD and an A record but no PTR record in BIND. My Linux box has NO entry in AD or in BIND so the IP address doesn't resolve and there is no problem. I guess then my question is how does SSH handle DNS lookups? Denise Lopez From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Martin, Jonathan Sent: Thursday, October 25, 2007 5:47 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question DHCP and "Register this connection in DNS" are separate. You can specify static IPs in Windows and still have the server dynamically register itself in DNS. The difference is with DHCP the DHCP server (can) register the client's HOST record in DNS, but the client still dynamically registers its PTR. Are you running Active Directory and BIND? If your windows clients look to Windows for DNS and your SSH server looks to BIND then you might have an issue of host and PTR records not being in the right DNS. -Jonathan ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Holder, Bill Sent: Wednesday, October 24, 2007 7:47 PM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Hi there, you need to setup the dynamic DNS support in your DHCP client on your Redhat boxes. I'm sorry I can't be more specific, it's been a while since I did it, but I'm sure Google will point you at the information you need. /B ________________________________ From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Lopez, Denise Sent: Thursday, 25 October 2007 9:44 AM To: redhat-sysadmin-list at redhat.com Subject: RE: SSH question Thanks for your reply Richard, The windows boxes are using DHCP but they have static DHCP reservations because they are administrative boxes so they always get the same IP address. I think it has something to do on the RHEL side and am just not sure what is happening. Denise Lopez *********************************************************************** The information in this e-mail together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this e-mail message is prohibited. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rchamberland at chs.ca Fri Oct 26 19:53:05 2007 From: rchamberland at chs.ca (rchamberland) Date: Fri, 26 Oct 2007 15:53:05 -0400 Subject: LVM might have locked me out Message-ID: <008401c81809$d3595b00$350da8c0@kkhan> I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks were uninitialized, so I went into LVM and created some logical volumes out of them. I didn't know what to mount them to so I set them to mount to / until I figured that out. I created the volumes, then locked the machine and went to lunch. When I came back my password wasn't working, the lock screen won't let me change login, and when I SSH into the machine my root and user passwords aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I enter something it just gives me another login prompt, no password request. Looks like I messed up. I'm not sure how to proceed now. Any suggestions? I'm not exactly sure how I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid to cold reboot in case it makes the problem worse. -------------- next part -------------- An HTML attachment was scrubbed... URL: From herta.vandeneynde at gmail.com Fri Oct 26 20:42:50 2007 From: herta.vandeneynde at gmail.com (Herta Van den Eynde) Date: Fri, 26 Oct 2007 22:42:50 +0200 Subject: LVM might have locked me out In-Reply-To: <008401c81809$d3595b00$350da8c0@kkhan> References: <008401c81809$d3595b00$350da8c0@kkhan> Message-ID: On 26/10/2007, rchamberland wrote: > > > > > I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks were > uninitialized, so I went into LVM and created some logical volumes out of > them. I didn't know what to mount them to so I set them to mount to / until > I figured that out. I created the volumes, then locked the machine and went > to lunch. > > > > When I came back my password wasn't working, the lock screen won't let me > change login, and when I SSH into the machine my root and user passwords > aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I > enter something it just gives me another login prompt, no password request. > > > > Looks like I messed up. > > > > I'm not sure how to proceed now. Any suggestions? I'm not exactly sure how > I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid to > cold reboot in case it makes the problem worse. > > You might be able to cold boot into single user mode. If not, cold boot off an installation CD into rescue mode. In both cases, fix /etc/fstab. Kind regards, Herta From rchamberland at chs.ca Fri Oct 26 22:13:22 2007 From: rchamberland at chs.ca (rchamberland) Date: Fri, 26 Oct 2007 18:13:22 -0400 Subject: LVM might have locked me out In-Reply-To: References: <008401c81809$d3595b00$350da8c0@kkhan> Message-ID: <009501c8181d$6bed6f60$350da8c0@kkhan> Thanks Herta, especially for refraining from making comments about newbie mistakes. :) I tried that and it's not looking good. The rescue system can't find any existing linux system, it even says it can't see any hard drives. I can get a shell but it doesn't see anything beyond that. Mount /mnt/sysimg doesn't work because there is no sysimg. When I cold boot without the rescue disk I can get a wonky "filesystem repair" shell that gives errors and needs full command paths. That shell sees the old /etc/fstab but it's read-only and vi just gives me an error when I try to overwrite. I think fstab may be locked by fstab-sync. However, that command seems to be stored in /usr/sbin, which seems to be empty - probably messed up by my lvm stupidity. On the other hand, how can that be... I'll wait until Monday and if there doesn't seem any way around it I guess I'll have to do a full reinstall. Not looking forward to that but oh well. Rob C -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Herta Van den Eynde Sent: Friday, October 26, 2007 4:43 PM To: redhat-sysadmin-list at redhat.com Subject: Re: LVM might have locked me out On 26/10/2007, rchamberland wrote: > > > > > I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks were > uninitialized, so I went into LVM and created some logical volumes out of > them. I didn't know what to mount them to so I set them to mount to / until > I figured that out. I created the volumes, then locked the machine and went > to lunch. > > > > When I came back my password wasn't working, the lock screen won't let me > change login, and when I SSH into the machine my root and user passwords > aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I > enter something it just gives me another login prompt, no password request. > > > > Looks like I messed up. > > > > I'm not sure how to proceed now. Any suggestions? I'm not exactly sure how > I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid to > cold reboot in case it makes the problem worse. > > You might be able to cold boot into single user mode. If not, cold boot off an installation CD into rescue mode. In both cases, fix /etc/fstab. Kind regards, Herta -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From herta.vandeneynde at gmail.com Fri Oct 26 23:27:03 2007 From: herta.vandeneynde at gmail.com (Herta Van den Eynde) Date: Sat, 27 Oct 2007 01:27:03 +0200 Subject: LVM might have locked me out In-Reply-To: <009501c8181d$6bed6f60$350da8c0@kkhan> References: <008401c81809$d3595b00$350da8c0@kkhan> <009501c8181d$6bed6f60$350da8c0@kkhan> Message-ID: On 27/10/2007, rchamberland wrote: > > Thanks Herta, especially for refraining from making comments about newbie > mistakes. :) > > I tried that and it's not looking good. The rescue system can't find any > existing linux system, it even says it can't see any hard drives. I can get > a shell but it doesn't see anything beyond that. Mount /mnt/sysimg doesn't > work because there is no sysimg. > > When I cold boot without the rescue disk I can get a wonky "filesystem > repair" shell that gives errors and needs full command paths. That shell > sees the old /etc/fstab but it's read-only and vi just gives me an error > when I try to overwrite. > > I think fstab may be locked by fstab-sync. However, that command seems to > be stored in /usr/sbin, which seems to be empty - probably messed up by my > lvm stupidity. On the other hand, how can that be... > > I'll wait until Monday and if there doesn't seem any way around it I guess > I'll have to do a full reinstall. Not looking forward to that but oh well. > > Rob C > > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Herta Van den > Eynde > Sent: Friday, October 26, 2007 4:43 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: LVM might have locked me out > > On 26/10/2007, rchamberland wrote: > > > > > > > > > > I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks were > > uninitialized, so I went into LVM and created some logical volumes out of > > them. I didn't know what to mount them to so I set them to mount to / > until > > I figured that out. I created the volumes, then locked the machine and > went > > to lunch. > > > > > > > > When I came back my password wasn't working, the lock screen won't let me > > change login, and when I SSH into the machine my root and user passwords > > aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I > > enter something it just gives me another login prompt, no password > request. > > > > > > > > Looks like I messed up. > > > > > > > > I'm not sure how to proceed now. Any suggestions? I'm not exactly sure > how > > I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid to > > cold reboot in case it makes the problem worse. > > > > > You might be able to cold boot into single user mode. If not, cold > boot off an installation CD into rescue mode. In both cases, fix > /etc/fstab. > > Kind regards, > > Herta We've all been newbies, Rob, and given all the products that are out there, most of us are bound to be newbies again at one time or another, so just ignore derisive comments made by people who forgot what that was like. A bit amazed that the rescue boot doesn't see the old filesystems. Once you've booted in single user mode, try mounting / in rw mode ("mount -o rw xxx", where xxx is whatever device the original / is on). You should then be able to modify fstab. If not, keep us posted. Kind regards, Herta P.S. Most lists prefer bottom post replies. It makes it easier to read the problem top-down. From dongwu at yahoo-inc.com Fri Oct 26 23:38:36 2007 From: dongwu at yahoo-inc.com (Dongwu Zeng) Date: Fri, 26 Oct 2007 16:38:36 -0700 Subject: LVM might have locked me out In-Reply-To: Message-ID: In rescue mode, do you see anything in /proc/partitions? As long as your original root disk is not damaged, you should see sth there. You can then manually mount your original root file system using the name in that file. Please don't mount to /. You can create a directory like /tmp/mnt and then "mount /dev/sda1 /tmp/mnt". Good luck. Dongwu On 10/26/07 4:27 PM, "Herta Van den Eynde" wrote: > On 27/10/2007, rchamberland wrote: >> >> Thanks Herta, especially for refraining from making comments about newbie >> mistakes. :) >> >> I tried that and it's not looking good. The rescue system can't find any >> existing linux system, it even says it can't see any hard drives. I can get >> a shell but it doesn't see anything beyond that. Mount /mnt/sysimg doesn't >> work because there is no sysimg. >> >> When I cold boot without the rescue disk I can get a wonky "filesystem >> repair" shell that gives errors and needs full command paths. That shell >> sees the old /etc/fstab but it's read-only and vi just gives me an error >> when I try to overwrite. >> >> I think fstab may be locked by fstab-sync. However, that command seems to >> be stored in /usr/sbin, which seems to be empty - probably messed up by my >> lvm stupidity. On the other hand, how can that be... >> >> I'll wait until Monday and if there doesn't seem any way around it I guess >> I'll have to do a full reinstall. Not looking forward to that but oh well. >> >> Rob C >> >> >> >> -----Original Message----- >> From: redhat-sysadmin-list-bounces at redhat.com >> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Herta Van den >> Eynde >> Sent: Friday, October 26, 2007 4:43 PM >> To: redhat-sysadmin-list at redhat.com >> Subject: Re: LVM might have locked me out >> >> On 26/10/2007, rchamberland wrote: >>> >>> >>> >>> >>> I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks were >>> uninitialized, so I went into LVM and created some logical volumes out of >>> them. I didn't know what to mount them to so I set them to mount to / >> until >>> I figured that out. I created the volumes, then locked the machine and >> went >>> to lunch. >>> >>> >>> >>> When I came back my password wasn't working, the lock screen won't let me >>> change login, and when I SSH into the machine my root and user passwords >>> aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I >>> enter something it just gives me another login prompt, no password >> request. >>> >>> >>> >>> Looks like I messed up. >>> >>> >>> >>> I'm not sure how to proceed now. Any suggestions? I'm not exactly sure >> how >>> I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid to >>> cold reboot in case it makes the problem worse. >>> >>> >> You might be able to cold boot into single user mode. If not, cold >> boot off an installation CD into rescue mode. In both cases, fix >> /etc/fstab. >> >> Kind regards, >> >> Herta > > We've all been newbies, Rob, and given all the products that are out > there, most of us are bound to be newbies again at one time or > another, so just ignore derisive comments made by people who forgot > what that was like. > > A bit amazed that the rescue boot doesn't see the old filesystems. > > Once you've booted in single user mode, try mounting / in rw mode > ("mount -o rw xxx", where xxx is whatever device the original / is > on). You should then be able to modify fstab. > > If not, keep us posted. > > Kind regards, > > Herta > > P.S. Most lists prefer bottom post replies. It makes it easier to > read the problem top-down. > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From anilvrathod at gmail.com Sat Oct 27 03:42:04 2007 From: anilvrathod at gmail.com (anil rathod) Date: Sat, 27 Oct 2007 09:12:04 +0530 Subject: LVM might have locked me out In-Reply-To: <009501c8181d$6bed6f60$350da8c0@kkhan> References: <008401c81809$d3595b00$350da8c0@kkhan> <009501c8181d$6bed6f60$350da8c0@kkhan> Message-ID: if "Filesyatem Repair"problem is occured then ypu provide the passwd of root. after that check which partition is mounted using df-h command . After that you check the labels of that partition using e2label /dev/xxx . After that you mount all the partion and make the entery/correction into fstab. then run mount -a and see the Result. On 10/27/07, rchamberland wrote: > > > Thanks Herta, especially for refraining from making comments about newbie > mistakes. :) > > I tried that and it's not looking good. The rescue system can't find any > existing linux system, it even says it can't see any hard drives. I can > get > a shell but it doesn't see anything beyond that. Mount /mnt/sysimg > doesn't > work because there is no sysimg. > > When I cold boot without the rescue disk I can get a wonky "filesystem > repair" shell that gives errors and needs full command paths. That shell > sees the old /etc/fstab but it's read-only and vi just gives me an error > when I try to overwrite. > > I think fstab may be locked by fstab-sync. However, that command seems to > be stored in /usr/sbin, which seems to be empty - probably messed up by my > lvm stupidity. On the other hand, how can that be... > > I'll wait until Monday and if there doesn't seem any way around it I guess > I'll have to do a full reinstall. Not looking forward to that but oh > well. > > Rob C > > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Herta Van > den > Eynde > Sent: Friday, October 26, 2007 4:43 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: LVM might have locked me out > > On 26/10/2007, rchamberland wrote: > > > > > > > > > > I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks > were > > uninitialized, so I went into LVM and created some logical volumes out > of > > them. I didn't know what to mount them to so I set them to mount to / > until > > I figured that out. I created the volumes, then locked the machine and > went > > to lunch. > > > > > > > > When I came back my password wasn't working, the lock screen won't let > me > > change login, and when I SSH into the machine my root and user passwords > > aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when I > > enter something it just gives me another login prompt, no password > request. > > > > > > > > Looks like I messed up. > > > > > > > > I'm not sure how to proceed now. Any suggestions? I'm not exactly sure > how > > I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid > to > > cold reboot in case it makes the problem worse. > > > > > You might be able to cold boot into single user mode. If not, cold > boot off an installation CD into rescue mode. In both cases, fix > /etc/fstab. > > Kind regards, > > Herta > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- Thanks and Regards, ANIL RATHOD Red Hat Certified Engineer (RHCE) _________________________ Linux System Administrator Kalinga Data Link Pvt. Ltd. Pune-Satara Road, Pune - 411037 India. Mob.No. 9860062917 ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rchamberland at chs.ca Mon Oct 29 16:17:47 2007 From: rchamberland at chs.ca (rchamberland) Date: Mon, 29 Oct 2007 12:17:47 -0400 Subject: LVM might have locked me out In-Reply-To: References: <008401c81809$d3595b00$350da8c0@kkhan><009501c8181d$6bed6f60$350da8c0@kkhan> Message-ID: <007401c81a47$3ed9f210$350da8c0@kkhan> > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin- > list-bounces at redhat.com] On Behalf Of Herta Van den Eynde > Sent: Friday, October 26, 2007 7:27 PM > To: redhat-sysadmin-list at redhat.com > Subject: Re: LVM might have locked me out > > On 27/10/2007, rchamberland wrote: > > > > Thanks Herta, especially for refraining from making comments about > newbie > > mistakes. :) > > > > I tried that and it's not looking good. The rescue system can't find > any > > existing linux system, it even says it can't see any hard drives. I can > get > > a shell but it doesn't see anything beyond that. Mount /mnt/sysimg > doesn't > > work because there is no sysimg. > > > > When I cold boot without the rescue disk I can get a wonky "filesystem > > repair" shell that gives errors and needs full command paths. That > shell > > sees the old /etc/fstab but it's read-only and vi just gives me an error > > when I try to overwrite. > > > > I think fstab may be locked by fstab-sync. However, that command seems > to > > be stored in /usr/sbin, which seems to be empty - probably messed up by > my > > lvm stupidity. On the other hand, how can that be... > > > > I'll wait until Monday and if there doesn't seem any way around it I > guess > > I'll have to do a full reinstall. Not looking forward to that but oh > well. > > > > Rob C > > > > > > > > -----Original Message----- > > From: redhat-sysadmin-list-bounces at redhat.com > > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Herta Van > den > > Eynde > > Sent: Friday, October 26, 2007 4:43 PM > > To: redhat-sysadmin-list at redhat.com > > Subject: Re: LVM might have locked me out > > > > On 26/10/2007, rchamberland wrote: > > > > > > > > > > > > > > > I'm using RHEL4. I had a system with RAID1/5 where the RAID 5 disks > were > > > uninitialized, so I went into LVM and created some logical volumes out > of > > > them. I didn't know what to mount them to so I set them to mount to / > > until > > > I figured that out. I created the volumes, then locked the machine > and > > went > > > to lunch. > > > > > > > > > > > > When I came back my password wasn't working, the lock screen won't let > me > > > change login, and when I SSH into the machine my root and user > passwords > > > aren't being accepted. Ctl-Alt-F1 gives me a login prompt only, when > I > > > enter something it just gives me another login prompt, no password > > request. > > > > > > > > > > > > Looks like I messed up. > > > > > > > > > > > > I'm not sure how to proceed now. Any suggestions? I'm not exactly > sure > > how > > > I messed up, but I guess the OS can't find /etc/passwd now? I'm afraid > to > > > cold reboot in case it makes the problem worse. > > > > > > > > You might be able to cold boot into single user mode. If not, cold > > boot off an installation CD into rescue mode. In both cases, fix > > /etc/fstab. > > > > Kind regards, > > > > Herta > > We've all been newbies, Rob, and given all the products that are out > there, most of us are bound to be newbies again at one time or > another, so just ignore derisive comments made by people who forgot > what that was like. > > A bit amazed that the rescue boot doesn't see the old filesystems. > > Once you've booted in single user mode, try mounting / in rw mode > ("mount -o rw xxx", where xxx is whatever device the original / is > on). You should then be able to modify fstab. > > If not, keep us posted. > > Kind regards, > > Herta > > P.S. Most lists prefer bottom post replies. It makes it easier to > read the problem top-down. > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list So my problem was that I needed to undo the change I made in LVM (where I stupidly mounted my new volumes to / and this locked me out) but that I couldn't edit fstab because it was locked. It turns out that in "Filesystem Repair" mode everything is read-only. So what I did was: mount -o remount,rw / Then: cp /etc/fstab /etc/fstab.bad cp /etc/fstab.old /etc/fstab restart -r now And voila, everything came back up. In LVM my new volumes are simply showing as unmounted. Thank you to Herta, Dongwu and Anil, your suggestions allowed me to take stock of the situation. This was a weird problem. Rob C