Re: SSH Null Passphrase (originally Re: ZFS or LVM2 on Debian?)

2008-10-09 Thread Chase, John
 -Original Message-
 From: Linux on 390 Port On Behalf Of John McKown
 
 On Wed, 8 Oct 2008, Larry Ploetz wrote:
 
 snip
  - Larry
 
  PS wow, I guess it's been a while since I've touched MVS...ah, z/OS
-
 -
  lrecl 1, blocksize 0?!?
 
 Well, that is my own weird idea of how to store byte stream data.
The
 RECFM=FB says that it is fixed blocked. LRECL=1 because it is a byte
 stream (no real records in the z/OS sense). The BLKSIZE=0 is somewhat
 new. It tells z/OS: Look at the device and use the optimal BLKSIZE
for
 that specific device. Instead of hard coding. z/OS usually picks
1/2
 track blocking on DASD and 32760 on tape.

How many I/Os would it take to read/write, say, the U.S. Declaration of
Independence?

-jc-

--
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: ZFS or LVM2 on Debian?

2008-10-09 Thread Kirk Wolf
A clarification on the open source status of Co:Z

- The Co:Z binaries for z/OS are free under a binary-only Apache 2
license (no souce).

- The toolkit for distributed systems, such as Linux, *is* open source
(GPL V2).
  There are LSB packages available for Linux - IA32 and z/31, z/64
bit, or you can build from source with a standard make/make install.
  We would welcome any opportunities to get the package included in
any Linux distribution.

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))

Also, I would suggest that if you are looking at doing high-volume
data transfers over a secure network between z/OS and Linux on z that
you might want to exploit a feature in Co:Z that allows you to use SSH
for the login connection but to pipe the data over separate
clear-channel sockets rather than tunneling back through the SSH
connection, which is the default.   This avoids the CPU overhead of
SSH encryption and allows you to fully exploit something like
hypersockets with minimal overhead and maximum speed.

Of course, backups are only one thing that you could schedule from
z/OS... you might also do things like run a job to extract data from
DB2 and pipe it into a program that loads it into an Oracle database
on Linux (or vice versa).  The advantage of using Co:Z and pipes is
that processing can be concurrent with the data transfer, rather than
one-at-a-time if you were to use a traditional file-transfer approach.
There are some other examples of using Co:Z in the most recent
issue of the ZJournal magazine: Extending z/OS with Linux: A
Multi-protocol File Exchange Gateway.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com


