I am experiencing a strange problem while running drush commands on newly installed server and newly installed drush(it's been installed with composer).
Exact the same configuration works fine on my local machine (composer, drush-dev, memcached with 11212 port), but for some reason it doesn't execute any command on my production server. I've already read this post, but it did'nt help, I am sure problem is not coming from my memecached config, I can open it from browser without any error (Memcache Storage: server 127.0.0.1:11212 (default cluster) - Connected
- message from status report).
So, I properly installed composer (globally), successfully installed a drush-dev version, env PATH has been added to .bashrc file, I can only run drush
command which outputs this help messages.. But if I run any other command in my drupal root driectory it just hangs with this debug output (for ex: drush status -vvvv -d
).
Some addition info: 1. I digged into the drush files to find something and I found that drush calls _drush_bootstrap_drupal_login
after _drush_bootstrap_drupal_full
to login as uid=0, but somehow it can't login..
2. I am using Memcache Storage module as cache backend, It shows Successfull connection in admin report page, but somehow it doesn't see pecl memcache extension I think.. If I remove $conf['lock_inc'] = 'sites/all/modules/memcache_storage/includes/lock.inc';
from settings.php file drush does WORK, but the same configuration is working on my local machine.. Very strange..
How can I solve this?
_drush_bootstrap_drupal_login
after_drush_bootstrap_drupal_full
to login as uid=0, but it somehow can't login..