=== Ursinha_ is now known as Ursinha | ||
=== daker_ is now known as daker | ||
harishnavnit | i need help in working with lxc's | 12:15 |
---|---|---|
harishnavnit | https://dev.launchpad.net/Running/LXC | 12:15 |
harishnavnit | this is what i'm referring to | 12:16 |
harishnavnit | here's another question that I had , in the following command | 12:37 |
harishnavnit | $ ./utilities/launchpad-database-setup $USER | 12:37 |
harishnavnit | what is the $USER used for ? | 12:37 |
harishnavnit | is it my username ? or do I type in as it is , i.e $USER | 12:38 |
harishnavnit | is it necessary to run the rocketfuel setup inside an LXC ? that is something that I didn't | 12:54 |
harishnavnit | now i get an error when i run "make schema" | 12:54 |
cjwatson | harishnavnit: It's an environment variable; you can type it as it is, or substitute your username | 13:33 |
cjwatson | harishnavnit: I *specifically* warned you that you must run rocketfuel-setup inside a container or it will modify your host system in ways you probably don't want. Now you probably have to read the script and figure out how to undo it. | 13:34 |
harishnavnit | wouldn't it work if i simply removed all the lp directories | 14:07 |
harishnavnit | ? | 14:07 |
cjwatson | harishnavnit: No, it makes various changes under /etc/, fiddles about with your Apache configuration, may wipe any PostgreSQL databases you may have had ... | 14:10 |
harishnavnit | thankfully i didn't have any PostgreSQL databases | 14:11 |
cjwatson | But the other changes are still relevant | 14:11 |
cjwatson | Do this in a container. Seriously. I warned you the first time ... | 14:11 |
harishnavnit | so i'll now have to go through the entire shell script to remove it ? | 14:11 |
harishnavnit | :( | 14:11 |
cjwatson | Probably. | 14:12 |
cjwatson | 22:04 <cjwatson> Given that you've got the branch already, you should be able to run utilities/rocketfuel-setup (INSIDE A CONTAINER as it will do interesting things to your system) | 14:12 |
cjwatson | I'm not sure how that could have been much clearer | 14:13 |
harishnavnit | yea , that was clear alright . I'd run the rocketfuel setup days earlier | 14:13 |
harishnavnit | after I did the formalities with bzr | 14:13 |
cjwatson | Ah | 14:13 |
harishnavnit | i installed lxc and i'm unable to login aswell | 14:14 |
harishnavnit | what's wrong ? | 14:14 |
cjwatson | You might want to be more specific about exactly how it goes wrong | 14:15 |
harishnavnit | i'm sorry , what happens is that , I was given the default user and password as 'ubuntu' | 14:16 |
harishnavnit | but when i enter the details , it shows incorrect password | 14:16 |
cjwatson | That sounds like you forgot to use -b $USER when creating the container | 14:17 |
cjwatson | Or else the message was buggy | 14:18 |
cjwatson | Try logging in with your normal username and password | 14:18 |
harishnavnit | how do i close a running container ? | 14:18 |
cjwatson | sudo lxc-stop -n lpdev | 14:18 |
cjwatson | Although why? | 14:19 |
cjwatson | You don't need to stop it just to try logging in with a different user | 14:19 |
harishnavnit | bcoz , i couldn't get out of the lpdev container login prompt | 14:19 |
harishnavnit | so closed the terminal | 14:19 |
cjwatson | Ctrl-a q perhaps | 14:19 |
harishnavnit | yea ,i'll try | 14:19 |
harishnavnit | well it's taking a long while to stop the running lxc lpdev | 14:21 |
cjwatson | You can force it with sudo lxc-stop -k -n lpdev | 14:22 |
cjwatson | I suggest having a look through the documentation before asking - a lot of stuff is answered there | 14:22 |
cjwatson | (e.g. man lxc-stop) | 14:22 |
harishnavnit | okay | 14:23 |
harishnavnit | okay , leaving for now , i'll get back later | 14:24 |
harishnavnit | thanks a lot | 14:25 |
cjwatson | np | 14:25 |
* cjwatson pushes up his work from the plane | 14:43 | |
cjwatson | I had a reasonably productive flight :) | 14:45 |
lifeless | cjwatson: all hail DVCS ? | 18:31 |
cjwatson | lifeless: Indeed! | 19:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!