Re: ZFS or LVM2 on Debian?

2008-10-10 Thread John McKown
On Thu, 9 Oct 2008, Kirk Wolf wrote:

snip
 I would recommend using the following DCB for redirecting tar output
 to optimize the I/O, since todsn uses QSAM to write records,
 and the following would perform better:

 //TAROUT DD DSN=TAR.OUT,
 // RECFM=U,BLKSIZE=27998,DSORG=PS,
 // UNIT=(SYSDA,10),
 // SPACE=(CYL,(200,10))


WOW! Did that ever make a difference. Using FB took 45.82 minutes of CPU.
Doing the exact same thing with U took only 1.33 minutes of CPU. I was
already bypassing the SSH tunnel on the todsn.

--
Q: What do theoretical physicists drink beer from?
A: Ein Stein.

Maranatha!
John McKown

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SFTP running batch - using no password.

2008-10-10 Thread Eddie Chen
I want to the message.log on the target server... Any way the .ssh
directory was set at   777
The /home/echen  was once  used  as /tmp for migrating data from UNIX to
LINUX  in the past.
 I chmod   to 700



Mark Post
 [EMAIL PROTECTED]
   To
Sent by: Linux LINUX-390@VM.MARIST.EDU
 on 390 Portcc
 [EMAIL PROTECTED]
 IST.EDU  Subject
   Re: SFTP  running batch - using no
   password.
10/09/2008
 08:11 PM


 Please respond to
 Linux on 390 Port
 [EMAIL PROTECTED]
 IST.EDU






 On 10/9/2008 at  8:08 PM, in message 48EE9CF5.2BB : 109 : 19601, Mark
Post
wrote:
  On 10/9/2008 at  6:22 PM, in message
 [EMAIL PROTECTED],
Eddie Chen
 [EMAIL PROTECTED] wrote:
 On the client(user sysadmin)

  I issue the ssh-keygen -t dsa
  scp the  public version to the other server /home/echen
  ssh to echen and  cd ~/.ssh , touch  authorized_keys
  and cat ../pub  authorized_keys

 Sounds like you need to run a second sshd process on the other system
(using
 a different port) in debug mode with the verbosity turned up to find out
 what's wrong.  It might be file/directory permissions, or something else
 entirely.

Looking at your orginal note again, I suppose another possibility is that
you're initiating this command from user sysadmin, but you said (above)
that you put the public key in /home/echen/.ssh/authorized_keys instead of
/home/sysadmin/.ssh/authorized_keys.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390







Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Add LDAP support to PHP

2008-10-10 Thread Jones, Russell
I seem to have messed up my system pretty good. After I built and
installed the ldap client package the system quit responding. I ipl'ed
and it took forever (about 45 min) for the system to come up. I didn't
see any errors on the console, but the system still would not respond
when it came up. I cannot get to it by ssh or ftp. The good news is that
it is a test system. The bad news is that I have some files on it that I
would really like to recover.

I tried bringing the dasd of the broken system online to another linux
system so I could at least recover my files. I get the following
message:

[EMAIL PROTECTED]:/mnt/cloneVol# mount /dev/dasdb1 /mnt/cloneVol
mount: wrong fs type, bad option, bad superblock on /dev/dasdb1,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

syslog says:

dasd: waiting for responses...
dasd(eckd): /dev/dasdb  ( 94:  4),[EMAIL PROTECTED]: (4kB blks): 7212240kB at
48kB/trk compatible disk layout
 dasdb:VOL1/  LNXRS3: dasdb1 dasdb2
EXT2-fs: dasd(94,5): couldn't mount because of unsupported optional
features (400).
VFS: Can't find ext3 filesystem on dev dasd(94,4). 

Any suggestions on how to recover my files from the broken system are
much appreciated,  

Russell Jones 
ANPAC

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, October 09, 2008 1:47 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Add LDAP support to PHP

 On 10/9/2008 at  2:09 PM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
-snip-
 Do I need to have some type of ldap package installed to do this
build?

That would probably be a good idea.  See
ftp://ftp.slackware.com/pub/slackware/slackware-12.1/source/n/openldap-c
lient/


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


SFTP for JAVA

2008-10-10 Thread Eddie Chen
Does any one knows where I can get a Free OPEN SFTP for JAVA.






Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Add LDAP support to PHP

2008-10-10 Thread Mark Post
 On 10/10/2008 at 11:59 AM, in message
[EMAIL PROTECTED],
Jones, Russell [EMAIL PROTECTED] wrote: 
 I seem to have messed up my system pretty good. After I built and
 installed the ldap client package the system quit responding. I ipl'ed
 and it took forever (about 45 min) for the system to come up. I didn't
 see any errors on the console, but the system still would not respond
 when it came up.

