0
votes
1answer
23 views

Pull GitHub repo on Ubuntu server start

I have an autoscaling EC2 group and I have a central config using git between servers. They are set up with keys, so they don't need a password. I want to make sure when an instance gets started and ...
0
votes
0answers
24 views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...
0
votes
2answers
31 views

Keypair with Shellinabox?

I've got an Amazon EC2 instance with a keypair, and I want to setup shellinabox so I can ssh from any web browser. However, shellinabox only seems to allow password logins and I wasn't able to find ...
1
vote
0answers
58 views

Sendmail in Ubuntu always fail [outgoing SMTPS(465)]

I'm using sendmail in ubuntu hosted at amazon ec2 hosting. Also I have a paid account (domain) in godaddy, so I want to use godaddy as relay host. I did EVERYTHING based on this tutorial: ...
0
votes
2answers
42 views

Disable NOPASSWD sudo access for ubuntu user on an EC2 instance

How can I disable the passwordless sudo access for the default ubuntu user on an EC2 instance? Is it safe to do it?
-3
votes
1answer
62 views

Why isn't my server responding on port 443?

I have an EC2 server on AWS (Ubuntu 13.04). It's currently running a website on port 80 and I am trying to set up SSL. Right now it does not seem to be responding at all on port 443. telnet: Unable ...
0
votes
1answer
351 views

FTP via vsftpd not working on Amazon EC2 Ubuntu 14.04

I'm trying to get FTP access to my EC2 instance. I've run through a few guides and still nothing is allowing me to gain access over port 21. I've opened ports 20, 21, 22, 80, 1024-1028, 50000 - 51000 ...
0
votes
2answers
54 views

Why can I not connect to jetty webserver on Ubuntu within AWS EC2 instance

Unable to connect from my webbrowser to my Jetty Server running on Ubuntu Linux SMP in Amazon Webservices EC2. I can connect using localhost whilst logged in from the machine itself i.e curl ...
1
vote
2answers
86 views

EC2, Ubuntu: Serious time difference between servers

Some of my tests on EC2 servers began failing. When I dug in, the reason was serious time mismatches between my servers: Sun Jun 22 14:43:43 UTC 2014 # Laptop Sun Jun 22 14:46:36 UTC 2014 # Server ...
0
votes
0answers
108 views

How do I install a bitnami LAMP module by SSH command line?

This is a pretty straightforward question that I cannot seem to find an answer for. I already have a running Bitnami LAMP stack on an Amazon EC2 instance. Where do put the installer ...
0
votes
0answers
34 views

Why did AWS EC2 Ubuntu node get wiped on reboot?

I shelled into a functioning AWS EC2 Ubuntu instance, rebooted, tried to shell back into it, and found that I was presented with a different host certificate. I was able to log in based on the same ...
4
votes
1answer
73 views

Very High Network out in ec2 instance

I launched an ubuntu-14.04-64bit instance in Amazon EC2 two days back. And I started Tomcat 7.0.54 in that instance and deployed my application war files. It has no other software installed other than ...
1
vote
2answers
202 views

amazon ec2 ubuntu with gitlab and nginx - cant load?

Ok, so I've spooled up an Amazon EC2 server running Ubuntu, and then followed the instructions below to install GitLab; http://doc.gitlab.com/ce/install/installation.html The only step I've not been ...
3
votes
2answers
150 views

reliable virtual desktop environment for Amazon EC2 Ubuntu

I have an ubuntu 13.04 instance in the Amazon EC2 Cloud. I am trying to run some java programs on the server that require a GUI desktop environment. I need just 1 desktop instance to connect to via ...
-1
votes
1answer
92 views

Time out when access localhost for ec2 ubuntu server

I am trying to access the local host for my ubuntu server hosted on ec2 when I run python manage.py runserver 0.0.0.0:8000 I have my security setting set to port 80 0.0.0.0/0 and I want ...
-1
votes
1answer
94 views

My EC2 Ubuntu server was bounced after do-release-upgrade and never came back up. How can I recover?

I had an Ubuntu Amazon EC2 server, running a few websites, and I left it to have an unattended do-release-upgrade. The server said that a reboot was required. I (tried to reboot) it and it never came ...
1
vote
2answers
63 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
1
vote
0answers
415 views

