E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? hadoop-0.20-datanode: unrecognized service E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
those errors would occur if sudo were required but not included in the command line. if that were the case the sed errors may also be explained as well due to the dirs not having been created due to perms 2011/11/11 Arun Ramakrishnan <[email protected]> > > Guys, > > It looks like the apt hadoop packages aren't getting installed. Any ideas ? > > ################################################### > > 2011-11-11 12:31:31,893 DEBUG [jclouds.compute] (user thread 6) << stderr > from jclouds-script-1321043482986 as [email protected] > sed: can't read /etc/hadoop-0.20/conf.dist/hadoop-env.sh: No such file or > directory > sed: can't read /etc/hadoop-0.20/conf.dist/hadoop-env.sh: No such file or > directory > chgrp: invalid group: `hadoop' > chgrp: invalid group: `hadoop' > E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily > unavailable) > E: Unable to lock the administration directory (/var/lib/dpkg/), is > another process using it? > hadoop-0.20-datanode: unrecognized service > E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily > unavailable) > E: Unable to lock the administration directory (/var/lib/dpkg/), is > another process using it? > hadoop-0.20-tasktracker: unrecognized service > > ################################################## > > I am using a binaries that i built form 0.7 a few weeks back. > > > Full log : http://incentica-public.s3.amazonaws.com/whirr-ccore44.log > Config : http://incentica-public.s3.amazonaws.com/whirr_cdh.properties > > > This seems to happen non-deterministically and more so for larger clusters > 10+ > > > thanks > Arun > >
