Amazon Elastic Compute Cloud (EC2), which allows users to rent virtual computer systems, is part of Amazon Web Services.

learn more… | top users | synonyms

0
votes
2answers
38 views

How do I find and remove Nginx from an EC2 instance?

I want to remove Nginx from my Amazon Linux EC2 server. How can I find it and remove/disable it? Nginx is listening on port 80, and I need access to that port. It would be preferable to not have to ...
0
votes
0answers
10 views

Dynamic action calls are getting through Amazon CloudFront

We have configured CDN to speed up our website. In our website we are doing some ajax calls basically action calls which take some amount of time to get response from origin server because they are ...
0
votes
1answer
35 views

Memcached on a webserver

We host a Magento webshop hosted by Amazon EC2, and we have speed issues. We're currently looking at moving to another provider. We found one hosting provider where we have a test account now. Speed ...
0
votes
1answer
78 views

Mysql database didn't connect through sqlyog or any other mysql software?

I can connect to a MySQL server through a browser and also I can show all database list through PuTTY. But when I try to use sqlyog or running the mysqldump command through PuTTY it shows this error: ...
0
votes
1answer
689 views

ERROR: init: ttyS0 (/dev/ttyS0) main process (1612) terminated with status 1

I'm getting the following errors every 10-30 seconds on a virtual Red Hat Enterprise Linux 6.5 2 Server on Amazons EC2. Sep 23 09:57:05 ServerName init: ttyS0 (/dev/ttyS0) main process (1612) ...
0
votes
0answers
93 views

Apc is not working in php 5.5

I install APC in ubuntu server where php version is 5.5.9. When I see apc. php it is enabled but it not properly work. In php info APC support Emulated 2nd one apcu is Version 4.0.2 ...
2
votes
1answer
158 views

systemd mount volume using device symlink

I'm trying to have systemd mount a volume by symlink. Unfortunately when I try it times out waiting for the systemd device to show up. # systemctl start mnt-ephemeral0.mount A dependency job for ...
2
votes
1answer
209 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
1
vote
0answers
77 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
5
votes
1answer
742 views

Need to ssh from one Amazon EC2 server into another one

Basically I need to be able to connect from one EC2 instance to another using SSH. I run the command ssh -i path-to-pem-file ec2-user@dns-address-of-ec2-instance, and it times out. I set my security ...
2
votes
3answers
2k views

How to upload a file from Windows to Linux?

I'm using Windows. I want to upload a file to Amazon server using putty from my Windows system. How to do this using scp or any other command? How do I download a file from the Amazon server to my ...
0
votes
2answers
171 views

Locked out of Ubuntu machine

I recently made changes to my EC2/Ubuntu instances by installing OpenSSH, before I was able to SSH just fine, however now I'm getting this error: ssh: connect to host shopious.com port 22: Connection ...
1
vote
1answer
104 views

Mounting an RAID0 EBS array on EC2

I had a RAID 0 on two EBS volumes running fine on EC2 until the instance was stopped, a snapshot of the EBS volumes created and then restarted again. Now when I go to mount the RAID array I can't seem ...
0
votes
1answer
72 views

Setup SFTP in Ubuntu AMI

I want to setup SFTP on Amazon Ubuntu AMI. I can connect to the instance with PuTTY and access my project file through normal FTP (using Filezilla). For FTP access proftp is installed in Webmin. Can ...
1
vote
2answers
894 views

Cannot install libevent on CentOS 6.5

I'm on CentOS 6.5. Specifically, I'm running this AMI: Adobe Media Server 5 Extended. I followed these steps: $ sudo yum groupinstall "Development Tools" $ sudo yum install glib2-devel fuse-devel ...
1
vote
1answer
337 views

What is the official Gentoo AMI?

I would like to use Gentoo on Amazon EC2. What are the right AMI for me to use? I won't be running X unless necessary. I guess I need a server variant, if there is such a thing.
0
votes
1answer
62 views

Help Deciphering Disk Usage. Where Did the Space Go?

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... To begin, let's execute the following: ...
0
votes
1answer
260 views

What is a good distribution to use that is similar to Amazon Linux [closed]

I'm running the "Amazon Linux" OS/distro in production on EC2, But I'd like to do some local development/testing with VirtualBox VMs. What would be a good distribution to use that is most like Amazon ...
2
votes
1answer
93 views

Fedora 8 - out of date?

We use Fedora 8 (an Amazon EC2 Public Image) for some of our servers. I see that Fedora is at version 20 now, and Fedora 8 is from around 2006/7. What confuses me is that these servers were installed ...
1
vote
1answer
205 views

How to stop many process like unicorn and sidekiq using single command in certain environment

I am using Ubuntu 12.04. I remotely access remotely EC2 instance, i will stop and start unicorn and sidekiq by following commands cap development unicorn:start cap development unicorn:stop cap ...
3
votes
2answers
12k views

Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is ...
1
vote
1answer
1k views

Driver install, kernel source not found

I am trying to install a NVidia Cuda driver on a Amazon EC2. GPU instance (Amazon Linux AMI (HVM) 2013.09.2 - ami-e9a18d80) following the instructions laid out in a blog. It worked for the last two ...
0
votes
0answers
266 views

“No space left on device” - plenty of space and inodes left [closed]

I am using amazon linux on an ec2 instance. I am running a cron script as root that copies files to a different directory on the same machine, but some of the file copies are failing with a "no space ...
0
votes
2answers
72 views

