【发布时间】:2014-03-19 04:03:56
【问题描述】:
我将一个 rails 应用程序部署到一个弹性 beanstalk 应用程序,当我尝试启动我的应用程序时,我遇到了 Phusion Passenger 超时。
The following instances have not responded in the allowed command timeout time (they might still finish eventually on their own): [i-d3fc9cf2].
我读到我可以通过修改 httpd.conf 文件来延长超时时间,但我正在疯狂地试图找到它。我已经 ssh 进入我的 ec2 实例,但我无法在任何地方找到 httpd/apache 文件夹或文件。
这是我的 /etc 文件夹,我期待一个 httpd 文件夹:
[etc]$ ls
acpi crontab fstab issue man.config pm rpc sudoers
adjtime cron.weekly gai.conf issue.net maven popt.d rpm sudoers.d
aliases csh.cshrc gcrypt java mime.types ppp rsyslog.conf sudo-ldap.conf
aliases.db csh.login gemrc jvm mke2fs.conf printcap rsyslog.d sysconfig
alternatives dbus-1 ghostscript jvm-commmon modprobe.d profile rwtab sysctl.conf
anacrontab default gnupg krb5.conf motd profile.d rwtab.d system-release
asound.conf depmod.d group kshrc motd.rpmsave protocols sasl2 system-release-cpe
at.deny dhcp group- ld.so.cache mtab racoon screenrc terminfo
audisp DIR_COLORS grub.conf ld.so.conf my.cnf rc securetty tmpfiles.d
audit DIR_COLORS.256color gshadow ld.so.conf.d nanorc rc0.d security udev
bash_completion.d DIR_COLORS.lightbgcolor gshadow- libaudit.conf NetworkManager rc1.d services update-motd.d
bashrc dracut.conf host.conf libreport networks rc2.d shadow vimrc
blkid dracut.conf.d hosts libuser.conf nsswitch.conf rc3.d shadow- virc
cfn dumpdates hosts.allow localtime ntp rc4.d shells wgetrc
chkconfig.d e2fsck.conf hosts.deny login.defs ntp.conf rc5.d skel X11
cloud elasticbeanstalk image-id logrotate.conf openldap rc6.d smrsh xdg
cron.d environment init logrotate.d opt rc.d ssh xinetd.d
cron.daily ethers init.d lvm pam.d rc.local ssl yum
cron.deny exports inittab magic passwd rc.sysinit statetab yum.conf
cron.hourly filesystems inputrc mail passwd- resolv.conf statetab.d yum.repos.d
cron.monthly fonts iproute2 mailcap pki rmt sudo.conf
也试过了,但没有:
[etc]$ ps -ef | grep apache
ec2-user 3987 3543 0 02:53 pts/0 00:00:00 grep apache
我在这里做错了什么?前几天我的应用程序运行良好,但由于我推出了一些更新,我遇到了这个问题。我恢复了它们,它仍然是时间。
【问题讨论】:
-
您能否解释一下您是如何为您的以下 Rails 应用程序 ssh 的 aws elastic beanstalk 服务器?
标签: ruby-on-rails apache amazon-web-services amazon-ec2 amazon-elastic-beanstalk