[04:14] <semcentro> i have problens to register key-gpg in lauchpad
[05:58] <lolcat> Hello
[05:58] <lolcat> Is it impossible to install ubuntu 12.10 to a raid1?
[05:59] <lolcat> It won't install grub
[05:59] <lolcat> I even left an empty partition for grub
[07:27] <orogor> hi here
[07:27] <orogor> anyone around running kvm ?
[07:27] <orogor> or doing virtualisation ?
[09:36] <orogor> hi here
[09:36] <orogor> anyone around using xen ?
[10:56] <Iszak> Anyone got guides on securing a ubuntu 12.04 server?
[11:16] <oeeve> Hi, I'm having some trouble figuring out whats wrong with my sftp server: http://paste.pm/688.js , as you can see I checked to see if sshd was running, and it is.. but only one ssh user, why wont it let any other in?:/ I just get the "unexpectedly closed" message in filezilla
[13:34] <jgdovin> k so its been a bit since i set up a server and i just set up a new vps with vilayer. i can ssh in but it cannot ping out to any ip or url if you can give me an idea of where to start i would be grateful
[13:49] <RoyK> jgdovin: if you can ssh in, the routing works, if you then cannot access anything outside, some firewall may be involved
[14:39] <Cippalippa> hi guys! I need some help. I am trying to write my .htaccess on my server root /var/www/ . I want http://www.test.co.uk/ to redirect to http://www.test.co.uk/vhosts/test/ .How do i need to do??
[14:42] <patdk-lap> depends
[14:42] <patdk-lap> exactly what do you want to change/enforce?
[14:42] <Cippalippa> patdk-lap: why?
[14:43] <patdk-lap> your example isn't specific enough
[14:43] <Cippalippa> I want to redirect requests
[14:43] <patdk-lap> are you sure?
[14:43] <Cippalippa>  http://www.test.co.uk/ I want to redirect to  http://www.test.co.uk/vhosts/test/  but I dont want the user to see that
[14:43] <patdk-lap> you want to redirect? or rewrite?
[14:44] <Cippalippa> rewrite sorry
[14:44] <patdk-lap> and do you want to enforce the domain? or any domain?
[14:44] <Cippalippa> my english, my bad
[14:44] <Cippalippa> what's the difference?
[14:44] <patdk-lap> well, a redirect will jsut change / to /vhosts/test/
[14:44] <patdk-lap> it doesn't care about the name
[14:44] <patdk-lap> do YOU care about the name?
[14:45] <Cippalippa> yes I care
[14:45] <Cippalippa> i dont want anybody to see the destination
[14:45] <patdk-lap> heh?
[14:45] <patdk-lap> everyone knows the destination
[14:45] <Cippalippa>   /vhosts/test/ i want /
[14:45] <patdk-lap> hmm, I didn't ask about that
[14:45] <patdk-lap> I asked about the www.test.co.uk part
[14:46] <Cippalippa> yes sorry
[14:46] <patdk-lap> do you care about that? must that match EXACTLY
[14:46] <ddsss1> what do u guys use to monitor server load?
[14:46] <Cippalippa> i want that when the user goes to  www.test.co.uk sees the content in  www.test.co.uk/vhost/test
[14:46] <patdk-lap> ddsss1, uptime?
[14:46] <patdk-lap> ddsss1, but what do you mean by server load?
[14:47] <Cippalippa> patdk-lap: is it clear?
[14:47] <ddsss1> patdk-lap: server hosts php app. I want to see cpu usage graph overtime, network traffic, hdd usage etc.
[14:47] <patdk-lap> rewritecond %{HTTP_HOST} ^www\.test\.co\.uk$
[14:48] <patdk-lap> rewriterule ^/$ /vhosts/test/
[14:49] <patdk-lap> ddsss1, anything you want sysstat, cacti, munin, ...
[14:49] <ddsss1> patdk-lap: which ones do peopel most use?
[14:50] <ddsss1> patdk-lap: which ones do people use most?
[14:50] <patdk-lap> !poll
[14:50] <Cippalippa> patdk-lap: so RewriteEngine on rewritecond %{HTTP_HOST} ^www\.test\.co\.uk$ rewriterule ^/$ /vhosts/test/    in a file in /var/www.  Is it right?
[14:51] <patdk-lap> no
[14:51] <patdk-lap> if your using .htaccess, you will also need a rewritebase too
[14:51] <patdk-lap> likely rewritebase /
[14:52] <Cippalippa> patdk-lap: where ?
[14:52] <patdk-lap> before rewritecond/rewriterule
[14:53] <Cippalippa> its not working, im doing something wrote
[14:55] <Cippalippa> patdk-lap: so RewriteEngine on rewritebase / rewritecond %{HTTP_HOST} ^www\.test\.co\.uk$ rewriterule ^/$ /vhosts/test/    in a file in /var/www.  Is it right?
[14:56] <patdk-lap> for the infomation you provided, yes
[14:56] <patdk-lap> that also assumes you have the rewrite module loaded, and allowoverrides on
[14:57] <patdk-lap> but that is all outside the scope of the question
[15:13] <snufft> hi guys :)
[15:14] <Koheleth>  can I use grep to search databases?
[15:14] <RoyK> Koheleth: what database?
[15:14] <Fieldy> Koheleth: only if the string you are looking for has it in cleartext. your best bet is to query the database properly
[15:14] <snufft> i'm trying to ssh into my server, but ssh is just sittnig at 'Using username "[usernamehere]".'
[15:14] <snufft> is there anything i can do from my end?
[15:15] <snufft> or does the vps need to be restarted at the virtual client end?
[15:15] <Fieldy> snufft: throw on -vvv to the client and see if there's any clues in the debug output
[15:15] <snufft> Fieldy: no joke, i've been trying to do something about this for the last hour or so, just as I posted that, it logged me in -_-
[15:15] <Fieldy> -vv might be enough
[15:16] <Fieldy> figures :)
[15:16] <snufft> Fieldy: but thank you for your help :) what does -vvv do anyway?
[15:16] <Fieldy> sometimes reverse DNS lookups slow down connections (but not THAT much)... add UseDNS no   to /etc/ssh/sshd_config and restart sshd
[15:16] <snufft> I think mine is MySQL eating all the resources :(
[15:17] <Fieldy> snufft: -v is verbose output, vv is more, vvv is isnanity
[15:17] <snufft> hahahahaha, ok. thanks heaps :)
[15:17] <Fieldy> often you'll get a clue as to what's going on with the output
[15:18] <snufft> ahhh fair enough :) top is taking ages to return anything now, so it's probably mysql again....
[15:18] <Fieldy> sounds like a heavily loaded system. i get that on one of my IDS sensors, takes forever to SSH in no matter what
[15:19] <Fieldy> it's just really weak hardware in that case
[15:19] <Fieldy> actually getting a shell prompt takes maybe 30 seconds or more
[15:19] <snufft> mine's taking a bit longer than that :P updwards of 10 mins maybe :(
[15:20] <Fieldy> yeah that's not normal. and generally a TCP connection will time out after 5 minutes
[15:21] <Fieldy> it might be time to move whatever's causing all that load off to its own instance, or if the vps is just low on ram and deep in swap, upgrade its plan for more ram
[15:23] <Cippalippa> is there a default file for ubuntu where iptables rules are saved?
[15:24] <snufft> it's starting to look like apache...
[15:28] <Fieldy> snufft: yeah i had a lot of endless pains with apache especially with VPS where lots of ram wasn't always available. one day I tried lighttpd which gets it done with much, much less resources, and that's all I use anymore
[15:29] <Fieldy> apache can be tuned to use a lot less, but it's not straightforward, and it begins to perform very poorly as you start clamping it down
[15:29] <snufft> Fieldy: I feel you. I normally run Nginx, but the admin for this server only knows apache, so that's what i use. It's curently has 17 threads going, all with virt of 277mb...
[15:29] <Fieldy> well, if he wants to stick with it, he'll be faced with paying for a RAM upgrade on the VPS most likely
[15:29] <Fieldy> or moving other things like sql to another instance
[15:30] <snufft> bang. apache restarted, site works... is there anything I can do to stop things locking me out of being able to ssh in?
[15:30] <Fieldy> not really, if the system is getting  hammered, that will continue to be a problem
[15:30] <snufft> that's a shame :(
[15:30] <snufft> btw, is your nick from Fieldy of Korn, or somewhere else? :P
[15:31] <Fieldy> yeah, don't tell them what it means :P
[15:31] <snufft> hahahahahahahaha
[15:31] <Fieldy> i couldn't get a gentoo cloak with the longer nick heh
[15:31] <Cippalippa> is there a default file for ubuntu where iptables rules are saved?
[15:31] <snufft> i wish they'd let David come back :( head's kind-of back, but it's not the same without David...
[15:32] <Fieldy> Cippalippa: not that i know of, are you simply looking to have some rules applied at boot or when networking comes up?
[15:34] <Cippalippa> at the boot
[15:35] <Fieldy> ok, let me look at my setup, because that's what I do
[15:36] <Fieldy> i think i just confused myself. that's what i get for having so bloody many different distros / servers. even my notes aren't clear
[15:38] <Fieldy> Cippalippa: first I created an upstart script, a url describing what that is is at the top of this http://pastebin.ca/raw/2358274
[15:39] <Fieldy> it calls /root/bin/iptables-and-forwarding.sh which is the raw iptables commands building the ruleset I want. there's probably a better way to do this but it works for me
[15:40] <Fieldy> noting that I am wiping out any existing rules at the start of that
[17:57] <GTAXL> Hello, can someone please help me with an apt-get remove problem? :/ http://pastebin.com/YfCV94HU
[17:59] <maxb> GTAXL: Do you have any packages in hold status, discouraging apt from removing them?
[17:59] <GTAXL> not sure
[17:59] <GTAXL> how could I check?
[17:59] <maxb> dpkg -l | grep ^h
[17:59] <GTAXL> that outputs nothing
[17:59] <maxb> Hm
[18:00] <maxb> Check your package manager state for potential anomalies with 'dpkg --audit'
[18:01] <maxb> And run dpkg and apt's "clean up after partial installations" routines: 'dpkg --configure -a' and 'apt-get install -f'
[18:03] <maxb> And then the other thing you could try to attempt to localise the problem would be to attempt removal of fewer packages in one command - e.g. you could try asking for just apache2.2-common to be removed and let apt remove pretty much anything else that depends on apache\
[18:05] <Lartza> Any gitlab alternatives? Gitorious maybe?
[19:27] <thasmo|off> Hey there! Does anyone have experience with xdebug?