Do you mean you could not logon from the console?  If so, did you see a login 
prompt?  Did the system accept the userid and password, and then not finish 
signing you on?

 I cannot get to it by ssh or ftp. The good news is that
 it is a test system. The bad news is that I have some files on it that I
 would really like to recover.
 
 I tried bringing the dasd of the broken system online to another linux
 system so I could at least recover my files. I get the following
 message:
 
 [EMAIL PROTECTED]:/mnt/cloneVol# mount /dev/dasdb1 /mnt/cloneVol
 mount: wrong fs type, bad option, bad superblock on /dev/dasdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 
 syslog says:
 
 dasd: waiting for responses...
 dasd(eckd): /dev/dasdb  ( 94:  4),[EMAIL PROTECTED]: (4kB blks): 7212240kB at
 48kB/trk compatible disk layout
  dasdb:VOL1/  LNXRS3: dasdb1 dasdb2
 EXT2-fs: dasd(94,5): couldn't mount because of unsupported optional
 features (400).
 VFS: Can't find ext3 filesystem on dev dasd(94,4). 

I would try to IPL the system from the installation kernel and ramdisk.  You 
should be able to get the volume mounted and the network started from there 
without interference from the openLDAP stuff (if that is what is causing the 
issue).


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SFTP for JAVA

2008-10-10 Thread Stewart Thomas J
I don't know that these are free, but for reference we did research this some 
time ago and I still had these in my notes:


... but I was looking into it at one point and jcraft was one on my list I 
remember:
http://www.jcraft.com

Another appears to be http://www.jscape.com (google search).


Thanks,

__
Tom Stewart
Infrastructure Analyst
John Deere - z/OS Support Services
em: [EMAIL PROTECTED]
__




-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Eddie Chen
Sent: Friday, October 10, 2008 11:24 AM
To: LINUX-390@VM.MARIST.EDU
Subject: SFTP for JAVA

Does any one knows where I can get a Free OPEN SFTP for JAVA.






Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment to it is 
privileged, confidential and protected from disclosure.  If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.
If you have received this communication in error, please notify the sender 
immediately by replying to the message, and please delete it from your system. 
Thank you.  NYSE Euronext, Inc.

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
[EMAIL PROTECTED] with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Add LDAP support to PHP

2008-10-10 Thread Jones, Russell
My system is back to normal now. I found that I could enter commands
at the HMC even though the response was extremely slow. I did a
removepkg on the ldap client and things went back to normal. I am back
to my original problem now getting ldap to work with php. I get this
error when starting apache:

Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server:
libldap-2.3.so.0: cannot open shared object file: No such file or
directory
/usr/sbin/apachectl start: httpd could not be started

I am not sure where to get the libldap module from. I'll see what I can
find out.

Thanks,

Russell Jones 
ANPAC

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Friday, October 10, 2008 12:25 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Add LDAP support to PHP

 On 10/10/2008 at 11:59 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
 I seem to have messed up my system pretty good. After I built and
 installed the ldap client package the system quit responding. I ipl'ed
 and it took forever (about 45 min) for the system to come up. I didn't
 see any errors on the console, but the system still would not respond
 when it came up.

Do you mean you could not logon from the console?  If so, did you see a
login prompt?  Did the system accept the userid and password, and then
not finish signing you on?

 I cannot get to it by ssh or ftp. The good news is that
 it is a test system. The bad news is that I have some files on it that
I
 would really like to recover.
 
 I tried bringing the dasd of the broken system online to another linux
 system so I could at least recover my files. I get the following
 message:
 
 [EMAIL PROTECTED]:/mnt/cloneVol# mount /dev/dasdb1 /mnt/cloneVol
 mount: wrong fs type, bad option, bad superblock on /dev/dasdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so
 
 syslog says:
 
 dasd: waiting for responses...
 dasd(eckd): /dev/dasdb  ( 94:  4),[EMAIL PROTECTED]: (4kB blks): 7212240kB at
 48kB/trk compatible disk layout
  dasdb:VOL1/  LNXRS3: dasdb1 dasdb2
 EXT2-fs: dasd(94,5): couldn't mount because of unsupported optional
 features (400).
 VFS: Can't find ext3 filesystem on dev dasd(94,4). 

I would try to IPL the system from the installation kernel and ramdisk.
You should be able to get the volume mounted and the network started
from there without interference from the openLDAP stuff (if that is what
is causing the issue).


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


SAMBA/CUPS on SLES10 SP2 ...

2008-10-10 Thread Terry Spaulding
List,

I am working with SAMBA/CUPS for printing on SLES10 SP2 for the first time.

I have CUPS enabled and can print from the Linux guest to the printer as
LPD or IPP.

