Ssh2 and wrappers - bug?

General discussion forum for the Zend Server - The full, commercial edition

Ssh2 and wrappers - bug?

Postby duccio on Sun May 13, 2012 4:40 pm

Hi, this is weird. After a general upgrade to Ubuntu 12.04 (and of all the installed packages), the ssh2 library is loaded just fine, but the wrappers ssh2.sftp, ssh2.exec, etc. are loaded only when PHP is run via Apache, not via CLI.

I don't know it if is a bug of Zend Server, PHP or ssh2 library, but since I have the libraries php-5.3-sockets-zend-server (5.3.9+b260) and php-5.3-ssh2-zend-server (5.3.9+b260) installed...
On my system there are also libssh2-php (0.11.2-1) and libssh2-1-dev (1.2.8-2)

On phpinfo, both on CLI and Apache, it returns SSH2 extension version 0.11.3-dev and libssh2 version 1.4.1 and banner SSH-2.0-libssh2_1.4.1

Again, everything worked fine before the upgrade of the zend libraries (Ubuntu upgrade was after that, as an attempt to solve the problem). After the upgrade, library is loaded but wrappers are not registered in the CLI, so I guess it's a bug of Zend Server.

Apache:
Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, mcrypt.*, mdecrypt.*

CLI:
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*
duccio
 
Posts: 6
Joined: Fri Apr 08, 2011 2:35 am

Re: Ssh2 and wrappers - bug?

Postby kentatzend on Mon May 14, 2012 10:58 pm

This could be another example of the ssl problems I noted i another post of 12.04 support and Curl/SSL problems. I'll have the R&D tema look at this as well.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Ssh2 and wrappers - bug?

Postby retheoff on Thu May 17, 2012 6:31 pm

Do you have a link to the post with the SSL - 12.04 issues? I am having some major SSL issues after an upgrade to 12.04, but in a totally unrelated way. Its just that I suspect its SSL libs causing my issues, only am having a hard time finding any leads and I don't really know how to troubleshoot. I am pretty sure my issue is not PHP or Zend Server. Just hoping a link might point me in the right direction.
Thanks,
Greg
retheoff
 
Posts: 1
Joined: Thu May 17, 2012 6:28 pm

Re: Ssh2 and wrappers - bug?

Postby kentatzend on Sun May 20, 2012 3:07 pm

The problem is Zend installs a ssl lib that is incompatible with the one in 12.04. We Re fixing this but it would really be better to revert back from 12.04 if you want Zend server for now.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Ssh2 and wrappers - bug?

Postby kentatzend on Wed Jun 06, 2012 10:17 pm

Try the new repo/install mentioned here viewtopic.php?f=8&t=65613
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 2 guests