[00:38] <pythonirc1011> If I want my ubuntu-server to not connect (on http) -- to any particular ip, for more than 10 times a minute, can this be done? how?
[00:54] <qman__> lalagirl, no action is required, that can be safely ignored
[00:55] <qman__> if you want the warning to go away, install the PECL extension it's looking for
[00:57] <trevorj> pythonirc1011: iptables
[00:57] <trevorj> pythonirc1011: connlimit iirc
[00:59] <trevorj> pythonirc1011: ie, iptables -A INPUT -p tcp --dport 80 -m limit --limit 10/min -j ACCEPT
[01:01] <trevorj> pythonirc1011: actually use conntrack to only accept 10 new connections: iptables -A INPUT -p tcp --dport 80 -m limit --limit 10/min -m state --state NEW -j ACCEPT
[01:03] <trevorj> pythonirc1011: you'll also want to ensure you have a rule in to allow the rest of the connection as well, ie: iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
[01:04] <trevorj> pythonirc1011: then either deny traffic by default on INPUT and enable any other services you'll need, or put a rule at the end like: iptables -A INPUT -p tcp --dport 80 -j REJECT
[01:08] <trevorj> pythonirc1011: if you're new to iptables, check out firehol.
[02:11] <amstan_> how can i get a process like bash to read and write to /dev/ttyUSB0(as stdin and stdout)
[02:12] <amstan_> i tried named pipes, like this: http://pastebin.com/itDi8LL5
[02:12] <amstan_> but it doesn't seem to work
[02:58] <Xqtftqx> Hey, i need some help configuring squid, specifically ACL.
[03:10] <ovhan> anyone here who is running or has run a minecraft server?
[04:07] <MTecknology> So.. with kvm, am I going to get better performance from a raw or qcow2 formatted disk?
[04:10] <MTecknology> ooooh... nevermind; sounds like qcow2 is more stable but raw is much more flexible
[06:45] <Yuyo> does anyone know what files does ufw edit?
[06:46] <twb> Yuyo: /etc/ufw, I expect
[06:48] <Yuyo> i can't access my remote machine because the firewall is blocking ssh.. so i'll have to attach the hard drive to another system, and edit the files there..
[06:48] <twb> chroot in and run ufw, then
[06:49] <Yuyo> twb, what do you mean?
[06:51] <Yuyo> chroot to the attached hard drive?
[06:51] <twb> yes
[06:52] <Yuyo> ok, sounds good. thanks
[07:37] <Yuyo> twb: i chrooted into the mounted hard drive, then did "sudo ufw allow 22" and said "Rules Updated"
[07:37] <Yuyo> then i reattached it to the other machine, and still i can't get in through ssh
[07:37] <Yuyo> any clues?
[07:38] <Yuyo> running sudo ufw disable told me "ERROR: problem running ufw-init" however
[13:03] <RoyK> anyone that knows how I can setup a solaris 10 SPARC VM on linux x86_64?
[13:40] <abhinavmehta> hello everyone...
[13:41] <ovhan1> hi
[13:41] <patdk-wk> royk, wouldn't that be hard? I didn't think sparc was x86 compatable
[13:42] <abhinavmehta> I'm installing mini.iso(mini ubuntu 32bit, some 13mb) on VMWare….and everything is working fine..
[13:42] <patdk-wk> I should hope so, I test those
[13:42] <abhinavmehta> problem is…it retrieves many packages from the internet in-course of installation…which I'm looking to avoid..so any pointers…how to avoid other stuff..
[13:43] <patdk-wk> don't use the mini-iso
[13:43] <abhinavmehta> patdk-lap: than..?
[13:43] <patdk-wk> the whole point of the mini-iso is it gets EVERYTHING from the internet
[13:44] <patdk-wk> the other option you have, is to install a caching web proxy, or apt cache proxy
[13:44] <abhinavmehta> patdk-lap: ohh, I see….I thought this is just the bare minimum linux distro…and capable to give me the basic shell.
[13:44] <patdk-wk> bare min install is about 450megs or so
[13:45] <abhinavmehta> patdk-lap: any pointers, which will be good bare-minimum linux distro for making ec2-images(cloud intances)
[13:45] <abhinavmehta> ok
[13:45] <patdk-wk> that is really a pointless question
[13:45] <patdk-wk> cause normally, that is NOT something you want to do
[13:46] <patdk-wk> even for cloud stuff, normal rules still apply, like, lifetime of security patchs, how used to the distro you are, ...
[13:47] <patdk-wk> it does no good to have an awesome ec2 intergrated image, if you can't use it
[13:48] <koolhead11> abhinavmehta: http://uec-images.ubuntu.com/ this is what your looking for i assume :)
[13:49] <RoyK> patdk-wk: that's the job of qemu...
[13:50] <patdk-wk> royk, never knew qemu was suppost to emulate totally different cpu's
[13:50] <abhinavmehta> patdk-lap: why not…I agree with you at some-points, but what if someone wants to build simple os, with taking care of all security-checks and all other.
[13:50] <abhinavmehta> Well, I'm thinking to build a os-instance using VMBuilder, and than patching all security checks with some recipe-tools(Puppet/Chef) and thats how making a private cluster of custom-operating-systems. Please correct me if I'm wrong somewhere.
[13:51] <patdk-wk> I don't know of anything like that
[13:52] <abhinavmehta> patdk-lap: sorry, I was too verbose…
[13:53] <RoyK> patdk-wk: that's what it does - I've used it for ARM emulation, but not sparc
[13:54] <patdk-wk> http://gunkies.org/wiki/Installing_Solaris_2.4_on_Qemu_SPARC
[14:16] <RoyK> patdk-wk: good 'un, but without ss5.bin, I'm rather lost...
[15:29] <maswan> Hm. With the soon to be removed sun-java, anyone know of plans to backport a newer openjdk to LTSes? It would be nice with one that segfaulted less often on our load...
[15:44] <Doonz> hey guys, I have two ethernet ports in my server eth0 is assigned to 192.168.*.* and when i try to assign eth1 to 10.0.1.* the network stops working as in i cant talk to the box anymore. Any ideas
[16:31] <alex88> http://pastebin.com/MEkBwgDC someone can help me with this error? i'm trying to install mysql-cluster-server
[16:37] <raubvogel> alex88: is there a /etc/mysql/debian-start file there?
[16:37] <alex88> raubvogel: nope..but seems a common bug
[16:37] <alex88> https://bugs.launchpad.net/ubuntu/+source/mysql-cluster-7.0/+bug/579732
[16:37] <alex88> it says fix released but not in my case
[16:38] <raubvogel> Which ubuntu release are you running? You might need to ask for a backport
[16:39] <alex88> natty
[16:40] <raubvogel> Also, the last entry (someone with 11.10) in that says it has not been released yet
[16:41] <raubvogel> There is a link for the patch though
[16:41] <alex88> well, i won't recompile it
[16:41] <alex88> for now i used the fix someone said before
[17:02] <iggi> So was following this guide: http://itsignals.cascadia.com.au/?p=28 to resize a KVM drive, but since I'm running LVM I'm having some difficulty growing the volume. I did a pvresize on the volume, but it says there is no PE free to expand the current logical volume. I assume I have to grow the VG as well or should pvresize take care of that?
[17:18] <iggi> Ok so I think I may have found part of the issue. I have an extended partition contains the vg and unallocated space, but for some reason pvresize is not resizing the vg (/dev/vda5) to fill the space.
[17:22] <iggi> ahh I had to manually set the physicalvolumesize, I guess my google-fu isn't the best today I couldn't find that, I had to RTFM
[17:23] <patdk-wk> royk, why without ss5.bin? there is a link to download it on that page
[17:23] <patdk-wk> the link even works :)
[20:00] <chuck580> hi all
[20:01] <strickly> hello chuck580
[20:07] <chuck580> Is it possible to find an irc channel where people are talmking?
[20:08] <_johnny> yes
[20:10] <chuck580> I'm really looking after such chat whatever the subjet, actually I'd like improve my english skill and as I'm a developer it would be more interessant for me if the conversation was about development
[20:11] <ovhan> chuck580:  developing as in programming? what language
[20:11] <ovhan> if your looking for java for example try #java
[20:11] <chuck580> Java/J2EE especialy Spring
[20:12] <jmarsden|work> chuck580: If you want to join a busy channel with lots of chatter, try #ubuntu
[20:12] <chuck580> yes it's what I do but I've not find a channel where there is a discussion
[20:12] <ovhan> try ##java
[20:13] <chuck580> kk tks :)
[20:51] <peterrus> hey, booting my ubuntu server 11.10 install seems to hang at 'running init-bottom'. Is there  some way I can check whats going wrong?åå
[20:52] <guntbert> peterrus: are there already other virtual terminlas available? try with <alt><left> (several times)
[20:52] <guntbert> *terminals
[20:52] <peterrus> guntbert: no
[20:53] <peterrus> my services arent started either
[20:53] <peterrus> currently running a bad block test
[20:54] <guntbert> peterrus: did you mean "during install" or "after installation"?
[20:54] <peterrus> guntbert: after
[20:54] <peterrus> the server has booted several times
[20:54] <ChmEarl> peterrus, try on your vmlinuz cmdline `nopat nomodeset`
[20:54] <peterrus> ok lets try that
[20:55] <ChmEarl> that might stop it from hanging.. or better yet, append `text`
[20:56] <guntbert> ChmEarl: he is running server
[20:56] <ChmEarl> modeset is active in server too
[20:56] <guntbert> peterrus: boot into recovery system
[20:57] <guntbert> ChmEarl: yes, but 'text'?
[20:57] <peterrus> guntbert: ChmEarl I currently am in recovery
[20:57] <peterrus> shall I reboot to add those arguments?
[20:57] <peterrus> text might do something indeed
[20:57] <peterrus> as it hangs exactly before switching to framebuffer
[21:00] <peterrus> ok
[21:00] <peterrus> text did nothing
[21:01] <peterrus> ah nice
[21:01] <peterrus> I removed the set_gfxmode line
[21:01] <peterrus> and now it boots
[21:02] <peterrus> lets find a method to make this permanent
[21:35] <Ynodde> mogguh
[22:12] <pdtpatrick1> Question .. why is it after creating a chroot environment .. each time i try to switch to it it keeps saying
[22:12] <pdtpatrick1> http://paste.pocoo.org/show/527079/
[22:19] <myjimmyweb> hello all, looking for some help with bind via webmin
[22:21] <myjimmyweb> no?
[22:22] <Patrickdk> via webmin? not here
[22:22] <myjimmyweb> kk
[22:22] <myjimmyweb> well lemme ask a general server question then
[22:22] <myjimmyweb> I installed server 11.10 to be a virtual machine host
[22:23] <myjimmyweb> and i have a number of virtual ubuntu server machines
[22:24] <myjimmyweb> basically, jw how/if i can make the host direct to example.com  while each virtual guest server would be guestx.example.com
[22:25] <myjimmyweb> can anyone point me in the right direction?
[22:25] <pdtpatrick1> so u wan the hos to be the gateway? if ur using KVM, i believe it will create the bridge connections. You can then create an iptables rule to allow forwarding via the host. This way your host can be your DNS box. If that's what your asking
[22:26] <myjimmyweb> yes
[22:26] <pdtpatrick1> http://www.google.com/url?sa=t&rct=j&q=kvm%20ubuntu%20&source=web&cd=1&ved=0CCUQFjAA&url=https%3A%2F%2Fhelp.ubuntu.com%2Fcommunity%2FKVM&ei=g5f7TunEHJHRrQfx8dihCA&usg=AFQjCNFT_YghZ2c5vUnX72lWgCNvqEAB5A
[22:26] <pdtpatrick1> whoops
[22:26] <myjimmyweb> i'm using virtualbox on a headless system with phpvirtualbox
[22:26] <pdtpatrick1> oh
[22:26] <pdtpatrick1> virtualbox should have a bridge connection
[22:26] <myjimmyweb> yup
[22:26] <myjimmyweb> it does
[22:27] <pdtpatrick1> right so in ur /etc/resolv.conf for your hosts file
[22:27] <myjimmyweb> mmhmm
[22:27] <pdtpatrick1> just make ur host as the gateway
[22:27] <myjimmyweb> kk
[22:27] <myjimmyweb> on the vm right
[22:27] <pdtpatrick1> right so on serv1.example.com
[22:27] <myjimmyweb> yes
[22:28] <pdtpatrick1> edit the /etc/resolv.conf and point that to example.com
[22:28] <pdtpatrick1> and on example.com -- you'll have the DNS running there
[22:28] <myjimmyweb> so i don't need bind on any of the vms?
[22:28] <pdtpatrick1> also make sure ur forwarding chain is set to accept
[22:28] <pdtpatrick1> on the host
[22:28] <myjimmyweb> k
[22:28] <myjimmyweb> any good reading for this stuff?
[22:29] <pdtpatrick1> oh and then make sure ur kernel has forwarding set.
[22:29] <pdtpatrick1> just google - forward ipv4 on ubuntu
[22:29] <pdtpatrick1> you'll find tons of stuff
[22:29] <myjimmyweb> k
[22:30] <myjimmyweb> i've just been used to using dyndns.org for my dns stuff, but will be purchasing a business account to get around webhop redirects to a dif port than 80
[22:33] <pdtpatrick1> :)
[22:54] <Lcawte> Hi, I'm having problems installing LAMP with tasksel, it messes up at mysql-server-5.1
[23:02] <pdtpatrick1> you could also try installing it yourself?
[23:02] <pdtpatrick1> sudo apt-get install mysql-server
[23:02] <pdtpatrick1> see if it gives you an error
[23:02] <pdtpatrick1> or try install 5.1 but the server package should pull that in
[23:03] <Lcawte> I have, still seems to freeze up
[23:05] <pdtpatrick1> freeze up on what? On installing? or downloading the package ?
[23:05] <pdtpatrick1> update your repo and try again
[23:05] <pdtpatrick1> sudo apt-get update && sudo apt-get install mysql-server
[23:05] <Lcawte> installing
[23:06] <pdtpatrick1> dpkg -l mysql*
[23:06] <pdtpatrick1> what does that show ?
[23:08] <BEZ|Kevin> how can I downgrade a 10.04 server to php 5.2.x?
[23:17] <Lcawte> pdtpatrick1: http://pastebin.ubuntu.com/786324/ (its still running the isntall)
[23:18] <pdtpatrick1> Lcawte, looks like mysql-server is half installed. So do this then. sudo apt-get remove --purge mysql-server-5.1
[23:18] <Lcawte> I get a pop up debconf type thing telling me that it can't copy the root password or something
[23:19] <Lcawte> pdtpatrick1: ok, purged that
[23:20] <Lcawte> now do I reinstall it?
[23:20] <pdtpatrick1> yup
[23:20] <pdtpatrick1> sudo apt-get install mysql-server
[23:22] <Lcawte> pdtpatrick1: http://pastebin.ubuntu.com/786325/
[23:25] <Lcawte> wow, its stalling on purging that
[23:25] <pdtpatrick1> sudo dpkg-reconfigure mysql-server-5.1 .. it should ask you to set the root password
[23:29] <RoyK> Lcawte: if you need to recover the root password, start the daemon with --skip-grant-tables
[23:29] <Lcawte> pdtpatrick1: tried that earlier, didn't work, same error
[23:31] <Lcawte> RoyK: full command?
[23:32] <Lcawte> Wow, I purge all the mysql, delete /etc/mysql and reinstall the lot, still that same error
[23:33] <patdk-lap> lcawte, why would you expect different?
[23:33] <Lcawte> patdk-lap: fresh install, possible chance that there could of been something messed up in the old one?
[23:33] <RoyK> Lcawte: mysqld --skip-grant-tables
[23:42] <Lcawte> Where are mysql databases stored on the disk?
[23:46] <Madonna__> oi
[23:58] <Lcawte> horrah! finally fixed it
[23:59] <Lcawte> purging all the sql packages and rm -rf ing the db dir & mysql conf