Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.

learn more… | top users | synonyms

0
votes
0answers
219 views

EC2.micro nginx php-fpm error “upstream timed out”

I've been setting up a new server on AWS using a t2.micro instance and Ubuntu. After setting everything up the site worked fine, but now it's throwing errors. There is no traffic on the site at the ...
1
vote
1answer
164 views

Recursive display of remote desktop screen

I tried to set up remote desktop to connect to an Amazon EC2 ubuntu instance. The steps are: (1) sudo apt-get install --no-install-recommends lightdm lubuntu-desktop tightvncserver (2) create a file ...
1
vote
1answer
214 views

Is /etc/X11/xinit/xinitrc. supposed not to exist?

I'm trying to connect to Amazon EC2 Ubuntu 14.04 instance through VNC but always fail (only grey background). Some articles say we should have a line in .vnc/xstartup which reads exec sh ...
2
votes
1answer
145 views

Apt-get wants me to remove packages (from r-cran) that I need

Why is apt-get telling me to remove packages that I need? And how do I tell it to shut up? I'm running an EC2 with Ubuntu 14.04 and R 3.1.2 and Rstudio-server. I just ran apt-get update and upgrade ...
0
votes
0answers
236 views

Problem installing honeypots on Ubuntu

I'm relatively new to Unix/linux and the CLI. I'm working on a project to set-up a honeypot Dionaea on Ubuntu 14.04.1 LTS on my Amazon EC2 VPS. For doing that I follow a tutorial. But it seems that ...
1
vote
0answers
177 views

Why `apt-get dist-upgrade` in EC2 image does not update the kernel?

I've built a system running Ubuntu 14.04 on EC2, using the AMI from Ubuntu's cloud-images repository. The AMI includes kernel 3.13.0-37, but 3.13.0-39 is available as an update. After running ...
2
votes
1answer
422 views

How do I install ec2-api-tools in 14.10 utopic?

$ sudo apt-get install ec2-api-tools Reading package lists... Done Building dependency tree Reading state information... Done Package ec2-api-tools is not available, but is referred to by another ...
0
votes
0answers
134 views

How to harden/tune Ubuntu then package it back into an ISO

