[00:12] <benbro> do I need to distribute a large number of files over several folders or can I put all of them in a single folder?
[00:12] <benbro> for example, when handling user avatars or forum attachements
[00:13] <TheLordOfTime> that's dependent on the forum software benbro
[00:14] <TheLordOfTime> phpBB for example stores uploads in one place, avatars in a separate area, but all in individual folders
[00:14] <TheLordOfTime> but i dont know about others
[00:14] <benbro> TheLordOfTime: I'm implementing it myself
[00:14] <benbro> I'm asking about performance
[00:14] <TheLordOfTime> benbro, ah.
[00:14] <benbro> is there a number N above which performance will degrade
[00:25] <andol> benbro: Yes, for a sufficiently large N you will want to split files into different subfolders.
[00:25] <andol> (No, I don't have any good value for N)
[00:26] <benbro> ok :)
[00:29] <patdk-lap> it's rather large
[00:29] <patdk-lap> and extreemly dependent on the filesystem
[00:30] <patdk-lap> my netapp would have issues with >2k files per folder
[00:30] <patdk-lap> ext* seems happy in 10k, even 50k
[00:31] <benbro> I'm using ext3
[00:31] <benbro> 10K or 50K is no that much
[00:31] <qman__> if you're expecting that many, you should probably store them in the database rather than as files
[00:32] <qman__> (many forum softwares already do this)
[00:33] <benbro> I thought that using a db for static files is a bad idea
[00:33] <qman__> only if you also store frequently changing data in the same table
[00:33] <patdk-lap> depends
[00:35] <benbro> using several subfolder shouldn't be hard
[05:07] <d95> I'm planning disk partitioning for a couple of new Ubuntu 12LTS servers.  I've read about problems arising from partitions not being aligned to cylinder boundaries.  I've seen conflicting info as to whether that's still a valid, current problem, or not.  Here's an older thread from a year and a half ago that suggests using gparted to get the alignment right.
[05:07] <d95>   If I'm installing a new UbuSvr 12LTS instance, will it's install process take care of doing that correctly?  Or do I really have to use some other tools to preformat the disks?
[05:07] <d95> its*
[05:37] <adam_g_>  /win 9
[08:33] <thierry_> hi everyone, is there a possible way please to deactivate login on start? ( and be able to launch the system without needing an interaction)
[08:47] <rbasak> thierry_: on server? I'm not sure that makes sense! Did you mean on the desktop, and if so you probably want to ask in #ubuntu?
[08:47] <thierry_> yup on server rbasak  :)
[08:48] <rbasak> It already starts without needing an interaction, doesn't it?
[08:48] <rbasak> And you want a shell prompt on start without a login?
[08:49] <thierry_> rbasak:  nope, it asks for a username
[08:49] <thierry_> and a login
[08:50] <rbasak> Based on what I think you want
[08:50] <rbasak> You probably want to edit /etc/init/tty1.conf
[08:50] <rbasak> Look at the manpage for getty under the "-a" option
[08:50] <thierry_> yup , that's what i'm doing :)
[08:50] <thierry_> i'm testing
[08:50] <rbasak> You're welcome.
[08:50] <thierry_> thanks!
[08:53] <thierry_> it worked :)
[12:06] <drag0nius> how would i recover some files recently deleted?
[12:06] <drag0nius> im not rly sure what happened but files from folder disappeared ;d
[12:19] <suigeneris> hi
[12:21] <suigeneris> I have a dedicated server and am creating a VPS. then I logged in and got the error Error, some other host already uses address x.x.x.x when I typed ifup eth0. any ideas?
[12:34] <skaet> roaksoax,  any update on https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1066556 ?
[12:41] <skaet> jamespage, are you aware of any updates on MAAS issue?  is roaksoax going to be online today?
[12:53] <jamespage> skaet, he's west coast US today so may be a little late starting - I will take a look anyways
[13:03] <skaet> thanks jamespage,  want to know if we're going to need a d-i fix (and it should be included in next set of image spins), or if its going to be localized to server image.
[13:30] <xnox> "<stgraber> the new livefs server install is really impressive! Installing a maas VM here took 3 minutes including answering all the d-i questions ;)"
[13:34] <ogra_> then we really need to improve the questions :P
[13:36] <varac> hi, i'm looking for support for cloud-init, is there a dedicated channel or should i ask here ?
[13:38] <varac> i'm trying to set up a static ip with cloud-init and i doesn't have success
[13:39] <tomreyn> hi
[13:39] <tomreyn> i need to copy data from remote server1 (which i can authentocate to using an ssh key) to remote server2 (which i can authenticate to using an ssh key). i've read that this is possible using agent forwarding, but i've also read that agent forwarding is considered somewhat insecure and should be prevented.
[13:40] <tomreyn> is there another way to achieve this in a more secure fashion?
[13:40] <tomreyn> i.e. should i use this or is it a bad idea? scp -v -o "ForwardAgent=yes" -p -r root@SERVER1:/PATH/TO/DIR root@SERVER2:/PATH/TO/DIR
[13:45] <pmatulis> tomreyn: one option is to copy between 2 remote hosts (a,b) is using the localhost (c) as a proxy (goes through it).  a -> c -> b
[13:45] <pmatulis> (delete first 'is')
[13:46] <tomreyn> pmatulis: where "localgost" is the controlling client?
[13:46] <tomreyn> not an option here because of bandwidth
[13:47] <pmatulis> tomreyn: otherwise, copy directly but the public key of 'a' needs to be installed on 'b'
[13:48] <tomreyn> i was hoping for some proxycommand trickery
[13:58] <balboah> uhm. how do you get the default config files back for a package? I removed them and re-installed the package but hey didn't come back :)
[14:01] <drag0nius> there was purge command
[14:01] <balboah> ah fixed it
[14:01] <balboah> dpkg -i --force-confmiss
[14:36] <LarrysDesk> Hi.  I'm about to DL a UbuntuServer install CD.  The "alternate install CD" seems to have more capabilities on it.  Is there any reason NOT to use the alternate?
[15:02] <xnox> LarrysDesk: alternate cd are dead. The server & alternate cd installation options are the same.
[15:02] <xnox> LarrysDesk: as both use(d) the same text based installer.
[15:03] <xnox> LarrysDesk: server cd has d-i + more server related packages (others can be fetched over the network at install or post-install time). alternate had d-i + more desktop related packages (others can be fetched over the network at install or post-install time)
[15:24] <jamespage> pmatulis, any chance you could review/merge https://code.launchpad.net/~james-page/serverguide/12.10-updates/+merge/128906
[15:41] <fusion27> I'm kind of a noob sys admin, been programming for a long time, but I'm the only that thinks linux is cool here at work so I "earned" the task of setting up a Java server for a new client.  I stuck it on AWS with Ubuntu server, which is pretty sweet.  Got them set up with Tomcat 7, MySQL, Git and Java 6.  They now want a mail server, is there a de-facto best one to set up?  I've never set up a mail server for someone.
[15:43] <pmatulis> jamespage: pushed up.  we'll see if anyone minds the lateness...
[15:43] <jamespage> pmatulis, thanks!
[15:54] <krew> hello
[15:55] <krew> how i can crete server vpn on ubuntu?
[15:55] <RoyK> yes
[15:55] <RoyK> oh
[15:55] <RoyK> how...
[15:55] <RoyK> vpm connection?
[15:55] <RoyK> !vpn
[15:57] <krew> ubuntu 10.02 ?
[15:57] <RoyK> no such thing
[15:57] <krew> ubuntu 10.04
[15:57] <TheLordOfTime> RoyK, lol?
[15:57] <TheLordOfTime> RoyK, did you read it as "can i create server vpn on ubuntu?"
[15:57] <RoyK> yes
[15:58] <TheLordOfTime> heh
[15:58] <RoyK> long day at the office - hour after hour in meetings...
[16:00] <TheLordOfTime> RoyK, try that, with no sleep
[16:00]  * TheLordOfTime had less than 3 hours sleep last night, and has had midterms all day.  same thing as meetings, no?
[16:03] <RoyK> dunno - meetings can be rather heavy too, discussing secure storage and such with scientists that sometimes think that even if a system is meant to be secure, they want all the basic functionality like internet access, printing etc. takes some time to rub in that, no, that's not secure etc
[16:06] <jamespage> pmatulis, does the trunk get published anywhere?
[16:13] <pmatulis> jamespage: no.  it is just built before release.  you can build it yourself however very easily
[16:13] <pmatulis> jamespage: the html/pdf that is
[16:13] <jamespage> pmatulis, I wanted to point someone else at it
[16:13] <jamespage> (did a local build to check it looked OK)
[16:13] <pmatulis> jamespage: ok
[16:42] <catphish> i'm having trouble with tftp and pxe, transfers seem to fail with strange retransmissions
[16:42] <catphish> the same tftp transfers to a non pxe client seem to work fine
[16:44] <krew> vpn server ...
 please ask on the channel
