[00:44] <tyska> hi guys, i wanna use iptables but i get an error when i run iptables -L im suspecting my kernel have config_netfilter disabled, how can i enabled it?
[00:45] <tyska> smoser: hi dude! are you there?
[00:48] <Tweeda> tyska, are the kernel modules loaded?  "lsmod | grep iptable"
[00:49] <tyska> Tweeda: no answer, how can i load it?
[00:50] <Tweeda> tyska, is the package installed? "dpkg -l | grep iptables"
[00:50] <Tweeda> that's a lowercase L
[00:50] <tyska> ii  iptables                        1.4.4-2ubuntu2           administration tools for packet filtering an
[00:52] <Tweeda> tyska, might try 'modprobe iptables'
[00:52] <tyska> FATAL: Could not load /lib/modules/2.6.32-22-server/modules.dep: No such file or directory
[00:56] <tyska> Tweeda: some guess?
[00:56] <Tweeda> tyska, you might want to read up on depmod.  That file should be there.  you're problem looks to be w/ your kernel config and your iptables issue is a symptom
[00:57] <tyska> what is depmod?
[00:57] <Tweeda> tyska, generates modules.dep file that doesn't exist.
[00:59] <tyska> Tweeda: then should i just run depmod?
[01:01] <steven_t> helo
[01:01] <steven_t> whats the purpose of having upgrades for linux installations?
[01:02] <steven_t> i can understand the purpose in a desktop os, ie to give new features, introduce new builtin apps, etc. but whats the reason in a server os?
[01:04] <Tweeda> tyska, I'd give it a shot
[01:04] <Tweeda> steven_t, to correct bugs, particularly bugs with exploitable security issues
[01:05] <steven_t> so each os upgrade is primarily to enhance security?
[01:05] <steven_t> and other bug fixes?
[01:06] <Tweeda> steven_t, well, perhaps not if you're speaking of upgrading karmic to lucid.
[01:06] <steven_t> i wasnt, but now you got me curious :)
[01:07] <Tweeda> steven_t, updates withing a specific release is primarily for bug fixes.  Upgrading to a new release would likely to keep up on latest releases of applications such as apache or php etc in order to take advantage of improvements.
[01:08] <steven_t> ah.
[01:08] <steven_t> thanks :)
[01:19] <Jeeves_Moss> is there an EASY way to find out how someone is using my postfix server to spam?  I can't find how they got into the system with TLS setup
[01:20] <zul> uh...log files?
[01:24] <bc> Jeeves_Moss: telnet from a remote host that isn't supposed to be allowed to relay and try to relay.
[01:25] <bc> Jeeves_Moss: helo fred<Enter>mail from: <bill@microsoft.com><Enter>rcpt to: <steve@apple.com><Enter>data<Enter>foo<Enter>.<Enter>
[01:25] <bc> Jeeves_Moss: if you get 'OK' after rcpt to, then you're in trouble.
[01:28] <Jeeves_Moss> bc, I took the box off-line because my ISP yanked our connection untill it's fixed
[01:29] <Jeeves_Moss> bc, http://pastebin.com/D8H1iMB1
[01:29] <bc> Jeeves_Moss: in smtpd_recipient_restrictions, the first three lines should be permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination,
[01:31] <bc> Jeeves_Moss: test the relying first (somehow), and if it's not postfix, make sure apache isn't spewing spam from a hole, and make check for unknown listening proceses.
[01:31] <Jeeves_Moss> bc, can you give me a step by step of what to look for so when I go off-line I can look?
[01:31] <bc> Jeeves_Moss: testing postfix relaying is a logical first step. where is the box?
[01:33] <ScottK> Jeeves_Moss: The answer will be in postfix's logs.
[01:33] <Jeeves_Moss> ScottK, http://pastebin.com/vFpfnRzt
[01:34] <Jeeves_Moss> ScottK, ask, and ye shall receive
[01:34] <bc> Jeeves_Moss: pastebin your main.cf
[01:35] <Jeeves_Moss> bc, I can't, system is shut down.  I've already received a warning of disconnection if it spams again
[01:36] <bc> Jeeves_Moss: you're going to have to start it up to fix it.
[01:36] <Jeeves_Moss> bc, ok, you want to see main.cf, correct?  any other requests while I'm in the basement?
[01:37] <ScottK> Jeeves_Moss: You need to go back farther.  You need to find lines that start like "postfix/smtpd[7578]: connect from ..."
[01:37] <ScottK> I didn't see any in that snippet.
[01:37] <ScottK> Jeeves_Moss: output of postconf -n.
[01:37] <Jeeves_Moss> ScottK, that snippit is the start of the 250Mb file!
[01:38] <ScottK> Jeeves_Moss: grep "connect from" > somefile
[01:38] <ScottK> err...
[01:38] <ScottK> Jeeves_Moss: grep "connect from" /var/log/mail.log > somefile
[01:39] <bc> Jeeves_Moss: just unplug the cat5, start it, stop apache and postfix, plug it back in?
[01:40] <Jeeves_Moss> bc, tried that already, and postfix won't die!!  it uses ~76% CPU
[01:40] <Jeeves_Moss> brb, going to the basement with the USB stick
[01:46] <Jeeves_Moss> bc, ok, I deracked it.  I draged it upstairs, and now I'm waiting for it to boot
[01:47] <bc> Jeeves_Moss: if it spins the cpu like that without an internet connection then you have bigger issues
[01:50] <Jeeves_Moss> bc, let me verify
[01:52] <Jeeves_Moss> bc, in TOP, there are "qmgr -l fifo -v", proxymap, and showq @ the top of the list
[01:53] <bc> Jeeves_Moss: you have a bunch of crud in mailq, I'm assuming?
[01:53] <Jeeves_Moss> bc, so do I, how do I clear it?
[01:54] <bc> Jeeves_Moss: postsuper -d, but I'm not sure if it can clear out in batch. if not, you'll have to get the ID's and postsuper -d each one
[01:55] <Jeeves_Moss> bc, postsuper -d ALL?
[01:55] <ScottK> Jeeves_Moss: Yes.
[01:55] <bc> Jeeves_Moss: yeah that'll work, just be sure you dont care about any of the messages. At this point I probably wouldn't.
[01:56] <ScottK> Jeeves_Moss: You need to investigate the logs to figure out where the stuff was coming from.
[01:58] <Jeeves_Moss> ScottK, I have used your grep command.  I'm just getting ideas from everyone while I have the box next to me before I postbin everything.  Currently, there is a LOT of disk activity running on the purging of the queue
[01:58] <ScottK> Certainly.  don't plug it back in until you've resolved the question of how the stuff was getting in.
[02:00] <Jeeves_Moss> ScottK, yep!  and I won't duplicate this mess to the rackmount stuff untill I have it reviewed by my peers.
[02:03] <Jeeves_Moss> ScottK, I've got a LOT of "bounce -z -n defer -t un..." (it cuts off my screen @ that point) doing a LOT of disk access
[02:03] <Jeeves_Moss> bc, I've got a LOT of "bounce -z -n defer -t un..." (it cuts off my screen @ that point) doing a LOT of disk access
[02:03] <ScottK> You've probably got a very full queue.
[02:04] <ScottK> postsuper -d ALL will need to grind through it.
[02:04] <Jeeves_Moss> ScottK, ok is there a way to see how much is sitting there from another term while this is working
[02:05] <ScottK> postqueue -p will give you a list, but that's not what you want exactly.
[02:05] <Jeeves_Moss> ScottK, the queue delete is still running, I was just wondering how much is in there.  the HDD light is SOLID!
[02:07] <bc> Jeeves_Moss: you can use watch(1) or a while loop.
[02:08] <Jeeves_Moss> first up for your viewing pleasure.....  postconf http://pastebin.com/EMyS0BCb
[02:08] <bc> Jeeves_Moss: regardless, stuff has to go though
[02:08] <Jeeves_Moss> next up, master.cf  http://pastebin.com/0e4Q63F6
[02:08] <bc> Jeeves_Moss: do you have a lot of users with lame passwords?
[02:09] <Jeeves_Moss> master.cf  http://pastebin.com/Fq9EKLwF
[02:09] <Jeeves_Moss> bc, not that I know of
[02:09] <bc> Jeeves_Moss: try ScottK's grep output
[02:10] <Jeeves_Moss> bc, trying to pastebin it.  I think it's too large
[02:11] <Jeeves_Moss> http://pastebin.com/XTweKdBV
[02:15] <bc> Jeeves_Moss: grep 15059 /var/log/mail.log
[02:19] <Jeeves_Moss> bc, ideas?
[02:20] <ScottK> Jeeves_Moss: You need to go back farther to see where it starts.  For example, if you look at line 890, it's been in queue over a day.
[02:20] <ScottK> Jeeves_Moss: grep 050A8836575 /var/log/mail.log* and see how far back it goes.
[02:21] <ScottK> If we trace that one back to it's start, maybe we can figure out what's going on.
[02:22] <bc> Jeeves_Moss: I'm no genius, I would show #postfix the output of postconf -n. Your smtpd recipient restrictions look ok, assuming a 'spammer' isn't authenticating and assuming someone else on the network isn't infected with something, and assuming it's not coming from Apache.
[02:23] <ScottK> FWIW, I think it's unlikely you'll do better on #postfix.
[02:25] <Jeeves_Moss> thanks for your help guys.  I @ least have a little better understanding of WTF is going on.  I just want to get it cleaned up and moved on!
[02:26] <Italian_Plumber> does 64 bit ubuntu use a whole different set of packages from X86??
[02:27] <bc> Jeeves_Moss: I wouldn't rule out some vulnerable web application, unless you know exactly what Apache is serving. Apache would be allowed to relay.
[02:27] <Jeeves_Moss> bc, did you see anything "odd" in the postfix config that would lend it's self to promoting this mess?
[02:29] <bc> Jeeves_Moss: I believe your current smtpd_recipient_restrictions should prevent unauthorized relaying in a perfect scenario I think.
[02:30] <Jeeves_Moss> bc,  thanks
[02:30] <Jeeves_Moss> I'm still VERY lost
[02:31] <ScottK> Jeeves_Moss: Let's try and figure it out.
[02:32] <bc> Jeeves_Moss: do you have tcpdump or tshark? I guess you could shutdown postfix, start Apache, plug it in and see if you see any traffic from the box itself to 25
[02:32] <ScottK> Trying to trace 050A8836575 back from where it came from is a good start.
[02:33] <npope> anyone know how to setup iptables as a firewall/router.  i am trying to run through a rule set and then forward it on to its destination
[02:33] <npope> setup is
[02:33] <npope> cable modem -> linksys -> linux_iptables -> client
[02:34] <npope> and vice versa
[02:34] <npope> linux_iptables is gateway for clients
[02:34] <npope> linksys is gateway for linux_iptables
[02:34] <bc> npope: I'd start here -> https://help.ubuntu.com/8.04/serverguide/C/firewall.html
[02:36] <ScottK> Although I'd use the correct version of that for whatever release you're running.
[02:36] <bc> Jeeves_Moss: outside of Scott's suggestion, if you have netcat, for the shutdown postfix let apache do it's thing, thing, netcat -l 25
[02:36] <bc> Jeeves_Moss: sorry, make that nc -l 25
[02:38] <Jeeves_Moss> bc, what will that show me?  will it show me what process is the one causing problems and let me narrow it down a bit more?
[02:40] <bc> Jeeves_Moss: no, that won't work. just grep the logs, re: ScottK
[02:40] <Jeeves_Moss> bc, I've tried that, and I'm guessing I have the syntax messed
[02:41] <Jeeves_Moss> bc, and I'm not sure how he arrived @ that string causing the problem
[02:41] <npope> bc: you good with iptables?  want to take a look at my config?
[02:42] <bc> Jeeves_Moss: line 890 in your log paste
[02:42] <Jeeves_Moss> bc, but that's just a snippit of a 250Mb file though
[02:42] <ScottK> Jeeves_Moss: We know that the mail is being sent through postfix, so working throught the logs to understand how it got there is the essential step.
[02:43] <bc> npope: I only configure iptables anytime something catastrophic happens. :) but I'll look at it.
[02:44] <bc> Jeeves_Moss: you have the logs there thought right? grepping that ID should show you the entire SMTP conversation
[02:46] <npope> grrr, i cant figure out how to have *filter and *nat in the same file... or different files for that matter
[02:48] <bc> npope: you probably want COMMIT (just guessing)
[02:49] <bc> npope: e.g. *nat<Enter>some stuff blah blah<Enter>-A POSTROUTING blah blah<Enter>COMMIT
[02:49] <npope> bc: i got that part
[02:49] <npope> let me pastebin it
[02:49] <bc> npope: p.s. apt-cache show pastebinit
[02:51] <npope> bc: http://paste.ubuntu.com/440156/
[02:55] <bc> npope: this should also have a 1 in it: /proc/sys/net/ipv4/ip_forward
[02:56] <bc> npope: I would also start really small and work my way up
[02:59] <npope> bc: agreed, it works without the routing though :)  just when i try to route the packets drop dead :( which is annoying as all <explicit>
[02:59] <bc> npope: this might be a good starting point, but I don't know how painful it would be. I would probably go this route: http://pastie.org/979243
[03:01] <bc> npope: if you want it to work right away, you can set default policies to ACCEPT
[03:02] <npope> bc: what is mangle?
[03:06] <bc> npope: altering packets, you can leave it out
[03:07] <Jeeves_Moss> bc, it looks like the postfix server is allowing annon TLS connections
[03:08] <bc> Jeeves_Moss: eww, good you found the cause.
[03:09] <Jeeves_Moss> bc, I threw it back up on the shelf in teh basement, killed apache and postfix, then fired up a tail on the mail.log on one screen, and then popped up postfix.  within seconds, I saw the error
[03:11] <bc> Jeeves_Moss: how'd it log if postfix wasn't running?
[03:12] <bc> Jeeves_Moss: nevermind, I missed the 'popped up postfix'. I'm getting senile and blind.
[03:12] <Jeeves_Moss> bc, I fired postfix up, then used my smartphone to connect from an external IP to try sending e-mail
[03:12] <Jeeves_Moss> bc, http://pastebin.com/Cm3TmicD
[03:13] <bc> Jeeves_Moss: you might have seen that using netcat without postfix running, I'm not sure, maybe put it in your bag for the future
[03:13] <Jeeves_Moss> bc, I did have nc running in another screen, and it was blind as my mother
[03:13] <bc> Jeeves_Moss: it wouldn't show formatted like the postfix log, but you'd see the client speaking to nc
[03:14] <npope> bc++
[03:14] <npope> LOL i didnt have commit under *nat
[03:14] <npope> LOL
[03:14] <bc> Jeeves_Moss: was it listening on 25? if it was, then you wouldn't have been able to start postfix
[03:14] <Jeeves_Moss> sudo nc -l 25
[03:15] <bc> Jeeves_Moss: ohhh sorry, TLS
[03:16] <bc> Jeeves_Moss: 465 I'm guessing
[03:17] <Jeeves_Moss> nada
[03:18] <npope> bc works now
[03:18] <npope> bc: thanks for the help
[03:18] <Jeeves_Moss> arrgghhhh, I swear, this shouldn't have to be this complicated
[03:19] <bc> Jeeves_Moss: prob listening on a different interface
[03:19] <Jeeves_Moss> bc, only one interface i the box
[03:19] <bc> Jeeves_Moss: at least two, lo and eth0
[03:20] <bc> npope: :)
[03:20] <Jeeves_Moss> yep, forgot about that
[03:21] <bc> Jeeves_Moss: you should have been: nc: Address already in use. Look at postconf -n inet_interfaces
[03:21] <bc> s/been/seen/
[03:22] <bc> npope: I didn't help so much :) glad it works though
[03:23] <bc> npope: that was 99.99% you heh
[03:23] <npope> bc: heh it helps having a person to ping ideas off of
[03:24] <webPragmatist> I'm trying to install drbd and i keep getting this http://pastie.textmate.org/private/9b79i0lkyoa3sbfwtfs4sw
[03:25] <webPragmatist> http://pastie.textmate.org/private/m3zf7xu0rn3ilqe3cyhiw
[03:25] <webPragmatist> more error
[03:25] <pmatulis> Jeeves_Moss: do you enforce clientside TLS certificates?
[03:27] <webPragmatist> dude
[03:27] <webPragmatist> why does ubuntu ship with two kernels
[03:27] <webPragmatist> -21 and -22
[03:28] <webPragmatist>  SORRY, kernel makefile not found. You need to tell me a correct KDIR!
[05:28] <webPragmatist> should i use drbd8-utils (source) or drdb-utils (.7)
[05:33] <jetole> Hey guys. I am getting a "no free leases" error on DHCPD. My dhcpd.conf is at http://pastebin.org/284779 and this only started tonight when I added the second subnet section and the last host (mx1). Could anyone tell me if they can see whats wrong?
[05:35] <ScottK> jiboumans: Renaming dovecot-postfix to mail-stack-delivery adds ~70 lines of really annoying shell script and changes ~30 more in the maintainer scripts and so there's about two hours of my life I'll never get back.  Please not again.
[05:36] <jiboumans> ScottK: didnt you propose the rename?
[05:36] <ScottK> I think I proposed the specific name, but the idea of renaming, wasn't mine.
[05:36] <ScottK> Or if it was, I'm a masochist and too tired to remember.
[05:37] <jetole> I just wanted to add I am getting the no free leases error refering to net 10.1.0.0/26 but it's occuring everytime the host connects with the MAC for the 172.16.0.126/26 fixed IP
[05:37] <jiboumans> ScottK: sommer sent the mail to ubuntu-server@ saying it was an outcome of the UDS session
[05:37] <ScottK> Yes, it was.
[05:37] <jiboumans> ScottK: i claim innocence, but i do really like the rename so ScottK++ for making packages more discoverable ;)
[05:37] <jetole> ScottK: I know a few cute sadists if you're interested
[05:38] <ScottK> jetole: Sorry.  Already married.
[05:38] <jetole> ScottK: Oh he won't mind
[05:39] <ScottK> Yeah, I'd imagine not.
[05:39] <jetole> lol
[05:39] <ScottK> jiboumans: No worries, not really blaming you.  Just needed to vent.  At least it's 5 hours until I have to be up again.
[05:39] <ScottK> Urgh.
[05:39]  * ScottK will test it tomorrow.
[05:40] <jiboumans> ScottK: no worries, let's vent over beer some time :)
[05:40] <jiboumans> jetole: if he's a true sadist, he'll enjoy the fact that ScottK will be in trouble with the Mrs.
[05:40] <jiboumans> it's win win
[05:40] <ScottK> jiboumans: In other news, the Debian dovecot maintainer is interested in the package for Debian.
[05:41] <jiboumans> ScottK: that's good news
[05:41] <ScottK> jiboumans: Right and if I was a true masochist, I would too.
[05:50] <webPragmatist> 	hrm
[05:50] <webPragmatist> are we satisfied with ext4 yet
[05:50] <webPragmatist> considering it's the default install type
[06:01] <twb> I'm not, but I'm happy for non-LTS users to test it
[06:02] <webPragmatist> eh?
[06:02] <webPragmatist> anyway
[06:03] <webPragmatist> how in the world am i supposed to mount a drbd
[06:03] <webPragmatist> on the slave
[06:05] <webPragmatist> for some reason i think this is the desired  thingy
[06:09] <deepak_> Team, can any mentor guide/point  me to  "How to contribute in ubuntu-server team", I have read the doc(GettingInvolved)... but not sure where to start :)/
[06:12] <twb> deepak_: URL?
[06:13] <twb> https://wiki.ubuntu.com/ServerTeam/GettingInvolved ?
[06:13] <deepak_> twb: URL I have read it? looking advice that where to start I mean , if I see bug reports [needs-packaging] which has huge list? any pointer where ubuntu-server has specific list.
[06:19] <twb> I don't know; I don't use launchpad.
[06:20] <twb> I imagine there's some sort of server tag.
[06:20] <twb> Otherwise, just look at bugs that deal with packages you use on your server.
[06:23] <deepak_> twb:  sound good , Thanks
[06:25] <ScottK> deepak_: Starting with packages you use and are familiar with is best.  It means you'll be able to check and confirm if bugs exist and perhaps make suggestions to bug reporters to improve their bugs or try things to solve their problems.
[06:27] <deepak_> ScottK: ok....
[06:27] <deepak_>  so ubuntu does not have something like in Debian (RFH or RFA)....
[06:30] <jetole> jiboumans: good point
[06:31] <jetole> let the sadomasochism roll
[06:31] <webPragmatist> when is it necessary to use a dlm like ocfs2 or gfs2
[06:32] <jetole> webPragmatist: it has to do with file locks for example if you don't want people to edit the same file at the same time but the d is for distributed meaning it works with ocfs of gfs and makes sure if someone is editing a file on server 1 then someone else can't edit it on server 2
[06:32] <jetole> at least I believe that is how it works
[06:32] <jetole> webPragmatist: I don't use dlm on my ocfs2 systems
[06:33] <webPragmatist> but drbd already doesn't let you mount your distributed resource
[06:33] <jetole> webPragmatist: who told you that?
[06:33] <webPragmatist> well
[06:33] <webPragmatist> if it's asynchronous ?
[06:33] <jetole> hold on and I will give you the url
[06:33] <webPragmatist> i'm telling myself that
[06:33] <webPragmatist> because i can't mount it anyway for whatever dumb reason
[06:33] <webPragmatist> without it bitching about read only
[06:34] <jetole> http://www.drbd.org/users-guide-emb/s-enable-dual-primary.html
[06:34] <webPragmatist> but
[06:34] <jetole> ocfs or gfs is pointless without dual primary
[06:34] <webPragmatist> right
[06:34] <jetole> you may also want to look into the split brain documentation
[06:34] <webPragmatist> that's what i've concluded too
[06:34] <webPragmatist> right
[06:34] <webPragmatist> i understand those concepts
[06:35] <webPragmatist> but my server setup is very simple and I am wondering if it is necessary
[06:35] <webPragmatist> it's just two nodes
[06:35] <webPragmatist> for failover
[06:35] <jetole> ocfs (let's assume I mean both from now on) is useful without dual primary but it's main purpose is to allow dual writing on clustered filesystems simultaneously
[06:35] <jetole> webPragmatist: in that case, you really really don't need dlm
[06:35] <webPragmatist> jetole: so in the event you were trying to loadbalance
[06:35] <webPragmatist> dlm would be useful
[06:35] <jetole> no
[06:35] <webPragmatist> o.O
[06:36] <jetole> i use ocfs + drbd + dual primary on both load balanced and mail servers without dlm
[06:36] <jetole> it has to do with file locks but for the most part file locks are usually only required for specific needs or applications that really require them
[06:36] <webPragmatist> right well in your case
[06:37] <jetole> also you will need primary/primary for load balancing
[06:37] <webPragmatist> the mail would only get processed
[06:37] <webPragmatist> once
[06:37] <webPragmatist> (ideally?)
[06:37] <jetole> webPragmatist: I don't mind the web servers reading file synchronously and I doubt to programmers will upload the same file at the same time
[06:38] <jetole> A distributed lock manager (DLM) provides distributed applications with a means to synchronize their accesses to shared resources. http://en.wikipedia.org/wiki/Distributed_lock_manager
[06:39] <webPragmatist> jetole: do you have other servers to process the load balancing?
[06:39] <webPragmatist> i've always seen like at least 3 nodes to do load balancing
[06:39] <jetole> here is a good example, fail over vm hypervisors using shared storage but you don't want them both using the same image at the same time and dlm acts sort of as a predecesor to Shoot The Other Node In The Head (STONITH)
[06:39] <webPragmatist> atleast network load balancing
[06:40] <webPragmatist> hrm
[06:40] <jetole> webPragmatist: won't say on mail. As per web servers, they are actually using multi path iSCSI to dual file servers
[06:40] <jetole> also you can do up to 4 hosts via drbd
[06:40] <jetole> http://www.drbd.org/users-guide-emb/s-three-nodes.html
[06:40] <jetole> you can apply the three node setup up to 4 however
[06:41] <webPragmatist> i don't really have 3 nodes to work with… you are saying you have load balancing on your web servers?
[06:41] <jetole> If you plan to exceed 4, look into a distributed file system like lustre, glusterfs or... whats the other one, ceph?
[06:41] <jetole> webPragmatist: yes
[06:41] <webPragmatist> how many nodes?
[06:42] <jetole> sorry to say but none of your business
[06:42] <jetole> don't mean to be rude, it comes down to corporate guidelines
[06:42] <webPragmatist> uhhh
[06:42] <jetole> I can't share everything but I can tell you that you can do as many as you like
[06:42] <webPragmatist> i'm asking
[06:42] <webPragmatist> can you load balance with 2
[06:43] <jetole> oh sure
[06:43] <jetole> you can tell a load balancer to only use 1 though it defeats the purpose but comes in handy for testing and debugging
[06:44] <webPragmatist> well what I am saying is I always see a third pc to "balance" the junk between the other two
[06:44] <webPragmatist> or rather often 4
[06:44] <jetole> the third pc is a load balancer
[06:44] <jetole> or reverse proxy
[06:44] <webPragmatist> or some sort of high level switch
[06:44] <jetole> yeah
[06:44] <webPragmatist> i assume
[06:44] <webPragmatist> hrm
[06:44] <jetole> layer 4/5 switch if I am not mistaken
[06:45] <jetole> then again I think it falls under the guise of load balancer at that point
[06:45] <jetole> then again, you can setup a linux system as the load balancer with either haproxy or ipvs
[06:45] <jetole> I would choose ipvs but it's more complex
[06:45] <webPragmatist> right
[06:46] <webPragmatist> so i guess coming from drdb8 world… whats the purpose of using ocfs2 other than the locking
[06:46] <webPragmatist> drbd*
[06:46] <jetole> point being, you need to distinguish between a web server and a load balancer, granted they can be on the same system (though it defeats the purpose) but you only need two web servers to load balance
[06:47] <webPragmatist> jetole: at this point i don't have a third node, switch, load balancer, whatever to do that
[06:47] <webPragmatist> so a simple failover is the next best thing
[06:47] <jetole> ocfs does not handle locking afaik unless dlm is used but if you use ext2/3/4, reiserfs or any other normal file system that is written by two different machines simultaneously then it will be corrupt quicker then you can expect
[06:48] <jetole> How do you plan to do the fail over?
[06:48] <jetole> anyways, ocfs/gfs are cluster file systems designed to handle writes from several nodes at the same time
[06:48] <jetole> ext4 for example is not
[06:49] <jetole> your inodes will be corrupt in no time
[06:49] <webPragmatist> ahhh
[06:49] <webPragmatist> okay
[06:49] <jetole> webPragmatist: that only applies to primary/primary afaik
[06:49] <webPragmatist> so back to the dual primary situation
[06:49] <jetole> ext2/3/4 should probably work with drbd fail over
[06:49] <webPragmatist> okay this makes sense
[06:50] <jetole> how do you plan to fail over the servers?
[06:50] <webPragmatist> i've read alot of this just the application was mush
[06:50] <jetole> it's cool. I have been working with it all only a short time myself but by that I mean since about the turn of the year
[06:50] <jetole> maybe a little longer
[06:51] <jetole> Anyways, how do you plan to do the failover with only two nodes?
[06:51] <twb> Oh YUK.
[06:51] <webPragmatist> well currently i have gone as far as to create a drbd with pacemaker, corosync, csync2, and now i'm at a point of whether i should just go ahead and use GFS2 or OCFS2
[06:51] <jetole> heh
[06:51] <twb> I just noticed that VMware Server runs its VMs at nicenes -10
[06:52] <webPragmatist> jetole: but that's all confidential
[06:52] <webPragmatist> shhh
[06:52] <jetole> webPragmatist: but how will you direct traffic to node2 if node1 goes down without a load balancer / failover machine
[06:52] <twb> (Admittedly, I noticed this because after inode-bombing the host ext3 filesystem, and the VM was still running smoothly.)
[06:52] <jetole> webPragmatist: I won't tell my boss
[06:52] <webPragmatist> jetole: uhm? multiple ips?
[06:52] <jetole> twb: interesting. I use kvm :D
[06:53] <jetole> webPragmatist: and have DNS point to both IP addresses for the A RR ?
[06:53] <webPragmatist> I assume that's how it works lol
[06:53] <twb> jetole: I *wish* I was allowed to
[06:53] <webPragmatist> shared ip
[06:53] <jetole> twb: although now that you mention it, I kinda like the nice option you just mentioned but kvm is kernel level already
[06:54] <jetole> webPragmatist: you can't really run them both at the same time with the same IP. This will cause TCP hell
[06:54] <twb> jetole: only the virtualized parts of
[06:54] <webPragmatist> righ
[06:54] <twb> ...it are
[06:54] <webPragmatist> jetole: right… heartbeat or whatnot
[06:54] <twb> jetole: the userspace part is still a normal process
[06:54] <webPragmatist> switcharoos the node to the correct ip
[06:54] <jetole> twb: for vmware of kvm?
[06:54] <jetole> well both probably
[06:54] <twb> jetole: both
[06:54] <jetole> I know with kvm it is
[06:54] <twb> Nobody should run vmware-server
[06:55] <webPragmatist> jetole: is that not ideal?
[06:55] <jetole> been... I don't know, 18 months+ since I played with ESX
[06:55] <twb> ESX is a different beast entirely (I'm told)
[06:55] <jetole> webPragmatist: not sure. Will heartbeat turn on one IP address if another one goes down?
[06:55] <jetole> twb: oh you're using server?
[06:55] <twb> Yes :-(
[06:56] <jetole> oh well then yes. It's a very very different beast. Server isn't a hypervisor if I recall correctly
[06:56] <twb> It's no
[06:56] <twb> *t
[06:56] <webPragmatist> jetole: sureeeeeeeeeee https://wiki.ubuntu.com/ClusterStack/LucidTesting#Overview
[06:56] <twb> It's more like qemu+kqemu
[06:56] <twb> Only shit
[06:56] <jetole> right, actually I think ESX uses LKMs
[06:56] <jetole> webPragmatist: then that sounds like it would work
[06:56] <twb> ESX is a linux product, certainly
[06:57] <jetole> webPragmatist: why not just invest in a cheap little server to act as the load balancer?
[06:57] <webPragmatist> jetole: because all this is dedicated hosting
[06:57] <jetole> twb: I know it is but playing on the console in ESX is taboo to begin with
[06:57] <jetole> lol
[06:57] <webPragmatist> and cheap little server is = not cheap
[06:57] <jetole> webPragmatist: can I ask who with?
[06:57] <jetole> brb. Gotta piss
[06:58] <webPragmatist> bobsbadassdedicatedservers.com
[06:59] <jetole> you could have just said no
[06:59] <jetole> twb: are you pretty good with dhcpd?
[06:59] <webPragmatist> it's softlayer
[06:59] <twb> No, I use dnsmasq.
[06:59] <jetole> ah
[07:00] <jetole> I got an issue with mine that I am trying to solve, only started tonight when I added the second subnet
[07:00] <webPragmatist> they sell loadbalancers
[07:00] <webPragmatist> but whats 250 connections mean lol
[07:00] <webPragmatist> 250 simultaneous connections?
[07:00] <jetole> webPragmatist: that 250 people can connect to your site at the same time
[07:00] <jetole> or one person with a simple DoS flood
[07:01] <webPragmatist> sounds like a bad idea
[07:01] <jetole> meh
[07:01] <webPragmatist> http://www.softlayer.com/services/network/
[07:01] <jetole> oh softlayer is the company
[07:01] <webPragmatist> sounds like you are creating more of a bottleneck
[07:01] <webPragmatist> than if you were to just let 1000+ connections spam the server… failover (if it even would)
[07:02] <jetole> webPragmatist: it wouldn't
[07:02] <webPragmatist> that's just my take lol
[07:02] <jetole> the load balancer would just block any more connections
[07:02] <jetole> you web server wouldn't see it
[07:02] <webPragmatist> right
[07:02] <webPragmatist> i'm saying
[07:02] <webPragmatist> buying the load balance = bottleneck
[07:02] <jetole> well if they are limiting connections yes
[07:02] <jetole> but remember a load balancer uses far less resources to load balance then a web server
[07:03] <webPragmatist> well
[07:03] <jetole> a single load balancer creates a single point of failure however
[07:03] <webPragmatist> i could imagine a single server being able to handle 250 connections
[07:03] <jetole> now setting up two load balancers on a shared IP with something like CARP doesn't sound like a bad idea
[07:03] <webPragmatist> for what i do
[07:04] <jetole> 250 is small
[07:04] <webPragmatist> actually shit
[07:04] <webPragmatist> yea
[07:04] <webPragmatist> global load balancing is ridiculously expensive
[07:04] <jetole> and stupid
[07:04] <jetole> now global disaster recovery is a good option
[07:05] <jetole> where you have a site in seattle that goes up if your data center in miami gets hit by a commet
[07:05] <webPragmatist> yea we already do that
[07:05] <webPragmatist> we have one node in seatle and one in dallas
[07:05] <jetole> do you work for a company?
[07:05] <webPragmatist> maybe
[07:05] <jetole> I mean for the load balancing, is this for a company or personal?
[07:05] <webPragmatist> oh well it's both :)
[07:06] <webPragmatist> the company i work for said implement some redundancy
[07:06] <webPragmatist> i said okay
[07:06] <jetole> well for a company, present to them the cost of one server going down vs. the cost of a load balancing system and then tell them to get out their fscking check books
[07:07] <webPragmatist> jetole: well… what i have going against me is the only time our primary node has EVER gone down is due to some stupid dns issue that softlayer had
[07:07] <jetole> an ounce of medicine vs. the price of the cure or however that old saying goes
[07:07] <webPragmatist> this is like 3 years so far
[07:07] <jetole> heh
[07:07] <webPragmatist> my utime is like 900 something
[07:07] <jetole> 3 years is an important time then
[07:08] <webPragmatist> well
[07:08] <jetole> a lot of server companies offer warrenties for 3 years for a reason
[07:08] <webPragmatist> heh...
[07:09] <webPragmatist> jetole: with that said though we are actually switching servers so we will be getting new hardware
[07:09] <webPragmatist> so another 3 years :)
[07:09] <jetole> present the cost of high availability vs. the cost of money lost for reasonable expected downtime and let them decide
[07:09] <jetole> webPragmatist: thats beside the point
[07:09] <jetole> HA doesn't exist exclusively for old hardware
[07:10] <webPragmatist> :)
[07:10] <jetole> if it did companies like MS wouldn't need/want/use it
[07:10] <jetole> google can afford new servers daily
[07:11] <jetole> I'm actually dying to know how google has HA setup. Someone suggested the pod concept to me
[07:11] <jetole> basically it is
[07:11] <webPragmatist> i'm more concerned with me fubbing up drbd than some load balancing
[07:11] <jetole> they have groups of racks. each rack has file servers on HA and a group of web servers
[07:12] <jetole> group the racks together and use the google FS on the file servers which is their own software to mimic lustre/glusterfs
[07:12] <webPragmatist> i wonder if they use vm
[07:12] <jetole> I don't know
[07:13] <jetole> I doubt I ever will unless I work for them and if I am do I am sure I will sign a contract that says if I tell anyone then the google gestapo will "eliminate" everyone I have ever known and myself
[07:13] <webPragmatist> jetole: is there a disadvantage to using ocfs2 if i'm not planning on imediately doing load balancing?
[07:13] <jetole> God I love those 5-hour energy shots
[07:14] <webPragmatist> just processing overhead?
[07:14] <jetole> webPragmatist: it's more complex to setup but that doesn't mean it is complex. In fact it isn't
[07:14] <jetole> webPragmatist: the overhead is negligable
[07:14] <webPragmatist> jetole: that article has how to set it up
[07:14] <jetole> the drbd one I posted?
[07:14] <jetole> probably
[07:14] <webPragmatist> no
[07:14] <webPragmatist> the lucid
[07:15] <jetole> oh
[07:15] <webPragmatist> https://wiki.ubuntu.com/ClusterStack/LucidTesting#Overview
[07:15] <jetole> http://www.drbd.org/users-guide-emb/ch-ocfs2.html
[07:15] <webPragmatist> they go through and piece together a HA server
[07:15] <jetole> yeah I have skimmed it before
[07:15] <jetole> roaxsoax gave it to me before the lucid release
[07:15] <webPragmatist> cool i will read this
[07:16] <jetole> btw, pick ocfs2 over gfs
[07:16] <webPragmatist> dude
[07:16] <webPragmatist> this just sounds cool
[07:17] <jetole> dude!!!
[07:17] <webPragmatist> DUDE WHERES MY OCFS
[07:17] <webPragmatist> 2
[07:17] <webPragmatist> asdfasdfadsff
[07:17] <jetole> Dude!!! where is your ocfs?
[07:17] <jetole> I dunno dude!!! where is my ocfs?
[07:17] <jetole> :P
[07:18] <webPragmatist> stuck it up my ext4
[07:18] <jetole> too vivid
[07:18] <webPragmatist> ext2 rather
[07:18] <webPragmatist> lol
[07:18] <webPragmatist> i'm no alien
[07:21] <webPragmatist> jetole: so going back to pre-dual primary… only one node should be allowed write access to the drdb device?
[07:21] <webPragmatist> bd*
[07:21] <webPragmatist> correct?
[07:21] <jetole> if it's primary/secondary then yes
[07:21] <webPragmatist> cool
[07:22] <webPragmatist> i should be able to mount and see the files from secondary though?
[07:22] <jetole> I don't believe so
[07:22] <webPragmatist> so it seems
[07:23] <webPragmatist> i wasn't sure if i didn't have it configured correctly
[07:23] <jetole> take a look at /proc/drbd
[07:23] <_chris_> heja all
[07:23] <_chris_> im pretty new to linux and haveing a virtual test server
[07:23] <webPragmatist> jetole: doesn't exist?
[07:23] <jetole> ?
[07:24] <jetole> webPragmatist: then you have something configured wrong
[07:24] <_chris_> when i log on to my ubuntu-server it tells me there is 1 zombie process, how can i 'Find' it and kill it ?
[07:24] <webPragmatist> jetole: or i'm nt rute
[07:24] <webPragmatist> root
[07:24] <webPragmatist> jetole: what am i looking at
[07:24] <jetole> webPragmatist: it should exist regardless but sudo to root
[07:24] <webPragmatist> oh hrm
[07:25] <webPragmatist> why's it say on;ly 14% sync
[07:25] <jetole> webPragmatist: and does it show a sync rate?
[07:25] <jetole> I forget what it looks like since mine are all in sync
[07:25] <webPragmatist> yea like 470 kbs
[07:25] <jetole> thats low
[07:25] <jetole> are these two servers in different locations?
[07:26] <webPragmatist> no lol these are two vms
[07:26] <webPragmatist> http://pastie.textmate.org/private/fgvf3o3avyjvzh7eboterw
[07:26] <jetole> on the same machine?
[07:26] <webPragmatist> ya
[07:26] <jetole> look at the rate option under syncer
[07:26] <jetole> man drbd.conf
[07:26] <webPragmatist> will do
[07:26] <jetole> change it on both
[07:27] <jetole> then run drbdadm adjust on both
[07:27] <jetole> _chris_: don't think you can kill a zombie
[07:27] <jetole> but...
[07:27] <jetole> to find it, run ps aux
[07:27] <jetole> look for a process with [ and ] around it
[07:27] <jetole> i.e. [sshd]
[07:27] <jetole> I think
[07:27] <jetole> ...
[07:27]  * jetole looks 
[07:28] <jetole> anyways if it can be killed, send it signal 9
[07:28] <jetole> as in kill -9 pid
[07:28] <jetole> no it's not [ and ]
[07:28] <jetole> yeah you can't kill it anyways
[07:28] <jetole> but it's not running or doing anything
[07:28] <jetole> it will die eventually
[07:29] <jetole> _chris_: you can kill the parent process if you like
[07:29] <webPragmatist> ah
[07:29] <webPragmatist> default is 250 KB/s
[07:29] <jetole> _chris_: a zombie is a dead process that the parent process didn't wait() for
[07:29] <webPragmatist> that would do ti
[07:29] <webPragmatist> it*
[07:29] <jetole> webPragmatist: yes it is and yes it would
[07:29] <jetole> lol
[07:30] <webPragmatist> jetole: is there a more standard way at looking at that status
[07:30] <webPragmatist> than snooping through /proc
[07:30] <jetole> webPragmatist: whats wrong with proc
[07:30] <webPragmatist> i dunno
[07:30] <webPragmatist> never used it
[07:30] <jetole> there is some way through drbdadm I think but /proc is preferred
[07:30] <webPragmatist> yea
[07:30] <jetole> there is lots of good info in proc
[07:31] <jetole> the drbdadm way just reads proc and re displays parts of it
[07:31] <jetole> but afaik it doesn't clean it up or make it more human readable
[07:32] <smoge8899> Hello... does anyone know if Ubuntu Enterprise Cloud can be added to an existing Ubuntu Server installation... 10.04 ?
[07:33] <jetole> webPragmatist: drbdadm role, drbdadm cstate, drbdadm status, drbdadm dstate
[07:33] <jetole> smoge8899: yes it can
[07:34] <jetole> smoge8899: run tasksel
[07:34] <webPragmatist> jetole: yea there needs to be like a summary wtf
[07:34] <webPragmatist> well
[07:34] <webPragmatist> thanks very much for your help
[07:34] <jetole> drbdadn status is actually xml output
[07:34] <webPragmatist> i'll continue this tomorrow
[07:34] <jetole> have fun
[07:34] <smoge8899> Reason I ask - my hosting provider will install 10.04 LTS, but the install is automated... so I can't select "Install Cloud".... and need to add it afterwards.
[07:35] <jetole> webPragmatist: also, run the command man man
[07:35] <jetole> smoge8899: I already told you how
[07:36] <jetole> it's funny how linux has the command man man but not man women or women man
[07:36] <jetole> I hear it has women donkey on the mexican version
[07:36] <webPragmatist> o.O
[07:37] <jetole> :P
[07:37] <webPragmatist> they should call it woman
[07:37] <SpamapS> ttx: we meet again..
[07:37] <webPragmatist> cause they always read the instructions
[07:37] <webPragmatist> guys are lucky to type --help
[07:37] <SpamapS> ttx: you there? I was wondering about merging the moin package...
[07:38] <jetole> webPragmatist: maybe, maybe not but I tell you that I am the only one I let cook in my kitchen
[07:38] <jetole> and my girl friend doesn't complain
[07:38] <webPragmatist> heh
[07:39] <jetole> I meant she doesn't complain about the food by the way.
[07:40] <ttx> SpamapS: yes
[07:40] <ttx> SpamapS: stuck in hundreds of spec review emails
[07:41] <ttx> SpamapS: take it, it's yours
[07:41]  * ttx intervened in moin by accident
[07:41] <SpamapS> ttx: hah, ok. :)
[07:43] <smoge8899> ok - so for the Cloud Controller Server, I would choose "cluster controller" or "top-level cloud controller"
[07:43] <smoge8899> using tasksel
[07:43] <jetole> not sure but I believe "top-level cloud controller" since cluster does not nessicerely mean cloud
[07:43] <ttx> smoge8899: the installer does nice extra installation steps though
[07:44] <jetole> ttx: He mentioned it's managed hosting doing a default install
[07:44] <ttx> smoge8899: for a first-time install, I'd suggest using the UEC installer to save you some post-setup pain
[07:44] <ttx> hm
[07:44] <jetole> yep
[07:44] <_chris_> jetole, sorry was not at the pc before, ok i saw the zombie just disappeared somwhow
[07:44] <smoge8899> Ok - I'll setup a VM and give it a try.
[07:45] <smoge8899> "uggest using the UEC installer" - yes - would love too - but it is not available to me
[07:45] <smoge8899> as the host does the server install... I need to add afterwards
[07:45] <ttx> smoge8899: with the package-based install, you have to do networking setup and key sync yourself, basically
[07:45] <jetole> _chris_: you never really have to worry about zombies unless you have some situation where they are appearing faster then they die and you have hundreds
[07:46] <jetole> _chris_: and when that happens it's a programming bug in the application creating them
[07:46] <jetole> zombies always die on their own
[07:46] <_chris_> ah ok :)
[07:47] <_chris_> thanks for the info
[07:47] <jetole> no prob
[07:48] <smoge8899> ok - I'll give it a shot..
[07:48] <smoge8899> one last question....
[07:48] <smoge8899> for now - ha ha
[07:48] <_chris_> just noticed after having the server up some weeks that sometimes a zombie appears and didnt know if this was something bad ^^
[07:48] <smoge8899> is Enterprise Cluster (private cluster) production ready?
[07:48] <SpamapS> yay vmware fusion for mac supports lucid finally
[07:49] <jetole> _chris_: it can be caused by a lot of things but the occasional zombie is normal
[07:49] <webPragmatist> SpamapS: why couldn't it install it before?
[07:49] <webPragmatist> i eman
[07:49] <webPragmatist> i use parallels and it's always worked?
[07:50] <trapmax> problem with mrtg: i use "ssh -t user@host 'sudo command'" in my scriptto get hd-temp in variable. the script itself works from cli, but wheni use it in mrtg as "Target[]: `/path/to/script` it doesn't work.
[07:51] <SpamapS> webPragmatist: something in their easy-install procedure where they took a value from some config file, shoved it into another one, and b0rked the keyboard in gdm
[07:52] <SpamapS> trapmax: thats really.. an awful way to do monitoring
[07:52] <SpamapS> trapmax: consider munin or collectd.. much more sane. :)
[07:59] <smoge8899> Thanks for your help!  Gotta run!
[08:08] <trapmax> SpamapS: any ideas though? the same script without the "ssh -t user@host" -part works well enough
[08:29] <SpamapS> trapmax: no with -t I would expect it to work the same as if you had logged in.
[09:17]  * SpamapS decides he needs at least 4 hours of sleep before tackling moin...
[09:29] <ttx> SpamapS: about the thrift packaging, it will need adaptations to be fully policy-compliant... but it's not in the bad shape i imagined it would be
[10:12] <maxagaz> How to install xlibs in lucid ?
[10:15] <twb> Define "xlibs"
[10:30] <fallback>  hello, having problems getting a Qemu-KVM bridge to work nicely with IPtables; all traffic shows up as "martian", while the firewall used to work quite nicely with Xen... can anybody help? I've got the firewall script in ubuntu pastebin..
[11:01] <jo-erlend> are there any big advantages to using apt-proxy instead of a general http proxy like squid?
[11:02] <twb> It's a "smart" cache
[11:02] <twb> In that it will read the index file and purge cached objects that are no longer part of the release
[11:02] <twb> That kind of thing
[11:02] <jo-erlend> I know that, but how big are the advantages?
[11:02] <twb> However, in production I found apt-proxy and apt-cacher to be very very flaky
[11:03] <twb> Instead I know run debmirror(1), which is working solidly
[11:03] <jo-erlend> squid should be solid though?
[11:03] <twb> It depend how much you've tweaked it
[11:04] <twb> For example, here we were caching Packages.gz but not the Release file, so what apt saw was a bad checksum.
[11:04] <jo-erlend> I see there is something called squid-deb-proxy. Have you tried that one?
[11:04] <twb> I have not
[11:04] <twb> How many hosts do you have?
[11:04] <jo-erlend> twb, I've had problems with that here as well. I though I'd made a mistake, but I couldn't figure out what I did.
[11:04] <jo-erlend> not very many. 20-30.
[11:05] <twb> Running what?
[11:05] <jo-erlend> ubuntu desktops.
[11:05] <twb> In particular, do they track main or also universe/multiverse, and do they use ubuntu+1 or a stable release?
[11:05] <jo-erlend> they use the current lts.
[11:06] <jo-erlend> they use universe, but not multiverse.
[11:06] <twb> To track hardy/main, single arch, no sources, is under 10GB
[11:06] <twb> For me, that was a negligible hit
[11:07] <jo-erlend> yes, diskspace is not a problem. I want a good tool. And if I could use it a as a general web cache as well, it would be wonderful.
[11:07] <twb> I think at customer sites I'm keeping a mirror of hardy/* and hardy-*/*, single arch, no sources, and that's about 30GB with about 100MB per week of updates
[11:08] <twb> Maybe as much as 300MB a week if something like openoffice is binnmud
[11:08] <twb> So I have the hosts pointing at an NFS export of that debmirror for apt, and browsing goes through squid
[11:08] <twb> For me, that works quite well
[11:09] <lifeless> twb: the coherency thing is a apt-client + server config issue exacerbated by the apt archive design
[11:09] <jo-erlend> I've used apt-mirror in the past. It worked well. Do you have any experience with that?
[11:09] <lifeless> twb: just saying :)
[11:09] <twb> lifeless: granted
[11:10] <twb> lifeless: I'm sure once apt-bittorrent takes off everything will be much, uh, better
[11:10] <trapmax> SpamapS: thanks for the advice. collectd does everything better
[11:10] <lifeless> lol
[11:10] <twb> I also love how the recommended tertiary mirror software isn't in the archive :-/
[11:10] <lifeless> rsync?
[11:11] <twb> No, I mean a tertiary mirror, like your ISP and your school run
[11:11] <twb> As opposed to a quaternary partial mirror like you might might run at work
[11:11] <twb> I can't remember what it was called, though
[11:12] <twb> While we're on the subject, can apt be made to use rsync:// URLs?
[11:13] <jpds> No.
[11:14] <twb> Pity
[11:14] <twb> It's not like foo_1-1 and foo_1-1.1 are gonna differ much
[11:15] <twb> And my ISP happens to export /pub with rsyncd as well as http/ftp
[11:15] <jpds> That's https://blueprints.launchpad.net/ubuntu/+spec/foundations-m-rsync-based-deb-downloads
[11:15] <twb> Shiny
[11:17] <twb> Heh.  Is it just me, or is CJWatson running half of Ubuntu? :-)
[11:18] <twb> "The apt-sync package is now included in Ubuntu and will make upgrades faster."
[11:18] <twb> ...I can't see it in rmadison
[11:18] <cjwatson> I'm just the approver on that, which is because that spec has been carried over from a point when I managed the team responsible for that
[11:19] <cjwatson> twb: that's in the "Release Note" section.  The point of that section is to write, in advance, something which would be suitable for integration in the release notes when it's complete.
[11:19] <twb> Oh, I see.
[11:19] <cjwatson> so it's written in the present tense because that's how the release notes are, but read it as if it were in the future tense
[11:20] <twb> It's for the RM/PR teams to copy-and-past into ANN posts
[11:20] <StrongOrder> hello everyone. I'm running 6.06 on one of my servers, and suddenly my apache went offline. Now it cannot start and give me this error: http://dpaste.com/199862/  I disabled cgi module (I don't use it) but realy curious about what the real problem could be. Any help please?
[11:32] <jo-erlend> when you enter an HTTP proxy during the server installation, then that's only used during the install and is forgotten afterwards, right?
[11:32] <twb> jo-erlend: no
[11:33] <twb> jo-erlend: it's normally written to /etc/apt/apt.conf
[11:33] <twb> YMMV depending on exactly how you do the installation.
[11:35] <jo-erlend> thanks.
[12:00] <hackeron> Anyone has any ideas what could be causing such high memory use? < http://itstar.co.uk/memleak.png
[12:02] <hackeron> only thing I can think of is the md0_resync process that's running - but it's not showing any memory use
[12:04] <binBASH> hackeron: echo 3 > /proc/sys/vm/drop_caches will free it
[12:04] <binBASH> it looks like os cache ;)
[12:05] <binBASH> to prevent you can add vm.swappiness=0 to your sysctl.conf
[12:05] <hackeron> binBASH: did you look at the screenshot? -- notice only 6mb is cached
[12:06] <twb> hackeron: please pastebin the output of "free -m"
[12:06] <hackeron> binBASH: I took the screenshot after running  echo 3 > /proc/sys/vm/drop_caches -- running it again makes no difference to used ram
[12:06] <twb> Under normal circumstances, linux should have 100% utilization of RAM
[12:06] <twb> Since it caches disk blocks in unused parts of RAM
[12:07] <hackeron> twb: http://pastie.org/979675
[12:07] <twb> I don't know if top(1) is counting those
[12:07] <twb> Hmm, OK.
[12:07] <twb> It was, but you don't have much cached anyway
[12:07] <hackeron> twb: aha, so where's the memory going?
[12:08] <twb> Here, I have 732MB used, but 512MB of that is disk cache
[12:08] <twb> hackeron: I don't know yet.
[12:08] <hackeron> right, but I have almost no disk cache, so where is it going? :)
[12:08] <hackeron> only process eating cpu is md0_resync (I use software raid) - I suspect it may be the culprip
[12:08] <hackeron> culprit*
[12:09] <binBASH> did you sort by mem usage in top already? shift-M
[12:09] <hackeron> binBASH: yes, I did, you can see in the screenshot
[12:10] <binBASH> you don't happen to run a sphinxsearch (searchd) right?
[12:11] <hackeron> erm, no
[12:11] <binBASH> because I run it here and it's ram usage is also not shown in top ;)
[12:11] <twb> CPU isn't RAM
[12:12] <twb> Incidentally, a text dump of top's output would've been easier to read
[12:14] <hackeron> twb: here: http://pastie.org/979684
[12:16] <twb> Hmm.  I wonder why I have 52 "udev --daemon" processes still running
[12:21] <tschundeee> hi all how can I copy files from windows to a ubuntu server instance that I connect to via putty (ssh) on windows?
[12:22] <binBASH> tschundeee: sftp
[12:23] <binBASH> for example via filezilla
[12:23] <tschundeee> binBASH: okay that sounds good
[12:23] <tschundeee> soI download filezilla and connect to my server
[12:24] <binBASH> yup
[12:24] <binBASH> with your ssh user
[12:25] <tschundeee> binBASH: thx a lot... usually I am using osx with cyberduck for that
[12:25] <tschundeee> :)
[12:27] <cybrocop> tschundee: I use cygwin on my Windows XP/ Server 2003 instances. It allows me not only to do file copy but SSH and schedule cron jobs on my win machines. Only if you want to get this deep. If you only need file transfer, use Filezilla.
[12:30] <binBASH> tschundeee: your welcome
[12:31] <twb> cygwin isn't for the faint of heart
[12:31] <twb> FWIW, Windows also has its own cron-like scheduling infrastructure
[13:28] <sommer> morning
[13:29] <jo-erlend> morning to you too, though it's 14:30 here. :)
[13:31] <xperia_> hello to all. i have just started the server and thinked i can login fast on the server but for some reason the programm fsck is running now the whole time and i have a big raid disk
[13:32] <xperia_> question: how can i stop this and second whats the best possibility to disable this fsck as it break my works flow especially on a server with no Screen
[13:32] <xperia_> till fsck is not finished i am not able to login over ssh to see whats the problem
[13:32] <jo-erlend> I think I'd examine the reasons why fsck is running all the time.
[13:33] <xperia_> needed now to find extra a Monitor to Plug In and to see whats the Problem
[13:34] <xperia_> it looks now it would hangs
[13:34] <xperia_> it dont happen anything now
[13:34] <jo-erlend> but you should still attack the cause and not the symptom.
[13:35] <xperia_> jo-erlend: does fsck not periodical check the disk everytime you startup ubuntu after a few time or is this now different
[13:36] <jo-erlend> it does, yes.
[13:37] <xperia_> so why that. i have a big raid disk and no monitor, keyboard and such things attached on the server. why does fsck run automatic and hang the full server
[13:37] <xperia_> till fsck not finish i am not even able to login over ssh
[13:37] <jo-erlend> because a system is useless if the filesystem is broken.
[13:37] <jo-erlend> mhm. How often do you reboot your server?
[13:38] <xperia_> nearly every day as it is a test server
[13:38] <xperia_> twice a day at least
[13:38] <xperia_> in the last weeks
[13:38] <jo-erlend> oh, ok. You can set the check frequency. I don't remember where the setting is located though, but you shouldn't have any problems finding it.
[13:38] <xperia_> and now what should i do it dont happen anything !
[13:39] <xperia_> okay thanks for suggesting that
[13:39] <xperia_> need now only to boot in the system
[13:39] <xperia_> but it hangs
[13:39] <xperia_> what should i do
[13:39] <xperia_> cold restart
[13:39] <jo-erlend> wait until fsck is finished?
[13:40] <xperia_> it dont finish have rebooted now. this auto fsck sucks on a server
[13:40] <jo-erlend> hehe, yes, it's horrible...
[13:41] <jo-erlend> better to be lucky than good...-
[13:42] <xperia_> okay it boot
[13:42] <xperia_> ohh noo i got fsck again
[13:42] <jo-erlend> why don't you let it complete?
[13:42] <xperia_> ohhh man
[13:42] <jo-erlend> do you understand what fsck does?
[13:42] <xperia_> i dont have the time
[13:43] <xperia_> that is the most stupid moment to do this fsck
[13:43] <xperia_> and i dont see also any progress bar or simmilar that indicate how long it would need
[13:43] <jo-erlend> yes, it's insane to make sure your system is intact on a important computer.
[13:44] <jo-erlend> if you let it finish, then it will probably stop checking your filesystem at every boot.
[13:44] <xperia_> and after some boots then the whole fsck again
[13:45] <xperia_> at least the possibility to cancel the fsck should exist from my point of view
[13:45] <jo-erlend> yes, if you choose not to change the setting.
[13:47] <xperia_> exactly this is what get me angry. a presetting decide that the server hangs now for 1 Hour at the most stupid moment
[13:47] <jo-erlend> hehe, some people actually use servers for other things than testing.
[13:47] <jo-erlend> sometimes they prefer it when their systems are stable too.
[13:48] <xperia_> yeah but this fsck can also be done at shutdown or not ? why on boot
[13:48] <jo-erlend> because if there is a power outage, for instance, then data may be lost. It makes sense to check it immediately, and not wait two months until the next reboot.
[13:48] <xperia_> when somebody boot the system he dont want to wait hours till the system is ready this just dont make sense
[13:48] <jo-erlend> this can also happen if the system freezes so you have to do a cold reboot.
[13:49] <xamanu> Hello, I have sudo access to a ubuntu server where two instances of MySQL are running. Using the mysql (or mysqldump) command drives me to mysql4 but the installed websites are running on a mysql5 instance. UnfortunatelyI can not find the bin to start mysql5. I'd appreciate any help
[13:49] <twb> If you don't want to wait for fsck, run a journalling filesystem
[13:49] <xamanu> DBs are there. I can see them within /var/lib/mysql
[13:50] <xperia_> as i have installed ubuntu lts on the server it used ext4 as file system
[13:50] <progre55> hi guys, I need to add a user into my remote server.. and the user should have no pass, but use a public/private key to log in. How to do it?
[13:50] <xperia_> so from your answer then fsck is not needed or i am wrong now
[13:50] <twb> xperia_: then take comfort in the knowledge that with ext2 it would have been an order of magnitude slower
[13:50] <xperia_> xamanu: do you need to start mysql ?
[13:51] <jo-erlend> I'd certainly run an fsck if people were pulling the power cord from my server several times a day.
[13:51] <xamanu> xperia_ no it is running already
[13:51] <xamanu> xperia_ I want a db dump
[13:51] <twb> xperia_: it should be better again when btrfs is ready
[13:51] <xperia_> xamanu: a mysqldump you do this way
[13:51] <xperia_> for a database
[13:51] <xamanu> xperia_ but the mysqldump command is linked to the wrong version/instance of mysql and I don't know where is my mysql5
[13:52] <xperia_> ahhh okay
[13:52] <xperia_> did you looked at /usr/bin
[13:52] <xperia_> "/usr/local/bin"
[13:52] <xperia_> and such places
[13:53] <jo-erlend> xamanu, you can use apt-file to search for files in packages. That will tell you where the file gets installed.
[13:54] <twb> You can't have both mysql4 and 5 on an Ubuntu system without working around the packaging system
[13:54] <twb> Which means that the state of that system is anybody's guess
[13:55] <xperia_> twb: strange thing is that with fsck dont happen anything. no numbers are changed. no progress bar nothing
[13:55] <twb> xperia_: what was the last output?
[13:55] <xamanu> unfortunately I haven't done any configuration on this system. just trying to get a dump out of the live system
[13:55] <twb> xamanu: try "which mysql"
[13:56] <twb> Hmm, that's no good
[13:56] <pmatulis> Jeeves_Moss: did you get your mail server sorted?
[13:56] <twb> type -a z
[13:56] <xamanu> twb: gives me the link to /usr/bin/mysql which is the bin of mysql4 but I need the mysql5
[13:56] <twb> xamanu: what does "type -a mysql" report?
[13:57] <xperia_> twb: /dev/cciss/c0d0p1: clean, 63186/2662400 files, 533281/10639872 blocks
[13:57] <xamanu> twb: same thing "mysql is /usr/bin/mysql"
[13:57] <twb> xamanu: OK, so mysql 5 is definitely not in your path.
[13:57] <twb> xperia_: is that one of those half-assed IBM raid controllers?
[13:57] <xamanu> twb: but the websites are using it :-) where could I look for it?
[13:58] <twb> xamanu: you could try looking at the process table, finding a mysqld instance, and looking at its /proc/<pid>/exe symlink to find out where it lives.
[13:58] <twb> xamanu: since it's not in /usr/local, it's probably in /opt
[13:59] <twb> Ah, HP, not IBM
[14:00] <twb> xperia_: it prints that at the end of the fsck run, so either it's fscking the next partition, or it's hung on the NEXT step in the init process, without printing anything
[14:02] <xperia_> twb: it is a "hp proliant ml530 g2" server. till yet everything worked fine. just today i wanted to boot the server and now that
[14:02] <xamanu> twb: thanks! it says /usr/sbin/mysqld - as I understand this is the deamon and not the bin to gain shell access
[14:02] <xperia_> what is wrong with fsck ?
[14:02] <twb> xamanu: and "mysql --version" reports 4.x, not 5.1?
[14:02] <xperia_> how can i kill it
[14:03] <twb> xperia_: are you running 8.04 or 10.04?
[14:03] <xperia_> the LTS Version
[14:03] <xperia_> new LTS version
[14:03] <twb> They're both LTS
[14:03] <xamanu> twb: no it says 5.1
[14:03] <xperia_> the new released this year
[14:03] <twb> xamanu: so what's the problem?
[14:03] <twb> xperia_: well, prior to upstart, you could hit ^C and kill off just about any init script.
[14:03] <xamanu> twb: but mysql -u root -p leads me to the mysql4
[14:04] <twb> xperia_: last time I looked, upstart didn't have that, so you are royally screwed
[14:04] <twb> xperia_: you could try a ctrl+alt+del and bounce into busybox and recover from there
[14:04] <twb> xamanu: I don't know what you mean by that.
[14:04] <xamanu> twb: Server version: 4.1.14-pro
[14:05] <twb> xamanu: OK, so you have a mysql 5.1 client, a mysqld 4.1 in the usual place, and a mysqld 5.1 running somewhere else.
[14:05] <xperia_> ctrl alt del works but it reboot direct
[14:05] <xperia_> and it hangs again
[14:05] <xperia_> at fsck
[14:06] <jo-erlend> twb, if fsck doesn't complete, then it'll be run at next boot, right?
[14:06] <xamanu> twb: i guess :D what can i do to access the mysql5?
[14:06] <twb> xperia_: now stick a "single" or a "break" in your boot script, so that you can get into a recovery shell.
[14:06] <twb> xamanu: find out where it lives and point the mysql client at that place
[14:06] <twb> xamanu: where "lives" is probably an IP and a port, or perhaps a socket.
[14:06] <twb> jo-erlend: right.
[14:06] <twb> xperia_: did you recently UPGRADE to 10.04.0?
[14:07] <xperia_> twb: no fresh intall
[14:07] <jo-erlend> twb, he never lets fsck complete, which is why it runs all the time.
[14:07] <twb> xperia_: since I don't have any other ideas, I suspect that either 1) upstart isn't running the jobs it should; or 2) your RAID controller/driver is screwy.
[14:07] <twb> jo-erlend: how do you know fsck isn't completing?
[14:07] <twb> jo-erlend: oh ,right, I see.
[14:08] <xperia_> till yet everything worked
[14:08] <xperia_> no problems
[14:08] <jo-erlend> twb, he's been saying that several times. He pulls the plug because it takes so long, and he's angry because it runs at the next boot.
[14:08] <xperia_> only this stupid fsck
[14:08] <xperia_> breaks everything now
[14:08] <jo-erlend> xperia_, the problem is that you never let it finish.
[14:08] <twb> jo-erlend: that's dumb; he should be using ctrl+alt+del
[14:08] <jo-erlend> it's not broken.
[14:08] <twb> Even if it *does* finish, pulling the plug out will make it start again
[14:09] <twb> xperia_: how big is the ext4 filesystem you're fscking?
[14:09] <xperia_> jo-erlend: from my side of view fsck dont work it hangs
[14:09] <jo-erlend> xperia_, let fsck complete, then configure the bootup check frequency to a higher number.
[14:09] <xperia_> twb: 64 GB
[14:09] <twb> OK, then it should take maybe ten minutes -- not one minute, and not one hour
[14:09] <twb> Unless your controller is retarded, in which case all bets are off
[14:10] <twb> I had some of those HP controllers and I had to throw them out for being too stupid to waste my time with
[14:10] <xperia_> well i would wait even 2 Hours if at least something change on the screen but it dont happen anything
[14:11] <jo-erlend> how long have you waited?
[14:11] <xperia_> it is just one line all the time with the same numbers and in such case fsck should be CTR-C
[14:11] <xperia_> well now for sure around 5 to 10 Minutes
[14:11] <twb> xperia_: so just to confirm: you let fsck complete -- it printed "/dev/cciss/c0d0p1: clean" -- and you then type ctrl-alt-del and it did a fsck on the VERY NEXT boot?
[14:11] <xperia_> yes
[14:11] <xperia_> you forget however the numbers
[14:11] <jo-erlend> xperia_, and you only have one partition?
[14:12] <twb> That shouldn't happen.
[14:12] <twb> 23:06 <twb> xperia_: now stick a "single" or a "break" in your boot script, so that you can get into a recovery shell.
[14:12] <jo-erlend> xperia_, those numbers are printed when fsck completes.
[14:12] <twb> I'd also bounce into the RAID BIOS and have it do whatever verification it can
[14:12] <xperia_> ahh okay then i should try again ctrl alt del
[14:13] <xperia_> what should i look in the bios
[14:13] <twb> ctrl+alt+del is the right way to do a soft reboot
[14:13] <xamanu> twb: I don't think it is an IP. should be on localhost. so a socket maybe. how can I find this out?
[14:13] <xamanu> twb: I know; I'm asking anoying questions..... sorry. thank you so much for helping
[14:14] <twb> Dunno, mysql is for people too lazy or dumb to use sqlite for toys and postgres for production.
[14:14] <twb> Try #mysql
[14:15] <xamanu> twb: haha, you are right. thanks again!
[14:18] <SirStan> Anyone having issues starting SSH on 10.04 LTS Server?
[14:18] <twb> !anyone
[14:18] <xperia_> twb: rebooted right now in the bios. the raid controller is a "hp smart array 5304-128 Controller"
[14:18] <SirStan> ubottu: I did ask a question.
[14:18] <SirStan> twb even.
[14:19] <twb> SirStan: then: no, since I'm still running 8.04.
[14:19] <SirStan> twb: Signal to noise.
[14:19] <SirStan> SSH in 10.04 wont start, it bitches about '/dev/null' not existing, eminating from line 17 of the init script.
[14:20] <xperia_> SirStan: i am having problems to login over ssh to the server
[14:20] <twb> SirStan: see, that was the kind of information I expected in your first message.
[14:20] <SirStan> twb: signal to noise.
[14:20] <twb> Plonk.
[14:21] <twb> xperia_: presumably a different server to the one that won't start at all. ;-)
[14:21] <SirStan> SSH Err -> http://i.imgur.com/pYflC.png
[14:21] <xperia_> SirStan: my problem is fsck it hangs allways there. will use now a live cd and try to hack the boot scripts but it looks like ubuntu server lts fucked up
[14:21] <SirStan> time to downgrade to 8.04 eh?
[14:21] <xperia_> twb: it is the same server. i just wrote what i have seen on the Screen
[14:22] <twb> xperia_: I'm not familiar with RAID BIOSes, sorry.
[14:22] <xperia_> man this drives me crazy.
[14:25] <cybrocop> SirStan: can you do this:   "ls -ld /dev/null"  (minus the quotes)
[14:25] <twb> xperia_: I don't suppose you have a support contract with HP?
[14:25] <SirStan> cybrocop: srwxr-xr-x 1 root root 0 2010-05-26 15:38 /dev/null
[14:26] <xperia_> twb: buyed the server from ebay :-)
[14:26] <xperia_> and no i dont have such a contract with HP
[14:26] <twb> Anyway, you should still be bouncing through single/break and debugging the init process.
[14:26] <cybrocop> SirStan: Something is wrong with your install. /dev/null must be a character device and it should be there for every install.
[14:26] <SirStan> cybrocop: Clean install from 10.04 LTS
[14:27] <cybrocop> SirStan: According to your output, /dev/null is a regular file.
[14:27] <cybrocop> SirStan: This is what the output should look like: crw-rw-rw- 1 root root 1, 3 2010-05-26 20:08 /dev/null
[14:27] <cybrocop> SirStan: A lot of people are running 10.04 LTS and I have done a "clean install" about 10 times this past week. Never seen this problem.
[14:28] <SirStan> Dunno what to tell you.
[14:28] <SirStan> Now you haev.
[14:28] <cybrocop> SirStan: Is it repeatable? Can you do a re-install as there seems to be a serious OS process. Did you get any errors during installation?
[14:29] <cybrocop> process -> problem
[14:29] <twb> same thing :P
[14:29] <_tydeas_> which is the lifespan of the ubuntu server?
[14:29] <twb> Well, I meant 'process' in general terms, not pid 1
[14:29] <rgreening_> ScottK: hey. Got a question regarding proceeding on that SRU for tacacs+ now that it's in Maverick
[14:30] <twb> _tydeas_: you mean support lifetime; as in, when is it EOLed?
[14:30] <Pici> _tydeas_: LTS releases are supported for 5 years, other releases are supported for 18 months.
[14:32] <_tydeas_> i am between installing centos or ubuntu server ( my collegues support it ) and i am searching to find out what to choose
[14:33] <twb> *some packages* in LTS are supported for five years.
[14:34] <SirStan> _tydeas_: are you a debian or redhat shop :)
[14:34] <twb> e.g. most of gnome is probably only three years for LTS, even if you install it on a server, because it's considered part of desktop
[14:34] <twb> _tydeas_: if everyone you know uses centos, it's best for you to use centos.
[14:35] <twb> _tydeas_: even if distro A beats distro B, you won't enjoy A if you don't have any support for it.
[14:36] <ScottK> rgreening_: SRU or backport?
[14:36]  * ScottK doesn't recall details.
[14:37] <MTecknology> Is it possible to have samba setup so one user accesses the share, but then uses a different user account to write the files through that share?
[14:38] <rgreening> ScottK: hmm... tacacs+ doesn't exist in Lucid, but I would like it to be added.
[14:38] <rgreening> due to it being an LTS
[14:39] <SirStan> cybrocop: reinstalling
[14:39] <rgreening> ScottK: so, I would like to enlist you direction in getting me there correctly :)
[14:39] <twb> MTecknology: you mean a single individual having two accounts?
[14:39] <cybrocop> SirStan: Please also verify your installation media and make sure that there are no errors on it.
[14:39] <SirStan> cybrocop: iso, crc matches
[14:42] <rgreening> ScottK: the software has no interaction with anything else, and only adds a missing service, the ability to provide AAA (authentication, authorization and accounting) services for various NAS devices (like those from Cisco), and it is a service currently missing from our offering.
[14:43] <rgreening> ScottK: so, it is low to no risk at all, and is being actively maintained and in Debian and consequently in Maverick now.
[14:43] <MTecknology> twb: two samba accounts -> one system account
[14:43] <rgreening> so we should get bug fixes and security updates fairly regularly if/when they occur.
[14:44] <twb> MTecknology: I'm not sure.  Ask #samba.
[14:44] <twb> MTecknology: I *think* you can samba accounts that don't associate with any unix account at all.
[14:45] <twb> e.g. point samba at LDAP and don't point pam at LDAP
[14:46] <rgreening> ScottK: I have just built and uploaded to my PPA with a Lucid build. It builds cleanly under Lucid. And should via the PPA (buildds). After that, I'll setup and test it via a Lucid VM/Server I have. If all runs fine, I'll need some direction and a seal of approval to get in officially in Lucid. I have no issues maintaining this package BTW goin forward
[14:46] <rgreening> :)
[14:46] <MTecknology> twb: alrighty, thanks
[14:47] <cybrocop> SirStan: What kind of HW do you have?
[14:47] <xperia_> twb: jo-erlend: fixed the problem. last time i have copyed from ubuntu server that runs very well this line from /etc/fstab in the new installed servers fstabs file "/dev/sda3 	/media/usbdisk	auto	user,rw,exec" and exactly this line caused the hanging of the server
[14:48] <xperia_> commentd this line now out and it works like it should now
[14:48] <twb> xperia_: that might be because /dev/sda points to the cciss array's first node
[14:49] <twb> You should (almost) never address a USB block device by its device name, anyway.
[14:49] <twb> Use UUID or LABEL
[14:49] <cybrocop> SirStan: https://launchpad.net/ubuntu/+bug/63031  <-- May be related. Once you reinstall, make sure to go through syslog. I wonder if there are any other errors before OpenSSH that may give you a clue.
[14:53] <xperia_> twb: thinked ubuntu will work the same way like on the other mashine that is why i have jut copyed. but okay thnaks a lot for your helpfull answers here
[14:54] <xperia_> good need now to work on the server. lost about two hours. see you all later. bye
[14:54] <twb> xperia_: try "blkid /dev/sda3" to get info about it
[14:54] <c13> Hallo i am using a transparent squid. I can do web login sessions on the server, but not so on the clients. Do you have any hint for me?
[14:55] <twb> c13: on which server?  You mean when you do "w3m http://127.0.0.1" on the host running the httpd?
[15:00] <c13>  I can do web login sessions on the machine that runs squid, but not so on the clients from the network
[15:01] <twb> That would be because the host running squid isn't subjected to transparent proxying
[15:06] <c13>  how to make it transparent, when I already have "(Insert Line with transparent)" in the conf
[15:06] <c13> insert line: http_port 192.168.0.10:3128 transparent
[15:07] <c13> what do you mean by "subjected to transparent squid"
[15:18] <smoser> mathiaz, ping
[15:18] <smoser> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/583542
[15:18] <smoser> so you declined that for lucid because it doesn't have a fix.
[15:18] <twb> Normal transparent proxying would be done with a -A PREROUTING ! -s 1.2.3.4 -p tcp --dport http -j DNAT --to 1.2.3.4 rule on a router.
[15:18] <smoser> but if someone came up with a magical fix, they would no longer be able to "nominate for lucid" is that correct ?
[15:19] <twb> You obvious can't DNAT requests from 1.2.3.4, because then squid's own requests would be transparently proxied back to itself
[15:44] <xoen> hi all
[15:44] <xoen> I can't start mysql :(
[15:44] <SpamapS> xoen: I believe there are some bugfixes coming for that
[15:44] <xoen> I'm really lucky :P!
[15:45] <binBASH> anyone know a good server monitoring tool?
[15:45] <xoen> I don't use mysql-server from some weeks and when I need it doesn't work :P
[15:46] <SpamapS> binBASH: monitoring really has several pieces.. data collection, health checking, alerting .. which are you interested in doing?
[15:47] <binBASH> SpamapS: Actually a tool where I can log into web frontend and have a list of servers and see the disk usage, etc.
[15:48] <xoen> I've done this : $ sudo apt-get purge mysql-server-5.1 phpmyadmin so now my system *should* be clean...I try to reinstall it
[15:48] <SpamapS> binBASH: munin is good for that, ganglia too.
[15:50] <xoen> OK, it asked me the password for root mysql user but it can't be setted because it tell it's already setted...
[15:50] <xoen> $ sudo start mysql
[15:50] <xoen> start: Job failed to start
[15:55] <xoen> is there a place where I get more information?
[15:57] <cybrocop> Spamaps, to extend on binBash's question, will munin and ganglia allow for writing custom scripts.   We manage several web resources, but for performance resources have local copies of those websites running. (when the user selects a special squid server, they're served with local copies.) Then we sync the content between local and remote daily. I need a way to make sure the content is properly synced all the time.
[15:57] <cybrocop> Spamaps, what do you think of Nagios?
[15:58] <zul> xoen: check your mysql logs to see if you any corrupt tables
[15:58] <SpamapS> cybrocop: Nagios is for health checking and alerting, which isn't what binBash wants. Nagios is *amazing* for health checking and alerting.
[15:58] <SpamapS> cybrocop: munin in particular is good when you have nagios, as it has built in support for feeding data into nagios
[15:59] <xoen> @zul I'm removing mysql-server and everything related (/etc/init.d/mysql /etc/mysql/ and /var/lib/mysql/) and installing it again....
[15:59] <SpamapS> cybrocop: Nagios is really, really awful for data collection and instrumentation though.. and after years running nagios grapher, which tries to shoe-horn it in.. I think its better done by munin
[16:00] <cybrocop> smoser, jdstrand: UT?
[16:00] <smoser> the university of texas ?
[16:00] <cybrocop> smoser: it can mean a lot of things, but I thought "You there" was a popular interpretation. :)
[16:01] <jdstrand> I'm here, but haven't had a chance to dive into the bug yet
[16:01] <smoser> well, one way or another "The Eyes of Texas" is now stuck in my head
[16:01] <smoser> which isn't going to make kirkland happy
[16:01] <cybrocop> smoser: I thought I was done with reporting on the bug but there are some new developments.
[16:01] <SpamapS> cybrocop: also to answer your other question, munin has a really simple plugin architecture that makes it very easy to write very powerful monitoring/data collection scripts
[16:01] <cybrocop> Spamaps: Thanks, I'll investigate it.
[16:02] <cybrocop> smoser:  OK, so remember how I rebuilt node01... After a clean rebuild it worked. Then I purged apparmor and it stopped working. Then I reinstalled apparmor and it started working again.
[16:02] <SpamapS> cybrocop: as a side note, we're working on some new things to de-couple collection from instrumentation so that each node collects its own data, and things like munin just build the graphs.. :) stay tuned:  https://blueprints.launchpad.net/ubuntu/+spec/server-maverick-monitoring-framework
[16:03] <cybrocop> spamaps: thanks. :)
[16:03] <xoen> @zul I've received an error : http://pastebin.com/AMfwY34c
[16:04] <xoen> @zul this appens when I've installed mysql-server-5.1
[16:04] <binBASH> SpamapS: I wonder if Zenoss is any good ;)
[16:04] <zul> check your mysql tables
[16:05] <SpamapS> xoen: many IRC clients won't recognize that.. (such as irssi.. the one I'm using) .. you might want to try <nick>: instead of @<nick>
[16:05] <SpamapS> binBASH: I've heard good things, but have never used it.
[16:05] <xoen> SpamapS: thank you :)
[16:05] <cybrocop> jdstrand/smoser: Well, today, this is what I did. Node01 was working fine 30 mins ago. All I did was:
[16:05] <cybrocop> cp -rp /var/lib/eucalyptus/instances/* /UEC/instances
[16:05] <cybrocop> rm -rf /var/lib/eucalyptus/instances
[16:05] <cybrocop> cd /var/lib/eucalyptus/ ; ln -s /UEC/instances
[16:05] <binBASH> SpamapS: You know the last time I used monitoring software was big brother :)
[16:06] <JamesHarrison> apt has held back linux-generic and linux-image-generic packages, safe to update those if I've not done any kernel level tinkering?
[16:06] <xoen> zul: how can I check my mysql tables?
[16:06] <cybrocop> smoser/jdstrand: And the problem came back!
[16:06] <cybrocop> [Thu May 27 19:54:56 2010][001711][EUCAERROR ] libvirt: monitor socket did not show up.: Connection refused (code=38)
[16:07] <smoser> yeah.
[16:07] <smoser> its app armour
[16:07] <smoser> you can't do that
[16:07] <jdstrand> smoser: he removed apparmor
[16:07] <smoser> no.
[16:07] <zul> xoen: you'll have to check google
[16:07] <cybrocop> jdstrand: I reinstalled it in order to make libvirtd happy again.
[16:07] <smoser> (purged, it broke, reinstalled it worked, then cp -rp ... ln
[16:08] <smoser> and it broke
[16:08] <jdstrand> ah
[16:08] <smoser> apparmour is denying you access because of the symlinks
[16:08] <jdstrand> cybrocop: then yes, apparmor necessarily realpaths symlinks
[16:08] <jdstrand> cybrocop: you need to update the profile
[16:08] <xoen> zul: But I've deleted everything (I believe) and reinstalled mysql-server...
[16:08] <cybrocop> smoser: so how can I make the instances live on a RAID partition
[16:08] <wise_crypt> !google
[16:08] <smoser> cybrocop, i'd suggest mounting that directory there
[16:09] <smoser> alternatively i think you can configure where the path /var/lib/eucalyputs
[16:09] <xoen> @zul ahahha it's cool, a bot defended me :P
[16:09] <cybrocop> smoser:  OK. Have to run now. I'll try this.
[16:09] <SirStan> cybrocop: i reinstalled, and now /dev/null is a character device. . wtf..
[16:09] <jdstrand> actually, it would be better to see the dmesg
[16:10] <xoen> (ops I used the @user again :()
[16:10] <jdstrand> since the driver should take care of the realpathing and adjust the profile accordingly
[16:11] <wise_crypt> xeon: you might also want to joint this #mysql may be they have a clue
[16:11] <jdstrand> it is probably virt-aa-helper that is doing the denying
[16:11] <jdstrand> (come to think of it)
[16:11] <xoen> wise_crypt: OK, I'll try in #mysql... :)
[16:12] <binBASH> jdstrand: Btw. I checked the virt-manager machine cloning again.
[16:13] <binBASH> locally I can clone a machine, seems like I just can't clone remote
[16:14] <xoen> wise_crypt: of course mysql doesn't work when I need it :P
[16:15] <wise_crypt> xeon: eh ? u should register your nick then
[16:15] <wise_crypt> !hi > xeon
[16:16] <jdstrand> binBASH: that sounds like a non-apparmor issue.... I advise filing a bug. Please check kern.log on the local host and remote for any apparmor messages and add them to the bug
[16:16] <wise_crypt> !hi | xeon
[16:18] <mathiaz> smoser: hi!
[16:19] <mathiaz> smoser: hm - you're right - the bug cannot be nominated for lucid anymore :/
[16:19] <smoser> that sucks
[16:19] <mathiaz> smoser:hm - actually no
[16:19] <mathiaz> smoser: I can still accept it
[16:20] <smoser> but i can't nominate it
[16:20] <mathiaz> smoser: however I think it can't be *nominated* anymore
[16:20] <smoser> :)
[16:20] <mathiaz> smoser: right - using the nominate for release link?
[16:20] <binBASH> jdstrand: For me it more looks like the virt-manager doesn't watch for the disk image on remote server, but on the local host it's running at.
[16:20] <smoser> right. lucid will not appear (or karmic)
[16:21] <mathiaz> smoser: ok - I'll take this into account then
[16:21] <mathiaz> smoser: should I accept that specific bug for lucid now?
[16:21] <mathiaz> smoser: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/583542
[16:21] <smoser> no
[16:21] <smoser> this was a theory thing
[16:21] <smoser> :)
[16:21] <mathiaz> smoser: ok - great
[16:22] <mathiaz> smoser: thanks for letting me know
[16:22] <mathiaz> smoser: I'll have to take this one into account when updating the SRU process
[16:25] <binBASH> btw. someone knows what this iptables message is? http://www.pastie.org/980085
[16:28] <jorgelinux> how can I get kernel modules to get installed at /lib/modules ???? is there any package?
[16:29] <jo-erlend> why does postfix have its own hosts resolve.conf, nsswitch.conf, etc?
[16:30] <simplexio> jorgelinux: default they are in /lib/modules/
[16:30] <jo-erlend> I mean those that are stored in /var/spool/postfix/etc
[16:30] <jorgelinux> simplexio, I don't have any files in /lib/modules
[16:32] <lamont> jo-erlend: because it chroots into /var/spool/postfix, and those files are kinda needed to do things...
[16:32] <xoen> mysql-server package installs something out of /etc/mysql /var/lib/mysql and /etc/init.d/mysql?
[16:32] <simplexio> jorgelinux: hmm. actually i dont know which package install all modules. there linux-image, linux-backports-modules and linux-restricted-modules packages
[16:32] <jo-erlend> lamont, ah.. Thanks. :)
[16:34] <kirkland> hggdh: i have an easy fix for you on your loop issue
[16:34] <kirkland> hggdh: do you have a cloud where you can test this now?
[16:39] <webPragmatist> hey after I modify the rate parameter a for drbd how is it supposed to speed up
[16:39] <webPragmatist> i have reloaded the drbd daemon config
[16:40] <webPragmatist> oh wait nm it got faster :)
[16:40] <webPragmatist> look at that hawt vm action http://screencast.com/t/M2M3ODM3ZDIt
[16:41] <webPragmatist> is there a way to monitor a /proc file continuously
[16:44] <tarvid> snmpd
[16:45] <SpamapS> webPragmatist: do you want to do a health check or collect stats?
[16:45] <SpamapS> webPragmatist: there are drbd monitor scripts for nagios on nagiosexchange.org (worst domain name ever btw) ...
[16:45] <webPragmatist> SpamapS: got it using watch
[16:45] <SpamapS> oh just for a while, yeah watch is perfect. :)
[16:46] <SpamapS> xoen: are you getting errors in /var/log/syslog?
[16:46]  * zul lunches
[16:49] <cybrocop_> smoser: sorry I had to run... But, if it is apparmor shouldn't it leave logs somewhere?
[16:49] <smoser> thats why jdstrand was asking about dmesg
[16:49] <xoen> SpamapS: yes http://pastebin.com/za24F8fQ (this is grep -i mysql /var/log/syslog)
[16:49] <smoser> but your cp and then fail surely indicates that
[16:50] <smoser> cybrocop_,
[16:50] <smoser>        INSTANCE_PATH="/var/lib/eucalyptus/instances/"
[16:50] <smoser> http://manpages.ubuntu.com/manpages/lucid/man5/eucalyptus.conf.5.html
[16:50] <smoser> is how you would put that elsewhere.
[16:51] <webPragmatist> is there an offsite third party backup like crashplan for ubuntu (that's not a desktop gui, i'd actually use crashplan if not?)
[16:51] <cybrocop_> smoser: OK. I can fix the instance path.
[16:51] <webPragmatist> or what would you guys suggest
[16:51] <webPragmatist> I don't feel like running another server to keep backups
[16:52] <smoser> cybrocop_, if that indeed fixes your problem , please summarise and  close the bug
[16:53] <cybrocop_> smoser: that doesn't close the root cause of teh bug. Yesterday, when I reported the bug, I wasn't using symlinks.
[16:53] <smoser> thats what i thought.
[16:53] <cybrocop_> smoser: And yesterday, I hadn't reinstalled apparmor.. It was in disabled state so it never should've prevented me from running my instances.
[16:54] <cybrocop_> smoser: I'm now trying to run the instance again to see if it leaves any logs or dmesg.
[16:54] <hggdh> kirkland: we can use the test rig (right now on topo2. But there is not much space available there
[16:55] <hggdh> kirkland: about 55G in total
[16:55] <cybrocop_> smoser: I'm assuming that in normal (non-buggy) operation, it should leave something in the syslog that it prevented kvm from following symlinks.. correct?
[16:56] <smoser> i dont know.  ask jdstrand for why that would or would not happen. i know that it doesnt afaik.
[17:03] <cybrocop_> smoser/jdstrand: My bad. As opposed to yesterday, this time there are logs indicating the operation was denied. Here is the dmesg: http://slexy.org/view/s2HefYKUan
[17:11] <cybrocop_> smoser: setting the INSTANCE_PATH variable worked. Thanks.
[17:12] <webPragmatist> Any of you tried to backup using davfs or the like? With maybe rdiff-backup or something eqiuvalent? Suggestions?
[17:40] <ScottK> rgreening: File a bug against lucid-backports, say that the package builds, installs, and runs, and then give me a ping.
[17:42] <rgreening> ScottK: ok. I'll be testing it tomorrow, most likely, so prob no ping today. ty for the assist
[17:44]  * zul returns
[17:44] <lunaphyte_> i've upgrade from karmic to lucid.  things appear to have generally gone well, but now when i do dpkg-reconfigure grub-pc, it's somehow decided i've "chose not to install grub to any devices".  why?
[17:47] <webPragmatist> RoAkSoAx: you around
[17:54] <Hypnoz> I am trying to pxe image using a local apt-mirror. Kickseed file loads, gets dhcp IP, but then throws this error when i starts looking for the packages to install http://dpaste.de/NU2t/
[17:55] <Hypnoz> I have tried getting the netboot files from the newest ubuntu-8.04.4-server-amd64.iso as well as the newest ubuntu-8.04.4-alternative-amd64.iso
[18:02] <webPragmatist> When I do sudo csync2 -k /etc/csync2_ssl_cert.key it just hangs?
[18:12] <Hypnoz> webPragmatist: what was the point of doing that in #ubuntu?
[18:13] <webPragmatist> lots
[18:14] <Hypnoz> webPragmatist: I can totally see how spamming the channel and getting banned would benefit you
[18:14] <webPragmatist> that's the fun thing about the internet.
[18:28] <Scunizi> I'm looking at installing Sobby or Infinoted on my server.. both seem the same.. what's the difference?
[18:30] <c13> Hallo i want to use the squid over firestarter. how can i configure the firestarter to accept the squid that all the traffic goes over the transparent squid?
[18:33] <ScottK> Scunizi: The infinote one is a newer version with a different on the wire protocol.  Gobby 0.5 and Kobby are compatible with it.
[18:35] <elb0w> I want to swap from debian server to ubuntu server give me some supporting reasons :o
[18:36] <Scunizi> ScottK: ok.. thanks.. so kobby on the kde machines and gobby on the gnome machines and infinote on the server...
[18:36] <ScottK> Yes.
[18:37] <Scunizi> once I ap-get infinote on the server.. will kobby/gobby find it automatically on the LAN ?
[19:02] <hggdh> jiboumans: ping
[19:02] <jiboumans> hggdh: on calls, mail is probably best
[19:02] <hggdh> jiboumans: k
[19:03] <webPragmatist> hey
[19:03] <webPragmatist> any of you guys use csync2
[19:04] <webPragmatist> does csync2 -k just return a small key?
[19:04] <webPragmatist> mine ends up just getting stuck and has a file like http://screencast.com/t/YTc0OTA0MTEt
[19:05] <ScottK> Scunizi: No.  When that are started, they have to say where the session they are joining is located.
[19:10] <webPragmatist> hrm
[19:10] <webPragmatist> maybe my entrophy sucks?
[19:10] <webPragmatist> entropy?
[19:10] <webPragmatist> it's taking forever to make this key
[19:11] <webPragmatist> oop
[19:11] <webPragmatist> http://lists.linbit.com/pipermail/csync2/2005-December/000063.html
[19:19] <webPragmatist> ahahaha this is a new one
[19:20] <webPragmatist> i guess this is what happens wen you cat /dev/urandom http://screencast.com/t/NzE4Yjg5N2Et
[19:23] <xoen> hi all, after hours spent fixing a problem with my mysql server now I've installed phpmyadmin but I can't access it
[19:23] <xoen> if I go to http://localhost/phpmyadmin I get error 404
[19:23] <xoen> I'm using Ubuntu 10.04
[19:24] <xoen> I'm going crazy :P
[19:24] <Scunizi> xoen: not sure what the port number is but it's typically written like this.. http://localhost:<port number of service/program"
[19:25] <xoen> Scunizi: usually after I installed phpmyadmin just worked without port number (so port 80 I guess)
[19:25] <Scunizi> xoen: so did you try http://localhost   without /phpmyadmin?
[19:26] <Scunizi> that would be port 80
[19:26] <xoen> Scunizi: apache works
[19:26] <xoen> Scunizi: I've also configured a vhost with a Zend Application inside of it and it works :)
[19:26] <Scunizi> yes.. but if phpmyadmin is on port 80 then there is no need for /phpmyadmin at the end of the address unless it's in a subdirectory of /var/www
[19:27] <xoen> Scunizi: I don't know why but I've never seen phpmyadmin in /var/www but always worked
[19:28] <Scunizi> xoen: I don't really use phpmyadmin so I'm not aware of the specifics on how to get to the admin page.. just guessing here..
[19:28] <xoen> Scunizi: PhpMyAdmin files should be in /usr/share/phpmyadmin
[19:28] <xoen> Scunizi: Don't worry :)
[19:31] <Scunizi> I've got infinoted (gobby server) installed on a local server and have connected to it with a windows box and my kubuntu box.. user highlighting works on the windows box with gobby but is not working on the kubuntu box with kobby.. Any ideas why?
[19:32] <webPragmatist> what should cat /proc/sys/kernel/random/entropy_avail read
[19:32] <webPragmatist> and how can i increase this so my stuff can generate keys
[19:43] <RoyK> anyone here using Hardy on a Xen DomU?
[19:44] <elb0w> why is the only server version I find named amd64bit
[19:44] <elb0w> what about intel
[19:45] <lifeless> all the repositories are the same, so you can take 32 bit and remove the desktop + install server bits
[19:45] <lifeless> amd32bit is == EMT64 - its intel or amd 64 bit, but not IA-64 (thats different again)
[19:46] <elb0w> will amd64bit install and run properly on intel64bit?
[19:49] <lifeless> depends what you mean by intel64bit
[19:50] <lifeless> its not, on its own, a well defined term. You might be meaning itanium, or you might be meaning EM64T
[19:53] <Hypnoz> elb0w: yes, it will be fine
[19:53] <Hypnoz> elb0w: we run all intel processors in my datacenter, amd64 just means its the standard 64 bit image, not that its meant for amd chips
[19:53] <Hypnoz> elb0w: I also agree its a stupid naming standard
[19:55] <elb0w> yeah
[19:55] <elb0w> meant space
[19:56] <elb0w> sorry
[19:56] <elb0w> wasnt sure we have all intel boxes here
[19:56] <elb0w> and were wiping debian out
[19:56] <elb0w> to put ubuntu
[19:56] <elb0w> didnt want it to be a long night
[19:58] <xoen> someone can help me with phpmyadmin? http://localhost/phpmyadmin doesn't work ("The requested URL /phpmyadmin was not found on this server.")
[19:59] <elb0w> sounds like an httpd issue
[19:59] <thrain][> xoen: do you have access to the httpd log file?
[19:59] <elb0w> /var/log/httpd/error_log
[20:01] <Hypnoz> xoen: can you ls -l of this dir /etc/apache2/conf.d
[20:02] <Hypnoz> is there a phpmyadmin sym link in there?
[20:02] <xoen> now I check...
[20:02] <elb0w> learn mysql from chell imo
[20:02] <elb0w> :o
[20:02] <elb0w> shell*
[20:02] <Hypnoz> don't get into this bs argument its been done
[20:02] <elb0w> hahaha
[20:03] <elb0w> I dont argue
[20:03] <elb0w> I give advice
[20:03] <Hypnoz> phpMyAdmin is an nice tool for creating databases and tables
[20:03] <elb0w> I guess its a long term thing
[20:04] <elb0w> those will hurt you in the long run
[20:04] <xoen> apache works
[20:05] <Hypnoz> what about /etc/apache2/conf.d/
[20:05] <Hypnoz> is there a phpmyadmin.conf symlink inthere
[20:05] <xoen> I've also a vhost with a Zend Framework application and it works
[20:05] <elb0w> xoen, ls -l /etc/appache2/conf.d/
[20:05] <Hypnoz> seriously
[20:05] <xoen> Hypnoz: no there is phpmyadmin.conf symlink
[20:06] <elb0w> how did you install phpmyadmin?
[20:06] <elb0w> repos?
[20:06] <xoen> elb0w: yes I've installed with apt-get
[20:07] <elb0w> what command did you give?
[20:08] <xoen> elb0w: sudo apt-get install phpmyadmin
[20:08] <elb0w> do this
[20:08] <xoen> Hypnoz: http://pastebin.com/nMkYxxZt
[20:08] <elb0w> echo 'Include /etc/phpmyadmin/apache.conf' >> /etc/apache2/apache2.conf
[20:08] <Hypnoz> xoen: cd /etc/apache2/conf.d/ && sudo ln -s ../../phpmyadmin/apache.conf phpmyadmin.conf && sudo /etc/init.d/apache2 restart
[20:09] <Hypnoz> ya elb0w's way will work too i guess
[20:09] <Hypnoz> my way is just how it was auto-setup on my machine
[20:10] <xoen> Hypnoz: elb0w: so it's better do as it was auto-setup?
[20:10] <elb0w> it doesnt matter
[20:10] <elb0w> theyll both accomplish the same
[20:10] <Hypnoz> xoen: you should also try "grep -i phpmyadmin /etc/apache2/*"
[20:10] <Hypnoz> to see if anything comes up
[20:10] <elb0w> yeah
[20:10] <elb0w> also check that /etc/phpmyadmin exists
[20:11] <xoen> Hypnoz: no result from grep
[20:11] <elb0w> does /etc/phpmyadmin exist?
[20:11] <Hypnoz> then ya, do either method, and restart apache2
[20:11] <xoen> elb0w: /etc/phpmyadmin exists
[20:12] <elb0w> then do sudo echo 'Include /etc/phpmyadmin/conf' >> /etc/apache2/apache2.conf
[20:12] <elb0w> or how hypnoz showed you
[20:12] <elb0w> then sudo /etc/init.d/apache2 restart
[20:12] <elb0w> oh wait
[20:12] <elb0w> dont do what I said
[20:13] <elb0w> sudo echo 'Include /etc/phpmyadmin/apache.conf' >> /etc/apache2/apache2.conf
[20:13] <elb0w> forgot apache.conf
[20:13] <elb0w> lol.
[20:14] <xoen> elb0w: I LOVE YOU
[20:14] <xoen> Hypnoz: I LOVE YOU
[20:14] <elb0w> i guess it worked
[20:14] <xoen> (in alphabetical order :P)
[20:14] <Hypnoz> <3
[20:15] <xoen> yes it worked. Really I love you, I thinked about killing myself ahahah :P
[20:15] <xoen> (just kidding)
[20:15] <Hypnoz> when you work with open source software every day how can you not consider that at times
[20:15] <RoyK> Hypnoz: it's not really a stupid naming standard - the instruction set was defined by AMD, not Intel
[20:16] <Hypnoz> then it's just amd being egotistical
[20:16] <wise_crypt> xoen :  :)
[20:16] <Hypnoz> and confusing people by not calling it x86_64 or something
[20:16] <xoen> Hypnoz: I feeled so stupid having problem with this thing that worked everytime for me :P
[20:17] <Hypnoz> past tense of feel is felt
[20:17] <Hypnoz> i know english is confusing as hell :(
[20:18] <xoen> Hypnoz: thank you, sorry for my english, I'm talking just because I need phpmyadmin ahahah
[20:18] <Hypnoz> there is no reason for half the crap that goes on in english
[20:18] <Hypnoz> http://www.beautifulperth.com/dumbenglish.html
[20:19] <xoen> wise_crypt: I love you too, you know :P?
[20:19] <webPragmatist> http://www.beautifulperth.com/comp.html
[20:20] <webPragmatist> i feel so much smarters
[20:20] <webPragmatist> Some Companies will pay you to serf the Internet.  It's not a "get-rich" scheme, but you can earn a little extra spending money.
[20:20] <webPragmatist> If you pay by the hour to use the Internet, forget this money making idea.   If you have unlimited Internet access, here's a few sites to get you started.
[20:21] <xoen> OK, next problem :P
[20:22] <xoen> what's this? "$cfg['Servers'][$i]['tracking'] ... 	non OK"  (In PhpMyAdmin)
[20:23] <elb0w> now you ask in #PHP
[20:23] <Hypnoz> yikes
[20:23] <Pici> ##php
[20:23] <xoen> And how can I choose to use InnoDB?
[20:23] <Hypnoz> xoen: sudo apt-get update && apt-get install php5 phpmyadmin
[20:23] <Hypnoz> maybe there is something out of date?
[20:24] <xoen> Hypnoz: OK
[20:24] <Hypnoz> sudo should come before apt-get install too
[20:24] <xoen> Hypnoz: sudo apt-get install --reinstall?
[20:24] <Hypnoz> xoen: I don't see how that could hurt anything
[20:25] <xoen> Hypnoz: So I put --reinstall too :P?
[20:25] <Hypnoz> make sure you do sudo apt-get update
[20:25] <Hypnoz> I haven't used that before, but if that works then sure
[20:25] <RoyK> huh?
[20:25] <RoyK> innodb is in the standard mysql packages
[20:26] <RoyK> alter table engine innodb
[20:27] <RoyK> then tune mysql to share more memory to innodb than myisam
[20:28] <xoen> RoyK: how can I see which engine is used from PhpMyAdmin?
[20:28] <elb0w> hes using php my admin RoyK
[20:28] <RoyK> xoen: my.cnf shows default engine
[20:28] <webPragmatist> is there an easier way to generate entropy than typing a bunch of crap
[20:28] <RoyK> I think it usually is myisam, which sucks
[20:29] <Hypnoz> webPragmatist: use /dev/urandom instead?
[20:30] <webPragmatist> Hypnoz: just symlink /dev/random to it?
[20:30] <webPragmatist> or whats the trick
[20:30] <RoyK> erm
[20:30] <Hypnoz> or maybe if you did a "cat /dev/urandom" that would generate entropy
[20:30] <RoyK> don't do that
[20:30] <leini> tach
[20:31] <xoen> RoyK: I've seen /etc/mysql/my.cnf and there is nothing I think, there is a comment that say InnoDB is the default with 10 MB bla bla bla
[20:31] <guntbert> Hypnoz: in the contrary: that would use up what has been accumulated
[20:31] <webPragmatist> RoyK: yea i've done that lol
[20:32] <webPragmatist> jacked up my terminal
[20:32] <Hypnoz> guntbert: wrong, /dev/urandom doesn't use entropy only /dev/random does
[20:32] <wise_crypt> xeon : j #phpmyadmin
[20:32] <xoen> OK OK I will try for my own :)
[20:32] <guntbert> webPragmatist: within a computer there is no such thing as "randomness" - thats where *you* come in :)
[20:32] <wise_crypt> xeon : :)
[20:33] <webPragmatist> guntbert: well
[20:33] <webPragmatist> guntbert: i've just been pasting random crap into the terminal
[20:33] <webPragmatist> is there a better way to do this lol
[20:33] <RoyK> xoen: see /usr/share/doc/mysql-server-5.0/examples/my-innodb-heavy-4G.cnf.gz for a hint of the innodb tunables
[20:34] <Hypnoz> webPragmatist: in another window (ssh session or ctrl-alt-F2) do "cat /dev/urandom" i'm curious if that will work
[20:34] <webPragmatist> Hypnoz: I did
[20:34] <xoen> RoyK: OK, PhpMyAdmin make me choice the engine when I create a table. I guess I need to stop for today :)
[20:34] <webPragmatist> Hypnoz: do i have to paste it though
[20:34] <webPragmatist> back in
[20:34] <webPragmatist> after i cat
[20:34] <guntbert> Hypnoz: I think you are wrong here (from wikipedia: but the output may contain less entropy than the corresponding read from /dev/random)
[20:34] <Hypnoz> webPragmatist: nope just let that run on the system
[20:34] <webPragmatist> okay
[20:34] <xoen> hey guys I go, thank you very much for the help
[20:35] <xoen> bye
[20:35] <Hypnoz> guntbert: hmmm ... maybe it uses some entropy...
[20:35] <RoyK> xoen: what I meant was how you tune the mysql server - I don't think you can do much of that from phpmyadmin
[20:35] <guntbert> webPragmatist: the generated entropy usually doesn't come from the characters but from your action on the keyboard
[20:35] <xoen> RoyK: I don't plan to tune nothing for the moment :)
[20:35] <MTecknology> how hard is it to setup carp? do I just give my systems one ip and add some config that makes them request another ip?
[20:35] <elb0w> what does ctrl+alt+f2 do?
[20:35] <RoyK> xoen: iirc mysql is set to use some 16MB RAM for innodb by default, perhaps a little more, and quite lower for innodb - you need to tune it up to make innodb good
[20:36] <elb0w> change run level?
[20:36] <MTecknology> elb0w: TTY2
[20:36] <elb0w> ah
[20:36] <elb0w> o cool
[20:36] <elb0w> i never use this
[20:36] <RoyK> alt+left/right works well
[20:37] <guntbert> elb0w: you need the ctrl+alt combination if you are in X
[20:37] <elb0w> gt
[20:37] <webPragmatist> Hypnoz: well the entropy goes up and then goes back dow
[20:37] <webPragmatist> Hypnoz: is the keygenerator like using the entropy up
[20:37] <wise_crypt> xeon : http://www.indowebster.com/MySQL_Bible.html
[20:37] <user_> anyone here using lvm on ubuntu servers.. especially those running databases (MySQL, Postgresql). Does it have any advantage ?
[20:37] <webPragmatist> i'm no expert at this
[20:38] <Hypnoz> user_: one advantage would be the ability to grow the volume size as the database grew I suppose
[20:39] <webPragmatist> Hypnoz: yep that works btw
[20:39] <webPragmatist> cating urandom
[20:39] <guntbert> webPragmatist: of course it is using it up - within a computer there is no such thing as "randomness" (repeating myself :-)
[20:39] <user_> Hypnoz, I'm worried about the performance impact of using lvm
[20:40] <webPragmatist> ahhhhhhhhhhhhh
[20:40] <webPragmatist> i catted for too long
[20:40] <xoen> RoyK: how can I choose innodb engine directly on create table? (last question for today, I promise :P)
[20:40] <xoen> RoyK: the MySQL SQL syntax
[20:42] <RoyK> xoen: the default engine is set in my.cnf
[20:42] <RoyK> xoen: but I don't know if that applies to phpmyadmin
[20:43] <xoen> It should be btw "CREATE TABLE name (...) ENGINE innodb;"
[20:43] <RoyK> yes
[20:43] <RoyK> but then, if you set the default to innodb, you won't need to specify engine
[20:43] <MTecknology> !carp
[20:43] <RoyK> unless you want myisam, that is
[20:43] <RoyK> MTecknology: fish!
[20:44] <MTecknology> RoyK: :P - I'm trying to learn about it but the docs are evasive..
[20:45] <RoyK> MTecknology: http://www.fishbase.org/search.php
[20:45] <MTecknology> RoyK: lol..
[20:46] <xoen> RoyK: I understand what do you mean but the problem is I need to choose innodb because I need transactions and I have a file in which there is the SQL code to create the schema (for a ZF application). So for this reason I need to be explicit (sorry guys for the explicit language :P)
[20:48] <RoyK> xoen: generally you should choose one of the engines and tune mysql for that alone
[20:48] <MTecknology> RoyK: puppet will replace libvirt in 10.10?
[20:48] <RoyK> MTecknology: asking me?
[20:48] <xoen> RoyK: Yes but I'm paranoic so I prefer make things idiot proof :P
[20:49] <MTecknology> RoyK: ya
[20:49] <RoyK> xoen: see the innodb config from the docs, perhaps tune it down if you don't have 4 gigs of memory (or if your db is smaller or using memory for other things). change the tables to innodb
[20:49] <RoyK> MTecknology: no idea :)
[20:50] <MTecknology> RoyK: but you're smart - you should write up some info in the serverguide for setting up carp :)
[20:51] <webPragmatist> Hypnoz: i think it only help you so much
[20:51] <webPragmatist> the cat .dev/uranodm
[20:51] <xoen> Bye guys and thank you again :)
[20:52] <RoyK> MTecknology: sorry  -  no idea about carps unless they swim
[20:53] <guntbert> webPragmatist: believe me or not - the biological factor is not replaceable for getting randomness (you could trace the movements of ants too)
[20:53] <webPragmatist> guntbert i don't really care about entropy this is a testing server
[20:53] <webPragmatist> i just want a damn key lol
[20:53] <MTecknology> RoyK: I want two redundant servers - carp made the most sense
[20:53] <MTecknology> RoyK: know of anything better?
[20:54] <guntbert> webPragmatist: and where is the problem in typing a little pattern ?
[20:54] <RoyK> we use drbd and pacemaker
[20:54] <webPragmatist> guntbert: watcha mean
[20:55] <MTecknology> !info pacemaker
[20:55] <webPragmatist> guntbert: atm cat /dev/urandom wasn't working
[20:56] <guntbert> webPragmatist: sorry if I misunderstood - the usual way to get randomness for the key is to type away at the keyboard in a non-determined way, its the pattern with time that is used, not the characters themselves
[20:57] <RoyK> webPragmatist: start a find / -type f -exec md5sum {} \;
[20:57] <MTecknology> RoyK: how does pacemaker work? can it give a set of computers a certain ip that they share?
[20:58] <RoyK> MTecknology: yes, read the docs :)
[20:58] <RoyK> they are quite extensive
[20:58] <MTecknology> RoyK: thanks for that :D
[20:58] <RoyK> it's service-oriented, not host-oriented, but it works well
[20:58] <MTecknology> !pacemaker
[20:58] <RoyK> !info pacemaker
[20:59] <MTecknology> I was just peaking for a wiki page :P
[20:59] <RoyK> google for pacemaker drbd ubuntu
[20:59] <RoyK> https://wiki.ubuntu.com/ClusterStack/LucidTesting
[21:01] <MTecknology> RoyK: thanks - this looks awesome
[21:08] <tyska> hi guys
[21:09] <tyska> the speed of the internet connection into my instances in UEC are very low. What can i do to speed up that?
[21:10] <MTecknology> RoyK: so if i understand this right... I setup some servers - setup a key for those clusters - then pacemaker handles the start/stop of services on that cluster and the IP's the cluster has - is that about accurate?
[21:19] <tyska> if i have an EBS attached to an instance and then reboot the instance, the EBS is still in use when i run euca-describe-volumes but it cannot be used from the instance
[21:19] <tyska> the volume is not showed with fdisk -l and cannot be mounted
[21:20] <webPragmatist> whats the diff between inetd and xinetd
[21:20] <tyska> besides the volume cannot be detached
[21:21] <tyska> somebody can help me?
[21:22] <RoyK> MTecknology: that's quite correct, yes
[21:24] <webPragmatist> okay nm
[21:25] <webPragmatist> interesting
[21:25] <webPragmatist> RoAkSoAx: 			wake up lol
[21:26] <webPragmatist> RoAkSoAx: i'm interested it knowing why we are using xinetd for csync2
[21:26] <webPragmatist> instead of the standard inetd
[21:26] <webPragmatist> is there something inetd can't do
[21:45] <tomsdale> ForceType text/plain in my webdav configuration isn't working. It's always rendering the php which I want to edit in plain text. Anyone using webdav for php development on a local server?
[21:49] <norrec> hey all, i'm trying to setup a server that can send and receive from a couple of different accounts and be accessible by imap to local users, is there any documentation on this?
[21:58] <tyska> someone can tell me why the internet connection speed in my instances are so low?
[22:01] <tomsdale> any developers here who work on a local server for development. I set up webdav but it's getting tedious. What is your solution for remote php projects?
[22:05] <webPragmatist> qyestion about csync2
[22:06] <webPragmatist> when generating the keys… do i only make one key using csync2 -k
[22:06] <webPragmatist> and share it between all the nodes
[22:06] <webPragmatist> and then on each node i need certs
[22:06] <webPragmatist> and also do i need to register the certs (how does it know where they are really?)
[22:06] <tyska> tomsdale: use LAMP server and then use an IDE with ftp connection to edit the files
[22:07] <webPragmatist> tomsdale: we use svn and just svn update
[22:07] <webPragmatist> but thats not easier than webdav to setup
[22:08] <tomsdale> tyska: I guess the classics are still the best. ftp has no file locking though.
[22:08] <webPragmatist> i'd suggest webdav
[22:08] <tomsdale> webdav I have the problem that it renders my files. I already included  ForceType text/plain in the VHost but it's not working.
[22:09] <tyska> tomsdale: if you wanna modification control, use SVN
[22:09] <tomsdale> otherwise I think it would be perfect for my needs.
[22:10] <tomsdale> yeah - svn. I will have to get up to speed with that.
[22:11] <webPragmatist> tomsdale: well even if you get up to speed with svn you would be behind the vcs curve
[22:11] <webPragmatist> as people are now using hg or git
[22:11] <FunnyLookinHat> Where can I create domains within my system so that I can map them to specific IPs?  I.e. for a private network
[22:12] <tomsdale> Well, my project hasen't reached yet the size of the linux kernel :-) And svn seems to be included in my ide (netbeans)
[22:12] <tomsdale> webPragmatist: can you view .php files in plain text?
[22:12] <webPragmatist> huh?
[22:12] <webPragmatist> tomsdale: svn you checkout a local copy
[22:12] <webPragmatist> and it syncs
[22:13] <webPragmatist> with the repository
[22:13] <webPragmatist> when you commit the changes
[22:13] <mathiaz> zul: around?
[22:13] <webPragmatist> then you update your /var/www with the latest version
[22:13] <webPragmatist> it's pretty slick… i've even made it auto update in some instances when someone commits
[22:13] <tomsdale> is that fast enough if you do small changes in your php code and want to see the results in the browser.
[22:14] <webPragmatist> tomsdale: uhm we have done that but it's not it's intention
[22:14] <webPragmatist> there's also a webdav plugin svn (apache) to auto commit when you make a file change… but it fubs up your repo because you don't get commit messages
[22:15] <webPragmatist> tomsdale: the idea though is you should have a local copy of the website
[22:15] <tomsdale> I think that's why I wanted to stick with direct editing for the moment. maybe svn from a devserver - staging server at some point
[22:15] <webPragmatist> well
[22:15] <webPragmatist> it's not very professional what you are doing is all i will say :P
[22:15] <webPragmatist> your going to break something
[22:15] <webPragmatist> you're*
[22:16] <tomsdale> has been working so far - we  are just a 2 man show.
[22:16] <webPragmatist> well i'm a 1 man show… … and I wouldn't dare do it
[22:16] <webPragmatist> but maybe my website's a bit more mission critical
[22:16] <webPragmatist> who knows
[22:17] <tomsdale> ok, you are editing a live environment. That's just the development version.
[22:17] <tyska> tomsdale: with svn you program locally, and when all its fine, you sync with the server
[22:17] <webPragmatist> tomsdale: you can have two remote servers…
[22:17] <webPragmatist> one live one dev
[22:17] <elb0w> how can I install gnome on ubuntu-server as light weight as possible
[22:17] <webPragmatist> but use webdav
[22:17] <webPragmatist> and locking
[22:18] <webPragmatist> it's not ideal but if you dont' want a vcs its the way to go
[22:18] <tomsdale> so you use webdav to upload your changes.
[22:18] <webPragmatist> not me
[22:18] <webPragmatist> it goes like this...
[22:19] <webPragmatist> local -> svn repo (hosted on staging server) -> staging server (check on same hardware/setup) -> svn repo (could make changes directly on staging if i wanted to) -> live server
[22:19] <webPragmatist> the svn repo to staging os automatic… and the 4th step is optional
[22:20] <webPragmatist> so it's really three steps (or two if you don't check staging)
[22:20] <tomsdale> ok I get it. how's about database? do you replicate them?
[22:20] <webPragmatist> yea… i have a local copy of the db
[22:21] <webPragmatist> which just has some of the data
[22:21] <webPragmatist> staging reads the db off the live server
[22:21] <webPragmatist> you could read the live db
[22:21] <webPragmatist> depending on your mission criticalness
[22:23] <tomsdale> hm - I feel I got to rethink my setup :-). with the development local it probably also speeds up things
[22:25] <tomsdale> but if I work together with my designer - she probably will work on the stagingserver directly. How do I get the changes she does onto my local machine. rsync?
[22:26] <tyska> tomsdale: the webPragmatist solution is great, local > SVN > development server > SVN > production server
[22:26] <tyska> tomsdale: svn update
[22:27] <tyska> tomsdale: when you modify any file locally, you run svn update and everything will be synchronized
[22:27] <webPragmatist> tomsdale: with a dumby what you can do is run davsvn or whatever
[22:27] <webPragmatist> tomsdale: which will work like webdav and just "commit" changes automatically for her/him
[22:27] <webPragmatist> you won't have commit messages though which sucks
[22:27] <tyska> tomsdale: if someone modify and commit some file to the server, you just run svn update again
[22:27] <webPragmatist> so it makes a real mess of your repo
[22:28] <tyska> tomsdale: in fact the commands are svn commit and svn update
[22:28] <webPragmatist> tomsdale: so your designer could make changes directly on the development server with davsvn
[22:29] <webPragmatist> depending on how likely it is for her to flub up your repo you would also consider making a "branch" of your current website
[22:29] <tomsdale> If I have not invested anything in svn is it worth investigating git or is svn better supported and "good enough"
[22:29] <webPragmatist> which is a copy of it basically that only she makes changes to
[22:30] <webPragmatist> tomsdale: well… svn has been around longer….. but much of the stuff is going to git….. they are only similar in nature… git is a dvcs… meaning you keep the full copy of the repo locally
[22:31] <webPragmatist> we use svn because this was 3 years ago that we set it up
[22:32] <webPragmatist> for me svn is a bit less complicated….. but that's because i've been using it forever
[22:32] <webPragmatist> its most likely considered a dated vcs now
[22:33] <webPragmatist> and you will be scoffed at for using it :)
[22:33] <tomsdale> well, I'm just redoing my development server from scratch - now is the time to bring in change :-)
[22:34] <guhcampos> anyone having success with mysql on 10.04?
[22:35] <guhcampos> it won't start, restart, stop, unninstal, reinstall, install, reconfigure anything
[22:35] <guhcampos> I'm trying this fix right now: http://goo.gl/wiEA (last comment)
[22:36] <tomsdale> webPragmatist: Thanks so far - you definatly got me conviced using a vcs :-)
[22:36] <webPragmatist> good luck
[22:40] <webPragmatist> hrm
[22:48] <elb0w> what is ubuntu's equiv of /etc/sysconfig/network-scripts/route-ethX
[22:48] <webPragmatist> hrm
[22:57] <SpamapS> elb0w: good question.. hmm
[22:58] <SpamapS> elb0w: you could use   an up stanza
[22:58] <SpamapS> elb0w: up route add -net xxxx gw
[22:58] <SpamapS> elb0w: probably want a corresponding down too
[23:02] <Theravadan> I have the latest and greatest 10.04 and I removed a drive from a software RAID 1 setup, if I put the a brand new swappable disk in will it magically join the mirror?
[23:04] <elb0w> hmm
[23:04] <elb0w> wont that go away
[23:04] <elb0w> when I restart?
[23:04] <guhcampos> any news on the MySQL stuff?
[23:06] <SpamapS> elb0w: /etc/network/interfaces I mean
[23:06] <SpamapS> elb0w: you add it as a sub-option to your interface
[23:06] <elb0w> just add it?
[23:07] <SpamapS> so iface eth0 inet dhcp
[23:07] <SpamapS>   up route add blah
[23:07] <elb0w> should of payed more attention in networking haha
[23:07] <elb0w> im a dev our networking guy left for the day
[23:07] <SpamapS> elb0w: 'man interfaces' for an example
[23:07] <elb0w> ok will do
[23:07] <elb0w> have to figure out how to set static ip first
[23:07] <elb0w> lol
[23:07] <SpamapS> elb0w: the 'up flush-mail' .. replace 'flush-mail' with your route command
[23:15] <elb0w> SpamapS, you got a moment have a question for you
[23:16] <SpamapS> elb0w: ask away, if I don't have an answer somebody else might
[23:16] <elb0w> http://pastebin.org/286673
[23:17] <elb0w> im trying to do that
[23:17] <elb0w> in ubuntu
[23:19] <SpamapS> http://pastebin.org/286677
[23:19] <SpamapS> elb0w: maybe that works? I don't know if you can have multiple up commands
[23:19] <elb0w> what is the -host vs -net
[23:19] <SpamapS> elb0w: if not, you can put your up commands in a shell file and run that
[23:20] <SpamapS> just as it would sound.. -net routes to a network, -host routes to a single host
[23:20] <elb0w> can I break something if I use wrong one?
[23:20] <SpamapS> well it wont work
[23:20] <SpamapS> networks need netmasks
[23:21] <SpamapS> hosts dont
[23:21] <elb0w> so in my paste
[23:21] <elb0w> netmask0 is 255.255.255.192
[23:21] <elb0w> you dropped it to 255.255.255.0
[23:21] <elb0w> thats ok?
[23:21] <SpamapS> no i missed that
[23:22] <elb0w> ok
[23:22] <elb0w> i can figure that one out
[23:22] <elb0w> i think
[23:22] <elb0w> :P
[23:22] <SpamapS> copy the values ;)
[23:22] <SpamapS> from yours i mean
[23:24] <elb0w> ok
[23:24] <elb0w> now just put the iface down then up?
[23:24] <elb0w> and ill know if it worked?
[23:24] <elb0w> as soon as I test the route
[23:24] <elb0w> of course
[23:32] <SpamapS> yes