I am interested in delving into Amazon Web Services (AWS), and would like to create a few EC2 instances from my own hand-tuned instances of Ubuntu Server 14.04.1 LTS. What I would like to do (I ...
0
votes
0answers
166 views

Scheduled Cron Back up from EC2 to S3

I have created a script for scheduling sql back ups and store in Amazon S3. Below is the script that I used for taking backups. DATABASES="testdb" testdb_USER=root testdb_PW=root ...
1
vote
1answer
46 views

CronJob not working as expected

I generated a cronjob line for crontab -e with Crontab Generator: * */2 * * * curl http://www.example.com/cron.php >/dev/null 2>&1 I was expecting that it should run every 2 hours. But in ...
0
votes
0answers
55 views

how to set up group level administrator in linux ubuntu!

In my application there is multiple groups and n number of users. What i need is to assign a particular/multiple user as group administrator. Group level administrator is just a user that has ...
0
votes
1answer
76 views

Mount and external hard drive on an Amazon ec2 Ubuntu server

I'm using the amazon EC2 servers for the first time, so I'm sorry if i'm not understanding something obvious. I alredy created and connected to an EC2 instance with a ssh connection. I'm trying to ...
2
votes
0answers
155 views

initramfs-tools irqbalance apt-get upgrade error

I am getting an error when I do sudo apt-get upgrade. I did a do-release-upgrade and went into a lot of issues. Finally the problem has been reduced to: sudo apt-get upgrade Reading package lists... ...
1
vote
1answer
114 views

cannot add swap with fallocate on EC2

I'm trying to setup the swap in /etc/rc.local this way: sudo fallocate -l 8192M /mnt/swapfile1 sudo mkswap /mnt/swapfile1 sudo swapon /mnt/swapfile1 This however returns an error: fallocate: ...
2
votes
1answer
348 views

post-receive: No such file or directory

I'm getting an error when trying to push to a remote Amazon EC2 (Ubuntu Linux) instance. I've given all related directories and files full permissions. I'm trying to use a post-receive hook to move ...
0
votes
1answer
191 views

Preview .html file from remote AWS EC2 instance on local machine's browser

From this and this I've gathered that I should ssh into my ec2 instance from my Mac by: ssh -C -c blowfish -X -i user.pem user@hostname.com This accomplishes X11 forwarding. Afterwards, how do ...
0
votes
0answers
186 views

How to configure Postfix, stunnel for AWS SES?

I have been trying to set up SES on our EC2 running ubuntu. I have followed the instructions on their docs page but not able to figure out what's wrong. I'm a newbie that's why i'm looking for a ...
-1
votes
0answers
75 views

Apache Virtual Hosts on Ubuntu not working

I have created virtual hosts on amazon instance ec2 by following this tutorial how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts I also created 111.111.111.111 example.com on my windows hosts ...
1
vote
0answers
148 views

installing vmware ova on amazon aws

I am trying to import a vmware ova on amazon aws but experiencing issues. After importing (or my attempt to import), I can no longer access the server via SSH even though the amazon AWS console shows ...
-1
votes
1answer
533 views

Only Terminal windows appear on TightVNC

I use ubuntu server provided by amazon ec2. I want gui so that i install ubuntu-desktop on server and edit xstartup. But when i connect to my server through TightVNC it shows only terminal windows. ...
2
votes
1answer
2k views

After install Google Chrome in EC2 won't open from Ubuntu Server 14.04 LTS (HVM) command line [duplicate]

I have installed Google Chrome with following command line: $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - $ sudo sh -c 'echo "deb ...
0
votes
1answer
342 views

Cant have passworldess ssh between 2 ec2 servers - Permission denied (publickey)

I created 2 aws ubuntu 12.04 servers I uploaded the id_rsa and id_rsa.pub files to both servers I ran the below on both servers chmod 600 id_rsa* eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa What ...
2
votes
3answers
557 views

Completely Messed up sudoers file and su Operations

I am in a really bad condition right now.I am jotting down the steps I did to get myself into this situation. My objective was to disable sudo on my machine. I am running Amazon Ec2 Ubuntu 12.04 I ...
2
votes
1answer
351 views

Ubuntu EC2 compatible kernels

I am trying to create an Ubuntu 13.10 64 bit AMI with the paravirtual type of virtualization. I have not had problems with the hvm virtualization. I can't figure out what kernel I need to use. For the ...
1
vote
1answer
950 views

SSH remote commands very slow after migrating from 12.10 to 14.04 on EC2

I had a number of 12.10 machines running on EC2 and provisioned them using scripts built around: ssh scp rsync Now I have replaced most of my 12.10 machines with 14.04 machine and am finding that ...
2
votes
1answer
264 views

RDP to amazon EC2 Ubuntu instance

I've set up an Amazon EC2 instance. I allowed RDP from any ip in the security groups, installed and started xrdp and added a user with a new password. However when I try to remote connect, the ...
2
votes
1answer
618 views

NTP: Use unprivileged ports

I have had some trouble with ntdpate on EC2, which was solved by using the -u argument for unprivileged ports: $ sudo ntpdate -u ntp.nasa.gov time-b.nist.gov I know that ntpd is better than a ...
1
vote
2answers
1k views

Can't run ntpdate on EC2

I have had some serious issues with time accuracy on my Ubuntu EC2 machines, with drifts of more than 60 seconds. A possible solution is running ntpdate or ntp, but I can't get them to work on EC2: ...
1
vote
1answer
194 views

ec2 ubuntu access requesting password after ssh update

I was trying to set up an sftp account and one of the forums suggessted that we comment out PAM access. I now think that is how the user ubuntu has access and so I can no longer access my ec2 instance ...
1
vote
0answers
106 views

EC2: Are frequent apt-get upgrades a good idea? [closed]

In my Ubuntu Desktop, I often run: sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove To keep my machine updated. Is this a good idea in an EC2 production ...
2
votes
0answers
26 views

EC2: Should I restart when I get a “*** System restart required ***”? [duplicate]

When I log into my machines after an apt-get upgrades, I often get this message: System load: 0.06 Processes: 86 Usage of /: 28.3% of 7.75GB Users logged in: 0 ...
-1
votes
1answer
27 views

What kind of traffic is going to ec2-54-83-181-212.compute?

I'm toying with some tools to monitor the network traffic going to and from my laptop. Specifically, I'm using iftop and nethogs. I am constantly seing traffic with a site reported as ...
0
votes
1answer
474 views

replacing kernel on non-booting ec2 instance

So I had an amazon ec2 instance crash during the update to 14.04LTS. Frustratingly, it appears the kernel might be bad (or at least that's what the log below says to me, I could totally be wrong). I'm ...
1
vote
1answer
463 views

Juju and no default VPC on AWS

I'm trying to use Juju with AWS but when I bootstrap it says that it cannot set up groups: "No default VPC for this user (VPCIdNotSpecified)". I have no default VPC on AWS and it appears it's not ...
1
vote
1answer
29 views

What is the official Ubuntu server AMI?

I would like to use the latest Ubuntu server on Amazon EC2. What are the right AMI for me to use?
0
votes
1answer
123 views

EC2 virtual server receives requests but can not access another host

Staff I have a virtual machine in Amazon AWS Ubuntu where I even installed Apache2, PHP5 and MySql. Everything was running well, well configured, my website running fine on it. Until suddenly ...
14
votes
3answers
17k views

Why did installation of MySQL 5.6 on Ubuntu 14.04 fail?

I wanted to get a look at MySQL 5.6 on Ubuntu 14.04 just out of curiosity. And based on this article it certainly looked like installation should be simple and straightforward. So I fired up an AWS ...
2
votes
1answer
105 views

Why do EC2 instances provisioned with Juju no longer include additional storage?

I recently upgraded from Juju 1.18 to 1.18.1, and suddenly my charm to deploy a MapR hadoop cluster stopped working. I traced the problem to the fact that non-root disks are no longer associated with ...
2
votes
0answers
3k views

VSFTPD not working

I followed instructions and other instructions too but because it is not user-friendly, the ftp server is not working. # This option specifies the location of the RSA key to use for SSL # encrypted ...
2
votes
1answer
4k views

Need help with getting NoMachine working on Ubuntu 14.04

I’m trying to get NoMachine working on a AWS EC2 instance with 14.04 Trusty Tahr. I’ve used the instructions from: https://help.ubuntu.com/community/NomachineNX ...
5
votes
5answers
15k views

vsftpd installation not working on virtual server as of 14.04

The process I have used for installing vsftpd since 12.04 no longer works. I get the error stop: Unknown instance when restarting the service. I believe this means the configuration is wrong, but I ...
0
votes
1answer
390 views

dpkg doesn't function properly after upgrading an AWS EC2 to 14.04

After running do-release-upgrade -d on our staging EC2 instance, I've encountered a problem with dpkg. My original problem was that mkvirtualenv command was failing with the following error: Unknown ...
1
vote
2answers
34 views

Why do Ubuntu AMIs only have 8gig on root

I've created an EC2 instance from an Ubuntu AMI but the instance storage is split, with 8gig on the root and the rest mounted at /mnt Why is this? How do I get it all mounted on the root?
0
votes
1answer
2k views

sudo: ruby: command not found after ssh

I'm working with ec2 instances and was trying to execute a ruby script on another instance after ssh to that instance. I have a ruby script which updates configuration files, so i need to run that ...
1
vote
1answer
78 views

Error when using Juju Client on Windows 8.1 juju bootstrap to aws get AWS Acess key id you provided

Question what could be the source of this error: Error The AWS Access Key Id you provided does not exist in our records. Setup: Windows 8.1 running the 1.16.6 windows juju client access via ...
0
votes
1answer
923 views

unable to send email

I'm getting an error message: mail: cannot send message: Process exited with a non-zero status Command date | mail -s "test" -r some@myemail.com some@myemail.com mailutils install via this ...
1
vote
0answers
36 views

apt-get BADSIG signature gpg error [duplicate]

I am trying to do an apt-get update in one ec2 instance and I get the following error: W: GPG error: http://us-east-1.ec2.archive.ubuntu.com precise-updates Release: The following signatures were ...
6
votes
0answers
663 views

Getting WebGL to run on an Amazon EC2 server

I'm trying to get WebGL to work on my Amazon EC2 server (migrating from an office-bound Mac Mini, that has a lot of hiccups). Worked some days to get this running, but I'll try to start from where i ...
1
vote
1answer
1k views

amazon ec2 ubuntu apt repos outage?

Is there something happened on Ubuntu Mirror Repos hosted on Amazon S3 Archive? I got the message "forbidden 403" returned from Ubuntu S3 archive It used to work before, but it stopped working ...
0
votes
1answer
163 views

Why is Juju failing to deploy my sharded MongoDB cluster?

I am trying to deploy a sharded MongoDB cluster on Amazon EC2, using the directions at http://manage.jujucharms.com/charms/precise/mongodb. However (and I have tried this three times), my mongos ...