/srv/irclogs.ubuntu.com/2011/01/03/#ubuntu-server.txt

=== Amgine_lurking is now known as Amgine
=== Amgine is now known as MGodwin
=== MGodwin is now known as BadTypoDog
=== BadTypoDog is now known as Amgine
vorianwhat is the easiest way to set up a mail server?03:16
voriannvrmind03:17
Delerium_I'm no pro, but it depends on your infra (fix ip? MX record?  send and receive?03:17
vorianjust something that will send mail when prompted my the right script03:18
vorianI think what i'm looking for is exim403:18
Delerium_I **think** postfix might do the job too03:19
Delerium_depend on your scripting language?!03:19
vorianAH, I'll set it up and see03:20
Delerium_If you just want to send mail, just specify your ISP SMTP server and your mail should be routed correctly03:21
voriankk03:21
vorianthanks Delerium_03:21
Delerium_mp03:22
Delerium_errr.. no03:22
_Techie_DHCP operating on a bridge interface seems to take considerably longer to assign addresses than when listening on a standard interface, is there any reason for this?04:49
stgraber_Techie_: It's not DHCP itself that takes longer. A bridged interface usually takes around 20s before it can start receiving/transmetting data over the bridge.05:11
gobbeyes05:12
stgraber_Techie_: if you go with a static IP instead, you'll notice the same delay until you can reach your bridged interface05:12
gobbeand bridge is meant to be used in static ip05:12
stgraberthe bridge interface on the host shouldn't have a DHCP address or if you really need it, you should make sure you join a tap device (or similar) with a MAC address lower than all the other bridge members05:14
stgraberthat's because a bridge will always take the lowest MAC address as it's own MAC, so if you don't control what the lowest address is, your bridge will change MAC address making your IP to change when using DHCP05:15
stgraberthere's nothing wrong with using DHCP on a bridged interface though (like a VM, VZ container, ...)05:15
gobbeyes, it's working, but it's designed to work with static ip05:16
stgrabera bridge interface is a bridge interface, it's not any more designed to be used with a static or with a DHCP address. It's just simulating an ethernet switch.05:18
stgraberI agree it's good practice, as it's on a real physical switch, but there's nothing "designed" specifically for static or dynamic addresss.05:19
gobbewell, not designed in that way, but it's working better with static ip05:20
stgraberno. Your interface won't come online any faster with static than with DHCP. The only difference is that when using static everything will hang as it believes network is up whereas with dynamic, it'll just wait for the bridge to work and then get an IP and start everything.05:21
_Techie_my bridge has a static ip05:21
stgraberin that aspect, DHCP actually works better than static on bridged interface. Still, it's better to have static addresses on your network to avoid depending on a dhcp server, but that's just good practice.05:22
_Techie_once again, you lot have mis understood what i was saying05:22
_Techie_my DHCP server, listening on a bridge interface, is taking longer than expected to assign ip's05:23
_Techie_im not talking about right after boot or anything05:23
stgraberah, I never noticed that specific issue (having all my DHCP servers in a bridged VM).05:24
_Techie_when i was using a single interface, windows wouldnt complain about not being able to mount share due to not being given an ip05:25
stgraberreading that last sentence makes me wonder if you're not speaking of bonding instead of bridging (single vs multiple interfaces)05:27
gobbesorry, i was talking about bonding05:27
stgraberok, now it makes sense :)05:28
gobbetoo messed up, havent got yet my breakfast coffee :D05:28
gobbesorry, but now i need to go, have to be at office in 45min05:28
stgraberwhat kind of bonding are you using ?05:29
_Techie_http://sprunge.us/TaIQ05:29
stgraberouch, yeah, if you do it that way you'll have issues for sure ...05:30
_Techie_what the appropriate way of doing it?05:30
stgraberyou probably want to use bond0 and the bonding module instead of using bridging05:30
stgraberhttp://wiki.debian.org/Bonding05:30
stgraberyour current config basically means: take eth0 and eth1, put them in the same switch and add an IP to it05:31
_Techie_is there anywhere where i can see the differences between bonding and bridging?05:31
stgraberwhich means it creates a loop on your network by linking eth0 and eth105:32
_Techie_and what does bonding do?05:33
stgraberbonding takes the two links and will load-balance the trafic between the two. If one goes down, it'll fallback to using just one.05:34
_Techie_okay, thats not what i need05:34
_Techie_both interfaces are not connected to the same set of devices05:34
_Techie_eth0 is a direct link to my computer, and eth1 is the rest of the network05:34
_Techie_so by that description, bonding is definitely what im after05:35
_Techie_not what im after*05:35
stgraberok, so bridging is indeed what you want in that case. Basically your server is going to act as a switch with your computer plugged in in one port and the rest of your network in another05:37
stgraberand has itself an IP in that network05:37
_Techie_yep05:37
_Techie_as you can see, i had the two interfaces setup on different networks05:38
_Techie_which was fine, untill i wanted to use an autodiscovering app across the two05:38
stgraberI don't see why DHCP would be slow, other than some weird MAC address mangling done by the server (which shouldn't happen)05:39
_Techie_ill have a stab in the configs and come back05:39
stgraberI'm about to go to sleep here anyway, getting quite late here.05:40
_Techie_okay, have a good one stgraber05:40
stgraberthanks05:40
chrislabeardHey guys can anyone help me format a secondary hard drive?07:26
chrislabeardI'm having a heck of a time07:26
chrislabeardwhen i do fdisk -l07:35
chrislabeardit gives me /sdb1 and /sdb2 partitions when I try to format the sdb2 it says it doesn't exist ?07:35
chrislabeardAny ideas07:35
ptingchrislabeard, so ls -alh /dev/sdb2 returns nothing?07:38
chrislabeardls: cannot access /dev/sdb2: No such file or directory07:38
chrislabeardI just wanna wipe the drive clean but it just seems like its impossible.07:38
ptingchrislabeard, your box doesn't see it... do an ls \/dev/sdb*07:39
ptingwhoops, remove that \07:39
ptingdoes it return aything?07:39
chrislabeardgives me /dev/sdb and /dev/sdb107:39
chrislabeardSo I guess the other partition is gone07:39
chrislabeardWhy does it list it when I do fdisk -l?07:40
ptingchrislabeard, so you should be able to wipe /dev/sdb07:40
chrislabeardK can you walk me through it.. So I will know the correct way to do it.07:40
chrislabeardI've tried so many different ways07:40
ptingchrislabeard, so you wan to whipe sdb and format with ext4 or something?07:42
chrislabeardYeah, I want to turn this hard drive into a TimeMachine drive so ext4 or 3 whichever07:42
chrislabeardI can wipe the whole thing07:43
ptingchrislabeard, so you should be able to do sudo mkfs.ext4 /dev/sdb i believe07:44
chrislabeardpting: k let me try07:44
ptingchrislabeard,  ... make sure that's the one you want to destroy though07:44
chrislabeardyeah my other drive is sda07:44
chrislabeardK its running07:45
ptingchrislabeard, i think timemachine might require specific settings, i dunno if macs can read ext407:45
chrislabeardif not I can just use that command and re format it07:46
chrislabeardhttp://sidikahawa.blogspot.com/2010/03/setting-up-time-machine-server-on-my.html07:46
chrislabeardthat is the tutorial I was going to follow07:46
ptingchrislabeard, http://serverfault.com/questions/190840/mount-a-ext4-partition-on-mac-os-x07:47
chrislabeardHow do I see the mount point of the new drive?07:48
ptingchrislabeard, you should read up on http://en.wikipedia.org/wiki/Fstab ... it's basically done through /etc/fstab07:49
chrislabeardReally I don't see the drive in there07:50
ptingchrislabeard, but just to get started and to test, you basically make a directory, then type the following sudo mount -t ext4 /dev/sdb /mnt/mydirectory07:50
chrislabeardk cool I'll add that to the fstab07:51
ptingchrislabeard, you dont' add that line into fstab; fstab has a specific format specified in that link i sent you07:51
chrislabeardoo07:52
ptingchrislabeard, that's a command you use if you don't want to include it in fstab07:52
chrislabeardoo okay07:52
chrislabeardpting: So why ext4 and not ext307:53
ptingchrislabeard, it's just the newer format; but i don't think macs can natively read ext4, so i would pick another fs for your time machine if it's an issue07:54
chrislabeardK07:54
ptingchrislabeard, i've never tried time machine, so i don't know anything beyond that07:54
chrislabeardwell thanks for your help up to here07:55
IrishWristwatchI thought the latest time machine update broke time machine for ubuntu.07:55
IrishWristwatchDid they finally patch it?07:55
chrislabeardI don't know this was posted march 201007:55
chrislabeardIs it not working now07:55
ptingdamn you apple07:55
IrishWristwatchNot sure, I thought I read somewhere that they slipped an undocumented change in the protocol and it broke time machine for ubuntu somehow.07:56
IrishWristwatchIt could be patched by now.07:56
chrislabeardYeah lol I hope so07:56
IrishWristwatchI really don't know, sorry.07:56
IrishWristwatchI guess... try it.  :)07:57
chrislabeardYeah I'm gonna07:57
chrislabeardwe will see07:58
ptingso how do you perform an unattended install of a package when it asks whether a package's config should be replaced or not? something to do with debconf-get-selections ?07:58
IrishWristwatchdoes --assume-yes when running aptitude work?08:00
ptingIrishWristwatch, i want to keep the current config, but i'll check aptitude's params out08:01
SyriaHi, why .htaccess is not affecting my site? is it because of the permessions?08:16
SyriaWhen I try to change its permessions to 666 I get an error message.08:17
Syria-rw-r--r-- 1 root root     205 2011-01-03 08:02 .htaccess08:17
joschiSyria: check the value for AllowOverride for the directory08:22
Syriajoschi How can I check its value please?08:24
joschiSyria: check your apache httpd configuration08:24
joschiSyria: /etc/apache2/08:24
Syriajoschi is called apache.conf ?08:29
joschiSyria: basically every file in that directory. apache.conf is only one08:30
Syriajoschi And which one  is respossible for the AllowOverride please?08:31
joschiSyria: check it yourself. you big enough ;)08:31
Syriajoschi Okay thnx. :)08:32
Syriajoschi I am viewing the files using nano on my ubuntu lucid server and most of them are blank! is this normal?08:34
gobbewhat files?08:55
=== baffle_ is now known as baffle
=== Tankenator is now known as Tankenator_afk
uvirtbot`New bug: #696753 in net-snmp (main) "Cannot disable connection logging" [Undecided,New] https://launchpad.net/bugs/69675311:31
=== oubiwann is now known as oubiwann-holiday
=== oubiwann-holiday is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
uvirtbot`New bug: #696769 in clamav (main) "Please remove clamav source and binaries from lucid and maverick backports" [Low,Confirmed] https://launchpad.net/bugs/69676912:27
uvirtbot`New bug: #696774 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/69677412:52
=== oubiwann is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
twister004hi guys... is there a way in cron where we can delete old backups created by a cronjob?13:57
twister004im using ubuntu server 8.01LTS13:57
Jeeves_* * * * * rm -rf /13:58
twister004 8.04LTS13:58
twister004haha13:58
Jeeves_(that's a joke, obviously!)13:58
Jeeves_Before anyone starts using it and blaims me for their stupidity :)13:58
Jeeves_twister004: What are you talking about?13:59
twister004maybe ill have to do some kinda date comparison.. can anybody guide me?13:59
Jeeves_Which backups?13:59
twister004i am backing-up sql databases13:59
_rubenif it's a cronjob creating the backups, just extend that cronjob to delete old ones13:59
twister004i want to delete backups that are older than a week13:59
twister004_ruben... I'm new to cron.. can you guide me?14:00
Jeeves_twister004: You're misinterpreting the purpose of cron14:00
Jeeves_cron is just a scheduler14:00
Jeeves_it runs tasks you create at time you tell it to run them14:00
twister004yes... i know14:00
Jeeves_So, your question has nothing to do with cron14:00
twister004but i can use it to periodically check for old backups and delete them.. only.. i dont know how to do it14:01
Jeeves_No, you cant14:01
Jeeves_You can use it to run a script (you still need to create) to "periodically check for old backups and delete them.."14:01
twister004hmm.. any idea how i can proceed?14:01
twister004yes14:01
twister004sorry.. that's more like it14:01
Jeeves_So, shall we forget about cron for a moment?14:01
Jeeves_Shall we?14:02
twister004yes14:03
twister004i think i got it....what i can do is "find" files older than seven days and delete it ( /usr/bin/fin <location> -mtime +7 -delete)14:03
Jeeves_ok, so you've got this script that creates your backups.14:03
twister004Jeeves.. can you confirm if this'll work"?14:03
Jeeves_Yes, you can do that14:04
twister004oh gr8!!!14:04
_rubenassuming your /usr/bin/fin is something similar to the find command14:04
twister004:)14:04
twister004yes it is14:04
Jeeves_And you try it with -ls first, before you erase whole / :)14:05
twister004yes14:06
=== Japje_ is now known as japje
=== japje is now known as Japje
gobbei would do script which finds and deletes them14:13
gobbeand run that from crontab14:13
=== doko_ is now known as doko
sander^workHow can I turn on the boot menu, so I can choose another kernel than default one?14:54
gobbepress shift during boot14:57
uvirtbot`New bug: #694538 in bacula (main) "package bacula-common 5.0.1-1ubuntu1 failed to install/upgrade: el paquete bacula-common ya está instalado y configurado" [Undecided,New] https://launchpad.net/bugs/69453814:57
RoyKsander^work: or google for it and change /etc/default/grub14:58
gobbeyes, depends that if you want to boot only once, it's easier to use shift on boot15:01
gobbeif you want to change it for every boot editing ;)15:01
uvirtbot`New bug: #695857 in apache2 (main) "ssl protection not default for sensitive packages" [Undecided,New] https://launchpad.net/bugs/69585715:07
sander^workRoyK, I've googled it.. but cant find the option to change in /etc/default/grub.15:08
=== uvirtbot` is now known as uvirtvot
=== uvirtvot is now known as uvirtbot
RoyKsander^work: this is mine http://pastebin.com/WAFiTCf515:10
RoyKremember to update-grupb after changing that file15:10
pickscrape_HI, would this be a good place for a couple of questions about using raid/mdadm, or should I go elsewhere?15:11
gobbewhat kind of question?15:11
_rubenit could be15:11
RoyKpickscrape_: don't ask to ask, just ask15:12
RoyKthere's no such thing as stupid answers, only stupid questions15:12
pickscrape_Basicall my server has ubuntu server on it which is running on standard partitioning. I've installed a second on new drives in a raid1 (for boot) and raid5 (for everything else). It works perfectly fine.15:12
_rubenRoyK: shouldn't that be the other way around?15:12
RoyK:)15:13
sander^workRoyK, thanks! :-)15:13
pickscrape_Oh, and the "everything else" then has lvm on top15:13
RoyKpickscrape_: so, something like sda1 and sdb1 in a mirror?15:13
pickscrape_My question is, in order to make moving over to the new install easier, I'd like to be able to mount the raid stuff from my old install, so I can continue to use the old install while getting things ready on the new one. But I don't know if it would like that or not.15:13
RoyKdifferent drives for raid5 or same ones?15:13
RoyKpickscrape_: use nfs15:14
pickscrape_RoyK: this is the same server. They won't both be running at the same time.15:14
RoyKpickscrape_: or do you mean boot into the old installation? sambe box?15:14
RoyKok15:14
RoyKthen it should be trivial, as long as the old installation support the filesystem used15:14
pickscrape_Boot into old install and mount the new local volumes from the new raid array without screwing up the new install :)15:14
_rubenif all drives can be hooked at the same time, it shouldn't be a prob15:15
pickscrape_Yes, they're all running now.15:15
pickscrape_And I'm pretty sure that 9.10 can handle ext4?15:15
RoyKI can't see how you should be ruining your new install by just mounting the filesystem(s)15:15
RoyKpickscrape_: cat /proc/filesystems or modinfo ext415:15
* RoyK doesn't remember if 9.10 does support it, but would be somewhat surprised if it doesn't15:16
pickscrape_Yeah, it's there.15:16
RoyKwell, just try15:16
pickscrape_My worry was that if I tried to fiddle with the raid from the old install, it would play with settings stored on those drives and break it for the new install. I'm not sure how touchy such things are. :)15:16
RoyKiirc all of that is autosense these days15:17
RoyKanyway, it shouldn't be able to import something it looks on as broken15:17
RoyKs/import/mount/15:17
* RoyK was thinking in ZFS lines15:18
pickscrape_There's no /dev/md* devices at the moment so I need to figure out how to get it to detect them15:18
pmatulispickscrape_: you'll need to install mdadm and lvm215:19
pickscrape_pmatulis: I already have those installed15:19
pmatulispickscrape_: then you should be able to assemble the arrays15:19
RoyKdoes mdadm tell you anything worthful?15:20
RoyKperhaps the md mod isn't loaded15:20
uvirtbotNew bug: #696832 in drbd8 (main) "drbd will not start with given default global configuration" [Undecided,New] https://launchpad.net/bugs/69683215:21
pickscrape_lsmod shows no md module, but mdadm is started15:21
RoyKno raidxx modules either?15:22
pickscrape_RoyK: yes, plenty of those (covering what I need too)15:24
pickscrape_I think --assemble is what I need to look at15:24
RoyKpickscrape_: and the old install sees the partitions, right?15:24
RoyK//proc/partitions15:24
pmatulispickscrape_: scan and then assemble15:25
pmatulispickscrape_: did you use mdadm.conf?15:25
pickscrape_RoyK: yes, though I have to use parted to do it. fdisk and cfdisk complain about GPT15:25
pickscrape_pmatulis: the array was created for me using the ubuntu server 10.10 installer15:26
pickscrape_So I'm not sure what it used to store the configuration.15:26
RoyKhm... GPT might be the issue15:27
RoyKdunno if 9.10 can figure out that automatically15:27
pickscrape_RoyK: if I can access it manually then I'll be happy with this. Hopefully this old install won't be sticking around for too much longer. :)15:28
pickscrape_If not, then I'll just have to do it the other way round when I'm not needing the server to be working: boot the new one, mount the old and copy over that way.15:29
pmatulispickscrape_: can you pastebin output to 'sudo fdisk -l'?15:30
_rubenpickscrape_: doing it the other way around will probably turn out to be much easier in the end, due to the (probably) far less complex disk layout of the old install (easier to mount it in the new install)15:31
pickscrape_pmatulis: http://paste.ubuntu.com/549859/15:31
pmatulispickscrape_: hm15:32
pickscrape__ruben: yes, I agree. I wouldn't need any help at all with that. The downside is that it's less convenient, since I'd like to be able to use the server as well. Plus, I like to learn. :)15:32
_rubenah ok15:32
stack_ I upgraded an 8.04 server to 10.04.  It has a software raid.  Every time it boots, it dumps to initramfs shell and I have to run "mdadm" to recognize the array and then exit to continue the boot.  How can I fix this?  One weird thing, my mdadm.conf file looks like the following: http://paste.ubuntu.com/549864/16:16
RoyKstack_: no idea - perhaps removing (or renaming) mdadm.conf will force linux to autodetect things?16:20
stack_I can wipe those duplicate lines in the config, right?16:21
RoyKIIRC removing the file will force linux to read the config from the drives16:21
RoyKwhich it should be stored16:21
pmatulisstack_: what kind of errors do you get?  set up a verbose boot if you don't see messages16:21
pmatulisstack_: it may be a UUID issue16:22
RoyKUUIDs shouldn't change, though, should they?16:22
stack_pmatulis: it just is waiting for root and then dumps to initramfs16:22
RoyKstack_: are the raid drives independant or do you run the root on the same drives?16:24
stack_the raid is the root16:24
RoyKok16:24
RoyKsorry, never tried (yet) to upgrade from softmirrored root16:25
=== sourcode__ is now known as sourcode
pmatulisstack_: like i said, boot verbosely (--verbose or --debug kernel boot option)16:25
stack_pmatulis: I'll have to try it and get back to you.  It's a production system.  We had a power outage, so I tried to figure it out then but didn't get far16:26
* SpamapS streeettcchhess16:26
stack_thanks for your help, all... I'll dig further16:27
* SpamapS is trying "terminator" for the first time.. seems to be just the thing for a big monitor16:32
highvoltageterminator ftw16:33
pmatulisSpamapS: i don't think it does anything that normal screen can't but the mouse support is convenient16:33
RoyKSpamapS: terminator?16:33
SpamapSpmatulis: even if screen does everything it does.. for some reason this made a lot more sense to me than screen's help pages ever did16:34
SpamapSBeen using screen for years, never liked it much.16:34
highvoltagepmatulis: you can also split a window (or tab) into many horizontal and vertical splits, it's quite useful16:34
pmatulishighvoltage: but screen can do this too16:35
highvoltageand you can make one of the splits temporarily grow to the full window size. combination of screen/byoby/terminator is really great16:35
SpamapSand actually, I'm using byobu inside the terminator screens, which is probably silly but works fantastically16:35
=== Honthertanshye is now known as sciguy16
SpamapSI just have two vertical splits now, but when I want to do something, I split horizontally, do it, then close the window16:35
kirklandSpamapS: what version of byobu are you running?16:35
SpamapSkirkland: in my hosted CentOS box.. "old" .. and then whatever maverick has.16:36
kirklandSpamapS: ah ... i was gonna show you something cool :-)16:36
SpamapSI only use it for ctrl-a N and ctrl-a C16:36
kirklandSpamapS: if you have a natty/byobu somewhere ...16:36
SpamapSkirkland: upgrade to natty is my 9:00am TODO ;)16:36
sciguy16Is it possible to give a normal user permission to reload apache?16:36
SpamapSwhich is in 24 minutes16:36
RoyKsciguy16: no16:37
kirklandSpamapS: heh, okay, poke me once you do16:37
SpamapSkirkland: poke queued16:37
sciguy16RoyK: ok, thanks16:37
RoyKsciguy16: you can allow it with sudo, though16:37
RoyKsciguy16: man sudo is a good start16:37
SpamapSok this is weird..16:37
SpamapSssh agent isn't working in terminator16:37
highvoltagepmatulis: indeed. I see them as two different completely different things though, they just happen to offer some of the same functionality16:38
sciguy16RoyK: thanks, I'll look into it16:38
pmatulishighvoltage: yes, i use terminator + screen16:39
SpamapSactually strike that.. ssh agent just isn't working. :(16:41
* RoyK wonders when gnome apps came into ubuntu-server16:44
compdocI install the gnome desktop on server. is that bad?16:47
RoyKit's ok, but if you want a desktop machine, I'd recommend installing ubuntu-desktop16:48
RoyKthe server stuff is there, or available, after all16:48
RoyKand installing the desktop machine will allow for better customization last I checked16:48
SpamapSRoyK: terminals are the window to the server. :)16:49
compdocwell, I need a server - its not used as a desktop. I just like the gui16:49
RoyKpost-installing gnome led to a few headaches last I tried16:49
RoyKcompdoc: it's the same thing, desktop and server, same distro16:49
RoyKit's just that if you want a fancy guy, starting off with -desktop will do things easier for you16:49
RoyKthe only difference between ubuntu server and desktop are (1) default packages installed and (2) kernel chosen. for most use the desktop kernel will work just as fine as the server kernel16:50
compdocI thought I read that Server has things set up differently16:50
RoyKjust the server bits, which are minimal16:51
compdocI think to work better under load16:51
RoyKthat's HZ in kernel, yes16:51
RoyKalso, desktop comes with a gui-based network setup, so it might not work out of the box with a static ip (it's set after login)16:51
RoyKbut still, why do you want a desktop on your server?16:52
compdocI have a large rsync transfer going for several hours now, and gnome wont open any programs like a term window16:52
compdocso I have to wait16:52
=== DrNick__ is now known as DrNick_
RoyKjust kill rsync, restart it in a 'screen'16:52
RoyKthen you can do whatever you want without disrupting it16:53
compdoca screen?16:56
compdoca terminal window?16:56
Datzooh, 67 days uptime, 68 updates :)17:19
Datzmore than one update a day!17:19
Datzaverage anyway  .. good work :p17:20
Datz 11:22:08 up 67 days, 21:13,  2 users,  load average: 0.83, 0.94, 0.8917:21
pmatuliscompdoc: 'man screen'17:22
compdocthanks17:24
thesheff17when I use vmbuilder I'm getting no bootable device.  Did something change recently?  I see the file for the virtual machine.17:31
thesheff17nm I found a bug for it 659532.17:41
yeagshey all18:00
RoyK 18:00
yeagsi'm looking at building an Ubuntu private cloud18:01
yeagsIs it possible to have the nodes power up using WakeOn Lan?18:01
baggar11yeags: that's more of a NIC requirement, than ubuntu-server based18:06
gobbewake-on-lan works quite bad in most of the cases18:10
gobbei would prefer iLO or something like that18:10
yeagsyeah iLO is much nicer, but i'm planning on a very cheap, basic home system18:14
yeagsI just wanted a single big server as the controller which could run 2-3 servers, and then have 3-4 laptops I have here that I can power up and run services on ondemand18:15
yeagsI was wondering if the software had any support for sending WOL packets to automatically bring up servers into the cluster to run more servers18:15
yeagsCurrently I just use Xen and manually fire up my servers18:15
yeagsand manually move images from machine to machine18:15
yeagsUEC looked like a nice option with a much nicer front end18:16
yeagsSo my plan is a 3TB main server with 8GB ram, quad core CPU18:18
yeagsrun 3-4 servers on that, and then have my spare laptops with 2GB RAM run development servers when I need them18:19
yeagsI do a lot of technology validation and thought UEC would be a great platform for managing test systems18:19
yeagsI could easilly use a linux WOL client to fire off the packets18:21
yeagsis my plan a sound one?18:21
gobbeyes18:21
gobbeit sounds ok :)18:21
yeags:) smashing18:21
yeagsI assume the main controller can also run servers without issue?18:21
RoyKyeags: what sort of storage solution?18:22
yeagswell... I have options. I have a 6TB NAS (QNAP) and also the main server will have a 3TB array in it18:22
RoyKfor large storage, I'd recommend zfs on some good platform18:22
yeagsdefine large storage? :)18:22
RoyK5+TB18:23
RoyKperhaps18:23
yeagswell my data will reside on the QNAP and I will access via iSCSI18:23
RoyKthing is, large storage systems need to use checksumming18:23
RoyKsince silent errors occur quite often with multiterabyte systems18:23
yeagsI can't find any good architecture diagrams online18:23
RoyKand zfs has fairly good checksumming for this18:24
RoyKso with a box running multiple VMs, I'd say a separate box for storage would be decent18:25
yeagswhat is performance like of a gigabit ethernet network when the server image is on a remote NAS storage?18:28
yeagssurely I would be better actually storing the images locally on the server?18:28
SpamapSyeags: Not necessarily18:29
SpamapSyeags: if the local storage is very busy with a lot of concurrent requests, and your NAS has tons of cache and disks to work with.. it may do a better job18:30
SpamapSRoyK: whats the status of ZFS on Linux these days, any idea?18:30
yeagshttp://en.wikipedia.org/wiki/ZFS#Linux18:31
yeagsnot looking good18:31
uvirtbotNew bug: #696916 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.5 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt)" [Undecided,New] https://launchpad.net/bugs/69691618:31
yeagsand Oracle would sure screw it up if they could18:31
* yeags works for Oracle, unfortunately18:31
RoyKSpamapS: works well on fuse18:31
RoyKSpamapS: works better with openindiana :)18:32
SpamapSRoyK: Is Nexenta's ZFS using FUSE?18:33
yeagsSpamapS: local storage will be much faster and responsive than the QNAP remote NAS18:33
yeagsI'm planing on non OS file systems being on the NAS18:33
yeagslike regular file shares18:33
gobbeSpamapS: no it's not, nexenta is solaris-based18:33
RoyKSpamapS: no, it uses a solaris kernel18:33
SpamapSgobbe: ahh.. right18:34
SpamapSI keep hearing that BTRFS has some serious problems with its metadata efficiency18:34
RoyKSpamapS: btrfs announced on their ml that raid[56] was on they way some 20 months ago18:35
RoyKseems there's a prerelease being announced soon18:35
SpamapSthats good to hear18:35
RoyKand btrfs isn't even close to zfs security-wise18:35
SpamapSbaby steps18:35
RoyKSpamapS: really? if it took them two years to implement raid[56], how long to stabilise?18:36
SpamapSRoyK: who are "they" anyway?18:36
SpamapSwasn't Oracle a big component of BTRFS development?18:36
RoyKoracle gave the source away some four years back iirc18:37
SpamapSI'm more curious about who was doing the actual coding and designing18:37
RoyKsee the source18:37
* SpamapS must go afk... bbiab18:38
RoyKusually the bits are pretty well credited18:38
sbeattieSpamapS: chris mason is the primary developer for btrfs, he was working on it before he joined oracle. Not sure if he's roped other oracle devs (zach brown?) into developing for it.18:46
yeagsChris is a development director in Oracle, has 6 developers reporting to him18:48
RoyK6 developers working on btrfs18:52
RoyKseems perhaps oracle doesn't want btrfs to succeed18:52
RoyKnow they have zfs18:53
yeagswould18:53
yeagswouldn't surprise me18:53
=== sresu_ is now known as sresu
ptingregarding unattended upgrades pf packages, is there something i can do to automatically select "keep existing config" when doing package upgrades... is there something i can set in debconf-set-selections?19:12
snipeTRhi19:17
consumerismi'm trying to diagnose a problem, not really ubuntu related but i figured this would be a good place to ask. occasionally, when i am navigating a website served by a ubuntu server in ec2, i get a timeout.  the problem usually persists for a few minutes and then goes away. apache access logs show no requests while the timeout happens, so the requests are never hitting the server (right?).19:17
consumerismnothing changes on the client end, the browser loads pages one minute, times out for a few consecutive minutes, then is able to load pages again. load on the server is negligible. the best i can come up with is some network problem outside my control between client and server, is there any other possibility? what could i do about this?19:18
snipeTR"Long-Therm" What is the difference?19:18
ptingconsumerism, firewall issues? possibly some rate limiting policies in apache? try spinning up another instance in ec2 and do an httperf19:20
billybigriggerwhere i can i poll imap/smtp info from?19:21
billybigriggerkind of like phpinfo for php, is there anywhere i can get info on my mail system?19:21
snipeTRhi guys? "Long-Therm" What is the difference?19:21
PicisnipeTR: Are you asking about LTS - Long Term Support?19:22
snipeTRyes what is this long term?19:23
Pici!lts19:23
ubottuLTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !Lucid (Lucid Lynx 10.04)19:23
snipeTRohh ok tnx pici19:23
snipeTRmean only support time different? thru?19:24
PicisnipeTR: Essentially.19:24
PiciAlso, LTS releases can be upgraded from one to the next without having to go through the intermediary releases.19:24
PiciSo. 8.04 to 10.04 directly. Instead of having to go to 8.10 -> 9.04 -> 9.10 -> 10.0419:25
snipeTRtnx my friend. this info source ? URL?19:25
snipeTRPici soo tnx byes19:28
ptinghas anyone used ubuntu-eucalyptus extensively? i'm thinking of building out a cluster for work20:15
pting... we use ec2 so it seems like a perfect fit. i'm trying to figure out challenges i may encounter.20:16
SpamapSpting: #ubuntu-cloud is also a good place to chat about it20:17
billybigriggerusing the ubuntu server guide...how come i can't send mail to gmail users?20:17
SpamapSbillybigrigger: what is your evidence that you ca n't send mail to gmail users?20:17
ptingSpamapS, thanks20:17
billybigriggerthe fact that i can send to hotmail works..20:19
billybigriggermy test email to my gmail account didn't...this looks a little suspect though....20:19
billybigriggerJan  3 15:12:14 timmy postfix/smtp[7303]: certificate verification failed for gmail-smtp-in.l.google.com[74.125.93.27]:25: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority20:19
billybigriggeri wonder if gmail doesn't like my self created CA20:19
billybigriggeri don't know where the Equifax Secure CA is coming from though20:19
SpamapSbillybigrigger: that may be theirs20:21
SpamapSbillybigrigger: do you have ca-certificates installed?20:22
billybigriggeri turned verbose logging of smtpd on, i'll pastebin my attempt to email my gmail account20:22
billybigriggerJan  3 15:20:05 timmy postfix/local[7406]: 5C2AA61CC: to=<www-data@mail.thefrozencanuck.ca>, relay=local, delay=0.02, delays=0.01/0/0/0, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/www/Maildir/tmp/1294086005.P7406.timmy: Permission denied)20:22
billybigriggeri keep getting those stupid errors in my mail.log too...any one have an idea where those are coming from?20:23
SpamapSbillybigrigger: thats a local delivery failure20:23
SpamapSbillybigrigger: www-data is getting email20:23
SpamapSbillybigrigger: You can alias email to www-data to something else.20:23
billybigriggerwonder if its my webmail client...20:23
billybigriggereffin things up...20:23
billybigriggeranyway back to gmail...20:23
billybigriggerhttp://pastebin.com/1ficC5FT20:25
pmatulisbillybigrigger: i see:20:36
pmatulisJan  3 15:24:14 timmy postfix/smtp[7417]: C578361CC: to=<donzavitz@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.93.27]:25, delay=0.83, delays=0.36/0.01/0.24/0.22, dsn=2.0.0, status=sent (250 2.0.0 OK 1294086254 g3si36207791qcq.181)20:36
billybigriggerit never shows in my inbox though20:36
billybigriggeri've sent about 5 test emails today20:36
billybigriggerall within an hour20:37
billybigriggerhaven't recieved 1 yet...hotmail test mail was instant20:37
consumerismpting: if it was firewall, it would not be intermittent...right?20:38
ptingconsumerism, doesn't sound like it, but maybe there's some sort of connection policy that throttles connections, i would first try to make repetative connections from within ec2 then try with a machine outside... or it could be that that particular instance is running on hardware that's having issues20:43
ptingconsumerism, what's the instance size?20:43
pmatulispting: consider #ubuntu-cloud20:44
ptingpmatulis, consumerism is having the ec2 connectivity instance issues, not me =)20:46
pmatulispting: 'scuse me20:46
pmatulisconsumerism: see above20:46
erichammondAmazon EC2 has rules about how many emails you can send per time period for new accounts.  You can get them lifted by applying for whitelisting.21:10
SpamapSerichammond: I seem to recall smoser asking some amazon people and they basically said that SMTP from EC2 was unreliable and unpoliced by them.21:11
SpamapSother than responding to spam reports by cancelling accounts I mean21:11
SpamapSbut maybe I misunderstood21:11
erichammondSpamapS: There are real time block lists that ban email from EC2 IP ranges from time to time which I think is the primary "unreliable" factor.21:12
erichammondSee also: https://aws-portal.amazon.com/gp/aws/html-forms-controller/contactus/ec2-email-limit-rdns-request21:12
erichammondI recommend sending email from EC2 servers through a non-EC2 email relay with a clean IP address.21:14
erichammondYou can either use a third party (gets expensive for high volume) or lease a simple server on any non-"cloud" provider (i.e., one that doesn't let new folks sign up with a credit card and rent computers by the hour).21:16
=== loadedwithwyrms is now known as wyrms|away
DesignsEdgeAfternoon all!  I hope that I can get some help here ---21:55
IrishWristwatchMaybe you can, but we don't know what the problem is.21:57
DesignsEdgewell an end user just called with a problem - will brb -- sorry21:58
=== wyrms|away is now known as loadedwithwyrms
uvirtbotNew bug: #697027 in clamav (main) "clamav-base upgrade failed on Ubuntu 10.4" [Undecided,New] https://launchpad.net/bugs/69702723:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!