[ec2] unsubscribe

Elky Mart emart at makeupalley.com
Wed May 13 19:02:22 BST 2009


unsubscribe


-----Original Message-----
From: ec2-bounces at lists.ubuntu.com on behalf of ec2-request at lists.ubuntu.com
Sent: Wed 5/13/2009 7:00 AM
To: ec2 at lists.ubuntu.com
Subject: Ec2 Digest, Vol 6, Issue 6
 
Send Ec2 mailing list submissions to
	ec2 at lists.ubuntu.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.ubuntu.com/mailman/listinfo/ec2
or, via email, send a message with subject or body 'help' to
	ec2-request at lists.ubuntu.com

You can reach the person managing the list at
	ec2-owner at lists.ubuntu.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ec2 digest..."


Today's Topics:

   1.  Kernel sources/headers for 2.6.27-23-xen (Simon Detheridge)
   2. Re:  Kernel sources/headers for 2.6.27-23-xen (Chuck Short)
   3.   error when moving Home folder to persistent EBS
      (Pedro Sanchez Pernia)
   4. Re:  error when moving Home folder to persistent EBS
      (Jim Cheetham)
   5. Re:  error when moving Home folder to persistent EBS
      (Rodney T. Quillo)


----------------------------------------------------------------------

Message: 1
Date: Tue, 12 May 2009 16:25:25 +0100 (BST)
From: Simon Detheridge <simon at widgit.com>
Subject: [ec2] Kernel sources/headers for 2.6.27-23-xen
To: ec2 at lists.ubuntu.com
Message-ID: <1626592839.482051242141925788.JavaMail.root at ken>
Content-Type: text/plain; charset=utf-8

Hi all,

Where can I get kernel sources for the current 2.6.27-23-xen kernel? I'm looking to compile a new kernel module from source, and they don't seem to be installed.

Thanks,
Simon

-- 
Simon Detheridge - CTO, Widgit Software
26 Queen Street, Cubbington, CV32 7NA - Tel: +44 (0)1926 333680



------------------------------

Message: 2
Date: Tue, 12 May 2009 11:32:05 -0400
From: Chuck Short <chuck.short at canonical.com>
Subject: Re: [ec2] Kernel sources/headers for 2.6.27-23-xen
To: "ec2-beta at lists.ubuntu.com" <ec2 at lists.ubuntu.com>
Message-ID: <4A099675.4090303 at canonical.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Simon,

You can find it at:

https://www.launchpad.net/~ubuntu-on-ec2/+archive/ppa

Regards
chuck

Simon Detheridge wrote:
> Hi all,
>
> Where can I get kernel sources for the current 2.6.27-23-xen kernel? I'm looking to compile a new kernel module from source, and they don't seem to be installed.
>
> Thanks,
> Simon
>
>   




------------------------------

Message: 3
Date: Wed, 13 May 2009 10:22:14 +0200
From: Pedro Sanchez Pernia <pedrosanchezpernia at gmail.com>
Subject: [ec2]  error when moving Home folder to persistent EBS
To: ec2 at lists.ubuntu.com
Message-ID:
	<29ad05280905130122h6e9619bboa48cef8192b9ce76 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

I'm trying to move some folders from the instance to persistent storage, to
easily recover and backup.

I'm following some tips found in this
post<http://www.sunsetlakesoftware.com/2008/09/13/running-drupal-website-amazon-ec2>:
*"Anything placed in the /persistent directory will survive sudden
termination of the running instance, so you'll want to place log files,
databases, the files that define your site architecture, and anything else
you don't want to lose in that directory. The first step is to move users'
home directories. You can do this either by moving specific users'
directories or by moving the /home directory to /persistent, then using the
ln -s command to symbolically link the new location to its old place on the
file system."*

I'm using the last ubuntu official ec2 AMI (with"ubuntu" as user) and I try
to :
sudo mkdir /persistent/home
sudo mv /home/ubuntu /persistent/home/ubuntu
sudo ln -s /persistent/home/ubuntu /home/ubuntu

Issue #1 : sudo: cannot get working directory (after ln)
Issue #2 : because home/ubuntu and all the grant files has been moved, if I
loose the connection, I can no more SSH the server and I have to launch a
new instance ...

I'm just feeling it could be a security issue of the AMI config or simply my
poor experience in shell command...
Any help appreciated, thanks,

