/srv/irclogs.ubuntu.com/2014/02/20/#ubuntu-server.txt

BitwiseI'm trying to set up courier but I get /usr/lib/courier/imapd.pem already exists. when I try to install courier-imap-ssl but if I delete it the output I receive is regarding a dead sym link. What should I do to properly deal with this?00:00
th3joker-iPadAnyone set up openldap to authenticate Mac OS X Maverick clients against00:07
=== keithzg_ is now known as keithzg
jrwrenI've already run lvextend and lvdisplay shows the lv is much larger now00:41
jrwrenwhen I run resize2fs via sudo, I get a permission denied error.00:41
jrwrenhttp://paste.ubuntu.com/6962950/00:41
jrwrenany help?00:41
sarnoldjrwren: umount the filesystem?00:42
jrwreni want online resize00:42
sheptardsarnold: shouldn't need to00:42
sheptardjrwren: make yourself root00:42
sarnoldhey sheptard :)00:42
sheptardsarnold: hoihoi00:42
Bitwisehttp://pastebin.com/jmWT98T0 Any takers?00:42
jrwrensame exact message from root shell started via sudo -i00:42
sheptardjrwren: assuming the filesystem is ext3/4?00:43
jrwrenyes, ext400:43
sarnoldBitwise: rm /usr/lib/courier/imapd.pem  ?00:43
sheptardBitwise: ^00:43
sarnoldoh, maybe one of those 'directories' is a symlink...00:44
Bitwiserm: cannot remove ‘/usr/lib/courier/imapd.pem’: No such file or directory00:44
sheptardjrwren: I'd just sudo su; resize2fs /dev/derpderp00:44
sarnoldBitwise: ls -ld /usr/lib/courier00:44
jrwrensame exact error via sudo su00:44
Bitwisedrwxr-xr-x 4 root root 4096 Feb 19 19:37 /usr/lib/courier00:44
sheptardjrwren: interesting00:44
sarnoldBitwise: interesting00:44
sarnoldBitwise: ls -ld /usr/lib/courier/imapd.pem ?00:45
jrwrensheptard: indeed. googling gives me results with folks having issues with SD cards on raspberry pi :)  I don't think those are LVM backed00:45
Bitwisels: cannot access /usr/lib/courier/imapd.pem: No such file or directory00:45
sarnoldBitwise: ok. confusing. try ls -l /usr /usr/lib  ?00:45
Bitwisehttp://paste.ubuntu.com/6962964/00:46
jrwrenreally good info here actually: http://forums.gentoo.org/viewtopic-t-764297-start-0.html00:47
Bitwisesarnold, I think it will help to mention that I did rm -f /etc/courier/imapd.pem while trying to set up courier previously.00:49
sarnoldBitwise: how about ls -l /etc/courier/imapd.pem  ?00:52
Bitwisels: cannot access /etc/courier/imapd.pem: No such file or directory00:52
sarnoldBitwise: /etc/courier  ?00:52
Bitwisehttp://paste.ubuntu.com/6962987/00:53
raid1ubuntuhello i am unable to install ubuntu server 12 lts x64 on a host-based raid1 array00:54
raid1ubuntuthe curses-based setups hangs when i say apply partitioning00:54
sarnoldBitwise: that's all so confusing; the postinst script appears to run this program if the /etc/courier/imapd.pem doesn't exist: mkimapdcert00:54
sarnoldBitwise: you could try running that as root and see how well that works, then re-try install?00:55
raid1ubuntucat /proc/mdstats goes into resync ... takes several hours until it finishes, and the setups is still frozen after successfull resync00:55
Bitwisesarnold, it seems I forgot how to Linux.00:56
sarnoldBitwise: haha :)00:56
BitwiseI switched the parameters of ls -s00:56
raid1ubuntui had to reboot because the system hung and now it wants to resync again on applyng partitioing (tried it 2 times again, it always hangs, and starts to resync again)00:56
BitwiseFixing that allows me to reinstall courier.00:56
sarnoldBitwise: oh! ln -s ?00:56
sarnoldBitwise: I -hate- ln. I can never keep the argument order in tact.00:57
BitwiseYes, I tried to create the symlink so that it would work.00:57
sarnoldor intact either. :)00:57
sarnoldBitwise: I'm just surprised the various ls -ling didn't show it..?00:57
raid1ubuntuIs there anyone who knows what to do?00:57
Bitwisesarnold, I did. That's how I realized it.00:59
sarnoldBitwise: sigh :) sorry I missed it. hehe.00:59
BitwiseIt's no problem. I appreciate the help. :-)00:59
jrwreni wonder if resize2fs is failing because teh system thinks the filesystem is dirty and needs unmounting and fsck01:07
jrwrenanyone aware of an online fsck for ext4 ? :)01:12
hitsujiTMOjrwren: remount ro?01:13
jrwrenis that allowed?01:16
jrwrenI mean, I know I can remount ro, but can I remount ro, run fsck -y and then remount rw ?01:16
jrwrenI've never thought of doing that. I'm going to try it :)01:16
hitsujiTMOyup01:16
jrwrenthanks hitsujiTMO01:16
=== io is now known as IdleOne
jrwreni've been doing this too long to have never done that. where can I send the thanks hitsujiTMO ? :)01:17
hitsujiTMOyou can fsck a unmount or readonly filesystem. so remounting ro should be safe01:17
BitwiseIt seems reinstalling courier doesn't replace /etc/courier with fresh files. Am I missing something here?01:19
sarnoldBitwise: if you apt-get purge courier it'll clear all the configs, then a fresh apt-get install should put them back01:23
BitwiseSaved the day again!01:25
jrwrenhitsujiTMO: i was hoping I could force remount readonly like kernel does when there are disk errors.01:33
jrwrenI get mount: /mnt is busy01:33
hitsujiTMOjrwren: with ? sudo mount /mnt -o remount,ro01:34
jrwrenyup01:34
jrwrenwell, mount -o remount,ro /mnt01:34
jrwrenI'd think -o before device01:35
hitsujiTMOjrwren: try adding the n flag01:37
jrwrenits not my root fs, shouldn't need it, but I'll try01:39
hitsujiTMOjrwren: you may have to kill anything that has a file open with fuser01:39
jrwrensame thing.01:39
jrwrenyeah, the fuser/lsof thing is the same as unmounting.01:40
hitsujiTMOaltho i'm sure i've done this with / but on debian tho01:40
jrwreni'm in ssh, but any way I can remote an alt+sysreq+U ?01:40
jrwrenor make that syscall or something?01:40
sarnolddid you use the sysrq "emergency readonly remount" thing?01:40
* sarnold ^5s jrwren 01:40
jrwrenI did not.01:41
jrwrenbut I want to.01:41
sarnoldjrwren: hehe, I meant it as a question to hitsujiTMO -- I'm a bit happy you thought of the same thing01:41
hitsujiTMOjrwren: echo "command key" > /proc/sysrq-trigger01:41
sarnoldjrwren: that'd be echo u > /proc/sysrq-trigger01:41
sarnold's' first if you want to sync01:42
hitsujiTMOsarnold: hmm, not sure was a few years back01:42
jrwrenthis is getting into crazy territory. I think I'll wait until I'm done reading from that FS.01:42
sarnoldI was terrified for my first offline filesystem resize :) trying to do it while online is just amazing to me..01:43
jrwrenthis isn't a first for me.01:44
jrwrenits a first for half online fsck01:44
hitsujiTMOresizing an ext partition "should" be trivial enough to be able to do it even when its dirty.01:45
hitsujiTMOafterall, i don't think it creates any new inodes01:45
BitwiseI'm here in this guide: http://flurdy.com/docs/postfix/#config-simple-imap how do I test to make sure everything is working properly? xD I previously set up roundcube but now when I go to log in it says "Connection to storage server failed."01:45
jrwrenhitsujiTMO: i'm getting the error for some reason. I wish I knew why02:02
jrwrenin this case I mean the resize error.02:03
BitwiseNevermind, I didn't restart the services.02:15
=== freeflying is now known as freeflying_away
=== mwhudson is now known as zz_mwhudson
=== freeflying_away is now known as freeflying
BitwiseHi. If I'm using Postfix and Courier (I installed postfixadmin to make it a bit easier) shouldn't I be able to log into RoundCube with the users I create in postfixadmin?04:18
tonyyarussoBitwise: Can users log in via IMAP with desktop clients and just not Roundcube, or not at all?04:23
BitwiseNot at all as far as I know. I can't seem to figure out what the user/pass is supposed to be or which db it's in.04:25
=== semiosis_ is now known as semiosis
tonyyarussoBitwise: Can you pastebin your courier config, minus any sensitive bits?04:40
Bitwisetonyyarusso, Which file exactly?04:42
tonyyarussoBitwise: do you have an /etc/courier/authdaemonrc ?04:46
Bitwisetonyyarusso, Yes, http://pastebin.com/GWEJC7vi04:48
BitwiseI'm trying to follow this: http://flurdy.com/docs/postfix/#top04:49
tonyyarussoOkay, and then an /etc/courier/authmysqlrc I take it?04:50
tonyyarussoThis tutorial puts them in a database called maildb04:53
Bitwiseauthmysqlrc: http://pastebin.com/9JC2cGjL04:53
tonyyarussoSo yeah, see if you have anything in the users table of the maildb database04:56
Bitwisetonyyarusso, Last I checked there were no entries but at the same time I thought adding a user from postfixadmin would add a user in maildb.04:58
BitwiseAlso, I now can't log into phpMyAdmin. My username was 'mail' for some reason.04:58
tonyyarussoIf there are still not entries, then the next step would be to look at the postfixadmin config04:59
BitwiseNo clue why but I suddenly can't connect to MySQL through socket ... (2)05:02
BitwiseOkay, I'm not getting the SQL error anymore.05:12
Bitwisetonyyarusso, I logged in as root on phpMyAdmin and I see the problem. I have like three different db's that contain user tables.05:14
=== semiosis_ is now known as semiosis
zetherooif I am exporting something via /etc/exports is it possible to view all instances of that export being "imported" on other machines on the network!?08:45
shaunozetheroo: /var/lib/nfs/rmtab is a good start (but can contain stale entries if clients don't disconnect cleanly)09:01
ShainI am unable to connect to my DHCP home network. I can see my network card. I can ping local host, and I believe I have /etc/network/interfaces configured correctly.09:02
zetherooshauno: great thanks! Is there any way to kinda clean up the file to show only current listings?09:07
shaunozetheroo: not easily, it's maintained by rpc.mountd, so it may just replace anything it still believes to be true09:21
shauno(man rpc.mountd being where this file & behaviour are documented)09:22
zetheroook ... and this is the easiest way to see where these exports are being mounted to ..09:24
shaunoI actually just found 'showmount -a' via the same manpage, which I was unaware of.  but it gets its data from the same file09:26
stemidso /etc/cron.d/hourly is like 0 * * * * ?12:56
stemidI mean /etc/cron.hourly is like 0 * * * * ?12:56
stemidI put a script in there, named it foo-bar and made it 0755, tested to run it manually and it worked. but crond never runs it.12:57
stemidit's 13:57 here now so I think it should run soon, if it's equal to 0 * * * *12:57
stemidI placed it in there 3 hours ago though12:58
stemidnope, nothing. I even did while sleep 1; do ps auxww|grep cron; done and I could see no hourly run. and now server time is 14:0113:01
stemidmade a more traditional cron in /etc/cron.d/foo-bar now 0       *       *       *       *       root    /etc/cron.hourly/foo-bar13:02
stemidcron is usually not this hard ;)13:03
toyotapieHello, I am trying to diagnose a memory usage problem with a non-repo app. pmap shows that 65404K is used by '[ anon ]', how can I find out what the 65404K is being used for ?13:19
=== mjohnson15_2 is now known as mjohnson15
raid1ubuntui cant setup grub on my raid1 array (MBR) is this possible in general? or do i have to install it on e.g. MBR of /dev/sda ?13:54
RoyKraid1ubuntu: sw raid?13:55
RoyKraid1ubuntu: anyway - it should work well13:55
RoyKjust install grub on both disks (if it's sw raid)13:55
raid1ubuntuRoyK: host based (intel embedded raid server technology ii)13:55
RoyKraid1ubuntu: using that setup myself13:55
RoyKraid1ubuntu: then it's probably fakeraid. better not use it13:55
RoyKbetter use md raid13:55
raid1ubuntuits md raid13:56
xnoxRoyK: intel matrix raid, managed by mdadm is actually ok.13:56
RoyKoh - didn't know that13:56
xnoxRoyK: ditto ddf. all others are crap and thus only supported by dmraid =)13:56
RoyKraid1ubuntu: I'm using mdraid mirrors for boot on serveral servers - works like a charm13:56
raid1ubuntuRoyK: ubuntu setup automaticall detected it.  and now wants to install grub on /dev/md12613:56
xnoxraid1ubuntu: installing grub onto /dev/md126 is correct.13:57
RoyKthat's wierd. I thought grub should go to the host drives13:57
xnoxraid1ubuntu: i had success with UEFI booting off intel matrix raid with mdadm, but not with BIOS/mbr.13:57
raid1ubuntuxnox: install on MBR (yes/no) in setup, i select yes13:57
xnoxRoyK: no, the motherboard knows about the fakeraid array and thus has options to boot of the raid.13:58
RoyKxnox: ok - never used fakeraid13:58
xnoxraid1ubuntu: yeah, that's correct -> but my motherboard didn't like it and failed to boot =(13:58
raid1ubuntuif i select NO it asks me for a device13:58
xnoxraid1ubuntu: you should install into MBR.13:58
xnoxraid1ubuntu: of /dev/md126 device.13:58
raid1ubuntuxnox: ok, but that fails13:59
xnoxraid1ubuntu: and in firmware configuration (ctrl+I on boot) make sure it's marked as bootable.13:59
xnoxraid1ubuntu: yeah =/ works with UEFI just fine though....13:59
RoyKxnox: what would be the difference between using fakeraid and ditching that altogether for plain mdraid?13:59
xnoxraid1ubuntu: in that case try installing onto a partition, instead of mbr e.g. /dev/md126p113:59
RoyKxnox: why not the host drives?14:00
raid1ubuntuok i will try it14:00
raid1ubuntui have installed the whole OS on the raid1 array14:00
xnoxRoyK: different ondisk format and different sets of events / controllers.14:00
xnoxRoyK: if you install to the host drives, you can hose the intel-matrix-raid on disk format.14:01
xnox(cause our grub is big and uses extended area i believe)14:01
xnoxRoyK: then again if all fails, one can try that....14:01
RoyKxnox: but what are the advantages of using fakeraid instead of just mdraid?14:02
xnoxRoyK: plus motherboard bios/firmware sees and checks assembled array and tries to boot that.... not the underlying disks.14:02
xnoxRoyK: in my experience fakeraid resysncs faster, and you can migrate it offline using firmware tools only - preboot.14:03
xnox(e.g. replace and rebuild a spare or failed drive)14:03
xnoxRoyK: plus it works for dual boot installations as one can have windows on the same array with linux.14:04
RoyKthat's inded a plus14:04
xnoxRoyK: whereas with mdadm one can't install windows on top of it.14:04
xnoxRoyK: people say that "intel firmware sends better/faster notifications about failed drives" but i'm skeptical about that =)14:05
RoyKguess I'll stick to old md for the moment14:05
RoyKthat or zfs14:05
raid1ubuntuxnox: please have a look: http://picpaste.com/Photo_2014-02-20_15.07.12-1-f4s7bAFm.jpg  i have no idea what to do14:09
raid1ubuntuxnox: i tried /dev/md125 ..126 and md127 for grub but it always failed. i tried also /dev/sda14:09
raid1ubuntuxnox: it says something about "... disk not found" in dmesg (see picture)14:10
xnoxraid1ubuntu: have a non-raided bootloader elsewhere.14:10
xnoxraid1ubuntu: or just use stock mdadm instead of intel-raid.14:10
xnoxraid1ubuntu: do you need/must use intel-raid, or can you use any raid?14:10
xnoxraid1ubuntu: https://help.ubuntu.com/12.04/serverguide/advanced-installation.html14:11
raid1ubuntui could use software-raid but i guess its slower than the intel one, right?14:11
xnoxraid1ubuntu: no depends yes14:11
xnoxraid1ubuntu: using raid, you are taking a penalty hit anyway. With raid1, your write is always the slowest of the two drives and reads are upto 2x faster.14:12
xnoxraid1ubuntu: given processing / physical limitations it's a bit longer that slowest drive to write, and a bit less than 2x read gain.14:12
xnoxraid1ubuntu: the difference between mdadm vs fakeraid is negligible.14:12
raid1ubuntuxnox: yeah i know, i just mean raid1 on software is slower than raid1 host based, thats what i guess, otherwise the raid controller would make no sense^^14:13
xnoxraid1ubuntu: ..... intel matrix raid controller is software based, it's just software compiled on the rom on your motherboard. It's not actually server-grade hardware raid controller.14:13
raid1ubuntuxnox: maybe i just only need to fix the "disk not found" problem14:14
xnoxraid1ubuntu: you could use dmraid.14:14
xnoxraid1ubuntu: why are you using mdadm with intel raid?14:14
=== tjaalton_ is now known as tjaalton
xnoxmdadm with intel raid is not well supported yet.14:14
raid1ubuntui am not sure if it is intel matrix raid14:14
xnoxraid1ubuntu: what does this say $ mdadm --detail-platform14:15
xnoxraid1ubuntu: you can execute it from tty2 for example14:15
=== railsraider_ is now known as railsraider
xnoxraid1ubuntu: if you are not sure what you are doing, stick with mdadm using linux software raid. It uses kernel md features and is very fast and reliable.14:16
raid1ubuntuxnox: i have this board in this 1he server: http://ark.intel.com/products/29871/Intel-Server-Board-S5400SF14:16
xnoxraid1ubuntu: i don't care what the board is, I care what the userspace detects it as =)14:16
raid1ubuntuxnox: it says mdadm: imsm capabilities not found for controller: /sys/devices/..........14:18
xnoxraid1ubuntu: in that case..... i'm not so sure what you are setting up or how.14:18
xnoxraid1ubuntu: cause you are not using fakeraid.14:18
raid1ubuntuxnox: lspci says: Intel Corporation 631xESB/632xESB SATA RAID CONTROLLER14:18
xnoxraid1ubuntu: typically, you'd boot into firmware and setup raid arrays as you wish. Have you done that?14:19
raid1ubuntuxnox: yes i have created one big array with two disks14:19
xnoxraid1ubuntu: then during installation, you should _not_ setup any raid.14:19
xnoxraid1ubuntu: if it asks you to activate things say yes.14:20
raid1ubuntuin the curses-based setup it tells me that it has detected sata-raid hardware, i select with yes and in manual partioning its there with the raid1 array14:20
xnoxraid1ubuntu: during install select "use full disk, use lvm" (default option) and select only one drive -> that raid1 array.14:20
xnoxraid1ubuntu: yeah so just install onto that.14:20
raid1ubuntuxnox: if i select this, its only showing up the usb-stick i am installign from14:21
xnoxraid1ubuntu:  in manual partitioning do not enter "configure software raid menus" and don't change anything there.14:21
raid1ubuntuxnox: yes, i know, i just select this14:21
xnoxraid1ubuntu: can you try Trusty Tahr 14.04 installer? i think it may have a fix for that.14:21
xnoxraid1ubuntu: http://cdimage.ubuntu.com/ubuntu-server/daily/current/14:22
raid1ubuntuxnox: i am on 14.04, 12.04 freezed when i said do partioning now14:22
raid1ubuntuxnox: this is a screenshot of 12.02 but it is the same on 14.0414:23
raid1ubuntuhttp://picpaste.com/Photo_2014-02-20_02.32.07-1-CS2Wqwz5.jpg14:23
raid1ubuntuxnox: the setup detects the (at boot time controller-setup-) configured array by itself14:24
tych0hi hallyn, i'm having a problem with lxc: http://paste.ubuntu.com/6965608/ just seems to hang14:24
tych0FWIW i can run the command manually and it works fine14:24
tych0so it is something about the environment, i suppose14:25
hallyntych0: which release are you on?14:25
tych0hallyn: trusty14:25
xnoxraid1ubuntu: the device, at grub-installer installation time would be called /dev/mapper/isw_<letters>_<name> (where name typically is Volume0)14:26
raid1ubuntuxnox: i am now finishing the installation without boot, try to boot into the system from install, and then try to setup grub on the raid again, if that fails, i will remove the controller-raid1 disable the controller an go with software raid as you mentioned, i think this can be set up in the setup too?14:26
xnoxraid1ubuntu: not md*14:26
hallyntych0: I'm guessing it' related to bug 116684114:27
=== Malediction_ is now known as Malediction
xnoxraid1ubuntu: yeah, but to do software raid, you will need to change in firmware -> remove raid arrays, mark drives as non-raid.14:27
xnox(or something like that)14:27
raid1ubuntuxnox: yes, i know thats what i meant with  "remove the controller-raid1" hehe14:28
=== aslaen is now known as aslaen_
tych0ah, hm14:28
tych0my $LANG is en_GB on this box14:28
raid1ubuntuxnox: /dev/mapper/isd_letters_name ... ok i will look14:28
tych0well, en_GB.UTF-814:28
hallyntych0: when the lxc-create is hung,c an you confirm that locale-gen is running?14:29
tych0hallyn: yes, although it'll take me a few minutes to get back there, but i can do that14:29
hallyntych0: well, just setting yoru LANG to en_GB.UTF-8 in the script may fix it14:29
tych0ok, will do14:30
hallynthere is some sort of hornet's nest lurking in the locale stuff, but I don't know what's going to come of it14:30
=== roo is now known as Guest69319
=== aslaen_ is now known as aslaen
tych0:-)14:34
=== rmk` is now known as rmk
=== DaIRCKing is now known as GTAXL
pmatulisraid1ubuntu: mdadm in 14.04 will include fakeraid support.  dunno if that is available and working yet14:39
pmatulis(dmraid no longer used)14:39
xnoxpmatulis: well i should write the status report about htat.14:43
xnoxpmatulis: let me mail it out.14:44
pmatulisxnox: thanks, mail destination?14:44
xnoxpmatulis: ubuntu-devel probably.14:44
=== freeflying is now known as freeflying_away
raid1ubuntumy server got 32gb ram how big should the SWAP partition be ?14:52
xnoxraid1ubuntu: default - 32gb if you want suspend/hybernate to have a chance at working14:53
xnoxraid1ubuntu: i use 32GB swap with 32GB of RAM on my desktop =)14:53
* xnox ponders if can class myself as server....14:53
raid1ubuntuxnox: for a always-up server with no hibernate required ?14:55
xnoxraid1ubuntu: you still want swap.... e.g. when i'm running big databases they use swap as disk-cache thus speeding up IO14:55
raid1ubuntuxnox: the machien is going to be hosted in a data-center of my university (yeah i really managed to get them host my server :D)14:55
xnoxraid1ubuntu: things go blazingly fast if you can store 10GB of data in ram and move it about.14:56
xnoxraid1ubuntu: i presume you have like terabyte drives that 32GB of swap is peanuts and a big performance gain.14:56
raid1ubuntuxnox: ok i will use 64gb14:59
raid1ubuntuxnox: the setup does not offer any raid-menus on partioning screen (i have disabled the controller and want to go for soft-raid now) any idea how to enable them?15:00
raid1ubuntuxnox: there is no fdisk in F2 console15:00
xnoxraid1ubuntu: follow step-by-steps i've pasted to you earlier.15:02
xnoxraid1ubuntu: go into something else / manual, enter configure raid, configure your raid1, back-out back to "Guided partitioning", select default install and then you'll be offered to install onto configured software raid device.15:03
xnoxhttps://help.ubuntu.com/12.04/serverguide/advanced-installation.html15:03
raid1ubuntuxnox: thats what i am actually doing (thx for the link) but there was no free disk.. i managed to fix the problem by selecting the sdba, select delete, cancel (this would take hours) and go back to the setup main menu, and reenter partioning, no i am able to create free disk space .... and NOW there is a raid menu.. *phew*15:05
=== alex88_ is now known as alex88
=== Guest69319 is now known as roo
Dry_LipsAnyone here using cloudflare? Does it work like a full reverse proxy, so that people will see a cloudflare ip instead of the ip of your server when they ping a domain that uses cloudflare?15:26
utlemminghallyn: http://paste.ubuntu.com/6965928  -- did 14.04 introduce a breaking change on QCOW2 compatability with older versions of qemu?15:26
hallynutlemming: yeah I saw something in the git changelog tha tmight be relevant15:28
hallyn(breakfasting, biab)15:28
cfhowlett!trusty|utlemming,15:29
ubottuutlemming,: Ubuntu 14.04 (Trusty Tahr) will be the 20th release of Ubuntu.  See the announcement at http://www.markshuttleworth.com/archives/1295 for more info. support in #ubuntu+115:29
raid1ubuntuyay, grub on /dev/sda and /dev/sdb15:29
utlemminghallyn: ping when you get back, if you would15:35
raid1ubuntuis there a way to skip swap space wiping at the end of the setup?15:38
hallynutlemming: so hm.  it looks like it is defaulting to compat=1.1 which i think should be ok...15:52
hallyn(meaning it's a bug)15:53
hallynutlemming: presumably you can try compat=1.0...15:53
hallynno that isn't valid15:53
utlemminghallyn: yeah, I tried compat=0.10 and it failed15:53
utlemminghallyn: per what I found, you need 0.10 for pre-1.1 versions15:54
hallynd'oh.  i missed htat you were on 12.04 for the mount15:54
utlemminghallyn: yeah, the problem is going form trusty to precise :/15:54
hallynutlemming: but 0.10 works everywhere?15:55
utlemminghallyn: it seems that it works except on precise15:55
hallynI see - in your pastebin, that's the same file?15:56
utlemminghallyn: it is...test.img created on latest trusty build, and then copied to the latest precise build15:57
hallynutlemming: please open a bug.  i'll try to reproduce it with upstream qemu git, hand-built as 1.7 and 1.2 trees15:57
hallyn(so i can file against upstream)15:58
utlemminghallyn: sure, doing so now15:58
hallynthx15:58
hallynutlemming: fwiw there are some other qcow2 related bugs in trusty's git whic i need to nail down15:59
utlemminghallyn: ack, good to know15:59
tych0hallyn: so locale-gen is not running when lxc-create is hung15:59
tych0and setting LANGUAGE, LANG, and LC_ALL to en_US.UTF-8 didn't fix anything :-(16:00
hallyntych0: please file a bug;  i'll lose track otehrwise16:00
tych0hallyn: ok, on ubuntu/lxc or just lxc?16:00
hallynubuntu/lxc16:00
tych0will do16:01
utlemminghallyn: bug #128265516:02
uvirtbotLaunchpad bug 1282655 in qemu "qcow2 images are not backwards compatiable with 12.04's qcow2" [Undecided,New] https://launchpad.net/bugs/128265516:02
hallynsmoser: do you have the rights to subscribe the server team to slof bugs?  (I don't)16:02
hallynutlemming: thanks.  (with lxc 1.0 release coming today it's good timing :)16:03
utlemminghallyn: lol16:03
=== ivoks is now known as ivoks_
raid1ubuntuxnox: thx for your help!16:27
raid1ubuntucu16:28
xnoxraid1ubuntu: are you all installed now?16:28
xnox=)16:28
xnox\o/16:28
joshu__hi using parted for the first time. I have a new attached disk 4GB. If I use the following command: `    parted -s -a optimal /dev/sdb mkpart primary 645 4294` Does that mean that the root partition will be 4GB and be aligned 32K?16:36
=== yofel_ is now known as yofel
=== chuck_ is now known as zul
joshu__cross posting on #ubuntu17:05
ikoniajoshu__: please don't17:08
ikoniajoshu__: ask in the correct channel please, don't post across the channels17:08
joshu__ikonia won't do again17:08
ikoniano problem, thanks17:09
bananapieHello, is Linux's pppd daemon, which is used for PPPoE, userspace or kernel space?17:32
=== tyhicks` is now known as tyhicks
=== MalcontentMatt is now known as mjohnson15
joshu__I'm trying in vain but I can't get the right parted command to create the following root partition: ` 1      32.8kB  4295MB  4295MB  primary`17:50
joshu__the disk is 4gb (4294)17:50
=== sarnold_ is now known as sarnold
axisyshow to activate the change in nsswitch.conf? changed from 'hosts: files dns' to 'hosts: dns [!UNAVAIL=return] files'18:58
=== zz_mwhudson is now known as mwhudson
RoyKaxisys: no change needed, the file is parsed on login19:22
axisysRoyK: hmm.. ok so I didn't need to reload nscd for all this tacplus sessions.. thanks19:32
tych0hi hallyn, when i do an lxc-start, i'm getting: lxc-start: command get_state failed to receive response19:55
tych0any ideas what's up?19:55
hallyntych0: again - is this on trusty? lxc from ppa, or from trusty archive?19:56
tych0trusty archive, sorry19:57
hallyntych0: how exactly did you create the container?19:57
hallyntych0: can you do 'lxc-start -n <container> -l trace -o outout' and then pastebinit outout?19:57
tych0sudo lxc-create sudo lxc-create -n juju-bootstrap -t ubuntu-cloud -- -r precise19:58
tych0although when i install cgroup-lite it seems to work19:58
tych0hallyn: that's enough of a workaround for me; do you want me to trace it?19:58
hallynsrgraber: ^19:59
hallyntych0: lxc is supposed to require cgroup-lite19:59
tych0ah19:59
tych0:-)19:59
hallynso until cgmanager is in main, yes you  must have cgroup-lite installed19:59
tych0ok, cool19:59
tych0that answers my question, thanks!20:00
vfsmhi all20:00
hallyntych0 - np - ttyl20:01
=== mwhudson is now known as zz_mwhudson
hallyntych0: ok back to your locale issue :)  can you reproduce the issue by just putting the lxc-create command inside a 2-line #!/bin/sh script?20:21
hallyntych0: and if so, can you do "env" right above the lxc-create, and pastebin the result?20:22
tych0hallyn: no i did try that20:22
tych0but i can do an env right before i run it in the script i'm doing now20:22
hallynand it fails that way?20:22
tych0hallyn: doesn't fail in a plain shell script20:29
tych0just in our crazy cloud installer script20:29
tych0so i'll have that run env and post that on the bug20:29
hallyntych0: actually i think locale isn't to blame here.  i can reproduce your warnings, without a hang20:31
hallyni suspect actually that what you  had20:31
hallynwas a debconf menu waiting for input20:31
tych0yep20:31
tych0that's what i was thinking too20:31
tych0hung in timzeone20:31
hallynbut why...  you don't get the debconf when you do it by hand20:32
hallynstgraber: is there a way to tell apt-get that it should be non-interactive?20:32
hallyn(regarding bug 1282657)20:32
uvirtbotLaunchpad bug 1282657 in lxc "lxc-create hangs in some cases on trusty" [Undecided,Incomplete] https://launchpad.net/bugs/128265720:32
tych0it is already doing dpkg -f noninteractive20:33
hallynbug in dpkg?  <shrug>20:33
tych0that would be really unfortunate :-(20:34
tych0i had some theory about this a while ago20:34
tych0i forget what it was20:34
=== zz_mwhudson is now known as mwhudson
=== Den_Beiren is now known as DenBeiren
BitwiseHi, anyone willing to take a look at my configuration? I'm trying to set up a basic mail server but I think there is something wrong with my dns configuration. (I know asking to asking is bad but understanding me may take some time.)21:18
=== tyhicks` is now known as tyhicks
=== hachre is now known as hachre_
=== chmurifr- is now known as chmurifree
=== beisner- is now known as beisner
hallynhm.  qcow2 snapshots work fine locally on my trusty laptop...21:55
=== beisner- is now known as beisner
=== genii_ is now known as genii
=== ciastek_ is now known as ciastek
=== stgraber_ is now known as stgraber
=== yofel_ is now known as yofel
zartooshhi22:22
hallyntime for some git bisect goodness22:42
hallyni should come up with a cool script like arges does22:43
hallynexcept every compile requires manual intervention, so it probably wouldn't work too well22:43
hallynarges: actually... have you seen this bug?  if you start kvm with a qcow backin store, it works fine on bare metal, but in nested grub fails to  load the kernel22:44
argeshallyn: nope. haven't seen that one yet : )22:45
hallyn(or, it could be weird environments involved - my nested case is trusty in precise's qemu on trusty kernel)22:45
hallyn(but i'm discounting that since jdstrand has seen similar problems)22:46
=== lazyPower_ is now known as lazyPower
BitwiseHi, how should roundcube be configured in relation to postfixadmin and the maildb? I'm following this guide: http://flurdy.com/docs/postfix/22:51
BitwiseI'd imagine one login should get into all of those services.22:51
Patrickdkfirst, what does any of what you said have to do at all with same random link you found in the internet? expecially that link22:56
Patrickdkas roundcube is an imap client, it should be configured for your imap server, and has nothing to do with postfixadmin22:56
BitwiseI'm asking about making one login for all of them.22:57
Patrickdkfor all of what?22:58
Patrickdkso far I only see postfixadmin and maildb22:58
Bitwisepostfix, postfixadmin, roundcube, courier23:00
Patrickdkin that case, you just have to make courier work23:00
Patrickdkand make it work the way postfixadmin expects23:00
Patrickdkthough, I dunno why you want to make life so hard on yourself23:01
BitwisePatrickdk, I think my courier configuration is correct.23:04
Patrickdkthen there you go then23:06
Patrickdkeverything uses the same password, time to move on23:06
sarnold12345623:07
hallynwell, apparently it's not the first level qemu.  maybe it's actually the 1.0 qemu on the trusty kernel messing something up23:07
BitwiseI'm trying to add an mx record with noip.com. I see no reason why I can't use mail.mydomain.tld how do I make mail.mydomain.tld resolve to the same my same server?23:08
sarnoldBitwise: do not use CNAMEs for MX records.23:08
BitwiseI'm not.23:08
sarnoldgood good.23:09
Patrickdkhmm, cnames are invalid :)23:09
=== hazmat` is now known as hazmat
=== mikal_ is now known as mikal
Bitwisepostfixadmin says Invalid domain mail.mydomain.tld, and/or not discoverable in DNS23:10
BitwiseI have a feeling the same misconfiguration has also been preventing me from sending mail.23:10
Patrickdkwhy would that be valid?23:11
sarnoldwhat does 'host' or 'dig' report?23:11
Patrickdktld is not a valid tld23:11
GrueMasterIs there a simple fix for the vt=7 issue in grub2 on Ubuntu Server (12.04.3/4) installs?  Not finding a working solution on google.23:11
Bitwisehost says it's not found.23:12
BitwiseI added the mx record using noip.com. I'm not sure if I did it correctly though.23:12
=== ppetraki_ is now known as ppetraki
Bitwisehttp://screencloud.net/v/3JYT I edited the goodies out but the rest is the same.23:14
=== aslaen is now known as aslaen_
=== aslaen_ is now known as aslaen
=== mjohnson15_2 is now known as mjohnson15
BitwisePostfix can't receive. It keeps bouncing off mail.mydomain.tld'23:39
sarnoldanything interesting in the logs?23:39
Bitwise(excluding the apostrophe, that was a typo)23:39
Bitwisesarnold, Indeed, http://pastebin.com/dCQP6ePv23:41
sarnoldBitwise: can that machine still not resolve mail.whatever?23:43
Bitwisehost mail.whatever says not found23:44
sarnoldBitwise: aha, good, you've got something concrete to troubleshoot. figure out why your MX isn't resolvable.23:46
=== freeflying_away is now known as freeflying
BitwiseI honestly have no idea where to start.23:48
BitwiseIn /etc/hosts I have 127.0.0.1localhost\n127.0.0.1mail.mydomain.tld23:49
sarnolduse whois to find your authoritative resolvers; use dig or host on each of those authoritative servers in turn to query for your MX and then to query the address of the name returned for the MX23:49
sarnoldyou should probably delete that last line -- having 127.0.0.1 reverse-lookup to something other than localhost is probably going to break something.23:49
sarnoldchange it to 127.0.1.1 or 127.0.2.1 or something if you must keep it23:50
sarnoldbut having a fake entry in hosts is going to make troubleshooting your broken DNS so much arder23:50
Bitwise$ whois mydomain.tld -> NOT FOUND23:53
sarnoldyikes, time to see how good your registrar's support group is :)23:53
sarnoldeither check your domain owner interface or give them a call or something.23:54
BitwiseWhen I do a whois on some website it gives me the results for no-ip.org23:56

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