[00:32] <Limy354> I'm running ownCloud on ubuntu 12.04 and am having an issue with uploads larger than just over 800 MB. I have set .htaccess and setting in ownCloud to allow larger uploads. The problem is that when a file reaches around 820 MB or so, which is stored in /tmp, it stops getting larger, then a new tmp file is created.
[00:33] <Limy354> the "upload" continues, enlarging the next tmp file. This continues until the root partition is full.
[00:33] <Limy354> the ownCloud works is that uploads go to /tmp first, then when its completed, the file moved the the ownCloud data directory.
[00:34] <Limy354> files less than 800 MB are fine.
[00:35] <Limy354> on user with a similar issue said that php 5.3 on ubuntu 12.04 causes this kind of problem: http://forum.owncloud.org/viewtopic.php?f=4&t=3124
[00:35] <sarnold> Limy354: many applications can use a TMP or TMPDIR environment variable to tell them what to use instead of /tmp -- you might be able to set this for ownclowd to use the same filesystem as the destination data
[00:36] <sarnold> oh jeeze, that'd be sad if true..
[00:36] <sarnold> everyone else had their 2gb teething troubles back in 2001 or something.
[00:36] <Limy354> sarnold, that's something I'd like to do to prevent so much writing to root partition, but I'm hoping the file size limit doesn't continue if tmp is somewhere else.
[00:38] <Limy354> and like I said, the limit I'm experiencing is just over 800 MB. I don't know why my limit is different.
[00:42] <Limy354> trying a large upload now, and the limit is about to be reached so I can post what it is
[00:45] <Limy354> oh wow it works now
[00:45] <Limy354> well I'll be...
[00:46] <sarnold> *sigh* PHP documentation is amazingly poor sometimes http://php.net/manual/en/reserved.variables.files.php
[00:46] <Limy354> no more problem now. I'll look into this more but the problem is gone.
[00:49] <shauno> there's a bunch of links in php.ini that are usually more useful, eg at PHP will accept.
[00:49] <shauno> ;ugh
[00:49] <sarnold> Limy354: you'll want to set the php variable upload_tmp_dir to use your destination filesystem: http://www.php.net/manual/en/ini.core.php#ini.upload-tmp-dir
[00:49] <shauno> http://php.net/post-max-size
[00:50] <Limy354> lol I spoke too soon
[00:50] <Limy354> the problem is back
[00:50] <Limy354> it stopped at 926 MB and it's now creating a new temp file
[00:50] <sarnold> "Generally speaking, memory_limit should be larger than post_max_size."
[00:50] <sarnold> might as well stick a big giant FAIL sticker on that :) hehe
[00:50] <sarnold> Limy354: multiple files might not be a problem
[00:50] <sarnold> Limy354: it's only a problem if it fails to reconstruct a single file in the destination
[00:51] <Limy354> sarnold, oh ok so I'll wait for it to finish and see what happens.
[00:51] <sarnold> Limy354: yeah
[00:51] <Limy354> it's a 1GB file
[00:52] <Limy354> the second one is already at 188 MB
[00:52] <sarnold> good, close..
[00:54] <Limy354> sarnold, it's still growing. I think it's going to go all the way to just over 900 MB like the last one. It's over 250 MB now.
[00:54] <sarnold> Limy354: o_O
[00:54] <Limy354> I'll try what you posted above.
[00:54] <Limy354> with the post max size
[03:48] <sunny_> if i want to create a home server should i go for ubuntu server or ubuntu 13.04 ?
[06:52] <pr3d4t0r> Greetings.
[06:54] <pr3d4t0r> I'm setting up Ubuntu Server as a Xen guest in another Ubuntu server.  The host is already configured as a bridge, static IP address, and it's reachable in the network.  The guest is configured as 127.0.0.1/8 but I'm not sure about what should be the gateway; can't finish the installation since mirrors aren't reacahble.  What should be the correct gateway?  Thanks in advance.
[06:55] <pr3d4t0r> (I recognize that 127.0.0.1 may be wrong as well -- not sure about how net configuration inside the VM.)
[08:04] <jamespage> zul, https://code.launchpad.net/~james-page/cinder/havana-rc2/+merge/190789 if you happen to checkin today
[08:13]  * pr3d4t0r re-reviews the Xen docs.
[11:02] <chemist^> hello everyone
[11:02] <chemist^> i've got a question regarding the security of ubuntu-server
[11:03] <chemist^> or rather, i have a couple of questions
[11:03] <chemist^> hitsujiTMO hello :)
[11:03] <hitsujiTMO> hey
[11:03] <chemist^> hitsujiTMO i managed to get the thing working ok...
[11:03] <hitsujiTMO> cool
[11:04] <chemist^> connected my server with a cable to a wifi router
[11:04] <chemist^> and connected to wifi with my client pc
[11:04] <chemist^> without defining a gateway, so it doesn't screw with my internet connection
[11:04] <hitsujiTMO> no more travelling arounf eu for you
[11:04] <chemist^> static ip
[11:04] <chemist^> :D
[11:04] <chemist^> yes! :D
[11:04] <chemist^> i have a new question
[11:04] <chemist^> if you explain it to me in simple words....
[11:05] <hitsujiTMO> go ahead
[11:05] <chemist^> why is it better to have a separate PC as a firewall for my server instead of just running a FW application on it?
[11:06] <chemist^> i don't have another old pc to use as a firewall.... so i'm thinking of installing a fw on my server.... which one would you suggest? is "ufw" good?
[11:06] <hitsujiTMO> thats not my area of expertise i'm afraid
[11:06] <hitsujiTMO> yes i just use ufw
[11:06] <chemist^> ok
[11:06] <chemist^> thanks, i'll get on with the config right now
[11:07] <chemist^> i've read somewhere on the net that it is a good idea to change the ssh port
[11:07] <chemist^> from the default 22 to smth else
[11:07] <chemist^> (4 security reasons)
[11:07] <hitsujiTMO> i can be
[11:07] <hitsujiTMO> the main thing is to use key auth
[11:08] <chemist^> i would host a webpage and nothing else....so closing all ports except 80 and (22) is ok?
[11:08] <chemist^> what do you mean by that? key auth?
[11:08] <hitsujiTMO> the norm is to set up a vpn and only allow ssh from that
[11:08] <chemist^> yes ok...
[11:08] <chemist^> or just allow it from my newly established local network
[11:09] <chemist^> a static ip...or mac address
[11:09] <hitsujiTMO> ssh key authentication
[11:09] <chemist^> local...so everyone else would get connection refused
[11:09] <chemist^> i had it like this before....so only from certain computers i could connect
[11:09] <hitsujiTMO> you use a private public key pair for login to ssh
[11:10] <hitsujiTMO> yes blocking net is good for ssh but, mean you can't ssh from outside
[11:10] <chemist^> yes
[11:10] <chemist^> i don't quite understand the private public key pair....
[11:10] <chemist^> i have a password for connecting via ssh
[11:10] <chemist^> a strong password
[11:10] <chemist^> is that not enough?
[11:11] <hitsujiTMO> client os are you using ? windows ? linux?
[11:11] <chemist^> linux
[11:11] <chemist^> ubuntu
[11:11] <hitsujiTMO> private pubkey gen is really easy then
[11:12] <chemist^> what is that for anyway?
[11:12] <chemist^> care to explain a little? :P
[11:13] <hitsujiTMO> your using a much stronger token to identify yourself to the server ... with it ssh ing also becomes transparent
[11:13] <hitsujiTMO> you don't even get asked for any details
[11:14] <hitsujiTMO> with that you can disable password auth, which thwarts 99.9% of ssh attacks in the first place (most just attempt to brute force passwords)
[11:15] <chemist^> ok...
[11:16] <chemist^> does that mean connecting to the server in a different way? or do i still do "ssh username@ip"
[11:16] <hitsujiTMO> still the same
[11:17] <hitsujiTMO> open terminal and i'll get you started
[11:17] <chemist^> will you guide me here or in pvt?
[11:17] <chemist^> :)
[11:18] <hitsujiTMO> in pvt
[12:21] <jamespage> zul, ditto for https://code.launchpad.net/~james-page/neutron/havana-rc2/+merge/190795
[12:24] <jamespage> zul,  and https://code.launchpad.net/~james-page/heat/havana-rc2/+merge/190796
[12:29] <jamespage> zul, and nova - https://code.launchpad.net/~james-page/nova/havana-rc2/+merge/190797
[12:45] <jamespage> zul:  nova failing tests - will investigate later
[13:54] <zul> jamespage:  this regression? https://github.com/openstack/nova/commit/7161c62c22ebe609ecaf7e01d2feae473d01495a
[14:11] <Werring> Anyone got advise on what type of ftp-server i should install and why I should choose that one?
[14:15] <ersi> Werring: How about one of the most commonly used ones, called "vsftpd"?
[14:17] <whatever_42> i am only able to write with 18 mbyte/s via netatalk on my raid 5. however i can write with 222 mbyte/s if i do it local. are there some limits? gigabit ethernet is available
[14:19] <whatever_42> i am using a realtek rtl8111/8168/8411 or a realtek rtl8169. the 8168 was also on the previous motherboard and i did not recognize any problems there
[14:20] <hitsujiTMO> Werring does it have to be ftp and not sftp?
[14:23] <Werring> ftp is preferred since i need to hook it up to an existing service that does not have sftp support
[14:25] <ggherdov> hello. On my Linux Ubuntu-server, for a specific user (other users are fine) I get a "Input/output error" when she does `ls`. Here the relevant part of syslog http://bpaste.net/show/QYyRyZEbbL7vTHP9Z8d9/ .
[14:25] <ggherdov> Any clue on what is going on?
[14:25] <ggherdov> What would be a commonly available linux tool to validate the hypothesis that the integrity of my hdd is compromised?
[14:26] <ersi> You don't do that "after the fact". You need to prepare that prior to getting hacked AFAIK.
[14:27] <ersi> Also, it looks like your harddrive is dying on you - if that's what you meant by "integrity of hdd".
[14:30] <ggherdov> ersi: yes, I mean, that all blocks are OK. No hacking here, just me burning my own kitchen I guess
[14:31] <ggherdov> ersi: the tool I am looking for is for assess the damages I have on my hdd, and possibly fix some.
[14:32] <ersi> ggherdov: I'd def checkout doing some SMART diagnostics on it. It might tell you how many unrecoverable read errors you've had and such.
[14:33] <ersi> I wouldn't count on that disk for too long though, unrecoverable read errors == bad.
[14:40] <ggherdov> ersi: thanks
[15:39] <jamespage> zul, looks like it yes
[15:48] <jamespage> zul, fyi I'm going to raise a bug to track the rc2's
[15:51] <jamespage> zul: bug 1239156
[17:01] <dustinspringman> anyone around here today?
[17:32] <ersi> Yes, of course.
[18:02] <dustinspringman> ersi: i have a networking question
[18:09] <cs415> any juju devs out there?
[18:15] <chemist^> dejavu
[18:50] <shockwave> Hola
[18:51] <shockwave> necesito aprender a usar ubuntu server y para q me serviria =?
[18:51] <shockwave> alguna recomendación!.
[18:55] <shockwave> hi!
[18:55] <shockwave> speak englih)==??
[18:57] <hxm> hi, how can I verify if mod_rewrite is working ok?
[19:01] <ikonia> send a page to it that it will re-write
[19:01] <ikonia> check it re-writes the page
[19:05] <hxm> yes that was what I did and didnt work
[19:05] <hxm> now im not sure if it is because of the php site or the module
[19:07] <dustinspringman> got an issue with an x64 12.04 LTS server that requires me to "ip route flush cache" manually to restore a route after a connected route drops (due to ISP fail or other).. The route will not restore automatically... what can I do to troubleshoot this? I've tried to google a solution, but i am not certain how to ask the ?
[19:57] <ChaosInMind> http://paste.ubuntu.com/6228128/ - So I set up vsftpd as an anon ftp but it keeps asking for a password.
[19:57] <ikonia> ChaosInMind: please don't cross post
[19:58] <ikonia> you're getting help in #ubuntu so no need to cross post it here
[19:58] <ChaosInMind> I figured this was a server issue, so I joined this channel.
[20:12] <onlyson> #
[23:28] <GH0> On ubuntu server 12.04.3 LTS, how does one install the whois package if it doesn't appear to be in any repo?
[23:29] <GH0> Or rather, is there actually an official package and is something that I have just screwed up?
[23:57] <med_> GH0, http://packages.ubuntu.com/precise/whois
[23:57] <med_> looks like it is in precise.
[23:59] <med_> zul, does the Ubuntu Cloud Archive purge the previous version when new versions of Havana become available or do they just get hidden somewhere? (Ie, can I find b3 packages of Havana in UCA somewhere?)