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