« first day (420 days earlier)      last day (4547 days later) » 

5:00 PM
yikes, juju install 142 packages
among them x11-common. that can't be right
it's probably java or something. oh well.
 
I have 50 minutes
ubuntu@ip-10-12-15-185:~$ mkdir .juju
mkdir: cannot create directory `.juju': File exists
ubuntu@ip-10-12-15-185:~$ rm -rf .juju/u
ubuntu@ip-10-12-15-185:~$ juju bootstrap
2011-11-23 17:07:53,389 INFO Bootstrapping environment 'local' (type: local)...
2011-11-23 17:07:53,390 INFO Checking for required packages...
2011-11-23 17:07:54,030 INFO Starting networking...
Network default defined from /tmp/tmpYygdX9

error: Failed to start network default
error: internal error Network is already in use by interface virbr0
Oh, It doesent work there too?
 
It worked for me.
sudo add-apt-repository ppa:juju/pkgs
sudo apt-get update && sudo apt-get install juju charm-tools apt-cacher-ng zookeeper libvirt-bin lxc
This is important!
 
@OctavianDamiean Did that!
 
This is impossible. The bug fix for just that problem is in that PPA.
 
I'm getting the same error
 
5:14 PM
ok..
 
says "Network is already in use by interface virbr0"
could that have something to do with it running inside a virtual machine?
 
Log out and log back in.
 
right, forgot about that
I'll reboot for good measure
 
No need to.
 
amith@amith-desktop:~$ sudo apt-get install juju charm-tools apt-cacher-ng zookeeper libvirt-bin lxc
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-cacher-ng is already the newest version.
zookeeper is already the newest version.
libvirt-bin is already the newest version.
lxc is already the newest version.
charm-tools is already the newest version.
juju is already the newest version.
The following packages were automatically installed and are no longer required:
 
5:17 PM
the last message was this:
SSH authorized/public key not found.
2011-11-23 18:16:47,716 ERROR SSH authorized/public key not found.
it was very quick, about 20 seconds. now it says "environment is already bootstrapped"
 
@StefanoPalazzo That means you don't have an id_rsa.pub file
 
am I good to go ?
 
It works there....
 
@MarcoCeppi I do now
ran "ssh-keygen" after the (failed?) bootstrap
 
@OctavianDamiean Still doesent work
 
Run a juju destroy-environment
Then bootstrap again.
 
Still the same error?
 
@AmithKK Well you have a problem with your apt repositories apparently.
Try to fix that.
 
great, thanks marco & octavian
 
5:20 PM
 
@JorgeCastro cool thanks
 
just got a half day at work
 
BBT
 
actually, that was our editing frenzy iirc
 
5:22 PM
yeah, during the MythTV Import
 
Anyone familiar with gitweb here?
I'm trying to set it up, but it wont identify my repos.
 
Just told my LoCo about the charm school.
Hopefully I can get them to join.
 
Disregard-- problem solved. Apache permissions.
 
5:26 PM
Nice.
 
Ads are much easier when you use inkscape, heh
I need someone to make an ubuntu app developer week one if someone is looking for something to do
 
what do I type after juju deploy --repository?
 
you need a charm
install charm tools
sorry, charm-tools
 
I think I've got all of that
juju deploy --repository=charms/oneiric/mysql/ mysql
gives me this error:
 
@StefanoPalazzo the repository is the charms/ folder
 
5:34 PM
DNS lookup failed: address 'store.juju.ubuntu.com' not found: [Errno -2] Name or service not known.
2011-11-23 18:33:20,549 ERROR DNS lookup failed: address 'store.juju.ubuntu.com' not found: [Errno -2] Name or service not known.
 
it'll pick distro and folder based on the charm name
 
juju deploy --repository . local:mysql
 
and you need to use local:mysql :)
 
from your charms dir.
 
5:34 PM
for 12.04 it will just be
 
so juju deploy --repository=charms/ local:mysql
 
juju deploy cs:mysql
 
that worked, thanks :)
ERROR Ambiguous relation 'mediawiki mysql'; could refer to: ...
this is really helpful
 
mediawiki mysql:db
 
0
Q: Ubuntu - My /var/wiki folder has gone missing. Is this a Linux issue?

hamlin11I implemented a few installations of mediawiki in a parent folder called: /var/wiki I was alerted this morning that the wikis are no longer working. Upon a little research, the /var/wiki folder is gone. Is there any Linux-based reason why this folder would be removed? If not, I'll look at ho...

 
5:37 PM
ouch
@MarcoCeppi hey, I got that same ambiguous relation error yesterday
 
yeah, it's because MySQL charm has two mysql interfaces, db and db-admin
So you need to tell it which interface to use, admin-db or just db
 
Dude, juju is so awesome.
 
sorry to keep asking these questions guys
status now says "pending", what do I need to do next?
 
@StefanoPalazzo You're done :)
It's waiting on provider to boot up the machines
then it'll run the charms
after a few minutes the status will change to either error out, or completion
if you have a big enough screen you could do this: watch -n 15 "juju status"
 
Can you answer this? Cannot move Screenlets in GNOME Shell http://askubuntu.com/questions/81184/cannot-move-screenlets-in-gnome-shell #gnomeshell
 
5:40 PM
how nice is that
thanks again
 
np!
 
@MarcoCeppi ok so on the two interfaces, I wonder why I was getting those errors
 
(terminator -> ctrl+-, if you don't have a large screen)
 
[MySQL Charm]
    provides:
      db:
        interface: mysql
      db-admin:
        interface: mysql
So it doesn know which one you want to create a relationship for
Really what should happen, juju should see which interfaces the charm is requesting. Since mediawiki and thinkup don't have a db-admin interface requirement it should just use db and only show that message when there are two requirement interfaces with the same names
 
So everything works now?
 
5:45 PM
Stupid question. How long can it take until the status changes from pending?
 
I was about to ask that too :)
 
It depends on the provider
if it's ec2 it can take a little bit of time
 
For local?
 
A lot of time.
 
Oh, that's probably
 
5:46 PM
:)
 
10
Q: How do I configure juju for local usage?

Jorge CastroI'm too cheap to pay for EC2, and I don't have enough servers to set up my own openstack, how do I configure juju to use Linux Containers (LXC) on something like my laptop?

 
local will be alot the first time
 
Dont know if anybody saw this yet, but its really neat. Graphical representation of sorting algorithms cs.uwaterloo.ca/~bwbecker/sortingDemo/index.html
 
this answers all my previous questions doh
 
5:46 PM
after it caches the stuff it'll be faster the 2nd time
 
How did I miss that question?
 
okay, in that case I'll have some dinner while juju is thinking. like a real sysadmin ;-)
 
heh
status started!
 
woo
 
New to chat and have a dumb question. I would to give a point for a good answer. How do I do that?
 
5:55 PM
If you have enough reputation you can up-vote an answer.
If it is your own question then you can also accept the correct answer.
Welcome to the chat by the way!
 
Thanks! It is my question which was edited.
 
Did I miss Ask Mark???
 
you have 41 rep, you should be able to vote up
@GeorgeEdison yeah this morning, I posted the logs
it's on there somewhere
 
Aw... I wanted to ask him about Wayland.
 
what do you want to know?
that one is easy
 
5:59 PM
If there will be a tech preview in 12.04.
 
yes 41 rep, but how to "vote up", I usually am not this dense...
 
you click the up arrow above the number
@GeorgeEdison there will be a tech preview
 
Sweet.
 
ok so am I the only one getting the relation error with thinkup/mysql?
 
@JorgeCastro What are you typing?
 
6:02 PM
juju add-relation thinkup mysql
 
try juju add-relation thinkup:db mysql:db
 
+1 @OctavianDamiean, though only juju add-relation thinkup mysql:db is needed
 
!!
that did it
ugh, that's confusing
but it's working!
 
Yeah
21 mins ago, by Marco Ceppi
Really what should happen, juju should see which interfaces the charm is requesting. Since mediawiki and thinkup don't have a db-admin interface requirement it should just use db and only show that message when there are two requirement interfaces with the same names
I think I may lodge that as a bug
 
@JorgeCastro Which one?
 
6:05 PM
the one octavian said to do
 
@MarcoCeppi You should. :)
 
but now I get an error with the mysql one
investigating
 
@AmithKK your email got hijacked too
 
I got alot farther this time!
 
@JorgeCastro Weird, it's saying the table already exists, as if the db-relation changed was triggered twice
Can you expose/try to visit the thinkup app?
 
6:12 PM
@StefanoPalazzo At which step are you right now?
 
@MarcoCeppi WORKS!
 
@JorgeCastro yeah, if you look db-relation-changed got executed twice
2011-11-23 18:03:37,209: hook.output@DEBUG: hook db-relation-changed exited, exit code 0.
2011-11-23 18:03:37,249: hook.executor@DEBUG: Hook complete: /var/lib/juju/units/thinkup-0/charm/hooks/db-relation-changed
2011-11-23 18:03:37,249: hook.scheduler@DEBUG: executing hook for mysql/0:modified
2011-11-23 18:03:37,250: unit.relation.lifecycle@DEBUG: Executing hook db-relation-changed
2011-11-23 18:03:37,250: hook.executor@DEBUG: Running hook: /var/lib/juju/units/thinkup-0/charm/hooks/db-relation-changed
Not really sure why.
It didn't do that for me though
Maybe it's because you got the ambiguity message, but something went through anyways?
It's a half day! Heading home
 
or I did the relation twice?
ok
waiting on the mail from it now
@GeorgeEdison the postfix log shows it sent
so that looks good to go!
 
@JorgeCastro Did you deploy it locally?
 
yeah
 
6:22 PM
And you could just load it up in your browser?
 
Guys, another SSH problem! (sorry) ... I still have the two identical boxes - after changing the IP, SSH failed... I tried /etc/init.d/ssh stop then start, which didn't do a thing... I restarted the box and it fixed it. However, I am not just trying to get it to work, I am trying to learn Linux! So, for the other box, I would really like to fix it without turning it off and on again! Anyone know what I need to do?
 
@OctavianDamiean yep, just waiting on the account email
 
JUJU - Y U NO LIEK MEH?!
 
Oli
I wish upgrading a production server wasn't as hairy as it inevitably is.
On the plus side, it just downloaded 192MB of packages in like three seconds.
 
Oli
6:27 PM
And it's a shame I have to do it four times. I've neglected this 9.10 install long enough.
I guess if I leave it on 10.04 and wait another five months, I could LTS-hop...
 
@WilliamHilsum why use IPs? No DNS?
 
Oli
Nah, where's the fun in that. do-release-upgrade has a busy night ahead of it.
 
@JorgeCastro There may be DNS in the end, but, this is just a test server and I don't feel it is worth the trouble of setting something up whilst I am making so many changes... all it would mean is that if I need to change the IP in the future, I would have to also update a DNS record....
 
/me nods
I /think/ what you can do in this case
is ssh in
change the ip but keep the ssh session open
and then try to ssh in with the new ip
if that doesn't work then just restart ssh from within the session you kept open
 
Uhm, why don't you just use avahi for the hostname.local feature?
Wouldn't that make thing easier?
@WilliamHilsum Or is that a remote server?
 
6:38 PM
@JorgeCastro the moment I changed the IP, the session dropped - I can only connect in via esxi console
@OctavianDamiean If talking to me, I am not sure/never heard of that - but, this is a test server directly linked to a router that has uplink to the internet (in a DC) no DNS or any other machines on the network.. I am currently connecting in via ESX's console, but, I would rather use putty/ssh, but, that is giving me the issues! I know if I restart, it will work (as it did with the other machine) but, I am keen to get it working without restarting/learning how to fix it.
 
@MarcoCeppi: ok I set up ssh want to discuss webserver before setting it up, r u bit free?
 
Sorry, if talking to me about the avahi thing - no idea!.... the rest is about the other question about the server!
 
Never mind avahi wouldn't help you in that case.
 
6:56 PM
hello. I have an .iso file that I'd like to create in a usb driver. I trying to use the startup disk creator, but when I select the file it doesnt show in the source screen. I've also tryied UNetbootin, but looks like it writes the ubuntu partition, not the iso file I choosed.
any idea please?
 
hmm maybe a screenshot will help?
 
UNetbootin writes whatever ISO you select to the drive you select.
 
Octavian it wrote debian in my usb driver. I didnt choosed it. I've tested making the boot via usb and a debian screen showed up.
there are this files in the usb driver: ldlinux.sys, syslinux.cfg, ubnfilel.txt, ... this files has nothing to do with the .iso file I choosed
 
hmm is debian bootable disk on ur computer? or was it there already on USB ?
 
@OctavianDamiean the mysql server is up, mediawiki is still pending
 
7:00 PM
my usb driver was empty
 
ok then is it on ur computer?
 
Are you sure you select the correct ISO?
 
no. the other computer runs Windows
 
@StefanoPalazzo I switched my juju development environment to my local desktop.
 
yeah. when you open Unetbootin it shows three options, Distribution, Diskimage and Custom. I choosed Diskimage and choosed my file. but it record some linux stufff
 
7:02 PM
hmm this is confusing -- can u show us a screenshot while u choose the ISO?
 
wait
 
@rogcg Well Ubuntu is Linux. :D
 
@OctavianDamiean no matter, i'm not in a hurry. just bought some pizza and put in a simpsons dvd, juju can take as long as it wants ;)
 
But im not recording ubuntu on my usb driver. im writing other .iso. has nothing to do with ubuntu
 
hmm is it bootable?
if ur iso is not bootable then it won't/shouldn't show in startup USB disk creator
 
Oli
7:04 PM
Upgrade #2. 186MB in 6 seconds. Amazing.
 
@StefanoPalazzo I didn't switch because of that I switched because you'll have a bit of a problem once the service is deployed. If you bridged your VM interface then you'll not reach that service from your desktop.
 
@wisem gonna post it on twitpic
 
@rogcg What is on that ISO?
Just hit the upload button here in chat.
 
oh ok
 
hey yes, I just noticed the mysql server's IP
 
7:05 PM
 
@wisemonkey Yeah
 
Octavian, it's a program to recover files on windows that had blue screen disease. Im fixing this computer to my friend.
 
so what is kav rescue
 
@rogcg Alright, what is on that ISO? Is that a bootable OS?
I see.
 
You can boot on it and access the folders.
 
7:07 PM
Well then it'll work.
Just let it do its job and try to boot off that USB drive once it is done.
 
yey @MarcoCeppi is here: so I've structure like websitedomain/usr
i.e. only one domain having few users
 
yeah, let me try now. I selected that file, choosed Diskimage, and let me see if it will write correctly
 
1
Q: Is there a legend some place that describes all of these color-coded values at the bottom of bash/putty/ubuntu terminal?

hamlin11 Some of the values at the bottom of putty seem pretty clear to me. Is there a legend some place that shows what each of these values means? I suspect this is a feature of bash rather than putty, but I'm not positive. Update: This may be an ubuntu only feature

 
@rogcg It will write whatever it needs to. Don't worry about what you think it should write.
 
so rather than having different html sources in usr home I've chowned folders /var/www/usr to particular user
 
7:08 PM
and why it shows some debin stuff when i boot it?
 
Just try to boot off it once it is done and select the right option in the boot menu.
 
maybe kav rescue is debian based?
 
Doesn't matter as long as the boot option is there.
 
LOL
IDK why startup disk creator didnt recognize the file
 
@MarcoCeppi: so is that good or should I have /home/user/[html source] ?
so rather than having different html sources in usr home I've chowned folders /var/www/usr to particular user
 
7:10 PM
@wisemonkey It's entirely up to you, that setup will work fine
 
ok nice
and I can keep logs in my home right if I edit site-available that is
 
AGHHH it keeps a count down saying: Automatic boot in x secs.. and when it reaches 0 it starts again in 10.
it will never end
 
right?
 
@wisemonkey Correct
 
Oli
@MarcoCeppi you beat me to it.
By a minute. (on U&L)
 
7:11 PM
ok need to fix logs now will do that :)
 
@Oli :) I'm working off of 3G too :P
 
@rogcg What are the options in that boot menu?
 
Oli
@MarcoCeppi Show off.
 
wait. here is the screen
 
don't tell me u r trying to printscreen it?
 
7:13 PM
@Octavian maybe you can change the IP address of the virbr0 interface
worth a try
 
@wisemonkey no.. i took a picture. LOL
 
hehe
:P
ok so its kaspersky rescue disk?
 
there it is. if I press tab it shows a terminal line so I can type some command, like this: /ubnkern initrd=/ubninit _
@wisemonkey yes
 
Unlike a few of its compatriots, it does not contain a full blown version of the Linux Operating System, but only the part, which allows you to run the Antivirus Rescue CD.
so yes its linux -- and hence can be debian
 
LOL
what am i supposed to do?
 
7:17 PM
so wat u had before should not be necessarily wrong
 
if I use the ubuntu live cd can i access the files in the HD??
 
yes
 
hmm
lemme try
 
given that ur HDD is connected :P
 
@StefanoPalazzo I wouldn't try that. I had a chat on #juju about that.
 
7:22 PM
@GeorgeEdison review in the bug report!
 
so that means I have to set up NAT, I guess
 
Uhm, that should work.
I just realized that there is no benefit in running it inside a VM.
 
I'm being a bit stubborn about using the VM, but I don't really want to try this on my (only) machine
though, It's still pending - I might change my mind in a minute ;)
 
Goddammit! I forgot to save my SSH key when I upgraded to Oneiric!
 
do you know what vethYWCNDK is?
 
7:32 PM
At least I remembered to save my gpg key.
No.
 
stefano@usv-node-f8903f5c:~$ sudo ifup br0
device virbr0 is a bridge device itself; can't enslave a bridge device to a bridge device.
it was worth a shot (:
 
I'm fetching the charms right now and then I'll try to deploy a service on my local machine.
 
let me know how that goes
 
Right, it is pending now.
 
Oli
Fetched 227 MB in 6s (25.9 MB/s) Love it.
 
7:44 PM
I need to make a bootable usb (BSD) - I have the image, how do I write it to the drive and make it bootable on linux (in windows I just used a pre-fabd tool)
 
hmm if image is bootable then startup usb creator
 
lol, I was just looking at UNetbootin
 
if there's a boot image (called isolinux.bin on ubuntu), you can do this:
sudo mkisofs -r -V "sn" -cache-inodes -J -l -b isolinux/isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o CustomMini.iso /home/stefano/myiso/ubuntuiso/
wehey, that's a bit long
 
@wisemonkey thats what i was looking for :P thanks.
 
u r welcome :)
 
7:46 PM
@StefanoPalazzo I have ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.2 FreeBSD-8.2-RELEASE-i386-memstick.img
 
I love how @StefanoPalazzo always uses you just do for insanely long command line commands. :D
 
haha
 
:D
I got it the wrong way 'round as well. this command does something like the opposite of what rlemon asked for ;)
(creates a bootable image from plain files)
 
I can see @StefanoPalazzo: sitting infront of 3 HUGE monitors being driven by Eyefinity by AMD and even this chat is being controlled by terminal :P
he have not installed GUI but surely have bleeding edge drivers for radeon :P
 
7:51 PM
OMG I want Eyefinity!
 
I've card supporting it but can't afford monitors yet :(
 
I haven't got any of those things
monitor? that's the sticky-out bit on my laptop, right?
(:
 
lol I said I can see :P thats how one of my friend use to work he had everything setup with best hardware but he couldn't stand GUI
 
Monitor? I don't use monitors.
 
I have four It's an addiction
 
7:55 PM
Alright. I'll admit I use two. :)
 
hmm ok so if u have multiple monitors can u have different workspaces on different monitors?
 
not yet
 
hmm
 
listens to Depeche Mode while working on his charm
 
UNetBootin looks like its the answer
@wisemonkey that program you suggested cept saying "Installation Failed!"
 
7:57 PM
can you even use non-ubuntu images with the usb disk creator?
 
@StefanoPalazzo see ^^
 
o.O
well if u r using .img file then yea maybe not supported :P
@StefanoPalazzo: yes as long as its bootable .iso -- I've created few with it (even windows 7 bootable)
USB
 
well I wrote my flash drive - now to see if it boots!
 
Oli
That's not bad. 9.10 to 11.10 in one hour. Would like to see anybody manage that in Windows.
 

« first day (420 days earlier)      last day (4547 days later) »