From mdubois at polytech.unice.fr Thu Jul 5 11:01:44 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 13:01:44 +0200 Subject: SSH -X doesn't work with an export DISPLAY Message-ID: <200707051301.44708.mdubois@polytech.unice.fr> Folks, The ssh -X doesn't work well. I checked X11Forwarding status is yes in the sshd_config file. When I try to launch "xcalc" I got this following error message : xcalc Error: Can't open display: localhost:12.0 But this last command works when I export the DISPLAY env. variable of the client workstation. I noted I can't telnet localhost 6010 : Trying 10.0.2.7... telnet: connect to address 10.0.2.7: Connection refused telnet: Unable to connect to remote host: Connection refused And the xauth application is installed on the system Thanks for your help. ---------------------- Michel Dubois Ing?nieur Support CIMPACA From mdubois at polytech.unice.fr Thu Jul 5 12:15:02 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 14:15:02 +0200 Subject: SSH -X doesn't work with an export DISPLAY In-Reply-To: <468CDCCA.3070108@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <468CDCCA.3070108@princeton.edu> Message-ID: <200707051415.02681.mdubois@polytech.unice.fr> I don't found anything wrong ..... ssh -Xv veloce Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to veloce port 22. debug1: Connection established. debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1 debug1: match: OpenSSH_3.9p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-Sun_SSH_1.1 debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible mech_dh: Invalid or unknown error ) debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: Peer sent proposed langtags, ctos: debug1: Peer sent proposed langtags, stoc: debug1: We proposed langtags, ctos: i-default debug1: We proposed langtags, stoc: i-default debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: dh_gen_key: priv key bits set: 127/256 debug1: bits set: 1025/2048 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'veloce' is known and matches the RSA host key. debug1: Found key in /root/.ssh/known_hosts:1 debug1: bits set: 1051/2048 debug1: ssh_rsa_verify: signature correct debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: gssapi-with-mic debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inaccessible mech_dh: Invalid or unknown error ) debug1: Next authentication method: publickey debug1: Trying private key: /root/.ssh/identity debug1: Trying private key: /root/.ssh/id_rsa debug1: Trying private key: /root/.ssh/id_dsa debug1: Next authentication method: password user at veloce's password: debug1: Authentication succeeded (password) debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug1: Requesting X11 forwarding with authentication spoofing. debug1: channel request 0: x11-req debug1: channel request 0: shell debug1: fd 4 setting TCP_NODELAY debug1: channel 0: open confirm rwindow 0 rmax 32768 On Thursday 05 July 2007 13:58:02 you wrote: > Michel Dubois wrote: > > Folks, > > > > The ssh -X doesn't work well. I checked X11Forwarding status is yes in > > the sshd_config file. > > When I try to launch "xcalc" I got this following error message : > > xcalc > > Error: Can't open display: localhost:12.0 > > > > But this last command works when I export the DISPLAY env. variable of > > the client workstation. > > It sounds like the X11 forwarding working. > > Try adding '-v' to your ssh command, to get more debugging, and see if > there are any errors when it attempts to set up the X11 forwarding > during the initial login. Also, when your X client starts on the remote > server, the ssh client should report some debugging information, which > might include errors that'll help you identify the problem. -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From mdubois at polytech.unice.fr Thu Jul 5 13:07:38 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 15:07:38 +0200 Subject: SSH -X doesn't work with an export DISPLAY In-Reply-To: <468CE8FE.3070500@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051415.02681.mdubois@polytech.unice.fr> <468CE8FE.3070500@princeton.edu> Message-ID: <200707051507.39161.mdubois@polytech.unice.fr> user at veloce's password: debug2: we sent a password packet, wait for reply debug1: Authentication succeeded (password) debug1: channel 0: new [client-session] debug1: send channel open 0 debug1: Entering interactive session. debug2: callback start debug1: ssh_session2_setup: id 0 debug1: channel request 0: pty-req debug2: x11_get_proto: /usr/openwin/bin/xauth list unix:14.0 2>/dev/null debug1: Requesting X11 forwarding with authentication spoofing. debug1: channel request 0: x11-req debug1: channel request 0: shell debug1: fd 4 setting TCP_NODELAY debug2: callback done debug1: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 131072 Last login: Thu Jul 5 14:15:27 2007 from aragon-bge1 [root at veloce ~]# xcalc Error: Can't open display: localhost:12.0 Nothing wrong for me , exept the last message On Thursday 05 July 2007 14:50:06 you wrote: > Michel Dubois wrote: > > I don't found anything wrong ..... > > what happens when you try running 'xcalc' after connecting with > debugging turned on? There should be some output saying where it failed. > > Also, you might need to have two '-vv' to see the what's going on during > the initial X11 tunnel setup. -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From jsbillin at Princeton.EDU Thu Jul 5 13:14:04 2007 From: jsbillin at Princeton.EDU (Jonathan Billings) Date: Thu, 5 Jul 2007 09:14:04 -0400 Subject: SSH -X doesn't work with an export DISPLAY In-Reply-To: <200707051507.39161.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051415.02681.mdubois@polytech.unice.fr> <468CE8FE.3070500@princeton.edu> <200707051507.39161.mdubois@polytech.unice.fr> Message-ID: <20070705131404.GA12836@princeton.edu> On Thu, Jul 05, 2007 at 03:07:38PM +0200, Michel Dubois wrote: > [root at veloce ~]# xcalc > Error: Can't open display: localhost:12.0 > > Nothing wrong for me , exept the last message If you're not getting any output from the ssh client (lines starting with debug1 or debug2) then the X client isn't trying to talk through the forwarded X11 tunnel. How is your $DISPLAY being set? Did you define it in some login script? It should automatically be defined by the ssh client and server during login. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From DDWashburn at applied.com Thu Jul 5 13:19:19 2007 From: DDWashburn at applied.com (Daniel D Washburn/AppliedIT) Date: Thu, 5 Jul 2007 09:19:19 -0400 Subject: Daniel D Washburn is out of the office. Message-ID: I will be out of the office starting 07/04/2007 and will not return until 07/08/2007. I am out of the office and out of town for the weekend. Please contact the Help Desk at 216.426.4122 if you need assistance. Notice required by law: This email may constitute an advertisement or solicitation under U.S. law. If you wish to opt out of receiving further email messages from Applied Industrial Technologies, 3301 Euclid Ave, Cleveland, Ohio 44115, send an email to mailoptout at applied.com. From jsbillin at Princeton.EDU Thu Jul 5 13:25:24 2007 From: jsbillin at Princeton.EDU (Jonathan S. Billings) Date: Thu, 05 Jul 2007 09:25:24 -0400 Subject: SSH -X doesn't work with an export DISPLAY In-Reply-To: <20070705131404.GA12836@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051415.02681.mdubois@polytech.unice.fr> <468CE8FE.3070500@princeton.edu> <200707051507.39161.mdubois@polytech.unice.fr> <20070705131404.GA12836@princeton.edu> Message-ID: <468CF144.2010609@princeton.edu> Jonathan Billings wrote: > If you're not getting any output from the ssh client (lines starting > with debug1 or debug2) then the X client isn't trying to talk through > the forwarded X11 tunnel. How is your $DISPLAY being set? Did you > define it in some login script? It should automatically be defined by > the ssh client and server during login. Sorry, to put this in context, I had earlier suggested he run the ssh client with -vv to add more debugging. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From mdubois at polytech.unice.fr Thu Jul 5 13:29:49 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 15:29:49 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <20070705131404.GA12836@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051507.39161.mdubois@polytech.unice.fr> <20070705131404.GA12836@princeton.edu> Message-ID: <200707051529.49657.mdubois@polytech.unice.fr> I did a mistake in my subject. If I do an export DISPLAY the ssh -X is working well. It should be automatic with the X option of ssh. It s this point I don't understand, why ssh doesn't forward the X server as it's configured well ....... On Thursday 05 July 2007 15:14:04 Jonathan Billings wrote: > On Thu, Jul 05, 2007 at 03:07:38PM +0200, Michel Dubois wrote: > > [root at veloce ~]# xcalc > > Error: Can't open display: localhost:12.0 > > > > Nothing wrong for me , exept the last message > > If you're not getting any output from the ssh client (lines starting > with debug1 or debug2) then the X client isn't trying to talk through > the forwarded X11 tunnel. How is your $DISPLAY being set? Did you > define it in some login script? It should automatically be defined by > the ssh client and server during login. -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From mdubois at polytech.unice.fr Thu Jul 5 14:37:54 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 16:37:54 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <468CF1E5.5010605@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051529.49657.mdubois@polytech.unice.fr> <468CF1E5.5010605@princeton.edu> Message-ID: <200707051637.54717.mdubois@polytech.unice.fr> On Thursday 05 July 2007 15:28:05 you wrote: > > When you set the $DISPLAY variable, do you set it to a localhost:#, or > to hostname.foo.bar:#? If you are doing the latter, then it isn't using > a secure channel, but using normal X over TCP connections. Jonh, In the both case, I can't get the X11forward I have to export the DISPLAY env. Very strange, I have 2 SOLARIS server, and I did : workstation~#: ssh -X SUN_server1 SUN_server1~#: ssh -X SUN_server2 xcalc display apears from the SUN_server2 on my LINUX workstation without problem In the stuck case I did : workstation~#: ssh -X SUN_server1 SUN_server1~#: ssh -X redhat_host xcalc display doesn't appear, same if I export the DISPLAY anyway thanks for your help -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From mgalgoci at redhat.com Thu Jul 5 14:36:56 2007 From: mgalgoci at redhat.com (Matthew Galgoci) Date: Thu, 5 Jul 2007 10:36:56 -0400 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <200707051637.54717.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051529.49657.mdubois@polytech.unice.fr> <468CF1E5.5010605@princeton.edu> <200707051637.54717.mdubois@polytech.unice.fr> Message-ID: > > When you set the $DISPLAY variable, do you set it to a localhost:#, or > > to hostname.foo.bar:#? If you are doing the latter, then it isn't using > > a secure channel, but using normal X over TCP connections. > > Jonh, > > In the both case, I can't get the X11forward > > I have to export the DISPLAY env. > Very strange, I have 2 SOLARIS server, and I did : > workstation~#: ssh -X SUN_server1 > SUN_server1~#: ssh -X SUN_server2 > > xcalc display apears from the SUN_server2 on my LINUX workstation without > problem > > In the stuck case I did : > workstation~#: ssh -X SUN_server1 > SUN_server1~#: ssh -X redhat_host > > xcalc display doesn't appear, same if I export the DISPLAY > > anyway thanks for your help try doing ssh -X -Y SUN_server1 -- Matthew Galgoci Network Operations Red Hat, Inc 919.754.3700 x44155 From mdubois at polytech.unice.fr Thu Jul 5 14:59:48 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 16:59:48 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <20070705143625.GB12836@princeton.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051637.54717.mdubois@polytech.unice.fr> <20070705143625.GB12836@princeton.edu> Message-ID: <200707051659.48206.mdubois@polytech.unice.fr> On Thursday 05 July 2007 16:36:25 you wrote: > On Thu, Jul 05, 2007 at 04:37:54PM +0200, Michel Dubois wrote: > > On Thursday 05 July 2007 15:28:05 you wrote: > > > When you set the $DISPLAY variable, do you set it to a localhost:#, or > > > to hostname.foo.bar:#? If you are doing the latter, then it isn't > > > using a secure channel, but using normal X over TCP connections. > > > > Jonh, > > > > In the both case, I can't get the X11forward > > > > I have to export the DISPLAY env. > > If you are setting the DISPLAY variable because it is not set, then > the SSH system isn't setting up the forward, and it will never work. Jonh, The DISPLAY variable isn't set by default : ssh redhat_host user at redhat_host's password: Last login: Thu Jul 5 15:43:26 2007 from sun-server [user at redhat ~]# echo $DISPLAY [user at redhat ~]# When I did "ssh -X", I 've got "localhost:10.0" in the DISPLAY variable. It's seems the proub that ssh do something but not enought. -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From mdubois at polytech.unice.fr Thu Jul 5 15:04:33 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Thu, 5 Jul 2007 17:04:33 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051637.54717.mdubois@polytech.unice.fr> Message-ID: <200707051704.33454.mdubois@polytech.unice.fr> Sorry, The Y option is not implemented yet on the SUN SSH client. Too easy :) On Thursday 05 July 2007 16:36:56 Matthew Galgoci wrote: > > > When you set the $DISPLAY variable, do you set it to a localhost:#, or > > > to hostname.foo.bar:#? If you are doing the latter, then it isn't > > > using a secure channel, but using normal X over TCP connections. > > > > Jonh, > > > > In the both case, I can't get the X11forward > > > > I have to export the DISPLAY env. > > Very strange, I have 2 SOLARIS server, and I did : > > workstation~#: ssh -X SUN_server1 > > SUN_server1~#: ssh -X SUN_server2 > > > > xcalc display apears from the SUN_server2 on my LINUX workstation without > > problem > > > > In the stuck case I did : > > workstation~#: ssh -X SUN_server1 > > SUN_server1~#: ssh -X redhat_host > > > > xcalc display doesn't appear, same if I export the DISPLAY > > > > anyway thanks for your help > > try doing ssh -X -Y SUN_server1 -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 From Roberto.Quagliozzi at edftrading.com Thu Jul 5 15:02:05 2007 From: Roberto.Quagliozzi at edftrading.com (Roberto.Quagliozzi at edftrading.com) Date: Thu, 5 Jul 2007 16:02:05 +0100 Subject: Roberto Quagliozzi is out of the office. Message-ID: I will be out of the office starting 04/07/2007 and will not return until 11/07/2007. I will not be checking my email during this time. If you have an urgent query please contact Martin Abela. ********************************************************************* This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you. EDF Trading Markets Limited 71 High Holborn, London WC1V 6ED A Company registered in England No. 4255974. Switchboard: 020 7061 4000 EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority. VAT number: GB 735 5479 07 ********************************************************************* From hjnmolly at hetnet.nl Sat Jul 7 08:30:36 2007 From: hjnmolly at hetnet.nl (harold molly) Date: Sat, 07 Jul 2007 10:30:36 +0200 Subject: SSH -X doesn't work with an export DISPLAY In-Reply-To: <200707051301.44708.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> Message-ID: <1183797037.12255.4.camel@hjnmrhel.lan> Is there a telnet daemon spawned on the destination server? On Thu, 2007-07-05 at 13:01 +0200, Michel Dubois wrote: > Folks, > > The ssh -X doesn't work well. I checked X11Forwarding status is yes in the > sshd_config file. > When I try to launch "xcalc" I got this following error message : > xcalc > Error: Can't open display: localhost:12.0 > > But this last command works when I export the DISPLAY env. variable of the > client workstation. > > I noted I can't telnet localhost 6010 : > Trying 10.0.2.7... > telnet: connect to address 10.0.2.7: Connection refused > telnet: Unable to connect to remote host: Connection refused > > And the xauth application is installed on the system > > Thanks for your help. > > ---------------------- > Michel Dubois > Ing?nieur Support CIMPACA > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From hjnmolly at hetnet.nl Sat Jul 7 08:36:15 2007 From: hjnmolly at hetnet.nl (harold molly) Date: Sat, 07 Jul 2007 10:36:15 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <200707051704.33454.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051637.54717.mdubois@polytech.unice.fr> <200707051704.33454.mdubois@polytech.unice.fr> Message-ID: <1183797375.12255.6.camel@hjnmrhel.lan> Is there specific configuration required to connect to the ssh daemon on the destination server, solaris sshd man page? On Thu, 2007-07-05 at 17:04 +0200, Michel Dubois wrote: > Sorry, > > The Y option is not implemented yet on the SUN SSH client. Too easy :) > > > > On Thursday 05 July 2007 16:36:56 Matthew Galgoci wrote: > > > > When you set the $DISPLAY variable, do you set it to a localhost:#, or > > > > to hostname.foo.bar:#? If you are doing the latter, then it isn't > > > > using a secure channel, but using normal X over TCP connections. > > > > > > Jonh, > > > > > > In the both case, I can't get the X11forward > > > > > > I have to export the DISPLAY env. > > > Very strange, I have 2 SOLARIS server, and I did : > > > workstation~#: ssh -X SUN_server1 > > > SUN_server1~#: ssh -X SUN_server2 > > > > > > xcalc display apears from the SUN_server2 on my LINUX workstation without > > > problem > > > > > > In the stuck case I did : > > > workstation~#: ssh -X SUN_server1 > > > SUN_server1~#: ssh -X redhat_host > > > > > > xcalc display doesn't appear, same if I export the DISPLAY > > > > > > anyway thanks for your help > > > > try doing ssh -X -Y SUN_server1 > > > From grants at al.com.au Mon Jul 9 06:44:15 2007 From: grants at al.com.au (Grant Street) Date: Mon, 09 Jul 2007 16:44:15 +1000 Subject: striped logical volume using kickstart install In-Reply-To: <1183797375.12255.6.camel@hjnmrhel.lan> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051637.54717.mdubois@polytech.unice.fr> <200707051704.33454.mdubois@polytech.unice.fr> <1183797375.12255.6.camel@hjnmrhel.lan> Message-ID: <4691D93F.2060207@al.com.au> Hello Is it possible to create a striped logical volume during a kickstart install? I know you can do linear (by default) but how do you do striped? Grant From mdubois at polytech.unice.fr Mon Jul 9 08:33:50 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Mon, 9 Jul 2007 10:33:50 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <1183797375.12255.6.camel@hjnmrhel.lan> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707051704.33454.mdubois@polytech.unice.fr> <1183797375.12255.6.camel@hjnmrhel.lan> Message-ID: <200707091033.50697.mdubois@polytech.unice.fr> On Saturday 07 July 2007 10:36:15 harold molly wrote: > Is there specific configuration required to connect to the > ssh daemon on the destination server, solaris sshd man page? As the "ssh -Y" is not supported by the ssh client of SUN, I don't know how to do. I think, there is a problem with the authorization cookies. I forward you an extract of the ssh man page about the Xforwarding : User Commands ssh(1) -X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file. ENVIRONMENT VARIABLES ssh will normally set the following environment variables: DISPLAY The DISPLAY variable indicates the location of the X11 server. It is automatically set by ssh to point to a value of the form hostname:n where hostname indicates the host where the shell runs, and n is an integer greater than or equal to 1. ssh uses this special value to forward X11 connections over the secure chan- nel. The user should normally not set DISPLAY expli- citly, as that will render the X11 connection insecure (and will require the user to manually copy any required authorization cookies). I tried this command on Red Hat server but it doesn't work : xauth add `echo "${DISPLAY}" | sed 's/.*\(:.*\)/\1/'` . `mcookie` -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA From mdubois at polytech.unice.fr Mon Jul 9 12:05:40 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Mon, 9 Jul 2007 14:05:40 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <1183980290.4265.7.camel@localhost.localdomain> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707091033.50697.mdubois@polytech.unice.fr> <1183980290.4265.7.camel@localhost.localdomain> Message-ID: <200707091405.41004.mdubois@polytech.unice.fr> Last question, I readed that the Xforward used the 6010 TCP port. On my red hat this port is not open. user at SUNserver :~$ ssh -X redhat Last login: Mon Jul 9 11:48:58 2007 from SUNserver [user at redhat ~]$ telnet localhost 6010 Trying 10.0.2.7... telnet: connect to address 10.0.2.7: Connection refused telnet: Unable to connect to remote host: Connection refused And when I try to do a "xhost +SUNserver" on my redhat, I got : xhost: unable to open display "localhost:12.0" any Idea Thanks in advance.............. On Monday 09 July 2007 13:24:50 you wrote: > A great help will be the ssh+sshd config. files, sshd daemon startup > parameters, in general sshd specification + security from your x display > server.Not to be solved easy, this one, needs research, at least for me. > > On Mon, 2007-07-09 at 10:33 +0200, Michel Dubois wrote: > > On Saturday 07 July 2007 10:36:15 harold molly wrote: > > > Is there specific configuration required to connect to the > > > ssh daemon on the destination server, solaris sshd man page? > > > > As the "ssh -Y" is not supported by the ssh client of SUN, I don't know > > how to do. > > I think, there is a problem with the authorization cookies. > > I forward you an extract of the ssh man page about the Xforwarding : > > > > User Commands ssh(1) > > > > -X Enables X11 forwarding. This can also be specified on > > a per-host basis in a configuration file. > > > > ENVIRONMENT VARIABLES > > ssh will normally set the following environment variables: > > > > DISPLAY > > The DISPLAY variable indicates the location of the X11 > > server. It is automatically set by ssh to point to a > > value of the form hostname:n where hostname indicates > > the host where the shell runs, and n is an integer > > greater than or equal to 1. ssh uses this special > > value to forward X11 connections over the secure chan- > > nel. The user should normally not set DISPLAY expli- > > citly, as that will render the X11 connection insecure > > (and will require the user to manually copy any > > required authorization cookies). > > > > I tried this command on Red Hat server but it doesn't work : > > xauth add `echo "${DISPLAY}" | sed 's/.*\(:.*\)/\1/'` . `mcookie` -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA From tschoeler at wernermedia.de Mon Jul 9 12:43:45 2007 From: tschoeler at wernermedia.de (Timo Schoeler) Date: Mon, 9 Jul 2007 14:43:45 +0200 Subject: Why does RHEL 5 ignore /etc/rc.local? Message-ID: <20070709144345.8ed0d535.tschoeler@wernermedia.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, I run uCARP [0] on a RHEL 5 machine (with recent updates) and it *did* run until recently, i.e. 'did run' means that it was started from /etc/rc.local when booting. (NB: I couldn't find a *functioning* package on the net, so I built it from src; however, I didn't have time yet to code some RC script for this... That's why I use /etc/rc.local.) When I pulled the updates on June 22nd it seems to have b0rked my machine -- it totally ignores /etc/rc.local (I tested this by touch(0) ing a file from inside /etc/rc.local -- the file wasn't created, no output/error message on console, though). Any hints? [0] -- http://www.ucarp.org/project/ucarp Thanks in advance & best regards, - -- Timo Schoeler (Unix freak, IT team leader) Key fingerprint = 592C 8AA1 FC66 7BFB F3DA B4DA 707C F906 087F 9768 mailto:tschoeler at wernermedia.de At Desk +49 (0)30 2 69 47-413 | Company -400 | Fax -300 Werner Media Group GmbH | http://www.wernermedia.de Grossbeerenstrasse 186-192, 12277 Berlin, Germany Geschaeftsfuehrer: Nicholas Werner Amtsgericht/Handelsregister: Sitz Berlin, Amtsgericht Charlottenburg, HRB 80337, Ust-ID. DE217618105, St.-Nr. 29/032/07344 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (OpenBSD) iD8DBQFGki2BcHz5Bgh/l2gRAmVlAJ93BHGkSz1yyUFCSCr6LW6qmcUOgQCg9HlI 6hs9oPnU8AX+p4mPBbXXInI= =SQZH -----END PGP SIGNATURE----- From stellr at cns.vt.edu Mon Jul 9 12:13:27 2007 From: stellr at cns.vt.edu (Ray Stell) Date: Mon, 9 Jul 2007 08:13:27 -0400 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <200707091405.41004.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707091033.50697.mdubois@polytech.unice.fr> <1183980290.4265.7.camel@localhost.localdomain> <200707091405.41004.mdubois@polytech.unice.fr> Message-ID: <20070709121327.GA21585@cns.vt.edu> forgive me, I've not been following this thread, so I don't even know which direction you are trying to go with this, but I thought I'd throw this in. I do display X from sun to rh using openssh. On rh we have the stock rpms: $ rpm -qa | grep ssh openssh-server-3.9p1-8.RHEL4.20 openssh-3.9p1-8.RHEL4.20 openssh-askpass-gnome-3.9p1-8.RHEL4.20 openssh-askpass-3.9p1-8.RHEL4.20 openssh-clients-3.9p1-8.RHEL4.20 I even alias the ssh command to be ssh -Y $ alias alias catalina.sh='/usr/java/apache-tomcat-5.5.20/bin/catalina.sh' alias l.='ls -d .* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=never' alias ssh='ssh -Y' On solaris, I have openssh installed and use it instead of the stock version: $ which ssh /usr/local/openssh/bin/ssh $ ssh -V OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006 Display from sun to rh works every time. I don't know that I've ever tried the other way, however. HTH. On Mon, Jul 09, 2007 at 02:05:40PM +0200, Michel Dubois wrote: > Last question, > > I readed that the Xforward used the 6010 TCP port. On my red hat this port is > not open. > user at SUNserver :~$ ssh -X redhat > Last login: Mon Jul 9 11:48:58 2007 from SUNserver > [user at redhat ~]$ telnet localhost 6010 > Trying 10.0.2.7... > telnet: connect to address 10.0.2.7: Connection refused > telnet: Unable to connect to remote host: Connection refused > > And when I try to do a "xhost +SUNserver" on my redhat, I got : > xhost: unable to open display "localhost:12.0" > > any Idea > Thanks in advance.............. > > > > On Monday 09 July 2007 13:24:50 you wrote: > > A great help will be the ssh+sshd config. files, sshd daemon startup > > parameters, in general sshd specification + security from your x display > > server.Not to be solved easy, this one, needs research, at least for me. > > > > On Mon, 2007-07-09 at 10:33 +0200, Michel Dubois wrote: > > > On Saturday 07 July 2007 10:36:15 harold molly wrote: > > > > Is there specific configuration required to connect to the > > > > ssh daemon on the destination server, solaris sshd man page? > > > > > > As the "ssh -Y" is not supported by the ssh client of SUN, I don't know > > > how to do. > > > I think, there is a problem with the authorization cookies. > > > I forward you an extract of the ssh man page about the Xforwarding : > > > > > > User Commands ssh(1) > > > > > > -X Enables X11 forwarding. This can also be specified on > > > a per-host basis in a configuration file. > > > > > > ENVIRONMENT VARIABLES > > > ssh will normally set the following environment variables: > > > > > > DISPLAY > > > The DISPLAY variable indicates the location of the X11 > > > server. It is automatically set by ssh to point to a > > > value of the form hostname:n where hostname indicates > > > the host where the shell runs, and n is an integer > > > greater than or equal to 1. ssh uses this special > > > value to forward X11 connections over the secure chan- > > > nel. The user should normally not set DISPLAY expli- > > > citly, as that will render the X11 connection insecure > > > (and will require the user to manually copy any > > > required authorization cookies). > > > > > > I tried this command on Red Hat server but it doesn't work : > > > xauth add `echo "${DISPLAY}" | sed 's/.*\(:.*\)/\1/'` . `mcookie` > > > > -- > Cordialement. > ---------------------- > Michel Dubois > Ing??nieur Support CIMPACA > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From tschoeler at wernermedia.de Mon Jul 9 12:04:10 2007 From: tschoeler at wernermedia.de (Timo Schoeler) Date: Mon, 9 Jul 2007 14:04:10 +0200 Subject: SSH -X doesn't work without an export DISPLAY In-Reply-To: <200707091405.41004.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707091033.50697.mdubois@polytech.unice.fr> <1183980290.4265.7.camel@localhost.localdomain> <200707091405.41004.mdubois@polytech.unice.fr> Message-ID: <20070709140410.2876b952.tschoeler@wernermedia.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thus Michel Dubois spake on Mon, 9 Jul 2007 14:05:40 +0200: > Last question, > > I readed that the Xforward used the 6010 TCP port. On my red hat this > port is not open. > user at SUNserver :~$ ssh -X redhat > Last login: Mon Jul 9 11:48:58 2007 from SUNserver > [user at redhat ~]$ telnet localhost 6010 > Trying 10.0.2.7... > telnet: connect to address 10.0.2.7: Connection refused > telnet: Unable to connect to remote host: Connection refused > > And when I try to do a "xhost +SUNserver" on my redhat, I got : > xhost: unable to open display "localhost:12.0" > > any Idea > Thanks in advance.............. Port 22 is sufficient to use X11 forwarding, no need to open other ports. That's not the problem, for sure... > On Monday 09 July 2007 13:24:50 you wrote: > > A great help will be the ssh+sshd config. files, sshd daemon startup > > parameters, in general sshd specification + security from your x > > display server.Not to be solved easy, this one, needs research, at > > least for me. > > > > On Mon, 2007-07-09 at 10:33 +0200, Michel Dubois wrote: > > > On Saturday 07 July 2007 10:36:15 harold molly wrote: > > > > Is there specific configuration required to connect to the > > > > ssh daemon on the destination server, solaris sshd man page? > > > > > > As the "ssh -Y" is not supported by the ssh client of SUN, I > > > don't know how to do. > > > I think, there is a problem with the authorization cookies. > > > I forward you an extract of the ssh man page about the > > > Xforwarding : > > > > > > User Commands ssh(1) > > > > > > -X Enables X11 forwarding. This can also be specified on > > > a per-host basis in a configuration file. > > > > > > ENVIRONMENT VARIABLES > > > ssh will normally set the following environment variables: > > > > > > DISPLAY > > > The DISPLAY variable indicates the location of the X11 > > > server. It is automatically set by ssh to point to a > > > value of the form hostname:n where hostname indicates > > > the host where the shell runs, and n is an integer > > > greater than or equal to 1. ssh uses this special > > > value to forward X11 connections over the secure chan- > > > nel. The user should normally not set DISPLAY expli- > > > citly, as that will render the X11 connection insecure > > > (and will require the user to manually copy any > > > required authorization cookies). > > > > > > I tried this command on Red Hat server but it doesn't work : > > > xauth add `echo "${DISPLAY}" | sed 's/.*\(:.*\)/\1/'` . `mcookie` > > > > -- > Cordialement. > ---------------------- > Michel Dubois > Ing?nieur Support CIMPACA - -- Timo Schoeler (Unix freak, IT team leader) Key fingerprint = 592C 8AA1 FC66 7BFB F3DA B4DA 707C F906 087F 9768 mailto:tschoeler at wernermedia.de At Desk +49 (0)30 2 69 47-413 | Company -400 | Fax -300 Werner Media Group GmbH | http://www.wernermedia.de Grossbeerenstrasse 186-192, 12277 Berlin, Germany Geschaeftsfuehrer: Nicholas Werner Amtsgericht/Handelsregister: Sitz Berlin, Amtsgericht Charlottenburg, HRB 80337, Ust-ID. DE217618105, St.-Nr. 29/032/07344 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (OpenBSD) iD8DBQFGkiQ6cHz5Bgh/l2gRApMzAKCesb0xYcrSKVh+9/ncgqiat0YIZgCgrBmn l7rLbevbGoWID8ILEvDsneQ= =lwPl -----END PGP SIGNATURE----- From lists at brimer.org Mon Jul 9 13:13:09 2007 From: lists at brimer.org (Barry Brimer) Date: Mon, 9 Jul 2007 08:13:09 -0500 (CDT) Subject: Why does RHEL 5 ignore /etc/rc.local? In-Reply-To: <20070709144345.8ed0d535.tschoeler@wernermedia.de> References: <20070709144345.8ed0d535.tschoeler@wernermedia.de> Message-ID: > I run uCARP [0] on a RHEL 5 machine (with recent updates) and it *did* > run until recently, i.e. 'did run' means that it was started > from /etc/rc.local when booting. > > (NB: I couldn't find a *functioning* package on the net, so I built it > from src; however, I didn't have time yet to code some RC script for > this... That's why I use /etc/rc.local.) > > When I pulled the updates on June 22nd it seems to have b0rked my > machine -- it totally ignores /etc/rc.local (I tested this by touch(0) > ing a file from inside /etc/rc.local -- the file wasn't created, no > output/error message on console, though). Usually '/etc/rc.local' is a symlink to '/etc/rc.d/rc.local'. By any chance have these become separated and are separate files? If so, I believe that '/etc/rc.d/rc.local' is what actually gets run, and not '/etc/rc.local'. Also, although quite unlikely, is there an 'S' script for local in the runlevel you are booting into? If not, running 'chkconfig local on' will handle that. Finally, what happens if you run '/etc/rc.d/rc.local' as root from the command line? HTH, Barry From PatelHN at telkom.co.za Mon Jul 9 13:25:26 2007 From: PatelHN at telkom.co.za (Hiren Patel (HN)) Date: Mon, 09 Jul 2007 15:25:26 +0200 Subject: Why does RHEL 5 ignore /etc/rc.local? In-Reply-To: References: <20070709144345.8ed0d535.tschoeler@wernermedia.de> Message-ID: <1183987526.3429.14.camel@localhost.localdomain.com> yip Barry is right about the start scripts for local, this is what i have on system that has not been updated at all. [root at localhost rc.d]# pwd /etc/rc.d [root at localhost rc.d]# find . -name '*local*' -exec ls -l {} \; -rwxr-xr-x 1 root root 220 Jun 23 2003 ./rc.local lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc3.d/S99local -> ../rc.local lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc2.d/S99local -> ../rc.local lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc5.d/S99local -> ../rc.local lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc4.d/S99local -> ../rc.local [root at localhost rc.d]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5 (Tikanga) [root at localhost rc.d]# On Mon, 2007-07-09 at 08:13 -0500, Barry Brimer wrote: > > I run uCARP [0] on a RHEL 5 machine (with recent updates) and it *did* > > run until recently, i.e. 'did run' means that it was started > > from /etc/rc.local when booting. > > > > (NB: I couldn't find a *functioning* package on the net, so I built it > > from src; however, I didn't have time yet to code some RC script for > > this... That's why I use /etc/rc.local.) > > > > When I pulled the updates on June 22nd it seems to have b0rked my > > machine -- it totally ignores /etc/rc.local (I tested this by touch(0) > > ing a file from inside /etc/rc.local -- the file wasn't created, no > > output/error message on console, though). > > Usually '/etc/rc.local' is a symlink to '/etc/rc.d/rc.local'. By any > chance have these become separated and are separate files? If so, I > believe that '/etc/rc.d/rc.local' is what actually gets run, and not > '/etc/rc.local'. Also, although quite unlikely, is there an 'S' script > for local in the runlevel you are booting into? If not, running > 'chkconfig local on' will handle that. Finally, what happens if you run > '/etc/rc.d/rc.local' as root from the command line? > > HTH, > Barry > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom E-Mail: patelhn at telkom.co.za Office: +27 12 680 3460 | Fax: +27 12 680 3299 | Cell: +27 73 456 7980 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From tschoeler at wernermedia.de Mon Jul 9 13:33:47 2007 From: tschoeler at wernermedia.de (Timo Schoeler) Date: Mon, 9 Jul 2007 15:33:47 +0200 Subject: Why does RHEL 5 ignore /etc/rc.local? In-Reply-To: <1183987526.3429.14.camel@localhost.localdomain.com> References: <20070709144345.8ed0d535.tschoeler@wernermedia.de> <1183987526.3429.14.camel@localhost.localdomain.com> Message-ID: <20070709153347.e4d09f68.tschoeler@wernermedia.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thus "Hiren Patel (HN)" spake on Mon, 09 Jul 2007 15:25:26 +0200: > > yip Barry is right about the start scripts for local, > this is what i have on system that has not been updated at all. > > [root at localhost rc.d]# pwd > /etc/rc.d > [root at localhost rc.d]# find . -name '*local*' -exec ls -l {} \; > -rwxr-xr-x 1 root root 220 Jun 23 2003 ./rc.local > lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc3.d/S99local -> ../rc.local > lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc2.d/S99local -> ../rc.local > lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc5.d/S99local -> ../rc.local > lrwxrwxrwx 1 root root 11 Apr 17 14:53 ./rc4.d/S99local -> ../rc.local > [root at localhost rc.d]# cat /etc/redhat-release > Red Hat Enterprise Linux Server release 5 (Tikanga) > [root at localhost rc.d]# Thanks (esp. Barry), this was a bull's eye. Sometimes I'm too blind to see this trivial stuff because I'm used to it that my systems run (see GPG's stuff ;). Seems that some recent update broke the symbolic link on my machine; a not-updated machine still has it. Will apply the updates on it and probably it will fade away. Oh, well... No pun intended, thanks again, Timo > On Mon, 2007-07-09 at 08:13 -0500, Barry Brimer wrote: > > > I run uCARP [0] on a RHEL 5 machine (with recent updates) and it > > > *did* run until recently, i.e. 'did run' means that it was started > > > from /etc/rc.local when booting. > > > > > > (NB: I couldn't find a *functioning* package on the net, so I > > > built it from src; however, I didn't have time yet to code some > > > RC script for this... That's why I use /etc/rc.local.) > > > > > > When I pulled the updates on June 22nd it seems to have b0rked my > > > machine -- it totally ignores /etc/rc.local (I tested this by > > > touch(0) ing a file from inside /etc/rc.local -- the file wasn't > > > created, no output/error message on console, though). > > > > Usually '/etc/rc.local' is a symlink to '/etc/rc.d/rc.local'. By > > any chance have these become separated and are separate files? If > > so, I believe that '/etc/rc.d/rc.local' is what actually gets run, > > and not '/etc/rc.local'. Also, although quite unlikely, is there > > an 'S' script for local in the runlevel you are booting into? If > > not, running 'chkconfig local on' will handle that. Finally, what > > happens if you run '/etc/rc.d/rc.local' as root from the command > > line? > > > > HTH, > > Barry > > > > -- > > redhat-sysadmin-list mailing list > > redhat-sysadmin-list at redhat.com > > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- > Hiren Patel | Ops Specialist | ISS Infrastructure | Telkom > E-Mail: patelhn at telkom.co.za Office: +27 12 680 3460 | Fax: +27 12 > 680 3299 | Cell: +27 73 456 7980 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > This e-mail and its contents are subject to the Telkom SA Limited > e-mail legal notice available at > http://www.telkom.co.za/TelkomEMailLegalNotice.PDF > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > - -- Timo Schoeler (Unix freak, IT team leader) Key fingerprint = 592C 8AA1 FC66 7BFB F3DA B4DA 707C F906 087F 9768 mailto:tschoeler at wernermedia.de At Desk +49 (0)30 2 69 47-413 | Company -400 | Fax -300 Werner Media Group GmbH | http://www.wernermedia.de Grossbeerenstrasse 186-192, 12277 Berlin, Germany Geschaeftsfuehrer: Nicholas Werner Amtsgericht/Handelsregister: Sitz Berlin, Amtsgericht Charlottenburg, HRB 80337, Ust-ID. DE217618105, St.-Nr. 29/032/07344 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (OpenBSD) iD8DBQFGkjk7cHz5Bgh/l2gRAiSoAKClGKJM3gr9xFBAGbeVsy+pUl5t/ACdF9AK HQGMPT23pQBvL8zGSfp57u0= =z+hV -----END PGP SIGNATURE----- From mdubois at polytech.unice.fr Mon Jul 9 13:47:37 2007 From: mdubois at polytech.unice.fr (Michel Dubois) Date: Mon, 9 Jul 2007 15:47:37 +0200 Subject: [Resolved] SSH -X doesn't work without an export DISPLAY In-Reply-To: <20070709121327.GA21585@cns.vt.edu> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707091405.41004.mdubois@polytech.unice.fr> <20070709121327.GA21585@cns.vt.edu> Message-ID: <200707091547.37778.mdubois@polytech.unice.fr> I found ! Good news. I readed again the sshd_config file. I found this ligne : #X11UseLocalhost yes I forgot that if this sort of line has been commented as default value. So, I modified this one by : X11UseLocalhost no I restarted the sshd demon and I logout / login with ssh -X from the SUN server. The xcalc appears on my workstation. Thank you anyway for your help. -- Cordialement. ---------------------- Michel Dubois Ing?nieur Support CIMPACA From B.ADHIKARI at gwccnet.com Mon Jul 9 14:19:18 2007 From: B.ADHIKARI at gwccnet.com (Adhikari, Bimal) Date: Mon, 9 Jul 2007 09:19:18 -0500 Subject: striped logical volume using kickstart install Message-ID: <5AFB63AE65C1B64692437D90809B83510920FAEF@gw-ho80.cds.local> part /boot --fstype ext3 --size=100 part pv.17 --size=51200 part pv.11 --size=20480 part pv.13 --size=10240 part pv.12 --size=10240 part pv.15 --size=5120 volgroup optvg --pesize=32768 pv.17 volgroup homevg --pesize=32768 pv.13 volgroup rootvg --pesize=32768 pv.11 volgroup varvg --pesize=32768 pv.12 volgroup swapvg --pesize=32768 pv.15 logvol /opt --fstype ext3 --name=optlv --vgname=optvg --size=41152 logvol /tmp --fstype ext3 --name=tmplv --vgname=rootvg --size=512 logvol / --fstype ext3 --name=rootlv --vgname=rootvg --size=5120 logvol /var --fstype ext3 --name=varlv --vgname=varvg --size=5120 logvol /usr --fstype ext3 --name=usrlv --vgname=rootvg --size=5120 logvol /home --fstype ext3 --name=homelv --vgname=homevg --size=5120 logvol swap --fstype swap --name=swaplv --vgname=swapvg --size=4096 -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Grant Street Sent: Monday, July 09, 2007 1:44 AM To: redhat-sysadmin-list at redhat.com Subject: striped logical volume using kickstart install Hello Is it possible to create a striped logical volume during a kickstart install? I know you can do linear (by default) but how do you do striped? Grant -- 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. (GWCC) ##################################################################################### From hjnmolly at hetnet.nl Mon Jul 9 14:28:01 2007 From: hjnmolly at hetnet.nl (harold molly) Date: Mon, 09 Jul 2007 16:28:01 +0200 Subject: [Resolved] SSH -X doesn't work without an export DISPLAY In-Reply-To: <200707091547.37778.mdubois@polytech.unice.fr> References: <200707051301.44708.mdubois@polytech.unice.fr> <200707091405.41004.mdubois@polytech.unice.fr> <20070709121327.GA21585@cns.vt.edu> <200707091547.37778.mdubois@polytech.unice.fr> Message-ID: <1183991281.4213.0.camel@hjnmrhel.lan> very good On Mon, 2007-07-09 at 15:47 +0200, Michel Dubois wrote: > I found ! Good news. > > I readed again the sshd_config file. I found this ligne : > #X11UseLocalhost yes > I forgot that if this sort of line has been commented as default value. > So, I modified this one by : > X11UseLocalhost no > I restarted the sshd demon and I logout / login with ssh -X from the SUN > server. The xcalc appears on my workstation. > > Thank you anyway for your help. > > From grants at al.com.au Mon Jul 9 22:16:32 2007 From: grants at al.com.au (Grant Street) Date: Tue, 10 Jul 2007 08:16:32 +1000 Subject: striped logical volume using kickstart install In-Reply-To: <5AFB63AE65C1B64692437D90809B83510920FAEF@gw-ho80.cds.local> References: <5AFB63AE65C1B64692437D90809B83510920FAEF@gw-ho80.cds.local> Message-ID: <4692B3C0.4010201@al.com.au> The example below is a good example of using LVM. But it does not involve striping. I know how I can do raid 0 from kickstart but it looks like it uses linear mode rather than striped mode in LVM. How do I tell kickstart to do LVM striping ? Grant Adhikari, Bimal wrote: > part /boot --fstype ext3 --size=100 > part pv.17 --size=51200 > part pv.11 --size=20480 > part pv.13 --size=10240 > part pv.12 --size=10240 > part pv.15 --size=5120 > volgroup optvg --pesize=32768 pv.17 > volgroup homevg --pesize=32768 pv.13 > volgroup rootvg --pesize=32768 pv.11 > volgroup varvg --pesize=32768 pv.12 > volgroup swapvg --pesize=32768 pv.15 > logvol /opt --fstype ext3 --name=optlv --vgname=optvg --size=41152 > logvol /tmp --fstype ext3 --name=tmplv --vgname=rootvg --size=512 > logvol / --fstype ext3 --name=rootlv --vgname=rootvg --size=5120 > logvol /var --fstype ext3 --name=varlv --vgname=varvg --size=5120 > logvol /usr --fstype ext3 --name=usrlv --vgname=rootvg --size=5120 > logvol /home --fstype ext3 --name=homelv --vgname=homevg --size=5120 > logvol swap --fstype swap --name=swaplv --vgname=swapvg --size=4096 > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com > [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Grant > Street > Sent: Monday, July 09, 2007 1:44 AM > To: redhat-sysadmin-list at redhat.com > Subject: striped logical volume using kickstart install > > Hello > > Is it possible to create a striped logical volume during a kickstart > install? I know you can do linear (by default) but how do you do > striped? > > Grant > > -- > 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. (GWCC) > ##################################################################################### > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From rriley at procuri.com Tue Jul 17 04:12:31 2007 From: rriley at procuri.com (Richard Riley) Date: Tue, 17 Jul 2007 00:12:31 -0400 Subject: rsync questions In-Reply-To: <000601c7c81e$57993160$d301a8c0@juhuan.com> References: <000601c7c81e$57993160$d301a8c0@juhuan.com> Message-ID: It looks like you may have had a glitch with your nameserver communications and reverse lookup. Is the IP address listed a known address and proper for the rsync operation? If so, then verify reverse lookup is working with your DNS. If everything looks OK now, I wouldn't be concerned. Richard Procuri Inc. From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of jie Sent: Monday, July 16, 2007 10:58 PM To: redhat-sysadmin-list at redhat.com Subject: rsync questions Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From michaelbibby at sohu.com Tue Jul 17 03:53:07 2007 From: michaelbibby at sohu.com (Michael Bibby) Date: Tue, 17 Jul 2007 11:53:07 +0800 Subject: [HELP] kernel: EXT3-fs error (device sda1): ext3_free_blocks_sb: bit already cleared for block 9761 Message-ID: <469C3D23.6090103@sohu.com> Hi, all. I found something wrong with my server yesterday, and it cause the database service stopped about 1 minute. I don't know what's this exactly mean: kernel: EXT3-fs error (device sda1): ext3_free_blocks_sb: bit already cleared for block 9761 and the detail message(from /var/log/messages) is pasted below. Thanks for your help. Best Regards. Jul 16 15:43:52 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh status Jul 16 15:44:20 SERVER1 remote(pam_unix)[26444]: session opened for user sybase by (uid=0) Jul 16 15:44:20 SERVER1 -- sybase[26444]: LOGIN ON pts/0 BY sybase FROM 192.168.88.205 Jul 16 15:44:22 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh status Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1): ext3_free_blocks_sb: bit already cleared for block 9761 Jul 16 15:44:27 SERVER1 kernel: Aborting journal on device sda1. Jul 16 15:44:27 SERVER1 kernel: ext3_abort called. Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal Jul 16 15:44:27 SERVER1 kernel: Remounting filesystem read-only Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in ext3_reserve_inode_write: Journal has aborted Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in ext3_reserve_inode_write: Journal has aborted Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in ext3_orphan_del: Journal has aborted Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in ext3_truncate: Journal has aborted Jul 16 15:44:27 SERVER1 kernel: __journal_remove_journal_head: freeing b_committed_data Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted Jul 16 15:44:27 SERVER1 remote(pam_unix)[26444]: session closed for user sybase Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted Jul 16 15:44:44 SERVER1 last message repeated 327 times Jul 16 15:44:52 SERVER1 clurgmgrd[4403]: status on fs "sybase" returned 1 (generic error) Jul 16 15:44:52 SERVER1 clurgmgrd[4403]: Stopping service sybase Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: unmounting /opt/sybase-12.5 Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: Forcefully unmounting /opt/sybase-12.5 Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5387 (sybase RUN_SYBAS /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5412 (sybase RUN_SYB_B /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5413 (sybase backupser /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 17124 (sybase bash /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 9756 (sybase bash /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5388 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5827 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5828 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5829 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5830 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 5831 (sybase dataserve /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process 9757 (sybase linux_kss /opt/sybase-12.5) Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in start_transaction: Journal has aborted Jul 16 15:44:54 SERVER1 login(pam_unix)[17481]: session closed for user sybase Jul 16 15:45:04 SERVER1 clurgmgrd: [4403]: unmounting /opt/sybase-12.5 Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: unmounting /backup Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: Forcefully unmounting /backup Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: killing process 21668 (sybase bash /backup) Jul 16 15:45:06 SERVER1 login(pam_unix)[21375]: session closed for user sybase Jul 16 15:45:16 SERVER1 clurgmgrd: [4403]: unmounting /backup Jul 16 15:45:17 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh stop Jul 16 15:45:17 SERVER1 clurgmgrd: [4403]: Removing IPv4 address 192.168.88.100 from bond0 Jul 16 15:45:27 SERVER1 clurgmgrd[4403]: Service sybase is recovering Jul 16 15:45:27 SERVER1 clurgmgrd[4403]: Recovering failed service sybase Jul 16 15:45:27 SERVER1 clurgmgrd: [4403]: Adding IPv4 address 192.168.88.100 to bond0 Jul 16 15:45:28 SERVER1 clurgmgrd: [4403]: mounting /dev/sda1 on /opt/sybase-12.5 Jul 16 15:45:28 SERVER1 kernel: kjournald starting. Commit interval 5 seconds Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning (device sda1): ext3_clear_journal_err: Filesystem error recorded from previous mount: IO failure Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning (device sda1): ext3_clear_journal_err: Marking fs in need of filesystem check. Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning: mounting fs with errors, running e2fsck is recommended Jul 16 15:45:28 SERVER1 kernel: EXT3 FS on sda1, internal journal Jul 16 15:45:28 SERVER1 kernel: EXT3-fs: recovery complete. Jul 16 15:45:28 SERVER1 kernel: EXT3-fs: mounted filesystem with ordered data mode. Jul 16 15:45:29 SERVER1 clurgmgrd: [4403]: mounting /dev/sdb1 on /backup Jul 16 15:45:29 SERVER1 kernel: kjournald starting. Commit interval 5 seconds Jul 16 15:45:29 SERVER1 kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended Jul 16 15:45:29 SERVER1 kernel: EXT3 FS on sdb1, internal journal Jul 16 15:45:29 SERVER1 kernel: EXT3-fs: mounted filesystem with ordered data mode. Jul 16 15:45:29 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh start Jul 16 15:45:29 SERVER1 su(pam_unix)[27499]: session opened for user sybase by (uid=0) Jul 16 15:45:29 SERVER1 su(pam_unix)[27499]: session closed for user sybase Jul 16 15:45:32 SERVER1 su(pam_unix)[27525]: session opened for user sybase by (uid=0) Jul 16 15:45:32 SERVER1 su(pam_unix)[27525]: session closed for user sybase Jul 16 15:45:32 SERVER1 clurgmgrd[4403]: Service sybase started Jul 16 15:45:32 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh status Jul 16 15:46:02 SERVER1 clurgmgrd: [4403]: Executing /etc/init.d/db.sh status Jul 16 15:46:17 SERVER1 login(pam_unix)[26873]: session opened for user sybase by LOGIN(uid=0) From hjnmolly at hetnet.nl Tue Jul 17 05:21:36 2007 From: hjnmolly at hetnet.nl (harold jn molly) Date: Tue, 17 Jul 2007 07:21:36 +0200 Subject: [HELP] kernel: EXT3-fs error (device sda1): ext3_free_blocks_sb: bit already cleared for block 9761 In-Reply-To: <469C3D23.6090103@sohu.com> References: <469C3D23.6090103@sohu.com> Message-ID: <1184649696.4079.4.camel@hjnmrhel.localdomain> A filesystem crash + automatic recovery. The cause is more interesting than the the event. You may discuss cause + event with your rdbms supplier. On Tue, 2007-07-17 at 11:53 +0800, Michael Bibby wrote: > Hi, all. > > I found something wrong with my server yesterday, and it cause the > database service stopped about 1 minute. I don't know what's this > exactly mean: > > kernel: EXT3-fs error (device sda1): ext3_free_blocks_sb: bit already > cleared for block 9761 > > and the detail message(from /var/log/messages) is pasted below. Thanks > for your help. > Best Regards. > > Jul 16 15:43:52 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh status > Jul 16 15:44:20 SERVER1 remote(pam_unix)[26444]: session opened for user > sybase by (uid=0) > Jul 16 15:44:20 SERVER1 -- sybase[26444]: LOGIN ON pts/0 BY sybase FROM > 192.168.88.205 > Jul 16 15:44:22 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh status > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1): > ext3_free_blocks_sb: bit already cleared for block 9761 > Jul 16 15:44:27 SERVER1 kernel: Aborting journal on device sda1. > Jul 16 15:44:27 SERVER1 kernel: ext3_abort called. > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1): > ext3_journal_start_sb: Detected aborted journal > Jul 16 15:44:27 SERVER1 kernel: Remounting filesystem read-only > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > ext3_reserve_inode_write: Journal has aborted > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > ext3_reserve_inode_write: Journal has aborted > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > ext3_orphan_del: Journal has aborted > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > ext3_truncate: Journal has aborted > Jul 16 15:44:27 SERVER1 kernel: __journal_remove_journal_head: freeing > b_committed_data > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > start_transaction: Journal has aborted > Jul 16 15:44:27 SERVER1 remote(pam_unix)[26444]: session closed for user > sybase > Jul 16 15:44:27 SERVER1 kernel: EXT3-fs error (device sda1) in > start_transaction: Journal has aborted > Jul 16 15:44:44 SERVER1 last message repeated 327 times > Jul 16 15:44:52 SERVER1 clurgmgrd[4403]: status on fs "sybase" > returned 1 (generic error) > Jul 16 15:44:52 SERVER1 clurgmgrd[4403]: Stopping service sybase > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: unmounting > /opt/sybase-12.5 > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: Forcefully > unmounting /opt/sybase-12.5 > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5387 (sybase RUN_SYBAS /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5412 (sybase RUN_SYB_B /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5413 (sybase backupser /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 17124 (sybase bash /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 9756 (sybase bash /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5388 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in > start_transaction: Journal has aborted > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5827 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5828 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5829 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5830 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 5831 (sybase dataserve /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 clurgmgrd: [4403]: killing process > 9757 (sybase linux_kss /opt/sybase-12.5) > Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in > start_transaction: Journal has aborted > Jul 16 15:44:53 SERVER1 kernel: EXT3-fs error (device sda1) in > start_transaction: Journal has aborted > Jul 16 15:44:54 SERVER1 login(pam_unix)[17481]: session closed for user > sybase > Jul 16 15:45:04 SERVER1 clurgmgrd: [4403]: unmounting > /opt/sybase-12.5 > Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: unmounting /backup > Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: Forcefully > unmounting /backup > Jul 16 15:45:06 SERVER1 clurgmgrd: [4403]: killing process > 21668 (sybase bash /backup) > Jul 16 15:45:06 SERVER1 login(pam_unix)[21375]: session closed for user > sybase > Jul 16 15:45:16 SERVER1 clurgmgrd: [4403]: unmounting /backup > Jul 16 15:45:17 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh stop > Jul 16 15:45:17 SERVER1 clurgmgrd: [4403]: Removing IPv4 address > 192.168.88.100 from bond0 > Jul 16 15:45:27 SERVER1 clurgmgrd[4403]: Service sybase is > recovering > Jul 16 15:45:27 SERVER1 clurgmgrd[4403]: Recovering failed > service sybase > Jul 16 15:45:27 SERVER1 clurgmgrd: [4403]: Adding IPv4 address > 192.168.88.100 to bond0 > Jul 16 15:45:28 SERVER1 clurgmgrd: [4403]: mounting /dev/sda1 on > /opt/sybase-12.5 > Jul 16 15:45:28 SERVER1 kernel: kjournald starting. Commit interval 5 > seconds > Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning (device sda1): > ext3_clear_journal_err: Filesystem error recorded from previous mount: > IO failure > Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning (device sda1): > ext3_clear_journal_err: Marking fs in need of filesystem check. > Jul 16 15:45:28 SERVER1 kernel: EXT3-fs warning: mounting fs with > errors, running e2fsck is recommended > Jul 16 15:45:28 SERVER1 kernel: EXT3 FS on sda1, internal journal > Jul 16 15:45:28 SERVER1 kernel: EXT3-fs: recovery complete. > Jul 16 15:45:28 SERVER1 kernel: EXT3-fs: mounted filesystem with ordered > data mode. > Jul 16 15:45:29 SERVER1 clurgmgrd: [4403]: mounting /dev/sdb1 on > /backup > Jul 16 15:45:29 SERVER1 kernel: kjournald starting. Commit interval 5 > seconds > Jul 16 15:45:29 SERVER1 kernel: EXT3-fs warning: maximal mount count > reached, running e2fsck is recommended > Jul 16 15:45:29 SERVER1 kernel: EXT3 FS on sdb1, internal journal > Jul 16 15:45:29 SERVER1 kernel: EXT3-fs: mounted filesystem with ordered > data mode. > Jul 16 15:45:29 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh start > Jul 16 15:45:29 SERVER1 su(pam_unix)[27499]: session opened for user > sybase by (uid=0) > Jul 16 15:45:29 SERVER1 su(pam_unix)[27499]: session closed for user sybase > Jul 16 15:45:32 SERVER1 su(pam_unix)[27525]: session opened for user > sybase by (uid=0) > Jul 16 15:45:32 SERVER1 su(pam_unix)[27525]: session closed for user sybase > Jul 16 15:45:32 SERVER1 clurgmgrd[4403]: Service sybase started > Jul 16 15:45:32 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh status > Jul 16 15:46:02 SERVER1 clurgmgrd: [4403]: Executing > /etc/init.d/db.sh status > Jul 16 15:46:17 SERVER1 login(pam_unix)[26873]: session opened for user > sybase by LOGIN(uid=0) > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From hjnmolly at hetnet.nl Tue Jul 17 05:25:23 2007 From: hjnmolly at hetnet.nl (harold jn molly) Date: Tue, 17 Jul 2007 07:25:23 +0200 Subject: rsync questions In-Reply-To: References: <000601c7c81e$57993160$d301a8c0@juhuan.com> Message-ID: <1184649923.4079.5.camel@hjnmrhel.localdomain> You may discuss this with your dns administrator On Tue, 2007-07-17 at 00:12 -0400, Richard Riley wrote: > It looks like you may have had a glitch with your nameserver > communications and reverse lookup. Is the IP address listed a known > address and proper for the rsync operation? If so, then verify > reverse lookup is working with your DNS. If everything looks OK now, > I wouldn?t be concerned. > > Richard > > Procuri Inc. > > > > > From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin- > list-bounces at redhat.com] On Behalf Of jie > Sent: Monday, July 16, 2007 10:58 PM > To: redhat-sysadmin-list at redhat.com > Subject: rsync questions > > > > > Hi all > > > > > > Recently, in my log file /var/log/messeges, I found the below: > > > > > > hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service > not known > Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown > (192.168.2.3) > Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes > total size 1128662 > > > but my rsync result is normal. I want know what happends? > > > > > > > > > thanks, all > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From liangangjie at 163.com Tue Jul 17 02:58:24 2007 From: liangangjie at 163.com (jie) Date: Tue, 17 Jul 2007 10:58:24 +0800 Subject: rsync questions Message-ID: <000601c7c81e$57993160$d301a8c0@juhuan.com> Hi all Recently, in my log file /var/log/messeges, I found the below: hp rsyncd[1454]: name lookup failed for 192.168.2.3: Name or service not known Jul 16 23:59:36 hp rsyncd[1454]: rsync on bbs-vip from backup at unknown (192.168.2.3) Jul 16 15:59:36 hp rsyncd[1454]: wrote 11283 bytes read 9212 bytes total size 1128662 but my rsync result is normal. I want know what happends? thanks, all -------------- next part -------------- An HTML attachment was scrubbed... URL: From smal at ccmb.res.in Tue Jul 17 13:49:36 2007 From: smal at ccmb.res.in (Mahalingam Subramaniam) Date: Tue, 17 Jul 2007 19:19:36 +0530 (IST) Subject: shell script Message-ID: <28181558.1184680176918.JavaMail.root@mailserver> Dear All My Query is as follows: I have extracted the output and details of mail users mail inbox size with file path name. 140K /abcde/fghij/w001/wesley 26M /mnopq/rstuvwx/w001/wilson 1G /mnopq/rstuvwx/w001/alok 2G /mnopq/rstuvwx/w001/john Here, I want to extract and paste the output of only users whose inbox size is 1GB or more than 1GB using shell script "cat" (e.g.) cat mailstorage.txt (source file containing all users mail inbox size information) |awk -F ' ' '{print...... >> gboutput.txt (target file to paste the final output) similar to this. can anyone help me in scripting the required full script to achieve the desired result.? Many more thanks in advance. with kind regards s.mahalingam S.Mahalingam Bioinformatics Centre Centre for Cellular and Molecular Biology Habsiguda, Uppal Road, Hyderabad 500 007 Ph:+91-40-27192773, 27192774 +91-40-27160222 - 41 (20 Lines) Ext: 2773, 2774 Fax: :+91-40-27160591, 27160311 E-mail: smal at ccmb.res.in smal8 at yahoo.com http://www.ccmb.res.in -------------- next part -------------- An HTML attachment was scrubbed... URL: From joshua at itsecureadmin.com Tue Jul 17 14:07:16 2007 From: joshua at itsecureadmin.com (Joshua M. Miller) Date: Tue, 17 Jul 2007 07:07:16 -0700 Subject: shell script In-Reply-To: <28181558.1184680176918.JavaMail.root@mailserver> References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: <469CCD14.9080209@itsecureadmin.com> Try this: awk -F/ '/^[0-9]*G/ {print $5}' mailstorage.txt Thanks, -- Joshua M. Miller - RHCE,VCP Mahalingam Subramaniam wrote: > Dear All > > My Query is as follows: > > I have extracted the output and details of mail users mail inbox size > with file path name. > > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > > Here, I want to extract and paste the output of only users whose inbox > size is 1GB or more than 1GB using shell script "*cat" > * > (e.g.) *cat* *mailstorage.txt* (source file containing all users mail > inbox size information) *|awk -F ' ' '{print...... >>* *gboutput.txt* > (target file to paste the final output) similar to this. > > can anyone help me in scripting the required full script to achieve the > desired result.? > > Many more thanks in advance. > > with kind regards > s.mahalingam > > S.Mahalingam > Bioinformatics Centre > Centre for Cellular and Molecular Biology > Habsiguda, Uppal Road, Hyderabad 500 007 > > Ph:+91-40-27192773, 27192774 > +91-40-27160222 - 41 (20 Lines) > Ext: 2773, 2774 > Fax: :+91-40-27160591, 27160311 > > E-mail: > smal at ccmb.res.in > smal8 at yahoo.com > > http://www.ccmb.res.in > > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From joshua at itsecureadmin.com Tue Jul 17 14:08:24 2007 From: joshua at itsecureadmin.com (Joshua M. Miller) Date: Tue, 17 Jul 2007 07:08:24 -0700 Subject: shell script In-Reply-To: <28181558.1184680176918.JavaMail.root@mailserver> References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: <469CCD58.1080407@itsecureadmin.com> Possibly better formatted: awk -F/ '/^[0-9]*G/ {print $5, "-", $1}' mailstorage.txt Thanks, -- Joshua M. Miller - RHCE,VCP Mahalingam Subramaniam wrote: > Dear All > > My Query is as follows: > > I have extracted the output and details of mail users mail inbox size > with file path name. > > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > > Here, I want to extract and paste the output of only users whose inbox > size is 1GB or more than 1GB using shell script "*cat" > * > (e.g.) *cat* *mailstorage.txt* (source file containing all users mail > inbox size information) *|awk -F ' ' '{print...... >>* *gboutput.txt* > (target file to paste the final output) similar to this. > > can anyone help me in scripting the required full script to achieve the > desired result.? > > Many more thanks in advance. > > with kind regards > s.mahalingam > > S.Mahalingam > Bioinformatics Centre > Centre for Cellular and Molecular Biology > Habsiguda, Uppal Road, Hyderabad 500 007 > > Ph:+91-40-27192773, 27192774 > +91-40-27160222 - 41 (20 Lines) > Ext: 2773, 2774 > Fax: :+91-40-27160591, 27160311 > > E-mail: > smal at ccmb.res.in > smal8 at yahoo.com > > http://www.ccmb.res.in > > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From pc37 at utk.edu Tue Jul 17 14:21:09 2007 From: pc37 at utk.edu (Paul Cummins) Date: Tue, 17 Jul 2007 10:21:09 -0400 Subject: shell script In-Reply-To: <28181558.1184680176918.JavaMail.root@mailserver> References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: <469CD055.4030907@utk.edu> cat mailstorage.txt | grep G > gboutput.txt :) Mahalingam Subramaniam wrote: > Dear All > My Query is as follows: > I have extracted the output and details of mail users mail inbox size with file path name. > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > Here, I want to extract and paste the output of only users whose inbox size is 1GB or more than 1GB using shell script "cat" > (e.g.) cat mailstorage.txt (source file containing all users mail inbox size information) |awk -F ' ' '{print...... >> gboutput.txt (target file to paste the final output) similar to this. > can anyone help me in scripting the required full script to achieve the desired result.? > Many more thanks in advance. > with kind regards > s.mahalingam > S.Mahalingam > Bioinformatics Centre > Centre for Cellular and Molecular Biology > Habsiguda, Uppal Road, Hyderabad 500 007 > Ph:+91-40-27192773, 27192774 > +91-40-27160222 - 41 (20 Lines) > Ext: 2773, 2774 > Fax: :+91-40-27160591, 27160311 > E-mail: > smal at ccmb.res.in > smal8 at yahoo.com > http://www.ccmb.res.in > > > > ------------------------------------------------------------------------ > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list From CHort at caed.uscourts.gov Tue Jul 17 18:22:30 2007 From: CHort at caed.uscourts.gov (CHort at caed.uscourts.gov) Date: Tue, 17 Jul 2007 11:22:30 -0700 Subject: Cheree Hort/CAED/09/USCOURTS is out of the office. Message-ID: I will be out of the office starting 07/17/2007 and will not return until 07/23/2007. I will out of the office beginning at 11:00 am 07/17/2007 and will not return until 07/23/2007. From smal at ccmb.res.in Wed Jul 18 04:51:44 2007 From: smal at ccmb.res.in (Mahalingam Subramaniam) Date: Wed, 18 Jul 2007 10:21:44 +0530 (IST) Subject: shell script In-Reply-To: <469CCD58.1080407@itsecureadmin.com> Message-ID: <28192826.1184734304309.JavaMail.root@mailserver> Dear Joshua M. Miller The script which you had suggested is not generating any output on the console. kindly do the needful with kind regards s.mahalingam -- Original Message -- From: "Joshua M. Miller" To: redhat-sysadmin-list at redhat.com Cc: rhn-users at redhat.com Date: Tue, 17 Jul 2007 07:08:24 -0700 Subject: Re: shell script Possibly better formatted: awk -F/ '/^[0-9]*G/ {print $5, "-", $1}' mailstorage.txt Thanks, -- Joshua M. Miller - RHCE,VCP Mahalingam Subramaniam wrote: > Dear All > > My Query is as follows: > > I have extracted the output and details of mail users mail inbox size > with file path name. > > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > > Here, I want to extract and paste the output of only users whose inbox > size is 1GB or more than 1GB using shell script "*cat" > * > (e.g.) *cat* *mailstorage.txt* (source file containing all users mail > inbox size information) *|awk -F ' ' '{print...... >>* *gboutput.txt* > (target file to paste the final output) similar to this. > > can anyone help me in scripting the required full script to achieve the > desired result.? > > Many more thanks in advance. > > with kind regards > s.mahalingam > > S.Mahalingam > Bioinformatics Centre > Centre for Cellular and Molecular Biology > Habsiguda, Uppal Road, Hyderabad 500 007 > > Ph:+91-40-27192773, 27192774 > +91-40-27160222 - 41 (20 Lines) > Ext: 2773, 2774 > Fax: :+91-40-27160591, 27160311 > > E-mail: > smal at ccmb.res.in > smal8 at yahoo.com > > http://www.ccmb.res.in > > > ------------------------------------------------------------------------ > > -- > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hjnmolly at hetnet.nl Wed Jul 18 05:44:12 2007 From: hjnmolly at hetnet.nl (hjnmolly at hetnet.nl) Date: Wed, 18 Jul 2007 07:44:12 +0200 Subject: shell script References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: You may need this cat "object" | (e)grep "occurrence" | http://www.vectorsite.net/tsawk.html -----Original Message----- From: redhat-sysadmin-list-bounces at redhat.com on behalf of Mahalingam Subramaniam Sent: Tue 7/17/2007 3:49 PM To: redhat-sysadmin-list at redhat.com Cc: rhn-users at redhat.com Subject: shell script Dear All My Query is as follows: I have extracted the output and details of mail users mail inbox size with file path name. 140K /abcde/fghij/w001/wesley 26M /mnopq/rstuvwx/w001/wilson 1G /mnopq/rstuvwx/w001/alok 2G /mnopq/rstuvwx/w001/john Here, I want to extract and paste the output of only users whose inbox size is 1GB or more than 1GB using shell script "cat" (e.g.) cat mailstorage.txt (source file containing all users mail inbox size information) |awk -F ' ' '{print...... >> gboutput.txt (target file to paste the final output) similar to this. can anyone help me in scripting the required full script to achieve the desired result.? Many more thanks in advance. with kind regards s.mahalingam S.Mahalingam Bioinformatics Centre Centre for Cellular and Molecular Biology Habsiguda, Uppal Road, Hyderabad 500 007 Ph:+91-40-27192773, 27192774 +91-40-27160222 - 41 (20 Lines) Ext: 2773, 2774 Fax: :+91-40-27160591, 27160311 E-mail: smal at ccmb.res.in smal8 at yahoo.com http://www.ccmb.res.in -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsbillin at Princeton.EDU Wed Jul 18 11:58:40 2007 From: jsbillin at Princeton.EDU (Jonathan Billings) Date: Wed, 18 Jul 2007 07:58:40 -0400 Subject: shell script In-Reply-To: <28181558.1184680176918.JavaMail.root@mailserver> References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: <20070718115840.GR3172@princeton.edu> On Tue, Jul 17, 2007 at 07:19:36PM +0530, Mahalingam Subramaniam wrote: > Dear All > > My Query is as follows: > > I have extracted the output and details of mail users mail inbox size with > file path name. > > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > > Here, I want to extract and paste the output of only users whose inbox > size is 1GB or more than 1GB using shell script "cat" > (e.g.) cat mailstorage.txt (source file containing all users mail inbox > size information) |awk -F ' ' '{print...... >> gboutput.txt (target file > to paste the final output) similar to this. I'd probably use perl, since it can save you some effort perl -nale 'print((split("/",$F[1]))[-1]) if $F[0]=~/^\d+G/' mailstorage.txt (If you'd like me to explain what I'm doing, let me know. I realize some people think perl resembles line noise.) Also, I'd like to note, typing 'cat file.txt | awk ...' or 'cat file.txt | grep ...' generates a useless pipe. Just pass the file as an argument to awk or grep, they can handle the file I/O. This can save a lot of memory and time if you are working with very large files. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From jsbillin at Princeton.EDU Wed Jul 18 12:56:11 2007 From: jsbillin at Princeton.EDU (Jonathan S. Billings) Date: Wed, 18 Jul 2007 08:56:11 -0400 Subject: shell script In-Reply-To: <26027486.1184761669187.JavaMail.root@127.0.0.1> References: <26027486.1184761669187.JavaMail.root@127.0.0.1> Message-ID: <469E0DEB.102@princeton.edu> Mahalingam Subramaniam wrote: > > > cud u plz. explain the proces involved in this perl script comprehensively. Sure, it's actually quite simple: I run 'perl -nale' this means that: 1.) -n means that it will run through every line in the input file, but not print it. 2.) -a means autosplit. This automatically breaks up each line into an array @F. It removes the whitespace. 3.) -l means every time you print something, it puts a newline at the end of the line. 4.) -e means 'execute the following as a perl script' Then, I have the short oneliner: 'print((split("/",$F[1]))[-1]) if $F[0]=~/^\d+G/' This code, when written in english, does: Print the last element in the path (the second object in the input) if the first object of the input is a number (or several numbers) followed by 'G'). I chose perl because there were a couple situations I wanted to account for, and perl handled them better. For example, is there whitespace before the size? Is the username always the 4th item in the path? I suppose, if you really wanted to use awk, you could do something like this: awk '/^[0-9 \t]*G/ {print $2}' mailstorage.txt | xargs -n 1 basename (notice I include a space and a tab in the awk search pattern, just in case your file has whitespace at the beginning of each line). 'xargs -n 1' will pass every line in the output of the awk statement to 'basename', which will strip off the leading components of a path. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From joshua at itsecureadmin.com Wed Jul 18 13:37:25 2007 From: joshua at itsecureadmin.com (Joshua M. Miller) Date: Wed, 18 Jul 2007 06:37:25 -0700 Subject: shell script In-Reply-To: References: <28181558.1184680176918.JavaMail.root@mailserver> Message-ID: <469E1795.2070507@itsecureadmin.com> The cat is completely unnecessary... I used the same data that you presented as an example in creating that command so it should have worked, although it looks like you have received some help in perl which may or may not be better for you. Thanks, -- Joshua M. Miller - RHCE,VCP hjnmolly at hetnet.nl wrote: > You may need this > cat "object" | (e)grep "occurrence" | http://www.vectorsite.net/tsawk.html > > > -----Original Message----- > From: redhat-sysadmin-list-bounces at redhat.com on behalf of Mahalingam > Subramaniam > Sent: Tue 7/17/2007 3:49 PM > To: redhat-sysadmin-list at redhat.com > Cc: rhn-users at redhat.com > Subject: shell script > > > Dear All > My Query is as follows: > I have extracted the output and details of mail users mail inbox size > with file path name. > 140K /abcde/fghij/w001/wesley > 26M /mnopq/rstuvwx/w001/wilson > 1G /mnopq/rstuvwx/w001/alok > 2G /mnopq/rstuvwx/w001/john > Here, I want to extract and paste the output of only users whose inbox > size is 1GB or more than 1GB using shell script "cat" > (e.g.) cat mailstorage.txt (source file containing all users mail inbox > size information) |awk -F ' ' '{print...... >> gboutput.txt (target file > to paste the final output) similar to this. > can anyone help me in scripting the required full script to achieve the > desired result.? > Many more thanks in advance. > with kind regards > s.mahalingam > S.Mahalingam > Bioinformatics Centre > Centre for Cellular and Molecular Biology > Habsiguda, Uppal Road, Hyderabad 500 007 > Ph:+91-40-27192773, 27192774 > +91-40-27160222 - 41 (20 Lines) > Ext: 2773, 2774 > Fax: :+91-40-27160591, 27160311 > E-mail: > smal at ccmb.res.in > smal8 at yahoo.com > http://www.ccmb.res.in > > > ------------------------------------------------------------------------ > > -- > 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 Wed Jul 18 14:15:43 2007 From: jsbillin at Princeton.EDU (Jonathan S. Billings) Date: Wed, 18 Jul 2007 10:15:43 -0400 Subject: shell script In-Reply-To: <28192826.1184734304309.JavaMail.root@mailserver> References: <28192826.1184734304309.JavaMail.root@mailserver> Message-ID: <469E208F.4070809@princeton.edu> Mahalingam Subramaniam wrote: > The script which you had suggested is not generating any output on the > console. kindly do the needful After thinking about this a little more, I realized that your input file probably was generated by 'du -h', which probably means that several of the files that are greater than 1G have decimals in them (1.2G), so many of the example solutions, including mine, will fail to find them. You didn't give any examples of this case, but if my guess is correct, you'll have to alter the solutions you were given to include a decimal character in the search pattern. -- Jonathan Billings Computational Science and Engineering Support (CSES) http://www.princeton.edu/~cses/ From Roberto.Quagliozzi at edftrading.com Thu Jul 19 10:52:18 2007 From: Roberto.Quagliozzi at edftrading.com (Roberto.Quagliozzi at edftrading.com) Date: Thu, 19 Jul 2007 11:52:18 +0100 Subject: EMC / CIFS Mount Problems on RHEL5 Message-ID: Hi All, I have a very frustrating problem with some CIFS mounts that are being presented out of an EMC Celerra NAS. Essentially, after it's mounted, I can see the mount point, and list directory contents but I cannot read OR write to the drive (it's not permissioning either, I've checked that). If I copy a file from the mounted share to local storage it just sits there, and I get the following in messages: Jul 19 11:26:04 mcblblue25 kernel: CIFS VFS: RFC1001 size 135 bigger than SMB for Mid=28 Jul 19 11:26:58 mcblblue25 kernel: CIFS VFS: server not responding Jul 19 11:26:58 mcblblue25 kernel: CIFS VFS: No response for cmd 162 mid 28 This then repeats ad-infinitum and I get no file copied... the offending fstab line is this:- //pwrntsrv05.edftrading.com/share /mnt/nt/share cifs credentials=/etc/cifspass 0 0 I've tried changing cifs for smbfs but it's no longer compiled into the kernel. I've also downloaded the latest version of Samba and tried mount.cifs from that, still no joy. Tried on Fedora 7 (2.6.21-1) and same problem. Seems to work on Ubuntu (2.6.20 i think) though... Anyone seen this before? Know how to get round it? - or is it a kernel recompile (something I'd rather not do for a production environment)??? I should point out that this doesn't happen when connecting to shares on a Windows box - only on the NAS. Thanks Rob Q Rob Quagliozzi Enterprise Systems Architect EDF Trading W: +44 (0) 20 7061 4381 M: +44 (0) 7894 165372 roberto.quagliozzi at edftrading.com ********************************************************************* This communication contains confidential information, some or all of which may be privileged. It is for the intended recipient only and others must not disclose, distribute, copy, print or rely on this communication. If an addressing or transmission error has misdirected this communication, please notify the sender by replying to this e-mail and then delete the e-mail. E-mail sent to EDF Trading may be monitored by the company. Thank you. EDF Trading Markets Limited 71 High Holborn, London WC1V 6ED A Company registered in England No. 4255974. Switchboard: 020 7061 4000 EDF Trading Markets Limited is a member of the EDF Trading Limited Group and is authorised and regulated by the Financial Services Authority. VAT number: GB 735 5479 07 ********************************************************************* From jdf.lists at gmail.com Fri Jul 20 21:43:06 2007 From: jdf.lists at gmail.com (Joshua Daniel Franklin) Date: Fri, 20 Jul 2007 14:43:06 -0700 Subject: inode to file tool Message-ID: <67437bc40707201443h6378b1bej4f9dd8d3166be77@mail.gmail.com> I'm getting some lovely messages from a fsck on a fileserver... I seem to remember a tool that would take an inode as input and output a filesystem path but I don't remember it's name and web search isn't turning anything up. Rsyncing the whole thing from backup takes ~40 minutes, so I'd rather find the one file if possible. fsck output: Inode 38437064 has compression flag set on filesystem without compression support. Clear? yes Inode 38437064 has INDEX_FL flag set but is not a directory. Clear HTree index? yes Inode 38437064, i_size is 4743252898007582980, should be 0. Fix? yes Inode 38437064, i_blocks is 1101567872, should be 0. Fix? yes From icomfort at rescomp.stanford.edu Fri Jul 20 22:03:17 2007 From: icomfort at rescomp.stanford.edu (Ian Ward Comfort) Date: Fri, 20 Jul 2007 15:03:17 -0700 Subject: inode to file tool In-Reply-To: <67437bc40707201443h6378b1bej4f9dd8d3166be77@mail.gmail.com> References: <67437bc40707201443h6378b1bej4f9dd8d3166be77@mail.gmail.com> Message-ID: <50687978-31A1-4BB5-8FE8-75B9CF39C98B@rescomp.stanford.edu> On Jul 20, 2007, at 2:43 PM, Joshua Daniel Franklin wrote: > I'm getting some lovely messages from a fsck on a fileserver... I > seem to remember a tool that would take an inode as input and > output a filesystem path but I don't remember it's name and web > search isn't turning anything up. There's always find(1) if the filesystem is mounted. $ find /your/mount/point -xdev -inum XXX Of course, there needn't be such a path in the general case since the inode could be unlinked. --IWC From irwan at magnifix.com.my Fri Jul 27 14:19:06 2007 From: irwan at magnifix.com.my (Mohd Irwan) Date: Fri, 27 Jul 2007 22:19:06 +0800 Subject: System Administrator Appreciation Day Message-ID: <1185545946.26069.0.camel@kuli.magnifix.com.my> Happy SysAdmin Day from me :) http://www.sysadminday.com/ -- Regards, +--------------------------------+-------------------------------------+ | Mohd Irwan Jamaluddin | "Being a Bayern Munich fan is like | | ## System Engineer, | a love affair. If you don't take | | (o_ Magnifix Sdn. Bhd. | it seriously, it is no fun; if | | //\ Tel: +60 3 42705073 | you do take it seriously, it | | V_/_ Fax: +60 3 42701960 | breaks your heart." | | http://www.magnifix.com/ | | +--------------------------------+-------------------------------------+