[00:18] <erieslab233> ok I need some quick honest advice
[00:19] <erieslab233> ok so it need not be quick but honest anyway
[00:19] <erieslab233> I just bought 8 quad core 3.4ghz 8GB servers for my new rack...
[00:19] <erieslab233> I have like 30 thin clients currently
[00:19] <erieslab233> I wanna cluster all these new servers
[00:20] <erieslab233> how many hours should be a reasonable quote to outsource it to an admin?
[00:20] <erieslab233> or is this a project I can do myself from a simple readme file?
[00:21] <erieslab233> In theory this should be like 20x the power I have now, really wanting to do something quick before I lose my drive on it lol
[00:21]  * tonyyarusso has utterly no idea
[00:21] <tonyyarusso> You can probably do it yourself, but it will take a bit more than one readme file to figure it out
[00:21] <erieslab233> I figured as much... it is possible though?
[00:22] <erieslab233> one massive computer? like rendering a 2 hour movie in 5 minutes ?
[00:22] <tonyyarusso> Yes.
[00:23] <erieslab233> nobody has any guesses as to what an honest quote would be? I mean if $600 is honest I will just have to accept it
[00:23] <tonyyarusso> There are two general approaches you could take.
[00:23] <erieslab233> ok
[00:23] <tonyyarusso> The first would be to declare a cluster of those 8 computers, to always work together.
[00:23] <erieslab233> k
[00:23] <tonyyarusso> The second would be to use "cloud computing" tools to apportion resources as needed for different things.
[00:24] <erieslab233> like a virtualization technique?
[00:24] <tonyyarusso> Yeah, but even more so
[00:24] <erieslab233> I think I want the first :P
[00:24] <erieslab233> sounds better
[00:24] <erieslab233> any native libraries do it?
[00:25] <erieslab233> not a plug and play type request probably
[00:26] <erieslab233> i have only found one project working on it that seemed within a hobbyist's reach
[00:26] <erieslab233> that's why I ask
[00:27] <erieslab233> hmm I wonder if the ltsp guys might know
[00:30] <tonyyarusso> Well, I'm just doing an apt-cache search, and some of interest includ redhat-cluster-suite, openais, gridengine-*, ltsp-cluster-*, mpich2, and related items.
[00:30] <tonyyarusso> The LTSP-cluster packages look particularly interesting.
[00:30] <erieslab233> wow more than google turned up
[00:30] <erieslab233> or at least google documentation searches
[00:30] <erieslab233> thank you!
[00:31] <tonyyarusso> np - good luck!
[00:36] <PleXuS> anyone known the command how to detect a soft raid?
[00:36] <PleXuS> mdadm
[01:17] <dragon> what's the easiest way of setting up an outgoing mail server on karmic server?
[01:17] <twb> dragon: a satellite, or a smarthost?
[01:18] <dragon> twb: meaning?
[01:18] <twb> If you don't understand the question, then step #1 is to understand it
[01:18] <dragon> twb: and you're here to complicate things.
[01:18] <twb> A smarthost is capable of sending mail to arbitrary destinations.  Smarthosts are usually called mail.example.net.
[01:18] <twb> Typically each ISP or organization will have a single smarthost.
[01:19] <dragon> twb: better
[01:19] <twb> You then have a bunch of "satellites".  All they know how to do is send ALL their outbound mail to a designated smarthost.
[01:19] <twb> So for example a home office might send all its outbound mail to mail.isp.net or smtp.gmail.com
[01:19] <dragon> twb: I'm setting up a smarthost, a single server sending mail directly to the outside world.
[01:20] <twb> Then you probably want to install postfix, which is the default MTA on Ubuntu.
[01:20] <twb> Personally I would encourage people to configure satellites where possible, since this is much simpler.
[01:21] <dragon> twb: I tried postfix during karmic-rc-server installation, but it failed to install.
[01:21] <dragon> brb
[01:24] <dragon> back, sorry
[01:24] <dragon> twb: would satellite do what I'm trying to accomplish?
[01:24] <dragon> twb: if so, I'd be happy to go that way.
[01:24] <twb> dragon: if you have a reliable path to a smarthost, it will.
[01:25] <twb> For example, if you're setting up a VPS, your VPS provider might have a smarthost
[01:25] <dragon> twb: does an SMTP server qualify?
[01:25] <twb> That depends what the SMTP server does.
[01:26] <twb> If it accepts mail from your server (to any destination), and then forwards it on, then it is a smarthost.
[01:27] <dragon> twb: Does Gmail's SMTP service qualify?
[01:27] <twb> You can have a non-smarthost SMTP server that will accept email from anyone, but only if the mail is for users on itself.
[01:27] <twb> smtp.gmail.com is a smarthost, provided you have an account there.
[01:28] <twb> You might need to be careful if you have more than one local user, because I think smtp.gmail.com might rewrite the From header field to your gmail account.
[01:28] <MatBoy> mhh nice... proftp has leaks
[01:30] <twb> IMO you ought to use vsftpd or not FTPd at all
[01:31] <MatBoy> why not ?
[01:31] <MatBoy> proftpd is nice with sql, but that is the issue atm :)
[01:32] <twb> Because it's the only implementation that seems to prioritize security, and FTP is definitely a protocol that needs all the security-conscious implementation that you can handle.
[01:32] <twb> And for authenticated FTP *uploading* I would be using SFTP (i.e. OpenSSH).
[01:32] <MatBoy> yes true
[01:32] <MatBoy> I know that, but normal FTP should do
[01:53] <dragon> twb: how'd I go about setting up a satellite?
[01:53] <twb> Install msmtp
[01:53] <twb> Install msmtp-mta, rather
[01:54] <twb> Then you basically add a couple of lines to /etc/msmtprc that say "the smarthost is foo.net, and you should claim to be bar.net"
[01:54] <twb> You can also do this with postfix, of course.
[01:55] <pmatulis> MenZa: right, the /etc/update-motd.d stuff.  well to me it's more of a system thing and less of a user thing
[01:56] <MenZa> pmatulis: Well, this is a system thing, I guess...
[02:05] <dragon> !prefix
[02:06] <dragon> so ubottu exists here, I see.
[02:07] <russlar> !hammertime
[02:07] <bogeyd6> dragon derp derp
[02:07] <dragon> ...
[02:17] <dragon> how do I change a server's FQDN?
[02:18] <twb> Edit /etc/hosts and /etc/hostname, and run "hostname fred", where "fred" is the new value in /etc/hostname.
[02:18] <dragon> twb: thanks
[02:18] <twb> If you also want to change the external FQDN that OTHER hosts see, you will need to edit DNS records somewhere
[02:30] <pmatulis> twb: a reboot is actually required in order for the kernel to be aware of the new hostname
[02:31] <twb> pmatulis: really?  Bleh
[02:31] <twb> pmatulis: where does the kernel remember the hostname?
[02:31] <twb> I thought it was only handled by hostname(8) being called early during boot
[02:32] <twb> hostname(1), apparently
[02:34] <pmatulis> twb: without a reboot you could change the kernel.hostname sysctl setting
[02:35] <pmatulis> twb: i imagine that's where uname gets it
[02:37] <twb> pmatulis: hostname(1) sets that, I just checked
[02:37] <poningru> dantaliz1ng, OMG
[02:37] <twb> Hahaha, I just broke sudo
[02:37] <poningru> I would love to see the kvm/libvirt based upgrade tester
[02:37]  * poningru is the ubuntu-us-ct contact
[02:37] <twb> $ sudo hostname arthur
[02:37] <twb> $ cat /proc/sys/kernel/hostname --> arthur
[02:37] <twb> $ sudo hostname Clio --error--> sudo: unable to resolve host arthur
[02:38] <poningru> and is going to start hosting upgrade testing sessions here
[02:38] <twb> Fortunately I can root this box directly.
[02:39] <poningru> and the upgrade test I was scratching my head about
[02:40] <poningru> I finally came up with a procedure of dd'ing the hdd image and then booting into that using vmware to do the upgrade
[02:40] <maxagaz> how to check on which harddisk is my current directory ?
[02:40] <poningru> ... but seriously if you have that upgrade tester ... I would love to test it out
[02:40] <poningru> maxagaz, mount
[02:40] <poningru> and then see which one it is in
[02:41] <poningru> you can have issues if it is bind mounted though
[02:53] <marks256> would it be better to have a 4x dual core server at 32 bit (16gb of ram), or a 2x dual core 64 bit machine (4gb of ram)? This would be for rendering with blender 3d
[02:54] <jmarsden> maxagaz: df .
[02:57] <maxagaz> jmarsden, :)
[02:58] <jmarsden> marks256: If I understand the question right, I'd say that 8 CPU cores with 16GB of RAM should be more capable than 4 CPU cores and 4GB of RAM for most tasks... I doubt blender is an exception to that.
[02:59] <marks256> jmarsden, that is exactly what i was thinking
[03:00] <marks256> jmarsden, but the 32 bit vs 64 shouldn't matter much when there is that many more cores and that much more ram?
[03:01] <jmarsden> Not *that* much.  But it is an odd comparison, since any modern machine with 8 cores and 16GB is surely perfectly capable of running a 64bit OS... so why not run a 64bit OS on the beefier machine and get the best of both? :)
[03:05] <marks256> the processors in the beefier machine are AMD Opteron 875's @ 2.2GHz which are 32 bit processors
[03:07] <jmarsden> Um.  I think the Opteron 875 is basicaly an Althon 64 with ECC RAM support... they should be 64bit capable... did you try booting it from a 64bit liveCD?
[03:08] <marks256> I don't even own the machine yet :)
[03:09] <jmarsden> OK, then at least do some Googling about that processor...
[03:09] <marks256> yep i am right now
[03:09] <jmarsden> http://www.trustedreviews.com/cpu-memory/review/2005/04/21/AMD-Dual-Core-Opteron-875/p1  is an old review that says it is 64bit for example
[03:10] <marks256> http://www.newegg.com/Product/Product.aspx?Item=N82E16819105079
[03:10] <marks256> yep newegg says it's 64 bit too
[03:10] <marks256> NEAT! :)
[03:10] <jmarsden> What makes you think Opteron 875s are 32bit... ?
[03:10] <jmarsden> Right.
[03:11] <marks256> you konw. i'm not sure why i thought they were 32 bit :)
[03:12] <jmarsden> OK... problem solved... :)
[03:13] <marks256> thank you much! ;)
[03:13] <jmarsden> No problem :)
[03:52] <biscuit_> Is there a way to pipe all incoming email to a domain to a script?
[04:04] <jmarsden> biscuit_: Yes.  Details depend on what MTA you are using, whether you want to use procmail, etc.  But yes, it is possible.
[04:05] <biscuit_> Well I've had issues with postfix so I'm going the exim4 route
[04:05] <biscuit_> I guess I read a lot of vmail guides and such, but I just want all email sent to a domain forwarded to a script. From there I handle all the filtering, etc
[04:06] <jmarsden> OK, then I suggest you ask in #exim for info on the specifics, because I'm not very familiar with exim4 :)
[04:07] <biscuit_> Well I mean, if there's a way to do if with another MTA I'm willing to change ;)
[04:10] <twb> biscuit_: you could also ask #postfix about whatever bugged you with postfix :-)
[04:25] <dragon> how can I configure postfix to send mail through Gmail's SMTP servers?
[04:26] <twb> dpkg-reconfigure -plow postfix
[04:26] <twb> Pick "satellite" and follow the prompts
[04:26] <dragon> twb: thanks
[04:29] <dragon> twb: it didn't ask about smtp authentication - smtp.gmail.com would require that..
[04:30] <twb> I don't know how to make postfix do that -- try #postfix
[04:30] <dragon> ok
[04:30] <jmarsden> http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/  may be relevant
[04:31] <dragon> jmarsden: thanks
[04:31] <twb> dragon: earlier you asked about host renaming, I think you missed this: 13:18 <twb> If you also want to change the external FQDN that OTHER hosts see, you will need to edit DNS records somewhere
[04:31] <dragon> twb: ah I never got that.
[04:32] <efremovvk> hello
[04:32] <jmarsden> efremovvk: Welcome to #ubuntu-server
[04:32] <efremovvk> some problems after upgrades (9.10)
[04:33] <jmarsden> efremovvk: Please be more specific (and this *is* on 9.10 server edition, right?)
[04:33] <efremovvk> yes
[04:34] <efremovvk> i upgraded server from 9.04 to 9.10
[04:34] <efremovvk> no problems
[04:34] <efremovvk> but system installed kernel generc-pae
[04:34] <efremovvk> after some upgrades it installs server kernel
[04:35] <efremovvk> but it is no such problem
[04:35] <efremovvk> after yesturday`s upgrade there problem with MySQL
[04:36] <efremovvk> after upgrade I reboots my machine once..
[04:37] <efremovvk> and after Mysql say "can`t lock socket'
[04:37] <efremovvk> no any mysql porcesses I found on server
[04:37] <efremovvk> I starts tasksel
[04:38] <twb> efremovvk: your native language is Russian?
[04:38] <efremovvk> but no LAMP there on my system
[04:38] <efremovvk> yes :0
[04:38] <efremovvk> yes :)
[04:38] <twb> efremovvk: you can also try #ubuntu-ru if you prefer to speak Russian
[04:38] <efremovvk> I know
[04:38] <twb> efremovvk: but it is OK to ask in English here :-)
[04:39] <efremovvk> but may be it is ubuntu-server problem
[04:39] <efremovvk> i solved it
[04:39] <efremovvk> but may be some one can`t
[04:39] <efremovvk> so
[04:39] <efremovvk> there was no LAMP
[04:39] <jmarsden> It is fine to ask in English in here.  Is that the full exact error message from MySQL?  Can you pastebin the output of  sudo service mysql start?  Did you habe to delete the socket /var/run/mysqld/mysqld.sock ?
[04:40] <efremovvk> where no /var/run/mysqld/mysqld.sock
[04:40] <efremovvk> and no /var/run/mysqld/
[04:40] <jmarsden> Ok, so how did you solve the issue?
[04:41] <efremovvk> package mysql-server was deleted from my server
[04:41] <efremovvk> i installed mysql-server
[04:41] <efremovvk> but binaries was in my system
[04:41] <twb> Maybe the upgrade got confused and tried to resolve a conflict by removing mysql-server
[04:42] <efremovvk> may be
[04:43] <efremovvk> now apt-get dist-upgrade try to install postgresql
[04:43] <twb> Yeah, you should use "aptitude full-upgrade" now
[04:43] <twb> And check that it won't remove stuff
[04:43] <twb> I think apt-get is still dumb
[04:44] <efremovvk> hm...now no asks for postgre
[04:44] <twb> I usually do an "aptitude safe-upgrade" first, which should not install or remove anything, only upgrade.
[04:44] <twb> Maybe Ubuntu documentation says to do it a different way -- I am too lazy to check.
[04:45] <twb> A long time ago it wanted me to upgrade via a GUI, so I ignored it :-)
[04:45] <efremovvk> :)
[04:46] <efremovvk> I should use aptitude instead apt-get
[04:46] <terinjokes> kblin: i doubt your still on, but i just got back... no luck, still have no internet conncetion on my desktop
[04:46]  * efremovvk run away to learn aptitude
[04:46] <twb> efremovvk: mostly it has the same commands as apt-get
[04:49] <efremovvk> twb: thanks. apt-get most closely to me
[04:57] <terinjokes> kblin: scratch that, it's connected, but it's not passing through DNS requests
[05:01] <terinjokes> kblin: i've gone around the issue tonight (bfcause i need to get actual work done) by setting the DNS on the clients to OpenDNS... but this is something i need to fix
[05:02] <terinjokes> (anyone else is free to chrip in)
[05:07] <jmarsden> terinjokes: Is the problem with DNS lookups happening only on desktop machines (in which case, ask in #ubuntu) or on a server (in which case, here in #ubuntu-server is the right place!)?
[05:10] <terinjokes> jmarsden: the server (the physical box *this* irssi is on) seems to be doing lookups fine... this box is the gateway for the network, and handles DHCP
[05:11] <jmarsden> OK.  So the issue is that if you set /etc/resolv.conf on the desktops to point to the local Ubuntu server for DNS resolution, ... it doesn't "work"?
[05:12] <twb> tshark time!
[05:12] <jmarsden> twb: My thoughts exactly :)
[05:12] <terinjokes> i can try... i just assume that was supposed to be handled by DHCP
[05:12] <twb> terinjokes: DHCP doesn't do DNS resolution.
[05:12] <twb> terinjokes: it tells the DHCP client where to go for DNS resolution, though.
[05:12] <jmarsden> terinjokes: Well, maybe it is... DHCP can provide a DNS server Ip address the client should use.
[05:13] <twb> I would typically use dnsmasq to provide both DHCP and DNS to client workstations.
[05:13] <jmarsden> On a client desktop if you do     dig @server yahoo.com      does that lokup work?
[05:13] <terinjokes> ok set it to the server's address
[05:14] <jmarsden> ?  I asked what the issue was and you used my question as a possible "answer" to the issue? :)
[05:14] <terinjokes> jmarsden: i might have misread
[05:14] <terinjokes> jmarsden: no... cannot resolve
[05:15] <jmarsden> "cannot resolve"?  What exact error did dig @server yahoo.com give you?  where server is the name or IP of your server machine...
[05:15] <terinjokes> allowing it to be handled by DHCP, cannot resolve
[05:16] <jmarsden> That does not sound like a dig error message to me.
[05:16] <terinjokes> jmarsden: i ran ping... no dig
[05:16] <jmarsden> terinjokes: sudo apt-get install dnsutils     and then use dig
[05:16] <terinjokes> "Ping request could not find host yahoo.com"
[05:17] <terinjokes> jmarsden:which would be excellent... if it was a ubuntu box
[05:18] <jmarsden> terinjokes: Ok, what client OSes are you using?  Can you boot a client from a Ubunut liveCD for testing?
[05:18] <terinjokes> i'm not asking for tech support on the desktop... from what i see, it's doing it's job... it's a failure on the ubuntu-server
[05:18] <terinjokes> Win7
[05:19] <jmarsden> You/we need to determine what the client machines see when they try to do a DNS lookup... so we need to find a way to get that info.
[05:19] <jmarsden> nslookup is a DOS command you can use for that, if all your client machines run Windows.
[05:21] <terinjokes> jmarsden: Server: UnKnown (nt passed one from DHCP?)
[05:21] <twb> I expect Windows got it when they stole BSD's TCP/IP stack ;-)
[05:22] <twb> terinjokes: does your DHCP server provide an option 11 value in the DHCPRESPONSE?
[05:22] <twb> (I think it's 11...)
[05:22] <jmarsden> terinjokes: When you just type nslookup at a DOS prompt, what does it output?
[05:22] <terinjokes> jmarsden: an interactive prompt
[05:22] <jmarsden> Before the prompt... what does it say? :)
[05:22] <terinjokes> twb: i'm running dhcp3 (likely)
[05:22] <twb> jmarsden: I would normally do "nslookup google.com" all on one line.
[05:23] <jmarsden> Default server: something    and then Address: something    would be conventional.
[05:23] <jmarsden> twb: this way I can see what DNs sevrer windows thinks it wants to use ...
[05:23] <terinjokes> Default Server: UnKnown   \n    Address: fec0:0:0:fff::1
[05:23] <jmarsden> OK, there is your problem :)
[05:24] <jmarsden> If you type in to nslookup the line      set server 192.168.1.1
[05:24] <jmarsden> or whatever your server's IP address is...   and then  type in on a separate line     yahoo.com
[05:24] <jmarsden> does it then resolve yahoo.com for you?
[05:24] <terinjokes> my ubuntu-server is 192.168.3.1 (you mean that?)
[05:24] <twb> jmarsden: or even just "dnslookup example.net 192.168.1.1"
[05:24] <twb> s/^d//
[05:24] <jmarsden> terinjokes: Yes
[05:25] <terinjokes> twb: which is how *I* know the command :P
[05:25] <jmarsden> terinjokes: I am assuming the ubuntu-sevrer is running a DNS service of some kind, bind or dnsmasq or whatever, right?
[05:25] <twb> It's a pity that everyone uses nslookup or dig, because host's output is much more attractive...
[05:26] <jmarsden> twb: Neither dnslookup nor host exist by default in Windows, though... nslookup does.
[05:26] <jmarsden> I'll us an existing program over a nonexistent one any time :)
[05:26] <terinjokes> jmarsden: no... i kinda wanted it to pass DNS to whatever the server was using
[05:26] <twb> jmarsden: sucks, eh?
[05:27] <twb> jmarsden: I was just musing
[05:27] <twb> terinjokes: then you need to tell dhcpd to tell clients to use that upstream DNS server
[05:27] <terinjokes> jmarsden: im happy to install one, as i planned on it anyways
[05:27] <jmarsden> terinjokes: Ah.  OK!  So, what did you tell your dhcp server on ubuntu-server to give out as a DNS sevrer address to the clients?
[05:27] <twb> terinjokes: they won't magically know
[05:28] <terinjokes> jmarsden: i did at one point, but getting masquerading working was a fun ordeal
[05:28] <arrrghhh> hey all, i'm trying to do something a little unorthodox i think, but the end result should be nice.  i use mpd to play music on my headless server, i have an amp hooked up to the local speakers.  i'd like to stream the music to another room, synced as close as possible.  i've tried using pulse, but i think i'm running into issues running pulse headless, as it's normally based on per-user sessions.
[05:29] <jmarsden> terinjokes: That's a confusing answer.   On the Widnows machine what does    ipconfig /all |find "DNS Servers"    output?
[05:30] <terinjokes> jmarsden: no i do not... happen to know the conf option?
[05:30] <twb> arrrghhh: the mpd part is straightforward.  I can't help with pulseaudio
[05:30] <twb> arrrghhh: there used to be NAS (network audio sound) for that, but I guess pulseaudio is the new/chromatic/shit replacement..
[05:30] <arrrghhh> twb, well mpd seems to work OK.  i don't know what the best method of streaming sync'd music...
[05:30] <twb> (I can't help with NAS either, of course...)
[05:30] <arrrghhh> hrm
[05:30] <arrrghhh> lol
[05:30] <arrrghhh> naturally...
[05:31] <twb> Oh, also, mpd doesn't link against pulseaudio, so of course it will just ignore pulse
[05:31] <arrrghhh> ?
[05:31] <terinjokes> "option domain-name-servers"
[05:31] <jmarsden> terinjokes: option domain-name-servers 4.2.2.1   (or whatever the IP of the real DNS server is), in the right place in /etc/dhcp3/dhcpd,conf
[05:31] <twb> The major downside of pulseaudio is that to add "plugins" you need to write code and recompile the damn thing.
[05:31] <twb> arrrghhh: try xmms2 -- it's the bloatier, featureful equivalent of mpd
[05:31] <arrrghhh> hrm.  is there a better method?
[05:32] <arrrghhh> oh.  i love mpd, i was hoping to stick with it.  i'll check it out, can xmms2 run headless?
[05:32] <twb> aptitude install xmms2-plugin-pulse, and go from there
[05:32] <twb> xmms2 is a daemon, not a GUI
[05:32] <arrrghhh> ah, ok.
[05:32] <twb> It's just like mpd, only bloatier
[05:32] <arrrghhh> hrm
[05:32] <arrrghhh> ok
[05:32] <twb> e.g. its wire protocol is a binary protocol instead of simple text
[05:32] <arrrghhh> and what about controlling the music from client machines?
[05:33] <twb> And supports the equivalent of IMAP's IDLE as well as mpd's shitty polling, and such
[05:33] <twb> arrrghhh: there are a heap of xmms2 clients -- I think xmms2 is also network-transparent
[05:33] <arrrghhh> ok
[05:33] <twb> (As far as the client/server part; not the server-to-speakers part)
[05:33] <twb> arrrghhh: you can talk to #xmms2 about all that
[05:33] <arrrghhh> i love music player minion - plugin for firefox.  so long as i can find a client that works well with giant playlists, i'll be ok.  mpd+mpm handle my 35,000+ playlist beautifully.
[05:34] <jmarsden> terinjokes: Did that help?  Or even work? :)
[05:34] <twb> arrrghhh: IME xmms2 is probably better at handling very large playlists, once you have the database cached
[05:34] <twb> arrrghhh: of course, it doesn't work with NFS, due to sqlite (grr!!!)
[05:35] <twb> But then if you're using firefox, you won't be able to use NFS either.
[05:35] <terinjokes> jmarsden: just renewed the windows box... working great (you guys are awesome thanks!)
[05:35] <arrrghhh> NFS?  i use nfs for file sharing, is there another nfs?
[05:35] <jmarsden> Cool, no problem.
[05:35] <twb> All network filesystems have huge file locking issues, and sqlite (which xmms2 and firefox3 both use heavily) in turn relies heavily on file locking.
[05:36] <twb> In practice you can probably just say "STFU, xmms2, I'm aware of the risks" and have no problems.
[05:36] <twb> But I sure as shit wouldn't store any important data in a sqlite database (or ANY database) that's accessed over a network filesystem.
[05:36] <terinjokes> jmarsden: now... the question becomes... will it work across reboots? :D
[05:37] <terinjokes> twb: i access a MySQL database over a network
[05:37] <jmarsden> If you edited the conf file, then yes, it should be permanent.  You can restart your dhcpd as a near-equivalent of a server reboot if you want to test it.
[05:37] <twb> Eh, my opinion of MySQL is unprintable.
[05:37] <arrrghhh> twb, ok.  that's fine, i don't think that'll be used.
[05:38] <terinjokes> jmarsden: i meant the masquerading it took two days of trial and error to get working
[05:38] <jmarsden> Hmmm.  Well, what did you do to make it work?
[05:38] <jmarsden> What file(s) did you edit, in particular?
[05:39] <twb> terinjokes: that just means you're not very good at it :-)
[05:39] <terinjokes> jmarsden: iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
[05:39] <jmarsden> You ran these commands by hand in a shell, or you put them in a script, or... ?
[05:39] <terinjokes> (after flush the old rules)
[05:40] <qman__> terinjokes, that is not persistent, you need to either iptables-save or create a script or something
[05:40] <terinjokes> jmarsden: i didn't really mean to paste it yet
[05:40] <qman__> I forget what the ubuntu way is for that
[05:40] <terinjokes> qman__: i know... was about to say i *already* had that same line in a iptables load in my /etc/network/interfaces
[05:41] <twb> #netfilter can help you with iptables
[05:41] <twb> qman__: probably ufw :-/
[05:41] <terinjokes> i'll jump over... thanks again guys
[05:41] <twb> qman__: debian finally got iptables-persistent a few months ago
[05:41] <twb> Presumably it'll sync soon
[05:42] <twb> By 10.04, which is all I care about ;-)
[05:42] <terinjokes> twb: my college wifi is called "ufw" so i'm trying to advoid that package, lol
[05:42] <arrrghhh> lol
[05:42] <qman__> twb, I just write my own script and add it to dhclient-exit-hooks.d
[05:42] <arrrghhh> yea, i think the new "ubuntu" way of doing firewall changes is with ufw.
[05:42] <twb> qman__: what, even on servers that don't use dhclient?
[05:42] <twb> qman__: IMO it belongs in if-pre-up.d, if-up.d, or rcS.d
[05:42] <qman__> twb, on those I use rc.local or if-up.d
[05:43] <qman__> but I get my internet IP dynamically
[05:43] <qman__> so dhclient-exit-hooks.d it is
[05:43] <twb> Why do you need that information in your iptables-restore script?
[05:44] <terinjokes> twb: me?
[05:44] <twb> qman__: why do you need to know your own IP in your iptables-restore script?
[05:44] <qman__> twb, port forwarding
[05:44] <twb> Hmph
[05:45] <qman__> also, I don't want to be picking up all the random garbage floating on my ISP's network
[05:45] <qman__> there's a lot of it
[05:45] <arrrghhh> twb, so you think streaming with pulse is the best method, and xmms2 will handle it better?
[05:46] <twb> I have heard an argument that port forwarding is nearly as bad as putting the firewalled host directly on the net
[05:46] <twb> That you'd be MUCH better off using a simple proxy on the firewall
[05:46] <twb> I'm trying to remember which one was mentioned for SMTP
[05:46] <qman__> I can't do mail, my ISP blocks it
[05:47] <twb> The idea being that then the firewall blocks invalid layer 4(?) conversations
[05:47] <qman__> I've got web pages on alternate ports, VPN, SSH, and some other stuff I have to let through
[05:48] <twb> You don't need to port forward SSH; you could just use -oProxyCommand with a jailed account on the firewall.
[05:48] <twb> Not that I'm necessarily recommending that...
[05:48] <qman__> I only allow SSH to the firewall from specific hosts
[05:48] <qman__> internet-facing SSH is on another machine
[05:49] <qman__> that isn't allowed to connect to the firewall host
[05:49] <twb> qman__: and yet you let anyone into the "gooey inner filling" of your network by port-forwarding SSH?
[05:49] <qman__> I need the access
[05:49] <twb> I mean, I'm not saying that you've made a complete balls-up of it, I'm just saying that recently I have become very suspicious of port forwarding ever being the Right Thing
[05:50] <qman__> it's pretty well locked down, but it comes down to what I need
[05:50] <twb> Particularly if your bastion isn't some embedded appliance, and can actually run something that needs a good 8MB of memory
[05:51] <arrrghhh> twb, so you think streaming with pulse is the best method, and xmms2 will handle it better?
[05:51] <qman__> the bastion is a 200MHz box with 256MB of RAM
[05:51] <twb> arrrghhh: yes
[05:51] <twb> qman__: wow
[05:51] <qman__> it can only handle about 5 simultaneous SSH sessions
[05:52] <qman__> and I've taken care to make sure only the designated accounts can log in
[05:52] <twb> qman__: dude, my system has 16MB of RAM and 16MB of nonvolatile storage
[05:52] <twb> That was a "wow, that's big" not a "wow, that's small"
[05:53] <terinjokes> wow... that's big!
[05:54] <twb> terinjokes: yeah, I deliberately got the "deluxe" unit
[05:55] <twb> When there's a decent armel one with a ADSL2+ modem that can be driven by a FOSS driver, I'll upgrade to it and put emdebian down.
[05:55] <twb> (This is in my imagination, where d-i supports JFFS2 and MTD.)
[05:59] <twb> qman__: oh, and I wouldn't use rc.local, since that runs AFTER every service is up -- so you have a window where you have services but no firewall.)
[06:00] <qman__> twb, yeah, that's just a dirty hack for when a system is misbehaving
[06:00] <twb> Fairy nuff
[06:03] <arrrghhh> twb, excuse my ignorance, but what do i have to do to set xmms up?  it's installed, looks like the daemon is running...
[06:04] <twb> arrrghhh: talk to #xmms2
[06:05] <arrrghhh> sweet...
[06:08] <arrrghhh> i was hoping since you suggested it....
[06:17] <terinjokes> twb: works, thanks!
[06:17] <twb> arrrghhh: I basically got too annoyed and just use mplayer with internet radio now
[06:17] <twb> http://cybersource.com.au/~twb/Preferences/.bin/radio ?
[06:17] <twb> Nope, too old
[06:17] <arrrghhh> twb, hrm.  ook...
[06:18] <arrrghhh> i have a feeling i'm going to go back to mpd, but we'll see.  so far i can't get any client to connect to xmms2
[06:32] <arrrghhh> twb, so do you know how to get pulse and xmms2 workin?  i still think i have an issue with my pulse setup.  i can't run pavucontrol or alsamixer.
[06:42] <spartan07> I'm having problems having hardy server to recognize all 4 cores. im running a quad core. has anyone come across this issue?
[06:43] <KurtKraut> spartan07, how did you concluded some cores are not being recognized?
[06:44] <spartan07> hwinfo >/home/seg02/hardware_info.txt
[06:44] <spartan07> shows 1 core
[06:44] <spartan07> but cpu as intel quad core
[06:44] <KurtKraut> spartan07, install the package htop and run it. Does it show four bars at the top, like 4 cores?
[06:45] <spartan07> I also run htop and it only shows 1 cpu
[06:45] <spartan07> lol
[06:45] <spartan07> shows only 1 cpu.
[06:45] <spartan07> my i7 shows 8 cpus
[06:45] <spartan07> im guessing for the threads
[06:46] <KurtKraut> spartan07, please put the result of cat /proc/cpuinfo on www.pastie.org and then paste here the URL.
[06:47] <spartan07> http://www.pastie.org/689819
[06:49] <KurtKraut> spartan07, you pasted the whole output?
[06:50] <spartan07> yea
[06:50] <spartan07> #00FF14
[06:50] <spartan07> http://www.pastie.org/689821
[06:51] <KurtKraut> spartan07, Is your system up to date? Do a sudo aptitude update;sudo aptitude upgrade
[06:51] <spartan07> there it is again from command prompt to finish
[06:51] <spartan07> sudo apt-get update the same?
[06:51] <KurtKraut> spartan07, what do you mean 'the same'?
[06:53] <spartan07> the same as sudo aptitude update?
[06:54] <spartan07> http://www.pastie.org/689823
[06:54] <KurtKraut> spartan07, you must do two commands: 1) sudo aptitude update 2) sudo aptitude upgrade
[06:54] <spartan07> 2 packages are being held back
[06:54] <KurtKraut> spartan07, you should only do command number 2 when command number 1 is finnished
[06:54] <spartan07> yes I was just asking if aptitude and apt-get are any different
[06:55] <KurtKraut> spartan07, slightly different. aptitude is smarter.
[06:55] <spartan07> I have tried both and they seem to do the same, so I was asking because I was curious.
[06:55] <spartan07> ahh, good to know
[06:56] <KurtKraut> spartan07, is there a good reason for keeping this server running an old version of Ubuntu?
[06:56] <spartan07> LTS
[06:56] <spartan07> production server
[06:57] <spartan07> other than that no
[06:57] <KurtKraut> spartan07, but hardy is not the latest LTS.
[06:57] <spartan07> ?
[06:58] <spartan07> 8.04 is not the latest LTS
[06:59] <KurtKraut> spartan07, sorry, it is. I thought Hardy was released in 2007.
[06:59] <spartan07> maybe a problem with the 64 bit version?
[07:00] <spartan07> im running kernel Linux 2.6.24-24-server #1 SMP Tue Jul 7 19:39:36 UTC 2009 x86_64 GNU/Linux
[07:00] <KurtKraut> spartan07, we need to exclude the possibility of outdated software, mainly kernel. If you reboot with the latest kernel of Ubuntu 8.04 and the problem still exists, this will need further investigation. The right place for that is posting all the data you have about the issue on ubuntuforums.org
[07:02] <KurtKraut> spartan07, does aptitude tells you there is a newer version of the kernel for you?
[07:05] <spartan07> what command do i run to find out?
[07:06] <KurtKraut> spartan07, you must do two commands: 1) sudo aptitude update 2) sudo aptitude upgrade
[07:09] <spartan07> i posted update output on last paste bin url
[07:09] <spartan07> 1 sec
[07:10] <spartan07> http://www.pastie.org/689830
[07:11] <spartan07> The following packages have been kept back: linux-image-server linux-server
[07:12] <spartan07> should I just sudo aptitude linux-image-server linux-server  ??
[07:12] <KurtKraut> spartan07, now do a sudo aptitude full-upgrade
[07:12] <spartan07> ahh , ok
[07:12] <KurtKraut> spartan07, oops, sorry
[07:12] <KurtKraut> spartan07, that's not correct.
[07:12] <spartan07> lol done
[07:12] <spartan07> its down loading
[07:12] <spartan07> is there a way to cancel ?
[07:13] <KurtKraut> spartan07, is it downloading only linux-image-server and linux-server?
[07:13] <spartan07> full upgrade will take me to 9.01 correct?
[07:13] <spartan07> full upgrade
[07:13] <KurtKraut> spartan07, is it downloading several packages? If yes and you're at the download phase, you can abort with CTRL+C
[07:13] <spartan07> can I do a cntl+c?
[07:14] <KurtKraut> spartan07, if it is still downloading and not installing, yes.
[07:14] <spartan07> done
[07:15] <twb> Technically it's often safe to interrupt dpkg, too.
[07:15] <spartan07> Get:1 http://us.archive.ubuntu.com hardy-updates/main linux-image-2.6.24-25-server 2.6.24-25.63 [17.8MB]58% [1 linux-image-2.6.24-25-server 13738342/17.8MB 77%]
[07:15] <twb> I wouldn't depend on that as a strategy, though
[07:15] <spartan07> KurtKraut: thats where it stopped.
[07:16] <spartan07> should I just sudo aptitude linux-image-server linux-server  ??
[07:17] <KurtKraut> twb, there is a newer version of linux-image for spartan07  but aptitude is not making the update after 'sudo aptitude safe-upgrade', it tells the package was kept back. What does spartan07 need to do to have an up to date kernel?
[07:19] <twb> KurtKraut: that's because it'll want to remove linux-generic or linux-kernel-generic or something
[07:19] <twb> Try a full-upgrade and pay attention to what it wants to remove
[07:19] <KurtKraut> twb, but he wants to stick to an LTS version.
[07:19] <twb> spartan07: run "aptitude full-upgrade -sy" and pastebin the output.
[07:20] <twb> KurtKraut: if he hasn't fucked with sources.list, it won't upgrade out of LTS
[07:20] <KurtKraut> twb, oh, okay.
[07:20] <KurtKraut> spartan07, so, I was right before :P
[07:20] <twb> KurtKraut: this is a known issue (to me, at least) with LTS -- the security update for linux server kernel didn't include an update to one of the metapackages
[07:20] <twb> So either remove the metapackage (which is what I do), or don't apply the kernel's security update
[07:21] <twb> -s will simulate a full-update and let us confirm that this is the problem.
[07:21] <spartan07> http://www.pastie.org/689835
[07:21] <KurtKraut> twb, let me explain you his problem. He is running Hardy on a Intel Core 2 Quad and Ubuntu doesn't seem to recognize all cores. Only one. Before proceeding on an investigation, I'm telling spartan07 that it is important to have the latest kernel availuable for him
[07:22] <twb> spartan07: pastebin the output of "cat /proc/cpuinfo", too.
[07:22] <spartan07> http://www.pastie.org/689837
[07:23] <twb> spartan07: yeah, that's perfectly fine to do an "aptitude full-upgrade"
[07:23] <twb> It's just whinging because the kernel's changing a minor version, which means that a "new" package is being installed.
[07:25] <spartan07> is this core recognition a known issue? I would think many servers are multi core now a days
[07:26] <spartan07> done, rebooting - 1sec
[07:26] <twb> spartan07: I don't know.
[07:27] <twb> processor       : 3 [...]
[07:27] <twb> model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
[07:27] <twb> My 8.04 server can see four cores.
[07:27] <twb> Linux plum 2.6.24-23-openvz #1 SMP Thu Apr 2 00:25:58 UTC 2009 x86_64 GNU/Linux
[07:27] <twb> I suggest you ask the BIOS if it is doing anything stupid
[07:27] <spartan07> that was my next thought "BOIS"
[07:28] <spartan07> *BIOS
[07:28] <spartan07> when I checked it said all 4 cores were enabled
[07:28] <spartan07> I would not be able to check since im doing this all though ssh until morning
[07:29] <twb> spartan07: check tomorrow, then
[07:29] <twb> Someone will still be in here, even if I'm not
[07:29] <spartan07> still showing 1cpu so it will have to wait till morning.
[07:29] <spartan07> thank you for the support guys
[07:29] <twb> I hear you can also use dmidecode to check BIOS settings
[07:31] <spartan07> http://www.pastie.org/689841
[07:32] <spartan07> Under Processor Information it says 4 and enabled
[07:32] <KurtKraut> spartan07, so after upgrade and reboot, /proc/cpuinfo still shows one core?
[07:33] <spartan07> yea
[07:34] <KurtKraut> spartan07, have you searched on ubuntuforums.org if someone had the same problem?
[07:34] <spartan07> im kinda thinking of just trying out 9.1 64bit
[07:34] <spartan07> yea did not find much under the server part, hardy desktop had this issue with some laptops
[07:35] <twb> spartan07: you could just cherry-pick the 9.10 (it's not "9.1") kernel and see if the problem is fixed.
[07:35] <twb> spartan07: that will save you a tedious and possibly useless install
[07:35] <spartan07> in all honesty I would not know what to cherry pick
[07:36] <spartan07> what would be the command to upgrade on the command line to 9.10?
[07:37] <twb> !8.04 -> 8.10
[07:37] <twb> !upgrade
[07:37] <twb> !release notes
[07:37] <twb> spartan07: have a look at that stuff and get back to us if you need more help
[07:37] <twb> My advice regarding upgrades will be rather baroque and draconian
[07:38] <spartan07> ok, Im on it. thank you very much for the help
[07:38] <spartan07> lol
[07:38] <spartan07> ok, gnight guys and thanks again
[09:19] <iarwain> Hi. I have a question about Ubuntu Enterprise Cloud. Imagine I have 2 machines for the local cloud. Will I be able to start an instance that uses the resources of both nodes? or must they be 2 or more to use all the resources?
[09:41] <sindre> Is there anyone here that have experience with using Tomcat and MySQL on ubuntu?
[09:43] <twb> !anyone >sindre
[09:43] <twb> Stupid ubottu!
[09:43] <twb> Good ubottu!
[09:43] <sindre> The problem is that I have a tomcat web developer who have some issues connecting to the mysql db he created. We attempted to run the same application from his desktop machine, where we created a mysql user with permission to connect from his ip. this worked. So I believe there is problems with the jdbc application
[09:43] <sindre> sorry
[09:44] <sindre> He has tomcat installed on his desktop computer, which were able to run his tomcat code without trouble (connecting to the database on the ubuntu server). But when we attempt to run the same web application from the ubuntu server, the connection to mysql fails
[09:46] <sindre> MySQL and Tomcat from the 9.10 repositories
[09:46] <sindre> I also installed libmysql-java
[09:47] <sindre> telnet localhost 3306 from a ssh session on the server works fine.
[09:47] <twb> As for me, I can't help.
[09:47] <sindre> Thanks for replying and helping me help others help myself anyway
[09:47] <sindre> :)
[09:51] <qman__> sindre, I don't know anything about tomcat, but it might be just a regular old mysql issue
[09:51] <qman__> in mysql, 'user'@'localhost' and 'user'@'1.2.3.4' are two different users
[09:52] <qman__> so make sure you have the right user setup
[09:53] <sindre> I'll check it. thanks
[09:53] <twb> Goddamn mysql localhost hack
[09:53] <twb> Or is it "127.0.0.1"?
[09:53] <twb> Whichever one magically uses sockets
[09:53] <qman__> not sure, but those are two different users as well
[09:53] <qman__> I think localhost uses sockets
[09:53] <twb> I hate that
[09:54] <sindre> I have 'sindre'@'localhost' (same username for the external IP I tried, and it worked fine)
[09:55] <qman__> did you set the password for both users?
[09:55] <qman__> and the permissions
[09:55] <sindre> yes
[09:56] <qman__> ok then, I see no reason why it shouldn't work
[09:56] <sindre> I think it's the java side of it
[09:56] <sindre> kind of ruled out MySQL when it worked with same MySQL installation on a different tomcat server
[09:56] <qman__> very well could be, like I said, I don't really know anything about tomcat
[09:56] <qman__> sounds like mysql is set up correctly though
[09:58] <sindre> I find it very difficult to google issues with tomcat. Been struggling with this since last week (I'm just a sys admin who tries to make the server work)
[10:05] <alex88> if a bug in launchpad has "fix committed" status, is ti completely fixed in updates?
[10:05] <soren> alex88: No.
[10:05] <soren> alex88: Which bug?
[10:06] <alex88> https://bugs.launchpad.net/bugs/446146
[10:08] <alex88> maybe it's fixed in some rc kernel..but i'm not so familiar wth bug system..
[10:16] <alex88> soren: any clue?
[10:16] <soren> alex88: It's probably in karmic-proposed. I can't see for sure.
[10:17] <alex88> soren: thanks, i'll try those updates
[10:17] <soren> Have fun.
[10:17] <alex88> thanks..xD
[10:17] <soren> Remember to disable karmic-proposed again once you've installed the kernel.
[10:18] <soren> You may not want to just blindly accept all the stuff in -proposed.
[10:18] <sindre> http://pastebin.org/52079 here is a summary of my problem.
[10:18] <twb> If only target-release or similar could be used for that kind of pinning :-/
[10:19] <alex88> i'll do it..thanks
[10:20] <alex88> twb: no familiar with tomcat.. i'm sorry...
[10:28] <sindre> updated pastebin: http://pastebin.org/52093
[10:33] <ttx> sindre: you should disable TOMCAT6_SECURITY in /etc/default/tomcat6 and see if it changes something
[10:33] <ttx> sindre: on Ubuntu tomcat runs by default with a security manager, while the upstream binary distribution of tomcat doesn't
[10:43] <sindre> ttx: I'll try it. thanks
[10:45] <sindre> it's commented out in the default tomcat6 configuration file
[10:45] <ttx> sindre: that's because it defaults to yes.
[10:45] <ttx> set TOMCAT6_SECURITY=no
[10:45] <ttx> (it's not as bad as it looks)
[10:46] <sindre> did it and restarting tomcat
[10:46] <sindre> ttx: you are a brilliant man!
[10:47] <ttx> sindre: I cheat. I packaged it.
[10:47] <sindre> thanks for giving me an easy way to install tomcat and for helping me figuring out the issue I was having. :)
[10:48] <ttx> sindre: If that works, it means you'll have to hack the securitymanager profiles in order to make it work with SECURITY=yes
[10:48] <ttx> or just drop the securitymanager altogether
[10:48] <ttx> since it's very coplex to get right.
[10:48] <sindre> It's noe exposed to the internet, so I'll be ok without security
[10:48] <ttx> complex, even
[10:48] <ttx> "security" is just about running the JVM inside a security sandbox and giving it rights to do stuff with the system
[10:49] <ttx> so it's another layer for defense in depth
[10:49] <ttx> but it's tricky to configure and the main cause of strange bugs with our packaging
[10:50] <twb> Is securitymanager some Java-specific thing?
[10:50] <ttx> twb: yes
[10:50] <ttx> it's a jvm option
[10:50] <twb> Right, carry on
[10:50]  * twb doesn't do Java
[10:50] <ttx> we already run tomcat6 as a specific user, so it's secure enough for most cases
[10:51] <ttx> twb: good idea, I shouldn't do Java either.
[10:51] <twb> I was going to point half-heartedly at apparmor and make bowel-movement type noises
[10:52] <ttx> twb: we could replace using securitymanager by default with using apparmor by default
[10:52] <ttx> twb: it's so much easier to configure :)
[10:53] <twb> I'm kinda suspicious of all the MACs, particularly accidentally allowing stuff
[10:53] <ttx> also tomcat has security manager support but upstream doesn't like it so much -- they usually talk bad words about Ubuntu for us using it by default
[10:53] <twb> But also because every damn admin says "oh, selinux?  I `configured' it by putting it into complain mode"
[10:54] <twb> (Learn mode?  Whatever.  The one that doesn't enforce policy.)
[10:54] <ttx> twb: complex MAC is usually worse than no MAC, unless in the hands of very experienced people
[10:54] <ttx> twb: that's the whole story behind Ubuntu's backing of Apparmor
[10:54] <twb> ttx: eh, my understanding of apparmour is that it's a slightly easier flavour of suck
[10:55] <ttx> twb: my experience is slightly better.
[10:55] <twb> I'd like to understand NTFS' ACLs so that I can explain why they're dumb, too
[10:56] <twb> We currently have some amazingly fugly layers in the security cake at some prisons
[10:56] <twb> But yeah, I will grant you that apparmour is easier to get going than selinux
[10:58] <twb> By 2100 I hope to have gotten around to some turnkey "default deny" apparmor policies, like I currently know how to do for packets with netfilter.
[11:01] <twb> Hm.  Wikipedia says TOMOYO (another path-based MAC) is in Linux proper.
[11:02] <twb> Never mind, it's just using LSM like everything else.
[11:16] <toddobryan> I'm having Kerberos trouble. I can kinit, but I can't su with the Kerberos password, and I get this message:
[11:17] <toddobryan> Nov  9 06:15:14 server1 su[3889]: Libgcrypt warning: missing initialization - please fix the application
[11:17] <toddobryan> in syslog.
[11:17] <twb> Oh gods, I hate krb
[11:17] <twb> toddobryan: I assume your /etc/pam.d is sane-ish?
[11:18] <toddobryan> Well, I ran sudo auth-client-config -a -p kerberos_example
[11:18] <toddobryan> So if it's not, it's auth-client-config's fault.
[11:18] <toddobryan> But I looked in there and it seemed to make sense.
[11:19] <twb> toddobryan: good-o
[11:19] <twb> My last attempt predates auth-client-config, but I have had great success with it's lac_ldap
[11:19] <twb> lac_example?
[11:20] <toddobryan> Any idea what the libgcrypt problem could be?
[11:20] <toddobryan> That seems to appear whenever I try to su...
[11:21] <twb> Call me silly, but any reason you're trying with su and not login or sudo or ssh?
[11:21] <twb> Not that I particularly expect those to work better
[11:33] <toddobryan> Well, I don't know what's different, but I used sudo pam-auth-update krb5 and it works, now.
[11:34] <toddobryan> So something about auth-client-config and pam-auth-update is inconsistent with each other.
[11:34] <toddobryan> But now, I have to run to school. Thanks, twb!
[11:35] <twb> I feel old
[11:36] <twb> I will pretend that he's a lecturer at school
[11:36] <twb> Then I will not feel so old
[14:05] <RayMcCoy> My Ubuntu Server 8.04.3 located at http://liliput.mine.nu is serving very, very slow, even accessing from my local network
[14:06] <RayMcCoy> I did an ApacheBenchmark and that seems to be fast, so it must be something with the connection
[14:07] <RayMcCoy> when I ping the server with big packet size (like 1024 bytes) I get timeouts all the time, but 32 bytes it replies ok most of the time
[14:09] <RayMcCoy> But I wgetted some external big files (like a ubuntu iso) from the server through SSH and I get full download speed for my connection (10mbit), so at least downstream seems to work OK...
[14:09] <RayMcCoy> any help would be appreciated :)
[14:43] <zul> ttx: ping
[15:01] <ttx> zul: pong
[15:02] <zul> ttx: mind if I take the openvpn merge from you?
[15:02] <ttx> zul: be my guest
[15:23] <Blusion`Afk> Hello :) I have an question to ask; Can I run Plesk on an Ubuntu server?
[15:29] <lenios> according to http://www.parallels.com/fr/products/plesk/reqs , you can on 8.04
[15:30] <Blusion`Afk> Thanks
[15:32] <Blusion`Afk> Ubuntu 8.04 LTS <- plesk can run on that distro.
[15:34] <lenios> that's what they say
[15:35] <Blusion`Afk> But?
[15:35] <Blusion`Afk> okay
[15:35] <lenios> i don't use that, i can't tell you
[15:35] <Blusion`Afk> It's okay
[15:36] <Blusion`Afk> It's was just a question ;) You are using DirectAdmin, lenios?
[15:42] <lenios> i don't
[15:42] <lenios> but if i had to choose one, i'll probable check webmin first
[15:44] <Blusion`Afk> Okay :)
[15:44] <incorrect> how can i measure the performance of my DNS server in terms of response time
[15:56] <Jeeves_> incorrect: What dns server are you running?
[15:56] <Jeeves_> Some report it themselves
[15:56] <incorrect> Jeeves_, i am not running the dns server
[15:57] <incorrect> i am comparing dns performance from the UK / USA where ever
[15:58] <Jeeves_> incorrect: Ah, ok. Well, dig reports the Query time
[16:01] <googa> what is the difference between sendmail.cf and sendmail.conf and is there a channel for more on topic conversation
[16:02] <Jeeves_> Hey, that's my bug! :)
[16:05] <googa> hey!
[16:05] <Jeeves_> googa: I guess not much people use sendmail in here (they are wise, imho ;))
[16:06] <googa> I guess not
[16:06] <googa> hey
[16:06] <googa> im pretty new to the irc scene
[16:07] <googa> and a bit bewildered, is there any way of searching for specific channels?
[16:09] <Jeeves_> Not that I know of
[16:09] <kane_> googa: depends a bit on your client. /list should give you a listing of all the channels on the server though
[16:10] <iarp> you could try searchirc.com
[16:10] <kane_> googa: http://www.irchelp.org/irchelp/chanlist
[16:13] <googa> ok thanks!
[16:14] <googa> great found one!
[16:14] <incorrect> oh yes dig does report the query time, i couldn't see it
[16:16] <zul> ttx: why is some of the ideas in italics?
[16:17] <ttx> zul: see top
[16:17] <zul> well duh
[16:29] <ScottK> nxvl: Any chance you could look into Bug #413252 ?  Looks very straightforward, but I think it ought to be an SRU for Karmic too.
[16:36] <sc0tt-> hi folks, I've just installed ubuntu-server on a box and noticed upon boot thats its not loading a usb wifi adapter, what steps can I take to get it working?
[16:36] <sc0tt-> (the wifi is detected and works fine in karmic desktop)
[16:38]  * soren calls it a day
[16:43] <mok0> I'd like to use the ubuntu mail stack: postfix/dovecot with procmail. Can I just redefine postfix's mailbox_command line?
[16:49] <\sh> mok0, why do you want dovecot + procmail, while you could use sieve?
[16:53] <aubre> can anyone help me register my UEC with Landscape? The machine itself is in Landscaper, but when I try to register my cloud it says "There was an error communicating with the cloud.:
[16:53] <\sh> mok0, just read http://wiki.dovecot.org/LDA/Sieve and you forget about procmail at all ;) and there is an procmail2sieve converter
[16:53] <jimlovell777> I have a question regarding .htaccess on my server. This is a example of my htaccess file http://pastebin.com/d360c4244. What I'm trying to accomplish is to remove trailing /'s, redirect http://www. to just http://, prevent hotlinking, and remove php file extensions. For example http://www.mysite.com/contact.php/ would become http://mysite.com/contact. My example works except for two cases, when I want to go to a directory like my
[16:53] <jimlovell777> site.com/images/ and when I try to link to my forums located at mysite.com/forums. /forums gets rewritten to /home/me/..... Any ideas?
[16:53] <mok0> \sh, I have a procmail setup that I've used for 10 years and I'd rather not switch
[16:54] <mok0> \sh does sieve work from the default setup?
[16:55] <\sh> mok0, it should...I have an ISP setup with postfix + dovecot so I don't use ubuntus default setup
[16:55] <mok0> \sh, OK, thanx.
[16:56] <mok0> I will look at sieve, if I can convert my (huge) .procmail script I might go with that
[16:57] <\sh> mok0, as written on this wiki page, there is a procmail2sieve converter...never used it myself, but if it can help you, try it :)
[16:57] <mok0> \sh, I will
[16:57] <jimlovell777> Is there a better place to ask my question?
[16:58] <Pici> jimlovell777: Perhaps #httpd for apache questions
[16:58] <jimlovell777> Pici: Ok thanks
[16:59] <bogeyd6> !apache | jimlovell777
[17:09] <chimp_> I have a server connected by serial cable. When it boots it never reaches the stage to ask my user name, however it does get ssh server started so I ssh into it. I'm trying to work out why it wont get to the stage of logging in, any ideas how i can?
[17:10] <kane_> chimp_: the start up logs are usually a good place to start; syslog, messages, dmesg
[17:11] <NRVate> chimp_ -- so you are using something like console=ttyS0 to boot the server?
[17:11] <NRVate> hence, you see the kernel output on the serial console, but the serial console never issues a login prompt?
[17:11] <chimp_> yes
[17:11] <NRVate> ok.  so you don't have a getty process running for the port
[17:11] <chimp_> syslog is doing this
[17:11] <chimp_> Jan  1 02:29:51 ubuntu init: tty3 main process (4423) terminated with status 1
[17:11] <chimp_> Jan  1 02:29:51 ubuntu init: tty3 main process ended, respawning
[17:11] <chimp_> repeatedly
[17:11] <chimp_> still..
[17:12] <chimp_> Its on an arm board
[17:12] <NRVate> huhm.
[17:12] <NRVate> tty3 would be the third virtual console, right?
[17:12] <chimp_> its running through tty1 to tty6 terminating and respawning
[17:12] <NRVate> huhm :|
[17:12] <NRVate> wonder why it's chunking on a simple virtual console
[17:12] <NRVate> is there.. no video at all on this machine?
[17:13] <chimp_> Nope
[17:13] <chimp_> It has just the serial out
[17:13] <NRVate> ok.. you might start by removing tty?.conf from /etc/init
[17:13] <NRVate> but first, copy one to ttyS0.conf
[17:13] <NRVate> edit it, change ttyx to ttyS0
[17:13] <NRVate> n boot
[17:14] <NRVate> (that's assuming you are using ubuntu 9.10)
[17:14] <chimp_> 9.04
[17:14] <NRVate> .. before 9.10 the usual /etc/inittab file is still used.. but 9.10 switched to upstart and hence /etc/init/<something>.conf files instead
[17:14] <NRVate> hmm lemme look at my 904 machine
[17:15] <chimp_> # Example how to put a getty on a serial line (for a terminal)
[17:15] <chimp_> #
[17:15] <chimp_> T0:23:respawn:/sbin/getty -L ttyS0 115200 vt220
[17:15] <chimp_> Is the end of inittab (rest is commented)
[17:16] <NRVate> makes sense.. so standard inittab syntax
[17:16] <NRVate> hmm, my 904 machine does seem to have /etc/inittab *confused*
[17:16] <NRVate> (would be nice if ubuntu stuck with something for more than 6 months...)
[17:17] <NRVate> ok, people.. so where the bleep is the inittab in 904?
[17:17] <chimp_> Mine is as you said /etc/inittab
[17:18] <NRVate> hmm, that doesn't exist on mine
[17:18] <NRVate> maybe its different on the amd64 build
[17:18] <NRVate> looks like /etc/event.d for my install.. strange.
[17:18] <chimp_> Mine is one generated using debconf
[17:19] <NRVate> anyways, you should be able to remove the tty1-tty6 lines from inittab so you stop erroring on them
[17:19] <NRVate> and I'd guess that above ttyS0 line should be what you need to spawn a getty on the serial line
[17:19] <NRVate> assuming ttyS0 is the valid device, AND it supports 115.2kbit
[17:19] <chimp_> But it never spawns it
[17:19] <smoser> soren, can you make me the assignee of https://blueprints.launchpad.net/ubuntu/+spec/server-karmic-ec2-release-process ?
[17:19] <chimp_> Yeah it does
[17:20] <NRVate> what if you run it manually via your SSH sesssion?
[17:20] <NRVate> might spit you a useful error :)
[17:21] <chimp_> The rest (tty1-tty6) are commented in inittab
[17:21] <chimp_> running it manually just gave me access
[17:21] <chimp_> haha
[17:21] <chimp_> i can log in via serial now, wtf?
[17:22] <chimp_> Is the inittab bit never ran?
[17:22] <NRVate> ahh. so tty1-6 shouldn't be spawning in the first place if it's using /etc/inittab ??
[17:22] <NRVate> thats my guess.
[17:22] <NRVate> do you have /etc/event.d ?
[17:22] <chimp_> yep
[17:22] <NRVate> my 904 install.. has no /etc/inittab
[17:22] <NRVate> but.. looks like my getty's are spawned from there
[17:22] <NRVate> maybe try editing /etc/event.d/tty1
[17:22] <NRVate> and change tty1 so ttyS0 on the getty line
[17:23] <NRVate> err.. exec /sbin/getty with the same params that worked from the command line
[17:23] <chimp_> lol, that is a real hack
[17:23] <NRVate> looks like the last line of the file is just an exec
[17:23] <NRVate> well i suppose you could.. nuke tty1-6 files.. create ttyS0 file, etc.. that'd be "proper".. lol.
[17:23] <chimp_> I wonder if its related to this arm board running jffs2 on a 512mb nand
[17:23] <chimp_> It takes *FOREVER* to boot
[17:23] <chimp_> Im having trouble with ubifs for time being
[17:24] <NRVate> hmm. well, dmesg output should be timestamped
[17:24] <NRVate> so you can see where it's hanging up
[17:24] <chimp_> I get a giving up message on bootup saying mount took longer than 120s
[17:24] <NRVate> wow, insane.
[17:25] <chimp_> yeah its jffs2
[17:25] <NRVate> will the device cooperate with a most standard filesystem?
[17:25] <NRVate> err mORE
[17:25] <chimp_> It reads the entire disk before mounting
[17:25]  * NRVate giggles
[17:25] <chimp_> It needs to be a nand filesystem
[17:25] <chimp_> It needs ubifs tbh, but im struggling to get it working
[17:26] <chimp_> It was jaffs2 before but I also had issues with no one seemingly using it
[17:26] <NRVate> huhm.. ive yet to play much with all that
[17:27] <chimp_> Basically theres no controller chip that does the wear leveling for you that you find in sd cards or ssd drives, so the file system has to handle it for you
[17:27] <NRVate> makes sense
[17:27] <NRVate> ubifs looks real new
[17:27] <NRVate> along with logfs.. interesting.. haven't seen this before
[17:28] <NRVate> so.. ubifs came out in 2.6.27
[17:28] <NRVate> 9.04.. uses 2.6.28, right?
[17:28] <NRVate> wonder if there are significant fixes in the later kernels you may need?
[17:28] <chimp_> Yeah too new.. the tools for it dont exist on the debian sarge install that comes with this board, so im struggling to set it up to use ubifs for the newer filesystem and kernel i run on it
[17:28] <chimp_> Im running 2.6.31 on it
[17:28] <NRVate> ah, gotcha.
[17:29] <chimp_> It has some patches in it that some bloke wrote to make it read the nand faster
[17:30] <NRVate> right on. i assume the root fs is on the nand device?
[17:30] <chimp_> yep
[17:30] <chimp_> I cant make it boot from the sd card because of some hard coded rom issues
[17:30] <NRVate> hehe that complicates things a bit
[17:31] <chimp_> Im trying to cross compile mtd-utils but ive had issues
[17:32] <chimp_> and mtd-utils only has ubifs support in 9.10 (while im 9.04)
[17:32] <chimp_> right im off to see my GP cheers for the help NRVate
[17:32] <NRVate> whew.. sounds fun!
[17:33] <NRVate> good luck chimp, sounds like a fun project
[17:33] <NRVate> i've been wanting to play with some ARM stuff
[17:33] <NRVate> keep seeing their office on the ride home haha
[17:33] <NRVate> cheers :)
[17:34] <chimp_> Where, london?
[17:34] <nxvl> ScottK: will take a look
[17:34] <NRVate> Austin, Tx
[17:34] <ScottK> nxvl: Thanks.
[18:12] <mephx> Hello, I chose to configure networking later during 9.10 ubuntu server install. After install and bootup networking init script simply doesn't work. Are there any further steps besides configuring /etc/network/interfaces? Ifup eth0 works...
[18:25] <mephx> anyone?
[18:25] <mephx> :S
[18:27] <kane_> mephx: if you have some log output of how it doesn't work, that would be very helpful
[18:30] <mephx> kane_: i can't find any relative output regarding what's happening
[18:31] <mephx> ifup works, /etc/init.d/networking restart clears the current configuration and does not re-set it
[18:31] <kane_> mephx: odd -- did you edit that file at all?
[18:32] <mephx> the init script?
[18:32] <kane_> yeah
[18:32] <mephx> no
[18:32] <mephx> i installed 9.10 server on 2 servers
[18:32] <mephx> simultaneous
[18:32] <kane_> mephx: and they both have this problem?
[18:33] <mephx> one of them got network configuration, the other one i chose to configure it later
[18:33] <mephx> the one configured during install worked, the other doesn't
[18:36] <mephx> I could always add ifup eth0 to local, but that looks $#itty
[18:36] <kane_> mephx: /etc/init.d/networking basically does an ifup/ifdown. try capturing the output and see what it does
[18:39] <kane_> mephx: another thing to look at would be the runlevels this is being executed at
[18:39] <mephx> also, it does not show on rcconf
[18:40] <mephx> networking
[18:41] <mephx> can't neither get it to output anything
[18:41] <kane_> mephx: you can't get /etc/init.d/networking to output anything?
[18:42] <mephx> kane_: i'm now debugging it by hand
[18:42] <mephx> ifup -a differs from ifup eth0
[18:42] <mephx> mmm
[18:43] <mephx> lol
[18:43] <mephx> lacking auto eth0 line
[18:44] <mephx> ifup -a sucks
[18:44] <mephx> thanks for the headsup
[18:45] <mephx> don't know why, but i always associated auto line in ifaces to dhcp
[18:45] <kane_> mephx: you did the hard work :) glad we got it fixed
[18:46] <mephx> thanks again kane_
[18:46] <kane_> my pleasure
[19:14] <eqx311> hi :)
[19:14] <eqx311> guys.. does anyone of you has a luck with Xen and Karmic ?
[19:16] <eqx311> ..
[19:16] <eqx311> :)
[19:32] <linux_dr> I'm looking at the Model API reference... is there something like an afterLoad and afterUnload callback?
[19:32] <linux_dr> Oops... wrong channel.. lol
[20:02] <spy6> hi there
[20:02] <spy6> does anybody know, if ubuntu is certified for oracle (db)?
[20:20] <MagicFab> spy6, it's not
[20:23] <sammy> are there any scripts /window 3
[20:24] <Pici> sammy: What?
[20:24] <sammy> are there any ways to view the status of multiple init.d services at the same time?
[20:24] <sammy> gentoo has things like rc-status that show you the started/stopped status of all services or all services in a particular run level
[20:25] <Pici> sammy: You could try server --status-all , but I'm not sure if thats the recommended way to do it.
[20:29] <sammy> if you mean `service --status-all` :) that seems to give me what I'm looking for. I'm okay with a complete list of all init scripts- its not terribly important that I be able to filter it by current run level. thank you!
[21:07] <Baversjo> Is http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer available for doctrine?
[21:07] <Baversjo> Wrong chat >.<
[22:43] <erichammond> "A friend" needs some advice on letting Windows users have a single logon no matter which computer on the network they are using.  Is there an Ubuntu service which can be used to do this LDAP-like thing for Windows?  Is there a better place to ask?
[22:46] <fxhp> vmbuilder jeos runs successfully, but when I start the VM the guest hardware cannot find the harddrive....
[22:46] <fxhp> erichammond: windows calls this a domain (active directory)
[22:48] <ruben23> hi where i can download netboot file for ubuntu desktop...?
[22:48] <mooselix> Greetings, channel.
[22:48] <ruben23> fro pxe server
[22:51] <mooselix> Might anyone have any ideas or tips for removing extra services and reducing the amount of code on an Ubuntu server running Apache, MySQL, PHP & friends?
[22:52] <mooselix> I'm looking to lighten the footprint and increase security.
[22:53] <fxhp> mooselix, I would look into kvm+JEOS
[22:54] <fxhp> Just Enough Operating System
[22:54] <fxhp> Its a version of ubuntu that is tiny and works well with VM.
[22:55] <erichammond> fxhp: Thanks for the "active directory" tip.  I'm finding howto's but they mostly seem to describe how an Ubuntu client can connect to a Windows server.  I'll keep looking.
[22:56] <fxhp> What are you trying to do?
[22:56] <fxhp> Build a ubuntu server that allows for windows computers to authenticate with it?
[22:56] <fxhp> That would be LDAP
[22:59] <fxhp> Why does my jeos VM no have a harddrive?
[23:02] <erichammond> fxhp: Yes, authentication, and if possible, loading browser cookie/bookmark settings.  Looks like we're going to have to bring in somebody who knows Windows a bit more than we do.
[23:04] <fxhp> LDAP is used for authentication, for browser settings you would need windows "Group Policy" which is part of active directory... I don't think that functionality is part of ubuntu
[23:08] <fxhp> Does anyone here have experience with vmbuilder and jeos?  I need help.
[23:14] <Beardedchimp> Heres an interesting question can I, and what happens if I overwrite the kernel while running the os (my guess is maybe the kernel is entirely in ram and it wont notice)
[23:14] <Beardedchimp> This is for an arm board
[23:14] <Beardedchimp> Going to overwrite the nand and update the kernel while running
[23:14] <Beardedchimp> :)
[23:15] <Beardedchimp> Kernel is in its own parition
[23:16] <micahg> is there an issue with software raid and 2.6.31?
[23:58] <fxhp> Still having trouble with my VM's seeing their harddrives
[23:58] <fxhp> If anyone has a chance to help me, that would be great.