nginx service won't start after reboot + won't give output for service nginx status or start

A few weeks ago I configured an ec2 ubuntu server for my rails app. everything worked great. the database is on RDS and I use nginx and passenger for the rails app. anyway everything worked great ...
0
votes
1answer
606 views

How to free the (unused) memory?

Being a newbie in working with amazon ec2, I am trying to make my application work. I've connecting a few times by ssh, I've been running and stopping the server, sometimes the connection was lost, ...
-1
votes
2answers
153 views

tcp port 12202 not opening on ubuntu EC2 instance

I created an EC2 ubuntuu 12.04 instance. i have opened TCP 12202 port through security group console of AWS .But i am unable to open instance port . I tried below commands to open the port . sudo ...
3
votes
2answers
69 views

Is there a mailing list or a programmatic way to determine a new Amazon EC2 AMI has been released?

We would like to ensure we are always running the latest version of the Amazon EC2 AMI to keep our OS running the latest security updates. Currently to determine the latest release we are scraping ...
1
vote
3answers
834 views

vsftpd not starting on EC2

I am running Ubuntu 13.10 on an EC2 micro instance (want to keep running on free tier until I am more confident on EC2). I have successfully installed the LAMP stack, but I'm having problems setting ...
-1
votes
2answers
87 views

node.js hello world server on amazon EC2

As a lead in to deploying the Ghost blogging platform, I am checking that node.js can be deployed on my Amazon EC2 instance with Ubuntu 13.04 The Ghost Github page even gives step by step ...
-1
votes
1answer
565 views

How can I run Apache Tomcat and Node.JS servers at the same time?

I'll give you an example of what I want: Let's pretend my domain is domain.com for now. My server machine is a Linux (Ubuntu). I'm currently running Tomcat as my server on ports 80 and 8080. I have ...
0
votes
0answers
230 views

Does AWS EC2 have limits on concurrent connections?

No matter what I do to my EC2 instance, any size and with apache/ubuntu. I can't get it to go over 1400 concurrent connections. Have set the prefork settings high, set ulimit to 1000000 Is this ...
0
votes
1answer
41 views

EC2 Ubuntu Instance Occasional Downtime

i'm having trouble with an EC2 instance experiencing a long period (several hours) of downtime every day instance type: t1.micro availability zone: ap-southeast-2a security groups: allow all ICMP, ...
0
votes
1answer
457 views

What else do I need to do to satisfy Apache working as a plain old media server?

I am trying to set up an Apache VirtualHost on an Ubuntu 13.10 EC2 instance that will serve up media documents from a directory old-school-style. There is an existing VirtualHost which is handling a ...
-1
votes
2answers
53 views

Sudo access on Ubuntu

I'm new to linux and the sysadmin world all together, so I'm looking for some advice and a couple of answers. I set up an EC2 instance running Ubuntu 12.04 and I SSH in via key pair. First of all, I ...
3
votes
1answer
91 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu ...
0
votes
1answer
276 views

Permission denied (publickey) when attempting to connect Ubuntu EC2 instance via SSH

I'm attempting to connect to my EC2 Ubuntu instance via SSH with my private key. I had no problem connecting to the server before using the sudo reboot command. Now, I cannot connect to the instance ...
0
votes
2answers
65 views

DirectoryIndex not being respected on AWS EC2 instance

Hey guys I'm having a really weird issue here with my AWS EC2 instance. I have set up my LAMP stack with PHP5.5 MariaDB and Apache2, I have created/enabled my conf file (below) <VirtualHost ...
0
votes
1answer
158 views

Amazon EC2 Micro Instance - Public DNS Not Accessible