Where to look for problems logging in via ssh [closed]

For the past two mornings I have been unable to log into (establish an ssh connection) to an Amazon EC2 instance running the Bitnami node stack (based on Ubuntu) for several minutes. After a few ...
2
votes
0answers
106 views

Limit CPU cycles inside of Xen

I'd like to run some minimum-expectation benchmarks on EC2, but I'm having an issue of high variability in my output data. Specifically, they keep giving me more CPU than I'm minimally entitled to, ...
0
votes
0answers
123 views

Is swapping the cause of high IO on my box?

I'm running a LAMP stack on an Amazon EC2 micro instance with 616 MB of memory. This seems sufficient to be able to run a few small websites with Apache, MySQL and PHP. I have one Wordpress site ...
1
vote
3answers
408 views

Amazon EC2 micro instance large number of IO requests

I'm trying to understand why I have a huge number of EBS IO request on my Amazon EC2 micro instance. I launched the instance roughly 6 days ago and has racked up over 4 million IO requests so far. ...
0
votes
1answer
170 views

Changed /etc/ssh/sshd_config. Now can't get to SU. Am I screwed?

To allow one of my users ssh access I added the line AllowUsers user to my sshd_config. I gave the box a reboot and attempted to ssh back in as superuser. I was unable to do so. I have my keys- ...
2
votes
1answer
1k views

“tshark: There are no interfaces on which a capture can be done” in Amazon Linux AMI

My goal is to capture packets with tshark in Amazon Linux AMI. While typing tshark in the command line there's an error: "tshark: There are no interfaces on which a capture can be done" How to ...
1
vote
0answers
96 views

Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives

This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
2
votes
1answer
280 views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
2
votes
2answers
1k views

Amazon AWS (Amazon AMI) installing OpenVPN

I'm trying to set up OpenVPN on AmazonAWS. I'm pretty new to Linux so I followed a tutorial. I ran yum -y install openvpn and I received a message saying it was successfully installed. The next step ...
3
votes
1answer
1k views

Apache 70007 and 70014 errors [closed]

I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
2
votes
1answer
732 views

AWS XML response error signature does not match

I have a bash script that should return the XML response for AWS EC2 regions but I am getting an XML error response as: "SignatureDoesNotMatch" The request signature we calculated does not match the ...
0
votes
0answers
373 views

vnc4Server Issue

I initially installed VNC4SERVER to run Guacamole (render VM through browser) on an AWS EC2 Linux (Ubuntu 12.04) instance. It worked fine and then I shutdown the instance. After a few days I started ...
1
vote
0answers
316 views

Amazon EC2 MySQL Failed to Start

I'm having issues starting MySQL after it randomly stopped working a few minutes ago. I'm getting this error while trying to connect: Connect failed: Can't connect to local MySQL server through ...
0
votes
2answers
300 views

SSH connections not accepted after configuring NFS?

I have a couple of servers in a VPC in Amazon EC2. One of them acts as a NFS server, and one of them as a client. I recently noticed a problem in the client that after a reboot, it would reject all ...
3
votes
2answers
1k views

ZFS on Linux and Amazon EC2

I have a situation where I need dynamically expandable storage space on a Linux machine running in Amazon EC2, and ZFS came to mind. If I remember properly, ZFS supports a way to dynamically expand a ...
13
votes
1answer
13k views

BUG: soft lockup - CPU# stuck for x seconds

I've seen a few bug reports and questions (on stackexchange and elsewhere) regarding a nagging "BUG: soft lockup - CPU#<n> stuck for <dt>s!". So far, I haven't found any clue as to what ...
0
votes
1answer
2k views

Log4j File Location

I have a Webapp running on an Amazon EC2 Linux AMI. I've been trying to configure my Log4J file for logging but haven't been able to figure out where the logs are getting created. This is my log4j ...
1
vote
1answer
224 views

the right way to synchronise sources on freebsd

Update: I'm happy to report @dartonw 's answer worked and I went and did a checkout and then buildworld and it built successfully in about 6 hours. So I've been having some issues with jails in ...
2
votes
1answer
2k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
1
vote
1answer
813 views

vim install on freebsd has taken 5 hours and counting

Ok, so installed portmaster and I'm trying with it, I'm hoping it won't take time. So I've been up all night and my vim installation is still going on. I have an amazon ec2 freebsd server setup. I ...
1
vote
0answers
94 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
0
votes
2answers
2k views

Turn off --skip-grant-tables in MySQL

I'm pretty new to using Linux but am setting up my MySQL databases on an Amazon ec2 instance. I followed some directions I found about resetting the user login pass by using the --skip-grant-tables ...
0
votes
1answer
350 views

Why is rewriting in htaccess not working on this server

I'm moving code from a server that served a single domain to one that serves multiple domains. I'm using named virtual hosts to handle the different domains. The url rewriting is not being executed ...
0
votes
1answer
508 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
1answer
455 views

cron logging but not working on some commands [duplicate]

Possible Duplicate: How can I execute date inside of a cron tab job? I have a server in Amazon EC2 that I run a backup script on with cron. However, it is not working. To test out if cron ...
4
votes
2answers
2k views

What is /dev/xvde1?

I'm having to do with an OpenShift RHEL Linux installation running on Amazon EC2. In the filesystem, there is a device file named /dev/xvde1 mounted to / ... and a device file named /dev/xvde2 mounted ...
1
vote
1answer
3k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...