[Spce-user] Amazon issues

Andreas Granig agranig at sipwise.com
Wed May 25 08:43:46 EDT 2011


Hi Claude,

The installation on EC2 takes some manual intervention at the moment,
and I'm currently writing a how-to on how to tackle that. There will be
a ready-to-run AMI at some point, but this will take 2-3 weeks at least.

For a quick-start, you need to make sure to find and install the proper
linux-header packages. Not sure which one is the right one for you,
you'll have to check what kernel version you're running in your AMI.
Mine says:

# uname -r
2.6.32-309-ec2

So I found on the web (actually in an Ubuntu repository) the two
corresponding header packages:

linux-headers-2.6.32-309_2.6.32-309.18_all.deb
linux-headers-2.6.32-309-ec2_2.6.32-309.18_amd64.deb

Beside that, you need to try "apt-get install <package>" for those which
fail, and manually resolve the issues. When it complains about a package
dependency which is not satisfied, you've to repeat that until it tells
you the real error. Most likely, ngcp-mediaproxy-ng can't be installed
due to the missing kernel headers, or maybe some other packages are not
available in the repo configured in your AMI.

Once all dependencies are resolved, re-start the installer again, and
then it'll continue after package installation and will create the
configs and the users you're still missing (e.g. cdrexport) for you.

Andreas


On 05/25/2011 02:55 AM, Claude Hayn wrote:
> 
> Hello,
> 
> We've been attempting to install version 2.2 on the Amazon cloud with mixed
> success.  We completed the installation, but are failing to get the UIs
> available for the administrator or end-users.  We did the upgrade today to
> the 2.2 release from v2.2-rc1.
> 
> During the installation of v2.2-rc1 and subsequent upgrade to v2.2
> installation we received these errors:
> 
> Errors were encountered while processing:
>  collectd
>  ngcp-check-tools
>  ngcp-services-ce
>  ngcp-ngcp-ce
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> root at domU-1222-361-39-500-CD-A0:~# passwd cdrexport
> passwd: user 'cdrexport' does not exist
> 
> 
> dkms: running auto installation service for kernel 2.6.32-5-xen-amd64:
>       ngcp-mediaproxy-ng (1.3.5)...failed.
> dkms: WARNING: linux headers are missing, which may explain the above
> failures.
>       please install the linux-headers-2.6.32-5-xen-amd64 package to fix
> this.
> run-parts: executing /etc/kernel/postinst.d/initramfs-tools
> 2.6.32-5-xen-amd64 /boot/vmlinuz-2.6.32-5-xen-amd64
> Setting up firmware-linux-free (2.6.32-34squeeze1) ...
> Setting up linux-libc-dev (2.6.32-34squeeze1) ...
> Bad owner for maybe chown UNKNOWN './ngrep-sip.conf'
> Bad group for maybe chgrp UNKNOWN './ngrep-sip.conf'
> [master bf7c851] committing changes in /etc after apt run
>  4 files changed, 26 insertions(+), 14 deletions(-)
> 
> 
> I'm extremely interested in any suggestions. 
> 
> I read in Spce-user Digest, Vol 6, Issue 20 that Andreas is planning an
> Amazon How To (hopefully soon).
> 
> I would certainly welcome this.
> 
> Thank you,
> 
> Claude
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20110525/96d13e57/attachment-0001.asc>


More information about the Spce-user mailing list