/srv/irclogs.ubuntu.com/2009/10/14/#ubuntu-server.txt

pyro1alguem fala portugues00:01
pyro1??00:01
uvirtbotNew bug: #450818 in gedit (main) "FTBFS: cannot find -lssl" [Undecided,New] https://launchpad.net/bugs/45081800:16
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #370012 in minicom (main) "minicom draws garbage when gnome-terminal is maximized" [Unknown,Confirmed] https://launchpad.net/bugs/37001201:23
twbBah, screen can do everything minicom can do.01:27
=== NCommander is now known as NC|G1
=== NC|G1 is now known as NCommander
uvirtbotNew bug: #450920 in ntp (main) "ntpd will not restart (error while loading shared libraries: libm.so.6)" [Undecided,New] https://launchpad.net/bugs/45092004:01
wizardslovakdoes anyone uses webalizer?05:17
wizardslovakis there any software to check traffic, and more?05:21
=== dendrobates is now known as dendro-afk
=== pwnguin is now known as `Xenocide
=== `Xenocide is now known as pwnguin
_bubsyhow to list installed apt-get package ?06:53
_bubsyahh.. dpkg06:56
uvirtbotNew 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/31721207:10
uvirtbotNew bug: #280053 in xinetd (main) "xinetd enabled is not overruled by disable in service declaration" [Low,Incomplete] https://launchpad.net/bugs/28005307:46
=== gamla_ko1san is now known as gamla_kossan
=== t3cki3_ is now known as t3cki3
_rubenhmm .. does anyone know what the "p 0" part of tcpdump output means when showing tagged vlan traffic ?10:33
_ruben11:28:17.547764 vlan 202, p 0, IP6 (hlim 255....10:33
ghatakHi, 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:37
ghatakok got it, /etc/ufw/before.rules11:41
alex_jonighatak: when doing something like this I disable ufw by default on boot11:45
alex_jonithen issue a reboot 20 before doing any changes11:45
alex_joniif all fails, the machine reboots and you can ssh again11:45
ghatakalex_joni: damn,11:46
ghatakalex_joni: i lost ssh11:46
ghatakalex_joni: but it clearly says in the rules file that add any custom rules in that file11:46
alex_jonighatak: sorry.. never used ufw myself11:47
alex_joniI write my iptables script by hand11:47
ghataki will have to call someone in the datacenter now to flush it :)11:49
ghatak-A ufw-before-input -p tcp --dport 22 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT11:55
ghatakwhat is wrong with this rule, ufw does not seem to load it11:56
gamla_kossanhi people. when wanting to restart dovecot, I get this:11:59
gamla_kossanhttp://fpaste.org/XHgn/12:00
gamla_kossanisn't this very odd?12:00
gamla_kossan/usr/lib/dovecot does not contain any "imap" file or folder though12:01
gamla_kossanmaybe it isn't enough to just install the dovecot-common package?12:02
gamla_kossanyeah, that seems to be it =)12:03
uvirtbotNew bug: #408865 in samba (main) "Cannot copy from windows share" [Low,Invalid] https://launchpad.net/bugs/40886512:41
mrchrisadamshi guys, if you run a basic 'aptitude install munin munin-node'12:50
mrchrisadamswhy would graphs and stats not be visible?12:50
mrchrisadamsmunin-node has been running on the box since last night12:51
bencI'm trying to understand vhosts and DNS13:25
benccan I use vhosts internally without configuring them in the DNS?13:26
bencnginx 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/path13:27
ghatakok having hard time with ufw, it is supposed to be simple hehe13:38
ghatakwhen I enable it, i loose all dns, applications can not lookup anymore13:39
ghatakthe syntax is not very helpful either, can't seem to have it enabled easily13:39
ghatakhelp ?13:39
pmatulisghatak: did you read the man page?13:41
ghatakpmatulis: i believe so13:42
ghatakufw allow to any port 53 out13:46
ghatakthis does not work13:46
pmatulisghatak: do you have to specify the protocol?13:47
jdstrandghatak: you put 'out' in the wrong place13:47
trothigarhi, 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:47
jdstrandghatak: it should be 'ufw allow out to any port 53'13:48
jdstrandghatak: see 'man ufw'13:48
ghatakjdstrand: ok i am running 8.04, so i think out is not supported on that13:48
aubre_I'm back from holiday, do the latest eucalyptus packages have working EBS support now? because if so I want to test it13:48
jdstrandghatak: 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 LTS13:49
ghatakjdstrand: and of course omiiting out from the rule, causes the rule to be added as default inwards13:49
ghatakjdstrand: k, kewl, can I use application profiles to specify outgoing rules? they are used in 8.04 i beleive13:50
jdstrandghatak: application profiles were introduced in 8.10, sorry13:50
ghatakghatak: errmm... i must be running 8.10 then13:51
ghataklet me cheeek13:51
uvirtbotNew bug: #450645 in openldap (main) "Problem install slapd" [Undecided,New] https://launchpad.net/bugs/45064513:51
ghatakjdstrand: yes, i am running 8.1013:51
jdstrandghatak: 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) connections13:53
ghatakjdstrand: alrighty13:54
ghatakthanks13:54
jdstrandghatak: 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
jdstrandsudo ufw allow OpenSSH13:57
jdstrandsudo ufw enable13:57
jdstrandghatak: ^ will do what you want without having to tweak /etc/ufw/*rules13:59
ghatakjdstrand: 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 bcak14:01
ghatakjdstrand: got it sorted now though14:01
jdstrandghatak: 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 sorted14:02
ghatakjdstrand: yea, thanks mate. Never used ufw before so was bit confused at start :)14:03
Weasel[DK]can somebody explain this ?14:06
Weasel[DK]root@linux01:/# ls -lh /var/log/lastlog14:06
Weasel[DK]-rw-rw-r-- 1 root utmp 554G 2009-10-14 14:30 /var/log/lastlog14:06
Weasel[DK]root@linux01:/# du -h /var/log/lastlog14:06
Weasel[DK]32K     /var/log/lastlog14:06
uvirtbotNew bug: #293948 in kvm (universe) "kvm on a 64-bit intrepid host cannot boot solaris 10 guest" [Low,Incomplete] https://launchpad.net/bugs/29394814:12
Weasel[DK]nevermind... finaly i found out myself14:14
Weasel[DK]It is a sparse file, so its size14:14
Weasel[DK]       on the disk is usually much smaller than the one shown by "ls -l"14:14
pmatulisWeasel[DK]: yes, try 'du -sh --apparent-size /var/log/lastlog'14:14
Weasel[DK]pmatulis, gives 554G14:15
Weasel[DK]i wantet to do backup of /var/log/ with tar and was wondering why it took so long...14:16
bogeyd6!vmware14:22
ubottuVMWare 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/VMware14:22
bogeyd6!vmtools14:22
ubottuSorry, I don't know anything about vmtools14:22
bogeyd6hrmph14:22
th0mzwhat is the pb with vmtools ?14:25
bogeyd6they didnt install by default14:26
bogeyd6couldnt remember the vmmouse package14:26
uvirtbotNew bug: #420929 in samba (main) "samba package did not update" [Undecided,Incomplete] https://launchpad.net/bugs/42092914:27
ceb_user69842Hi....anybody help me to install a eucalyptus cloud ?14:29
pmatulisWeasel[DK]: what backup program did you use?14:30
Weasel[DK]pmatulis, as i wrote ... tar    i fixed it with --exclude14:31
pmatulisWeasel[DK]: ok, better way IMO is to use --sparse option14:32
Weasel[DK]pmatulis, you are right... did't know it. i should pay more attention to whole man page ;)   Thx14:34
Weasel[DK]pmatulis, seems like tar still thinks it has to read 554Gb.... the output file stoped growing but tar is stille working hard14:42
uvirtbotNew bug: #451277 in php5 (main) "php-pear installs a stale symlink" [Undecided,New] https://launchpad.net/bugs/45127715:01
uvirtbotNew 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/40665015:02
nijabaIs there some documentation somewhere on how to connect elasticfox to uec?15:11
uvirtbotNew 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/39188015:11
aubre_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 golden15:25
=== dendro-afk is now known as dendrobates
aubre_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:31
aubre_also, if I want to roll my own uec images will I be able to sell them through the store?15:38
nijabasoren: Is there some documentation somewhere on how to connect elasticfox to uec?15:43
ashnazgzul: ping15:43
zulashnazg: hi15:43
ashnazgzul: hey dude, the symlink and zlib issues from yesterday still seem to be in the new package15:44
ashnazgzul: we've sent you new bugs for each15:44
zulashnazg: yeah I saw I should get to it this afternoon15:44
ashnazgzul: cool cool... we're on efnet #karmic-php-pear working on it15:45
zulashnazg: cool15:45
smoseraubre_, your deregistered and deleted images showing up would seem like a bug15:51
ttxsmoser: hey -- could you FixRelease bug 444605 with a comment ?15:55
uvirtbotLaunchpad bug 444605 in vm-builder "make sure source is obtainable for uec kernel images" [Medium,Triaged] https://launchpad.net/bugs/44460515:55
smoserhmm.. i thought i did that15:55
ttxzul: should we consider bug 434723 done ?15:57
uvirtbotLaunchpad bug 434723 in m2crypto "Main Inclusion Request: m2crypto" [High,Incomplete] https://launchpad.net/bugs/43472315:57
smoserbut i will.15:57
zulttx: no it still fails15:57
zulim going to talk to pitti about it15:57
ttxzul: do that today, please15:58
ttxEveryone: Server bug day in progress on #ubuntu-bugs16:01
ttxhttps://wiki.ubuntu.com/UbuntuBugDay/2009101416:01
smoserttx, 444605 is fix-released now16:02
ttxsmoser: great :)16:03
uvirtbotNew bug: #370415 in samba (main) "libnss_wins always performs a broadcast lookup." [Low,Triaged] https://launchpad.net/bugs/37041516:23
ttxsmoser: any opinion on bug 451358 ?16:28
uvirtbotLaunchpad bug 451358 in eucalyptus "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/45135816:28
smoserumm... sounds like a bug ?16:28
ttxyes, but where ?16:28
smoseryou provide arch when you register16:29
smoserso either16:29
smosera.) user error16:29
ttxah-ah16:29
smoserb.) UEC losing that16:29
ttxc.) testcase error16:29
ttxsmoser: explain "you provide arch when you register"16:30
smoseri 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 work16:30
ttxeuca-register has no arch parameter ?16:31
smoserbut likely would fail when you try to run it16:31
smoserin bundle16:31
smoseryou provide arch16:31
smoserfrom ec2-bundle-image help:16:31
smoser    -r, --arch ARCHITECTURE          Specify target architecture. One of ["i386", "x86_64"]16:31
smoserit is listed as "optional", but i think only because it assumes i386 if you dont tell it16:32
smoseri dont think it does any heuristics to have sane defaults.16:32
ttxapparently, it assumes x86_64 here16:32
ttxsmoser: ok, so its the testcase that sucks16:32
smoseri'll check what the default is for ec2-bundle-image really quick16:33
ttxsmoser: thx for your input16:33
ttxsmoser: API reference says its not an option16:34
smoserit prompts you16:34
smoserec2-bundle-image does16:34
ttxhah16:35
ttxso its a euca-bundle-image non-conformity16:35
smoserand 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
smoseryes, thats what it does16:35
smoserverified via:16:35
smoser$ setarch i386 xc2 bundle-image --destination /tmp/x1 --image /boot/config-2.6.31-13-generic16:35
smoserusing setarch, it says:16:35
smoserPlease specify a value for arch [i386]:16:36
smoserwithout it, it defaults to x86_6416:36
uvirtbotNew bug: #451358 in eucalyptus (main) "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/45135816:37
uvirtbotNew bug: #317128 in ntp (main) "ntp-update: Error while configure ntp - error code 1" [Low,Confirmed] https://launchpad.net/bugs/31712816:39
ttxjsalisbury: I opened and closed bug 451358 -- fixed the testcase so that we coirrectly register i386 images16:44
uvirtbotLaunchpad bug 451358 in eucalyptus "euca-describe-images reports all UEC images as x86_64" [Low,Confirmed] https://launchpad.net/bugs/45135816:44
jsalisburyttx: thanks.  I'll re-run the test case.16:45
jsalisburyttx: I also opened bug 451291.  Want me to close that one?16:45
uvirtbotLaunchpad bug 451291 in eucalyptus "Incorrect UEC Image Architecture" [Undecided,New] https://launchpad.net/bugs/45129116:45
ttxjsalisbury: yes, duplicate of mine, please16:45
jsalisburyttx: will do16:46
ttxjsalisbury: note that it should have been opened against ubuntu/eucalyptus, not Eucalyptus upstream16:47
ttxtat's why I missed it16:47
ttxjsalisbury: I'm closing it16:47
jsalisburyttx: thanks for the info.  I'll be sure to open future bugs in the correct place ;-)16:48
jsalisburyttx:  thanks for closing it.16:48
uvirtbotNew bug: #339611 in ntp (main) "the clock behind" [Low,Invalid] https://launchpad.net/bugs/33961117:03
aubre_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:06
uvirtbotNew bug: #366910 in openldap (main) "Ubuntu Server 9.04 Update Manager Reports Bug (Gnome under Ubuntu Server)" [Undecided,Invalid] https://launchpad.net/bugs/36691017:07
aubre_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:08
uvirtbotNew bug: #451314 in php5 (main) "PHP 5.2.10 zlib bug remains for 32bit" [Undecided,New] https://launchpad.net/bugs/45131417:16
uvirtbotNew bug: #448036 in eucalyptus "UEC Installer Only Configures One Network Interface" [Undecided,New] https://launchpad.net/bugs/44803617:17
uvirtbotNew bug: #308647 in dhcp3 (main) "dhclient fails to be run during boot of Intrepid" [Undecided,Incomplete] https://launchpad.net/bugs/30864717:23
uvirtbotNew bug: #451405 in php5 (main) "zlib extension missing in php5 karmic " [Undecided,New] https://launchpad.net/bugs/45140517:26
uvirtbotNew bug: #443109 in samba (main) "samba package bug" [Undecided,Incomplete] https://launchpad.net/bugs/44310918:02
bventurawhen ssh into my ubuntu server, I get a message on the MOTD that says "18:07
bventuraoops says "6 packages can be updated, 11 updates are security updates"18:07
bventurabut when I run apt-get update and then apt-get upgrade, i still get the same message when I log in the next time18:08
bventurawhats up with that18:08
bventuraOMG i guess I figured it out there's a command to update the MOTD i guess mine not updating automatically18:11
kpettitWhat 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
kpettitSomething like a "apt-get install" list of software.18:32
=== erichammond1 is now known as erichammond
kpettitAhh, nevermind I found it.  http://ubuntuforums.org/showthread.php?t=26136618:38
aubre_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 it18:41
aubre_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: 1073741824018:44
leaf-sheepib19:02
leaf-sheepHi 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:02
FFForeverello19:09
FFForeverhow do i generate a new public key from a private key?19:09
FFForeveranyone have a system with over a year of uptime19:16
slampoudffforever: if you mean an openssh key, then ssh-keygen -e should do it19:16
FFForeverslampoud, awesome D:19:16
FFForever:D*19:16
SyLI'm hardcrashing with the kernel 2.6.31-14 in under 3 minutes. any idea what would be causing this?19:19
javaTNhi19:29
javaTNanyone here good with apache configuration?19:29
FFForeverjavaTN, this is not #httpd and im not that bad but im by far not an expert :D19:30
javaTNwell i want to re-configure my apache configuration so its less jumbled.19:31
javaTNlet me pull up the configuration and upload it to paste bin to better show19:31
uvirtbotNew bug: #440430 in dbconfig-common (universe) "package request-tracker3.8 3.8.4-1 failed to install/upgrade: " [Undecided,Triaged] https://launchpad.net/bugs/44043019:33
javaTNhttp://pastebin.com/m41fa0e0a that is my 000-default configuration file19:34
javaTNthere has to be a better way, cleaner way, to get what i want done.19:34
_rubenover a year uptime? got a few of those19:36
BilgeHow can I fox: kernel: [263151.175638] IPv6 addrconf: prefix with wrong length 56?19:38
Bilgefix*19:38
_rubenautoconf only works with a /6419:39
BilgeI don't know what autoconf is or why it's doing whatever it's doing19:39
BilgeI haven't configured IPv6 at all and I don't know what's generating the error19:39
_rubenthat's the beauty of ipv6, it doesnt need configuration (on the client side)19:40
BilgeThat doesn't stop it from spewing errors every other minute though19:40
FFForever_ruben, can i get a /proc/uptime from u?19:42
_rubenlocate the router that's sending the ipv6 router advertisements, tell its owner to fix its configuration19:42
jph_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. thanks19:42
jjohansensmoser: I have run through my EC2 test and got logs on all except 119:42
jph_or should we just talk here?19:42
smoser:-(19:43
_ruben$ uptime ; cat /proc/uptime 20:43:09 up 462 days, 11:09,  2 users,  load average: 0.00, 0.11, 0.0819:43
_ruben39956998.58 40422751.9119:43
jjohansensmoser: that one was on odd ball test, though using new ari and the ami's default kernel19:43
FFForeverthanks :D19:43
smoserjjohansen, should we try with the beta kernels to see if you are just lucky today ?19:43
smoseroh...19:43
jjohansensmoser: I tried all combinations, of ari, aki19:44
smoserwell 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
jjohansensmoser: I would say more I was unlucky yesterday19:44
jjohansensmoser: yeah, they all booted19:44
smoserbut youthink your results yesterday were valid19:44
_rubenjph_: talking in here tends to be prefered19:44
smoserie, that we've seen valid failure on this new kernel19:44
smoserbut we still havent seen that failure on old beta kernel/beta ramdisk19:45
smoseryou've looked at the changes between them ?19:45
jjohansensmoser: yep, I repeated them to many times and and used the same commands today, search back through bash history19:45
jjohansenI have looked and I don't see anything that should be causing this19:46
smoserso then we have either a.) random timing differences between new kernel and old kernel make us see failure19:48
pyro1what's the domain NIS ?19:48
jph_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 say19:48
jph_ 2 active and 1 spare and then just add the spare later? What dose this really mean19:48
smoserb.) we've just been fat dumb and happy with old beta kernel/beta ari , and we can probably see failure on console logs there too19:49
_rubenjph_: if you have 2 drives in it now, just go with 2 active and 0 spare .. you can configure the spare later19:49
jph_Ok but is says "NOTE: this setting cannot be changed later"19:50
jph_is that not really true19:50
jjohansensmoser: can we have an option c) blame Amazon :)19:50
_rubenjph_: not later in the partitioner part in the setup it means most likely19:50
pyro1what's domain NIS ?19:51
smosernetwork information services19:52
smoserif you dont know, you probalby dont need it19:52
smoserjjohansen, so what do we do?19:52
jph_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 drive19:52
pyro1smoser: i need to know for my college19:52
jjohansensmoser: I am going to try and replicate running in each zone, maybe it is a zone problem19:53
FFForeveris 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 drive19:53
smoserpyro1, http://en.wikipedia.org/wiki/Network_Information_Service19:53
FFForeveri know df but thats to much to shift through19:53
pyro1smoser:  i know what's NIS, i want to know about domain NIS19:54
zuljjohansen: isnt that the default option?19:54
jjohansenzul: as in blame zones?  Or run instances in all zones19:55
Bilge_ruben: how can I just disable IPv6?19:55
smoserFFForever, 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 want19:55
zuljjohansen: blame amazon19:55
jjohansenzul: ah, yeah it definitely is19:56
smoserpyro1, 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:56
_rubenBilge: wouldnt know, as im far from fond of disabling ipv6 anywhere19:57
ScottKGoogle will know about it shortly since this channel is logged online19:57
pyro1smoser: this exist because my teacher on college pass me19:57
jph_any thought?19:57
pyro1smoser:  but i dont find on google19:57
=== erichammond1 is now known as erichammond
jph_also another question, Can I limit the size a directory is allowed to get?20:01
jcastroScottK: you up for a plenary this time around?20:01
_rubendepends on the filesystem used .. dont know if any actually do support directory quotas20:01
jph_Like /home/user  Can I limit its size to 5Gb20:01
ScottKjcastro: I didn't think of anything yet.  Let me consider.20:02
jcastroool20:02
jph_I was going to use ext320:02
jph_but could change that now if you recommended something better20:02
_rubenjph_: never bothered with disk quotas myself20:03
jph_humm ok well thanks20:04
Jaggedjph_: you could try using lvm20:04
jph_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 up20:08
Jaggedif you go for lvm, make a 100 mb partition for /boot, then use the remainder for lvm20:09
Jaggedhttp://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%2920:10
jph_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:12
Jaggedyours is more in-depth20:13
Jaggedthe wiki is just an overview of what lvm is20:13
jph_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:16
Jaggedjph_: yeah, use the remaining 119 gb for lvm20:18
Jaggedand create lvm logical partitions for you mount points20:18
Jaggedhttp://tldp.org/HOWTO/LVM-HOWTO/20:18
Jaggedthat is extremely verbose on how to do lvm20:18
jph_and if i mess up guessing how big to make each logical partition i can just resize them?20:19
Jaggedessentially20:19
jph_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 myself20:20
Jaggedresizing might require a resize2fs command for ext2/3 filesystems20:20
mushroomtwowhat about ext4?20:21
Jaggedessentially 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 instead20:21
Jaggedwhich won't require a reboot to re-read the partition table20:22
jph_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
Jaggedoverkill20:22
Jaggedyou can get by with 10-20 mb of /boot if you really want20:22
mushroomtwoI try to use 10020:22
mushroomtwoI've actually maxed-out 100MB on /boot before20:23
mushroomtwothough for Ubuntu, it seems okay.20:23
Jaggedmushroomtwo: I don't have any experience with ext420:23
mushroomtwoeh. it'll probably work.20:23
Jaggedit depends on the implementation20:24
Jaggedext3 is just ext2 with a journal20:24
mushroomtwoare there any GTK+/Qt apps to handle partitioning/resizing in lvm?20:24
Jaggedmushroomtwo: LVM Manager20:24
jph_hummmm ok so what if i play it really safe and go with 500Mb.... What file system should that be?20:25
tonyyarussomushroomtwo: iirc gparted is supposed to have LVM support either now or very soon.20:25
jph_ext3?20:25
Jaggedjph_: your boot partition doesn't need to be that big, but ext3 is fine20:27
Jaggedjph_: you just need to stay away from filesystems which the grub version you install may not support (e.g. reiser4, xfs, jfs....)20:27
mushroomtwoif you use ext3, make sure to add "noatime" to the line in fstab20:29
mushroomtwootherwise, use ext220:29
mushroomtwogenerally, I also include "noauto", because I don't want the partition being mounted unless I'm doing a kernel update.20:30
mushroomtwoymmv20:30
jph_so select 'noatime' and deselect "relatime'20:30
mushroomtwoyeah.20:31
mushroomtwounless you're ultra-paranoid about your system being compromised, it's okay to let the partition be mounted at boot.20:31
mushroomtwoespecially if you have problems remembering to mount /boot before doing an upgrade.20:32
jph_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 boot20:34
jph_would there be any problems if i have to remotely re-boot the system via ssh?20:34
Jaggedno20:35
jcastromathiaz: have we ever supported Xen officially in -server?20:35
JaggedThe only time you would have to mount /boot in mushroomtwo's example is when you do a kernel upgrade20:35
mathiazjcastro: hm... well - no20:35
mathiazjcastro: IIUC in karmic we support officially xen as a guest20:36
Jaggedyou can use dpkg to hold back your kernel that way all kernel upgrades are completely manual20:36
jph_and this is a good idea for system security right?20:36
Jaggedyeah20:36
mathiazjcastro: as this is what we run in EC220:36
jcastromathiaz: 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-Virtualization20:36
mathiazjcastro: zul and smoser could probably give you a better answer20:36
jcastrothanks!20:37
jcastrosorry, I tend to default to you for everything. :p20:37
zuljcastro: domU yes dom0 no20:37
mathiazjcastro: and domU is supported starting from which release?20:39
jcastromathiaz: I have no idea!20:39
mathiazjcastro: hm - sorry wrong person20:39
mathiazzul: and domU is supported starting from which release?20:40
zuljaunty i think20:40
jph_When i do all that guys it makes the remaining 119.5GB 'unusable' i have gone back and tried using ext2 and the same thing20:40
mathiazzul: was this because DomU had been merged in mainline?20:40
zulmathiaz: yep basically you are on your own for dom020:41
jcastrois 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:41
zulsure soren since he is the virtualization guy20:43
jcastroand he's probably asleep, perfect.20:43
=== erichammond1 is now known as erichammond
zulnow i must really be back later20:44
jph_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
jph_remember this is a RAID120:44
Jaggedokay20:45
Jaggedso, md0 = /boot?20:45
Jaggedor is this fakeraid?20:45
jph_it is a software RAID setup using the install options20:46
Jaggedokay20:46
Jaggedso, 500 mb partitions on each drive for md020:46
jph_i followed this http://knowledge76.com/index.php/Ubuntu_Server_Install_With_Software_RAID20:46
Jaggedmake md0 /boot20:46
Jaggedremaining space for md120:46
Jaggeduse md1 as lvm20:47
Jaggedwhich should make the lvm menu available20:47
jph_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 in20:48
Jaggedyeah20:48
Jaggedso20:48
Jaggedat the partition tool20:48
Jaggeddrive 0: partition 1 = 500 mb20:48
Jaggeduse as raid20:48
Jaggeddrive 0: partition 2 = 119.5 gb20:49
Jaggeduse as raid20:49
Jaggedsame for drive 120:49
Jaggedcreate new raid20:49
jph_ok sounds like i have to undo the RAID I created... hold on thanks20:49
Jaggedmd0 = drive 0 part 1 and drive 1 part 220:49
smoserjcastro, zul for the record: http://packages.ubuntu.com/search?keywords=xen&searchon=names&suite=all&section=all20:49
Jaggederm20:49
FFForevercan someone give me the output of mount | grep -i "/dev/" | grep -v "none" | grep -v "pts" | grep -v "tmpfs"20:49
smoserwe did have packages (universe) for xen dom0 in hardy20:49
Jaggedmd0 = drive 0 part 1 and drive 1 part 120:49
smoserbut seemingly also still have those in xen-hypervisor-3.320:50
smosererr... in karmic (xen-hypervisor-3.3)20:50
jph_create MD Device20:50
jph_RAID120:50
Jaggedyep, and use your 500 mb partition on each drive20:50
smoserafaics there has never been anything in main. but guests on xen (domU) will "just work" because the kernels are pvops enabled20:51
mushroomtwoFFForever: /dev/sda6 on / type ext4 (rw,errors=remount-ro)20:51
Jaggedjph_: You want to take this to PM?20:51
smosermaybe i'm missing something though20:51
jph_sure20:51
jph_thanks20:51
FFForevercool :D, it works right :D20:51
mushroomtwoanyone have a decent howto for openvpn on ubuntu?21:15
bventuramushroom: 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 guide21:26
mushroomtwofantastic. the community documentation on ubuntu's site is pretty broken.21:28
bventuradoh21:29
jph_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:39
jph_o by the way i have changed the RAID1 device #0 501.6MB partition to mount at /boot21:40
jph_from whats in that image21:40
jph_Anyone?21:42
_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:47
jph_ok hang on let me do that --------Thankyou for stepping in i am on a dead line and need to get this going tonight21:48
_rubenwont be around much longer though, its nearing bedtime ;)21:50
jph_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 storage21:50
jph_I have 119.5Gb to work ith21:51
jph_with21:51
_rubenyou'll need to figure out/guestimate which parts will take the most space .. web content? databases? users's homedirs?21:51
jph_I have created the VG names 'Group1' and I am creating the root LV21:51
jph_well the users (there will be 5) will all be creating basic HTML pages which will be located at /home/user/public_html21:52
_ruben120G of html .. wow :)21:53
jph_there will be a main home page for the group located at /var/www21:53
jph_---- no just the HD we had on stock and paid for21:53
jph_I have no worries about having the space just don't know how to cut it up21:53
_rubeni'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 /home21:54
jph_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 myself21:56
_rubeneverything else = /21:56
_rubenif 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
_rubenlike noatime for /var/log21:57
jph_ok well let me make these one at a time.. is there any reason / should ever be larger than 10g21:58
_rubenincreases log performance, unless you care about when a log was last accessed21:58
_rubenmost my systems have a 2G / :)21:58
_rubenand use about half of it21:59
jph_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
_rubenif 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 spot22:00
_rubenaccessing logs = reading logs, not writing22:00
_rubenatime = read .. mtime = write22:00
jph_o ok22:01
jph_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:02
_rubenwell .. /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:03
jph_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) be22:05
jph_I need a starting point and i guess i will learn and change things over time22:05
_rubenindeed ... 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
_rubennothing'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:06
jph_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 time22:07
_rubenif it's hard to guestimate the sizes of the various parts, keep the cutting up to a minimum22:07
jph_is 5g for /var/log over kill at its best or a good idea22:08
_rubeni'd say it'd be a nice start22:08
jph_and would that be about right to start out with for the /var/log/mysql22:08
_rubeni tend to use way less space in /var/log than i anticipate for .. never hurts to have some extra space there tho :)22:08
jph_right22:09
jph_if i have it might as well be safe...22:09
_rubenforget about /var/*log*/mysql unless you do mysql replication .. /var/*lib*/mysql could use its own LV for the databases :)22:09
_rubenand i have no clue about how big your databases will be :)22:10
jph_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
_rubensounds more like MB's than GB's .. i'd go for 10 or 20 G to be safe22:11
jph_10 it is22:12
jph_again thank you for your time.. let me make that sql LV22:12
uvirtbotNew bug: #379415 in libvirt (main) "libvirtd becomes unresponsive on setvcpus" [Medium,Fix released] https://launchpad.net/bugs/37941522:13
jph_humm ok so the rest should be home? anything we have forgotten before i make that one22:13
_rubencould always leave like 20G or so "free" incase you might need some space somewhere without having to add disks right away22:14
jph_ok good idea, will do22:15
_rubenthe benefits of using lvm are that especially with some space to spare, you can re-distribute your space fairly easily22:15
_ruben(usualy with a bit of downtime, but beats having to reinstall from scratch :))22:16
jph_that would leave me with more or less than a 40Gig Home and about 26Gig of free space22:17
_rubensounds fair enough i'd say22:17
jph_great lets see if it works22:17
_rubenand im gonna go see how things are in never never land .. off to sleep .. g'luck! :)22:18
jph_thanks again have a great night22:19
bventuramy 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:22
tomsdaleneed 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 line22:33
erichammondbventura: 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:42
erichammondtomsdale: One approach would be to build the command line by line in a variable:22:43
erichammondcmd="$cmd --option" # comment22:43
erichammondand then run it:22:43
erichammond$cmd22:43
tomsdaleerichammond: sounds easy eno22:44
tomsdaleugh - thx let me give it a try22:44
erichammondtomsdale: 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
tomsdaleit'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
bventuraerich, that makes a lot of sense, thanks for the info22:46
jph_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 things22:49
erichammondtomsdale: 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-raid22:51
bventurajph I'm not an expert on raid but I believe what you want to do is lookinto the 'mdadm' command22:54
bventurait'll report status + you would use that to repair mirror, etc22:55
tomsdaleerichammond:  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?22:57
erichammondtomsdale: 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:06
tomsdalepersonally 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
erichammondtomsdale: That said, I think any form of RAID should be transparent to the process you describe.23:07
erichammondright23:07
erichammonder, not sure you should be rsyncing the fstab...23:07
owhSalutations all. Anyone know how to solve the issue of doing an atomic file transfers using ftp?23:07
tomsdaleI 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:10
tomsdalewith the UUID's.23:11
FFForeverwhat 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
FFForeverhttp://chr1831.com/qstats2/23:15
owhFFForever: 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:17
FFForeverowh, this will be for hosting systems mainly where people don't have a head or sometimes even a dedicated server23:18
tomsdaleFFForever: do you get the information remotely?23:19
owhFFForever: 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:19
FFForevertomsdale, that will be in version 3 or so i hope for remote monitoring23:20
tomsdaleFFForever: 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
FFForevertomsdale, free?23:28
bventuraalso - try zabbix I LOVE that software, also free23:28
FFForeverbventura, I HATE U!!!!!!!!!!!!!!!!!!!23:29
FFForeveri was going to basically write zabbix...23:29
tomsdaleyes - both are free.23:29
bventuradoh23:30
FFForeverohhh well i am still going to finish my stat script i need the php experience23:31
owh:)23:31
bventurahey speaking of PHP try smarty if you haven't seen it, it's really cool, a templateing engine23:31
bventuraanother one of my favorites23:31
FFForeversmarty is a pitfa23:31
tomsdalezabbix actually looks nicer than nagios at least from the layout23:31
owhThere is also something like php-system-status, not sure exactly what it's called - also free :)23:31
tomsdaleand 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:38
bventurazabbix 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 data23:39
bventurayou gotta try an install if you haven't already23:39
tomsdaleI think I will, looks great - I already installed nagios and munin on my new hosting server but I'm still evaluating software23:41
bogeyd6kudos on choosing nagios tomsdale23:42
bogeyd6now lemme throw a wrench into your equation23:42
bogeyd6tomsdale http://www.centreon.com/23:42
tomsdalehaha - 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:45
tomsdalebogeyd6: from what I understand centreon is an addition to nagios?23:49
leaf-sheepI'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.23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!