Pedro S?nchez Pernia
Madrid - Spain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/mailman/private/ec2/attachments/20090513/9a116a9c/attachment-0001.htm 

------------------------------

Message: 4
Date: Wed, 13 May 2009 20:41:13 +1200
From: Jim Cheetham <jim at inode.co.nz>
Subject: Re: [ec2] error when moving Home folder to persistent EBS
To: Pedro Sanchez Pernia <pedrosanchezpernia at gmail.com>,
	ec2 at lists.ubuntu.com
Message-ID:
	<f4cc59760905130141t28accd6fxf78c32af39a17432 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Wed, May 13, 2009 at 8:22 PM, Pedro Sanchez Pernia
<pedrosanchezpernia at gmail.com> wrote:
> sudo mkdir /persistent/home
> sudo mv /home/ubuntu /persistent/home/ubuntu
> sudo ln -s /persistent/home/ubuntu /home/ubuntu
>
> Issue #1 : sudo: cannot get working directory (after ln)
> Issue #2 : because home/ubuntu and all the grant files has been moved, if I
> loose the connection, I can no more SSH the server and I have to launch a
> new instance ...

I think it's just you and the shell, and nothing EC2-specific :-) I
guess that you were in /home/ubuntu when you did step 2 and moved it.
This will result in your shell's current working directory being
nonexistant, and will also mean that references to $HOME will fail
(and if I remember correctly, sudo looks in $HOME) -- even if there is
another directory with the same name. You can refresh the current
location with the wonderful "cd $(pwd)".

Probably a better sequence would be to start a root shell with sudo
and use that :-

$ sudo -i
# mkdir /persistent/home
# mv /home/ubuntu /persistent/home/ubuntu
# ln -s /persistent/home/ubuntu /home/ubuntu
# exit
$ cd $(pwd)

(Note that I've just typed these commands in, don't copy/paste them)

-jim



------------------------------

Message: 5
Date: Wed, 13 May 2009 16:43:23 +0800
From: "Rodney T. Quillo" <imcocoy at gmail.com>
Subject: Re: [ec2] error when moving Home folder to persistent EBS
To: ec2 at lists.ubuntu.com
Message-ID: <200905131643.23849.imcocoy at gmail.com>
Content-Type: text/plain;  charset="iso-8859-1"

Hi Pedro,

> Issue #1 : sudo: cannot get working directory (after ln)
You are at /home/ubuntu directory when you did the mv command. Try cd to  root 
directory or /mnt then execute: 

sudo mv /home/ubuntu /persistent/home/ubuntu

Rodney




On Wednesday 13 May 2009 16:22:14 Pedro Sanchez Pernia wrote:
> Hi all,
>
> I'm trying to move some folders from the instance to persistent storage, to
> easily recover and backup.
>
> I'm following some tips found in this
> post<http://www.sunsetlakesoftware.com/2008/09/13/running-drupal-website-am
>azon-ec2>: *"Anything placed in the /persistent directory will survive
> sudden termination of the running instance, so you'll want to place log
> files, databases, the files that define your site architecture, and
> anything else you don't want to lose in that directory. The first step is
> to move users' home directories. You can do this either by moving specific
> users' directories or by moving the /home directory to /persistent, then
> using the ln -s command to symbolically link the new location to its old
> place on the file system."*
>
> I'm using the last ubuntu official ec2 AMI (with"ubuntu" as user) and I try
> to :
> sudo mkdir /persistent/home
> sudo mv /home/ubuntu /persistent/home/ubuntu
> sudo ln -s /persistent/home/ubuntu /home/ubuntu
>
> Issue #1 : sudo: cannot get working directory (after ln)
> Issue #2 : because home/ubuntu and all the grant files has been moved, if I
> loose the connection, I can no more SSH the server and I have to launch a
> new instance ...
>
> I'm just feeling it could be a security issue of the AMI config or simply
> my poor experience in shell command...
> Any help appreciated, thanks,
>
> Pedro S?nchez Pernia
> Madrid - Spain




------------------------------

-- 
Ec2 mailing list
Ec2 at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ec2


End of Ec2 Digest, Vol 6, Issue 6
*********************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6332 bytes
Desc: not available
Url : https://lists.ubuntu.com/mailman/private/ec2/attachments/20090513/8af03adf/attachment.bin 


More information about the Ec2 mailing list