[00:08] <dena> can someone help me? I was bridging one of my network connections and set my eth1 device back to static and now DNS isn't working...
[00:09] <dena> tried everything I can think of...
[01:00]  * flyback goes to cook a steak
[01:44]  * flyback gets overwealmed
[01:47] <lukehasnoname> I have to say, gentlemen, it seems a LOT of strong progress has been made on Ubuntu server in the past 6 months
[02:51]  * flyback bbl
[03:03] <lukehasnoname> Anyone know if any big changes were made to the installer between alpha 5 and 6?
[06:15] <hotmonkeyluv> I cannot create a volume group in the setup of 8.04. When I select the option and press enter, I am just taken back to the "partition disks" overview screen. I have 3 disks that are SCSI 18GB, and they each have one partition on them that says "lvm" and the option is "K" (not sure what that means). Any words of wisdom from the community?
[06:23] <lhnn> if you had asked me 15 minutes ago I could have helped
[06:23] <lhnn> I was installing hardy on my server
[06:23] <lhnn> heh
[07:00] <hotmonkeyluv> lol, I got it
[07:01] <hotmonkeyluv> i just restarted 3 times, and somehow it worked
[07:01] <hotmonkeyluv> btw, do you know the way to untar a .tar.gz file with the command line?
[07:01] <ropetin> tar -xzvf file.tar.gz
[07:03] <hotmonkeyluv> thanks!
[07:05] <ropetin> NP!
[07:45] <lhnn> Again, I will recommend that the motd be changed to remind users of their local copy of the documentation on intrepid server, if they installed it.
[07:46] <lhnn> ping kirkland just to make sure someone 'important' sees my recommendation.
[07:58] <kgoetz> pretty random comment
[08:00] <ropetin> kgoetz: ?
[08:14] <kgoetz> ropetin: lhnn 's coment. random, i felt it was
[08:16] <scuser> hi all, does anyone know which file is the pam configuration file for ubuntu 8.04
[08:16] <scuser> ?
[08:18] <lhnn> kgoetz: I was discussing some days ago how users need to be aware of the fact that they have documentation right on their computer
[08:52] <kraut> moin
[08:53] <kgoetz> i've seen the conversation before, i just cant remembrer who i was having it with
[09:23] <chmac> I want to run something through two 's/foo/bar/g' processes, best to sed | sed, or somehow have sed process it one pass?
[09:26] <soren> sed -e one_expression -e another_expression
[09:26] <soren> chmac: ^
[09:27] <chmac> soren: Sweet, thanks :)
[09:27] <soren> chmac: np :)
[10:20] <chmac> Is there a silent version of `myqldump -qp blah | gzip | sudo tee blah.sql.gz` ?
[10:24] <ropetin> chmac: pipe it out to /dev/null?
[10:24] <chmac> ropetin: Neat trick, didn't think of that...
[10:25] <chmac> All the gzip output just borked my terminal :)
[10:26] <ropetin> chmac: Yeah, I didn't think fo that :)
[10:26] <chmac> So this should work right `myqldump -qp blah | gzip | sudo tee blah.sql.gz > /dev/null` ?
[10:36] <chmac> ropetin: I get a weird password issue when I try that
[10:36] <chmac> It asks for the mysqldump and sudo passwords simultaneously on the same line
[10:36] <chmac> But I don't need a password if I `sudo tee`
[10:37] <chmac> Anyway, I piped the output somewhere else and moved it afterwards :)
[10:39] <scuser> hi all, does anyone know how to configure nsswitch.conf file to search for kerberos authentication beside of passwd ?
[11:39] <Kamping_Kaiser> chmac, why tee a gz?
[11:41] <chmac> Kamping_Kaiser: Can one pipe into gzip and have it write to a standard file?
[11:42] <chmac> Kamping_Kaiser: I want to gzip compress mysqldump output and write it to a file that I need sudo to write to
[11:43] <chmac> So `sudo mysqldump -qp blah | gzip > blah.sql.gz` fails because the > has my regular user permissions, not sudo permissions
[11:43] <chmac> I could probably do something like `sudo $(mysqldump -qp blah | gzip > blah.sql.gz)` I guess...
[11:45] <Kamping_Kaiser> chmac, |sudo gzip perhaps
[11:46] <chmac> Kamping_Kaiser: Interesting, that might well work...
[11:46] <Kamping_Kaiser> although the sudo $() is nice (or just run the damn thing as root if its going to be regular)
[11:46] <Kamping_Kaiser> chmac, does mysqldump support dumping to a compressed file? i thought it did
[11:47] <chmac> Kamping_Kaiser: In principle we use sudo to log actions on the server
[11:47] <chmac> Not sure if that actually happens or not though :)
[11:47] <chmac> Kamping_Kaiser: Nope, | sudo gzip doesn't work
[11:48] <Kamping_Kaiser> chmac, if its run by users, i'd agree. if its a regular thing, (eg cron) i'd go for root
[11:48] <chmac> Even `sudo mysqldump > blah.sql` doesn't work
[11:48] <chmac> Kamping_Kaiser: Agreed, for something scheduled, root would make sense
[11:48] <chmac> Or fix the permissions so a lower user can write the file!
[11:49] <Kamping_Kaiser> chmac, i was about to ask why your trying to write to a dir your nto allowd to
[11:49] <chmac> rope-tin suggested piping to /dev/null which worked `mysqldump -qp blah | gzip | sudo tee blah.sql.gz > /dev/null`
[11:52] <Kamping_Kaiser> i still want to ask why your trying to write somewhere you cant
[11:54] <chmac> Kamping_Kaiser: I'm dumping a database and saving the backup near the web root, which my user doesn't have write access to
[11:56] <Kamping_Kaiser> chmac, thought about using a set uid/gid on the dir?
[11:56] <chmac> Kamping_Kaiser: You mean changing ownership?
[11:58] <Kamping_Kaiser> chmac, not as such.
[11:58] <chmac> Kamping_Kaiser: Ok, not sure what set uid/gid means then
[11:59] <chmac> Kamping_Kaiser: But it's more of a theoretical problem than an actual one!
[11:59] <chmac> `mysqldump -qp blah | gzip > ~/blah.sql.gz; mv sudo ~/blah.sql.gz ./` worked a charm :)
[12:09] <ghaleb__> hello, how can I monitor a graph for server load and network traffic ?
[12:12] <chmac> ghaleb__: Monitor a graph? Or produce a graph of server load?
[12:12] <chmac> ghaleb__: Check out monit, might be what you're after
[12:14] <ghaleb__> chmac: yes, to see a graph representing the load ..etc
[12:14] <ghaleb__> thank you
[12:15] <til-> hi, is there an official ubuntu-server license agreement online somewhere?
[12:16] <chmac> til-: It's GNU I think isn't it?
[12:16] <chmac> til-: Plus each of the applications will have their own licence
[12:16] <Kamping_Kaiser> til-, no there isnt. why do you ask?
[12:18] <til-> on the webpage it says "Your use of any software obtained from this site is subject to the terms of any license agreement provided with the software. Some of these agreements incorporate the terms of the GPL or others..."
[12:19] <til-> i ask because i was asked to find out.. :)
[12:19] <til-> and i think it's an interesting point, there surely _are_ restrictions for several pieces of software included in the distro
[12:20] <Kamping_Kaiser> a large percentage is GNU GPL 2 (or later).
[12:22] <til-> hm, and how about the rest?
[12:23] <til-> people tend to assume everything is GPL, i guess
[12:23] <til-> an example is gnuplot, here's the (non-GPL) license: http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright?view=markup
[12:24] <Kamping_Kaiser> then the rest are not GPL ... /usr/share/common-licenses is the primary ones
[12:24] <Kamping_Kaiser> if you need to know every licence, you have to go find them, no one here will give them to you.
[12:25] <Kamping_Kaiser> almost everything meets the DFSG and is OSI listed
[12:26] <til-> sure, however, i guess it's the tiny little part which doesn't that makes the difference
[12:27] <til-> thanks anyway, i wasn't aware of the common-licenses dir
[12:29] <ghaleb__> chmac: monit does view a graphs ?
[12:30] <chmac> ghaleb__: Not sure, I haven't installed it, but I believe it has a web interface and pretty pictures... :)
[12:31] <chmac> ghaleb__: Maybe I'm thinking Munin, might want to check that out also
[12:31] <ghaleb__> thank you
[12:32] <ghaleb__> chmac: yes exactly thank you really
[12:33] <chmac> No worries :)
[13:33] <chmac> As root, I just issued `rm -rf blah /` with a space instead of blah/ - any advice?
[13:38] <Deeps> lol
[13:38] <Deeps> reinstall
[13:38] <Deeps> well
[13:38] <Deeps> ctrl + c
[13:38] <Deeps> if it's still going
[13:38] <Deeps> and hope it's not trashed /home yet
[13:40] <chmac> It hasn't, it's deleted very little it would seem
[13:42] <chmac> If I've deleted ls, any suggestion on how to view directory listings? :(
[13:50] <chmac> Wow, ls has just started working again, some auto-recovery system maybe...
[14:30] <Deeps> i'd suggest a livecd and mounting the disk to see what's what
[14:52] <dholbach> hi guys
[14:53] <dholbach> is there anything we can do about bug 43987?
[14:53] <dholbach> smagoun just told me about it, it seems to have slipped through the cracks
[15:08] <chmac> Turns out the host have some sort of security system running. The command was killed, system files restored, a list of deleted files is being created, and the root password was changed.
[15:08] <chmac> Happy, happy, happy days
[15:09] <chmac> Now I'm going to try and sleep :)
[16:23] <mathiaz> infinity: do you remember why the default index.html page in apache2 was moved from /var/www/apache2-default/ to /var/www ?
[16:59] <infinity> mathiaz: It certainly wasn't my doing... Does the changelog shed any light?
[16:59] <infinity> mathiaz: (I didn't even know it was done, that's how out of touch I am)
[17:05] <mathiaz> infinity: no really - the changelog doesn't give any details on this.
[17:06] <mathiaz> infinity: see bug 273425
[17:09] <infinity> mathiaz: See, the last time I remember discussing this in debian-apache, we were talking about moving the default to /usr/share, so it wasn't in admin space at all anymore.
[17:09] <infinity> mathiaz: That bug doesn't relate, though.
[17:10] <infinity> mathiaz: It's talking about webapps being in /var/www, which has been true for ages.
[17:27] <infinity> mathiaz: Kay.  Looks like we ship in /usr/share, but copy in postinst if there's no index in /var/www
[17:27] <infinity> mathiaz: Which really isn't a bit deal if someone prefers to use vhosts, they can just leave the file there (or an empty index)
[17:28] <Database> How would I link a domain name to my server?
[17:28] <mathiaz> infinity: right - I'm not sure what the user's issue is.
[17:28] <mathiaz> infinity: having index.html in /var/www make perfect sense to me.
[17:29] <mathiaz> Database: point the domain name to the IP address of the your server.
[17:29] <Database> What, that's it?
[17:29] <Database> No DNS or anything?
[17:30] <infinity> That would be the DNS.
[17:30] <Database> So, I'd install and set up a DNS server on my server, and then just switch the nameservers to it's IP address?
[17:31] <mathiaz> Database: hm - I'm not sure what you're trying to achieve. Could you elaborate a bit more about your setup and what you wanna do ?
[17:31] <Database> Sure, sorry.
[17:32] <Database> Basically, my family has five or six domains.
[17:32] <Database> The end result is to set up my server to serve web pages and e-mail.
[17:33] <mathiaz> Database: your five or six domains have dns servers. So you need to update the dns server configuration to point to your server IP.
[17:33] <Database> Uhhh. Right.
[17:34] <mathiaz> Database: ex: www.familydomain1.com -> server-IP
[17:34] <Database> So, I do this at my domain registrar?
[17:34] <mathiaz> Database: for email, you need to update the MX record for each domain.
[17:34] <Database> Right.
[17:35] <mathiaz> Database: probably yes. You domain registar is probably your dns provider
[17:35] <Database> Oooh.
[17:35] <Database> I didn't know that.
[17:35] <mathiaz> Database: or at least can point you to your dns provider.
[17:35] <Database> Thank you.
[17:35] <Database> I see a large "Change DNS" button?
[17:35] <mathiaz> Database: that's probably to change your dns provider.
[17:35] <Database> I'd imagine, yes ;)
[17:36] <mathiaz> Database: you'd better figure out which dns provider you're using.
[17:36] <Database> -nods-
[17:36] <Database> I'll try and do that.
[17:36] <Database> I'm hosted with a pretty unknown provider, unfortunately - Freeola.
[17:37] <mathiaz> Database: freeola is your web hosting company ?
[17:37] <Database> THey'r emy domain registrar.
[17:37] <Database> And they /were/ my host, but I switched out.
[17:38] <mathiaz> Database: right - they're probably your dns provider also.
[17:38] <Database> Excellent.
[17:39] <mathiaz> Database: try to figure out if you can change DNS records for you domains.
[17:39] <Database> I seem to be able to.
[17:39] <Database> http://freeola.com/support/domain_dns.php
[17:39] <Database> I see terms that I recognise. :p
[17:40] <mathiaz> Database: right - so you need to update the A and MX record to point to your server IP.
[17:40] <Database> Aha, thank you.
[17:40] <Database> Although, that may be a problem...
[17:40] <Database> I'm pretty certain I have a dynamic IP address, see.
[17:42] <mathiaz> Database: then you need to use a service such as no-ip.com
[17:42] <Database> Alright...
[17:42] <Database> I have a no-ip account.
[17:42] <Database> What would I do there?
[17:42] <Database> And, does it require the pay-for service?
[17:43] <mathiaz> Database: you'd create a hostname pointing to your dynamic ip address.
[17:43] <Database> Right.
[17:43] <Database> So, database404.hopto.org or similar?
[17:44] <mathiaz> Database: and then create a CNAME record for each of your www.familydomain.com domain pointing to your no-ip hostname
[17:44] <Database> Oooooh.
[17:44] <Database> Wow, this is a lot simpler than I thought.
[17:44] <Database> So I can throw BIND out of the window? :D
[17:45] <mathiaz> Database: considering that your server is on a dynamic IP adress, running a dns service on it is definetely not a recommended option.
[17:46] <Database> I can see why, yeah.
[17:46] <Database> I'm sorry for being a little dense, I am fairly new to server administration, even though I've been using Linux for a while now. :)
[17:54] <mathiaz> Database: no worries - people in this channel are here to help out :)
[17:55] <Database> And now I figure out which domain can be changed first to test it :P
[18:17] <Database> So... once I've changed my domains over, what would I do next to make my server accomodate them all?
[18:18] <mathiaz> Database: you need to configure apache2 to serve the correct content for each of the domain (via virtual hosts probably)
[18:18] <Database> Right-o./
[18:19] <Database> I'm using Lighttpd, but I think the same process will apply.
[18:19] <mathiaz> Database: and then you also need to setup your mail service to accept mail for all of your domains
[18:19] <Database> Right, and that's the bit I don't know much about.
[18:19] <mathiaz> Database: probably - I don't know how to configure virtual hosts for lighttpd.
[18:19]  * Database nod.
[18:20] <Database> So, would it just be a case of poking configuration files?
[18:21] <mathiaz> Database: yes - once you've figured out how you want virtual domains for your mail server.
[18:22] <Database> Ooooh.
[18:22] <Database> Virtual domains?
[18:22] <mathiaz> Database: that would probably require a bit of reading/searching on how to setup postfix to do that
[18:22] <Database> Well, I can do the Google, so it should be alright.
[18:22] <mathiaz> Database: the postfix documentation is quite good.
[18:22] <Database> -nods-
[18:28] <nxvl> nijaba: \o/
[18:28] <nxvl> nijaba: i've already spammed some of my friend with the survey
[18:30] <Database> Oh, and how would I set up subdomains?
[18:38] <nijaba> nxvl: thanks
[19:53] <flyback> http://www.youtube.com/watch?v=Wg_JB1P-HBk&feature=related# <--since people always wonder wtf my nick means
[20:46] <zul> hey ivoks
[20:46] <ivoks> hello
[20:46] <ivoks> zul: didn't have time to test drbd today :/ tomorrow is a new day
[20:47] <zul> fine with me
[20:47] <ivoks> :)
[20:58] <mathiaz> ivoks: tomorrow is a new day -> I hope so ! ;)
[20:58] <ivoks> mathiaz: :)
[20:59] <ivoks> any advice for a nice server for virtualization?
[20:59] <ivoks> :)
[20:59] <ivoks> i can't do dev. on my laptop any more... that's insane :)
[21:00] <mathiaz> ivoks: ... ubuntu server with kvm.... ?
[21:00] <ivoks> kvm or vmware
[21:00] <ivoks> ubuntu, of course...
[21:00] <mathiaz> ivoks: you'd buy new hardware ?
[21:01] <ivoks> yes... currently, i'm looking at poweredge T300
[21:01] <mathiaz> ivoks: ok - so you'd have a proc with virtual extensions - kvm is the best choice than
[21:01] <mathiaz> ivoks: I've built my own server a couple of month ago
[21:02] <ivoks> mathiaz: yes, i know that :D
[21:02] <ivoks> if local supplier doesn't have t300 tomorrow morning, i'll build my own server
[21:02] <ivoks> :)
[21:03] <mathiaz> ivoks: make sure that you have a proc that supports the extension - it seems that the default proc for a T300 is a celeron
[21:04] <mathiaz> ivoks: and add as much RAM as you can - it helps when you run 34890210 guests.
[21:04] <ivoks> mathiaz: default proc for t300 is quad core :)
[21:04] <ivoks> oh... you are right
[21:04] <ivoks> they do have celeron too
[21:04] <ivoks> anyway, i'm going for a quad
[21:04] <ivoks> at least 4 gigs of ram
[21:05] <ivoks> so, how are you guys?
[21:18] <flyback> a) make sure you have a chipset that supports > 4 gig
[21:19] <flyback> intel put out some that couldn't even use the full 4 gig even in 64 bit mode cause there wasn't a iommu
[21:19] <flyback> I think anything that takes a quad core should work
[21:20] <flyback> b) don't get a shitty power supply or you *anuck*the whole mess
[21:20] <flyback> c) I will laugh and taunt you if b)
[21:20] <flyback> d) esxi is pretty cool although it's picky about hw
[21:25] <flyback> e) uC**Tu server has pissed me off to the point of wanting to kill you all, but I finally think I worked around most of the bugs
[21:25] <flyback> using it as a host for vmware server 1.0x on some headless blades
[21:29] <ivoks> did you report those bugs?
[21:30] <flyback> no because some of them are already know and also I suspect interactions with the blade hw
[21:31] <flyback> seems the whole ubuntu serial libary routines, or terminal routines or some combo of both are weird
[21:31] <flyback> I had to patch for that "unsupported blah blah will be depreciated soon" crap in newer 2.6 kernels with older ubuntu's
[21:32] <flyback> when I connect to a blade thru telnet to the management interface ip then link to the virtual com port
[21:32] <flyback> I get wacky problems with editors in ubuntu
[21:33] <flyback> nano starts smashing lines together and doing "CAN NOW UNJUSTIFY) (yes with the wrong grammer too)
[21:33] <flyback> when I try to save
[21:33] <flyback> little hard to fix the network config scripts after a disk clone when the only interface is the one buggered
[21:34] <flyback> since it's not happening in livecd's I have booted
[21:34] <flyback> I suspect it's some weird terminal emulation or libary you guys chose as default in 6.06lts
[21:35] <flyback> and no upgrading to a newer lts was not an option
[21:36] <ivoks> i didn't understand half of what you just said :)
[21:36] <flyback> a) 6.06LTS was one of the only ones listeed on a PXE boot server vm that has pxe scripts and installer scripts for, which you need on a headless blade with no expansion slots, video or cdrom
[21:36] <flyback> b) I can't break vmware server
[21:36] <flyback> ivoks, it appears that something about ubuntu
[21:37] <flyback> involving serial routines is non standard and really gets buggered by the blade's serial hw
[21:37] <ivoks> seting terminal emultaion didn't help?
[21:37] <flyback> my theroy would be justified by the fact that a kernel patch is needed because of something in ubuntu 6.06
[21:37] <flyback> that is known
[21:37] <flyback> I don't think I tried that much
[21:37] <flyback> here's the thing
[21:38] <flyback> it's apprentely only involving non screen printable screen characters
[21:38] <flyback> why you don't see stuff like you go to save in ubuntu or try to hit enter to move a line down
[21:38] <ivoks> well, i had some problems with serial modem on 6.06
[21:38] <flyback> then it goes nuts
[21:38] <ivoks> that's terminal emulation
[21:39] <ivoks> export TERM="vt100" would probably solve it :)
[21:39] <flyback> weird thing is it doesn't happen on systemRescueCd
[21:39] <flyback> and a few others
[21:40] <ivoks> you client is expecting terminal VT100, but it gets linux from ubuntu
[21:40] <ivoks> changing terminal emultaion on ubuntu to VT100 would help, i'm sure
[21:47] <flyback> I think I tried that once though and it made it worse
[21:47] <flyback> but ok
[21:47] <flyback> after I get this backed up I will look into that
[21:48] <ivoks> there are lots of different terminal emulations
[21:48] <flyback> yeah I know
[21:48] <flyback> I was using linux back in the 90's :P
[21:48] <ivoks> you should know which one your server and client are expecting/using
[21:48] <ivoks> some of us were using unix before linux :p
[21:48] <flyback> well it was my first time dealing with headles boxes
[21:49] <flyback> I was kinda rushed into it
[21:49] <flyback>    c vbnmx b\
[21:50] <flyback> I was kinda rushed into it
[22:38] <sgrover> NFS help?  My mail server mounts an NFS share.  That share gets dropped on a regular basis - sometimes a few hours, sometimes a few weeks... but typically daily.
[22:38] <sgrover> Takes a reboot of both the mail server and the nfs server to restore - restarting the services is not enough.
[22:39] <sgrover> I've seen reference to this, and it appears to be a kernel issue.  I've updated the kernels yesterday, but am still experiencing the problem...