For now all I want to do is simple printing from Linux to the Printer which
is working and printing from Windows desktop to the printer which is not
working.

No security for printing initially.

I am having problems with printing from a Windows desktop to the printer
thru Linux/CUPS. When I define the printer in Windows it comes back with a
message that the printer
is not spelled correctly or is not found.

Searching thru the Marist Listserve Archive I see that CUPS by default does
not open or open port 515 for LPD which it is not open at this time.

I believe I saw something that says you also must setup or start CUPS-LPD ?

Will setting up the CUPS-LPD open port 515 ?

That inetd or xinetd may need to be enabled with a printer definition in
it ?

The desktops and the printer have the IP address in the same subnet but the
Linux guest with SAMBA and CUPS is on a different subnet.
Is there something I need to do to make sure that the printer or CUPS
printer is broadcast to all subnets ?

Most everything I can find on SAMBA/CUPs is a bit dated except for the
presentations I have found.

Any guidance here would be appreciated.

TIA 

Regards,
Terry L. Spaulding
[EMAIL PROTECTED]

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: SAMBA/CUPS on SLES10 SP2 ...

2008-10-10 Thread Mark Post
 On 10/10/2008 at  3:48 PM, in message
[EMAIL PROTECTED], Terry
Spaulding [EMAIL PROTECTED] wrote: 
-snip-
 I am having problems with printing from a Windows desktop to the printer
 thru Linux/CUPS. When I define the printer in Windows it comes back with a
 message that the printer
 is not spelled correctly or is not found.
 
 Searching thru the Marist Listserve Archive I see that CUPS by default does
 not open or open port 515 for LPD which it is not open at this time.
 
 I believe I saw something that says you also must setup or start CUPS-LPD ?
 
 Will setting up the CUPS-LPD open port 515 ?

I've never heard of cups-lpd.  What a lot of people do is set up the printer in 
Samba, tell Samba to use CUPS for printing, and then on the Windows systems, 
point to the Samba printer.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Add LDAP support to PHP

2008-10-10 Thread Mark Post
 On 10/10/2008 at  3:24 PM, in message
[EMAIL PROTECTED],
Jones, Russell [EMAIL PROTECTED] wrote: 
 My system is back to normal now. I found that I could enter commands
 at the HMC even though the response was extremely slow. I did a
 removepkg on the ldap client and things went back to normal. I am back
 to my original problem now getting ldap to work with php. I get this
 error when starting apache:
 
 Syntax error on line 6 of /etc/apache/mod_php.conf:
 Cannot load /usr/libexec/apache/libphp4.so into server:
 libldap-2.3.so.0: cannot open shared object file: No such file or
 directory
 /usr/sbin/apachectl start: httpd could not be started
 
 I am not sure where to get the libldap module from. I'll see what I can
 find out.

I'm pretty sure it was in the openldap-client package you just removed.  Look 
at the list of files that were in the openldap-client package.  You can do this 
by looking in /var/log/removed_packages/ directory.  If there was anything in 
/etc, such as nsswitch.conf, or other configuration files, you probably want to 
configure those when (or before) you reinstall the package.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


FW: [LINUX-390] Change the Linux from VSWITCH to DEDICATEd OSA

2008-10-10 Thread Marcy Cortes


-OK,

I went and tried it with the sles10 sp2 rescue system image from the DVD to
make sure it wasn't my guest.
Same problem.

I then went and tried the sles10 SP2 rescue system image from a z9 with z/VM
5.3 That worked.

So, I'm sure the HW is fine (it runs the vswitch - why couldn't it run it
dedicated, right?)

So, it's likely z/VM 5.4, or perhaps the z10 - but I find that hard to
believe since the OSA does function on vswitch.

I guess I'll open a PMR.


Marcy




Yep, same chpid.
This is on a z10, z/VM 5.4, sles 10 sp2.
Maybe I should go try in on a z9, z/VM 5.3 and sles9 sp4 just for grins

since it sounds like it ought to work!




Marcy


This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.


-Original Message-
From: Linux on 390 Port [EMAIL PROTECTED] On Behalf Of Mark Post
Sent: Tuesday, October 07, 2008 3:56 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: [LINUX-390] Change the Linux from VSWITCH to DEDICATEd OSA
addresses

 On 10/7/2008 at  6:46 PM, in message

Marcy Cortes [EMAIL PROTECTED] wrote:
 But that's got to be a big lie :) --- it is working if it is on a
 vswitch.  Just not with dedicates.
 The cables are happy.  The ports are happy.  The physical switch is
 happy.

Are you sure what is/was being used for the VSWITCH is on the same CHPID as
the new device you're trying to use?  Each card has two possible cable
connections (4 with the new z10s).


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


smime.p7s
Description: S/MIME cryptographic signature