[00:01] alguem fala portugues [00:01] ?? [00:16] New bug: #450818 in gedit (main) "FTBFS: cannot find -lssl" [Undecided,New] https://launchpad.net/bugs/450818 === dendro-afk is now known as dendrobates [01:23] New bug: #370012 in minicom (main) "minicom draws garbage when gnome-terminal is maximized" [Unknown,Confirmed] https://launchpad.net/bugs/370012 [01:27] Bah, screen can do everything minicom can do. === NCommander is now known as NC|G1 === NC|G1 is now known as NCommander [04:01] New bug: #450920 in ntp (main) "ntpd will not restart (error while loading shared libraries: libm.so.6)" [Undecided,New] https://launchpad.net/bugs/450920 [05:17] does anyone uses webalizer? [05:21] is there any software to check traffic, and more? === dendrobates is now known as dendro-afk === pwnguin is now known as `Xenocide === `Xenocide is now known as pwnguin [06:53] <_bubsy> how to list installed apt-get package ? [06:56] <_bubsy> ahh.. dpkg [07:10] New bug: #317212 in openssh (main) "package openssh-server 1:5.1p1-3ubuntu1 failed to install/upgrade: el subproceso post-installation script devolvió el código de salida de error 1" [Low,Incomplete] https://launchpad.net/bugs/317212 [07:46] New bug: #280053 in xinetd (main) "xinetd enabled is not overruled by disable in service declaration" [Low,Incomplete] https://launchpad.net/bugs/280053 === gamla_ko1san is now known as gamla_kossan === t3cki3_ is now known as t3cki3 [10:33] <_ruben> hmm .. does anyone know what the "p 0" part of tcpdump output means when showing tagged vlan traffic ? [10:33] <_ruben> 11:28:17.547764 vlan 202, p 0, IP6 (hlim 255.... [11:37] Hi, i want to use ufw, however the only connection I got to server is via ssh, so to be safe I want to make sure when I enable ufw, it will kill my existing connection, how can I ensure that, i-e add rules somewhere that ufw will read when enabled? [11:41] ok got it, /etc/ufw/before.rules [11:45] ghatak: when doing something like this I disable ufw by default on boot [11:45] then issue a reboot 20 before doing any changes [11:45] if all fails, the machine reboots and you can ssh again [11:46] alex_joni: damn, [11:46] alex_joni: i lost ssh [11:46] alex_joni: but it clearly says in the rules file that add any custom rules in that file [11:47] ghatak: sorry.. never used ufw myself [11:47] I write my iptables script by hand [11:49] i will have to call someone in the datacenter now to flush it :) [11:55] -A ufw-before-input -p tcp --dport 22 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT [11:56] what is wrong with this rule, ufw does not seem to load it [11:59] hi people. when wanting to restart dovecot, I get this: [12:00] http://fpaste.org/XHgn/ [12:00] isn't this very odd? [12:01] /usr/lib/dovecot does not contain any "imap" file or folder though [12:02] maybe it isn't enough to just install the dovecot-common package? [12:03] yeah, that seems to be it =) [12:41] New bug: #408865 in samba (main) "Cannot copy from windows share" [Low,Invalid] https://launchpad.net/bugs/408865 [12:50] hi guys, if you run a basic 'aptitude install munin munin-node' [12:50] why would graphs and stats not be visible? [12:51] munin-node has been running on the box since last night [13:25] I'm trying to understand vhosts and DNS [13:26] can I use vhosts internally without configuring them in the DNS? [13:27] nginx will listen to port 80 for http://example.com/vhost1/some/path and rewrite it to apache to port 800 http://vhost1.example.com/some/path [13:38] ok having hard time with ufw, it is supposed to be simple hehe [13:39] when I enable it, i loose all dns, applications can not lookup anymore [13:39] the syntax is not very helpful either, can't seem to have it enabled easily [13:39] help ? [13:41] ghatak: did you read the man page? [13:42] pmatulis: i believe so [13:46] ufw allow to any port 53 out [13:46] this does not work [13:47] ghatak: do you have to specify the protocol? [13:47] ghatak: you put 'out' in the wrong place [13:47] hi, I can't find in the man page of rsync what the option is to delete files from the target which don't exist on the source anymore? [13:48] ghatak: it should be 'ufw allow out to any port 53' [13:48] ghatak: see 'man ufw' [13:48] jdstrand: ok i am running 8.04, so i think out is not supported on that [13:48] I'm back from holiday, do the latest eucalyptus packages have working EBS support now? because if so I want to test it [13:49] ghatak: egress filtering via the cli command was added in 9.10. you'll need to update /etc/ufw/before.rules to do egress filtering in 8.04 LTS [13:49] jdstrand: and of course omiiting out from the rule, causes the rule to be added as default inwards [13:50] jdstrand: k, kewl, can I use application profiles to specify outgoing rules? they are used in 8.04 i beleive [13:50] ghatak: application profiles were introduced in 8.10, sorry [13:51] ghatak: errmm... i must be running 8.10 then [13:51] let me cheeek [13:51] New bug: #450645 in openldap (main) "Problem install slapd" [Undecided,New] https://launchpad.net/bugs/450645 [13:51] jdstrand: yes, i am running 8.10 [13:53] ghatak: you can use application profiles, but not with egress filtering then. ie, you have to add iptables-restore style commands to /etc/ufw/before.rules to filter egress (outgoing) connections [13:54] jdstrand: alrighty [13:54] thanks [13:57] ghatak: btw, re ufw/ssh> you can add the rule before enabling it and the connection should not drop (but if for some reason it does, you can reconnect since the rule was loaded). eg: [13:57] sudo ufw allow OpenSSH [13:57] sudo ufw enable [13:59] ghatak: ^ will do what you want without having to tweak /etc/ufw/*rules [14:01] jdstrand: no that did not work, I added the rule to /etc/ufw/before.rules and it dropped and connection and wont allow me back in, had to ask datacenter guy to drop me console to get it bcak [14:01] jdstrand: got it sorted now though [14:02] ghatak: what I'm saying is that you shouldn't have had to touch before.rules at all. simply add the OpenSSH rule before enabling the firewall. I'm glad you got it sorted [14:03] jdstrand: yea, thanks mate. Never used ufw before so was bit confused at start :) [14:06] can somebody explain this ? [14:06] root@linux01:/# ls -lh /var/log/lastlog [14:06] -rw-rw-r-- 1 root utmp 554G 2009-10-14 14:30 /var/log/lastlog [14:06] root@linux01:/# du -h /var/log/lastlog [14:06] 32K /var/log/lastlog [14:12] New bug: #293948 in kvm (universe) "kvm on a 64-bit intrepid host cannot boot solaris 10 guest" [Low,Incomplete] https://launchpad.net/bugs/293948 [14:14] nevermind... finaly i found out myself [14:14] It is a sparse file, so its size [14:14] on the disk is usually much smaller than the one shown by "ls -l" [14:14] Weasel[DK]: yes, try 'du -sh --apparent-size /var/log/lastlog' [14:15] pmatulis, gives 554G [14:16] i wantet to do backup of /var/log/ with tar and was wondering why it took so long... [14:22] !vmware [14:22] VMWare is not available in the Ubuntu repositories. Consider using !QEmu or !VirtualBox as alternatives. Instructions for installing VMWare manually are at https://help.ubuntu.com/community/VMware [14:22] !vmtools [14:22] Sorry, I don't know anything about vmtools [14:22] hrmph [14:25] what is the pb with vmtools ? [14:26] they didnt install by default [14:26] couldnt remember the vmmouse package [14:27] New bug: #420929 in samba (main) "samba package did not update" [Undecided,Incomplete] https://launchpad.net/bugs/420929 [14:29] Hi....anybody help me to install a eucalyptus cloud ? [14:30] Weasel[DK]: what backup program did you use? [14:31] pmatulis, as i wrote ... tar i fixed it with --exclude [14:32] Weasel[DK]: ok, better way IMO is to use --sparse option [14:34] pmatulis, you are right... did't know it. i should pay more attention to whole man page ;) Thx [14:42] pmatulis, seems like tar still thinks it has to read 554Gb.... the output file stoped growing but tar is stille working hard [15:01] New bug: #451277 in php5 (main) "php-pear installs a stale symlink" [Undecided,New] https://launchpad.net/bugs/451277 [15:02] New bug: #406650 in rabbitmq-server (main) "package rabbitmq-server 1.6.0-1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1" [Undecided,Fix released] https://launchpad.net/bugs/406650 [15:11] Is there some documentation somewhere on how to connect elasticfox to uec? [15:11] New bug: #391880 in qemu-kvm "migrate exec hangs for several minutes if the pipe is closed before all its data is written" [Wishlist,Confirmed] https://launchpad.net/bugs/391880 [15:25] fyi I apt-get updated all my nodes and everything is working, I can launch m1.smalls now which I could not before, only problem was dhcpd didn't start the way it should have but once it did, I was golden === dendro-afk is now known as dendrobates [15:31] when I deregister images, is there a way to keep them from being listed in the uec web interface? I've deregestered images, and even deleted the images from s3, but they still show up under my images tab with the option to re-enable them, which clutters up the interface. [15:38] also, if I want to roll my own uec images will I be able to sell them through the store? [15:43] soren: Is there some documentation somewhere on how to connect elasticfox to uec? [15:43] zul: ping [15:43] ashnazg: hi [15:44] zul: hey dude, the symlink and zlib issues from yesterday still seem to be in the new package [15:44] zul: we've sent you new bugs for each [15:44] ashnazg: yeah I saw I should get to it this afternoon [15:45] zul: cool cool... we're on efnet #karmic-php-pear working on it [15:45] ashnazg: cool [15:51] aubre_, your deregistered and deleted images showing up would seem like a bug [15:55] smoser: hey -- could you FixRelease bug 444605 with a comment ? [15:55] Launchpad bug 444605 in vm-builder "make sure source is obtainable for uec kernel images" [Medium,Triaged] https://launchpad.net/bugs/444605 [15:55] hmm.. i thought i did that [15:57] zul: should we consider bug 434723 done ? [15:57] Launchpad bug 434723 in m2crypto "Main Inclusion Request: m2crypto" [High,Incomplete] https://launchpad.net/bugs/434723 [15:57] but i will. [15:57] ttx: no it still fails [15:57] im going to talk to pitti about it [15:58] zul: do that today, please [16:01] Everyone: Server bug day in progress on #ubuntu-bugs [16:01] https://wiki.ubuntu.com/UbuntuBugDay/20091014 [16:02] ttx, 444605 is fix-released now [16:03] smoser: great :) [16:23] New bug: #370415 in samba (main) "libnss_wins always performs a broadcast lookup." [Low,Triaged] https://launchpad.net/bugs/370415 [16:28] smoser: any opinion on bug 451358 ? [16:28] Launchpad bug 451358 in eucalyptus "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/451358 [16:28] umm... sounds like a bug ? [16:28] yes, but where ? [16:29] you provide arch when you register [16:29] so either [16:29] a.) user error [16:29] ah-ah [16:29] b.) UEC losing that [16:29] c.) testcase error [16:30] smoser: explain "you provide arch when you register" [16:30] i dont know what the proper behavior is, but if you tried to register a i386 image as x86_64, on ec2 i think it would just work [16:31] euca-register has no arch parameter ? [16:31] but likely would fail when you try to run it [16:31] in bundle [16:31] you provide arch [16:31] from ec2-bundle-image help: [16:31] -r, --arch ARCHITECTURE Specify target architecture. One of ["i386", "x86_64"] [16:32] it is listed as "optional", but i think only because it assumes i386 if you dont tell it [16:32] i dont think it does any heuristics to have sane defaults. [16:32] apparently, it assumes x86_64 here [16:32] smoser: ok, so its the testcase that sucks [16:33] i'll check what the default is for ec2-bundle-image really quick [16:33] smoser: thx for your input [16:34] smoser: API reference says its not an option [16:34] it prompts you [16:34] ec2-bundle-image does [16:35] hah [16:35] so its a euca-bundle-image non-conformity [16:35] and for me, if i just hit return, default would be x86_64. but that is likely (i think i've seen that somewhere) just assuming it based on 'uname -a' [16:35] yes, thats what it does [16:35] verified via: [16:35] $ setarch i386 xc2 bundle-image --destination /tmp/x1 --image /boot/config-2.6.31-13-generic [16:35] using setarch, it says: [16:36] Please specify a value for arch [i386]: [16:36] without it, it defaults to x86_64 [16:37] New bug: #451358 in eucalyptus (main) "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/451358 [16:39] New bug: #317128 in ntp (main) "ntp-update: Error while configure ntp - error code 1" [Low,Confirmed] https://launchpad.net/bugs/317128 [16:44] jsalisbury: I opened and closed bug 451358 -- fixed the testcase so that we coirrectly register i386 images [16:44] Launchpad bug 451358 in eucalyptus "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/451358 [16:45] ttx: thanks. I'll re-run the test case. [16:45] ttx: I also opened bug 451291. Want me to close that one? [16:45] Launchpad bug 451291 in eucalyptus "Incorrect UEC Image Architecture" [Undecided,New] https://launchpad.net/bugs/451291 [16:45] jsalisbury: yes, duplicate of mine, please [16:46] ttx: will do [16:47] jsalisbury: note that it should have been opened against ubuntu/eucalyptus, not Eucalyptus upstream [16:47] tat's why I missed it [16:47] jsalisbury: I'm closing it [16:48] ttx: thanks for the info. I'll be sure to open future bugs in the correct place ;-) [16:48] ttx: thanks for closing it. [17:03] New bug: #339611 in ntp (main) "the clock behind" [Low,Invalid] https://launchpad.net/bugs/339611 [17:06] Hmm, this new 11.6 inch netbook/laptop has a VT-x processor, albeit 32 bit http://ark.intel.com/Product.aspx?id=42791&code=SU7300 : http://howtohackstuff.com/2009/10/14/acers-116-inch-aspire-timeline-as1810tz-shows-signs-of-a-netbook-identity-crisis-acer/ [17:07] New bug: #366910 in openldap (main) "Ubuntu Server 9.04 Update Manager Reports Bug (Gnome under Ubuntu Server)" [Undecided,Invalid] https://launchpad.net/bugs/366910 [17:08] I know people were on the lookout for a cheap machine that you could use to setup a portable UEC configuration, at $600, seems like you could use a few of these to do that cheaply. [17:16] New bug: #451314 in php5 (main) "PHP 5.2.10 zlib bug remains for 32bit" [Undecided,New] https://launchpad.net/bugs/451314 [17:17] New bug: #448036 in eucalyptus "UEC Installer Only Configures One Network Interface" [Undecided,New] https://launchpad.net/bugs/448036 [17:23] New bug: #308647 in dhcp3 (main) "dhclient fails to be run during boot of Intrepid" [Undecided,Incomplete] https://launchpad.net/bugs/308647 [17:26] New bug: #451405 in php5 (main) "zlib extension missing in php5 karmic " [Undecided,New] https://launchpad.net/bugs/451405 [18:02] New bug: #443109 in samba (main) "samba package bug" [Undecided,Incomplete] https://launchpad.net/bugs/443109 [18:07] when ssh into my ubuntu server, I get a message on the MOTD that says " [18:07] oops says "6 packages can be updated, 11 updates are security updates" [18:08] but when I run apt-get update and then apt-get upgrade, i still get the same message when I log in the next time [18:08] whats up with that [18:11] OMG i guess I figured it out there's a command to update the MOTD i guess mine not updating automatically [18:32] What is the easiest way to get a list of software installed on a ubuntu server so I can install the same stuff on a new machine? [18:32] Something like a "apt-get install" list of software. === erichammond1 is now known as erichammond [18:38] Ahh, nevermind I found it. http://ubuntuforums.org/showthread.php?t=261366 [18:41] is EBS functionality available in the latest karmic uec packages? I can do aeuca-describe-volumes and it shows a volume available, but when I try to attach it to an instance via euca-attach-volume the instance can't see it [18:44] in the sc-stats.log I see Timestamp: 2009-10-14 12:32:12,471 Service: StorageController Version: 1.6-devel Volumes: 1 Space Used: 10737418240 [19:02] ib [19:02] Hi folks. I have local repo that I'd like to use (to install systems). I used Ubuntu Minimal iso but that won't let me select the mirrors because there are only one on the list -- archives.ubuntu.com ? Suggestion? [19:09] ello [19:09] how do i generate a new public key from a private key? [19:16] anyone have a system with over a year of uptime [19:16] ffforever: if you mean an openssh key, then ssh-keygen -e should do it [19:16] slampoud, awesome D: [19:16] :D* [19:19] I'm hardcrashing with the kernel 2.6.31-14 in under 3 minutes. any idea what would be causing this? [19:29] hi [19:29] anyone here good with apache configuration? [19:30] javaTN, this is not #httpd and im not that bad but im by far not an expert :D [19:31] well i want to re-configure my apache configuration so its less jumbled. [19:31] let me pull up the configuration and upload it to paste bin to better show [19:33] New bug: #440430 in dbconfig-common (universe) "package request-tracker3.8 3.8.4-1 failed to install/upgrade: " [Undecided,Triaged] https://launchpad.net/bugs/440430 [19:34] http://pastebin.com/m41fa0e0a that is my 000-default configuration file [19:34] there has to be a better way, cleaner way, to get what i want done. [19:36] <_ruben> over a year uptime? got a few of those [19:38] How can I fox: kernel: [263151.175638] IPv6 addrconf: prefix with wrong length 56? [19:38] fix* [19:39] <_ruben> autoconf only works with a /64 [19:39] I don't know what autoconf is or why it's doing whatever it's doing [19:39] I haven't configured IPv6 at all and I don't know what's generating the error [19:40] <_ruben> that's the beauty of ipv6, it doesnt need configuration (on the client side) [19:40] That doesn't stop it from spewing errors every other minute though [19:42] _ruben, can i get a /proc/uptime from u? [19:42] <_ruben> locate the router that's sending the ipv6 router advertisements, tell its owner to fix its configuration [19:42] I am in the middle of a clean install of Ubuntu Server, I have some RAID1 questions mainly about active and spare partitions would anyone be willing to meet me on a private chat and walk me through a few steps i am on a time crunch today. thanks [19:42] smoser: I have run through my EC2 test and got logs on all except 1 [19:42] or should we just talk here? [19:43] :-( [19:43] <_ruben> $ uptime ; cat /proc/uptime 20:43:09 up 462 days, 11:09, 2 users, load average: 0.00, 0.11, 0.08 [19:43] <_ruben> 39956998.58 40422751.91 [19:43] smoser: that one was on odd ball test, though using new ari and the ami's default kernel [19:43] thanks :D [19:43] jjohansen, should we try with the beta kernels to see if you are just lucky today ? [19:43] oh... [19:44] smoser: I tried all combinations, of ari, aki [19:44] well i would think thats not really valid to use old ramdisk and new kernel. but if you booted, then it actually shouldn't have mattered. [19:44] smoser: I would say more I was unlucky yesterday [19:44] smoser: yeah, they all booted [19:44] but youthink your results yesterday were valid [19:44] <_ruben> jph_: talking in here tends to be prefered [19:44] ie, that we've seen valid failure on this new kernel [19:45] but we still havent seen that failure on old beta kernel/beta ramdisk [19:45] you've looked at the changes between them ? [19:45] smoser: yep, I repeated them to many times and and used the same commands today, search back through bash history [19:46] I have looked and I don't see anything that should be causing this [19:48] so then we have either a.) random timing differences between new kernel and old kernel make us see failure [19:48] what's the domain NIS ? [19:48] Ok thanks - Disclaimer this is my first solo install of Ubuntu-server AND a RAID.... Question: I am at the screen where it ask me to enter the number of active devices for the RAID1 array... It notes that a spare partition will only be used if a active devices fails.... I only have 2 Hard drives installed (both 100Gb) but I can free up another HD in about 14 days.... Do I need to have a spare? If so can I lie to the system and say [19:48] 2 active and 1 spare and then just add the spare later? What dose this really mean [19:49] b.) we've just been fat dumb and happy with old beta kernel/beta ari , and we can probably see failure on console logs there too [19:49] <_ruben> jph_: if you have 2 drives in it now, just go with 2 active and 0 spare .. you can configure the spare later [19:50] Ok but is says "NOTE: this setting cannot be changed later" [19:50] is that not really true [19:50] smoser: can we have an option c) blame Amazon :) [19:50] <_ruben> jph_: not later in the partitioner part in the setup it means most likely [19:51] what's domain NIS ? [19:52] network information services [19:52] if you dont know, you probalby dont need it [19:52] jjohansen, so what do we do? [19:52] Ok so if i free up or buy another 100Gb HD in the next 14 days or so i can add it as a spare and be good to go? Also could you give me a short explanation as to what the spare dose? is it what would let me to rebuild after a damaged drive [19:52] smoser: i need to know for my college [19:53] smoser: I am going to try and replicate running in each zone, maybe it is a zone problem [19:53] is there a command to return just the space of a drive, and also is there a command just to return the used size of a drive [19:53] pyro1, http://en.wikipedia.org/wiki/Network_Information_Service [19:53] i know df but thats to much to shift through [19:54] smoser: i know what's NIS, i want to know about domain NIS [19:54] jjohansen: isnt that the default option? [19:55] zul: as in blame zones? Or run instances in all zones [19:55] _ruben: how can I just disable IPv6? [19:55] FFForever, assuming you mean size of partition, i'd just do 'df /path/to/mount' that just gives you 2 lines of output with pretty much what you want [19:55] jjohansen: blame amazon [19:56] zul: ah, yeah it definitely is [19:56] pyro1, well i dont know what "domain NIS" is, and google doesn't seem to either. if google doesn't know it it doesnt exist. [19:57] <_ruben> Bilge: wouldnt know, as im far from fond of disabling ipv6 anywhere [19:57] Google will know about it shortly since this channel is logged online [19:57] smoser: this exist because my teacher on college pass me [19:57] any thought? [19:57] smoser: but i dont find on google === erichammond1 is now known as erichammond [20:01] also another question, Can I limit the size a directory is allowed to get? [20:01] ScottK: you up for a plenary this time around? [20:01] <_ruben> depends on the filesystem used .. dont know if any actually do support directory quotas [20:01] Like /home/user Can I limit its size to 5Gb [20:02] jcastro: I didn't think of anything yet. Let me consider. [20:02] ool [20:02] I was going to use ext3 [20:02] but could change that now if you recommended something better [20:03] <_ruben> jph_: never bothered with disk quotas myself [20:04] humm ok well thanks [20:04] jph_: you could try using lvm [20:08] do you have a partitioning schema you would recommend (I miss typed when i said 100Gb I have 120Gb HDs).... any thoughts on how I should cut that up [20:09] if you go for lvm, make a 100 mb partition for /boot, then use the remainder for lvm [20:10] http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29 [20:12] I was just (still am) reading this http://www.ibm.com/developerworks/library/l-lvm/ is this source just as good, should i read the other? [20:13] yours is more in-depth [20:13] the wiki is just an overview of what lvm is [20:16] Ok I skimmed both, and your saying make a 100Mb for /boot and then make the rest of the HD a 119.90Gb lvm partition... Right? [20:18] jph_: yeah, use the remaining 119 gb for lvm [20:18] and create lvm logical partitions for you mount points [20:18] http://tldp.org/HOWTO/LVM-HOWTO/ [20:18] that is extremely verbose on how to do lvm [20:19] and if i mess up guessing how big to make each logical partition i can just resize them? [20:19] essentially [20:20] I have to make sure today because i will be on the road in 24hours and have to start this development via SSH... so thank you for taking the time to explain things i would normally read myself [20:20] resizing might require a resize2fs command for ext2/3 filesystems [20:21] what about ext4? [20:21] essentially what using lvm does is bypasses the partition table. Whereas previously you would need to use parted or something similar to resize partitions, you can use lvm tools instead [20:22] which won't require a reboot to re-read the partition table [20:22] great that sounds like what i need on this project.... ok is your 100mb recommendation considered "over kill or just right or bare min" [20:22] overkill [20:22] you can get by with 10-20 mb of /boot if you really want [20:22] I try to use 100 [20:23] I've actually maxed-out 100MB on /boot before [20:23] though for Ubuntu, it seems okay. [20:23] mushroomtwo: I don't have any experience with ext4 [20:23] eh. it'll probably work. [20:24] it depends on the implementation [20:24] ext3 is just ext2 with a journal [20:24] are there any GTK+/Qt apps to handle partitioning/resizing in lvm? [20:24] mushroomtwo: LVM Manager [20:25] hummmm ok so what if i play it really safe and go with 500Mb.... What file system should that be? [20:25] mushroomtwo: iirc gparted is supposed to have LVM support either now or very soon. [20:25] ext3? [20:27] jph_: your boot partition doesn't need to be that big, but ext3 is fine [20:27] jph_: you just need to stay away from filesystems which the grub version you install may not support (e.g. reiser4, xfs, jfs....) [20:29] if you use ext3, make sure to add "noatime" to the line in fstab [20:29] otherwise, use ext2 [20:30] generally, I also include "noauto", because I don't want the partition being mounted unless I'm doing a kernel update. [20:30] ymmv [20:30] so select 'noatime' and deselect "relatime' [20:31] yeah. [20:31] unless you're ultra-paranoid about your system being compromised, it's okay to let the partition be mounted at boot. [20:32] especially if you have problems remembering to mount /boot before doing an upgrade. [20:34] ok so if i have it 'noatime' i have to mount it each time i update if i have it as 'relatime' then it auto mounts at boot [20:34] would there be any problems if i have to remotely re-boot the system via ssh? [20:35] no [20:35] mathiaz: have we ever supported Xen officially in -server? [20:35] The only time you would have to mount /boot in mushroomtwo's example is when you do a kernel upgrade [20:35] jcastro: hm... well - no [20:36] jcastro: IIUC in karmic we support officially xen as a guest [20:36] you can use dpkg to hold back your kernel that way all kernel upgrades are completely manual [20:36] and this is a good idea for system security right? [20:36] yeah [20:36] jcastro: as this is what we run in EC2 [20:36] mathiaz: ok I just think this guy is confused (in the virtualization part) http://ubuntu-user.com/Online/Blogs/Marcel-Gagne-Orbiting-Planet-buntu/Sex-Live-and-Virtualization [20:36] jcastro: zul and smoser could probably give you a better answer [20:37] thanks! [20:37] sorry, I tend to default to you for everything. :p [20:37] jcastro: domU yes dom0 no [20:39] jcastro: and domU is supported starting from which release? [20:39] mathiaz: I have no idea! [20:39] jcastro: hm - sorry wrong person [20:40] zul: and domU is supported starting from which release? [20:40] jaunty i think [20:40] When i do all that guys it makes the remaining 119.5GB 'unusable' i have gone back and tried using ext2 and the same thing [20:40] zul: was this because DomU had been merged in mainline? [20:41] mathiaz: yep basically you are on your own for dom0 [20:41] is there anyone that can send the guy an email? If he's writing for a magazine with ubuntu in the title we should make an effort to make sure he's got the right info, right? [20:43] sure soren since he is the virtualization guy [20:43] and he's probably asleep, perfect. === erichammond1 is now known as erichammond [20:44] now i must really be back later [20:44] I also tried setting up my lvm drive first by starting it at the end hoping i could just create the ext2 or ext3 out of what was left... and this makes the 531.4MB left unusable..... [20:44] remember this is a RAID1 [20:45] okay [20:45] so, md0 = /boot? [20:45] or is this fakeraid? [20:46] it is a software RAID setup using the install options [20:46] okay [20:46] so, 500 mb partitions on each drive for md0 [20:46] i followed this http://knowledge76.com/index.php/Ubuntu_Server_Install_With_Software_RAID [20:46] make md0 /boot [20:46] remaining space for md1 [20:47] use md1 as lvm [20:47] which should make the lvm menu available [20:48] I am not at the command line i am still in the installation wizard that you follow when you drop the Ubuntu-server live disk in [20:48] yeah [20:48] so [20:48] at the partition tool [20:48] drive 0: partition 1 = 500 mb [20:48] use as raid [20:49] drive 0: partition 2 = 119.5 gb [20:49] use as raid [20:49] same for drive 1 [20:49] create new raid [20:49] ok sounds like i have to undo the RAID I created... hold on thanks [20:49] md0 = drive 0 part 1 and drive 1 part 2 [20:49] jcastro, zul for the record: http://packages.ubuntu.com/search?keywords=xen&searchon=names&suite=all§ion=all [20:49] erm [20:49] can someone give me the output of mount | grep -i "/dev/" | grep -v "none" | grep -v "pts" | grep -v "tmpfs" [20:49] we did have packages (universe) for xen dom0 in hardy [20:49] md0 = drive 0 part 1 and drive 1 part 1 [20:50] but seemingly also still have those in xen-hypervisor-3.3 [20:50] err... in karmic (xen-hypervisor-3.3) [20:50] create MD Device [20:50] RAID1 [20:50] yep, and use your 500 mb partition on each drive [20:51] afaics there has never been anything in main. but guests on xen (domU) will "just work" because the kernels are pvops enabled [20:51] FFForever: /dev/sda6 on / type ext4 (rw,errors=remount-ro) [20:51] jph_: You want to take this to PM? [20:51] maybe i'm missing something though [20:51] sure [20:51] thanks [20:51] cool :D, it works right :D [21:15] anyone have a decent howto for openvpn on ubuntu? [21:26] mushroom: I found this to be the best howto for openvpn: http://www.openvpn.net/index.php/open-source/documentation/howto.html#pki .. I didn't need to mod anything for ubuntu it all worked verbatium from the openvpn guide [21:28] fantastic. the community documentation on ubuntu's site is pretty broken. [21:29] doh [21:39] need some more help, jagged was helping but we ran into a problem now that i have it fixed he has had to leave... I am setting my my first RAID1 system... here is a image of where i am at.. http://farm3.static.flickr.com/2494/4012511630_6e26092308.jpg can someone walk me through what if anything i need to do to create lvm logical partitions for the mount points of my filesystem.... [21:40] o by the way i have changed the RAID1 device #0 501.6MB partition to mount at /boot [21:40] from whats in that image [21:42] Anyone? [21:47] <_ruben> "Configure the Logical Volume Manager" .. create a VG containing your md1 as PV .. create a LV for each partition you want to have .. configure each LV (choose filesystem, mountpoint, etc) [21:48] ok hang on let me do that --------Thankyou for stepping in i am on a dead line and need to get this going tonight [21:50] <_ruben> wont be around much longer though, its nearing bedtime ;) [21:50] would you be willing to recommend some partition sizes this will be a basic LAMP server for a small group of people we will latter add a 1TB RAID for media storage [21:51] I have 119.5Gb to work ith [21:51] with [21:51] <_ruben> you'll need to figure out/guestimate which parts will take the most space .. web content? databases? users's homedirs? [21:51] I have created the VG names 'Group1' and I am creating the root LV [21:52] well the users (there will be 5) will all be creating basic HTML pages which will be located at /home/user/public_html [21:53] <_ruben> 120G of html .. wow :) [21:53] there will be a main home page for the group located at /var/www [21:53] ---- no just the HD we had on stock and paid for [21:53] I have no worries about having the space just don't know how to cut it up [21:54] <_ruben> i'd go for smth like 10G for / .. 20G for /var/www .. might wanna reserve some gigs for /var/log (and mount it with noatime) .. put the rest up for /home [21:56] if i will have a database that will contain a message board should i make / larger? also where does everything mount that i don't make a mount point for myself [21:56] <_ruben> everything else = / [21:57] <_ruben> if you plan on having large mysql databases .. you might wanna got with a seperate LV for /var/lib/mysql/ [21:57] <_ruben> (having 'dedicated' LVs for certain tasks allows you to tweak mount options for those tasks) [21:57] <_ruben> like noatime for /var/log [21:58] ok well let me make these one at a time.. is there any reason / should ever be larger than 10g [21:58] <_ruben> increases log performance, unless you care about when a log was last accessed [21:58] <_ruben> most my systems have a 2G / :) [21:59] <_ruben> and use about half of it [22:00] ok then 10g it is, i am a buding system admin, normally i have an expert here to help, wouldn't i want to know when a log was accessed incase someone was trying to cover there tracks ? [22:00] <_ruben> if a certain directory grows out of proportion, add extra disks, add it to LVM, create large chunk for this data, migrate data, mount it at the right spot [22:00] <_ruben> accessing logs = reading logs, not writing [22:00] <_ruben> atime = read .. mtime = write [22:01] o ok [22:02] should i just make /var/log big or should i make /var/log x number of gigs and then make /var/log/mysql its own thing? [22:02] <_ruben> (which is why i love virtualization and/or shared storage .. darn easy to adjust diskspace to (new) requirements) [22:03] <_ruben> well .. /var/log/mysql doesnt tend to get big (unless you're doing mysql replication which stores its logs there by default), /var/lib/mysql does (it holds the databases) [22:05] so should it be its own partition to start or should i just make /var/log big to start... if i am going to have a message board that will grow over time how big should this (these) be [22:05] I need a starting point and i guess i will learn and change things over time [22:06] <_ruben> indeed ... and i prefer having /var/log on its own .. how big depends on the expected activity (and how often you rotate logs and how long you want to keep them) [22:06] <_ruben> nothing's a requirement .. put all under / will work just as fine (grub wont work with /boot on lvm, which is why i keep /boot out of my lvm) [22:07] well in truth that will be up to thom (the guy teaching me how to do all this) I would guess i would keep logs for a while so he could show me trends over time [22:07] <_ruben> if it's hard to guestimate the sizes of the various parts, keep the cutting up to a minimum [22:08] is 5g for /var/log over kill at its best or a good idea [22:08] <_ruben> i'd say it'd be a nice start [22:08] and would that be about right to start out with for the /var/log/mysql [22:08] <_ruben> i tend to use way less space in /var/log than i anticipate for .. never hurts to have some extra space there tho :) [22:09] right [22:09] if i have it might as well be safe... [22:09] <_ruben> forget about /var/*log*/mysql unless you do mysql replication .. /var/*lib*/mysql could use its own LV for the databases :) [22:10] <_ruben> and i have no clue about how big your databases will be :) [22:11] ok sorry for the typo... /var/lib/mysql wil have 2 databases and i don't foresee more than 4 ever... as of now it will have a user database for login info and contact info... and a messages database for the message board... [22:11] <_ruben> sounds more like MB's than GB's .. i'd go for 10 or 20 G to be safe [22:12] 10 it is [22:12] again thank you for your time.. let me make that sql LV [22:13] New bug: #379415 in libvirt (main) "libvirtd becomes unresponsive on setvcpus" [Medium,Fix released] https://launchpad.net/bugs/379415 [22:13] humm ok so the rest should be home? anything we have forgotten before i make that one [22:14] <_ruben> could always leave like 20G or so "free" incase you might need some space somewhere without having to add disks right away [22:15] ok good idea, will do [22:15] <_ruben> the benefits of using lvm are that especially with some space to spare, you can re-distribute your space fairly easily [22:16] <_ruben> (usualy with a bit of downtime, but beats having to reinstall from scratch :)) [22:17] that would leave me with more or less than a 40Gig Home and about 26Gig of free space [22:17] <_ruben> sounds fair enough i'd say [22:17] great lets see if it works [22:18] <_ruben> and im gonna go see how things are in never never land .. off to sleep .. g'luck! :) [22:19] thanks again have a great night [22:22] my default apache install has /var/www set with root as owner and group.. is it OK to change it to be owned by www-data so that I can move files to it without using the root account? [22:33] need a little shell scripting hint - I can split up a command in multiple lines by using a backslash at the end of the line. Is there a way of somhow adding a comment behind the backslash? reason is that I want to document the options I use in an rsync command line by line [22:42] bventura: Not requiring root for /var/www is recommended. However, it would be best to use a normal user other than the one which is running Apache. That reduces security risk from potential holes in Apache or your web application by limiting what files can be written to by the attacker. [22:43] tomsdale: One approach would be to build the command line by line in a variable: [22:43] cmd="$cmd --option" # comment [22:43] and then run it: [22:43] $cmd [22:44] erichammond: sounds easy eno [22:44] ugh - thx let me give it a try [22:46] tomsdale: Or just add a big comment above the command. This would make the command easier to read for people who know what the options are for. [22:46] it's just rsync has so many options - and I would like to be able to easily remove or add options in the script file. [22:46] erich, that makes a lot of sense, thanks for the info [22:49] I just installed Ubuntu Server on my first RAID ever built solo (well with a lot of help form people here) Is there a way to check that the RAID is writing to both drives correctly and creating a full mirror, or is it one of those if it works it works things [22:51] tomsdale: Yep, I'm a fan of using backslashes to break long commands into multiple lines so options are easy to read: http://alestic.com/2009/06/ec2-ebs-raid [22:54] jph I'm not an expert on raid but I believe what you want to do is lookinto the 'mdadm' command [22:55] it'll report status + you would use that to repair mirror, etc [22:57] erichammond: you seem to know a good deal about raid. I'm writing this rsync script to clone a running server on software RAID-1 into a virtual machine (no raid on the vm) Do you think the Raid will pose a problem? [23:06] tomsdale: I am in no way a raid expert. I have been able to collect research from the experts to put together the exact commands which work for a particular situation, and I have the willingness to publish documentation about it, but that's about it. [23:07] personally I think there should be no problem but I have no experience with RIAD. The filesystem doesn't know it's on a RAID and I will adjust the fstab on the destination system. [23:07] tomsdale: That said, I think any form of RAID should be transparent to the process you describe. [23:07] right [23:07] er, not sure you should be rsyncing the fstab... [23:07] Salutations all. Anyone know how to solve the issue of doing an atomic file transfers using ftp? [23:10] I probably put it in the exclude or change it in an chroot environment afterwards. Already cloned a test image across vms. All you had to adjust was the fstab and the grub/menu.lst. [23:11] with the UUID's. [23:15] what do you guys think of this so far?, any other information you would want to see (its going to be a system monitor in the long run...) [23:15] http://chr1831.com/qstats2/ [23:17] FFForever: IIRC there is going to be (or already is) a system status page on login. I'm pretty sure that it has a means to extend the things it reports on, so you might be duplicating your efforts. [23:18] owh, this will be for hosting systems mainly where people don't have a head or sometimes even a dedicated server [23:19] FFForever: do you get the information remotely? [23:19] FFForever: The login reference was just to jog my memory - not that it brought up more than I already told you - but my point was that there is already a system monitor infrastructure in place. [23:20] tomsdale, that will be in version 3 or so i hope for remote monitoring [23:28] FFForever: for remote monitoring I'm playing around with Nagios atm. maybe a little to big for my needs but it seems to be very extendable. [23:28] tomsdale, free? [23:28] also - try zabbix I LOVE that software, also free [23:29] bventura, I HATE U!!!!!!!!!!!!!!!!!!! [23:29] i was going to basically write zabbix... [23:29] yes - both are free. [23:30] doh [23:31] ohhh well i am still going to finish my stat script i need the php experience [23:31] :) [23:31] hey speaking of PHP try smarty if you haven't seen it, it's really cool, a templateing engine [23:31] another one of my favorites [23:31] smarty is a pitfa [23:31] zabbix actually looks nicer than nagios at least from the layout [23:31] There is also something like php-system-status, not sure exactly what it's called - also free :) [23:38] and apparently there is opennms - just checking it out - nice how you can creat your graphs on the fly. I'm a sucker for graphs :-) [23:39] zabbix has got mad graphing tomsdale, you can graph anything, it's got a wizard for making them + you can make a whole layout page where you can combine graphs with status indicators or raw data [23:39] you gotta try an install if you haven't already [23:41] I think I will, looks great - I already installed nagios and munin on my new hosting server but I'm still evaluating software [23:42] kudos on choosing nagios tomsdale [23:42] now lemme throw a wrench into your equation [23:42] tomsdale http://www.centreon.com/ [23:45] haha - there is just too much software out there. I think there is also a more community centric nagios fork on the way http://www.icinga.org/ [23:49] bogeyd6: from what I understand centreon is an addition to nagios? [23:50] I'm trying to set up PXE for first timer. Could somebody verify with my processes? I don't know what I'm missing out on. I have dhcp3-server installed, I had placed the PXE netboot files in /var/lib/tftboot and set up link for /var/www/ubuntu.