在beanstalk 64bit上安装ssh时出错ubuntu 2014.03 v1.0.2 PHP 5.5

时间:2014-06-04 18:30:05

标签: php apache amazon-web-services amazon-ec2 elastic-beanstalk

我按照本教程(http://richardhawthorn.com/?p=82)在我的beanstalk实例上配置ssl。

所以我的配置文件包含以下内容。它在 64bit ubuntu 2014.02 PHP 5.5 上工作得很好但在 64bit ubuntu 2014.03 v1.0.2 PHP 5.5 它不起作用我得到以下错误,可能是什么问题?< / p>

packages:
  yum:
    mod24_ssl : []

Resources:
  mySecurityGroup:
    Type: AWS::EC2::SecurityGroupIngress
    Properties:
      GroupName: {Ref : AWSEBSecurityGroup}
      IpProtocol: tcp
      ToPort: 443
      FromPort: 443
      CidrIp: 0.0.0.0/0

  /etc/httpd/conf.d/ssl.conf:
    mode: 000777
    owner: ec2-user
    group: ec2-user
    content: |
      LoadModule ssl_module modules/mod_ssl.so
      Listen 443
      
        
          Order deny,allow
          Allow from all
        
        SSLEngine on
        SSLCertificateChainFile "/tmp/gd_bundle.crt"
        SSLCertificateFile "/tmp/server.crt"
        SSLCertificateKeyFile "/tmp/server.key"

        ProxyPass / http://localhost:80/ retry=0
        ProxyPassReverse / http://localhost:80/
        ProxyPreserveHost on

        LogFormat "%h (%{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
        ErrorLog /var/log/httpd/elasticbeanstalk-error_log
        TransferLog /var/log/httpd/elasticbeanstalk-access_log
      
Jun  4 06:12:16 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:17 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:18 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:18 ip-10-253-103-13 init: httpd main process ended, respawning
Jun  4 06:12:18 ip-10-253-103-13 init: httpd respawning too fast, stopped


-------------------------------------
/var/log/httpd/error_log
-------------------------------------
[Wed Jun 04 06:12:18.328490 2014] [suexec:notice] [pid 25739] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00016: Configuration Failed

1 个答案:

答案 0 :(得分:0)

我的第一个猜测(不确定)是这个问题:https://forums.aws.amazon.com/thread.jspa?messageID=545736

此处还讨论了:

https://forums.aws.amazon.com/message.jspa?messageID=546965

您是否可以尝试使用ebextension降级curl版本并查看它是否可以解决您的问题?