I have created a micro instance with Ubuntu OS at Amazon EC2. But I am not able to access public DNS even after installing LAMP Server. At my apache.conf I can see(no document configuration id ...
0
votes
2answers
161 views

How can I get django-registration emails sent?

I have a Django project on a Saucy EC2 instance, with a site's registration handled via django-registration, and after a few minutes and a few tries to register different email addresses, I am not ...
0
votes
1answer
42 views

Issues with newly copied EC2 instance

I have an EC2 t1.micro instance running in the Oregon zone, and I wanted to copy that instance and make an m1.medium instance on the Northern Virginia zone. I created an AMI, clicked copy, and ...
0
votes
0answers
23 views

hosting a service locally and on amazon ec2 with auto-routing

I have a java REST service which is very CPU intensive. The service serves a website. I would like to host the service on my local machine which has 8 core 16GB RAM, SSD as the main storage and high ...
0
votes
1answer
128 views

Run sh file when Amazon EC2 instance starts

I have a "sh" file that starts a node server. It works well if I run sh /var/www/init_node.sh I want the script to run everytime my instance restarts (so I have a node server up and running). I ...
1
vote
1answer
111 views

Which filesystem is this volume, I want to mount to an ubuntu server?

See those images below, it shows errors like wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error.... I just tried to mount it as FAT mount /dev/sdf ...
1
vote
1answer
66 views

AWS: how should I configure my vhosts to access different directories depending on the address I'm coming from?

I've just set up route 53 on AWS to link my server (ubuntu) to a godaddy domain name. I used to be able to access my /var/www/mmf folder from the elastic IP address given by aws (54.214.246.243/mmf) ...
2
votes
0answers
62 views

EC2 Ubuntu SSH Stops Working

I use about 15 EC2 instances to run some services. They are hosted on EC2 and run Ubuntu. Every once in a while the SSH stops working and the "Reachability Status" in the EC2 console shows that it is ...
0
votes
1answer
268 views

Failed to start production mysql server. No log messages either

This is a production instance (EC2) we are managing for a client. Downtime already 5 hours. I am screwed. The Story This morning I found one of our clients mysqld process in killed state. I did ...
0
votes
1answer
117 views

How to increase mysql back_log

I have programs using mysql heavily, and a large amount of slow queries and an even larger number of fast ones, all happening simultaneously. I want to increase the back_log variable using : SET ...
0
votes
0answers
414 views

nginx is running . . . but it isn't — ubuntu EC2

I set up an EC2 instance using Ubuntu 13.10 64 bit. The instance has a security group with http 80 open to 0.0.0.0/0. I installed nginx, restarted the server, and confirmed that nginx was running: ...
1
vote
0answers
268 views

Apache bloodhound installation, AWS host not serving site

Following the installation instructions here I went through the entire process on an AWS instance. Everything seems to be setup correctly, I can even run BH off the development server using: tracd ...
1
vote
2answers
119 views

SSH: Unable to login with key after disabling password authentication

I have an ubuntu server is on Amazon EC2. Earlier I used to login with the original pem key file generated at instance launch time. ssh -i /path/to/key.pem ubuntu@instance-dns-name.com I tried to ...
0
votes
1answer
130 views

Move files from ftp server to s3

I would like to set up an ftp server, where users will upload files, and for each file, put it on s3 storage, and delete it from the ftp server. (the server runs on ec2 ubuntu) Here are the stuff I ...
0
votes
1answer
141 views

AWS EC2 instance not pingable or available in browser

I've seen this questions asked other places, but now I've run through every fix proposed in other questions so I'm re asking it here, in hopes that someone will have a different solution. Problem: I ...
0
votes
1answer
250 views

What exactly is an invalid HTTP_HOST header

I've implemented Django's relatively new allowed hosts setting, which is meant to prevent attackers from submitting requests with a fake HTTP Host header. Since adding that setting, I now get ...
0
votes
3answers
184 views

Which AWS Ubuntu image has swap partition preconfigured?

I found that even I use the same EC2 Ubuntu image (default), some machine type will has swap partition preconfigured, e.g. m1.small, but some are not, e.g. m1.medium. Where can I found these ...
0
votes
3answers
117 views

AWS EC2 best way to work with contractors [closed]

I need to contract a System Admin to configure my running EC2 instance. For him to set everything up he will need my server IP address, my key.perm and root access. I though of setting up a new ...
0
votes
0answers
71 views

Weird consistent EC2 CPU spikes

One of our m1.small EC2 instances, running a Node.js web server, regularly gets some CPU spikes. It doesn't seem to matter what the peak CPU reaches, but whenever our traffic approaches the max for ...