On Wed, Oct 8, 2008 at 11:17 AM, John McKown [EMAIL PROTECTED] wrote:
 I didn't see the original message. Apparently the OP wants to backup
 RHEL/Intel files on z/OS. I will mention a very nice product which is
 free, but not open source. It is Co:Z from Dovetailed Technologies.

 http://www.dovetail.com

 What this can do is establish an SSH session from z/OS to any Linux box
 which is running sshd. On the Linux box, there are some programs
 installed. Then, on the z/OS side of the world, you can run a jobstep
 similar to:

 //BACKUP EXEC PROC=COZPROC,
 // ARGS='[EMAIL PROTECTED]'
 //STDIN DD *
 cd /sub/directory/to/back/up
 tar cjv * |\
 todsn -b '//DD:TAROUT'
 /*
 //TAROUT DD DSN=output.file,
 // RECFM=FB,LRECL=1,BLKSIZE=0,DSORG=PS,
 // UNIT=(SYSDA,10),
 // SPACE=(CYL,(200,10))
 //

 The above puts the output of the tar command on the file output.file on
 the z/OS system. Unfortunately, as shown, it requires that the RACF id on
 the z/OS system have a UNIX UID and home directory which contains
 ~/.ssh/id_rsa file and that file have a null passphrase which is
 appropriate to ssh onto the given Linux box with the given Linux ID.

 Another possibility is that the todsn command on the Linux box could be
 used to output to a z/OS dataset without the use of a batch job. This is
 more complicated, but I think would look something like:

 tar cj * | todsn -b -ssh [EMAIL PROTECTED] //'EXISTING.DSN'

 This would overwrite 'EXISTING.DSN'. This program can also create a new
 z/OS dataset, but the command would be long and involved to specify the
 DCB and SPACE characteristics.

 Just thought that I'd mention this. I don't know if anybody is interested
 or not.

 --
 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


--
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-09 Thread Jones, Russell
The build job creates the package, but when I install it, there is no
php load module(libphp4.so).

I see the following errors in the build output:

.
.
.
checking for Apache 1.x module support via DSO through APXS... 

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/sbin/apxs follows
loading cache ./config.cache
checking host system type... s390-ibm-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... yes
checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
.
.
.
I don't see apxs on my system and I don't see a package for it. I am not
sure what it is, or if this is even the cause of my problem.  

Thanks, 

Russell Jones 
ANPAC

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

 On 10/7/2008 at  3:32 PM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
 Thanks for the script. I guess I will need a little more help. Will I
 need to download the php source or is it stored somewhere on my
system?

If you downloaded the /source part of the tree, it should be on your
system.  If not, you should download the whole /source/n/php/ directory.

 Do I need to run the build script from the same directory as the
package

Yes.  Before you do, make sure you bump the build number of the package,
and set an environment variable ARCH to s390.

 source? Will I need to reinstall or upgrade the package after it is
 built? 

Yes, upgradepkg will be what you need.  Pat and I both try to make sure
that SlackBuild scripts don't write anything into your production file
system.  If that can't be done, a different script name is used.


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


Re: Add LDAP support to PHP

2008-10-09 Thread Jones, Russell
I think that I got it. The perl path had to be changed in the apxs
script. I think that I got a good php build. 

Russell Jones 

-Original Message-
From: Jones, Russell 
Sent: Thursday, October 09, 2008 9:26 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I did find apxs on my system and the path in the script is correct, so I
don't think that is the problem. I also see the following in my output:

./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
such file or directory
configure: error: Aborting
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
make: *** No rule to make target `distclean'.  Stop.
chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
directory

I wonder if the perl path is wrong. Perl on my system in at
/usr/bin/perl, but I don't see anywhere in the build script to set the
perl path. 

Russell Jones 
ANPAC
System Programmer

-Original Message-
From: Jones, Russell 
Sent: Thursday, October 09, 2008 9:03 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

The build job creates the package, but when I install it, there is no
php load module(libphp4.so).

I see the following errors in the build output:

.
.
.
checking for Apache 1.x module support via DSO through APXS... 

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/sbin/apxs follows
loading cache ./config.cache
checking host system type... s390-ibm-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... yes
checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
.
.
.
I don't see apxs on my system and I don't see a package for it. I am not
sure what it is, or if this is even the cause of my problem.  

Thanks, 

Russell Jones 
ANPAC

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

 On 10/7/2008 at  3:32 PM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
 Thanks for the script. I guess I will need a little more help. Will I
 need to download the php source or is it stored somewhere on my
system?

If you downloaded the /source part of the tree, it should be on your
system.  If not, you should download the whole /source/n/php/ directory.

 Do I need to run the build script from the same directory as the
package

Yes.  Before you do, make sure you bump the build number of the package,
and set an environment variable ARCH to s390.

 source? Will I need to reinstall or upgrade the package after it is
 built? 

Yes, upgradepkg will be what you need.  Pat and I both try to make sure
that SlackBuild scripts don't write anything into your production file
system.  If that can't be done, a different script name is used.


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


Re: Add LDAP support to PHP

2008-10-09 Thread Mark Post
 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED],
Jones, Russell [EMAIL PROTECTED] wrote: 
 I did find apxs on my system and the path in the script is correct, so I
 don't think that is the problem. I also see the following in my output:
 
 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory
 
 I wonder if the perl path is wrong. Perl on my system in at
 /usr/bin/perl, but I don't see anywhere in the build script to set the
 perl path. 

I've run into similar problems with packages not being able to figure out where 
things were.  The simplest thing to do is to create a symbolic link:
ln -s /usr/bin/perl /usr/local/bin/perl


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-09 Thread Jones, Russell
I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap: 

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones 
ANPAC

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

 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
 I did find apxs on my system and the path in the script is correct, so
I
 don't think that is the problem. I also see the following in my
output:
 
 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory
 
 I wonder if the perl path is wrong. Perl on my system in at
 /usr/bin/perl, but I don't see anywhere in the build script to set the
 perl path. 

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


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


Re: SSH Null Passphrase (originally Re: ZFS or LVM2 on Debian?)

2008-10-09 Thread Edmund R. MacKenty
On Thursday 09 October 2008 08:25, Chase, John wrote:
 -Original Message-
 From: Linux on 390 Port On Behalf Of John McKown
 The RECFM=FB says that it is fixed blocked. LRECL=1 because it is a byte
 stream (no real records in the z/OS sense). The BLKSIZE=0 is somewhat
 new. It tells z/OS: Look at the device and use the optimal BLKSIZE
for that specific device. Instead of hard coding. z/OS usually picks
1/2 track blocking on DASD and 32760 on tape.

How many I/Os would it take to read/write, say, the U.S. Declaration of
Independence?

Depends on what the block size of your parchment device is.  It's been a while
since I used such a device, but seem to I remember they have a variable block
size that depended on both the skill of the writer and the quality of their
eyesight.   :-) ;-)
- MacK.
-
Edmund R. MacKenty
Software Architect
Rocket Software, Inc.
Newton, MA USA

--
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-09 Thread James Tison

No, it just looks like your compiler version is a little far ahead of the
one the LDAP developers used. As long as they're just warnings (not
errors), keep going. Make sure you test the finished product, although
these particular warnings appear harmless.

--Jim--


   
  From:   Jones, Russell [EMAIL PROTECTED]   
   
  To: LINUX-390@VM.MARIST.EDU  
   
  Date:   10/09/2008 02:12 PM  
   
  Subject:Re: Add LDAP support to PHP  
   





I also found a lot of the following types of messages in the output for
the package build:

/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect':
/tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries':
/tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes':
/tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values':
/tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex':
/tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards
qualifiers from pointer target type
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var':
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of
`php_var_unserialize' from incompatible pointer type

Do I need to have some type of ldap package installed to do this build?

Russell Jones
ANPAC

-Original Message-
From: Jones, Russell
Sent: Thursday, October 09, 2008 11:37 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones
ANPAC

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

 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote:
 I did find apxs on my system and the path in the script is correct, so
I
 don't think that is the problem. I also see the following in my
output:

 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory

 I wonder if the perl path is wrong. Perl on my system in at
 /usr/bin/perl, but I don't see anywhere in the build script to set the
 perl path.

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


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

--
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

inline: graycol.gifinline: ecblank.gif

Re: Add LDAP support to PHP

2008-10-09 Thread Jones, Russell
I also found a lot of the following types of messages in the output for
the package build:

/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect':
/tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries':
/tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes':
/tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values':
/tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex':
/tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards
qualifiers from pointer target type
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var':
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of
`php_var_unserialize' from incompatible pointer type

Do I need to have some type of ldap package installed to do this build?

Russell Jones 
ANPAC

-Original Message-
From: Jones, Russell 
Sent: Thursday, October 09, 2008 11:37 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap: 

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones 
ANPAC

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

 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote: 
 I did find apxs on my system and the path in the script is correct, so
I
 don't think that is the problem. I also see the following in my
output:
 
 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory
 
 I wonder if the perl path is wrong. Perl on my system in at
 /usr/bin/perl, but I don't see anywhere in the build script to set the
 perl path. 

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


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


Re: Add LDAP support to PHP

2008-10-09 Thread Jones, Russell
I went ahead and installed the package and I get the following error in
the apache log when I attempt to bind to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I appears that the php_ldap.dll was not created in the build. The
phpinfo page shows that ldap is installed, but no dll. That is my
mystery. 

Thanks a lot for your input,  

Russell Jones 
ANPAC

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


No, it just looks like your compiler version is a little far ahead of
the
one the LDAP developers used. As long as they're just warnings (not
errors), keep going. Make sure you test the finished product, although
these particular warnings appear harmless.

--Jim--


   
  From:   Jones, Russell [EMAIL PROTECTED]   
   
  To: LINUX-390@VM.MARIST.EDU  
   
  Date:   10/09/2008 02:12 PM  
   
  Subject:Re: Add LDAP support to PHP  
   





I also found a lot of the following types of messages in the output for
the package build:

/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect':
/tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries':
/tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes':
/tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values':
/tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex':
/tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards
qualifiers from pointer target type
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var':
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of
`php_var_unserialize' from incompatible pointer type

Do I need to have some type of ldap package installed to do this build?

Russell Jones
ANPAC

-Original Message-
From: Jones, Russell
Sent: Thursday, October 09, 2008 11:37 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones
ANPAC

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

 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote:
 I did find apxs on my system and the path in the script is correct, so
I
 don't think that is the problem. I also see the following in my
output:

 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory

 I wonder if the perl path is wrong. Perl on my system in at
 /usr/bin/perl, but I don't see anywhere in the build script to set the
 perl path.

I've run into similar problems with packages not being able to figure
out where things were.  The simplest thing to do is to create a symbolic
link:
ln -s /usr/bin/perl /usr/local/bin/perl


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-09 Thread Mark Post
 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-client/


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-09 Thread James Tison

.dll? DLLs are for Windows. Weird. I'd think you're looking for
php_ldap.so. But then again, I know absolutely nothing about this
implementation.

I stumbled across this --
http://pcquest.ciol.com/content/enterprise/2005/105060201.asp -- when I
went to Google for an answer. Sounds like either build-time or run-time
configuration, I can't tell you which.

Good luck,
--Jim--



   
  From:   Jones, Russell [EMAIL PROTECTED]   
   
  To: LINUX-390@VM.MARIST.EDU  
   
  Date:   10/09/2008 02:36 PM  
   
  Subject:Re: Add LDAP support to PHP  
   





I went ahead and installed the package and I get the following error in
the apache log when I attempt to bind to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I appears that the php_ldap.dll was not created in the build. The
phpinfo page shows that ldap is installed, but no dll. That is my
mystery.

Thanks a lot for your input,

Russell Jones
ANPAC

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


No, it just looks like your compiler version is a little far ahead of
the
one the LDAP developers used. As long as they're just warnings (not
errors), keep going. Make sure you test the finished product, although
these particular warnings appear harmless.

--Jim--



  From:   Jones, Russell [EMAIL PROTECTED]

  To: LINUX-390@VM.MARIST.EDU

  Date:   10/09/2008 02:12 PM

  Subject:Re: Add LDAP support to PHP






I also found a lot of the following types of messages in the output for
the package build:

/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect':
/tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries':
/tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes':
/tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values':
/tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer
from integer without a cast
/tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex':
/tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards
qualifiers from pointer target type
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var':
/tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of
`php_var_unserialize' from incompatible pointer type

Do I need to have some type of ldap package installed to do this build?

Russell Jones
ANPAC

-Original Message-
From: Jones, Russell
Sent: Thursday, October 09, 2008 11:37 AM
To: 'Linux on 390 Port'
Subject: RE: Add LDAP support to PHP

I got the new php package installed and it seems to be functioning. Now
I am seeing the following error in the apache log when I attempt to bind
to ldap:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/php_ldap.dll' -
/usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No
such file or directory in Unknown on line 0

I don't have the php_ldap.dll, but the phpinfo page shows that ldap is
installed. Was I missing something when I build my package?

Russell Jones
ANPAC

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

 On 10/9/2008 at 10:26 AM, in message
[EMAIL PROTECTED]
,
Jones, Russell [EMAIL PROTECTED] wrote:
 I did find apxs on my system and the path in the script is correct, so
I
 don't think that is the problem. I also see the following in my
output:

 ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No
 such file or directory
 configure: error: Aborting
 make: *** No targets specified and no makefile found.  Stop.
 make: *** No rule to make target `install'.  Stop.
 make: *** No rule to make target `distclean'.  Stop.
 chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or
 directory

 I wonder if the perl path is wrong. Perl on my system in at
 

SFTP running batch - using no password.

2008-10-09 Thread Eddie Chen
 I am trying to setup a sftp job that runs in batch mode... The problem I
am having is that I am getting
 Permission denied (publickey,gssapi-with-mic,password). ,  any ideals?

 [EMAIL PROTECTED]:~ sftp -v -o batchmode yes -b sftp.commands
[EMAIL PROTECTED]
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 159.125.221.25 [159.125.221.25] port 22.
debug1: Connection established.
debug1: identity file /home/sysadmin/.ssh/id_rsa type 1
debug1: identity file /home/sysadmin/.ssh/id_dsa type 2
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-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '159.125.221.25' is known and matches the RSA host key.
debug1: Found key in /home/sysadmin/.ssh/known_hosts:6
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sysadmin/.ssh/id_rsa
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: Offering public key: /home/sysadmin/.ssh/id_dsa
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic,password).
Couldn't read packet: Connection reset by peer






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: SFTP running batch - using no password.

2008-10-09 Thread Mark Post
  On 10/9/2008 at  5:41 PM, in message
[EMAIL PROTECTED], Eddie Chen
[EMAIL PROTECTED] wrote: 
 I am trying to setup a sftp job that runs in batch mode... The problem I
 am having is that I am getting
  Permission denied (publickey,gssapi-with-mic,password). ,  any ideals?

Did you put your public key(s) in the ~/.ssh/authorized_keys file on the 
receiving end?


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 running batch - using no password.

2008-10-09 Thread Stewart Thomas J
How did you set up your keys? To run sftp in batch you have to either set up 
keys or wrap your sftp processing in some kind of Expect script, either using 
expect in Linux or something like the Perl Expect module. Generally you'd want 
to use a key exchange setup, unless the client/server user accounts don't match 
with the same name, then you might want to use some kind of faked interactive 
scripting that will simulate a login via id/password. I've got examples of both 
ways.

For keys (recommended), you have to run an ssh keygen on the sftp client side 
to create the id_rsa or id_dsa file, which it looks like maybe you did because 
the trace shows it finding that. But you then need to copy the 
~/.ssh/id_rsa.pub file to the sftp server into ~/.ssh/authorized_keys. After I 
do that, I always do a manual ssh between the two servers as the userid that 
will be running the batch sftp to make sure it isn't prompting me for a 
password.

If the keys aren't set up where you can sftp between the client/server without 
a password prompt, you'll get the failure like you did below.

If you need help generating and syncing the keys, contact me directly and I'll 
share some notes.

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: Thursday, October 09, 2008 4:41 PM
To: LINUX-390@VM.MARIST.EDU
Subject: SFTP running batch - using no password.

 I am trying to setup a sftp job that runs in batch mode... The problem I am 
having is that I am getting  Permission denied 
(publickey,gssapi-with-mic,password). ,  any ideals?

 [EMAIL PROTECTED]:~ sftp -v -o batchmode yes -b sftp.commands
[EMAIL PROTECTED]
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 159.125.221.25 [159.125.221.25] port 22.
debug1: Connection established.
debug1: identity file /home/sysadmin/.ssh/id_rsa type 1
debug1: identity file /home/sysadmin/.ssh/id_dsa type 2
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-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-cbc hmac-md5 none
debug1: kex: client-server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '159.125.221.25' is known and matches the RSA host key.
debug1: Found key in /home/sysadmin/.ssh/known_hosts:6
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sysadmin/.ssh/id_rsa
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: Offering public key: /home/sysadmin/.ssh/id_dsa
debug1: Authentications that can continue:
publickey,gssapi-with-mic,password
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic,password).
Couldn't read packet: Connection reset by peer






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: SFTP running batch - using no password.

2008-10-09 Thread Mark Post
 On 10/9/2008 at  6:14 PM, in message
[EMAIL PROTECTED], Stewart
Thomas J [EMAIL PROTECTED] wrote: 
-snip-
 Generally you'd 
 want to use a key exchange setup, unless the client/server user accounts 
 don't match with the same name, then you might want to use some kind of faked 
 interactive scripting that will simulate a login via id/password.

You can still use keys in that situation by using the [EMAIL PROTECTED]:/dir 
syntax.


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 running batch - using no password.

2008-10-09 Thread Stewart Thomas J
Sorry for misinformation, that is true regarding the [EMAIL PROTECTED]:/dir 
syntax..

I was thinking more along the lines of them not matching because you don't have 
control of the sftp server - such as when that lives at another company who 
doesn't let you exchange keys and instead prefers you login via id/password. 
That's when you might have to wrap a batch sftp in some Expect code, or at 
least that's the solution I found to work when I last set up that type of 
connection.

Tom Stewart

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post
Sent: Thursday, October 09, 2008 5:37 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: SFTP running batch - using no password.

 On 10/9/2008 at  6:14 PM, in message
[EMAIL PROTECTED], Stewart Thomas J [EMAIL PROTECTED] wrote:
-snip-
 Generally you'd
 want to use a key exchange setup, unless the client/server user
 accounts don't match with the same name, then you might want to use
 some kind of faked interactive scripting that will simulate a login via 
 id/password.

You can still use keys in that situation by using the [EMAIL PROTECTED]:/dir 
syntax.


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


Re: SFTP running batch - using no password.

2008-10-09 Thread Eddie Chen
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




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
 06:13 PM


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






  On 10/9/2008 at  5:41 PM, in message
[EMAIL PROTECTED], Eddie
Chen
[EMAIL PROTECTED] wrote:
 I am trying to setup a sftp job that runs in batch mode... The problem I
 am having is that I am getting
  Permission denied (publickey,gssapi-with-mic,password). ,  any ideals?

Did you put your public key(s) in the ~/.ssh/authorized_keys file on the
receiving end?


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: SFTP running batch - using no password.

2008-10-09 Thread Mark Post
 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.


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 running batch - using no password.

2008-10-09 Thread Mark Post
 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


CAVMEN Meeting on Thursday, November 13, 2008 - *** MEETING DATE CHANGED***

2008-10-09 Thread Chicago Area VM (and Linux) Enthusiasts

The date of the fourth quarter meeting of the Chicago Area VM (and
Linux) Enthusiasts has been changed.

The meeting will take place on Thursday, November 13, 2008, instead
of the originally scheduled date of October 23rd.

Presentations will include z/VM Platform Update: Introducing z/VM
5.4 and z/VM Performance Case Studies.

An e-mail containing abstracts for all of the presentations and the
final agenda details will be sent out next week.  Please mark your
calendar now.

___

Mark M. Suchecki
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CAVMEN Coordinator

Voice:  (847) 518-0058
FAX:(847) 518-0083
E-Mail: [EMAIL PROTECTED]
Web:http://cavmen.home.comcast.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

--
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