Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1067  / 2 Years ago, thu, june 23, 2022, 4:58:38

I have created an ubuntu 10.04 cloud server on the Amazon cloud (EC2) I am encountering a stalled LAMP install each time I try it. I've created about 5 fresh instances. Each time The installation gets stuck at 79% on the "configuring mysql-server-5.1" portion of the install.



First I do an update (sudo apt-get update) then an upgrade (sudo apt-get upgrade) then try to install the lamp using tasksel.



I've done this before on a rackspace cloud server and it works fine. Every single attempt fails on EC2 instances. I will contact Amazon but I am also asking here in case it is an ubuntu specific issue and possibly a known issue that someone can guide me towards solving.



The region is EU West (Ireland). The AMI Id is ami-00e9d874. The instance type is m1.large.



I've tried several different AMIs though (all ubuntu x64 10.04)


More From » lamp

 Answers
6

If you start with a standard Ubuntu 10.04 AMI published by Canonical, then installing LAMP with tasksel works just fine. For us-west-1, the latest 64-bit 10.04 AMI is ami-81dde2f5.



The AMI you specified (ami-00e9d874) is a BitNami AMI. It looks like BitNami already has MySQL installed on that AMI using a non-standard location (/opt/bitnami/mysql). When you try to install MySQL with the standard Ubuntu tools, it does not detect the BitNami MySQL and then fails trying to run a second MySQL server:



120116  0:09:09 [Note] Plugin 'FEDERATED' is disabled.
120116 0:09:09 InnoDB: Started; log sequence number 0 44233
120116 0:09:09 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
120116 0:09:09 [ERROR] Do you already have another mysqld server running on port: 3306 ?
120116 0:09:09 [ERROR] Aborting

120116 0:09:09 InnoDB: Starting shutdown...
120116 0:09:10 InnoDB: Shutdown completed; log sequence number 0 44233
120116 0:09:10 [Note] /usr/sbin/mysqld: Shutdown complete


If you need to use a BitNami AMI, you'll need to follow their directions for installing LAMP.


[#40967] Friday, June 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iedncommon

Total Points: 200
Total Questions: 95
Total Answers: 132

Location: Tonga
Member since Mon, Aug 2, 2021
3 Years ago
iedncommon questions
Sat, Jun 4, 22, 18:20, 2 Years ago
Mon, Apr 4, 22, 08:10, 2 Years ago
Tue, Jul 6, 21, 15:11, 3 Years ago
;