Advertisement
Guest User

juju

a guest
Mar 8th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.76 KB | None | 0 0
  1. [working with juju]
  2. # vim:set filetype=imran:
  3.  
  4. https://juju.ubuntu.com/docs/user-tutorial.html
  5.  
  6.  
  7. using 11.10 server
  8.  
  9. aptitude install juju
  10.  
  11.  
  12. root@ubuntu-d01:~# juju bootstrap
  13. Could not find AWS_ACCESS_KEY_ID
  14. 2012-02-27 21:09:40,711 ERROR Could not find AWS_ACCESS_KEY_ID
  15.  
  16. see "try it for yourself section"
  17. https://juju.ubuntu.com/
  18.  
  19.  
  20. # i am not an ec2 instance so...
  21. https://juju.ubuntu.com/docs/provider-configuration-local.html
  22.  
  23. root@ubuntu-d01:~# aptitude install libvirt-bin
  24. etc...
  25.  
  26. # change environments.yaml to be:
  27. root@ubuntu-d01:~# cat .juju/environments.yaml
  28. environments:
  29.   local:
  30.     type: local
  31.     data-dir: /tmp/local-dev
  32.     admin-secret: b3a5dee4fb8c4fc9a4db04751e5936f4
  33.     default-series: oneiric
  34.  
  35.  
  36.  
  37. root@ubuntu-d01:~# juju bootstrap
  38. 2012-02-27 21:37:40,548 INFO Bootstrapping environment 'local' (type: local)...
  39. 2012-02-27 21:37:40,558 INFO Checking for required packages...
  40. 2012-02-27 21:37:47,688 INFO Starting networking...
  41. 2012-02-27 21:37:48,734 INFO Starting zookeeper...
  42. could not connect before timeout
  43. 2012-02-27 21:37:59,010 ERROR could not connect before timeout
  44.  
  45. # hmm but it appears to have worked anyhow
  46.  
  47. root@ubuntu-d01:~# juju bootstrap
  48. 2012-02-27 21:41:54,906 INFO Bootstrapping environment 'local' (type: local)...
  49. Environment already bootstrapped
  50. 2012-02-27 21:41:54,919 ERROR Environment already bootstrapped
  51.  
  52. # lets try a status command
  53. root@ubuntu-d01:~# juju status
  54. could not connect before timeout
  55. 2012-02-27 21:42:26,927 ERROR could not connect before timeout
  56. root@ubuntu-d01:~# juju status
  57. could not connect before timeout
  58. 2012-02-27 21:42:51,799 ERROR could not connect before timeout
  59.  
  60. # the docs say this means the system is init'ing, be patient... ok...
  61.  
  62.  
  63. root@ubuntu-d01:~# aptitude show zookeeper
  64. Package: zookeeper                      
  65. State: installed
  66. Automatically installed: no
  67. Version: 3.3.3+dfsg2-1ubuntu1
  68. Priority: optional
  69. Section: universe/java
  70. Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
  71. Uncompressed Size: 315 k
  72. Depends: adduser, default-jre-headless | java6-runtime-headless, libzookeeper-java (= 3.3.3+dfsg2-1ubuntu1)
  73. Description: High-performance coordination service for distributed applications
  74.  ZooKeeper is a centralized, reliable, service for maintaining configuration information, naming, providing
  75.  distributed synchronization, and group services. All of these kinds of services are used in some form or another by
  76.  distributed applications.
  77.  
  78.  This package contains the shell scripts and an example configuration but does not automatically start up the
  79.  service. The example configuration is installed with the update-alternatives mechanism.
  80. Homepage: http://hadoop.apache.org/zookeeper
  81.  
  82. Segmentation fault
  83. ignoring dump failure
  84. Setting up openjdk-6-jre-lib (6b23~pre11-0ubuntu1.11.10.2) ...
  85. Setting up libjline-java (0.9.94-5) ...
  86. Setting up libnetty-java (1:3.1.0.CR1-1) ...
  87. Setting up libxerces2-java (2.9.1-4.1ubuntu3) ...
  88. Setting up libzookeeper-java (3.3.3+dfsg2-1ubuntu1) ...
  89. Setting up zookeeper (3.3.3+dfsg2-1ubuntu1) ...
  90. adduser: Warning: The home directory `/var/lib/zookeeper' does not belong to the user you are currently creating.
  91. update-alternatives: using /etc/zookeeper/conf_example to provide /etc/zookeeper/conf (zookeeper-conf) in auto mode.
  92. Setting up icedtea-6-jre-cacao (6b23~pre11-0ubuntu1.11.10.2) ...
  93. Setting up icedtea-6-jre-jamvm (6b23~pre11-0ubuntu1.11.10.2) ...
  94. Setting up default-jre-headless (1:1.6-42ubuntu2) ...
  95. Processing triggers for libc-bin ...
  96. ldconfig deferred processing now taking place
  97.  
  98.  
  99.  
  100. ###
  101.  
  102. postgresql
  103.  
  104. root@ubuntu-d01:~# aptitude install postgresql-9.1
  105.  
  106.  
  107.  
  108. ###
  109.  
  110. weird virtual box shell session disconnect:
  111.  
  112. Corrupted MAC on input.
  113. Disconnecting: Packet corrupt
  114. http://blog.e-shell.org/270
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement