Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [working with juju]
- # vim:set filetype=imran:
- https://juju.ubuntu.com/docs/user-tutorial.html
- using 11.10 server
- aptitude install juju
- root@ubuntu-d01:~# juju bootstrap
- Could not find AWS_ACCESS_KEY_ID
- 2012-02-27 21:09:40,711 ERROR Could not find AWS_ACCESS_KEY_ID
- see "try it for yourself section"
- https://juju.ubuntu.com/
- # i am not an ec2 instance so...
- https://juju.ubuntu.com/docs/provider-configuration-local.html
- root@ubuntu-d01:~# aptitude install libvirt-bin
- etc...
- # change environments.yaml to be:
- root@ubuntu-d01:~# cat .juju/environments.yaml
- environments:
- local:
- type: local
- data-dir: /tmp/local-dev
- admin-secret: b3a5dee4fb8c4fc9a4db04751e5936f4
- default-series: oneiric
- root@ubuntu-d01:~# juju bootstrap
- 2012-02-27 21:37:40,548 INFO Bootstrapping environment 'local' (type: local)...
- 2012-02-27 21:37:40,558 INFO Checking for required packages...
- 2012-02-27 21:37:47,688 INFO Starting networking...
- 2012-02-27 21:37:48,734 INFO Starting zookeeper...
- could not connect before timeout
- 2012-02-27 21:37:59,010 ERROR could not connect before timeout
- # hmm but it appears to have worked anyhow
- root@ubuntu-d01:~# juju bootstrap
- 2012-02-27 21:41:54,906 INFO Bootstrapping environment 'local' (type: local)...
- Environment already bootstrapped
- 2012-02-27 21:41:54,919 ERROR Environment already bootstrapped
- # lets try a status command
- root@ubuntu-d01:~# juju status
- could not connect before timeout
- 2012-02-27 21:42:26,927 ERROR could not connect before timeout
- root@ubuntu-d01:~# juju status
- could not connect before timeout
- 2012-02-27 21:42:51,799 ERROR could not connect before timeout
- # the docs say this means the system is init'ing, be patient... ok...
- root@ubuntu-d01:~# aptitude show zookeeper
- Package: zookeeper
- State: installed
- Automatically installed: no
- Version: 3.3.3+dfsg2-1ubuntu1
- Priority: optional
- Section: universe/java
- Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
- Uncompressed Size: 315 k
- Depends: adduser, default-jre-headless | java6-runtime-headless, libzookeeper-java (= 3.3.3+dfsg2-1ubuntu1)
- Description: High-performance coordination service for distributed applications
- ZooKeeper is a centralized, reliable, service for maintaining configuration information, naming, providing
- distributed synchronization, and group services. All of these kinds of services are used in some form or another by
- distributed applications.
- This package contains the shell scripts and an example configuration but does not automatically start up the
- service. The example configuration is installed with the update-alternatives mechanism.
- Homepage: http://hadoop.apache.org/zookeeper
- Segmentation fault
- ignoring dump failure
- Setting up openjdk-6-jre-lib (6b23~pre11-0ubuntu1.11.10.2) ...
- Setting up libjline-java (0.9.94-5) ...
- Setting up libnetty-java (1:3.1.0.CR1-1) ...
- Setting up libxerces2-java (2.9.1-4.1ubuntu3) ...
- Setting up libzookeeper-java (3.3.3+dfsg2-1ubuntu1) ...
- Setting up zookeeper (3.3.3+dfsg2-1ubuntu1) ...
- adduser: Warning: The home directory `/var/lib/zookeeper' does not belong to the user you are currently creating.
- update-alternatives: using /etc/zookeeper/conf_example to provide /etc/zookeeper/conf (zookeeper-conf) in auto mode.
- Setting up icedtea-6-jre-cacao (6b23~pre11-0ubuntu1.11.10.2) ...
- Setting up icedtea-6-jre-jamvm (6b23~pre11-0ubuntu1.11.10.2) ...
- Setting up default-jre-headless (1:1.6-42ubuntu2) ...
- Processing triggers for libc-bin ...
- ldconfig deferred processing now taking place
- ###
- postgresql
- root@ubuntu-d01:~# aptitude install postgresql-9.1
- ###
- weird virtual box shell session disconnect:
- Corrupted MAC on input.
- Disconnecting: Packet corrupt
- http://blog.e-shell.org/270
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement