[00:16] <billybigrigger> quick question
[00:18] <billybigrigger> setting up dovecot/postfix here...now my isp blocks outbound port 25 on me, so i am using postfix and a relay server to send my mail out via my ISP's smtp server...do i need to setup sasl/tls on this setup since i will be using my isp for smtp?
[00:18] <billybigrigger> i doubt my isp will accept encrypted outbound mail
[00:18] <billybigrigger> errr...not encrypted...wrong word
[00:19] <billybigrigger> or will it matter if it set it up? i'd rather not spend the time to figure out if it works or not....
[00:48] <hggdh> billybigrigger, email can be encrypted, the headers are clear-text
[00:50] <hggdh> and if your ISP needs SSL/TLS for SMTP... depends on the ISP. Rule of thumb is it should probablymatch your direct contact to the SMTP server.
[03:31] <Fenix|home> Greetings
[03:31] <Fenix|home> I'm in a pickle and need some help
[03:32] <Fenix|home> I'm having difficulties with dmraid
[03:32] <Fenix|home> my upgrade to jaunty went fine, then 2 weeks later everything died
[03:32] <Fenix|home> I'm trying to use dmraid to mount my volume so I can fix it all, but I'm getting a crapload of spaces at the end and my partitions won't activate
[03:33] <Fenix|home> I think the spaces are screwing everything up... anyone know how to rename my raid?
[04:32] <bthompson> hey guys i am setting up a second webserver for failover...what would be the best way to ensure that each server stays configured the same exact way...active/active...also i am going to allow the firewalls to load balance accross the 2 as well..
[05:27] <Fenix|home> Greetings.  Anyone active?
[05:27] <jmarsden> Fenix|home: Most of us are sitting down in front of a keyboard and screen...
[05:27] <Fenix|home> w00t
[05:28] <Fenix|home> I'm personally ripping my hair out.
[05:28] <Fenix|home> dmraid has busted my machine :(
[05:28] <twb> That's what fakeraid is for
[05:28] <jmarsden> You used fakeraid?  Why?  Just use software RAID, it works better and is portable across different machines?
[05:29] <Fenix|home> jmarsden: well it's a bit late for that :)
[05:29] <Fenix|home> fakeraid was working fine...
[05:29] <Fenix|home> then it stopped working.
[05:29] <jmarsden> Why ... you now have super valuable data on your machine that you didn't back up?
[05:29] <Fenix|home> I upgraded to jaunty and all was fine for about 2 weeks.
[05:30] <Fenix|home> now my fakeraid name has changed and my server won't boot
[05:30] <jmarsden> If you boot from a LiveCD can you then see the fakerad partition and mount it?
[05:30] <Fenix|home> it used to be /dev/mapper/asr_1, but now it's /dev/mapper/asr_OS             1
[05:31] <Fenix|home> jmarsden: partially
[05:31] <jmarsden> You can partially mount it? :)  Please explain ...
[05:31] <twb> jmarsden: it's very confusing when you put a question mark at the end of statements.
[05:31] <Fenix|home> RAID set "asr_OS             " was activated
[05:31] <Fenix|home> RAID set "asr_OS             1" was not activated
[05:31] <Fenix|home> RAID set "asr_OS             5" was not activated
[05:32] <Fenix|home> the volume became available, but the partitions won't
[05:36] <jmarsden> OK... I don't use fakeraid, but I'm guessing the old /dev/mapper/asr_1 name may still be in some config files.  if so, (and if you can mount your old / partition at least) you could try changing them to the new name(s) and see if that helps.
[05:39] <Fenix|home> jmarsden: I agree... but how do I deal with the name of "asr_OS\ \ \ \ \ \ \ \ \ \ \ \ \ 1"?
[05:41] <jmarsden> Hmmm.  It's going to depend on the syntax of the config file concerned... you can try quoting it, or try backslashing the spaces.  Probably easier to try stuff than to read the code of whatever the config file is for to determine its rules for handling spaces in strings!
[05:42] <jmarsden> Do you know if there was a kernel update you picked up just before it broke?
[05:43] <Fenix|home> I don't think it was a kernel update as all my kernels no longer boot
[05:44] <Fenix|home> I have 2.6.28 and 2.6.27 , both -11
[05:44] <Fenix|home> I think it's dmraid-1.0.0
[05:44] <Fenix|home> I believe I was using dmraid-0.9.9
[05:45] <jmarsden> OK.  So dmraid got updated and that broke the world.  Let me download its source and read the changelog...
[05:48] <jmarsden> Hmmm.  dmraid went to 1.0.0.rc13-1 in October 2006... if you were running Intrepid, logically you'd have been using something at least that recent...
[05:48] <Fenix|home> ok, so what changed?
[05:53] <jmarsden> Since then?  Tons and tons of patches... none I can see in the changelog that look obviously relevant to your situation, but there is so much it is hard to tell.
[05:53] <jmarsden> There have been 23 1.0.* releases since then !
[05:58] <jmarsden> I don't see anything in the changelog that looks a likely culprit, at all.
[05:58] <Fenix|home> grr
[05:59] <jmarsden> And launchpad shows 0 open bugs...
[06:02] <Fenix|home> bug 381514 has my problem
[06:02] <Fenix|home> except my raid has renamed itself :)
[06:04] <jmarsden> Yes, I was about to say, but he doesn't mention the naming issue at all, so it's perhaps not the same issue... hard to say.
[06:08] <jmarsden> The last couple of updates to dmraid in Ubuntu were done by Luke Yelavich <themuso@ubuntu.com>  -- maybe you could seek him out here on IRC or send him email?
[06:19] <azazel`> WHY ubuntu server
[06:20] <azazel`> and why not debian
[06:20] <azazel`> pitch your distro
[06:26] <Fenix|home> jmarsden: messages shows :: device-mapper: ioctl: error adding target to table
[06:27] <Fenix|home> I think this is kernel related.
[06:27] <Fenix|home> how do I go about an older kernel?
[06:28] <Fenix|home> kern.log shows the following
[06:28] <Fenix|home> Jun  6 05:22:28 ubuntu kernel: [ 3872.998802] device-mapper: table: 252:1: linear: dm-linear: Device lookup failed
[06:28] <Fenix|home> Jun  6 05:22:28 ubuntu kernel: [ 3872.998811] device-mapper: ioctl: error adding target to table
[06:28] <jmarsden> Fenix|home: Well, booting from a Jaunty LiveCD will get you the Jaunty kernel as at time of release...
[06:29] <jmarsden> But you already tried that and it only half works... so I'm not sure how much it will help.
[06:31] <Fenix|home> jmarsden: live cd is
[06:32] <jmarsden> WIth the live CD, can you see all of your data?
[06:32] <jmarsden> If you cn. I'd back it up to a spare single drive, then rebuild the server using software RAID and put your data back...
[06:33] <Fenix|home> I'm having hit and miss with mounting the partitions
[06:34] <jmarsden> Can you mount the one(s) you care about for long enough to back them up?
[06:34] <Fenix|home> no
[06:34] <jmarsden> :(
[06:35] <jmarsden> I think you need someone who understands dmraid better than either of us do.
[06:36] <jmarsden> It is not a support channel, but Luke (themuso) is currently in the #ubuntu-motu channel... whether his is physically present or just logging I don't know...
[06:38] <Fenix|home> thanks
[14:40] <erik78se> Nu är din chans att göra skillnad! Rösta på Pirapartiet i morgon den 7:e juni och sänd en chockvåg genom Bryssel! Din röst gör skillnad!
[14:53] <^andrea^> Hi everyone... I just installed ubuntu server 8.04 and I want to connect it to a router via wireless...
[14:53] <^andrea^> doing "sudo iwlist wlan0 scan" I see my network...
[14:54] <^andrea^> but it has a WPA-PSK ecrypted password and I don't know how to access it...
[14:54] <^andrea^> can anyone suggest me the right path to follow?
[15:01] <waswas> Hi. I'm having trouble with ssh
[15:01] <waswas> It's disconnecting me all the time
[15:01] <waswas> and then refuses to let me connect
[15:02] <waswas> If i wait like  0-5mins its working again
[15:02] <waswas> ubuntu 9.04 server
[15:07] <fbc-mx> waswas during that down time are your rying to ping the server to see it you still have connectivity?
[15:07] <fbc-mx> waswas, You may actually be losing connectivity to your server for 5 minutes or so.
[15:09] <waswas> hmm
[15:09] <waswas> it seems tha i havent
[15:09] <waswas> but i need to check, if its responsing when its working
[15:10] <fbc-mx> waswas, When you lose ssh, ping the server to make sure you or the server haven't lost connectivity.
[15:10] <waswas> it seems that firewall is blocking ping when its working
[15:10] <waswas> i have to disable firewall
[15:11] <fbc-mx> waswas, yeah just for testing purposes...
[15:11] <waswas> Yep
[15:11] <fbc-mx> waswas, is your server exposed to the internet?? on a DMOZ or collocated?
[15:12] <waswas> I disconnected pppoe connection for testing
[15:12] <waswas> This is kinda pain in my ass, because problem is happening random time :P
[15:13] <waswas> it doesnt answer my pings, even when firewall is off
[15:13] <fbc-mx> waswas, maybe it's happening when pppoe goes down, because the server need to reconfigure networking everytime the pppoe goes down. Not sure because I don't use pppoe.
[15:14] <waswas> Well actually i'm connecting using LAN
[15:14] <waswas> So the problem isnt pppoe, at least i dont think so
[15:17] <fbc-mx> it your on a local lan, why are you running firewall unless you are on DMOZ?  Any ways, did the ping work??
[15:17] <waswas> I'm running firewall, because normally its connected to the internet
[15:17] <fbc-mx> waswas, I would keep a constant ping going in a terminal window so I can tell when it goes down.
[15:17] <waswas> hmm
[15:18] <waswas> I could try that
[15:18] <fbc-mx> waswas, right... pppoe
[15:18] <waswas> hmm its answering my ping when i'm using my laptop (ubuntu)
[15:18] <fbc-mx> Does anyone know how to see/set BIOS settings from the command line?
[15:18] <waswas> but now when i'm using my main computer what runs xp
[15:21] <waswas> Heh... Of course its not disconnecting when i'm trying to find the problem :>
[15:44] <waswas> hmm
[15:44] <waswas> Maybe it was hardware problem ;P
[15:44] <waswas> At least i hope so
[15:49] <waswas> nope. It answers the ping. But ssh is crashing
[15:51] <waswas> Damn, i cannot but this piece of s*** into closet, before ssh is working correctly
[16:09] <waswas> maybe i should reinstall whole thing -_-
[16:42] <fbc-mx> waswas, dunno, I've never had a problem with mine... Maybe the whole machine freezes for while.
[17:15] <waswas> fbc-mx yeah, this is first time for me also
[17:16] <waswas> If i recall right, this problem started when i used ssh pipe
[17:17] <waswas> But i installed OS yesterday, so i dont know if it's the reason
[17:22] <fbc-mx> waswas, ohh then uninstall ssh pipe.
[17:25] <philsturgeon> Anyone know how to enable RTMP access through the iptables?
[17:26] <philsturgeon> im new to messing with firewalls. i have set up a flash server from these directions: http://scottmotte.com/archives/208.html. i set it up without following the firewall steps at the top and port 80 was running fine with its built-in web server. i have followed those rules and i have an empty firewall with no rules...
[17:26] <philsturgeon> i have re-enabled port 80 from the ubuntu how-to but not sure how to get RTMP live and kicking
[17:28] <philsturgeon> think i got the rules
[17:29] <philsturgeon> is there a way to restart iptables without a reboot?
[17:30] <giovani> why would you need to "restart iptables"?
[17:30] <philsturgeon> was wondering if ithat was needed to get the rules working
[17:30] <giovani> ... no
[17:30] <philsturgeon> seems they are not :( just manually ran all of the rules listed in that article, still no joy
[17:31] <giovani> if you truly have no firewall rules ... then this is not a firewall problem
[17:32] <giovani> the firewall by default doesn't block anything
[21:08] <asdf-> hi, i have an old laptop that i installed xubuntu on... it is a little sluggish... i'm thinking about installing ubuntu server edition and install a window manager... does the server edition recognize hardware and auto install like regular ubuntu?
[21:14] <giovani> asdf-: have you tried fluxbuntu?
[21:14] <giovani> it's more lightweight than xubuntu
[21:14] <giovani> but if you want to use the server install, just swap out the kernel for the desktop kernel, and you'll have the same hardware support as everyone else
[21:14] <giovani> or ... simply install flux/xubuntu and then remove the window manager -- same deal, really
[21:14] <asdf-> ok
[21:15] <asdf-> i don't need printer support
[21:15] <asdf-> so i uninstalled cups
[21:15] <giovani> so remove it
[21:15] <asdf-> and now everything was removed
[21:15] <giovani> oh, yeah, you'll break some dependencies doing that stuff
[21:15] <giovani> of xubuntu-desktop or something
[21:15] <asdf-> yeah, so i thought the server edition would be a slimmer install
[21:15] <asdf-> yes, exactly
[21:16] <giovani> yeah, there are ways around that
[21:16] <giovani> but install the server version and replace the kernel if you want
[21:17] <asdf-> will it give me that option during install?
[21:17] <giovani> absolutely not
[21:17] <giovani> you're installing a server
[21:17] <giovani> why would it offer to install a desktop kernel?
[21:18] <asdf-> just curious if it prompt you for each part of the install
[21:18] <giovani> it will prompt you for things
[21:18] <giovani> but it's installing a server
[21:18] <giovani> so it will not prompt you for anything desktop-related
[21:18] <asdf-> makes sense
[21:18] <asdf-> thank you for your help
[22:06] <jeiworth> well well, got my / on a 60gb disc and i have a 500gb raid1, so i was thinking mounting 50gb of the raid as /var and the rest as /home, /tmp/ might also be a good idea but how big should i make it? and any other tipps are welcome
[22:06] <jeiworth> ah, and it will be a file and mysql db sevrer
[22:06] <jeiworth> server, even
[22:08] <docc> make tmp and var independent partitions
[22:09] <jeiworth> ok, but how large should i make the tmp?
[22:10] <docc> if you have the space, take 20g
[22:10] <docc> so you can copy a dvd in there and uncompress eg
[22:10] <docc> it depends on how you use the sever
[22:10] <jeiworth> yeah, i was thinking something between 10 and 50gb
[22:11] <docc> single user?
[22:11] <jeiworth> well, it will be fileserver and db-server for the erp and crm system of the company
[22:11] <jeiworth> nono
[22:11] <jeiworth> this is for a 5 man company
[22:11] <jeiworth> but noone will actually be logged on directly, except for me to manage it
[22:12] <docc> so make var large, about 250-300g, and split the rest
[22:13] <docc> dedicated partitions keep the system running if one is taking too much space
[22:13] <jeiworth> hmm doesnt leave enough for all the network shares which i will put in /home
[22:13] <jmarsden> jeiworth: if you don't know how the space will be used, you could / should use LVM so you can resize things later with minimal effort.  If you do know, then ignore random advice from people who don
[22:13] <jmarsden> t know your specific needs and do what works for your company :)
[22:14] <jeiworth> jmarsden: hehe good point, lets see if i can configure raid partitions within an lvm with the setup tool
[22:15] <jeiworth> nope
[22:16] <docc> you can build lvm on top of raid
[22:17] <jeiworth> hmm i guess the best thing would be to install everything on the 60gb disk and then configure the raid1-partitions manually
[22:18] <jeiworth> docc: true, but with the setup i can only do a raid1 with partitions and not with the physical device, i think the way to go is to start with / on the single disk and when the system is installed create the raid1 on device level, then i would be able to create more than one lvm partition
[22:19] <jeiworth> on the same raid1, that is
[22:20] <jeiworth> with the setup here i have to create raid partitions and on top of them lvm partitions, but what use is that since i would have to resize the raid-partitions too if i wanted to resize an lvm partition
[22:21] <jmarsden> jeiworth: ?  Create one big 500Gb RAID1 and then lvm that to divide it up however you want...
[22:22] <guntbert> jeiworth: I'd say you create physical volumes on your raid partitions, then you add those into a volume group and from this vg you create your logical volumes
 jeiworth: ?  Create one big 500Gb RAID1 and then lvm that to divide it up however you want... <-- yes, that is the idea but not possible in the server setup, i can create the raid1 and then an lvm, but i cant further create any partitions within this lvm so i cant configure mount points, hence i will have to install everything on the 60gb disk and then, after install, i can partition the lvm and set the mount points in the fstab
[22:24] <jmarsden> jeiworth: OK, sure.  Sounds like the way to go then.
[22:25] <jmarsden> The "partitions within lvm" are logical volumes, by the way, not technically partitions
[22:25] <jeiworth> aight, thanks all
[22:26] <jeiworth> jmarsden: ok, check
[22:26] <jeiworth> makes sence since its the logical volume manager(tm) ;)
[22:37] <drbobb> well, I recently discovered a slightly disturbing weakness in the debian packaging system, when my server crashed in the middle of an upgrade, leaving the metadata files of several packages in a corrupted state
[22:37] <drbobb> (several rather important binaries, like /bin/sh, turned out to be corrupted as well)
[22:38] <drbobb> some packages had corrupted postinstall scripts, and some - the pre and postremoval
[22:39] <drbobb> and there seemed to be no way to configure, reinstall or remove them
[22:48] <adaptr> drbobb: unless dpkg is corrupt, you can force a re-install
[22:49] <adaptr> download the debs for the corrupt packages and use dpkg to force a re-install
[23:01] <drbobb> well I tried, but dpkg seemed to be using the corrupted copies of the scripts in /var/lib/dpkg/info anyway
[23:01] <drbobb> I finally replaced the corrupted scripts with "#!/bin/sh\nexit 0", and then succeeded in reinstalling