• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Strange emails from the system

R

RenaudW

Guest
Hi,

I just installed libssh2 / ssh2 for php yesterday and the file ssh2.so has been copyied in the directory /usr/lib64/php/modules. A line with the extension has been added in the php.ini. All is ok, and the phpinfo() is showing SSH2 OK.
I also built a PHP application using ssh2 and it's running well.

But this morning I receive 3 emails from the Plesk system, from :
Cron <root@s123456> /usr/local/psa/libexec/modules/watchdog/cp/clean-events
Cron <root@s123456> /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats day
Cron <root@s123456> /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats

And the message is :
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so' - /usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0

How can I do ?
Many thanks for your help.
 
Hi, Igor, and thanks again to be here.

Here is the output :

Failed loading /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: undefined symbol: zend_error_noreturn
PHP 5.3.8 (cli) (built: Aug 26 2011 11:37:40)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

Thanks for your help

[EDIT]
Precision : I upgraded PHP version to 5.3.8 yesterday.
After looking as this problem on Google search, it seems the ioncube version is now too old.
Please look at this page and tell me if I can follow these instructions without risk :
http://hi.baidu.com/cecilialu/blog/item/51c896cadf429994c8176817.html
 
Last edited by a moderator:
Then I installed the latest version of ioncube loaders and php -v is now :

PHP 5.3.8 (cli) (built: Aug 26 2011 11:37:40)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v4.0.10, Copyright (c) 2002-2011, by ionCube Ltd.

It seems ok. But I don't know if I won't receive these 3 emails tomorrow morning from the system !
 
Hi,

Unfortunately, this morning it's the same problem :
3 emails in my mailbox, with this same message :

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so' - /usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0

Something, maybe on the ssh2 config, try to call this script /usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so which not exists on my server...
 
I can say only that seems your libssh2 / ssh2 custom module for php was not installed properly and you should check why.
 
Thanks for your reply. However the ssh2 lib is ok on the phpinfo() and some scripts which are using it are running very well. The solution I found is to use grep to find the file which call '/usr/lib64/extensions/no-debug-non-zts-20060613/ssh2.so and modify the line with the correct path.
 
Back
Top