[00:40] qman__: I went with imap because i was using a desktop and a laptop, and dual booting on both (win/linux on one and ubuntu/arch on the other) ... [00:41] qman__: and also because I couldn't decide which email client i liked, so i wanted to have the spam filtering and folder filtering all done server side [00:41] qman__: it's hard to give up that flexibility once you get used to it [01:50] does unbuntu server have a "sleep" mode [01:50] it seems like my server likes to go to sleep [01:50] and I have to ping it to wake it up. [01:51] I can't visit the website when this happens or ssh in [01:51] but if I ping it everything is fine. [01:51] any ideas? [02:08] Are there examples of creating a profile for pam_auth_update so as to enable pam_limits.so for all users including those that su? === Guest52256 is now known as au === au is now known as Guest28434 [03:04] Hello everyone, I'm trying to setup UEC on my box, but, as always, it doesn't quite work as expected. [03:04] http://pastebin.com/VzVUJ2pU [03:06] Seems dead in here. I'll try #ubuntu. === Guest28434 is now known as au === au is now known as Guest41322 [03:35] Hey guys, i'm getting errors saying "ata3.01: status: { DRDY ERR }" and "ata3.01: error: { UNC }" when trying to boot my ubuntu server. An attempt to fsck the volume gives me "Buffer I/O error on device sda1, logical block 548742" Error reading block... etc [03:35] This a corrupted file system? or could there be a hardware problem here, and how do I tell [03:35] *? [03:41] djveer: your disk is dying [03:42] djveer: go stick it in the freezer, wrapped in a towel, for half an hour. Then take it out and dd the data off it. Then you can attempt to fsck the dd image instead of the dodgy disk. [03:43] twb: okay cool thanks for the advice... what dd command would I use? dd if=/dev/sda1 of='filename' bs=1M or something like that [03:44] djveer: if you have dd_rescue, that would be easiest. [03:44] twb: okay, i'll look into it. Can it be done with just the standard dd utility though? [03:44] i've never honestly used dd_rescue, so not sure of it's function [03:53] dd_rescue is just dd with some bodgy patches to make it slow down or speed up when reads fail [03:54] okay, good to know [03:55] i.e. it's designed specifically for your current use case [03:57] twb: great stuff, thanks :) === Guest41322 is now known as au === au is now known as Guest76843 [04:31] my OS hdd is failing and i need to swap it out...i have a raid 6 seperate from that hdd, is it possible to do a fresh install of ubuntu on a new HDD and rebuild or boot the raid 6 post install? [04:35] ubuntu_user_01: sorry, you have the OS on an un-raided single disk, and a separate RAID 6 array that's used for something else? [04:38] yess [04:38] sorry for the delay [04:38] ubuntu_user_01: is it md raid? [04:38] yes mdadm raid 6 [04:38] Are you raid6-ing the disks, or partitions on the disks? [04:39] raid 6 the disks [04:39] Bummer. [04:39] 8 full hdd in raid 6 [04:39] well thats not good hahaha [04:39] Otherwise you could easily just put /boot on a second set of raid1 partitions, and move the root partition into the array. [04:40] Which is what I'd do for a fresh deployment. [04:40] I *think* GRUB2 can understand a /boot stored on LVM on md RAID now, but I wouldn't want to rely on it. [04:40] can i drop another HDD in and make my failing HDD a raid 1 with the new 1, yank out the failing drive and then rebuild the raid 1 with another new hdd [04:41] ubuntu_user_01: so you would end up with 10 disks, a raid-1 array of two disks for / and /boot, and the original, unchanged raid6 of eight disks for /srv? [04:41] wait...i think i am raid partitions [04:41] yea [04:42] That ought to work [04:42] sweet...now i just got to go break down my raid 0 in the hackintosh till i can get some new hdd [04:42] haha [04:42] You'll need to dance with grub during the transition, so make sure you have a live CD ready, preferably one with mdadm and lvm2 installed in it [04:42] alternate cd comes with both correct? [04:43] Not in rescue mode, although you can probably anna-install them from the CLI while in rescue mode. [04:43] I would normally use a hand-rolled rescue image, or the CentOS 5 live CD, or knoppix. [04:44] IMO that's less hassle than trying to use d-i's rescue mode. [04:45] kk thanks for the help [05:05] twb: hmm.. so jfs fs gets destroyed if it is external array while the internal disk has the OS which went bad? [05:06] twb: hmm would be nice if jfs behaved like zfs where i can destroy my OS on internal disk and no worry [05:06] axisys_: huh? [05:06] I don't know anything about JFS. [05:07] ubuntu_user_01's raid6 was on JFS aparently based on his comment on #ubuntu [05:07] axisys_: surely you mean JFS was on RAID6. [05:08] twb: that was what he said [05:08] axisys_: YOU said RAID6 was on JFS, i.e. backwards [05:08] twb: oops.. yep [05:11] I don't see why the filesystem would matter. [05:11] He had his OS filesystem separate from his data filesystem === Guest76843 is now known as au === au is now known as Guest97869 [05:39] What command can I run from the terminal to determine what interfaces I have available? [05:40] carmony, I assume you mean ethernet interfaces--ifconfig -a will show all the interfaces with drivers loaded [05:41] qman__: ITYM "ip addr" [05:42] qman__: thanks [05:42] twb, I use ifconfig [05:42] old habits die hard [05:44] it's a temporary means anyway, anything permanent should be in /etc/network/interfaces [06:06] hi guys, if i start 'vncserver' on my linux box, I should be able to connect to it via vnc right? [06:06] it's not working for me === Guest97869 is now known as au [06:32] swift, vncserver requires an X session to be running to connect to [06:32] ubuntu server does not have a GUI === au is now known as Guest20298 [06:33] qman_.. i got it goin.. thanks for your input!! [06:42] qman__: um, I think vncserver uses a new Xvfb instance [06:42] And installing vncserver ought to have pulled in X. [06:42] Unless you're talking about x0rfbserver, which exports a normal X instance. [07:00] hi [07:00] mailq returns the following error for thousands of emails: mail system configuration error [07:00] how to debug it ? [07:09] Maybe by configuring the mail system correctly? [07:09] What MTA are you using? === Guest20298 is now known as au === au is now known as Guest33703 === swift_ is now known as swift [07:44] anyone tired vyatta CE router..? [07:48] ruben23: does it run Ubuntu Server? [07:50] twb:yes [08:33] an anyone here please help me with setting up a cloud? [08:34] can* [08:34] Is there an ubuntu-cloud channel we can direct these people to? [08:34] EUC bores me. === Guest33703 is now known as au [08:35] if you help me I'll be gone and you won't be bored anymore === au is now known as Guest42419 [08:36] germanjew_: I can't; I know nothing about EUC [08:36] hehe ok [08:37] It's hard enough for me to keep normal hosts running, let alone a big sort of "blob" of them [08:50] germanjew_: https://help.ubuntu.com/community/UEC [08:51] There's also a PDF best practices doc on Intel's site about Ubuntu : [08:51] http://software.intel.com/en-us/articles/intel-cloud-builder-best-practices/ [08:51] germanjew_: But I cannot help more either because I don't know much about it (and am not that interested currently) [08:56] sherr: ooh [08:56] Oh, just best practices for euc [08:56] I thought you meant ubuntu in general [09:01] No, cloud - but still a useful doc with some nice diagrams. Maybe I'm missing the nice diagrams, and that's why I don't see the point ..:-) [09:19] sherr: thanks alot, but I think I figured out what the problem was [09:24] hi everyone === Guest42419 is now known as au === au is now known as Guest70186 === _au is now known as au_ === au_ is now known as Guest19673 [10:19] hey guys where can i find kernel modules [10:20] i just got a 2nd network cable for my server and its not the same as the first one and it seems like i dont have the module installed [10:24] <_ruben> network cables dont require drivers [10:25] what i mean though is the nics are 2 different broadcome models [10:25] one is a pci xpress nic [10:26] the other is a normal giga broadcome nic [10:26] and the regualr one isnt showing up with an ip or anything when i do ifconfig [10:26] _ruben: i got it [10:26] had to bring it up [10:34] hi, how do i install sources for the 2.6.24-27-rt kernel === Guest19673 is now known as au_ === au_ is now known as Guest66551 === Guest70186 is now known as au === au is now known as Guest15784 [10:43] ruben23: apt-get [10:44] sherr: apst get..? what..? source 2.6.24-27-rt kernel ..? [10:45] hey guys i want your feedback on something i have a router connected directly to the outside via cable modem and i have a server which has to nics and i was wondering if i set that up as a firewall should i put that directly to the cable modem and then the router or can i leave my setup the way it is [10:45] the router has a simple nat firewall it seems like [10:49] ruben23: There are manuals installed on every system - useful to know how to find out information yourself i.e. man apt-get. See the "source" option. [11:03] : [11:25] hi, I'm trying to boot ubuntu over PXE in a vmware ESXi virtual machine. when the vm has a network interface of the types vmxnet2 or vmxnet3 it throws a kernel panic during the boot process. when the network interface is e1000 compatible, it works as expected [11:25] used kernel is 2.6.31-20-server [11:26] anyone has had similar problems? === dendro-afk is now known as dendrobates === Guest15784 is now known as au === au is now known as Guest41926 === ogra_ is now known as ogra === Guest41926 is now known as au === au is now known as Guest82720 [12:59] which package proves samba.schema for LDAP? [13:02] pths: you can search packages and package contents on packages.ubuntu.com [13:09] pths: that would be samba-doc [13:10] pths: (apt-file search samba.schema) === luis__lopez is now known as luis_lopez === robbiew_ is now known as robbiew [13:41] I have a failed drive in a 9.04 server raid5 array, when I pass bootdegraded it's still not constructing, however I can assemble it from initramfs (busybox?) [13:41] how can I either A. get bootdegraded (i also tried bootdegraded=true and bootdegraded=1) to work so I can copy data off then try the rebuild, or B. get network going from the initramfs environment so I can copy the data off === Guest82720 is now known as au === au is now known as Guest56007 [13:46] jalons: no console access? [13:47] I guess "bootdegraded" needs sme updates to the system you haven't got. [13:47] sherr: I do have console access [13:48] I thought that a degraded RAID would allow bootup but expects you to "hit enter" (or something)? [13:48] looks like in 8.10 they changed it [13:49] Painful problem that : https://wiki.ubuntu.com/BootDegradedRaid [13:49] i think it actually tries to continue on, but mdadm is throwing an error that it can't create the array [13:49] lamont: ping when you get a chance can you have a look at #542955 [13:49] jalons: there's always a liveCD/recovery mode? [13:50] sherr: yeah, waiting on approval to get access to a CDR to burn a recovery cd [13:50] thanks, I'll explore that venue [13:55] kirkland: hello! do you know if there is a way in euca to prevent a node from accepting new instances? [14:03] how can I revert a fail apt-get install [14:05] apt-get install -f [14:05] ? [14:05] fails with the same errors [14:09] resolve the errors [14:09] diago: maybe pastebin your errors ... [14:10] it's a syntax error in one of the packages trying to be installed. I just want to kill the attempt [14:10] third party package of course [14:11] -rw-r--r-- root/root 1549844 2010-03-19 15:18 ./usr/lib/libdns.so.64.1.0 <-- zul: looks pretty non-empty to me... [14:12] or is that not what ldconfig.real means by that error? [14:12] im not sure [14:12] anyway, afk for a couple hours - breakfast [14:13] diago: so the package is throwing a syntax error, so it won't install? is it listed in dpkg as partially installed? [14:13] you may be able to dpkg --purge pkg and then apt-get install -f [14:14] it is showing as partial but I'm finding out that removing it will totally uninstall open-xchange [14:14] great, MONDAY [14:15] ahh dependency hell [14:15] Sorry man, at that point I find a new machine and start over. [14:16] lol... not really an option right now. I'll see what #open-xchange has to say. Thanks though. === TrickFin2 is now known as TrickFinlay2 [15:06] can I run a virtualbox question by in here. Windows host - ubuntu guest? [15:14] diago: Depends. [15:14] diago: It's easier to say after you asked the question, I guess. [15:15] ok. I'm having trouble using a windows host and ubuntu guest server. The network adapter in the guest can ping the gateway but if I ping an outside address the name is converted by DNS but I receive no packets [15:19] <_ruben> sounds like a config issue in the host and/or virtualbox, as in: its not nat'ing/bridging/whatevering properly [15:20] diago: Yeah, that doesn't sound like an Ubuntu problem, really. It sounds like something in the hypervisor or on the host side, to be honest. I suggest you try some kind of VirtualBox support forum. [15:21] ok, I just tried a different adapter (intel server) and it seems to be working... strange [15:21] thanks though [15:25] ttx: nut ffe uploaded [15:25] 2 more to go ;) [15:26] well, it works fine when dhcp is used so it must be my config [15:33] this is crazy, if the guest receives info from dhcp it works fine, static no dice [15:35] <_ruben> diago: is the static config similar to the dhcp config? [15:35] from what I can tell, the only additional param I am using is network 192.168.0.0 [15:35] but even if I remove that I still get nothing [15:36] well, I can get around internal fine [15:36] mathiaz: when you get a chance can have a look at https://bugs.edge.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/506985 [15:55] I just got my Ubuntu 9.10 CD's :D [15:55] 1 desktop, 1 server - /me is excited === jeiworth_ is now known as jeiworth [16:53] ttx, do you happen to have any insight on https://bugs.launchpad.net/ubuntu/+source/ec2-api-tools/+bug/542395 [16:58] smoser: not really. Maybe doko can help you [17:00] smoser: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573742 [17:01] yeah, i just saw that and was going to test the -Djava.net.preferIPv4Stack=true [17:01] smoser: if you confrm it's the same, you should change the package affected and link to the debian bug [17:01] works [17:02] smoser: maybe we can workaround it... but we should keep a bug open against openjdk [17:03] kirkland, found a way to parse the config files [17:03] ttx, yes. [17:03] thanks. [17:07] kirkland, mathiaz, smoser: I'm about to call it a day -- anything you need from me ? [17:07] not from me. [17:07] ttx: not from me. [17:08] jsdelfino: I think we worked together circa 1997. [17:08] ttx: nope, thanks [17:08] RoAkSoAx: cool [17:10] kirkland, i'll work on it and post all my code for you to take a look at it [17:10] kirkland, and I uploaded a branch with the testdriverc change for obtaining the code name: lp:~andreserl/testdrive/codename-change [17:11] * ttx disappears [17:20] RoAkSoAx: yeah, i saw that one; it's not quite what i had in mind; i have a better design in mind; don't have time to detail it right now; but i'll try to get it in tonight [17:20] RoAkSoAx: shouldn't affect your modularity, though [17:21] kirkland, it should since I'm planing to handle that differently, other than that I'll just merge your change sin mine [17:22] RoAkSoAx: cool [17:22] RoAkSoAx: basically, i'm going to move the config code that builds the list of ISOs to a different file [17:22] RoAkSoAx: different config file [17:23] RoAkSoAx: that only gets sourced if we're in the "Select an ISO" code path [17:23] RoAkSoAx: which necessarily requires network connectivity [17:23] RoAkSoAx: I want to avoid requiring network connectivity for those code paths that don't actually need it [17:23] RoAkSoAx: like "testdrive -u /path/to/local/foo.iso" [17:25] kirkland, woulnd't it be more user to keep the menu but show "no network connectivity, please insert path to iso"? instead of showing the whole menu? [17:28] kirkland, I have just uploaded my changes to a branch for you to take a look at: lp:~andreserl/testdrive/module [17:29] an initial modularization is pretty much done, but It still requires many changes to improve the code basically [17:29] and I'll probably merge the launch_kvm launch_virtualbox and launch_parallels functions from the executable to the "module" [17:30] kirkland, there's also a "prueba" script that shows how to use the configparser [17:31] and I'm creating the ISO list in the "module" instead of creating it in the config [17:31] RoAkSoAx: i'm really slammed all day today, so i won't be able to get to it until tonight [17:31] so that it is used for both, the command line, and the PyGTK interface in the future to create a manu [17:32] kirkland, its ok, I'm gonna do some work on it today with the way I was planing to parse the config file, so that you can see all that tonight [17:32] RoAkSoAx: awesome [17:38] kirkland: http://paste.ubuntu.com/399417/ [17:52] kirkland: http://paste.ubuntu.com/399432/ === MenZa_ is now known as MenZa === luis__lopez is now known as luis_lopez [18:54] when running rsync on my ubuntu 9.10 server kernel 2.6.31-20 when it gets to a large file, it kernel panics and then reboots, anyone else had this problem? [18:59] oh [18:59] 2GB limit? [19:01] wack479: Oh, wow. Which filesystem? [19:04] wack479: are you copying to or from a FAT32 filesystem? or any other filesystem with relatively small file size limits? [19:04] even if was FAT12, a panic is bad news [19:07] my friend wants to build a couple of devices that will link to each other sharing processing power and other resources, I've offered to help him out on the software side. For starters we tried Eucalyptus via the 9.10 server cd inside virtualbox [19:08] we followed both the server guid and community documentation, but still was not able to get it working [19:12] scar_: can't help with the cloud stuff myself, but know you'll need to define how it didn't work in more detail. What exactly didn't work? [19:12] one thing that baffle me is that eucalyptus needs 40gb space for both clustor and nodes [19:13] sherr I had problems building my own images (with vm-builder) and starting the image afterwards [19:13] UEC folks : Good PDF article on Clud Best Practice (with Ubuntu UEC) here : [19:13] http://software.intel.com/en-us/articles/intel-cloud-builder-best-practices/ [19:14] (scar_) that's not to help you out specifically [19:14] Clud? Cloud* :-) [19:15] right now I think it's better for me to focus on other possable solutions, since giving each device 40gb hdd space isn't really an option right now [19:17] Hello. After I upgraded my server to karmic, the ssh daemon lets the users log in, even before fsck is done checking the user's disks. How can I change the order? [19:17] scar_: where does it state those requirements? [19:19] https://help.ubuntu.com/community/UEC/CDInstall [19:21] kirkland: did you notice [19:21] https://lists.ubuntu.com/archives/ubuntu-server/2010-March/003906.html [19:22] ttx: sorry, no, haven't gotten to it [19:23] kirkland: nothing urgent, just something to keep an eye on, I guess :) [19:23] I'll do a few tests when I'll be back on Friday. [19:26] ttx: yeah, agreed [19:27] kirkland: I experienced sluggish performance under kvm recentely, and it might have been when I did iso testing over qcow2 images. [19:39] jdstrand, i just opened bug 544435 i believe its a problem with app armor profiles for libvirt [19:52] hi [19:52] when i run posix_getpid in php i get pid of apache process, why is that? [19:58] a|3x: probably because you're running mod_php [20:00] joschi: would it be possible to have apache start different process for each page request? [20:01] sure. run php with mod_cgi or suphp [20:01] but this means a certain performance hit [20:01] normally you want to avoid that [20:04] thats how its done on centos i believe [20:05] the problem is i have a long polling app and i would like to prevent clients from long-polling more than once [20:05] to do that i was planning to use pid checking [20:05] is there any other way to do it? [20:09] why not just check a cookie or (more error-prone) the ip address before starting your expensive calculations? [20:09] what if they are behind a nat [20:10] then cookies will still work… [20:10] i have non-browser client apps i and would really like to keep them simple and not require cookies [20:10] plus, cookies can be hacked [20:12] actually, this is more of a licensing issue rather than calculation [20:12] how would knowing the process id of your php process prevent that in any way? [20:14] lock mysql db lock, get pid in database next to key they provided, see if that process is still alive, if yes, return with key already used error, else save pid, unlock lock, go on [20:16] i could use the db lock for that but i need it for efficient long-poll [20:16] i could set flags in the db but what if the process dies and the flag never gets reset [20:17] how big of a performance hit is it? [20:17] the php binary will have to be loaded for each request [20:18] since it's in the cache after the first run, at least it doesn't have to be read from the disk every time [20:18] a|3x: just try it [20:19] the question is, after each long-poll event i am going to have everybody requesting it again all at the same time [20:20] question: how much of a hit it will be when 100 php processes start all at the same time [20:20] compared to what i have now [20:20] that is mod_php [20:21] 100 * size of a single php binary [20:21] do your maths ;) [20:22] how does mod_php work? [20:23] fork? [20:23] no wait [20:27] a|3x: the interpreter is embedded in the apache processes. that's why you only see apache's pid. no forking is done on a request. [20:29] would it be possible to see if a particular php script is still executing within some apache process? [20:29] unique id of some sort maybe? === Guest66551 is now known as au_ === au_ is now known as au === AntORG_ is now known as AntORG [20:54] kirkland, is it really necessary to load multiple config files in testdrive? [20:54] RoAkSoAx: yes; talk to hggdh [20:54] hggdh, ping [20:54] kirkland, ok, because I really don't see the point of having multiple config files :) [20:55] RoAkSoAx, pong [20:56] hggdh, is it really necessary to have multiple config files for testdrive, why? [20:56] RoAkSoAx, we need to be able to test different scenarios -- for example, no network connectivity [20:56] or different memory allocations [20:57] etc [20:57] RoAkSoAx, you mean the successive loads? [20:57] hggdh, yeah [20:57] RoAkSoAx, they do not hurt -- and allows one to only change what is needed [20:58] for example, I usually base mysefl on /etc/testdriverc, and only add my own changes [20:58] RoAkSoAx: basically, we need 2 ... on distro level set of defaults [20:58] RoAkSoAx: and 1 local one for users to override those [20:59] RoAkSoAx: various people "complained" about where that local one was located [20:59] RoAkSoAx: I thought ~/.testdriverc made perfect sense, but then some people wanted in ~/.config/ and other newfangled locations [21:00] RoAkSoAx: so it's best to just create one process for sourcing a config file, and pass that process an array of locations, in order [21:00] kirkland, hggdh, uhmmm ok, because I was thinking on doing something like if it does not exist in ~/.testdriverc use the one in ~/.config/ if not, use the default in /etc/testdriverc [21:00] RoAkSoAx: that's not how traditional Unix configs work .... [21:00] RoAkSoAx, I would rather first source the default in /etc/, *then* whatever the user wants [21:00] RoAkSoAx: the traditional Unix config process is a) first source a global config [21:00] RoAkSoAx: b) then source local configs [21:01] RoAkSoAx: please don't go changing this sort of core testdrive functionality [21:01] RoAkSoAx: that part is there for a reason ;-) [21:01] heh. kirkland stated it more nicely [21:01] kirkland, yeah I just trying to figure out the sourcing of config files since I'm using configparser for that functionality [21:02] RoAkSoAx: right ... so for that, just concatenate all of them together [21:02] RoAkSoAx: and then run the conf parser across it whole blob [21:02] RoAkSoAx: assuming that later variables overwrite earlier ones [21:02] and catenate them in the correct order ;-) [21:02] RoAkSoAx: right, what hggdh said ;-) order matters! [21:03] kirkland, i was either thinking on having something like "testdrive-globals" and testdrive-locals and they *had* to be different and nto override, but I guess that we should be able to override in local config a global variable, correct? [21:03] correct [21:03] the global gives the user sane defaults [21:03] the user config can be as messed up as the user wants, but the global *has* to be sane [21:04] RoAkSoAx: the key being that ***we*** get to change the globals, but ***users*** get to override them with whatever they want [21:04] ideally, nobody will ever need to change /etc (heh, at least I can hope) [21:06] hggdh, kirkland ok so, now a python programming question: is it possible to for example do something like: var = KVM_ARGS, then pass that var to a function, and in the function do something like self.var = "-usb" where self.var should actually be self.KVM_ARGS [21:07] so to the function I can pass functio(var,value) [21:07] and var is an attribute in a class [21:07] set_function(self, var, value)self.var = value [21:07] something like that? [21:07] so you are actually defining a class, and heper methods in it [21:08] as long as the helper methods are in the class, no problem [21:11] I was, in fact, thinking of setting all the config in a class, and passing it to the emulator to be used [21:13] hggdh, http://paste.ubuntu.com/399537/ [21:14] hggdh, how can I make that self.var = value, if var is a variable, but should refer to a varibale in the class instead of to the variable var [21:14] idk if you understand me :) [21:16] RoAkSoAx, easier to have all the attributes in the class [21:16] so that you can just do testdrive.mem= [21:18] hggdh, http://pastebin.ubuntu.com/399538/ [21:19] hggdh, i actually modifying the attributes of the class from the main(), however, I'd rather have a set_values class to be able to set the value to a specified var so that I dont have to do it from main [21:19] because IIRC, it is better to modify the attributes of a class from class functions and not from main, correct? [21:22] RoAkSoAx, opinions vary there ;-) I personally do not like a generic setter like this, makes following the code harder to understand [21:23] if this was an extremely complex programme, then (probably) yes; but you are already using configparser... [21:23] and, BTW, it is better -- following you example -- to do if x: ... elif y: .... elif z: ... [21:24] may be ugly, but such is life [21:24] hggdh, haha indeed, but it would be better that way in my opinion, that's why Im wondering if theres a way to do that [21:24] and yes, whenever possible, modify class attributes via helper methods [21:25] most probably there *is* a way. Not sure it is worth your time (right now) [21:25] also -- in the helper methods you would probably add syntax and semantic, and whatever, checks [21:26] hggdh, ok then, since this is just first modularization i guess I will stick to if if if :) [21:27] for example, the memory size is expected to be an integer, greater than zero and less than , expressed in Megas [21:27] so 384 == 384Mbytes [21:28] (of course, this is a simple example, but you could have more stringent checks for, say, URLs) [22:03] hggdh, kirkland ok. The config loading is done and should work with various configs. the only thing would be that each user will have to add [testdrive] in the config file [22:15] kirkland, hggdh_ lp:~andreserl/testdrive/module, just pushed my latest changes === hggdh_ is now known as hggdh === robbiew is now known as robbiew_ [22:19] how would i make apache run php scripts with mod_cgi? === ubuntu is now known as kirkland-suds [22:41] mathiaz: smoser: yeah ... well, 27kB/s ... no better :-( [22:41] bah [22:41] smoser: mathiaz: smells nice in here though [22:42] smoser: ask nurmi if Goleta's uplink is a carrier pigeon [22:42] kirkland-suds, ping re: byobu [22:44] Burgundavia: what's up? [22:44] smoser: actually, i just spiked to 250kB/s [22:44] woohoo [22:44] hey all [22:45] kirkland-suds, ripping out my hair for last minute Ubuntu book stuff. Is byobu seeded by default anywhere? [22:45] is it generally true that if I am running RAID 1 with two drives, I should be able to pull one drive and mount it stand alone? [22:45] smoser: can you see ESSID sbsoap ? [22:45] not matter the RAID 1 is hardware or software or which ever brand? [22:45] no. i've never seen it. [22:46] smoser: okay, i'm rocking now [22:46] kirkland-suds, specifically, it is seeded on the Ubuntu server/desktop/netbook cds? my browsing says no [22:46] Burgundavia: it's a recommends of screen [22:46] Burgundavia: actually, it is, as of Karmic [22:47] Burgundavia: fire up a Lucid desktop ISO (by Testdrive, perhaps, and you should be able to open a terminal on the LiveCD and just run 'byobu') [22:48] kirkland-suds, no kvm on this laptop. and now I feel stupid. I saw that dependency chain and for some reason it didn't connect in my mind [22:48] thanks [22:48] Burgundavia: Testdrive works with VirtualBox too ;-) but yeah, it's seeded [22:48] Burgundavia: glad to hear byobu's earned a mention in your book [22:48] Burgundavia: what book is it? [22:49] mathiaz: screaming through the langpacks now [22:49] kirkland-suds, official ubuntu book, the command line chapter [22:49] Burgundavia: cool ;-) [22:50] Burgundavia: poke me if you want a byobu deep dive some time; happy to show you the advanced features if you like [22:51] kirkland-suds, for the next edition of the server book, we should probably do something, but that isn't my baby. [22:51] but thanks, yes [22:51] Burgundavia: sure thing; is that Kyle Rankin's book? [22:51] yep [22:52] Burgundavia: cool; i have an email from him that i need to respond to [22:52] Burgundavia: thanks [22:55] kirkland-suds, for a quick sanity check, do you have time for a 10 minute look at what I have written? [22:56] RoAkSoAx, you are mixing tabs and spaces, not a good idea [22:57] Burgundavia: sure [22:57] Burgundavia: wanna email it to dustin dot kirkland at gmail dot com ? [22:59] doing so now [23:03] kirkland-suds, did you get it? [23:04] Burgundavia: got it [23:04] Burgundavia: where's the track changes option? [23:07] edit-->changes-->record [23:07] and edit-->changes-->show [23:07] Burgundavia: the only suggestion I have really, would be to mention F6 (detach) and byobu -x (re-attach), and F7 scrollback [23:07] Burgundavia: otherwise, it's a nice concise introduction [23:08] thanks [23:09] mathiaz: smoser: lang packs complete [23:09] on to kernels :-/ [23:09] smoser: mathiaz: bandwidth is great though; should work from here tomorrow [23:09] 21200896 68% 683.60kB/s 0:00:14 [23:10] kirkland-suds: is there someone around? [23:10] mathiaz: there's a few people in here, but there's a cafe with tables and chairs just outside === nxvl_ is now known as nxvl [23:11] smoser: mathiaz: do either of you have a laptop cable lock? [23:12] nope [23:12] kirkland-suds: nope [23:12] smoser: mathiaz: bummer [23:12] kirkland-suds: how long is this going to take? [23:12] mathiaz: it's about 20x faster, but it'll still be a while [23:13] mathiaz: i'm just on pool/main/l/linux/linux-image-2.6.32-17-preempt_2.6.32-17.26_amd64.deb [23:13] mathiaz: gotta make it through the rest of main, then universe [23:14] mathiaz: smoser: http://pastebin.ubuntu.com/399589/ [23:19] i am having difficulties setting up suphp, anybody care to help? [23:19] Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration [23:20] smoser: mathiaz: made it through the kernels [23:23] hggdh, tou mean spaces for def and tabs for everything else? [23:25] RoAkSoAx, no, actually one should use *either* spaces *or* tabs in a Python source, but not both (PEP 8 highly recommends spaces) [23:25] in my vi edit of the source, everything seems to be on the same column (because my vi is configured to \t == 4 spaces) [23:26] RoAkSoAx, bye either/or, I forgot to add -- but not both [23:26] my, my, am I writing bad today or what? [23:27] hggdh: RoAkSoAx: but I *strongly* prefer tabs and tabs only! [23:28] RoAkSoAx, the master's voice ;-) [23:28] two reasons: a) 1 tab = 1 byte, b) anyone can configure their editor to represent a tab as as much (or as little) whitespace as they like [23:29] a) is largely irrelevant in the face of disks, bandwidth and compression technology of today [23:30] kirkland-suds, as long as it is either/or (but not both) Python feels good... [23:30] kirkland, hggdh ok, better yet, I love using tabs for coding [23:30] b) is a noble goal which starts to fall apart once questions of where the right margin is, and how long statements should be wrapped, enter the picture [23:31] hggdh, kirkland-suds NAyways, just ping if somethings is need, Call of Duty MW2 awaits me :) [23:31] later [23:31] But really, so long as no-one mixes both in a single file, that's a good start [23:32] maxb, yes indeed, and a lot of hard-core old coders (see coreutils, for example) are moving out of \t [23:33] * hggdh does not care, as long as it is only one of them [23:33] ok. Time to get the grill [23:37] hggdh: agreed [23:38] maxb: understood; (a) is not about bytes-on-disk, it's about left-and-right-arrow to me ;-) [23:39] smoser: mathiaz: openjdk is figgin huge [23:39] anybody care to help me figure out why my suphp setup is not working? [23:42] smoser: mathiaz: oh, FCOL ... openoffice :-/ [23:52] hi