/srv/irclogs.ubuntu.com/2011/07/18/#ubuntu-server.txt

mrrothis it possible to make ubuntu server in to a secondary domain controller in my Active directory forest00:32
mrrothwidnows 200800:32
TenKTechIm not aware of anything fully funtional but heres a link to something that could help  https://help.ubuntu.com/10.04/serverguide/C/samba-dc.html00:39
twbFor AD I believe you need Samba 400:44
fluvvelltwb, have they fully released that yet? Or is it still in testing?01:14
twbI don't know01:14
twbThey aren't in main/ as at lucid, which was enough for me to dismiss it01:15
fluvvellquentusrex, http://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE01:37
quentusrexfluvvell, do you know of a unified annouce list or rss feed?01:38
fluvvelldruciferre, which acls? Are you talking windows file shares or apache acls ?01:38
druciferreneither... I'm talking about the service from the package acl in ubuntu01:39
druciferre(i.e. sudo apt-get install acl)01:40
druciferresetfacl ...01:40
fluvvellquentusrex, slashdot has a lot of announcements - do you visit there?01:40
quentusrexfluvvell, I haven't ina while.01:40
twbdruciferre: I think those are "posix acl"s01:46
twbYes, they are01:46
twb``Most of the Unix and Unix-like operating systems (e.g. Linux,^[1] BSD, or Solaris) support POSIX.1e ACLs, based on an early POSIX draft that was abandoned.''01:47
twbhttps://secure.wikimedia.org/wikipedia/en/wiki/Access_control_list#Filesystem_ACLs01:47
mrrothokay thanks01:51
druciferretwb, i don't see anything in the article about whether the acl table is stored on the hard drive (i.e. if I put the hard drive in another system will it still see the acls?)01:51
twbdruciferre: I don't see where else they could be stored.01:51
druciferretwb, I imagine they could be stored in /etc/ somewhere01:52
twbdruciferre: I very much doubt that is the case, but ICBW01:52
fluvvelldruciferre, I have acl installed, but have yet to find a package or piece of software that requires them or uses them02:13
=== med_out is now known as med
=== med is now known as medberry
=== medberry is now known as med_out
lickalottgents, trying to remove dhcp client (establishing static IP) and apt-get remove dhcp-client or dhcp-client3 aren't working04:03
lickalottany suggestions?04:03
druciferrelickalott, I eventually setup my router to provide dhcp and assign certain computers certain ips based on their mac's04:06
lickalottalready done04:06
druciferrelickalott, then why are you removing dhcp ?04:07
lickalotti'm trying to figure out why i lose my znc every once in a while.04:07
lickalottsometimes, the whole thing, sometimes just a random user/bot04:07
lickalottstarting at the network and working up04:07
druciferreI have never used a ZNC, so someone else may have to help in that regards.04:08
qman__lickalott, dpkg -l | grep dhcp04:49
mrrothcan I rsynch a mac OSX to a linux server04:58
mrrothanyone done this04:58
twbrsync(1) works on Linux.  IIRC it historically had problems on OS X, but presumably these have since been fixed.04:59
mrrothand I would not then need to brother with time machine05:02
twbWell, time machine is probably smarter than a simple rsync05:04
mrrothbut it does ntot do offsite05:05
mrrothso if something happen were the machine and the backup is located05:05
greppytime machine is closer to rsnapshot instead of just rsync.05:06
mrrothahh05:06
twbYep, although rsnapshot is really just "cp -al cur $(date -I)" + rsync05:07
mrrothahh05:08
mrrothdoes it compress the files sent, or archive in a tar or just send it over05:08
mrrothmirror coppied05:08
greppyrsync should only send stuff that has changed05:08
lickalottqman__ just saw that.  tks!05:09
mrrothfor ubuntu server rspanshot is like time machine05:11
twbI thought time machine hooked into various syscalls05:12
twbhttps://secure.wikimedia.org/wikipedia/en/wiki/Time_Machine_(software)#How_it_works05:14
twbI'm wrong, time machine is literally just rsnapshot05:14
twbOf course, hard links themselves are implemented in a royally fucked up way on OS X -- inside the HFS+ filesystem driver05:15
mrrothoh that fucked up05:15
mrrothso time machine is just a nice front end GUI for rsnapshot05:15
twbmrroth: sure looks that way05:16
twbWell, and an API for apps to talk to it05:16
mrrothso I wonder why then I can't send my time machine offsite if rsnpshop can do offsite05:16
twbAlso rsnapshot can use ssh or rsyncd protocols to be remote pull-based, whereas TM looks to be local only05:17
mrrothyea or to a time capulses backup05:17
mrrothand the media to backup to must be HFS05:17
twbmrroth: sorry, when I said "literally" I meant it's using the exact same technique -- it's not running rsnapshot code itself05:17
twbmrroth: HFS+05:17
twbmrroth: HFS is not HFS+05:17
mrrothoh and oh yea hfs+05:17
mrrothyea hfs was used in mac classic HFS + is used now05:18
mrrothoh I see05:18
twbApparently Time Machine can use AFP to another host on the LAN05:18
twbObviously this is inferior to ssh, which doesn't care which network it's on, and further is encrypted over the wire.05:19
mrroth"Although it is unsupported and potentially corrupting the backups after a while, users and manufacturers have configured Linux servers and network-attached storage systems in a similar fashion and used them to store Time Machine backups. ahh05:21
mrrothhmm05:21
mrrothyea I wonder how OSX server gets backup maybe third party tools or rsnch05:22
jmarsdenmrroth: http://8help.osu.edu/1247.html has some ideas...05:23
mrrothoh wow Backup, by Apple, is a program provided to .Mac users. It is a simple-to-use backup program that allows users to backup to their .Mac account, a second hard drive,05:24
jmarsdenmrroth: Carbon Copy Cloner seems to be an rsync wrapper with some OSX-specific enhancements... I've not used it, but it might work for you if you know and like rsync.05:26
mrrothsweet05:27
mrrothI will check it out05:27
jmarsdenIf you want to do it the harder way, see http://www.bombich.com/rsync.html05:28
mrrothahh I see05:29
mrroththanks05:29
twbjmarsden: why not just ports/fink?05:35
twbI guess if it's not a dev box he might not already have ports set up...05:35
jmarsdenI'm not sure, I think there is Mac specific metadata that the standard rsync port does not back up.05:35
twbjmarsden: resource forks, sure, but nobody uses them much anymore05:36
twbAh, apparently there are some other things, I see05:36
twbSuck 80s-style vendor unix :-/05:36
twbI never understood why people want to go back to the unix wars05:37
jmarsdenI think I'd just say that if you are running an Apple-specific OS on Apple-specific server hardware, you probably should use an Apple-specific backup too.  Why people pick Apple or WIndows etc is a *whole* different topic :)05:38
=== erichammond1 is now known as erichammond
twbjmarsden: granted05:39
=== erichammond1 is now known as erichammond
=== smb` is now known as smb
cjsI'm trying to declare a bridge without a "bridge_ports ethN" line; is this ok? With it, it worked ok, without it, the bridge is never created06:57
cjsNobody has any thoughts on how to deal with that?06:58
cjsAh, perhaps "bridge_ports none".07:01
twbWell, I'll show you what I have...07:04
twbHm, apparently I always have bridge_ports07:05
cjsYes. There's actually a separate manpage for that stuff, bridge-utils-interfaces(5). You must have a bridge_ports for the bridge to be created, but you can use "none" to have it created without initially being attached to any interfaces.07:06
cjsLearn something new every day. Particularly when it's a new hidden manpage. :-)07:06
twbcjs: hum, I attach it but don't assign an IP07:07
twbIOW you can reach the VMs bridged to it, but not the VM server itself07:07
cjsThat's quite normal. No need for an IP, really, unless you want the host running the bridge to talk on that network.07:08
cjsIf you want to reach the VM server itself, just assign an IP on that network to the bridge device.07:08
cjs(A common mistake is instead to assign it to one of the interfaces connected to the bridge.)07:08
twbOK, sorry, I'm used to dealing with stupid people :-)07:09
jussitwb: aww, you shouldnt call me that :P07:09
cjsProbably just ignorant. Not everybody has a couple of decades of network administration under his belt. :-)07:09
maxagazhi08:10
tiger2wanderhi there09:12
tiger2wanderI've got error when apache2's virtualhost config larger than 102409:12
tiger2wanderError: fcgi: socket file descriptor (2975) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE09:13
tiger2wanderI have re-build apache with all FD_SETSIZE variable set to higher that value but still got that problem :(09:13
tiger2wanderplease help me to solve this!09:14
aliverius_does this apply for ubuntu server too? https://help.ubuntu.com/community/VMware/Server09:14
tiger2wanderanyone?09:14
remix_tjaliverius_: do you think that ubuntu server is different from ubuntu desktop?09:16
aliverius_not that much... my worries are more abuot running it headless09:17
aliverius_anyway i will take that as a yes09:17
remix_tjis a yes, you can. VMWare Server works as a service, does not need GUI, it exposes a web interface09:18
aliverius_great :)09:19
aliverius_i was using kvm so far09:19
aliverius_all was good09:19
aliverius_till i changed to an atom board09:19
_rubenvmware server is eol though09:19
aliverius_i didnt know it doesnt support h/w virt09:19
_rubenhope you're not planning on doing serious virtualiation without h/w virt09:20
aliverius_so now i am constranained to vmware-server09:20
aliverius__ruben: a router09:23
aliverius_and it fails to install too09:26
aliverius_so far09:26
* aliverius_ misses kvm09:26
aliverius_i should buy a second mobo to play the router role09:36
arnoudHello, I'm trying to install an LDAP client on Ubuntu 11.04 and I can't get it to work. Is this the right place to ask questions about it?09:39
maxagazhi, I have incoming ip packets from an ip x.x.x.x that I would like to give a low priority, can someone tell me how to do it ?09:42
_rubenaliverius_: why do you even need a seperate instance for the router role?10:05
_rubenmaxagaz: define "low priority"10:05
maxagaz_ruben, I'm sure how it works, I guess all incoming ip packets have a same priority in the queue, I would like packets from a given ip to have a lower priority, so that they are processed after others10:08
=== taneli is now known as trapmax
DavieyAnyone fancy tackling the nut merge? bug #811976 .. doesn't look too complex.11:31
uvirtbot`Launchpad bug 811976 in nut "Please merge nut 2.6.1-2 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/81197611:31
=== simon____ is now known as danners
dannershey i want to move one installation of a server to another system with all of the data and serverconfiguration should be the same. how would i do it?11:33
Davieydanners: take the hd's out and swap them over. :)11:33
dannersDaviey: the old one is a vm11:33
Davieydanners: rsync or !clone (and copy /etc.)11:34
Daviey!clone | danners11:34
ubottudanners: To replicate your packages selection on another machine (or restore it if re-installing), you can type « aptitude  --display-format '%p' search '?installed!?automatic' > ~/my-packages », move the file "my-packages" to the other machine, and there type « sudo xargs aptitude --schedule-only install < my-packages ; sudo aptitude install » - See also !automate11:34
dannersDaviey: rsync shouldn't destroy the package index and also copy the configuration right?11:35
Davieydanners: correct.11:37
dannersDaviey: thanks will try that11:37
maxagazI have ethernet camera with an ip that I don't know, how can I find it if I plug it to a laptop ?11:51
quentusrexmaxagaz, do you have any guesses?12:13
maxagazquentusrex, use nmap ?12:16
quentusrexmaxagaz, I mean do you have any guesses what the ip or subnet would be.12:17
quentusrexyes, using nmap would be probably one of the better options.12:17
maxagazquentusrex, no, I have no clue12:17
=== dreaded66 is now known as fyrfaktry
quentusrexmaxagaz, best I could say would be to try the common ones.12:20
maxagazquentusrex, okay, thanks12:20
quentusrexmaxagaz, you might also be able to reset the camera to factory to defaults12:21
quentusrexthis might set the ip back to the default.12:21
maxagazquentusrex, you're right, that's what I should do12:22
quentusrexit might be fun to learn how to locate that needle in the haystack, but the faster route would be to reset it.12:22
=== zz_ng_ is now known as ng_
CrazyGirhello! I'm trying to build nginx from source, but am having a difficult time specifying the library/header paths correctly12:38
CrazyGirnginx wants to see pcre and ssl libraries, so I have both libpcre3-dev and libssl-dev12:38
CrazyGirbut I can't quite determine the correct paths12:38
* CrazyGir is all set13:43
CrazyGirnginx is smart enough to figure it out itself :)13:43
uvirtbot`New bug: #812131 in mysql-5.1 (main) "operation="mknod" profile="/usr/sbin/mysqld" denied_mask="c"" [Undecided,New] https://launchpad.net/bugs/81213114:05
RoAkSoAxjamespage: what were the packages that you wanted me to sponsor?14:07
jamespagehey RoAkSoAx14:07
jamespage lp:~hudson-ubuntu/+junk/maven-stapler-plugin14:07
jamespageand lp:~hudson-ubuntu/+junk/stapler-adjunct-timeline14:08
RoAkSoAxjamespage: build agains ppa:hudson-ubuntu/ppa?14:08
jamespageuse ppa:james-page/jenkins-upload-testing14:08
RoAkSoAxjamespage: ok cool, ;)14:10
jamespageRoAkSoAx: thanks - home straight now with Jenkins :-)14:11
RoAkSoAxjamespage: hehe14:17
Ursinhalynxman: http://9gag.com/gag/17042614:18
kpettitI have a CIFS share mounted in /etc/fstab.  That share goes down periodically for maintenance so I need to figure out how to auto remount the share when it's dropped.  Any ideas?14:24
pmatuliskpettit: cron job?14:25
kpettitthat was going to be my plan B.  I was hoping there is something that automatically does it, but I guess not?14:26
pmatuliskpettit: well, something has to probe that that specific share is available.  don't know how it can be done automagically.14:28
pmatuliskpettit: cron can be as simple as issueing 'mount -a' maybe14:29
kpettitworth a try.14:29
kpettitThanks for the suggestion14:30
pmatuliskpettit: just so long as the cifs share is set 'auto' (for mount -a to work)14:30
kpettitgot ya.  Doing some testing now.14:31
lynxmanUrsinha: lol!14:38
=== ng_ is now known as zz_ng_
uvirtbot`New bug: #812367 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1ubuntu0.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/81236715:51
uvirtbot`New bug: #812423 in mysql-5.1 (main) "mysql upstart job hangs if database directory not mounted" [Undecided,New] https://launchpad.net/bugs/81242317:26
=== mcahornsirup_ is now known as mcahornsirup
ChmEarlIn  `update-rc.d xend defaults SS KK` where do the SS|KK values come from? somewhere in /var/lib?18:57
ChmEarlthe suggested values18:58
MerriocQuestion: during a pxeboot preseed install, the install is creating the md raids as md/0 and md/1 but grub is trying to install to md0 and is erroring out19:08
RoAkSoAxjamespage: ping19:19
=== ejat- is now known as ejat
=== Ursinha is now known as Ursinha-nom
alainghow do i chmod 777 all folders + files in a directory?20:13
greentea-best way to install packages from a newer release of ubuntu server into a older release20:14
greentea-like say 11.xx onto 10.04LTS20:14
greentea-just download the packages or is there a trick with apt-get?20:15
jamespageRoAkSoAx: pong20:15
ikoniagreentea-: do'nt do it20:16
ikoniagreentea-: it is a terrible idea20:17
greentea-doesn't matter20:17
greentea-I need a newer release of nut-ups20:17
PiciI don't see that package in the Ubuntu repositories.20:18
greentea-might just be called nut20:18
greentea-anyways 10.04lts has 2.4.3? and I want 2.5 or whatever it's up to now because they fixed some brain damagve20:18
ikoniayou can't mix software from different versions20:18
greentea-so wtf do I know then is what I am asking20:19
greentea-compiling it is not really an option20:19
ikoniayou can control your language please20:19
greentea-never :P20:19
ikoniagreentea-: then leave the channel20:19
greentea-I was joking, calm down :P20:19
patdk-wkgreentea, what are you? 10?20:20
greentea-3720:20
greentea-I can't even control my lang in real life anymore20:20
greentea-mind is going, oh well20:20
ikoniagreentea-: if you mix software packages from different distros you'll find it will mess up your dependencies and cause issues20:20
greentea-ikonia: that's why I am here20:20
greentea-and why I asked what's the best way20:20
greentea-I only need the nut package20:20
ikoniagreentea-: the best way it so package the software for your version20:20
greentea-it's a c3 diskless20:21
ikoniagreentea-: linked and built against the library versions on your system20:21
greentea-compiling it is NOT going to happen20:21
ikoniagreentea-: you can log a wishlist/update on launchpad.net20:21
greentea-unless I setup a buildhost vm somewhere20:21
ikoniasomeone else may do the update for you20:21
PiciYou might be able to find a PPA for it, but you should be aware of what a PPA is and what it provides.20:21
greentea-I can setup a buildhost somewhere I guess20:21
patdk-wkbuildhosts are pointless, use launchpad's ppa20:21
greentea-whoa20:22
greentea-this is cool20:22
greentea-I was going to have a buildhost though anyways20:22
greentea-for compiling coreboot, openwrt, and some other stuff20:22
patdk-wkmy buildhost is just the place I store all my patchs :)20:23
Pici!ppa20:23
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa20:23
greentea-this is a vm so I am not wasting any resources other than disk space20:23
Pici(just for the warning)20:23
greentea-Pici: I am not that worried about it20:23
greentea-basically this embedded box monitors a ups20:24
RoAkSoAxjamespage: packages uploaded20:24
greentea-then logs into a bunch of vmware hosts and runs vm and host shutdown scripts20:24
greentea-followed by shutting down the nas's and san's20:24
greentea-only package going to be non-standard would be nut-ups20:24
greentea-everything else is staying stock20:24
Picigreentea-: thats fine, just needed to say it :)20:24
kpettitWhat's the best search app for Ubuntu?  I've got about 8TB and slocate isn't doing it for me.20:25
greentea-how would I find out if someone has already made a nut deb for 10.04lts20:26
greentea-man I used to know this stuff, damn head20:26
patdk-wkkpettit, heh, I always use find :)20:26
kpettitI shudder to think of that on a 8TB system.20:27
patdk-wkfind good on mine20:27
patdk-wkbut the average file is 10gb20:27
patdk-wkdoing that on a 8tb mailstore though :)20:27
kpettitwow, how long does it take you to do a find on that?20:28
jamespageRoAkSoAx: thankyou!20:28
kpettitI'm mainly trying to do stuff like "locate *.xslt" trying to find files I forgot about, etc.20:28
RoyKpatdk-wk: striped mirrors?20:28
patdk-wkroyk, currently, concat :)20:29
RoyKerm, no redundancy?20:29
patdk-wknope20:29
RoyKplaying with matches and petrol...20:29
patdk-wkit's only 8 drives, what's the chances :)20:30
RoyKabout 100% chance of failure within 6-12 months :P20:30
patdk-wkdamn, I'm on like year 420:31
patdk-wkI do change out the drive the first signs of issues20:31
patdk-wkhopefully I'll get my replacements in sept, and I can start on the raid620:31
RoyKit's quite usual the first sign of failure for a drive is a dead drive20:32
* kpettit uses a Drobo20:32
* RoyK uses ZFS20:32
patdk-wkroyk, never had that, normally I notice slowdowns and delays long before it goes dead20:32
patdk-wkI only scared of the disk to stop spinning20:32
RoyKpatdk-wk: that happens too, yes20:32
patdk-wkbut I don't think I have ever had that issue since my FH ibm 10meg drives20:33
RoyKpatdk-wk: but a drive losing a head is also quite common20:33
patdk-wknever had that :(20:33
RoyKjust saying it happens20:33
patdk-wkya20:33
patdk-wkmy worst is when drives just won't spin at all20:34
RoyKso rather use raid[56] or striped mirrors, the latter for performance20:34
patdk-wkonly ever had that happen on raid systems so far20:34
RoyKrandom i/o performance on raid[56] isn't very good20:34
patdk-wkwell, 90% of this data is replaceable anyways :)20:34
patdk-wkit's basically just online storage for all the damned dvd's and cd's I have20:34
RoyKthen my only question is: how long will it take to rip all those CDs and DVDs if one drive fails now? ;)20:35
patdk-wkwell, just what was missing on that one drive :)20:36
patdk-wknot all the drives20:36
patdk-wkif it was striped, ya it would be hell20:36
greentea-i'm going to try mixing packages and if it blows up20:36
greentea-oh well20:36
greentea-temp box anyways20:36
patdk-wkgreentea-, without rebuilding the package?20:37
patdk-wkI would be suprised if it installed, due to missing deps20:37
greentea-i'm seeing if i can meet the dependencies20:37
greentea-oh wait20:38
greentea-that's true20:38
greentea-if I have a source package then I can just do a rebuild right?20:38
* RoyK setup a home server for his brother a couple of months back, two 2TB drives in RAID-5, and then added a new drive a few weeks ago - it took perhaps 12 hours to rebuild the raid, but no downtime :)20:38
greentea-I don't have to figure out how to make my own tree etc20:38
patdk-wkyep20:38
patdk-wkapt-get source nut-ups20:38
greentea-ok that works :)20:38
patdk-wkapt-get build-dep nut-ups20:38
patdk-wkdpkg-buildpackage -us -uc20:39
greentea-I need to get the .src file first right?20:39
patdk-wknope20:39
patdk-wkatleast not if it's in apt20:39
patdk-wkI normally just modify my sources.list to get it20:39
greentea-is there a way to list what version that will pull down20:40
greentea-or specifiy it20:40
RoyKpatdk-wk: iirc the 'correct' way is to add a new file in /etc/apt/sources.d20:40
patdk-wkroyk still not good20:40
patdk-wkI wish I could just do dep-src ..., and apt-get source would get it20:41
patdk-wkbut it won't20:41
patdk-wkit will only get the source to the binary version it finds20:41
greentea-yeah which is the old one20:41
patdk-wkso I find it easier to just do a search/replace of sources.list get it, and then change it back20:41
RoyKpatdk-wk: the debian/ directory is the key - just copy that to the new source tree20:41
greentea-patdk-wk: you mean change the sources to like 1120:42
greentea-fetch the file20:42
greentea-then swap it back20:42
patdk-wkyep20:42
greentea-I thought about that, wasn't sure how well that would work20:42
uvirtbot`New bug: #812539 in cloud-init (main) "FQDN does not get set correctly in /etc/hosts" [Undecided,New] https://launchpad.net/bugs/81253920:42
patdk-wkjust make sure you apt-get update after each change20:42
greentea-yeah I knew that20:42
greentea-:P20:42
patdk-wkwell, for apt-get source it's fine20:42
patdk-wkfor apt-get install, results will vary :)20:43
greentea-i'lll setup a buildhost vm tonight then, thx20:43
uvirtbot`New bug: #812548 in nova (universe) "bridge not set up correctly with LXC and all-in-one system" [Undecided,New] https://launchpad.net/bugs/81254821:02
Kazillawhats wrong with locate, it works pretty well, faster then windows index dare i say21:05
maxagazhi21:06
uvirtbot`New bug: #812553 in nova (universe) "LXC instance fails to start" [Undecided,New] https://launchpad.net/bugs/81255321:06
smoserlynxman, bug 81253921:09
uvirtbot`Launchpad bug 812539 in cloud-init "FQDN does not get set correctly in /etc/hosts" [Undecided,New] https://launchpad.net/bugs/81253921:09
andygraybealhey guys, i'm trying to get the nagios-libvirt package to compile on my box. it says that i need the 'libvirt library' -- i have it installed.  here is the package that i'm referring to:  http://people.redhat.com/~rjones/nagios-virt/   has anyone else experienced this?21:09
andygraybealor tried to install this nagios plugin?21:09
lynxmansmoser: oh man... :/21:10
lynxmansmoser: let me have a look, I don't setup the FQDN afaik21:10
=== med_out is now known as med
=== med is now known as medberry
lynxmansmoser: adam_g already provided a patch looks like, although according to the manual 127.0.1.1 should be setup as I did21:11
lynxmanadam_g: don't you agree? :)21:11
smoseryeah.21:11
smoserwe need to set things up as debian says21:11
smosernot how lynxman or adam_g say21:11
lynxmansmoser: +1 on you sir21:12
smoserand also have to deal with eucalyptus (or other cloud providers) where local-hostname might not be set up21:12
smoser(in eucalyptus local-hostname is some bogus value)21:12
smoser(ip address)21:12
adam_gso what is the conensus?21:12
lynxmanhttp://www.debian.org/doc/manuals/reference/ch05.en.html in 5.1.221:12
lynxmanadam_g: I think neither you or me21:12
adam_gok21:13
smoseri'll let you all sort it out21:13
smoserand please update bug21:13
smoseri have to go now.21:13
lynxmanadam_g: your patch looks good though, it just needs to have the fallback scenario21:13
lynxmansmoser: have fun ;)21:13
adam_glynxman: well if what ive done violates debian spec, lets change that21:13
lynxmanadam_g: it just does in that it doesn't fall back if there's no FQDN, whereas I just hardcoded the fallback21:14
adam_goh, one sec. let me actually read the spec :)21:14
lynxmanadam_g: sure21:14
benccis there a limit to files I can put under one folder?22:03
benccI want to cache 50K avatars, do I need sub folders?22:03
Kazillabencc: i'm very certain that you can do that22:23
SpamapSbencc: not really a limit.. but.. it will slow down for certain operations.22:23
SpamapSbencc: you may be better served by using hashed directories above the dir you have the files in.22:24
=== Ursinha-nom is now known as Ursinha
benccSpamapS:  hashed directories?22:26
bencchow can I find out what file system I have now? ext3 or ext422:26
Kazillaif you can fit 50k worth of html elements in your web browser everyday, i'm pretty sure you can fit 50k with of files..22:26
utlemmingbencc: blkid22:27
SpamapSbencc: if you put 50,000 files in a directory, you will cause a lot of random I/O reading them. If you break it up into 10 dirs of 5,000 files each, the I/O will be less random.22:27
SpamapSbencc: ext3 performs similarly22:27
Kazillaif you're browsing it sure, might cause i/o22:28
Kazillabut for hosted files, where they know where to look for, less so.22:29
SpamapSKazilla: inodes are a single FS block each, so thats 50,000 * block size, which is usually 4k, so thats 195MB of inodes..22:29
SpamapSyeah single lookups are pretty fast22:30
SpamapSthanks to the index support22:30
bencchow do I use blkid to know the file system?22:30
SpamapSbencc: just do 'mount'22:30
SpamapSthat tells you the fs22:30
SpamapSof all mounted filesystems22:30
benccok, ext322:31
RoyKSpamapS: with dir_index, 50k files may work well, but then, with 250k files, it's still dead slow22:32
Kazillais this why facebook use haystack22:32
* RoyK just discovered a 250k file folder22:32
Kazillajust chucking that in there22:32
benccsomething like mongodb gridfs is nice22:32
benccbut there is no good server plugin for serving files22:33
SpamapSRoyK: I would expect an index that works well w/ 50k to work well with 250k ... whats the trouble?22:35
SpamapSRoyK: Is it not just a b-tree?22:35
SpamapSbencc: mapping urls to Key/Value stores is pretty trivial...22:36
Kazillawhats the optimum way to serve a web application anyway? if you're running a cluster. central storage? distributed storage?22:37
Kazillawell web applications shall i say22:37
Kazillaanyone know where is the best place to talk about web infrastructures?22:40
SuperMiguelif i want to run fluxbox on ubuntu, and dont want all the crap that comes with the desktop edition, is there a reason not to install the server version?22:54
ChmEarlSuperMiguel, don't install server unless you are OK with typing in terminal23:23
Ethosis there anything better to view disk io than iotop?23:34
Ethosmy linode is saying it's high, but iotop is minimal23:34
StevenREthos: dstat maybe.23:35
Ethosthanks23:35
=== medberry is now known as med_out

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