drush has been awesome up until recently, but I'm getting these errors when I run pm-update now:
WD php: exec(): Unable to fork [svn info '/home/drupal6/public_html/sites/all/modules/jquery_ui' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [error]
WD php: exec(): Unable to fork [bzr root '/home/drupal6/public_html/sites/all/modules/jquery_ui' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [error]
WD php: exec(): Unable to fork [mkdir '/root/drush-backups' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [error]
Unable to create backup directory /root/drush-backups/tester_db. [error]
exec(): Unable to fork [svn info '/home/drupal6/public_html/sites/all/modules/jquery_ui' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [warning]
exec(): Unable to fork [bzr root '/home/drupal6/public_html/sites/all/modules/jquery_ui' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [warning]
exec(): Unable to fork [mkdir '/root/drush-backups' 2>&1] in /home/drupal6/public_html/drush/includes/drush.inc on line 1283. [warning]
I'm not even sure where to start with this. Any guidance appreciated.
Comments
Comment #1
sam mooreNever mind - server was haywire.
Rebooted and all is well.
Comment #3
mark_at_kaazing commentedApologies for reopening this issue, but I've encountered nearly the same thing!
I'm running this as root, there should not be any permissions or memory issues, and this worked for me before. I've [sanitized] some path names, but I'm wondering if anyone can help me troubleshoot further.
Thanks!
# drush --version
drush version 4.4
# drush php-eval "phpinfo()" | grep memory_limit
memory_limit => 512M => 512M
Comment #4
sk33lz commentedI was just experiencing this issue and ended up just restarting my Apache server instance. The issue went away after that.
Comment #5
citricguy commentedConfirming that the workaround in #4 works.
After restarting Apache, 'drush pm-download' works again.