Quest | ^ patdk-lap | 00:00 |
---|---|---|
uvirtbot | Quest: Error: "patdk-lap" is not a valid command. | 00:00 |
patdk-lap | you should concern yourself much more with, how to make a backup that isn't corrupted first | 00:00 |
Quest | yes. | 00:00 |
patdk-lap | why do you care about mbr on a backup? that is pointless | 00:00 |
Quest | heres an idea. i will brb in 15 mins. manager call | 00:00 |
Quest | dd the first 512 k data with dd and rsync for all other data? | 00:00 |
Quest | but where to put the data and where the mbr. if both are on same HDD . how the HDD would know which data is in partition 1 and which is on partition 2? do you mean first copy mbr / table . then rsync? | 00:00 |
patdk-lap | well, what your talking about, is not a backup | 00:00 |
patdk-lap | if you want to run raid1, run raid1 | 00:01 |
patdk-lap | don't confuse it with a backup | 00:01 |
=== txwikinger2 is now known as txwikinger | ||
Quest | patdk-lap, for doesnt dd mbr + rsync data makes a clone? raid1 will be an other HDD running with the system. we want backup in case of crash/ theft/ natural hazards | 00:16 |
patdk-lap | it defently won't | 00:16 |
patdk-lap | it will make something approxamate, but defently not a clone, and defently not accurate | 00:16 |
Quest | why not? | 00:16 |
Quest | why not it will be accurate? | 00:17 |
patdk-lap | cause you fail to understand how harddrives work, and how rsync works | 00:17 |
patdk-lap | I'm sorry, I'm not in the mood to give a 2hour lecture | 00:17 |
Quest | steps: dd mbr copy, formate partitions manually, rsync data | 00:17 |
Quest | patdk-lap, ok | 00:17 |
patdk-lap | just be happy, you won't have to attempt to restore your system from something made that way | 00:18 |
Quest | sarnold, any comments? | 00:18 |
Quest | for a running system, steps: dd mbr copy, formate partitions manually, rsync data | 00:18 |
patdk-lap | rsync should never be used on *changing data* | 00:18 |
Quest | at the point where there will be no or minor disk activity | 00:19 |
patdk-lap | sorry, only *no* will not cause corruption | 00:19 |
patdk-lap | minor means you might loose some data, or all data | 00:19 |
Quest | can dd be used then? | 00:19 |
patdk-lap | same issue with dd | 00:20 |
patdk-lap | and it can be worse | 00:20 |
Quest | hm | 00:20 |
patdk-lap | this is what lvm is for | 00:20 |
Quest | then what is the solution for a running system | 00:20 |
Quest | lvm? | 00:20 |
Quest | whats lvm | 00:21 |
sarnold | Quest: http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux) | 00:22 |
blkperl | Quest: https://help.ubuntu.com/12.04/serverguide/advanced-installation.html#lvm | 00:22 |
sarnold | Quest: LVM would help you make an rsync-safe copy of your data, IF you make asterisk quiet and use mysqldump to dump your data. lvm won't let you do the dd backup on a running system either.. | 00:23 |
Quest | hm | 00:24 |
Quest | ok. I would study that | 00:25 |
Patrickdk | sarnold, heh? you can do dd with lvm just fine, it's alittle overkill though | 00:28 |
Quest | thx | 00:28 |
Patrickdk | you don't even need to do mysqldump, but you do need to atleast do a lock on the tables | 00:29 |
Quest | sarnold, blkperl ^ | 00:30 |
sarnold | Patrickdk: .. won't you need to remount ro to ensure the filesystem is in a quiescent state first? | 00:30 |
Quest | i think for the moment until i get hands on lvm, i whould have to sacrifize and shutdown system , the use dd to clone the HDD. | 00:30 |
Patrickdk | sarnold, well, it won't be, that is a given | 00:31 |
Patrickdk | you will loose alittle bit of data changing even with lvm | 00:31 |
Patrickdk | unless the fs can quiescent, I think xfs can | 00:32 |
Patrickdk | but likely journalling is enough to fix that | 00:32 |
Patrickdk | and the stuff you care about, should be quiescent manually, like mysql | 00:32 |
Quest | hm | 00:32 |
Quest | in night. the voip server has no activity... no calls | 00:33 |
Quest | so no disk activity | 00:33 |
Patrickdk | no calls != no activity | 00:33 |
lifeless | the kernel has support for the fs quiescence | 00:33 |
Patrickdk | there will be sip transactions, keepalives, ... | 00:33 |
RoyK | Quest: oh, not using asterisk, are we? | 00:33 |
Quest | ignorable? | 00:33 |
Quest | RoyK, yes :) | 00:34 |
sarnold | Patrickdk: heh, I'd rather not rely on filesystem journalling for my own backup systems.. hehe | 00:34 |
RoyK | Quest: http://karlsbakk.net/fun/asterisk-installation.wav | 00:34 |
Quest | RoyK, its installed an running | 00:34 |
sarnold | RoyK: :) | 00:35 |
RoyK | Quest: sure, I'm just saying I've been working with that pile of (unmentionable) for some years | 00:35 |
Quest | RoyK, yes | 00:36 |
RoyK | after working with that code for some years and trying to get digium to fix obvious bugs - well - I got a new job | 00:37 |
DanC | I have an LVM vg on 2 disks. I just bought an SSD to replace one of them. I wonder if I want a dedicated vg for the SSD or not | 00:45 |
=== Ursinha is now known as Ursinha-afk | ||
=== Gasseus is now known as Rallias | ||
Josh12 | is anyone here familiar with setting up access levels for file access? | 02:11 |
Josh12 | hello? | 02:12 |
ia0001 | hello why is flash not working on 12.04 lts? | 02:22 |
sarnold | ia0001: what bug number? | 02:24 |
ia0001 | it wasnt a bug number | 02:26 |
ia0001 | flash just wont start on chrome or firefox | 02:26 |
ia0001 | hello | 02:31 |
ia0001 | is there some reason ubuntu server will not allow flash player | 02:31 |
ia0001 | does it have something to do with firewall or proxy? | 02:31 |
sarnold | well, the server does not have a GUI at all | 02:32 |
sarnold | but if you _have_ installed firefox and flash and either vnc or x11 or something, it ought to work just fine.. | 02:32 |
ia0001 | its not working | 02:35 |
ia0001 | what is vnc or x11 | 02:35 |
ia0001 | I install ubuntu-dekstop | 02:35 |
sarnold | vnc is a remote graphics protocol; x11 is the usual graphics server | 02:35 |
sarnold | that probably installs x11 :) | 02:35 |
ia0001 | ok | 02:37 |
ia0001 | that not the problem it doesnt work! | 02:37 |
ia0001 | flash doesnt work in chrome or firefox | 02:37 |
sarnold | have you filed a bug report? | 02:37 |
ia0001 | i mean ... no one has encountered this problem with ubuntu 12.04 lts? | 02:40 |
ia0001 | its not a bug it just doesnt work | 02:40 |
DanC | perhaps you could be more specific? "doesn't work" is not much to go on | 02:41 |
DanC | what did you try? | 02:41 |
DanC | what happened/ | 02:41 |
DanC | etc. http://www.catb.org/esr/faqs/smart-questions.html | 02:41 |
sarnold | ia0001: I just tried an updated 12.04 LTS system, flash playback works fine on youtube.com.. | 02:51 |
=== Azelphur_ is now known as Azelphur | ||
* patdk-lap defently has never encountered this issue in ubuntu-server :) | 02:56 | |
patdk-lap | I also have not had that issue on ubuntu-desktop | 02:57 |
=== acidflash_ is now known as acidflash | ||
acidflash | im trying to modprobe a driver into the kernel, and it keeps telling me that the file doesnt exist, where should i put it for the modprobe to see it? i have tried in /lib/modules/uname -r/ | 03:00 |
sarnold | acidflash: did you run 'modprobe' first? (iirc, modprobe -a... but look it up...) | 03:01 |
sarnold | sigh. | 03:01 |
sarnold | I fail. | 03:01 |
acidflash | yes | 03:01 |
sarnold | acidflash: did you run 'depmod' first? :) | 03:01 |
acidflash | depmod -a | 03:01 |
sarnold | again, depmod -a.. | 03:01 |
sarnold | hehe | 03:01 |
sarnold | acidflash: I'd have put it under /lib/modules/`uname -r`/kernel/ -- does that make a difference? | 03:02 |
acidflash | let me try | 03:03 |
acidflash | actually it looks like putting it anywhere inside kernel, and then depmod -a worked alright | 03:07 |
sarnold | acidflash: cool, thanks | 03:08 |
acidflash | sarnold: thank you. | 03:08 |
ia0001 | anyone had problem where flash isnt working in Ubuntu servr | 03:13 |
RoyK | ia0001: well, for one, I don't use a GUI on my ubuntu servers | 03:15 |
ia0001 | 12.04 lts | 03:15 |
RoyK | servers don't come with a graphical interface | 03:15 |
RoyK | so, no, flash doesn't work | 03:15 |
ia0001 | flash doesn work | 03:18 |
ia0001 | ive gotten it to work before I though | 03:18 |
ia0001 | what are you talking about | 03:18 |
ia0001 | it shold work its the same thing | 03:18 |
sarnold | ia0001: you may have better success in #ubuntu -- flash isn't a server component | 03:19 |
RoyK | or #ubuntu-desktop | 03:20 |
ScottK | RoyK: User support isn't on topic in #ubuntu-desktop. | 03:20 |
RoyK | ok - sorry | 03:21 |
patdk-lap | ya, it's just normal, #ubuntu channel | 03:22 |
ivoks | is there a ppa of the cloud archive? so i could make my own ppa depend on cloud archive? i did found stagging... | 05:39 |
=== Guest71911 is now known as sun__ | ||
=== jussi01 is now known as jussi | ||
Katafalkas | Hey, | 08:19 |
Katafalkas | I got mysql running on Ubuntu server. and altho time on Ubuntu is correct - EEST, the mysql time is different. Why is it that mysql takes different timezone to current ubuntu timezone ? | 08:20 |
Jeeves_ | https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html | 08:23 |
sw | Katafalkas mysql> SET GLOBAL time_zone = timezone; | 08:23 |
Jeeves_ | Maybe you can see which timezone-setting it has now? | 08:23 |
Katafalkas | mysqladmin variables | grep time , gives time_zone SYSTEM | 08:24 |
Katafalkas | oh | 08:24 |
Katafalkas | and system_time_zone is EEST | 08:24 |
Katafalkas | which is correct | 08:24 |
Katafalkas | ohhh ... craaap ! ok. it is all fine now. nvm :D | 08:25 |
Katafalkas | really sorry to bother | 08:25 |
pii3 | hey | 08:34 |
pii3 | is anyone here have any experience with openchange server ? | 08:35 |
beck_ | hello | 09:54 |
beck_ | I have a question about bonding that I could not find info on. Typical we use LACP/802.3ad however for a low budget solution we are stuck using layer 2 switch and active-backup. It seems to work ok until I drop a switch and it never recovers. I suspect I have something wrong with my configuration. Any ideas? | 09:54 |
beck_ | I was using https://help.ubuntu.com/community/UbuntuBonding as a reference and I'm running precise | 09:54 |
rsthelord | hey guys!! how do i found out my default network interface? i.e. is it eth0 or eth1? | 11:21 |
ogra_` | route -n | 11:21 |
ogra_` | the first line should be your default route | 11:22 |
rsthelord | can i please pm you? | 11:22 |
ogra_` | just keep it here, there are likely more knowledgeable people than me in the channel if it comes to server | 11:24 |
Walther | Hello! Trying to use apt-dater from my workstation to update&upgrade a ubuntu server, I'm getting ldconfig / not found in PATH errors | 11:39 |
coffeedude | screen -dr | 12:21 |
=== ogra_` is now known as ogra_ | ||
=== cyphermox_ is now known as cyphermox | ||
=== hggdh_ is now known as hggdh | ||
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
Daviey | zul: Can you work out a target date when we will do our last grizzly bugfix snapshot for raring, pre-release? | 14:01 |
Daviey | adam_g, jamespage, yolanda, smoser ^ | 14:01 |
zul | Daviey: im queuing up a bunch of backports for stable/grizzly that we should have a look | 14:01 |
Daviey | zul: right.. but i want us to work out a schedule for the last one. | 14:03 |
zul | Daviey: sure | 14:04 |
=== Ursinha-afk is now known as Ursinha | ||
zul | Daviey: i would like to push one out thursday at ods since its always the most quiet day at ODS | 14:08 |
cereal | So I've setup bonding with a bridge. Everything is working fine except every once in a while on reboot the mac-address changes even though I've set the hwaddress of my bond interface. This never was a problem before I added the bridge to the setup. Any tips or suggestions on what to do? Seems like 25% of the time it uses one of the ethX interface hwaddresses instead. http://hastebin.com/xacodoride.cpp | 14:41 |
bbrelin | Question for a support person. If I create a VM using xen-create-image <params> do I then have to do an xm create? If not, should I be able to see the new VM with xm list? | 14:45 |
bbrelin | Hello? Any support people in the forum? | 14:52 |
bbrelin | Hello? Any support people on? | 15:25 |
rbasak | !patience | bbrelin | 15:32 |
ubottu | bbrelin: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com/ or http://ubuntuforums.org/ or http://askubuntu.com/ | 15:32 |
bbrelin | Thanks. | 15:32 |
bbrelin | Okay, my new question is. When I run a xen-create-image and specify a mirror and a dist option, should that not completely install the distro on the VM? | 15:33 |
bbrelin | What I'm finding is that I run the xen-create-image, then do an xm create <config file> and then when I try and do an xm console <domain>, | 15:34 |
bbrelin | I go into the Ubuntu installation screen. | 15:34 |
bbrelin | How do I get xen-create-image to actually do the install of the distro on the VM? | 15:34 |
jamespage | plars, I might have a hint as to what issue you are seeing with iscsi-testing | 16:12 |
jamespage | I've tested OK for amd64 with todays raring image | 16:12 |
plars | jamespage: oh? | 16:12 |
jamespage | plars, there was a bug with the cirrus kvm driver that made it look like the vm froze on boot | 16:13 |
jamespage | confused the hell out of me | 16:13 |
jamespage | it might be back | 16:13 |
plars | jamespage: ah, I remember that going back a ways... iirc it was fixed though at one point | 16:13 |
jamespage | I just switched to vga for one that looked broken and rebooted and its fine | 16:13 |
plars | jamespage: jamespage so you just s/cirrus/vga in domain-iscsi-testing.xml? | 16:15 |
jamespage | well I did it through virt-manager - but that would have the same effect for a new vm | 16:15 |
jamespage | plars, yep - I can see the rrro in the kernel log | 16:15 |
jamespage | cirrus_vram_init: ERROR ***** | 16:16 |
plars | jamespage: iirc, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1054129 was the bug that existed on it before | 16:16 |
uvirtbot | Launchpad bug 1054129 in linux "reboot with -vga cirrus can result in broken output" [Medium,Fix released] | 16:16 |
plars | hallyn: know if maybe this has regressed? | 16:17 |
jamespage | plars, http://paste.ubuntu.com/5695831/ | 16:17 |
jamespage | smb, ^^ | 16:18 |
hallyn | plars: i don't know, no. the previous 'solution' was just t ohave the kernel not deafult to it right? | 16:19 |
plars | hallyn: don't recall, you may be right. If that's the case then it would explain why this still fails since jamespage scripts specify to use cirrus. | 16:20 |
plars | jamespage: confirmed, changing it to vga makes it work for me here too | 16:20 |
hallyn | plars: yeah i've assumed that -vga cirrus is still broken everywhere and not recommended | 16:25 |
hallyn | if that needs to be raised in priority give me a shout, | 16:25 |
hallyn | but i assume you can't run unity in that anyway, so -vga qxl or -vga vmware is recommended | 16:25 |
plars | hallyn: true | 16:25 |
plars | jamespage: so can we just change that default in your script then? | 16:25 |
jamespage | plars, sure | 16:26 |
hallyn | (not saying i'm happy with that) | 16:26 |
plars | hallyn: yes, but being that it's a kernel video driver issue that still needs to be fixed, it's pointless to block iscsi testing on it | 16:28 |
hallyn | plars: lol, yes it is :) | 16:28 |
hallyn | (yup, i'm running screen -e^Bb inside screen inside screen -e^Yy... it's ok, i can go a few more levels) | 16:29 |
sarnold | Hallyn's review of Inception: "kinda bland" | 16:32 |
hallyn | "amateurs" | 16:32 |
sarnold | :) | 16:32 |
hallyn | actually i haven't seen it yet. but i've read enough about it in imgur comments :) | 16:33 |
sarnold | haha | 16:33 |
=== matsubara is now known as matsubara-lunch | ||
Siraris | I seem to be locked out of my EC2 instance (something seems to be wrong with my public key). Is there any way that I can get around this since I can't associate a new key with my current instance? Or do I have to create an entirely new one | 16:55 |
sarnold | Siraris: are you perhaps using your regular username and not ubuntu -- or the other way around? | 16:57 |
Siraris | sarnold: No sir. I've been logging in the same way for weeks now ssh -i /pathtokey ubuntu@myip | 16:57 |
Siraris | It just stopped working for no reason | 16:58 |
sarnold | Siraris: darn :( | 16:58 |
Siraris | And AWS support won't respond to me on the forums | 16:59 |
Siraris | Is my only recourse creating a new instance? | 17:05 |
sarnold | I hope not, but I don't know what else to suggest.. | 17:05 |
Siraris | Can I attach it to a different instance and check the .ssh directory for ubuntu? | 17:06 |
sarnold | Siraris: you mght be able to use euca-get-console-output to try to see what is output on the console.. | 17:07 |
Siraris | sarnold: so I have the messed up volume mounted | 17:10 |
Siraris | sarnold: and it's set to rw for ubuntu/ubuntu | 17:11 |
Siraris | That looks ok right? | 17:11 |
sarnold | Siraris: likely... (I'm not an ec2 expert by any stretch..) | 17:12 |
=== security is now known as megha | ||
Siraris | How can I store my new key in the authorized_key file? | 17:13 |
sarnold | Siraris: can you mount it in another instance? | 17:13 |
Siraris | It already is | 17:13 |
sarnold | ah :) | 17:14 |
sarnold | scp your ~/.ssh/id_whatever.pub file to the remote host; cat id_whatever.pub >> ~/.ssh/authorized_keys | 17:14 |
Siraris | Well Amazon generates a pem file | 17:15 |
Siraris | Which is my private key | 17:15 |
Siraris | I need the public key based on that | 17:15 |
=== matsubara-lunch is now known as matsubara | ||
zerick | Hi guys, i have the following problem after running apt-get update http://paste.debian.net/248719/ | 17:30 |
Siraris | Man, as much as people tout AWS, it's a serious pain in the ass. It now tells me I have no instances | 17:33 |
zul | adam_g/jamespage: -S -sa --changes-option=-DDistribution=precise | 17:33 |
zul | erg.. | 17:33 |
zul | adam_g/jamespage: http://people.canonical.com/~chucks/ca/ | 17:33 |
adam_g | zul, have you built + tested the new JS/CSS? | 17:35 |
Siraris | sarnold: I fixed it. I generated a new key pair on my local machine, copied the public key into my authorized_keys file and it works fine now. Incase anyone asks in the future :) | 17:35 |
sarnold | Siraris: excellent :) | 17:35 |
zul | adam_g: looks ok | 17:45 |
geekbri | so uh.... looks like the openjdk 7 packages in ubuntu server 12.04 have broken /usr/lib/jvm symlinks | 17:48 |
zul | adam_g: looks ok to me | 17:55 |
adam_g | zul, hmm https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1167512 | 19:07 |
uvirtbot | Launchpad bug 1167512 in nova "nova-network fails to start if bindir is not set" [Undecided,New] | 19:07 |
adam_g | zul, do we need to override the defaults in nova/paths.py in nova.conf now? wonder what else is similarly broken | 19:07 |
zul | adam_g: wt.. | 19:08 |
kaje | I'm configuring pam to only allow logins from a particular group. I'm following this how-to: http://www.cyberciti.biz/tips/howto-deny-allow-linux-user-group-login.html | 19:08 |
kaje | My concern is that I am basically setting up a whitelist for groups and I want to be sure I'm not going to screw up some built-in user by not including some built-in group. | 19:09 |
kaje | Is there some list of the standard built in groups and what they are used for? | 19:09 |
zul | adam_g: looking | 19:13 |
tonyyarusso | kaje: well, there are built-in users and groups, but they don't "log in", so I think you're fine... | 19:22 |
kaje | Ok, great. Thanks | 19:22 |
tonyyarusso | kaje: The main thing I'm not quite sure about is how it affects cron. | 19:26 |
zul | adam_g: *sigh* | 19:39 |
zul | adam_g: so linux_net changed how it handles nova-dhcpbridge so if its specified in your nova.conf then it bails when someone tries to start an instance | 19:40 |
adam_g | zul, i dont understand | 19:41 |
lolbee | hello | 19:42 |
lolbee | is ubuntu server supposed to boot into a flasing underscore and nothing else? | 19:42 |
adam_g | zul, it looked like the default directory where it would look for something like nova-dhcpbridge has changed, with defaults being set in paths.py | 19:48 |
zul | adam_g: yeah thats what i meant so if someone has nova-dhcpbridge in their nova.conf then it will bail out | 20:28 |
zul | i was able to reproduce it here | 20:28 |
adam_g | zul, why would nova-dhcpbridge matter? it seems by default its looking for it @ $bindir/nova-dhcpbridge, but bindir=/usr/lib/python2.7/dist-packages/bin/ or w/e | 20:29 |
zul | yeah im not sure still | 20:31 |
zul | its obviously a regression | 20:31 |
Steve____ | Hi, is there any way in a .sql file to spool to a file named after the current date? At the moment we spool to a fixed path | 21:29 |
patdk-lap | heh? what is a .sql file? | 21:37 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Madkiss_ is now known as Madkiss | ||
=== Ursinha-afk is now known as Ursinha |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!