Unable to browse to site - could be an issue with the file transfer to EBS
| Project: | EC2 AMI |
| Component: | System Configuration |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I setup an instance running Drupal 6.8 last night that worked although I had to manually configure the DB settings. I have been trying again today and keep running into the same problem. I have watched the video and read the instructions a few times and am pretty sure I am not missing anything. The problem I am experiencing is that once I complete the setup process I am unable to browse to the site. I get a timeout error in my browser. I am able to complete all the steps without any problems however when I run the /opt/workhabit/connect-ebs.sh script I get the following:
[root@domU-12-31-39-03-41-32 ~]# /opt/workhabit/connect-ebs.sh
moving existing document root to ebs volume.
moving existing database to ebs volume.
moving my.cnf to ebs volume.
moving existing httpd to ebs volume.
ln: `./httpd': cannot overwrite directory
moving existing php.ini to ebs volume.
moving existing php.d to ebs volume.
ln: `./php.d': cannot overwrite directory
Restarting apache and mysql
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@domU-12-31-39-03-41-32 ~]#
In the video, I don't see the overwrite errors and assume those could be my problem? Thoughts?
Thanks,
BC

#1
Sorry for posting in the screencast comments, I think this is the right place for this issue.
I also received the same errors above when trying to install Drupal 6.8
In opening the console output I have the following error
05:33:12 (2.78 MB/s) - `drupal-6.8.tar.gz.1' saved [1074294/1074294]
Moving installation to document root. Creating Database ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Reconfiguring settings.php chmod: cannot access `/var/www/html/sites/default/settings.php': No such file or directory Stopping httpd: [FAILED]
Starting httpd: [ OK ]
Stopping MySQL: [FAILED]
Starting MySQL: [ OK ]
cp: cannot stat `/etc/my.cnf': No such file or directory Restarting apache and mysql Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 148 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/modauthbasic.so into server: /etc/httpd/modules/modauthbasic.so: cannot open shared object file: No such file or directory [FAILED]
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Thanks for posting this AMI and I would appeciate any assistance on what I could be doing wrong.
Thanks
#2
Could also be your firewall/security issue. I didn't realize that I didn't specify http/port 80 so wasn't able to browse the sites. Make sure you have this covered.
#3
Hi folks,
We were able to reproduce the problems described here, and believe we have fixed them in the new version of this AMI, which you can find referenced by ID ami-2a8a6d43. Please try booting this AMI out and update this issue if the problems persist.
Ann Lewis
#4
Automatically closed -- issue fixed for 2 weeks with no activity.
#5
I am having a similar issue with the new AIM:
moving existing document root to ebs volume.
moving existing database to ebs volume.
moving my.cnf to ebs volume.
moving existing httpd to ebs volume.
ln: `./httpd': cannot overwrite directory
moving existing php.ini to ebs volume.
moving existing php.d to ebs volume.
ln: `./php.d': cannot overwrite directory
Is there any fix for this?
#6
I am having a similar issue with the new AIM:
moving existing document root to ebs volume.
moving existing database to ebs volume.
moving my.cnf to ebs volume.
moving existing httpd to ebs volume.
ln: `./httpd': cannot overwrite directory
moving existing php.ini to ebs volume.
moving existing php.d to ebs volume.
ln: `./php.d': cannot overwrite directory
Is there any fix for this?
#7
I can confirm that this error still exists with the latest AMI.
I receive the same error as simonyost.
Any guidance would be appreciated
Thanks
Gregg
#8
subscribing.
#9
bump... this would be so cool to get working...
#10
Has anyone tried the image created by io1 ?
http://www.io1.biz/blogs/drupal-amazon-ec2-developers-testing-ami
Thank,
-Anil