0
votes
2answers
32 views

adding 2nd private IP on AWS EC2 instance

I am having problems adding a 2nd IP on AWS EC2 instance. I am running Ubuntu 14.04. I already tried this: a) Right clicked the instance and added a 'private IP' from the manage Private IP. b) ...
1
vote
1answer
75 views

apt-get on aws won't install zip

I'm running Ubuntu 12.10 (GNU/Linux 3.5.0-21-generic i686) on AWS. When I try and install unzip I get the following errors: sudo apt-get install unzip Reading package lists... Done Building ...
0
votes
2answers
33 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
1answer
77 views

Exit code 126 from SFTP

I've been notified that SFTP access is no longer working on an Amazon EC2 server running Ubuntu. I had done some work creating SFTP access for other users on this server. The limited user access is ...
0
votes
0answers
35 views

Can't mount bin/iso image from AWS import/export service

A client sent a 2 TB drive to AWSs import/export service; AWS put it in an S3 bucket in two chunks. I catted the two chunks together as an iso file, and tried to mount it, using the directions listed ...
0
votes
1answer
31 views

mongod won't run without me specifying my own conf path

I recently upgraded my apt-get and now mongod isn't behaving correctly. I currently have to run via: mongod --dbpath /var/lib/mongodb and leave the terminal open for it to work. If I just run ...
0
votes
0answers
32 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 ...
0
votes
0answers
19 views

Python uWSGI logs have no read permissions

I am running a Python Flask server on uWSGI over an EC2 Ubuntu 14.04 LTS. The server is configured as follows: [uwsgi] http-socket = :9000 plugin = python wsgi-file = /path/to_wsgi.py ...
0
votes
0answers
26 views

Regarding with the apache configuration

I registered a domain in GoDaddy.I setup a few items in my A records: subdomain.mydomain.com 1.2.3.4 mydomain.com 1.2.3.4 www.mydomain.com 1.2.3.4 In my ubuntu server apache virtual ...
1
vote
0answers
168 views

OpenSwan + AWS + Ubuntu 14.04 - Cannot reach server

i'm currently trying to set up a VPN in order to login into a private subnet hosted on AWS. The target host has Ubuntu 14.04 and installed OpenSwan. I've setup ipsec.conf, ipsec.secrets, xl2tpd.conf, ...
0
votes
1answer
419 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, ...
0
votes
0answers
183 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
3answers
68 views

Setup replication from one local disk to another local disk ( Ubuntu )

Is there is are some way to setup local replication of the one disk to the another ( Ubuntu ) in the such way that all read operations will be involve only first disk ? Such configuration will be very ...
0
votes
1answer
39 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, ...
-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
84 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
164 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
58 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
2answers
85 views

How to tell which script is slowing down the server the most?

As it happens often to coders, I had to take over someone else's code for this company, the server runs on Amazon Cloud (i2.xlarge) running ubuntu-saucy-13.10-amd64-server. (the guy left) The ...
-1
votes
1answer
115 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
1answer
36 views

Is it needed to use local DNS cacher in EC2 / VPC?

Seems like AWS internal DNS is already a very low latency one, e.g. On ec2 dig google.com | grep "Query time" ;; Query time: 0 msec So do we really need to use another DNS cacher?
0
votes
1answer
41 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
1answer
113 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
0answers
59 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) ...
1
vote
0answers
254 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 ...
0
votes
0answers
285 views

Installing and configuring Snort, Barnyard2 on ubuntu 13.10 server 64 bit in AWS EC2 VPC

I need you help after searching a whole lot and asking AWS my problem is not getting resolved, so I have come here for your help. I have a AWS VPC setup with all ubuntu servers I have a NAT server ...
2
votes
2answers
504 views

How to configure the login message in Ubuntu?

Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this: Welcome to Ubuntu 12.04.3 LTS (GNU/Linux ...
0
votes
1answer
125 views

Why the system information message when accessing an Ubuntu server doesn't match free -m?

Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this: Welcome to Ubuntu 12.04.3 LTS (GNU/Linux ...
0
votes
0answers
65 views

NFS client mounts pointing to the same host directory

So we have a single host instance on EC2 with two EBS volumes attached. When we mount the shares on the clients both shares are pointing to the same host directory even though they are defined and ...
0
votes
3answers
175 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
113 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
1answer
41 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 ...
0
votes
2answers
62 views

Need help recovering files after mounting new volume

So I used the guide in this answer to mount a new volume to /var/www: Allowing apache to access multiple volumes under AWS However, after doing it, my /var/www appears to have been cleaned out. I ...
0
votes
0answers
44 views

AWS OpsWorks and pearMail for PHP

Can someone please tell me how to have the pearmail package automatically installed when a new instance is created through opsworks? Would this have to be done with custom chef JSON?
0
votes
1answer
95 views

How to debug unresponsive web server

We have an Medium EC2 instance running Ubuntu 12.04, serving about a dozen small PHP web applications via Apache. Approximately every other day, the server becomes unresponsive and rebooting the ...
0
votes
1answer
22 views

Linux / Ubuntu fingerprinting command/method(s) to identify system wide differences in hardware / packages / configurations between 2 environments

I have 2 separate environments, and some strange behaviour occurring in one environment that is not in the other. Specifically the error is related to the PHP: Fatal error: Nesting level too deep - ...
0
votes
1answer
69 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
45 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
232 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
256 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
2answers
72 views

How should I host a website with infrequent, planned load spikes? [closed]

I have a smallish site which I expect to have extremely high concurrent traffic for a few hours each month. I'm trying to work out what hosting solution will ensure the site never goes down. Here are ...
1
vote
1answer
531 views

AWS Ubuntu 11.04 failing to apt-get update/upgrade

First, let it be known that it has been quite some time since I upgraded this particular server. When I execute sudo apt-get update most of the endpoints seem to be reached fine. However there are a ...
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
1k 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 ...
-1
votes
1answer
177 views

Write failed: Broken pipe from OSX to AWS

I'm ssh-ing into my AWS box (which is Ubuntu 12.04.2) from my local OSX machine. After successfully ssh-ing into the box using the following command: ssh -i my-cert.pem ubuntu@ I find that after a ...
1
vote
0answers
422 views

In Amazon EC2, what's the best way to clone a private github repository on boot?

I need to configure an autoscale group of EC2 instances that on boot will clone a particular branch and commit from a private github repository, then execute code from inside that repository. I'm ...
0
votes
3answers
420 views

Swap space in EC2 m1.small & m1.medium

I have a customized AMI, and when I launch instance from this AMI, if I choose m1.small, I will have a 895MB swap space; when I choose m1.medium, I will have 0 swap space, why is that? If I want my ...
0
votes
1answer
80 views

In AWS Ubuntu, python process stopped itself when running in background with &

command to start python process: python /root/serverFiles/Cusp.py 8001 >> /root/log/cusp.log 2>&1 & Cusp.py is a python code to call a bio-sequence process tool and return result. ...
0
votes
2answers
213 views

Start Linux GUI app in a VNC or RDP session for later access

Using a BASH script, I need to launch a GUI application at boot in such a way that I can later connect via RDP or VNC and see the application running. For example, the script will run at boot and ...
0
votes
2answers
364 views

AWS-CLI - Can't find my config even through it exists

I installed Amazon Command Line Tools (AWS-CLI) using: pip install awscli It installed successfully. I then created a file in this location: /opt/aws/aws_cred.txt [default] aws_access_key_id = XYZ ...