[00:40] <_Techie_> is there a group a user has to be in to allow them to listen on the network? [00:41] Hmm.. Hello all [00:41] Seems my server is.. slightly unwell [00:41] "Gave up waiting for root device. " blah blha.. [00:41] ALERT! /dev/mapper/tank-root does not exist [00:43] Whats odd is this is a RAID1 mirrored over 3 disks [00:46] Slyboots: nothing wrong with that [00:47] Slyboots: not playing with zfs, are you? [00:50] no? [00:50] its been running for months.. powered it down.. powered it back up [00:50] AAHGHGHGHGHHGHGHGHGHGHG!! [00:50] And so on [00:52] Slyboots: no hardware failure? [00:54] I thought a disk was dead but.. [00:54] SMART shows OK across the board [00:56] New bug: #699665 in openssh (main) "sshd crashed during a rsync" [Undecided,New] https://launchpad.net/bugs/699665 [01:00] Slyboots: is that a "fake" raid controller ? [01:00] Linux softraid; MDADM [01:01] with some other layer on top or below then? [01:01] LVM [01:01] Slyboots: sorry, I mean that a three-way RAID1 is not odd [01:02] The BIOS shows the SMART status of each disk.. comes up OK [01:02] Im wondering if a kernel update might have hosed the modules or something [01:03] Slyboots: what's the status of the software raid device ? [01:03] No idea; trying to create a live bootable disk to go in and check [01:03] right now as soon as it hits grub it bombs out witht "Gave up waiting for root device" [01:03] heh? [01:04] so it's grub that complains? [01:04] I get a black screen with a flashing "_" under it [01:04] Then after about 30 seconds [01:04] "Gave up waiting for root device" [01:04] ALERT! /dev/mapper/tank-root does not exist [01:06] that's inside the initrd, so you should be able to see if the raid is assembled or not? [01:06] Not sure.. basiclylafter that it goes (initrtfs) and .. [01:06] Well nothing; tapping keys on the keyboard does nothing [01:07] hm, that's not very useful indeed ☺ [01:07] try booting an older kernel? === Tankenator_afk is now known as Tankenator [01:07] Dont have any.. least I dont think so [01:07] I dont evne really get a grub prompt [01:07] (Although i never clearn out /boot.. so it should be there in theory [01:08] you can enter the grub menu with Esc (grub1) or Shift (grub2) [01:09] xMm.. [01:09] "Grub loading.." [01:09] Then it just continues on [01:10] just keep Esc or Shift (depending on grub version) pressed down during boot [01:10] Tried that... [01:10] Does Caps Lock also work, as in extlinux? [01:10] That way at you can just push it and leave it down [01:10] Its a wireless keyboard.. [01:11] Doesnt have indicator lights for caps lock [01:11] Slyboots: then it probably won't work at all [01:11] I doubt that grub has a bluetooth driver [01:11] Its wifi through a usb interface [01:11] I guess that might work if grub has a USB driver [01:11] I doubt it's WiFi ;) [01:12] OK; got grub using another keybarod :P [01:13] but an USB keyboard might need a BIOS setting [01:13] Its RF or something; but thats outside the fact.. grabed another keyboard nad loaded up the last good kernel [01:13] Well its doing something; ubuntu Usplash has come up [01:13] more likely plymouth [01:14] twb: depends how old the server install is ;) [01:15] Okay; got fed up waiting for usplash to vanish and logged in via the cli [01:15] I guess if he sees "grub loading" than it isn't that stupid new "0 wait time" one [01:15] Not sure how to continue from here though [01:15] Should I.. fsck the disks or..? [01:16] Slyboots: what was the problem again? [01:16] Well it was going "AGGH! Root not found" [01:16] Loading an old kernel fixed that.. [01:17] But now I got run-parts: /etc/update-motd.d/90-updates-availabel exited with an return code 2 [01:17] Everal times [01:19] Mm.. brb. hold on [01:22] Mm.. [01:23] Right [01:23] Well back into the server.. not 100% if everything is OK though [01:24] First things first should be to remove that "bad" kernel from grub.lst right? [01:30] not sure where grub.lst is though [01:33] Slyboots_: /boot/grub [01:33] Slyboots_: just remove that kernel, even [01:34] Mmm.. using apt-get ? [01:34] ALthough if it were me, I'd probably try to work out WHY it wasn't working [01:34] Slyboots_: yes [01:35] Seems like its not loading LVM or something [01:35] And since its 2am in the morning I just want to fix it and go to bed [01:35] or play Dawn of war.. minions of Chaos to kill and whatnot [01:39] Mm.. [01:39] Okay; there is one marked -virtual [01:39] Not sure why that is there [01:43] Slyboots_: I don't know what you're looking at. [01:44] Grubs list of kernels [01:44] I've removed one marked "virtual" see if that makes any difference [01:45] I believe the "virtual" flavoured kernels have many features removed because they are intended only for use as guest OSes in VMs [01:45] Aye; Thats what Im thinking [01:45] Im not sure what its on my server at all but I've removed it and updated grub; a reboot will tell [02:04] I'm running Ubuntu 10.4 and installed BIND using this howto: https://help.ubuntu.com/community/BIND9ServerHowto [02:04] I keep getting these messages in my log: Jan 6 18:46:59 jupiter kernel: [1462769.470917] type=1503 audit(1294361219.337:72660): operation="open" pid=13550 parent=1 profile="/usr/sbin/named" requested_mask="ac::" denied_mask="ac::" fsuid=105 ouid=105 name="/var/log/query.log" [02:06] Any thoughts? [02:06] My home machines all use that machine for DNS and when my wife goes to facebook, BIND is not resolving some of the servers that host facebook's css files and a few other things. [02:13] One of the DNS names that aren't resolving is b.static.ak.fbcdn.net. When I do an nslookup on that address, I get some of those kernel messages in my logs. I'm hoping this is the issue. === loadedwithwyrms is now known as loadedwith|work [04:15] kaje, looks like apparmor is denying it access to that file [04:16] yeah, I got it worked out in the bind channel. Thanks for the help though. [04:16] ah, ok === hikeonpast_ is now known as hikeonpast [06:26] what command do i use to see how many cores a vps has available to it. i am using ubuntu server 10.04 [06:32] cat /proc/cpuinfo [06:40] Depending on the virtualization technology, that won't tell you how many your VPS is allowed to use [06:57] New bug: #695985 in mysql-5.1 (main) "/etc/mysql/debian-start exposes debian-sys-maint users password to any users on the box via ps(1)" [Medium,Confirmed] https://launchpad.net/bugs/695985 === guampa is now known as guampabed [07:01] Is there a way to gete byobu to save the tabs you have open over re-boots? I have a shell, root shell and media server running and owuld like their tabs to be kept open over re-boot [07:18] In logrotate.conf, is i.e /var/log/myapp/* a valid descriptor, when myapp contains subfolders, that contain the logfiles? [07:42] martinjh99: screen cannot save state between reboots. [07:43] milligan: you could configure .screenrc to *launch* programs whenever it starts. [07:43] i think you mean me - How would you do that then? Point me to some docs? [07:46] Sorry, yes [07:46] martinjh99: say you wanted to run bash and top and "w3m google.com". [07:46] martinjh99: you would put in three lines like "screen"; "screen top" and "screen w3m google.com" [07:46] martinjh99: in your .screenrc, I mean [07:47] wouldn't that run 3 instances of screen though? [07:47] No [07:47] .screenrc takes screen commands, not sh commands. [07:48] hmm ok [07:48] In any case, the sh command "screen foo" will create a new tab if it is run within screen (i.e. if $STY is set) [07:48] It is unfortunately an extremely confusing arrangement for newbies [07:51] certainly sounds like it and why when i google "configuring screen" i get a load of windows pages ;) [07:55] Your best references are 1) the manpage/infopage; and 2) #screen channel on Freenode [07:56] You will have better luck (but still not good) in google by using `"GNU Screen"' rather than `screen'. === RudyValencia- is now known as RudyValencia [08:01] using /bin/screen instead of screen might help too [08:01] Interesting idea [08:04] ah ok thanks - just searching ubuntu forums to see if they have anything there [08:04] Pfft [08:04] web fora are just people too stupid to use usenet [08:05] Rather, too stupid to configure a newsreader [08:06] or a mail client ;) [08:08] hehe well i found something I can use via Google... Thanks all [08:10] JanC: I suppose so, although I prefer newsreaders for reading mailing lists :P [08:25] New bug: #699737 in autofs5 (main) "automount[1275]: syntax error in nsswitch config near [ syntax error ]" [Undecided,New] https://launchpad.net/bugs/699737 [09:23] hi guys... how can i view my raid setup on an ubuntu server [09:23] twister004, hardware or software raid? [09:23] hardware [09:24] that depends on the kind of raid you have then [09:24] what is it? [09:24] it's RAID1 [09:24] no I mean the brand [09:24] the controller [09:24] I'm used to array-info for smartarray (hp/compaq) for example [09:25] 82801G(ICH7 Family) IDE Controller [09:25] that's the adapter model [09:26] hmmm, google tells me this is an audio controller [09:26] it is? [09:26] :S [09:26] :D... my bad [09:26] twister004: lspci -nn | grep IDE [09:26] or maybe there's two products with the same name [09:26] ICH7 is just a southbridge [09:27] Probably you've got an ICH7R or so [09:27] sorry... it's the N10/ICH7 Family SATA IDE CTRLLER [09:27] ok [09:27] IOW fakeraid [09:27] twister004: stick to md RAID [09:28] ill keep that in mind.. right now, in the "Disk Utility"... i see two HDDs under the Adapter.. are these the two RAIDed HDDs? [09:28] Who cares? [09:29] or will I be able to see only one of the RAIDed hdd? [09:29] I want to know if there's a third hdd [09:29] twister004: why are you using a GUI [09:29] twister004: open the case, and count the drives, then [09:29] :D [09:29] im remotely located [09:29] Blergh [09:29] pastebin the contents of /proc/mdstat and /proc/partitions [09:30] partitions?.. is there a command called partitions? [09:30] i cant find it [09:30] hrmm [09:30] these are files... [09:31] just cat them, or use pastebinit to do it faster ;-) [09:32] oh.. here you go http://pastebin.com/jkR4HyJT [09:33] twister004: you have two disks set up with per-partition RAID1 arrays [09:33] sory.. it's software raid [09:33] ok... but what about the third.. i remember it was in there [09:34] There's no third disk, as far as linux sees [09:34] There are three ARRAYS [09:34] is there something like a "devfsadm" for linux? [09:34] I do not know what that is. [09:34] The tool to manage md arrays is mdadm. [09:34] it's probing for devices(newly connected) [09:35] under solaris [09:35] udev is infrastructure that responds to device events (including them being connected) [09:36] e.g. you can tell it "whenever the USB mass-storage device with the serial number XXX is connected, mount it and start backing up /srv to it" [09:36] But more generally it creates device files in /dev, and a bunch of desktop wankiness like mounting stuff in /media [09:36] twb.. ok [09:36] thanks [09:37] looks like there is no 3rd disk [09:37] wierd [09:37] i clearly remember there was a 3rd [09:40] Maybe it's not cabled properly === eremyja___ is now known as eremyja [09:59] twb.. yeah.. looks like that's the problem.. ill have to go onsite [09:59] thanks for all your help and advice! [10:06] Well, I AM a genius [10:16] http://xkcd.org/844/ :) [11:10] win 17 [11:10] sorry [11:28] Hey, I wanted to outsource my web-server so I created a virtual machine. Now I do not want to install Webmin, phpmyadmin again. Is there a software I can use to manage (add domain/add database) the virtual machine from the host? [11:32] gobbe: that's not out yet [11:33] Frenk: ssh [12:06] s === guampabed is now known as guampa === doko_ is now known as doko [12:42] how do i install http://pastebin.com/7u9AzMEh php extensions? i knew 2 so mentioned their packages, what about rest? [13:18] I want to otain a SSL certificate but I read that if it is password protected I need to enter the password each time a service is restarted. I have a monitoring solution (monit) which restarts the services if something happens. Is it very insecure to have a SSL-cert without password or is it easier to configure monit with the SSL-password? [13:27] Frenk: i don't think you can decrypt a certificate with a monitoring program [13:28] Frenk: it is standard to not encrypt certificates on services that need to come up unattended [13:30] I mean the watchdog needs to start the service somehow ... even if ssl-cert is password protected... | Okay I try to set it up without password - but "The CSR key must have a length of 2048 bit" has nothing to do with wether its encrypted or not? [13:31] Frenk: no [13:34] having a password on the cert is nice, if you think your box will be rooted [13:35] not having a password is fine, as long as your not rooted [13:35] then it can still be *ok* (depending on your definition and level of ok), if you revoke the cert, assuming you know you where rooted [13:38] how do i install these: http://pastebin.com/7u9AzMEh php extensions on ubuntu karmic? i have listed the two known ones, don't know packages for rest, tried apt-cache search name-here | grep php but no results === oubiwann is now known as oubiwann_ [13:40] patdk-wk: pmatulis thx [13:48] how do i install these: http://pastebin.com/7u9AzMEh php extensions on ubuntu karmic? i have listed the two known ones, don't know packages for rest, tried apt-cache search name-here | grep php but no results [13:49] I have postfix installed for sending e-mail. Does my reverse dns has to be mail.domain.com or can I just use domain.com? [13:52] Frenk: the name that your MTA will expose to the internet should be both forward and reverse resolvable [13:53] Frenk: forward is more important but some MTAs may refuse your mail if reverse is missing [13:55] Frenk: but of course your actual domain name needs to be (at least forward) resolved as well [13:55] Ill check it =) [13:57] how do i install these: http://pastebin.com/7u9AzMEh php extensions on ubuntu karmic? i have listed the two known ones, don't know packages for rest, tried apt-cache search name-here | grep php but no results [13:58] And I have a strange thing happening pmatulis, I have cyrus and denyhosts, every time denyhosts bans any ip the permission on /etc/hosts.deny are changed and cyrus cant read the file = refuses all connections. I dindt find any permission settings in deny-hosts config. === Tankenator is now known as Tankenator_walk [14:02] Error404NotFound, they are installed by default in php-common (I think) [14:02] patdk-wk: pcre is, not sure abour json, couldn't find its config in php.ini [14:03] heh, fail [14:03] check with phpinfo [14:03] there are no config options for json, so it won't be in php.ini [14:06] patdk-wk: :P [14:06] thanks :) [14:10] Hi. I followed a broken tutorial online for setting up Drupal with a LAMP stack on Ubuntu and I think I made some bad changes to my /etc/apache2/httpd.conf file. I'm wondering how I can either restore it to the original settings or reinstall apache with the original .conf file [14:13] Daviey: can you have a look at 697753 its pretty simple [14:17] Arcitens: use at your own peril, also, check the path to the deb: 'dpkg --force-confnew -i /var/cache/apt/archive/apache???.deb' [14:17] 'archives' [14:19] zul: so re nc fix, will users of previous releases be burned in any way? [14:19] pmatulis: as in? [14:20] zul: well, as i understand it, change to nc was to enable simultaneous connections to a libvirt session, will continue to be like this? [14:20] zul: w/o extra hoops? [14:20] pmatulis: the "-q" functionality was put back but with a warning message [14:21] zul: i guess i don't grok the issue, i thought the 'q' thing was the change we put in [14:21] zul: that caused the bug [14:21] New bug: #699845 in php5 (main) "php5 affected by http://bugs.php.net/53632" [Undecided,New] https://launchpad.net/bugs/699845 [14:25] pmatulis: right it is...but its very tied into libvirt, users can use netcat-traditional if they need regular functionality [14:28] zul: but what if they need both libvirt *and* traditional functionality? [14:28] pmatulis: good point lemme think about it [14:28] pmatulis: then they use nc.traditional [14:28] mdeslaur: o_0 [14:29] pmatulis: oh, zul updated the patch to the one debian just changed....so nc-openbsd now behaves like the upstream one [14:29] ie: behaviour is the same if no -q is given [14:29] mdeslaur: ok, that makes sense then [14:30] but the default behaviour between nc-traditional and nc-openbsd is different, and that has nothing to do with the -q patch [14:30] pmatulis: Sorry, I went afk. And I'm not sure what exactly you're suggesting I do there, sorry. [14:30] fedora uses nc-openbsd by default, and we do too now...so if anything, we'll be consistent [14:30] Arcitens: it's a command [14:31] pmatulis: and I should replace ??? with apache version? [14:31] Arcitens: to the real path of the package that provides the conf file your're talking about [14:31] pmatulis: ah, ok. thanks. [14:31] pmatulis: It wasn't to enable simultaneous connections to libvirt. It was to enable more than one *ever*. If you had connected to it with nc.traditional once, you could never, ever connect to it again. [14:32] Arcitens: to be sure: 'dpkg -S /etc/apache2/httpd.conf' [14:32] soren: ah [14:33] hi soren! [14:33] pmatulis: says not found when I ran the second command. (Sorry I'm being a total noob here. I appreciate the help.) [14:33] Arcitens: so the path you gave is not right [14:34] pmatulis: it must be. I'm staring at the file in nautilus and I can open it with 'gedit /etc/apache2/httpd.conf' [14:35] Arcitens: symlink? [14:35] pmatulis: nope [14:35] mdeslaur: dude. [14:35] mdeslaur: :) [14:36] :) [14:36] pmatulis: I'm fine just starting over completely. is there a way I can uninstall the whole apache-mysql-php stack including the config files and then reinstall and work with a fresh slate? [14:37] Arcitens: i'm not sure you can back out completely from a tasksel task [14:37] pmatulis: that's unfortunate :( [14:37] Arcitens: you'll need to google 'round. maybe view what the task does and remove individual packages [14:38] Arcitens: there's a file that explains the tasks [14:38] Arcitens: man tasksel [14:38] pmatulis: Hmm ok. what about just the apache part? Can I uninstall apache and purge the config files for that? I have a feeling it's apache I screwed up in. [14:38] Arcitens: sure [14:39] Arcitens: 'aptitude purge apache' should do it [14:39] pmatulis: thanks very much for the help. [14:39] Tasks don't "do" anything. [14:39] They're just a set of packages. [14:40] soren: possible to remove associated packages in one fell swoop? [14:41] I suppose "sudo apt-get --purge remove taskname^" should do it. [14:41] (Note the ^ at the end) [14:41] right, ok [14:41] is it best to use the VM image or ubuntu server for vm? [14:41] AndyGraybeal: say what? [14:41] aaah nevermind [14:41] AndyGraybeal: there is no more JEOS version available [14:42] f4 on install and it pops up for vm install! [14:42] i'm a bit behind the times. [14:42] aah, you mean that [14:42] i have ubuntu 10.04 server install and i hit f4 on what type of install i want to do .. and i see the virtual machine choice now, it didnt show up earlier becaues i was doing something wrong.! [14:43] thanks gobbe and pmatulis [14:43] :) [14:43] this is the recommended way to start out with a VM correcT? [14:44] AndyGraybeal: you want to create a KVM guest? [14:45] pmatulis: yes [14:45] AndyGraybeal: use virt-manager is you are just beginning [14:45] s/is/if [14:45] oh no no, i've made many images with virt-install but i have used the 'normal' install frm ubuntu server disc [14:46] i just learned yesterday aboutthe VM install! [14:46] i learned kvm about 2 years ago with 8.10 [14:47] well learned enough to make it from point a to point b... throw a ringer in the mix and i'm confused.. but from point a to b and i'm fine. [14:47] AndyGraybeal: i never used a VM install explicitly in the installer. i assume it just makes a minimal install + the virtual kernel [14:47] i wouldn't know how to do that manually, so this is great :) [14:47] AndyGraybeal: comparable to what vmbuilder does [14:48] i haven''t used vmbuilder since 8.10 [14:48] AndyGraybeal: so what's your question then? [14:48] i was asking about how to get to the virtual install; i hit f4 on the wrong screen, i eventually found it and answered my own question. [14:49] pmatulis: Well, google wins in the ned. All I had to do was add 'ServerName localhost:80' to 'httpd.conf' Now it seems to be working fine... Feel like a bit of a fool, but hey, learning experience, right? Thanks again for the help. [14:49] pmatulis: sory for keepihng yuo hanging. [14:51] good, looks like everybody is happy now === Tankenator_walk is now known as Tankenator [14:57] :) [15:01] New bug: #699855 in autofs5 (main) "autofs.schema in wrong location" [Undecided,New] https://launchpad.net/bugs/699855 [15:09] zul: I will ping mathiaz when he pops up re. uec-testing-scripts-devs (adding you) [15:10] (just noted you are pending there) [15:11] hggdh: thanks [15:13] the preseed value for d-i for partman-md/device_remove_md doesn't actually remove md [15:13] the install fails if md devices exist [15:13] so i have to mdadm -S /dev/md* && mdadm --zero-superblock /dev/sd* before i start the installer [15:14] and that can't be automated via early_command in a nice way, the mdadm udeb isn't loaded yet, and even if it was it can exit non zero eevn if the intended operatuion completes successfully on some of the nodes that * expands to [15:14] jdstrand: just to be sure - have all your bad kvm tests been using a snapshotted qcow2 guest? [15:14] this is 10.04 [15:15] also it seems the partition priority and sizxing doesn't behave as expected when doing lvm over raid [15:21] hallyn: a snapshot was always involved, yes. in the 'upgrade one/install another' test (comment #12), only the upgraded one was snapshotted as the other was still being bootstrapped [15:21] may have discovered how to fix the priority weirdness, apparently the order is dependent in this scenario [15:21] maybe the device_remove_md is order-dependent? anyone using this preseed value with success? [15:22] hallyn: also, I almost always was using a mix of i386 and amd64 installs, but I can't so with certainty I always did (and therefore can't say it is 'ok' with just one or the other) [15:22] hello! Could someone tell me what this means: Jan 7 15:14:32 leibniz kernel: [11819455.470672] type=1505 audit(1294413272.487:208): operation="profile_load" pid=19195 name="libvirt-4e12e041-2ec2-587c-4655-8c51167c15cb" [15:22] hallyn: and by 'installs', I mean 'guest installs' [15:23] yann2: apparmor is preventing [15:23] yann2: libvirt uses apparmor to confine virtual machines [15:23] gobbe: no, it isn't [15:23] ah, sorry [15:23] I just stopped apparmor [15:23] well, apparmor yes, not preventing :) [15:23] yann2, gobbe: that line is just telling you that the profile loaded [15:23] i didn't read enough good [15:23] damn I stopped whole apparmor before :( [15:24] yann2: no reason to stop apparmor for that line-- if apparmor is causing a problem, it will log a denial [15:24] and then you can tune apparmor [15:24] infact apparmor is working quite well [15:25] k, is a dev server anyway [15:25] profile_load and profile_remove are purely informational, and letting you know that everything is working properly [15:25] if you compare to selinux which might be pain in the ass [15:25] Jan 7 15:14:32 leibniz kernel: [11819455.470672] type=1505 audit(1294413272.487:208): operation="profile_load" pid=19195 name="libvirt-4e12e041-2ec2-587c-4655-8c51167c15cb" [15:25] arg [15:26] Jan 7 15:05:14 leibniz kernel: [11818898.104525] type=1503 audit(1294412714.157:188): operation="open" pid=18580 parent=1603 profile="/usr/lib/libvirt/virt-aa-helper" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/var/lib/kvm/oasouth-itadmin/root.qcow2" thats the one that got me concerned [15:26] yann2: virt-aa-helper denials are not necessarily fatal [15:26] yann2: look in /etc/apparmor.d/libvirt/libvirt-4e12e041-2ec2-587c-4655-8c51167c15cb.files [15:27] yann2: if it has /var/lib/kvm/oasouth-itadmin/root.qcow2, you are ok [15:27] yann2: virt-aa-helper is what generates the dynamic profile, tailored for your vm [15:28] jdstrand: btw i'm trying to use the security team docs examples to vm-clone etc - but when i vm-clone it starts the new machine but doesn't manage to connect t it over ssh to do the updates it wants. Is this known (.e. some script needs to add '.' to the hostname or something)? [15:28] mmmh could it be that apparmor is making issues if I put my VM in tmpfs? [15:28] yann2: it would show denials in the log [15:28] i know selinux could [15:28] i don't know much about AA but yea it would be in the audit logs [15:29] yann2: /var/lib/kvm/oasouth-itadmin/root.qcow2 should be allowed though, because of this line in virt-aa-helper's profile: [15:29] /**.qcow{,2} r, [15:29] yann2: is /var/lib/kvm/oasouth-itadmin/root.qcow2 a symlink? [15:29] nope, thats where I put my vms [15:30] the /var/lib/kvm/oasouth-itadmin/ is a tmpfs though [15:30] hallyn: I haven't used vm-clone in ages [15:30] when running the vm from disk instead of tmpfs it doesnt freeze anymore though :) [15:30] yann2: what are the contents of /etc/apparmor.d/libvirt/libvirt-4e12e041-2ec2-587c-4655-8c51167c15cb* [15:31] hallyn: vm-clone doesn't do snapshots [15:31] jdstrand: oh. ok. well, i'll keep trying, and will try a i386 one [15:31] hallyn: (which is why I don't use it anymore) [15:31] what do you use then? [15:31] just vm-start -s? [15:31] hallyn: that page has a section down below for using snapshots [15:32] kthx [15:32] hallyn: you looked at 'Cloned virtual machines'. I use 'Snapshotted virtual machines' [15:32] jdstrand, http://pastealacon.com/26508 [15:33] hallyn: someone from the team may use vm-clone-- perhaps kees or mdeslaur, I'm not sure. I used to, but don't any more [15:33] hallyn: I'm trying to debug that exact problem as we speak :) [15:33] I tried to use vm-clone this morning, and it's not working [15:34] mdeslaur: does vm-clone use nc? [15:34] jdstrand: I looked at that, but that's not the issue [15:34] hallyn: you're on natty, right? [15:35] yann2: from an apparmor perspective, it looks ok. I suggest looking in /var/log/libvirt/ [15:35] jdstrand: it's not mounting the images successfully I think...anyway, I'm still poking at it [15:35] yann2: if you want, you can add: [15:35] thats where I started :) [15:35] /var/lib/kvm/** r, [15:36] jdstrand, do you think that having /var/lib/kvm/oasouth-itadmin mounted as tmpfs changes anything for apparmor, than having it not? [15:36] to /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper and reload with 'sudo apaprmor_parser -r /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper' [15:36] for some reasons it doesnt work when mounted as tmpfs. It does work when not, but it's dog slow :( [15:37] yann2: but that won't fix your issue-- you can see the dynamic profile is correctly generated [15:37] yann2: having as tmpfs should make no difference [15:37] jdstrand, my real issue is that its a windows vm - and it freezes after a few seconds now [15:37] works fine without tmpfs, but am installing service pack on windows [15:38] yann2: what version of ubuntu is the host? [15:38] 10.4 [15:39] yann2: so, if you really think it is apparmor, you can sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd, then stop and start libvirt [15:40] I got no idea if its apparmor, its the only indication I could find in the logs :) [15:40] yann2: do you have enough ram? iirc a tmpfs can only take 50% of your ram. so that is half your ram for the disk, and then your vm still needs ram for itself [15:40] oh that would explain yes [15:40] host has 8GB and vm is 3.9GB :) host still had some ram left though [15:41] I ll try again on a host with more ram - thanks a lot for the info, thats probably it [15:41] sure [15:47] jdstrand: btw, as i was reading the securityteam/testenvironment page yesterday I *was* wondering why i'd want to first clone, then create a runtime snapshot :). oops [15:49] heh [15:49] hallyn: feel free to clarify the page if it is misleading [15:51] jdstrand: i suspect i just read it too fast [16:14] I'm running vmbuilder to create a VM with a LV as disk but parted gives an error http://paste.ubuntu.com/551525/ [16:18] jdstrand, btw, it would be nice if qemu would throw out a small warning to syslog in case it fails to grow a growable qcow2 image - not sure where i should report that too [16:18] -o [16:19] yann2: probably against upstream qemu-kvm [16:23] hallyn: bzr update the ubuntu-qa-tools tree [16:23] hallyn: I fixed the problem, but now have hit a second problem [16:24] hallyn: seems unmounting a qcow image now hangs with natty [16:31] mdeslaur: zounds [16:31] thanks :) [16:32] hallyn: if you figure out why qemu-nbd is hanging, let me know [16:33] ok [16:33] Ok you master admins - question for ya - I currently have sendmail installed and running on a box - it [16:33] it's all working fine, but I want to start using an external service. [16:33] Rather than rewrite all of my scripts, is there a way to create a smarthost for a single user with sendmail ? [16:39] how do I convert my ubuntuserver in to a nas [16:39] is thie ra hwo to [16:39] FunnyLookinHat, do you mean forward to another server all the mails directed to a specific user? [16:39] Yeah - and to do so with a different username/password. [16:40] So take user1 at localhost smtp - and forward to user2/pass2 at external.smtpserver.com [16:40] add an alias [16:40] That's all ? Wow - easy. [16:41] that's all. remebert to run newaliases after editing /etc/aliases [16:41] Hmm wait. [16:41] No that will just forward emails. [16:41] I need to forward the SMTP request. [16:41] why? [16:41] mrroth: you might want to look into FreeNAS as well [16:42] yea [16:42] I am [16:42] I got freenas on my usb stick [16:42] but [16:42] it saying starting starting devd [16:42] macno: Because I'm rolling our services into sendgrid - to improve deliverability, etc. - and rather than change every hard-coded setting for the SMTP stuff in our php scripts, I'd prefer to make just one change so I can roll it back easily if necessary :) [16:42] mrroth: boot it of a VM might be better [16:42] http://c0001374.cdn1.cloudfiles.rackspacecloud.com/dcerb1a17.jpg [16:42] Woops - sorry [16:43] Ignore that please :) [16:43] so install ubuntu server [16:43] then install a vm soultion for ubuntu server [16:43] nice pic, now my wallpaper ;) [16:43] hmm [16:43] :D [16:49] b0gatyr: glad you liked it - source: pegshot.com/p/dcerb1a17/ [16:57] php i sawesome! [16:57] zul: Yes. [16:57] :) === cmagina is now known as cmagina-lunch === squishy is now known as SquishyNotHere === cmagina-lunch is now known as cmagina === SquishyNotHere is now known as squishy [18:05] Question of the day - is there a way to run a find/replace on file contents recursively ? [18:07] how can i handle debconf "dialog issue TERM not set using Teletype instead" issue when aptitude -y safe-upgrade fia fabfile.py ? [18:11] Heh - find + sed [18:12] Hi, Im getting a "System information disabled due to load higher than 1" message upon reboot. I have no idea what causes this. Any ideas? [18:15] FunnyLookinHat: it's going to be something along those lines, yeah. I don't know anything that does it out of the box. but plenty of things that could be duct-taped together to do it [18:16] shauno: I'm trying to do something like this... [18:16] find ./ -type f -exec sed -i 's/"$params['host'] = 'localhost';"/"$params['host'] = 'smtp.sendgrid.com';"/' {} \; [18:16] But it won't find my switch and replace statements it seems [18:17] that does look fun. you're going to need to escape a lot of that. [18:17] wonderful. [18:18] I thought the " " surrounding would remove the need to escape ? [18:18] $ echo one two three | sed 's/"one"/"1"/' [18:18] one two three [18:18] litmus test doesn't look too hopeful [18:19] I don't think sed interprets " [18:19] blarg! [18:19] does ubuntu have a lighter version of server? [18:19] inside '', the shell won't interpret anything, so " is sent to sed, which sees it as a character without any special means [18:20] does anybody know what the message "System information disabled due to load higher than 1" means ? It appears upon login [18:20] zeknox: in the grub menu at the start of the installation, you can choose a miniature installation [18:20] DrPoO: you're server has too high of a load that it doesn't have extra cpu cycles to handle the 'system info' on login [18:21] RoyK: thanks! that might be just what we need [18:21] zeknox: hah ... it says that on my 24 core machines too, if they are running at load 1.1 [18:21] RoyK: haha....> 1.0 isn't even that large of a load IMO, its a semi decent load but not huge [18:21] having that limit set load load 1 is quite low imho [18:22] most systems today have 2 or 4 or more cpus [18:22] RoyK: I concur [18:23] roy@tor:~$ uptime 19:23:10 up 55 days, 22:48, 3 users, load average: 25.08, 25.06, 25.03 [18:23] zeknox, any suggestions as to how to find what is causing this problem? [18:24] zeknox, the machine seems to work fine, except for that message.... [18:24] DrPoO: run top, what is eating cpu cycles? [18:24] in /etc/update-motd.d/50-landscape-sysinfo, remove the check [18:25] zeknox, right now, nothing.... I guess it peaks for some reason when it reboots [18:26] DrPoO: see that file [18:27] Any idea why this won't run? It expects more input... http://pastebin.com/zv1Fuk2v [18:29] FunnyLookinHat: you're running that search and replace on all files in a dir and its subsequent subdirs? [18:29] Yup :) [18:29] Long story. [18:29] * RoyK doesn't want to hear it [18:29] Any idea how to fix that statement to work? I think I'm escaping one thing too many... [18:33] FunnyLookinHat: how many files? [18:33] ~ 50-75 [18:33] And I have to make 6 other changes similar to that one. [18:33] FunnyLookinHat: consider setting the settings in one file and then just include that [18:34] Right - well I will.. but first I have to replace the hard-coded setting with a global variable first... [18:34] and to do that - I have to figure out sed first :) [18:34] So realistically my statement will be to switch the $params['host'] = localhost; with $params['host'] = $smtp_host; [18:34] or use perl :P [18:34] And define $smtp_host in my include file. [18:34] >_< === squishy is now known as SquishyNotHere [18:35] yes [18:36] RoyK: you're saying use PERL to run the find/replace instead of bash ? [18:37] perl regex is a bit simpler or at least far more efficient than sed [18:37] that is [18:37] it's not simpler [18:38] but it's way better [18:38] Then it's not solving my problem. :) [18:38] Because I can't even figure out my escape problem ... [18:38] :) [18:38] the escape problem is mainly because you're running it inline from the command line [18:38] which complicates things a bit [18:38] upload one of the files, please [18:41] http://php.pastebin.com/Gk4b81TE [18:41] That's a test file [18:42] http://pastebin.com/bUkHECiM [18:42] save that script, run it as ./fixme.pl file1 file2 [18:43] or find . -type f -exec ./fixme {} \; [18:43] Ok thanks [18:43] ! [18:44] or perhaps [18:44] http://php.pastebin.com/bS3cdZH4 [18:47] FunnyLookinHat: mind, code not tested :P [18:47] Right [18:47] Definitely going to test, etc. [18:48] the open statement for NEWF is wrong, btw [18:48] http://pastebin.com/9hNErGHE [18:54] hi can anyone give me an xorg.conf for a headless server - to use with vnc? [18:56] New bug: #699967 in munin "Empty list of plugins/services with hostname containing uppercase letters" [Medium,Triaged] https://launchpad.net/bugs/699967 [19:02] I wonder if KVM vms support wakeonlan :) [19:20] yann2: ?? [19:25] RoyK, ? [19:31] yann2: just wonder wtf you would use wake-on-lan with a vm :) [19:32] hi is there any network admins in here that could help me out with a RAS VPN Server [19:32] RoyK, could be useful in my case :) [19:33] plus just interested if it works at all :) I guess I'll give it a try ;) [19:33] are you talking to me or someone else? lol [19:45] I have a system configured to auth agaist ldap. Login/auth works, passwd works, sudo works (after install nscd), but chsh does not [19:45] wondering if anyone else has seen anything like this. I keep getting 'Cannot change ID to root.' when I try 'chsh -s /bin/$someshell $username' [19:47] ventz: first hit on google http://moduli.net/sysadmin/sarge-ldap-auth-howto.html [19:48] RoyK: saw that, but everything in ldap looks correct [19:50] interesting, so i think lilbpam-ldap is not installed [19:52] hm, it is installed correctly [19:58] RoyK: so I think a system update/upgrade somewhere along the lines replaced the sym links the previous person setup -- I used the divert [19:58] now it's at least using the correct chsh [20:03] when using the following: mysql> grant usage on *.* to user@localhost identified by 'password' should the "password" include single quotes in the terminal or just type it as password, no quotes? [20:03] I've been looking at a few different tutorials that have confused me on the matter [20:04] Arcitens: I always use single ' [20:05] Arcitens: create database a; [20:05] CREATE USER 'a'@'localhost' IDENTIFIED BY 'password'; [20:05] GRANT ALL PRIVILEGES ON a.* TO 'a'@'localhost'; [20:05] FLUSH PRIVILEGES; [20:05] (for example) [20:05] ventz: so does that mean that my actual password will have single quotes. or are the single quotes part of the syntax? [20:05] it will not have single quotes [20:05] great. thanks. [20:06] it's just to specify the string [20:06] np [20:07] or just 'create user something@somewhere.org identified by 'password' [20:07] erm [20:08] grant all on something.* to someone@somewhere.org identified by 'asdf'; [20:08] that'll create the user if it doesn't exist [20:08] the extra apostrophes can be left out [20:10] oh. so the apostrophes are irrelevant either way and I was working myself into a tiff over nothing? :p [20:10] mysql is quite sloppy when it comes to syntax - quotes or no quotes, it just guesses [20:10] heh, I see [20:10] but you need quotes around strings [20:10] such as you password [20:11] not the username or host, though [20:11] that seems...consistent [20:11] the extra quotes around user/host was _added_ by mysql developers [20:11] though not strictly [20:11] the original SQL syntax doesn't require that [20:11] SQL93 IIRC [20:12] ok [20:12] also, keep in mind that if you want to build a serious database, perhaps postgresql might be a better choice [20:13] but again, mysql is neat for small stuff [20:13] yeah. i'm just getting started with all this business. so i think i'll stick to what most people say is best for beginners [20:14] postgresql has a steeper learning curve, but it's way cooler with its object model and caching paragidme [20:14] the sql syntax is, well, just sql [20:15] Well, maybe (hopefully) I'll get there eventually. But I'm struggling along enough with this as it is. So for now I'll settle for the less steep learning curve. [20:15] not too much of a change whether you use oracle or mysql or sybase or mssql or postgresql or even sqlite [20:15] i see [20:16] on complex joins and stored procedures and again, object models, that's where you start to see the differences [20:16] your average SELECT * FROM girls WHERE name != 'mom' AND age < mine; will probably run on all platforms [20:24] What could be causing me to get a response: "Failed to connect to your database server. The server reports the following message: SQLSTATE[42000] [1049] Unknown database 'drupal7db'." after I just ran 'mysql> create database drupal7db' and did all the grant privileges etc. ? [20:25] RoyK: got the chsh to work [20:25] ventz: cool [20:25] Arcitens: connecting from localhost or another box? [20:25] there were partially two problems. One was someone symlinking it, and an update wiped the symlinks, the other was some modifications of the perl script and nscd was/still is a problem (caching) [20:26] ventz: file a bug :) [20:26] Royk: no. trying to set up LAMP for Drupal development on my own desktop. [20:26] Arcitens: then your average grant all on dbname.* to someuser@localhost identified by 'somepass'; should work well [20:26] I am thinking of adding an /etc/init.d/nscd restart at the bottom of that script and allowing that script to be run [20:27] RoyK: i saw what happened to the 'sudo w/ ldap(s) enabled' bug -- still out there [20:27] Royk: But it thinks the db doesn't exist for some reason? [20:27] Arcitens: pastebin list databases; [20:28] Royk: sorry, where should I enter 'list databases'? [20:28] Arcitens: in the mysql console [20:29] just run mysql as root [20:29] or mysql -p if you've set a password [20:29] yeah i'm in there [20:29] ok, list databases [20:29] i get no response with 'list databases' and i get a syntax error with 'list databases;' [20:29] check if the database exists [20:29] erm [20:29] show [20:29] not list [20:29] my fault [20:30] ah, no problem. [20:30] then show grants should list the grants [20:30] hmm. i'm still actually getting no response on 'show databases' [20:30] add a ; [20:30] i did [20:31] it should be like this http://pastebin.com/D0G74xA2 [20:32] ok. logged out of mysql and back in and it worked. none of the dbs I *thought* I created are there. So I did something wrong with the create db commands? [20:33] possibly [20:33] I see information_schema, mysql, phpmyadmin [20:33] ok [20:33] type 'create database whatsitsname;' [20:33] without the quotes [20:33] done [20:33] phpmyadmin is worthless if you want to learn :) [20:33] then [20:34] heh. ok. [20:34] use whatsitsname; [20:34] then grant all on whatsitsname.* to someuser@somehost identified by 'somepass'; [20:34] it's not really necessary to 'use' the database before the grant, but that makes your selects local to tht db [20:34] or any sql query, really [20:36] oy. I didn't put the closing ; on any of the commands I was running. Didn't realize that was essential. Hopefully this will work well now. show databases; shows the db I just created now. [20:36] let's see if I can figure out the rest of this now. [20:36] if you forget the ; [20:36] just follow that after pressing enter [20:36] sql isn't line-based [20:37] oh, interesting [20:38] some commands aren't sql, like 'use', so they don't need the semicolon [20:38] awesome. I think my databases are working now. Thanks so much for your help. [20:39] ;) [20:39] anything I can do to thank you? I don't know if people write other people positive feedback or anything... [20:39] just don't use phpmyadmin or some silly webapp if you want to learn [20:39] nah - just stay and help others [20:39] that's the best thanks you can give [20:40] Hmm [20:40] Is there anthing like htop for network usage? [20:40] iptraf? [20:41] Neat [20:41] yeah [20:41] Thanks.. Dont suppose you know if there is a better version of iotop? ;) [20:41] 10+YO app [20:42] not really [20:42] measuring i/o on linux is a bitch [20:43] * Slyboots nods.. [20:43] Sometimes I can hear the disk spinning and rnning when they should be asleep [20:44] iirc there's a dtrace replacement for linux, but i don't remember its name [20:44] Actually what is the linux power managment called? [20:44] ampd ? [20:44] apmd.. [20:44] apmd is quite old [20:45] Im a little worried about applying power maangment to the disks (They are greens and part of a RAID array) [20:45] iirc systrap is the one for linux [20:45] pretty advanced [20:45] no, perhaps I'm wrong [20:46] I've tried dtrace before..bewildering [20:46] system tap [20:47] sudo su - [20:47] ops [20:47] systemtap can give you a bit of info, perhaps close to dtrace [20:48] Mmm [20:50] Arcitens: IRC is still web 0.0, so no chance to add comments :) [20:51] Royk :p sure, but perhaps you want some props on your ubuntu wiki page or something. i dunno. ;) [20:53] nah [20:53] :P [20:53] no problem [20:53] but thanks [20:54] hey, thank you. :) [20:54] Arcitens: IRC work by means of people wanting help and wanting to help, and, of course, a few trolls come by every now and then :P [20:55] Royk: fair enough. Just new to a lot of this. [20:55] Arcitens: heh - welcome to the Old World [20:56] Royk: ha. Happy to be here. [20:57] hi guys... im very much new in ubuntu and linux/unix as a whole... i decided to use ubuntu for my NAS project. this NAS will be my ftp/torrent machine. my question is, do i need all LAMP? [20:58] nope [20:58] eightphantomz: also, how much data will you have on this? [20:59] ok... i've googled and got mixed up with all the ubuntu server thingy... [20:59] eightphantomz: if it's terabytes, you might want to consider using zfs instead of the standard raid systems [20:59] yes tb [20:59] eightphantomz: it won't hurt the server if those lamp processes are running [20:59] oh ok... might aswell play around with LAMP for study purpose i guess.. [21:00] the problem with big storage systems is that modern drives have the same fault rate per sector as the old 1GB drives had === loadedwithwyrms is now known as loadedwith|gym [21:00] and with a truckload of terabytes, you get silent errors, not detected by the drive, and thus not by the OS [21:00] so you want a filesystem with data checksumming [21:01] i need to read up zfs [21:01] I thought ZFS didnt work with Ubuntu [21:01] lol [21:01] eightphantomz: also, if this is just a storage machine for nfs or smb/cifs, I'd recommmend something like openindiana [21:01] eightphantomz: http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf [21:02] yes it will also my storage machine [21:02] Slyboots: zfs-fuse works well [21:02] Slyboots: a bit low on the write speed, but good otherwise [21:02] * Slyboots is just using ext4 in a RAID5 configruation with monthly backups [21:02] RoyK: thanks for the link [21:02] 3.5tb [21:02] * RoyK pats his 100TB boxes [21:03] remote-pat-by-ssh :P [21:03] mdeslaur: lol, i don't trust changes to qemu-nbd with body: [21:03] Remove NULL checks for bdrv_new return value [21:03] [21:03] It's an indirect call to qemu_malloc, which never returns an error. [21:03] basically my plan is to do automation ftp process to download media files to the machine... [21:03] and stores it [21:04] :D [21:04] eightphantomz: you can do that from any unix-like system [21:04] I was going to just inall FreeNAS on it.. but with ubuntu it does *so* much more [21:04] Sabnnzbd/Sickbeard/Couchpotato/ssh/squid/irssi/dnsmasq.. [21:04] Slyboots: that's why I use VMs with ubuntu and openindiana for the storage :P [21:05] Slyboots: I was thinking on trying FreeNAS as well... but I think I'm more comfortable with Ubuntu [21:05] eightphantomz: the bitch becomes real when your data, which you thought to be safe, corrupts because of so-called 'silent errors' [21:06] RoyK: And the bitch is? LOL. [21:06] hallyn: ouch! [21:08] How would I limit this command to only *.php files ? find ./ -type f -exec sed -i "s/\$params\['host'\] = 'localhost'/\$params\['host'\] = \$GLOBALS\[smtp_global_host\]/" {} \; [21:08] RoyK: Do u have any recommendation? Not very old Atom pc. Download and storage purposes. [21:09] eightphantomz: for ubuntu or openindiana? [21:09] RoyK: Ubuntu. I'm checking on OpenIndiana as we speak. [21:09] solaris-based OSes are a bit picky, they can't address drives > 1TB on 32bit [21:09] for ubuntu, most things will work [21:10] i would go with solaris&zfs only with huge storages [21:10] huge being what? [21:11] gobbe: I've seen silent errors ruin data in as low as 2-3TB [21:11] mdeslaur: but syslog shows nbd is stuck in nbd_ioctl waiting on a mutex [21:11] RoyK: well 2-3TB is huge storage [21:11] lol [21:11] in home environment [21:11] not anymore [21:12] I'd say over 2ish TB, you want a safe filesystem, since backing up the stuff is hard [21:12] and then zfs is really the only one [21:12] yep [21:12] and zfs supports several nice features [21:12] like snapshots, deduplication, compression etc [21:12] forget about dedup [21:12] it sucks hard [21:12] I've spent my days testing zfs dedup [21:13] it's not good [21:13] i have one customer running sun's openstorage and there deduplication have worked very good [21:13] but they are mostly using it for vmware [21:13] Out of borbid curiosity, why does zfs dedup suck? [21:13] s/borbid/morbid... [21:13] small server, 12TB net storage on raidz2, 140GB L2ARC and some for the SLOG [21:14] write speed to the zpool was horrible after 2-3TB was stored there [21:14] gobbe: also, removing a deduped dataset can make the server hang for some days :P [21:14] 12TB created with what kind of disks? [21:14] gobbe: it's a good reason dedup didn't go into Solaris 10 update 9 [21:14] gobbe: WD Black [21:14] sata? [21:15] 2TB drives [21:15] yeah [21:15] well, 2TB sata is slow like a cow [21:15] and they work very well [21:15] we have 160 of those [21:15] not at all [21:15] if you need performance you go with SAS [21:15] linear speed about 200GB/s [21:15] and that's where dedup works ok [21:15] but then, 7k2 drives sucks at seek speeds [21:16] SAS/SATA - that's just interfaces [21:16] doesn't matter [21:16] no it's not [21:16] it certainly is [21:16] 3Gbps SATA is about the same as 3Gbps SAS [21:16] Ok enough data for today. Thanks guys. Cya [21:17] SAS has better TCQ, right, and SATA has only NCQ, but still, same shit [21:17] jep [21:17] bandwidth is the same [21:17] but disk speed isn't [21:17] and a single drive can't sustain 3Gbps anyway [21:17] enterprise-sas disks run at 15k [21:17] that's the spin time [21:18] not related to the interface [21:18] well, you cannot find 15k sata disks [21:18] that are enterprise-ready [21:18] there are 10k sata drives [21:18] same drive, different interface [21:18] 10k to 15k is still huge step [21:19] seektime-wise, yes, linear transfer speed, no [21:19] a 2TB drive has far higher density [21:19] ofcourse [21:19] so linear speed is about the same [21:20] that's why you use l2arc/slog for zfs [21:20] mdeslaur: I'm tempted to blame the BKL removal patches in drivers/block/nbd.c :( [21:20] but in the end, you have to write it to disk, the bigger disk slower it is :) [21:20] gobbe: nope, the bigger, the faster, really, because of higher density [21:20] RoyK: it's just a cache, it just saves you sometime [21:21] if you shortstroke yes [21:21] gobbe: please, I don't mean to contradict you, but I've been working with storage systems for 10+ years and I know very well where the bottleneck is [21:21] but if you take 500GB enterprise-sas and compare it to 2TB sata disk [21:21] you see huge performance gain [21:21] RoyK: me to [21:21] :) [21:21] with huge enterprises [21:21] like ~50 betabytes of storage [21:22] zul: ping? [21:22] What's a betabyte? :) [21:22] sure, but for the price of a 500GB enterprise drive, you can get 3-4 2TB drives, and if you compare the speed of thouse 3-4 drives with the one 500GB drive, well..... [21:22] typo [21:22] petabyte [21:22] eric_hill: :D [21:22] it's slow to type with n900 :-) [21:22] I think a bettabyte is mo 'betta than just a plain byte. [21:23] * RoyK hands gobbe a floppybyte of pr0n [21:23] RoyK: yes, like i told that if you do short-stroking :) [21:23] I did short-stroking back in 2001 [21:23] for video streaming [21:24] it's still used with modern storages [21:24] on el-cheapo 120GB drives [21:24] like IBM SVC supports it :) [21:24] doesn't surprise me :) [21:24] and openstorage in fact [21:24] but the key is storage tiering :-) [21:25] and automation for that [21:25] so with your multib^Hpetabyte storage, have you used zfs with any of them? [21:25] of course, we sell oracle/sun ;) [21:25] i like zfs [21:25] ah [21:25] don't get me wrong :) [21:25] RoAkSoAx: yep [21:25] * RoyK ended up on openindiana to get the fuck away from oracle [21:26] zul: could you please take a look at bug [21:26] bug #687986 [21:26] Launchpad bug 687986 in openhpi "[FTBFS] package 'openhpi' (2.14.1-1) failed to build on natty" [Low,Fix committed] https://launchpad.net/bugs/687986 [21:26] and sponsor it :) [21:26] RoAkSoAx: sure when i get back [21:26] gobbe: have you looked into btrfs? [21:26] zul: awesome, thanks ;) [21:26] RoyK: not quite much [21:27] RoyK: i thought that oracle killed it :) [21:27] I've followed the development a bit [21:27] nah, oracle gave away the code, so it's somehow alive still [21:27] raid[56] is on its way there [21:27] i would be nice to have zfs in linux kernel...maybe in someday [21:27] so, give it a year or two, perhaps it'll be comparable to zfs [21:28] yea [21:28] gobbe: I'm running a little benchmark with iozone on openindiana with native zfs and ubuntu lucid/maverick with zfs-fuse just to see how it performs [21:29] that is, I was, but then I broke my fucking leg, so I won't be back until a couple of weeks [21:29] :) [21:29] i thought to run little test with IBM's XIV and compare it to sun's openstorage [21:29] http://karlsbakk.net/xray.png <-- not very funny [21:30] my bad word script is freaking out [21:30] lol [21:30] but...i'll head to bead [21:31] * RoyK throws some beads after gobbe [21:39] Installing Ubuntu Server 10.10 on an ancient Dell Desktop, removed "quiet" from the installation options and computer stops at "[1.507269] ohci_hcd 0000:02:0a.1: irq 3, io mem 0xff1fd000" with exception of time, this has happened repeatedly. I have tried irqpoll to no avail... help please? (btw, message is from a picture taken using my camera... can't access it directly from the knowledge I have so... yea) === DrNick__ is now known as DrNick_ [21:52] Rav3nSw0rd: boot with ahci=off [21:52] thank you :D I shall go try that right now. [21:52] Rav3nSw0rd: that is, boot up, remove quiet etc, add ahci=off [21:52] or was that noahci? [21:53] * RoyK isn't sure [21:53] Rav3nSw0rd: also, have you tried 10.04? [21:54] If there's no DocumentRoot specified in apache's httpd.conf file, what does it default to? [22:00] RoyK, is this in addition to or instead of irqpoll? well, I've tried with no irqpoll both ahci=off and noahci, only ahci=off with irqpoll, and same stopping point with exception of just ahci=off, where it stopped before getting to that point [22:01] RoyK: i modified that chsh a bit more, and now it actually takes care of nscd and it works for TLS :) [22:02] ventz: nice :) === loadedwith|gym is now known as loadedwithwyrms [22:13] * RoyK just looked through some old stuff http://karlsbakk.net/hacker/ [22:22] good night [22:23] mdeslaur: it's definately the kernel. on lucid, it works. chroot into a lucid chroot on natty, it works. [22:24] (I think the check in nbd_ioctl for lo->magic is not sufficient, but that's a pure guess) [22:25] Guten Abend [22:37] is https://help.ubuntu.com/community/NetworkConnectionBridge still the best way to bridge? [22:37] uses pre-up brctl bla bla [22:39] too many line have they made somthing simpler to go the networking file? [22:39] *lines [23:00] mdeslaur: (doh, of course i meant, "chroot into a lucid chroot on natty, it fails - qemu-nbd -d locks up") [23:02] Hmm.. [23:02] Using SCreen.. can you split the terminal vertically [23:07] * Slyboots hits his head against the screen.. [23:07] stupid regex [23:09] * RoyK points to "man screen" [23:30] hi guys. I'm in the process of rebuilding a (file)server from scratch. planing on installing 10.4.1 LTS, and has a hardware RAID instaled. could anyone please recommend a filesystem that would be best-suited for optimum thoughput & stability? [23:36] hm, no. lucid userspace on natty kernel does behave differently - the qemu-nbd -d worked, but the qemu-nbd kthread becomes defunct === Tankenator is now known as Tankenator_afk [23:52] kieppie, for filesystems < 8TB, I use ext3 [23:52] tried and true, never lost any data [23:52] for anything > 8TB, use zfs :P [23:53] with a hardware raid controller, zfs won't be of much use except it will find out when data is corrupted [23:53] I've had minor trouble with reiser and JFS, nothing too big [23:53] but I recommend against XFS [23:53] I've lost several complete filesystems [23:54] qman__: really? [23:54] yeah [23:54] power loss and kernel bugs crashing the system [23:54] resulted in total data loss [23:54] I haven't, yet, only been using it sparsely for 10 years, though [23:54] I don't use xfs anymore [23:55] for spooling it sucks hard [23:55] in theory it's fine [23:55] but the problem is when things do go wrong [23:55] not for spooling [23:55] in ext3 and reiser, recovery is pretty easy and reliable [23:55] performance is 20% of ext3 [23:55] in XFS, it tends to be total failure [23:55] I recommend also against reiserfs [23:56] killerfs [23:56] critical bugs in kernel > 2.6.30, non fixed and leading to data loss [23:56] MurderFS! [23:56] :) [23:56] ;) [23:56] https://bugzilla.kernel.org/show_bug.cgi?id=14826 burnt myself really bad 2 days ago on that one [23:56] bugzilla.kernel.org bug 14826 in ReiserFS "jdm-20002 reiserfs_xattr_get: Invalid hash for xattr" [Normal,New] [23:57] anyway - if you want your data safe, use zfs [23:57] no other filesystem (perhas except btrfs) checksums data [23:57] and for large data storage that is a must [23:57] zfs is great, the problem is solaris [23:58] zfs in linux or stable btrfs would make my day for sure [23:58] there is freebsd, and openindiana and zfs-fuse [23:58] I'd be careful with zfs too :) heard of version incompatibilities between zfs versions and hosts [23:58] yann2: haven't seen it yet, and I follow the zfs ml quite closely [23:59] but as far as traditional filesystems, ext3 is the most stable and easiest to recover in my experience [23:59] yann2: obviously you can't mount a zpool v28 on a system not supporting > v19, but that's about it [23:59] well I got a nas with ZFS i pray that if my controller crashes I can mount the ZFS partition on an ubuntu :) [23:59] (solaris right now) [23:59] yann2: what sort of controller?