1
vote
2answers
22 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 ...
0
votes
0answers
35 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
88 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
34 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 ...
2
votes
0answers
33 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
141 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
32 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
128 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
93 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
30 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
63 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
52 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
56 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
43 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
26 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 ...
-1
votes
1answer
70 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
78 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
36 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
21 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
63 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
83 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
0answers
46 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
46 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
63 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
76 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
203 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
196 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
74 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
90 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
99 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
177 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
139 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
89 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
61 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 ...
0
votes
1answer
40 views

Allow HTTP packet from specific hosts on an ec2 instance strictly

I have an ec2 instance (proxy) which is being used as http proxy server. There are some other hosts (hostA, hostB, hostC), I want the proxy server will only allow connection from those hosts. For ...
8
votes
4answers
669 views

`sudo echo “bla” >> /etc/sysctl.conf` permission denied

Disclaimer: I'm pretty novice at sysadmin stuff. I'm trying to set up port forwarding in an AWS EC2 instance, this has to be done in the command-line because I don't want to go in and edit anything, ...
0
votes
1answer
142 views

unable to upload cookbook from knife to chef-server

I am running open source chef server on ubuntu ec2 instance. I am trying to upload the cookbook from my workstation using knife to chef-server, I am getting following error ...
0
votes
1answer
60 views

Allowing apache to access multiple volumes under AWS

I've added another volume to my EC2 instance (mounted as /dev/xvdf), and I need to be able to place files on that volume and be able to retrieve them via the /var/www/ directory. How can I accomplish ...
1
vote
0answers
41 views

maintaining session in elastic Bean

As the number of instances changes from time to time in EBS amazon. If an application is built in PHP how the session will be mantained among several instances? How can we make sure not to delete the ...
0
votes
1answer
182 views

Two default Ubuntu instances cannot access each over through Amazon VPC

I am running two Ubuntu 12.04 instances, both of which cannot access each other. Machine 1: eth0 - 10.0.0.20 eth1 - 10.0.0.30 netstat -nr: Destination Gateway Genmask Flags ...
0
votes
3answers
179 views

Ubuntu not enough space on AWS EC2

I have 25GB volume on EC2. OS is Ubuntu 12.04 LTS. I can connect to it, but cannot even write 1KB. I tried to delete some files and write again - the same result - not enough space. I tried to check ...
2
votes
1answer
183 views

build-essential: no installation candidate *sometimes*

I'm having a reoccurring issue when sometimes build-essential isn't available while trying to setup ubuntu 12.04.2 on AWS (using ubuntu provided ami: ami-ce7b6fba). Script that sets up the instance: ...
3
votes
2answers
386 views

Apache Server not reachable on Ubuntu VM

I am new to linux/ubuntu, but I want to set up an apache webserver on an ubuntu VM. I created a VM on amazon AWS, installed the apache. But now I can not reach it via browser. I am not sure if the ...
0
votes
1answer
101 views

How to build a Drupal-supporting EC2 instance?

After trying to retrofit an existing Ubuntu Raring Amazon EC2 node to support Drupal (see PHP5 is installed, but Apache is displaying PHP as uninterpreted text. How can I get it to process it as ...
0
votes
1answer
27 views

How can I take a server with several Apache VirtualHosts, and add Drupal from Ubuntu “aptitude install drupal7”?

I have a server that has several Apache VirtualHosts, and I want to add Drupal. I see that my installing drupal7 (under Ubuntu Raring on an EC2 host) let Drupal set up camp in /usr/share/drupal7. What ...
2
votes
2answers
610 views

Running an EC2 server on Ubuntu with 2 simultaneous network interfaces

I have found similar questions relating to this issue but none matching my situation and none of the advice has helped me get this running. I have a 64bit Ubuntu server from the default AMI running ...
0
votes
1answer
111 views

Opening ports in EC2

I have an ec2 instance. I have opened a port in the security group for cassandra (9160) and have cassandra listening on it. If I use nmap on the instance, that port does not show up, and I cannot ...
0
votes
0answers
54 views

Disable disk caches in AWS EBS for PostgreSQL?

It's my understanding that, without correctly disabling OS-level and drive-level caching, there is a chance that in case of system failure the Write-Ahead Log might not be saved correctly and in fact ...
2
votes
2answers
68 views

temporary ssh access on all ec2 boxes

I would like to offer a weekend on-call contractor ssh access with sudo on a cluster of production ec2 (ubuntu) boxes. I would like to easily enable/disable access to all the boxes with a simple ...
0
votes
1answer
53 views

Tomcat access logs - are failed requests included?

We have a RESTful web service (Java, hosted in Tomcat on Ubuntu on Amazon EC2). From time to time it fails (not every week). When it fails, Java CPU consumption goes to 100% and it takes all available ...