0
votes
2answers
66 views

Why can't I send/receive emails from AWS Ubuntu using Postfix?

I'm trying to send/receive emails on my AWS Ubuntu box. To do so, I'm following the instructions posted by Amazon here. (I skipped the section entitled "To configure integration using a secure ...
0
votes
1answer
33 views

Where to start? Multiple Websites, same IP and port, same SSL, on Apache 2.4, Ubuntu, EC2, behind AWS ELB?

Current Situation: My company runs a number of individual EC2 instances hosting unique websites using multiple subdomains off of a common top-level domain. (abc.foo.com, and def.foo.com, for example). ...
0
votes
1answer
25 views

How to set up 2 domain name pointing to 2 different folders on the same server?

I have 2 domain names registered. I also have 1 server at AWS. (running Ubuntu) I would like to host 2 websites on my server but have no clue how to do it. I have two directories /var/www/alpha and ...
1
vote
2answers
183 views

Best ways to discover servers in a public cloud? [closed]

I want to make a ubuntu server image to run in a public cloud that discovers when other servers from the same image come online. I came up with this list of solutions, but I'm not sure what is best? ...
0
votes
0answers
18 views

Mounted volume is not showing in my EC2 elastic block store list

I have recently launched an m3.xlarge instance on amazon EC2 which is running Ubuntu 14.04. It came with three volumes. One 8gb volume which holds the OS data, and two 40GB data drives. When I ssh ...
0
votes
1answer
52 views

Connecting to MongoDb at EC2 - how do I know username, host, port, ect?

I manually installed MongoDb on EC2 micro instance using this http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ Now I need to connect to it from a Rails application. Where do I find ...
1
vote
1answer
267 views

HAProxy and Intermediate SSL Certificate Issue

We are currently experiencing an issue with verifying a Comodo SSL certificate on an Ubuntu AWS cluster. Browsers are displaying the site/content fine and showing all the relevant certificate ...
1
vote
1answer
54 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 ...
1
vote
1answer
89 views

OpenVPN tunnel one-way traffic failure between LAN and AWS VPC

We are trying to configure an OpenVPN tunnel that allows devices on our LAN to communicate with servers in an Amazon VPC. We are using the turnkey OpenVPN access server instance on Amazon and have ...
0
votes
1answer
127 views

mysql.sock error when deploying with AWS Ubuntu and RDS

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Rails.root: /opt/deployment.myproject/releases/20140805050704 I've spent the better part of 3 days trying to ...
0
votes
1answer
118 views

Is wkhtmltopdf set up properly

I'm using this (https://github.com/KnpLabs/KnpSnappyBundle) to render an HTML file to a pdf. I've built it on a test server and it all works perfectly but when I move it to the live server none of the ...
0
votes
2answers
191 views

Editing sshd_config file [closed]

I'm trying to edit the sshd_config file that's in the etc/ssh (of an Ubuntu AWS EC2 server) folder. I'm using FileZilla to change the ports but no matter what I do it won't except the changes. I get ...
0
votes
2answers
280 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
362 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
125 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
255 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
100 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
102 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
38 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
51 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
28 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 ...
2
votes
0answers
381 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
1k 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
353 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
82 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
42 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
60 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
98 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
626 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
87 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
130 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 ...
0
votes
1answer
264 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
45 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
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
1answer
163 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
79 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
294 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
330 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
865 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
202 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
81 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
209 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
119 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
67 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
1answer
121 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
74 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
48 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
295 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 ...