Amazon Elastic Compute Cloud (EC2), which allows users to rent virtual computer systems, is part of Amazon Web Services.
6
votes
1answer
637 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 ...
5
votes
1answer
4k views
Is there a way to get the Public DNS address of an instance?
I have a project wherein I need to update configuration files each time an EC2 instance is booted with the Public DNS address of the current instance. I'll be using Perl or Sed for this, so that's ...
5
votes
1answer
153 views
How can I find a Ubuntu package to use with Amazon EC2?
I'm looking to set up a new server on Amazon's EC2 and I wanted to use Ubuntu 11.04 is it is fairly new but not too new. I previously used 10.10 which I think is also very stable and time-tested.
My ...
4
votes
3answers
263 views
Does bash have a built in caching command available (sort of like mktemp or sponge)?
I'm using the amazon ec2 command line tools, and the ec2-describe-instances tool is a little painful because of the 2-5 seconds it requires to make the request and display the output.
I'm looking ...
3
votes
2answers
210 views
Is it possible for a CentOS system on EC2 to not have a bootloader?
I'm attempting to look for grub:
[root /]# find / -iname "*grub*"
/sbin/grubby
/usr/share/man/man8/grubby.8.gz
/usr/share/vim/vim70/syntax/grub.vim
/usr/share/vim/vim70/ftplugin/grub.vim
...
3
votes
1answer
12k views
VSFTPD, 553 Could not create file. - permissions?
I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
3
votes
1answer
237 views
Install pdflatex via SSH on Amazon EC2 instance
I need to install pdflatex on my Linux powered machine (Amazon EC2 instance, didn't decided yet which distribution would be the best so also feel free to give a hint) because I want to connect ...
3
votes
2answers
622 views
Create and Delete Amazon EC2 Volumes using a shell script
I am using this following script which does a regular backup of volumes on Amazon AWS cloud service. It creates new snapshots of the volumes and should remove snapshots older than two days. It is ...
3
votes
2answers
972 views
How can I block a range of IP addresses with an Amazon EC2 instance?
I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
2
votes
2answers
648 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 ...
2
votes
2answers
820 views
What do mkfs.xfs and modprobe do when mounting an Amazon EBS instance?
I'm looking through this guide for how to add an EBS volume to an Amazon EC2 instance, and I've found this little part of instructions hard to follow:
Create an XFS file system on the EBS volume ...
2
votes
1answer
740 views
Attempting to update Amazon Route53 using a script, but domain is not being updated
I have several Amazon EC2 instances, running Ubuntu 10.04, with which I'd like to use Amazon's Route53. I setup a script as described in Shlomo Swidler's article, but I'm still missing something.
...
2
votes
1answer
208 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 ...
2
votes
1answer
423 views
Connection ec2 instance operation timeout error using ssh
After creating a new instance,I am trying to access my instance like below:
ssh -i private_key.pem root@my_instance_public_domain
but the operation is timing out,I have updated the private key file ...
1
vote
2answers
101 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 ...
1
vote
1answer
488 views
What is the optimum swap size on Linux for a heavily threaded program?
I using an Amazon EC2 server small instance and by default it allows 382 threads per process. However, I wish to run 10,000 threads in a single process. Recently, I learned that this can be done by ...
1
vote
1answer
819 views
How should I set up additional EBS storage on an Amazon EC2 instance?
One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices:
server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
1
vote
1answer
84 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 ...
1
vote
1answer
156 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
1answer
1k 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 ...
1
vote
0answers
66 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.
...
1
vote
0answers
175 views
Unable to connect by FTP to a Debian AWS server (ami-aa46b4c3)
I've launched an AWS instance with the image debian-6.0-squeeze-i386-server-20110323 (ami-aa46b4c3) and I am trying to set up a FTP server.
I have tried several ftp servers but nothing seems to work. ...
0
votes
1answer
150 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
56 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 ...
0
votes
1answer
226 views
Do I need ephemeral storage?
I was running a small instance on Amazon EC2. I'm trying to migrate it to a micro as it requires very minimal processing power. One thing I just learned though, is that micro instances do not come ...
0
votes
0answers
100 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 ...
0
votes
1answer
198 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
173 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
182 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 ...
0
votes
1answer
493 views
Can't connect remotely to server running redhat (ec2)
I created a RedHat 6.1 VM with EC2. Logged in as root, I installed (unzipped) JDK1.7 in /root/bin/jdk1.7.0 and installed (unzipped) GlassFish 3.1.1 in /root/bin/glassfish3. I set JAVA_HOME and ...