[00:12] 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] for example, when handling user avatars or forum attachements [00:13] that's dependent on the forum software benbro [00:14] phpBB for example stores uploads in one place, avatars in a separate area, but all in individual folders [00:14] but i dont know about others [00:14] TheLordOfTime: I'm implementing it myself [00:14] I'm asking about performance [00:14] benbro, ah. [00:14] is there a number N above which performance will degrade [00:25] benbro: Yes, for a sufficiently large N you will want to split files into different subfolders. [00:25] (No, I don't have any good value for N) [00:26] ok :) [00:29] it's rather large [00:29] and extreemly dependent on the filesystem [00:30] my netapp would have issues with >2k files per folder [00:30] ext* seems happy in 10k, even 50k [00:31] I'm using ext3 [00:31] 10K or 50K is no that much [00:31] if you're expecting that many, you should probably store them in the database rather than as files [00:32] (many forum softwares already do this) [00:33] I thought that using a db for static files is a bad idea [00:33] only if you also store frequently changing data in the same table [00:33] depends === n0ts_off is now known as n0ts [00:35] using several subfolder shouldn't be hard === n0ts is now known as n0ts_off === dendro-afk is now known as dendrobates === cpg is now known as cpg|away === chincloud is now known as Guest19187 [04:11] New bug: #1066359 in openssh (main) "ssh not functional on xubuntu 12.10" [Undecided,Incomplete] https://launchpad.net/bugs/1066359 === cpg|away is now known as cpg === dendrobates is now known as dendro-afk [05:07] 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] 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] its* === dendro-afk is now known as dendrobates [05:37] /win 9 === smw_ is now known as smw === n0ts_off is now known as n0ts === dendrobates is now known as dendro-afk [08:33] 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] 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] yup on server rbasak :) [08:48] It already starts without needing an interaction, doesn't it? [08:48] And you want a shell prompt on start without a login? [08:49] rbasak: nope, it asks for a username [08:49] and a login [08:50] Based on what I think you want [08:50] You probably want to edit /etc/init/tty1.conf [08:50] Look at the manpage for getty under the "-a" option [08:50] yup , that's what i'm doing :) [08:50] i'm testing [08:50] You're welcome. [08:50] thanks! [08:53] it worked :) === doko_ is now known as doko === Juniper|McCloud is now known as Juniper` === balloons is now known as Guest98741 === cpg is now known as cpg|away === CrypticSquared is now known as CrypticS_ === dendro-afk is now known as dendrobates === chincloud is now known as Guest81013 [11:45] New bug: #1066834 in awstats (main) "LevelForFileTypesDetection=0 produces unexpected results" [Undecided,New] https://launchpad.net/bugs/1066834 [12:06] how would i recover some files recently deleted? [12:06] im not rly sure what happened but files from folder disappeared ;d === Shehrazad is now known as ElixirVitae === chincloud is now known as Guest3478 [12:19] hi [12:21] 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] roaksoax, any update on https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1066556 ? [12:34] Launchpad bug 1066556 in debian-installer "MAAS installed via d-i/tasksel: fails when opening the browser to /MAAS" [Critical,Confirmed] [12:41] jamespage, are you aware of any updates on MAAS issue? is roaksoax going to be online today? [12:53] skaet, he's west coast US today so may be a little late starting - I will take a look anyways [13:03] 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. === Ursinha-afk is now known as Ursinha === chincloud is now known as Guest70546 === n0ts is now known as n0ts_off === shantorn is now known as kd7jwc [13:30] " 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] then we really need to improve the questions :P [13:36] hi, i'm looking for support for cloud-init, is there a dedicated channel or should i ask here ? [13:38] i'm trying to set up a static ip with cloud-init and i doesn't have success [13:39] hi [13:39] 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] is there another way to achieve this in a more secure fashion? [13:40] 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] 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] (delete first 'is') [13:46] pmatulis: where "localgost" is the controlling client? [13:46] not an option here because of bandwidth [13:47] tomreyn: otherwise, copy directly but the public key of 'a' needs to be installed on 'b' [13:48] i was hoping for some proxycommand trickery === Guest98741 is now known as balloons === balloons is now known as Guest27823 === Guest27823 is now known as balloons_ [13:58] 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] there was purge command [14:01] ah fixed it [14:01] dpkg -i --force-confmiss === kd7jwc is now known as shantorn === dendrobates is now known as dendro-afk === balloons_ is now known as balloons === n0ts_off is now known as n0ts [14:31] New bug: #919451 in php5 (main) "PHP CGI arbitrary code execution vulnerability" [Undecided,Fix released] https://launchpad.net/bugs/919451 [14:36] 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? [14:41] New bug: #1066916 in tftp-hpa (main) "package tftpd-hpa 5.2-1ubuntu1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 127" [Undecided,New] https://launchpad.net/bugs/1066916 [15:02] LarrysDesk: alternate cd are dead. The server & alternate cd installation options are the same. [15:02] LarrysDesk: as both use(d) the same text based installer. [15:03] 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:21] New bug: #1066929 in maas (main) "duplicate entry added to named.conf.local on each package reconfigure" [Undecided,New] https://launchpad.net/bugs/1066929 [15:21] New bug: #1066935 in maas (main) "named.conf.rndc.maas is insecure by default" [Undecided,New] https://launchpad.net/bugs/1066935 [15:24] pmatulis, any chance you could review/merge https://code.launchpad.net/~james-page/serverguide/12.10-updates/+merge/128906 [15:31] New bug: #1066938 in maas (main) "maas-dns changes default bind rndc key and breaks initscripts" [Undecided,New] https://launchpad.net/bugs/1066938 [15:41] 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:42] New bug: #1066942 in munin (main) "cps_ plugin autodetection is broken" [Undecided,New] https://launchpad.net/bugs/1066942 [15:43] jamespage: pushed up. we'll see if anyone minds the lateness... [15:43] pmatulis, thanks! === Devo-Kun is now known as DevoKun === DevoKun is now known as Devo-Kun [15:54] hello [15:55] how i can crete server vpn on ubuntu? [15:55] yes [15:55] oh [15:55] how... [15:55] vpm connection? [15:55] !vpn [15:55] For more information on vpn please refer to https://wiki.ubuntu.com/VPN [15:57] ubuntu 10.02 ? [15:57] no such thing [15:57] ubuntu 10.04 [15:57] RoyK, lol? [15:57] RoyK, did you read it as "can i create server vpn on ubuntu?" [15:57] yes [15:58] heh [15:58] long day at the office - hour after hour in meetings... [16:00] 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] 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 === n0ts is now known as n0ts_off [16:06] pmatulis, does the trunk get published anywhere? [16:13] jamespage: no. it is just built before release. you can build it yourself however very easily [16:13] jamespage: the html/pdf that is [16:13] pmatulis, I wanted to point someone else at it [16:13] (did a local build to check it looked OK) [16:13] jamespage: ok [16:42] i'm having trouble with tftp and pxe, transfers seem to fail with strange retransmissions [16:42] the same tftp transfers to a non pxe client seem to work fine [16:44] vpn server ... [16:44] <> please ask on the channel [16:45] krew: yeah, PMing for support is bad netiquette [16:45] how can I do to create my vpn server? [16:45] !openvpn [16:45] OpenVPN is a vpn technology in Ubuntu, sudo apt-get install openvpn and then see http://openvpn.net/ and see the documentation "HOWTO" noting you have already installed it. ;-) It rocks! === chincloud is now known as Guest61327 [17:09] my networking starts only after timeout [17:09] think it hangs on eth1 or wlan0 [17:09] but after timeout it starts === matsubara is now known as matsubara-lunch [17:10] http://pastebin.com/d2NZxVbk heres my /etc/network/interfaces [17:13] drag0nius: why would you use br0 with both eth0 and wlan0? [17:13] drag0nius: IIRC you also need configs for those ports to bridge from, they might not be up-ed [17:14] and again, a default gateway shouldn't be set for more than one NIC, since the gateway is system global [17:15] im using server as router and br0 stands for LAN [17:15] with eth0 as WAN [17:15] so i guess i should delete gateway from br0 [17:16] its eth1 and wlan0 bridge btw [17:18] delete that gateway [17:18] the gateway goes into the routing table in the server's ip stack [17:18] aka route add -net default gw x.x.x.x [17:19] 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] "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 " [17:20] chroot to /target and mount -a [17:20] then try again [17:20] btw, if installing on mirrored drives, the installer should do the grub things right for you [17:21] 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] um. after a ctrl-alt-f2, how do I get BACK to the installer? [17:22] alt+(left/right) [17:23] RoyK: wow. the 'mysteries' on installs .... thanks! [17:23] why would you even use ctrl? [17:23] alt+left/right is just console business [17:23] drag0nius: because I was told to ... [17:23] drag0nius: perhaps because that's what needed if doing it from X [17:30] 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] That's from old Ubu10 notes -- has Ubu12 change the way of things? [17:30] no desktop is installed with ubuntu server [17:30] did you have an old installation there? [17:31] RoyK: I'm staring right at it ... Nope. Brand new install to a brand new disk. [17:31] you have to specifically install the ubuntu-desktop metapackage to get ubuntu desktop [17:32] probably harry potter is lurking behind you [17:32] Never specified a thing ... [17:32] you can't even specify ubuntu desktop from the normal server install [17:32] (iirc) [17:33] was this 12.04? [17:33] RoyK: No, 12.04.1. ubuntu-12.04.1-server-amd64.iso [17:35] that doesn't include a desktop [17:38] Well, it came from somewhere ... this is the 1st Ubuntu install I've ever done. I've DL'd one CD ... [17:39] anyone, I now know it should NOT be there. I'll DL from a different mirror, and try again. [17:40] just checked on a server install - couldn't find desktop anywhere [17:40] Then more "mysteries" ... [17:40] did you go through "manual packages"? [17:41] usually I just install ssh from the installer and do the rest manually [17:42] RoyK: nope. never got to it. installed the bootloader, set the system clock, the CD autoejected, then I rebooted. [17:42] well, I just installed an ubuntu server as a VM [17:42] no X up [17:42] nothing [17:43] just plain old ubuntu server [17:43] and by "just" I mean now, after you said desktop came up [17:43] just to test [17:43] LarrysDesk: are you wanting a desktop? you might want to get the main ubuntu live CD... and install from there, or xubuntu [17:43] Clearly, mine's possesed, then :-/ [17:44] or lubuntu [17:44] holstein: Nope. Want a server. No graphics/DE kruft ... [17:44] LarrysDesk: perhaps you chose the "alternate" cd? [17:44] that's got x [17:44] LarrysDesk: then, just install the server and dont install a DE [17:45] alternate looks a bit like server [17:45] too bad they discontinued that in 12.10 [17:45] RoyK: I have ubuntu-12.04.1-server-amd64.iso. holstein I did, and I didn't. [17:45] seems like you have an old install on that usb drive [17:45] RoyK: Nope. [17:46] well, ubuntu server doesn't include X [17:46] so it's got to come from somewhere [17:46] Unless Western Digital is shipping 2TB Enterprise drives preconfigured ... [17:46] 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] perhaps there was some old shite on that [17:46] 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] I fully formatted the drive myself -- so it would have to have survived formatting [17:46] well, try again [17:47] LarrysDesk: or, you would have the alternate desktop iso by mistake [17:47] holstein: THere's only ONE Ubuntu instance around here. If I'm booted to Ubuntu, and I am, then it is. [17:47] LarrysDesk: or you ran a command after install that pulled in a DE [17:47] holstein: no, and, no [17:47] LarrysDesk: sure, but *something* is going on... and we can only help you troubleshoot as volunteers here [17:47] LarrysDesk: just try again - I've installed ubuntu server perhaps 100+ times, and no GUI has shown up [17:48] LarrysDesk: and give me the md5sum of that iso [17:48] RoyK: Right. Like I said above ... [10:38] anyone, I now know it should NOT be there. I'll DL from a different mirror, and try again. [17:48] LarrysDesk: you could just check the md5 sum [17:48] holstein: As I said, I did [17:49] LarrysDesk: there is an alternate installer that is not the server version [17:49] asked, and answered. [17:49] I have ubuntu-12.04.1-server-amd64.iso [17:50] i suppose im just skeptical if this is your first experience installing ubuntu [17:50] ok [17:50] did you install *anything* after installing the os? [17:50] no [17:50] LarrysDesk: really, there is no X on the ubuntu server CD [17:50] ok [17:54] RoyK: sry, missed your question above ... md5sum of the current iso -> a8c667e871f48f3a662f3fbf1c3ddb17 [17:54] lemme wait for the download first [17:54] canonical's servers are dead slow [17:55] is there a tasksel thingy that will bring X in? [17:55] dunno - didn't find any when I just tried [17:56] an "apt-get install ubuntu-desktop" should do it [17:56] 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] I'll just wait for the one from ubuntu.com === cpg|away is now known as cpg [17:56] 10 minutes left [17:57] getting 6-700kB/s on a 60Mbps link [17:57] 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] royk, odd, I was getting 9MB/sec from uk to us :) [17:58] pmatulis: Not anymore ... disk's been reformatted. Starting fresh ... [17:58] LarrysDesk: oh well === matsubara-lunch is now known as matsubara [18:13] i need a release person to set something against precise: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1065555 [18:13] Launchpad bug 1065555 in nginx "Known segfault in 1.1.19 (the current stable)" [High,In progress] [18:14] that's supposed to be set in Precise afaict === cpg is now known as cpg|away === chincloud is now known as Guest43483 [18:47] im trying to run executable file [18:47] and getting no such file or directory [18:47] any ideas? [18:47] how are you trying to run it ? [18:47] ./utserver [18:48] even from autocompletion [18:48] its pretty much fresh install [18:48] of ubuntu server [18:50] -su: ./utserver: No such file or directory === cpg|away is now known as cpg [19:01] think i got it, need ia32-libs [19:30] New bug: #1067029 in lxc (universe) "lxc-start fails on 'lxc-create -t ubuntu-cloud' container" [Undecided,New] https://launchpad.net/bugs/1067029 === cpg is now known as cpg|away [20:21] hallyn, ping [20:21] i do not think https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1067029 is a dupe\ [20:21] Launchpad bug 1067029 in lxc "lxc-start fails on 'lxc-create -t ubuntu-cloud' container (dup-of: 1060404)" [High,New] [20:21] Launchpad bug 1060404 in upstart "update-grub runs and fails in containers" [Undecided,Confirmed] [20:21] of bug 1060404 [20:21] Launchpad bug 1060404 in upstart "update-grub runs and fails in containers" [Undecided,Confirmed] https://launchpad.net/bugs/1060404 [20:22] oh. i see. you've mounted /de/vtmpfs [20:28] smoser: right, it's not a dup of the symptom, but the cause [20:29] SpamapS: are you by any chance available for a lxc precise-proposed accept? [20:33] 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] (when upstart tried to open /dev/console) [20:42] 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? === cpg|away is now known as cpg [21:26] 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] 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] keithzg_: heh, how is timing out forward progress? :) [21:35] sarnold: okay, maybe just sideways progress; I've proven I can at least change the error condition ;) [21:35] keithzg_: aha! :) that's optimism. :) [21:36] keithzg_: can sudo properly resolve the hostnames? [21:37] my startup scripts don't see my homefolder it seems, could this be because of the homefolder not being decrypted on startup? [21:40] sarnold: actually, i think I have it working now; seems it was an issue with the cert [21:40] sarnold: at least, adding "tls_checkpeer no" made it magically work [21:41] * keithzg_ clearly fails at certificate signing and utilization [21:41] 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] 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] 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] keithzg_: do your servers shre the .pem? [21:46] I'm sure that made sense somewhere. [21:48] 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] keithzg_: oof, seems unlikely, that's what that whole SNI mess is about. :/ [21:48] sarnold: yeah, I wasn't originally thinking about replication, so I made some foolish decisions early on in this process, heh [21:49] keithzg_: can you do something cheap like get them all to answer to the same hostname? [21:50] * TheLordOfTime pokes SpamapS [21:51] sarnold: Hmm, well the idea is to have it automatically failover if one of the hosts is unreachable. [21:52] 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] 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] *.ldap.example.com? [21:53] 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] Hi, has anyone installed sickbeard on their server? [21:54] 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] keithzg_: indeed, probably neither (wildcard, rr dns) are things to do on a whim... [21:59] anyone? [22:06] New bug: #1067101 in lxc (universe) "processes terminated with status (N) on lxc-start" [Undecided,New] https://launchpad.net/bugs/1067101 [22:27] 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] hggdh: Hey, are you around? [22:40] g0bl1n: would yu be able to validate the MAAS install fix? [22:41] err, hggdh ^^ [22:54] hallyn: I think it'll, yes.