[16:45] <RoyK> krew: yeah, PMing for support is bad netiquette
[16:45] <krew> how can I do to create my vpn server?
[16:45] <RoyK> !openvpn
[17:09] <drag0nius> my networking starts only after timeout
[17:09] <drag0nius> think it hangs on eth1 or wlan0
[17:09] <drag0nius> but after timeout it starts
[17:10] <drag0nius> http://pastebin.com/d2NZxVbk heres my /etc/network/interfaces
[17:13] <RoyK> drag0nius: why would you use br0 with both eth0 and wlan0?
[17:13] <RoyK> drag0nius: IIRC you also need configs for those ports to bridge from, they might not be up-ed
[17:14] <RoyK> and again, a default gateway shouldn't be set for more than one NIC, since the gateway is system global
[17:15] <drag0nius> im using server as router and br0 stands for LAN
[17:15] <drag0nius> with eth0 as WAN
[17:15] <drag0nius> so i guess i should delete gateway from br0
[17:16] <drag0nius> its eth1 and wlan0 bridge btw
[17:18] <RoyK> delete that gateway
[17:18] <RoyK> the gateway goes into the routing table in the server's ip stack
[17:18] <RoyK> aka route add -net default gw x.x.x.x
[17:19] <LarrysDesk> I'm installing Ubuntu Server.  In the installer, I ctrl-alt-F2 to get to a shell, and want to install grub to a specific drive's (/dev/sdb) MBR.  When I exec "grub-installer /dev/sdb", I get a bunch of errors:
[17:19] <LarrysDesk> "mount: mounting proc on /dev/sdb/proc failed: Not a directory;mount: mounting sysfs on /dev/sdb/sys failed: Not a directory;chroot: can't change root directory to /dev/sdb: Not a directory;chroot: can't change root directory to /dev/sdb: Not a directory;Wrong number of args: mapdevfs <path>"
[17:20] <RoyK> chroot to /target and mount -a
[17:20] <RoyK> then try again
[17:20] <RoyK> btw, if installing on mirrored drives, the installer should do the grub things right for you
[17:21] <LarrysDesk> RoyK It's an external drive that'll get moved - I need to 'point' to it. that worked! AND i now "have" grub-install from ubuntu, rather than just grub-installer from BusyBox
[17:22] <LarrysDesk> um.  after a ctrl-alt-f2, how do I get BACK to the installer?
[17:22] <RoyK> alt+(left/right)
[17:23] <LarrysDesk> RoyK: wow.  the 'mysteries' on installs .... thanks!
[17:23] <drag0nius> why would you even use ctrl?
[17:23] <RoyK> alt+left/right is just console business
[17:23] <LarrysDesk> drag0nius: because I was told to ...
[17:23] <RoyK> drag0nius: perhaps because that's what needed if doing it from X
[17:30] <LarrysDesk> RoyK: worked like a charm, thanks!  I'm booted from the HD on which I installed Ubuntu-Server.  To my surprise, I'm at "Ubuntu Desktop".  I though server install had NO 'desktop' stuff -- AND, was expecting to get dropped into an install step -- somewhere -- where I select "security updates automatically" and "install OpenSSH server".
[17:30] <LarrysDesk> That's from old Ubu10 notes -- has Ubu12 change the way of things?
[17:30] <RoyK> no desktop is installed with ubuntu server
[17:30] <RoyK> did you have an old installation there?
[17:31] <LarrysDesk> RoyK: I'm staring right at it ...  Nope.  Brand new install to a brand new disk.
[17:31] <RoyK> you have to specifically install the ubuntu-desktop metapackage to get ubuntu desktop
[17:32] <RoyK> probably harry potter is lurking behind you
[17:32] <LarrysDesk> Never specified a thing ...
[17:32] <RoyK> you can't even specify ubuntu desktop from the normal server install
[17:32] <RoyK> (iirc)
[17:33] <RoyK> was this 12.04?
[17:33] <LarrysDesk> RoyK: No, 12.04.1. ubuntu-12.04.1-server-amd64.iso
[17:35] <RoyK> that doesn't include a desktop
[17:38] <LarrysDesk> Well, it came from somewhere ... this is the 1st Ubuntu install I've ever done.  I've DL'd one CD ...
[17:39] <LarrysDesk> anyone, I now know it should NOT be there.  I'll DL from a different mirror, and try again.
[17:40] <RoyK> just checked on a server install - couldn't find desktop anywhere
[17:40] <LarrysDesk> Then more "mysteries" ...
[17:40] <RoyK> did you go through "manual packages"?
[17:41] <RoyK> usually I just install ssh from the installer and do the rest manually
[17:42] <LarrysDesk> RoyK: nope.  never got to it.  installed the bootloader, set the system clock, the CD autoejected, then I rebooted.
[17:42] <RoyK> well, I just installed an ubuntu server as a VM
[17:42] <RoyK> no X up
[17:42] <RoyK> nothing
[17:43] <RoyK> just plain old ubuntu server
[17:43] <RoyK> and by "just" I mean now, after you said desktop came up
[17:43] <RoyK> just to test
[17:43] <holstein> LarrysDesk: are you wanting a desktop? you might want to get the main ubuntu live CD... and install from there, or xubuntu
[17:43] <LarrysDesk> Clearly, mine's possesed, then :-/
[17:44] <RoyK> or lubuntu
[17:44] <LarrysDesk> holstein: Nope.  Want a server.  No graphics/DE kruft ...
[17:44] <RoyK> LarrysDesk: perhaps you chose the "alternate" cd?
[17:44] <RoyK> that's got x
[17:44] <holstein> LarrysDesk: then, just install the server and dont install a DE
[17:45] <RoyK> alternate looks a bit like server
[17:45] <RoyK> too bad they discontinued that in 12.10
[17:45] <LarrysDesk> RoyK: I have ubuntu-12.04.1-server-amd64.iso.  holstein I did, and I didn't.
[17:45] <RoyK> seems like you have an old install on that usb drive
[17:45] <LarrysDesk> RoyK: Nope.
[17:46] <RoyK> well, ubuntu server doesn't include X
[17:46] <RoyK> so it's got to come from somewhere
[17:46] <LarrysDesk> Unless Western Digital is shipping 2TB Enterprise drives preconfigured ...
[17:46] <holstein> LarrysDesk: it *does* work though.. the facts are as follows.. the default ubuntu server iso doesnt install a DE... this is your first install of ubuntu
[17:46] <RoyK> perhaps there was some old shite on that
[17:46] <holstein> LarrysDesk: you might just need to take a minute to get used to the process, or make sure you are booting into the new OS you installed
[17:46] <LarrysDesk> I fully formatted the drive myself -- so it would have to have survived formatting
[17:46] <RoyK> well, try again
[17:47] <holstein> LarrysDesk: or, you would have the alternate desktop iso by mistake
[17:47] <LarrysDesk> holstein: THere's only ONE Ubuntu instance around here.  If I'm booted to Ubuntu, and I am, then it is.
[17:47] <holstein> LarrysDesk: or you ran a command after install that pulled in a DE
[17:47] <LarrysDesk> holstein: no, and, no
[17:47] <holstein> LarrysDesk: sure, but *something* is going on... and we can only help you troubleshoot as volunteers here
[17:47] <RoyK> LarrysDesk: just try again - I've installed ubuntu server perhaps 100+ times, and no GUI has shown up
[17:48] <RoyK> LarrysDesk: and give me the md5sum of that iso
[17:48] <LarrysDesk> RoyK: Right.  Like I said above ... [10:38] <LarrysDesk> anyone, I now know it should NOT be there.  I'll DL from a different mirror, and try again.
[17:48] <holstein> LarrysDesk: you could just check the md5 sum
[17:48] <LarrysDesk> holstein: As I said, I did
[17:49] <holstein> LarrysDesk: there is an alternate installer that is not the server version
[17:49] <LarrysDesk> asked, and answered.
[17:49] <LarrysDesk> I have ubuntu-12.04.1-server-amd64.iso
[17:50] <holstein> i suppose im just skeptical if this is your first experience installing ubuntu
[17:50] <LarrysDesk> ok
[17:50] <holstein> did you install *anything* after installing the os?
[17:50] <LarrysDesk> no
[17:50] <RoyK> LarrysDesk: really, there is no X on the ubuntu server CD
[17:50] <LarrysDesk> ok
[17:54] <LarrysDesk> RoyK: sry, missed your question above ... md5sum of the current iso -> a8c667e871f48f3a662f3fbf1c3ddb17
[17:54] <RoyK> lemme wait for the download first
[17:54] <RoyK> canonical's servers are dead slow
[17:55] <pmatulis> is there a tasksel thingy that will bring X in?
[17:55] <RoyK> dunno - didn't find any when I just tried
[17:56] <RoyK> an "apt-get install ubuntu-desktop" should do it
[17:56] <LarrysDesk> RoyK: I just DL'd a new instance from the fastest server I could find: http://linuxfreedom.com/ubuntu-releases/.pool/ubuntu-12.04.1-server-amd64.iso
[17:56] <RoyK> I'll just wait for the one from ubuntu.com
[17:56] <RoyK> 10 minutes left
[17:57] <RoyK> getting 6-700kB/s on a 60Mbps link
[17:57] <pmatulis> LarrysDesk: you should be able to look at the apt logs and see when, and in what context, X packages were introduced to your system
[17:58] <patdk-wk> royk, odd, I was getting 9MB/sec from uk to us :)
[17:58] <LarrysDesk> pmatulis: Not anymore ... disk's been reformatted.  Starting fresh ...
[17:58] <pmatulis> LarrysDesk: oh well
[18:13] <TheLordOfTime> i need a release person to set something against precise:  https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1065555
[18:14] <TheLordOfTime> that's supposed to be set in Precise afaict
[18:47] <drag0nius> im trying to run executable file
[18:47] <drag0nius> and getting no such file or directory
[18:47] <drag0nius> any ideas?
[18:47] <shauno> how are you trying to run it ?
[18:47] <drag0nius> ./utserver
[18:48] <drag0nius> even from autocompletion
[18:48] <drag0nius> its pretty much fresh install
[18:48] <drag0nius> of ubuntu server
[18:50] <drag0nius> -su: ./utserver: No such file or directory
[19:01] <drag0nius> think i got it, need ia32-libs
[20:21] <smoser> hallyn, ping
[20:21] <smoser> i do not think https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1067029 is a dupe\
[20:21] <smoser> of bug 1060404
[20:22] <smoser> oh. i see. you've mounted /de/vtmpfs
[20:28] <hallyn> smoser: right, it's not a dup of the symptom, but the cause
[20:29] <hallyn> SpamapS: are you by any chance available for a lxc precise-proposed accept?
[20:33] <smoser> hallyn, i was just confused as to it being a symptom even. as in order to get to 'update-grub', you would have had to have gotten well past where i was failing.
[20:33] <smoser> (when upstart tried to open /dev/console)
[20:42] <keithzg_> Hmm. I've set up LDAP authentication on a local network, but on this most recent client-server although users can authenticate just fine, sudo-ldap fails with "sudo: ldap_sasl_bind_s(): Can't contact LDAP server". Anyone have any ideas why that might be?
[21:26] <zen> Hi, i've got a juju question i could not answer myself. I need to deploy node.js and the node-app charm quite works, but i need to add git repositories which are ssh-key protected. so a sub-charm which adds "my" ssh key
[21:31] <keithzg_> Nobody has any ideas about my Sudo-LDAP question? I've gotten it half-working now by removing the symlink of /etc/sudo-ldap.conf -> /etc/ldap/ldap.conf, but now it times out and claims the passwords are incorrect, even though they were just used for logging in.
[21:34] <sarnold> keithzg_: heh, how is timing out forward progress? :)
[21:35] <keithzg_> sarnold: okay, maybe just sideways progress; I've proven I can at least change the error condition ;)
[21:35] <sarnold> keithzg_: aha! :) that's optimism. :)
[21:36] <sarnold> keithzg_: can sudo properly resolve the hostnames?
[21:37] <Mikevin> my startup scripts don't see my homefolder it seems, could this be because of the homefolder not being decrypted on startup?
[21:40] <keithzg_> sarnold: actually, i think I have it working now; seems it was an issue with the cert
[21:40] <keithzg_> sarnold: at least, adding "tls_checkpeer no" made it magically work
[21:41]  * keithzg_ clearly fails at certificate signing and utilization
[21:41] <sarnold> keithzg_: hrm. if that variable does what I think it does, you run the risk of exposing the password to a fake ldap host
[21:44] <keithzg_> sarnold: indeed, but at least I know now that the issue is the certificate; I'm actually trying to get it to authenticate against a series of LDAP servers, arranged for failover (and replication within the cluster)
[21:45] <keithzg_> sarnold: for now, I've commented back out tls_checkpeer and pointed tls_cacertfile towards the .pem for one specific server, and that seems to be working
[21:45] <sarnold> keithzg_: do your servers shre the .pem?
[21:46] <sarnold> I'm sure that made sense somewhere.
[21:48] <keithzg_> sarnold: yeah, they do, but IIRC I put the hostname into it when I signed the certificate, so that's probably where it's choking on. Trying to figure out now if one can sign a cert with multiple cn= fields, or whatnot; I'm kindof dim when it comes to ssl certificates.
[21:48] <sarnold> keithzg_: oof, seems unlikely, that's what that whole SNI mess is about. :/
[21:48] <keithzg_> sarnold: yeah, I wasn't originally thinking about replication, so I made some foolish decisions early on in this process, heh
[21:49] <sarnold> keithzg_: can you do something cheap like get them all to answer to the same hostname?
[21:50]  * TheLordOfTime pokes SpamapS
[21:51] <keithzg_> sarnold: Hmm, well the idea is to have it automatically failover if one of the hosts is unreachable.
[21:52] <sarnold> keithzg_: at least irc.oftc.net does similar, DNS round robin... hosts get added and removed from DNS queries based on load, availability, location, etc. and all are perfectly happy to be known as "irc.oftc.net"...
[21:52] <keithzg_> sarnold: I know you can put wildcard entries into the CN field, so I could put "cn = *.mynetworkname.internal" . . . but that doesn't really accomplish much then. So I'm hoping there's an option in between specific hostnames and wildcards
[21:53] <sarnold> *.ldap.example.com?
[21:53] <keithzg_> sarnold: yeah, and that's actually one of the first steps right now, planning on making the LDAP server(s) primarily accessed through ldap.yadda.yadda
[21:54] <daniellog> Hi, has anyone installed sickbeard on their server?
[21:54] <keithzg_> sarnold: the way the primary sysadmin has things set up here though I'm not sure it'd be easy to redefine that alias on the fly in any way beyond manually
[21:55] <sarnold> keithzg_: indeed, probably neither (wildcard, rr dns) are things to do on a whim...
[21:59] <daniellog> anyone?
[22:27] <hallyn> stgraber: if i push something to ubuntu:lxc right now, will that end up copied into  lp:ubuntu/r/lxc  as far as you know?
[22:40] <Daviey> hggdh: Hey, are you around?
[22:40] <Daviey> g0bl1n: would yu be able to validate the MAAS install fix?
[22:41] <Daviey> err, hggdh ^^
[22:54] <stgraber> hallyn: I think it'll, yes.