Linked Questions
22 questions linked to/from How do you add swap to an EC2 instance?
97
votes
7
answers
54k
views
Amazon EC2, mysql aborting start because InnoDB: mmap (x bytes) failed; errno 12
I have a micro instance server on EC2 based on this
mysql server fails frequently and for the third time mysql server is gone. The logs only shows
120423 09:13:38 mysqld_safe mysqld from pid file /var/...
44
votes
5
answers
16k
views
Trouble installing scipy in virtualenv on a amazon ec2 linux micro instance
I have successfully installed scipy in the default python compiler on an amazon ec2 micro instance (Ubuntu 13.04). However i am not able to install scipy in a virtualenv.
pip install scipy ends with ...
15
votes
14
answers
27k
views
Error establishing a database connection Amazon EC2 - after moving my wordpress blog
I am getting the error: "error establishing a database connection" after moving my wordpress blog to Amazon EC2. I've checked the wp-config.php file and settings are ok (localhost, password and ...
14
votes
8
answers
12k
views
pandoc document conversion failed with error 127
I'm not sure how to make a reproducible example of this, but I'm curious to hear if anyone else has encountered this problem. I have an R Markdown file hosted via shiny server on an EC2 instance ...
16
votes
2
answers
6k
views
AWS elastic beanstalk deploy fails with ENOMEM error
Your AWS Elastic Beanstalk deployment fails:
- Intermittent
- For no real apparent reason
Step 1: Check obvious log
/var/log/eb-activity.log
Running npm install: /opt/elasticbeanstalk/node-...
12
votes
3
answers
6k
views
install.packages R on Ubuntu 12.04 downloads but does not install packages
I'm perplexed. I've done this process a dozen times and never had this issue.
I installed the latest version of R for Ubuntu
I enter R, no issues at all, gives me the latest version, and I can load ...
2
votes
3
answers
3k
views
creating a swap file/drive on ec2 micro instance on elastic beanstalk deploy
So my application installs and deploys fine as long as I put it on an instance bigger than micro.
when I deploy on micro when composer tries to install I get a php error about not being able to ...
3
votes
7
answers
3k
views
Ubuntu 12.04 R install.packages() does not work. No warning, no install
I am running a ubuntu 12.04 instance, and have R3.0.2 loaded, but cannot get install.packages() to install packages. It downloads the files, but appears to not install them. Am I missing something ...
7
votes
1
answer
5k
views
Glassfish 4 server stops unexpectedly
I'm new to GlassFish, and to application servers in general. I have an Amazon EC2 instance running Ubuntu and have installed GlassFish 4. It starts up without problems, but after a while the GlassFish ...
1
vote
2
answers
7k
views
npm run build in php Laravel hang or exit
I'm trying to deploy a Laravel project to my server with this specs:
OS: CentOS Linux release 7.8.2003
Nodejs: 13.14.0
npm: 6.14.5
1 CPU
4GB Ram
Everything was fine but a step, as I use ReactJS with ...
4
votes
2
answers
2k
views
Node.js process getting killed on aws instances
We are trying to deploy one of our node js applications(AngularJS/NodeJS tech stack) to Production environment. Randomly, some of the ec2 instances just goes down as node process is getting killed. ...
-3
votes
1
answer
2k
views
I am using T2.micro ec2 Instance. It goes out of memory and kills the process and it shows 1/2 checks
Here is my log :-
[1301334.004840] Out of memory: Killed process 155761 (mysqld) total-vm:1298812kB, anon-rss:432376kB, file-rss:0kB, shmem-rss:0kB, UID:113 pgtables:1144kB oom_score_adj:0
[1302863....
1
vote
1
answer
2k
views
"npm install" failing on elastic beanstalk, however manual execution works
I have checked this answer and this doesn't seem to be the issue in my case.
I am deploying a django code on elastic beanstalk which uses react. To compile the react files, I run npm install and npm ...
2
votes
2
answers
1k
views
Shiny package installation on R version 3.0.2 "Frisbee Sailing"
I need some help with installing Shiny package on the following system:
Ubuntu 12.04 64 bits
R version 3.0.2 "Frisbee Sailing"
When I try to install a Shiny package by running:
sudo su - -c "R -e \"...
2
votes
0
answers
1k
views
Cannot install packages from within RStudio Server [duplicate]
When trying to install certain (or all?) R packages, I always bump into the following type of error, which seems to me to be not specific to a particular package, but rather specific to for my R ...