Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am unable to create a 'pack' server using Drush, whilst it works fine using the web UI. The command to create a 'pack' exits with a "Segmentation fault". The equivalent command to create a normal "apache" web server works fine:
$ drush @hm provision-save server_examplecom --context_type=server --remote_host=example.com --http_service_type='apache' --http_port=80
Generated config in write(): Drush configuration file (/var/aegir/.drush/server_examplecom.alias.drushrc.php)
Changed permissions of /var/aegir/.drush/server_examplecom.alias.drushrc.php to 440
$ drush @hm provision-save server_pack --context_type=server --http_service_type='pack' --slave_web_servers='example1.com,example2.com' --master_web_servers='example.com'
Segmentation fault
Comments
Comment #1
sdrycroft CreditAttribution: sdrycroft commentedComment #2
helmo CreditAttribution: helmo at Initfour websolutions commentedCould you run it with the
--debug
option? That might provide some details on where it fails.Comment #3
sdrycroft CreditAttribution: sdrycroft commentedThanks helmo, I was about to post back with my own findings. It may be worth noting that I'm using Debian 8 and therefore PHP 5.6. I've just tried reverting back the most recent changes to the provision/http/Provision/Service/http/pack.php file (admittedly from Oct and May 2013), and found that removing the changes introduced by #1784108: pack (and cluster?) modules incompatible with SSL fixed the problem. I have included the debugging code below from without reverting the change and with the code reverted.
Without
With
Comment #4
sdrycroft CreditAttribution: sdrycroft commentedSorry, I should also have said that I found that without the file reverted the code gets into a loop between the init_site() and _each_server() functions within the Provision_Service_http_pack class. I'd debug this further, but won't be able to until I'm back in the office on Tuesday.
Comment #5
sdrycroft CreditAttribution: sdrycroft commentedAny progress with this?