Bitwise | I'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-iPad | Anyone set up openldap to authenticate Mac OS X Maverick clients against | 00:07 |
=== keithzg_ is now known as keithzg | ||
jrwren | I've already run lvextend and lvdisplay shows the lv is much larger now | 00:41 |
jrwren | when I run resize2fs via sudo, I get a permission denied error. | 00:41 |
jrwren | http://paste.ubuntu.com/6962950/ | 00:41 |
jrwren | any help? | 00:41 |
sarnold | jrwren: umount the filesystem? | 00:42 |
jrwren | i want online resize | 00:42 |
sheptard | sarnold: shouldn't need to | 00:42 |
sheptard | jrwren: make yourself root | 00:42 |
sarnold | hey sheptard :) | 00:42 |
sheptard | sarnold: hoihoi | 00:42 |
Bitwise | http://pastebin.com/jmWT98T0 Any takers? | 00:42 |
jrwren | same exact message from root shell started via sudo -i | 00:42 |
sheptard | jrwren: assuming the filesystem is ext3/4? | 00:43 |
jrwren | yes, ext4 | 00:43 |
sarnold | Bitwise: rm /usr/lib/courier/imapd.pem ? | 00:43 |
sheptard | Bitwise: ^ | 00:43 |
sarnold | oh, maybe one of those 'directories' is a symlink... | 00:44 |
Bitwise | rm: cannot remove ‘/usr/lib/courier/imapd.pem’: No such file or directory | 00:44 |
sheptard | jrwren: I'd just sudo su; resize2fs /dev/derpderp | 00:44 |
sarnold | Bitwise: ls -ld /usr/lib/courier | 00:44 |
jrwren | same exact error via sudo su | 00:44 |
Bitwise | drwxr-xr-x 4 root root 4096 Feb 19 19:37 /usr/lib/courier | 00:44 |
sheptard | jrwren: interesting | 00:44 |
sarnold | Bitwise: interesting | 00:44 |
sarnold | Bitwise: ls -ld /usr/lib/courier/imapd.pem ? | 00:45 |
jrwren | sheptard: indeed. googling gives me results with folks having issues with SD cards on raspberry pi :) I don't think those are LVM backed | 00:45 |
Bitwise | ls: cannot access /usr/lib/courier/imapd.pem: No such file or directory | 00:45 |
sarnold | Bitwise: ok. confusing. try ls -l /usr /usr/lib ? | 00:45 |
Bitwise | http://paste.ubuntu.com/6962964/ | 00:46 |
jrwren | really good info here actually: http://forums.gentoo.org/viewtopic-t-764297-start-0.html | 00:47 |
Bitwise | sarnold, 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 |
sarnold | Bitwise: how about ls -l /etc/courier/imapd.pem ? | 00:52 |
Bitwise | ls: cannot access /etc/courier/imapd.pem: No such file or directory | 00:52 |
sarnold | Bitwise: /etc/courier ? | 00:52 |
Bitwise | http://paste.ubuntu.com/6962987/ | 00:53 |
raid1ubuntu | hello i am unable to install ubuntu server 12 lts x64 on a host-based raid1 array | 00:54 |
raid1ubuntu | the curses-based setups hangs when i say apply partitioning | 00:54 |
sarnold | Bitwise: that's all so confusing; the postinst script appears to run this program if the /etc/courier/imapd.pem doesn't exist: mkimapdcert | 00:54 |
sarnold | Bitwise: you could try running that as root and see how well that works, then re-try install? | 00:55 |
raid1ubuntu | cat /proc/mdstats goes into resync ... takes several hours until it finishes, and the setups is still frozen after successfull resync | 00:55 |
Bitwise | sarnold, it seems I forgot how to Linux. | 00:56 |
sarnold | Bitwise: haha :) | 00:56 |
Bitwise | I switched the parameters of ls -s | 00:56 |
raid1ubuntu | i 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 |
Bitwise | Fixing that allows me to reinstall courier. | 00:56 |
sarnold | Bitwise: oh! ln -s ? | 00:56 |
sarnold | Bitwise: I -hate- ln. I can never keep the argument order in tact. | 00:57 |
Bitwise | Yes, I tried to create the symlink so that it would work. | 00:57 |
sarnold | or intact either. :) | 00:57 |
sarnold | Bitwise: I'm just surprised the various ls -ling didn't show it..? | 00:57 |
raid1ubuntu | Is there anyone who knows what to do? | 00:57 |
Bitwise | sarnold, I did. That's how I realized it. | 00:59 |
sarnold | Bitwise: sigh :) sorry I missed it. hehe. | 00:59 |
Bitwise | It's no problem. I appreciate the help. :-) | 00:59 |
jrwren | i wonder if resize2fs is failing because teh system thinks the filesystem is dirty and needs unmounting and fsck | 01:07 |
jrwren | anyone aware of an online fsck for ext4 ? :) | 01:12 |
hitsujiTMO | jrwren: remount ro? | 01:13 |
jrwren | is that allowed? | 01:16 |
jrwren | I mean, I know I can remount ro, but can I remount ro, run fsck -y and then remount rw ? | 01:16 |
jrwren | I've never thought of doing that. I'm going to try it :) | 01:16 |
hitsujiTMO | yup | 01:16 |
jrwren | thanks hitsujiTMO | 01:16 |
=== io is now known as IdleOne | ||
jrwren | i've been doing this too long to have never done that. where can I send the thanks hitsujiTMO ? :) | 01:17 |
hitsujiTMO | you can fsck a unmount or readonly filesystem. so remounting ro should be safe | 01:17 |
Bitwise | It seems reinstalling courier doesn't replace /etc/courier with fresh files. Am I missing something here? | 01:19 |
sarnold | Bitwise: if you apt-get purge courier it'll clear all the configs, then a fresh apt-get install should put them back | 01:23 |
Bitwise | Saved the day again! | 01:25 |
jrwren | hitsujiTMO: i was hoping I could force remount readonly like kernel does when there are disk errors. | 01:33 |
jrwren | I get mount: /mnt is busy | 01:33 |
hitsujiTMO | jrwren: with ? sudo mount /mnt -o remount,ro | 01:34 |
jrwren | yup | 01:34 |
jrwren | well, mount -o remount,ro /mnt | 01:34 |
jrwren | I'd think -o before device | 01:35 |
hitsujiTMO | jrwren: try adding the n flag | 01:37 |
jrwren | its not my root fs, shouldn't need it, but I'll try | 01:39 |
hitsujiTMO | jrwren: you may have to kill anything that has a file open with fuser | 01:39 |
jrwren | same thing. | 01:39 |
jrwren | yeah, the fuser/lsof thing is the same as unmounting. | 01:40 |
hitsujiTMO | altho i'm sure i've done this with / but on debian tho | 01:40 |
jrwren | i'm in ssh, but any way I can remote an alt+sysreq+U ? | 01:40 |
jrwren | or make that syscall or something? | 01:40 |
sarnold | did you use the sysrq "emergency readonly remount" thing? | 01:40 |
* sarnold ^5s jrwren | 01:40 | |
jrwren | I did not. | 01:41 |
jrwren | but I want to. | 01:41 |
sarnold | jrwren: hehe, I meant it as a question to hitsujiTMO -- I'm a bit happy you thought of the same thing | 01:41 |
hitsujiTMO | jrwren: echo "command key" > /proc/sysrq-trigger | 01:41 |
sarnold | jrwren: that'd be echo u > /proc/sysrq-trigger | 01:41 |
sarnold | 's' first if you want to sync | 01:42 |
hitsujiTMO | sarnold: hmm, not sure was a few years back | 01:42 |
jrwren | this is getting into crazy territory. I think I'll wait until I'm done reading from that FS. | 01:42 |
sarnold | I was terrified for my first offline filesystem resize :) trying to do it while online is just amazing to me.. | 01:43 |
jrwren | this isn't a first for me. | 01:44 |
jrwren | its a first for half online fsck | 01:44 |
hitsujiTMO | resizing an ext partition "should" be trivial enough to be able to do it even when its dirty. | 01:45 |
hitsujiTMO | afterall, i don't think it creates any new inodes | 01:45 |
Bitwise | I'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 |
jrwren | hitsujiTMO: i'm getting the error for some reason. I wish I knew why | 02:02 |
jrwren | in this case I mean the resize error. | 02:03 |
Bitwise | Nevermind, 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 | ||
Bitwise | Hi. 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 |
tonyyarusso | Bitwise: Can users log in via IMAP with desktop clients and just not Roundcube, or not at all? | 04:23 |
Bitwise | Not 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 | ||
tonyyarusso | Bitwise: Can you pastebin your courier config, minus any sensitive bits? | 04:40 |
Bitwise | tonyyarusso, Which file exactly? | 04:42 |
tonyyarusso | Bitwise: do you have an /etc/courier/authdaemonrc ? | 04:46 |
Bitwise | tonyyarusso, Yes, http://pastebin.com/GWEJC7vi | 04:48 |
Bitwise | I'm trying to follow this: http://flurdy.com/docs/postfix/#top | 04:49 |
tonyyarusso | Okay, and then an /etc/courier/authmysqlrc I take it? | 04:50 |
tonyyarusso | This tutorial puts them in a database called maildb | 04:53 |
Bitwise | authmysqlrc: http://pastebin.com/9JC2cGjL | 04:53 |
tonyyarusso | So yeah, see if you have anything in the users table of the maildb database | 04:56 |
Bitwise | tonyyarusso, 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 |
Bitwise | Also, I now can't log into phpMyAdmin. My username was 'mail' for some reason. | 04:58 |
tonyyarusso | If there are still not entries, then the next step would be to look at the postfixadmin config | 04:59 |
Bitwise | No clue why but I suddenly can't connect to MySQL through socket ... (2) | 05:02 |
Bitwise | Okay, I'm not getting the SQL error anymore. | 05:12 |
Bitwise | tonyyarusso, 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 | ||
zetheroo | if 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 |
shauno | zetheroo: /var/lib/nfs/rmtab is a good start (but can contain stale entries if clients don't disconnect cleanly) | 09:01 |
Shain | I 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 |
zetheroo | shauno: great thanks! Is there any way to kinda clean up the file to show only current listings? | 09:07 |
shauno | zetheroo: not easily, it's maintained by rpc.mountd, so it may just replace anything it still believes to be true | 09:21 |
shauno | (man rpc.mountd being where this file & behaviour are documented) | 09:22 |
zetheroo | ok ... and this is the easiest way to see where these exports are being mounted to .. | 09:24 |
shauno | I actually just found 'showmount -a' via the same manpage, which I was unaware of. but it gets its data from the same file | 09:26 |
stemid | so /etc/cron.d/hourly is like 0 * * * * ? | 12:56 |
stemid | I mean /etc/cron.hourly is like 0 * * * * ? | 12:56 |
stemid | I 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 |
stemid | it's 13:57 here now so I think it should run soon, if it's equal to 0 * * * * | 12:57 |
stemid | I placed it in there 3 hours ago though | 12:58 |
stemid | nope, 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:01 | 13:01 |
stemid | made a more traditional cron in /etc/cron.d/foo-bar now 0 * * * * root /etc/cron.hourly/foo-bar | 13:02 |
stemid | cron is usually not this hard ;) | 13:03 |
toyotapie | Hello, 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 | ||
raid1ubuntu | i 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 |
RoyK | raid1ubuntu: sw raid? | 13:55 |
RoyK | raid1ubuntu: anyway - it should work well | 13:55 |
RoyK | just install grub on both disks (if it's sw raid) | 13:55 |
raid1ubuntu | RoyK: host based (intel embedded raid server technology ii) | 13:55 |
RoyK | raid1ubuntu: using that setup myself | 13:55 |
RoyK | raid1ubuntu: then it's probably fakeraid. better not use it | 13:55 |
RoyK | better use md raid | 13:55 |
raid1ubuntu | its md raid | 13:56 |
xnox | RoyK: intel matrix raid, managed by mdadm is actually ok. | 13:56 |
RoyK | oh - didn't know that | 13:56 |
xnox | RoyK: ditto ddf. all others are crap and thus only supported by dmraid =) | 13:56 |
RoyK | raid1ubuntu: I'm using mdraid mirrors for boot on serveral servers - works like a charm | 13:56 |
raid1ubuntu | RoyK: ubuntu setup automaticall detected it. and now wants to install grub on /dev/md126 | 13:56 |
xnox | raid1ubuntu: installing grub onto /dev/md126 is correct. | 13:57 |
RoyK | that's wierd. I thought grub should go to the host drives | 13:57 |
xnox | raid1ubuntu: i had success with UEFI booting off intel matrix raid with mdadm, but not with BIOS/mbr. | 13:57 |
raid1ubuntu | xnox: install on MBR (yes/no) in setup, i select yes | 13:57 |
xnox | RoyK: no, the motherboard knows about the fakeraid array and thus has options to boot of the raid. | 13:58 |
RoyK | xnox: ok - never used fakeraid | 13:58 |
xnox | raid1ubuntu: yeah, that's correct -> but my motherboard didn't like it and failed to boot =( | 13:58 |
raid1ubuntu | if i select NO it asks me for a device | 13:58 |
xnox | raid1ubuntu: you should install into MBR. | 13:58 |
xnox | raid1ubuntu: of /dev/md126 device. | 13:58 |
raid1ubuntu | xnox: ok, but that fails | 13:59 |
xnox | raid1ubuntu: and in firmware configuration (ctrl+I on boot) make sure it's marked as bootable. | 13:59 |
xnox | raid1ubuntu: yeah =/ works with UEFI just fine though.... | 13:59 |
RoyK | xnox: what would be the difference between using fakeraid and ditching that altogether for plain mdraid? | 13:59 |
xnox | raid1ubuntu: in that case try installing onto a partition, instead of mbr e.g. /dev/md126p1 | 13:59 |
RoyK | xnox: why not the host drives? | 14:00 |
raid1ubuntu | ok i will try it | 14:00 |
raid1ubuntu | i have installed the whole OS on the raid1 array | 14:00 |
xnox | RoyK: different ondisk format and different sets of events / controllers. | 14:00 |
xnox | RoyK: 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 |
xnox | RoyK: then again if all fails, one can try that.... | 14:01 |
RoyK | xnox: but what are the advantages of using fakeraid instead of just mdraid? | 14:02 |
xnox | RoyK: plus motherboard bios/firmware sees and checks assembled array and tries to boot that.... not the underlying disks. | 14:02 |
xnox | RoyK: 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 |
xnox | RoyK: plus it works for dual boot installations as one can have windows on the same array with linux. | 14:04 |
RoyK | that's inded a plus | 14:04 |
xnox | RoyK: whereas with mdadm one can't install windows on top of it. | 14:04 |
xnox | RoyK: people say that "intel firmware sends better/faster notifications about failed drives" but i'm skeptical about that =) | 14:05 |
RoyK | guess I'll stick to old md for the moment | 14:05 |
RoyK | that or zfs | 14:05 |
raid1ubuntu | xnox: please have a look: http://picpaste.com/Photo_2014-02-20_15.07.12-1-f4s7bAFm.jpg i have no idea what to do | 14:09 |
raid1ubuntu | xnox: i tried /dev/md125 ..126 and md127 for grub but it always failed. i tried also /dev/sda | 14:09 |
raid1ubuntu | xnox: it says something about "... disk not found" in dmesg (see picture) | 14:10 |
xnox | raid1ubuntu: have a non-raided bootloader elsewhere. | 14:10 |
xnox | raid1ubuntu: or just use stock mdadm instead of intel-raid. | 14:10 |
xnox | raid1ubuntu: do you need/must use intel-raid, or can you use any raid? | 14:10 |
xnox | raid1ubuntu: https://help.ubuntu.com/12.04/serverguide/advanced-installation.html | 14:11 |
raid1ubuntu | i could use software-raid but i guess its slower than the intel one, right? | 14:11 |
xnox | raid1ubuntu: no depends yes | 14:11 |
xnox | raid1ubuntu: 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 |
xnox | raid1ubuntu: given processing / physical limitations it's a bit longer that slowest drive to write, and a bit less than 2x read gain. | 14:12 |
xnox | raid1ubuntu: the difference between mdadm vs fakeraid is negligible. | 14:12 |
raid1ubuntu | xnox: 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 |
xnox | raid1ubuntu: ..... 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 |
raid1ubuntu | xnox: maybe i just only need to fix the "disk not found" problem | 14:14 |
xnox | raid1ubuntu: you could use dmraid. | 14:14 |
xnox | raid1ubuntu: why are you using mdadm with intel raid? | 14:14 |
=== tjaalton_ is now known as tjaalton | ||
xnox | mdadm with intel raid is not well supported yet. | 14:14 |
raid1ubuntu | i am not sure if it is intel matrix raid | 14:14 |
xnox | raid1ubuntu: what does this say $ mdadm --detail-platform | 14:15 |
xnox | raid1ubuntu: you can execute it from tty2 for example | 14:15 |
=== railsraider_ is now known as railsraider | ||
xnox | raid1ubuntu: 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 |
raid1ubuntu | xnox: i have this board in this 1he server: http://ark.intel.com/products/29871/Intel-Server-Board-S5400SF | 14:16 |
xnox | raid1ubuntu: i don't care what the board is, I care what the userspace detects it as =) | 14:16 |
raid1ubuntu | xnox: it says mdadm: imsm capabilities not found for controller: /sys/devices/.......... | 14:18 |
xnox | raid1ubuntu: in that case..... i'm not so sure what you are setting up or how. | 14:18 |
xnox | raid1ubuntu: cause you are not using fakeraid. | 14:18 |
raid1ubuntu | xnox: lspci says: Intel Corporation 631xESB/632xESB SATA RAID CONTROLLER | 14:18 |
xnox | raid1ubuntu: typically, you'd boot into firmware and setup raid arrays as you wish. Have you done that? | 14:19 |
raid1ubuntu | xnox: yes i have created one big array with two disks | 14:19 |
xnox | raid1ubuntu: then during installation, you should _not_ setup any raid. | 14:19 |
xnox | raid1ubuntu: if it asks you to activate things say yes. | 14:20 |
raid1ubuntu | in 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 array | 14:20 |
xnox | raid1ubuntu: during install select "use full disk, use lvm" (default option) and select only one drive -> that raid1 array. | 14:20 |
xnox | raid1ubuntu: yeah so just install onto that. | 14:20 |
raid1ubuntu | xnox: if i select this, its only showing up the usb-stick i am installign from | 14:21 |
xnox | raid1ubuntu: in manual partitioning do not enter "configure software raid menus" and don't change anything there. | 14:21 |
raid1ubuntu | xnox: yes, i know, i just select this | 14:21 |
xnox | raid1ubuntu: can you try Trusty Tahr 14.04 installer? i think it may have a fix for that. | 14:21 |
xnox | raid1ubuntu: http://cdimage.ubuntu.com/ubuntu-server/daily/current/ | 14:22 |
raid1ubuntu | xnox: i am on 14.04, 12.04 freezed when i said do partioning now | 14:22 |
raid1ubuntu | xnox: this is a screenshot of 12.02 but it is the same on 14.04 | 14:23 |
raid1ubuntu | http://picpaste.com/Photo_2014-02-20_02.32.07-1-CS2Wqwz5.jpg | 14:23 |
raid1ubuntu | xnox: the setup detects the (at boot time controller-setup-) configured array by itself | 14:24 |
tych0 | hi hallyn, i'm having a problem with lxc: http://paste.ubuntu.com/6965608/ just seems to hang | 14:24 |
tych0 | FWIW i can run the command manually and it works fine | 14:24 |
tych0 | so it is something about the environment, i suppose | 14:25 |
hallyn | tych0: which release are you on? | 14:25 |
tych0 | hallyn: trusty | 14:25 |
xnox | raid1ubuntu: the device, at grub-installer installation time would be called /dev/mapper/isw_<letters>_<name> (where name typically is Volume0) | 14:26 |
raid1ubuntu | xnox: 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 |
xnox | raid1ubuntu: not md* | 14:26 |
hallyn | tych0: I'm guessing it' related to bug 1166841 | 14:27 |
=== Malediction_ is now known as Malediction | ||
xnox | raid1ubuntu: 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 |
raid1ubuntu | xnox: yes, i know thats what i meant with "remove the controller-raid1" hehe | 14:28 |
=== aslaen is now known as aslaen_ | ||
tych0 | ah, hm | 14:28 |
tych0 | my $LANG is en_GB on this box | 14:28 |
raid1ubuntu | xnox: /dev/mapper/isd_letters_name ... ok i will look | 14:28 |
tych0 | well, en_GB.UTF-8 | 14:28 |
hallyn | tych0: when the lxc-create is hung,c an you confirm that locale-gen is running? | 14:29 |
tych0 | hallyn: yes, although it'll take me a few minutes to get back there, but i can do that | 14:29 |
hallyn | tych0: well, just setting yoru LANG to en_GB.UTF-8 in the script may fix it | 14:29 |
tych0 | ok, will do | 14:30 |
hallyn | there is some sort of hornet's nest lurking in the locale stuff, but I don't know what's going to come of it | 14: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 | ||
pmatulis | raid1ubuntu: mdadm in 14.04 will include fakeraid support. dunno if that is available and working yet | 14:39 |
pmatulis | (dmraid no longer used) | 14:39 |
xnox | pmatulis: well i should write the status report about htat. | 14:43 |
xnox | pmatulis: let me mail it out. | 14:44 |
pmatulis | xnox: thanks, mail destination? | 14:44 |
xnox | pmatulis: ubuntu-devel probably. | 14:44 |
=== freeflying is now known as freeflying_away | ||
raid1ubuntu | my server got 32gb ram how big should the SWAP partition be ? | 14:52 |
xnox | raid1ubuntu: default - 32gb if you want suspend/hybernate to have a chance at working | 14:53 |
xnox | raid1ubuntu: i use 32GB swap with 32GB of RAM on my desktop =) | 14:53 |
* xnox ponders if can class myself as server.... | 14:53 | |
raid1ubuntu | xnox: for a always-up server with no hibernate required ? | 14:55 |
xnox | raid1ubuntu: you still want swap.... e.g. when i'm running big databases they use swap as disk-cache thus speeding up IO | 14:55 |
raid1ubuntu | xnox: 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 |
xnox | raid1ubuntu: things go blazingly fast if you can store 10GB of data in ram and move it about. | 14:56 |
xnox | raid1ubuntu: i presume you have like terabyte drives that 32GB of swap is peanuts and a big performance gain. | 14:56 |
raid1ubuntu | xnox: ok i will use 64gb | 14:59 |
raid1ubuntu | xnox: 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 |
raid1ubuntu | xnox: there is no fdisk in F2 console | 15:00 |
xnox | raid1ubuntu: follow step-by-steps i've pasted to you earlier. | 15:02 |
xnox | raid1ubuntu: 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 |
xnox | https://help.ubuntu.com/12.04/serverguide/advanced-installation.html | 15:03 |
raid1ubuntu | xnox: 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_Lips | Anyone 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 |
utlemming | hallyn: http://paste.ubuntu.com/6965928 -- did 14.04 introduce a breaking change on QCOW2 compatability with older versions of qemu? | 15:26 |
hallyn | utlemming: yeah I saw something in the git changelog tha tmight be relevant | 15:28 |
hallyn | (breakfasting, biab) | 15:28 |
cfhowlett | !trusty|utlemming, | 15:29 |
ubottu | utlemming,: 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+1 | 15:29 |
raid1ubuntu | yay, grub on /dev/sda and /dev/sdb | 15:29 |
utlemming | hallyn: ping when you get back, if you would | 15:35 |
raid1ubuntu | is there a way to skip swap space wiping at the end of the setup? | 15:38 |
hallyn | utlemming: 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 |
hallyn | utlemming: presumably you can try compat=1.0... | 15:53 |
hallyn | no that isn't valid | 15:53 |
utlemming | hallyn: yeah, I tried compat=0.10 and it failed | 15:53 |
utlemming | hallyn: per what I found, you need 0.10 for pre-1.1 versions | 15:54 |
hallyn | d'oh. i missed htat you were on 12.04 for the mount | 15:54 |
utlemming | hallyn: yeah, the problem is going form trusty to precise :/ | 15:54 |
hallyn | utlemming: but 0.10 works everywhere? | 15:55 |
utlemming | hallyn: it seems that it works except on precise | 15:55 |
hallyn | I see - in your pastebin, that's the same file? | 15:56 |
utlemming | hallyn: it is...test.img created on latest trusty build, and then copied to the latest precise build | 15:57 |
hallyn | utlemming: please open a bug. i'll try to reproduce it with upstream qemu git, hand-built as 1.7 and 1.2 trees | 15:57 |
hallyn | (so i can file against upstream) | 15:58 |
utlemming | hallyn: sure, doing so now | 15:58 |
hallyn | thx | 15:58 |
hallyn | utlemming: fwiw there are some other qcow2 related bugs in trusty's git whic i need to nail down | 15:59 |
utlemming | hallyn: ack, good to know | 15:59 |
tych0 | hallyn: so locale-gen is not running when lxc-create is hung | 15:59 |
tych0 | and setting LANGUAGE, LANG, and LC_ALL to en_US.UTF-8 didn't fix anything :-( | 16:00 |
hallyn | tych0: please file a bug; i'll lose track otehrwise | 16:00 |
tych0 | hallyn: ok, on ubuntu/lxc or just lxc? | 16:00 |
hallyn | ubuntu/lxc | 16:00 |
tych0 | will do | 16:01 |
utlemming | hallyn: bug #1282655 | 16:02 |
uvirtbot | Launchpad bug 1282655 in qemu "qcow2 images are not backwards compatiable with 12.04's qcow2" [Undecided,New] https://launchpad.net/bugs/1282655 | 16:02 |
hallyn | smoser: do you have the rights to subscribe the server team to slof bugs? (I don't) | 16:02 |
hallyn | utlemming: thanks. (with lxc 1.0 release coming today it's good timing :) | 16:03 |
utlemming | hallyn: lol | 16:03 |
=== ivoks is now known as ivoks_ | ||
raid1ubuntu | xnox: thx for your help! | 16:27 |
raid1ubuntu | cu | 16:28 |
xnox | raid1ubuntu: 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 #ubuntu | 17:05 |
ikonia | joshu__: please don't | 17:08 |
ikonia | joshu__: ask in the correct channel please, don't post across the channels | 17:08 |
joshu__ | ikonia won't do again | 17:08 |
ikonia | no problem, thanks | 17:09 |
bananapie | Hello, 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 | ||
axisys | how 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 | ||
RoyK | axisys: no change needed, the file is parsed on login | 19:22 |
axisys | RoyK: hmm.. ok so I didn't need to reload nscd for all this tacplus sessions.. thanks | 19:32 |
tych0 | hi hallyn, when i do an lxc-start, i'm getting: lxc-start: command get_state failed to receive response | 19:55 |
tych0 | any ideas what's up? | 19:55 |
hallyn | tych0: again - is this on trusty? lxc from ppa, or from trusty archive? | 19:56 |
tych0 | trusty archive, sorry | 19:57 |
hallyn | tych0: how exactly did you create the container? | 19:57 |
hallyn | tych0: can you do 'lxc-start -n <container> -l trace -o outout' and then pastebinit outout? | 19:57 |
tych0 | sudo lxc-create sudo lxc-create -n juju-bootstrap -t ubuntu-cloud -- -r precise | 19:58 |
tych0 | although when i install cgroup-lite it seems to work | 19:58 |
tych0 | hallyn: that's enough of a workaround for me; do you want me to trace it? | 19:58 |
hallyn | srgraber: ^ | 19:59 |
hallyn | tych0: lxc is supposed to require cgroup-lite | 19:59 |
tych0 | ah | 19:59 |
tych0 | :-) | 19:59 |
hallyn | so until cgmanager is in main, yes you must have cgroup-lite installed | 19:59 |
tych0 | ok, cool | 19:59 |
tych0 | that answers my question, thanks! | 20:00 |
vfsm | hi all | 20:00 |
hallyn | tych0 - np - ttyl | 20:01 |
=== mwhudson is now known as zz_mwhudson | ||
hallyn | tych0: 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 |
hallyn | tych0: and if so, can you do "env" right above the lxc-create, and pastebin the result? | 20:22 |
tych0 | hallyn: no i did try that | 20:22 |
tych0 | but i can do an env right before i run it in the script i'm doing now | 20:22 |
hallyn | and it fails that way? | 20:22 |
tych0 | hallyn: doesn't fail in a plain shell script | 20:29 |
tych0 | just in our crazy cloud installer script | 20:29 |
tych0 | so i'll have that run env and post that on the bug | 20:29 |
hallyn | tych0: actually i think locale isn't to blame here. i can reproduce your warnings, without a hang | 20:31 |
hallyn | i suspect actually that what you had | 20:31 |
hallyn | was a debconf menu waiting for input | 20:31 |
tych0 | yep | 20:31 |
tych0 | that's what i was thinking too | 20:31 |
tych0 | hung in timzeone | 20:31 |
hallyn | but why... you don't get the debconf when you do it by hand | 20:32 |
hallyn | stgraber: is there a way to tell apt-get that it should be non-interactive? | 20:32 |
hallyn | (regarding bug 1282657) | 20:32 |
uvirtbot | Launchpad bug 1282657 in lxc "lxc-create hangs in some cases on trusty" [Undecided,Incomplete] https://launchpad.net/bugs/1282657 | 20:32 |
tych0 | it is already doing dpkg -f noninteractive | 20:33 |
hallyn | bug in dpkg? <shrug> | 20:33 |
tych0 | that would be really unfortunate :-( | 20:34 |
tych0 | i had some theory about this a while ago | 20:34 |
tych0 | i forget what it was | 20:34 |
=== zz_mwhudson is now known as mwhudson | ||
=== Den_Beiren is now known as DenBeiren | ||
Bitwise | Hi, 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 | ||
hallyn | hm. 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 | ||
zartoosh | hi | 22:22 |
hallyn | time for some git bisect goodness | 22:42 |
hallyn | i should come up with a cool script like arges does | 22:43 |
hallyn | except every compile requires manual intervention, so it probably wouldn't work too well | 22:43 |
hallyn | arges: 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 kernel | 22:44 |
arges | hallyn: 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 | ||
Bitwise | Hi, how should roundcube be configured in relation to postfixadmin and the maildb? I'm following this guide: http://flurdy.com/docs/postfix/ | 22:51 |
Bitwise | I'd imagine one login should get into all of those services. | 22:51 |
Patrickdk | first, what does any of what you said have to do at all with same random link you found in the internet? expecially that link | 22:56 |
Patrickdk | as roundcube is an imap client, it should be configured for your imap server, and has nothing to do with postfixadmin | 22:56 |
Bitwise | I'm asking about making one login for all of them. | 22:57 |
Patrickdk | for all of what? | 22:58 |
Patrickdk | so far I only see postfixadmin and maildb | 22:58 |
Bitwise | postfix, postfixadmin, roundcube, courier | 23:00 |
Patrickdk | in that case, you just have to make courier work | 23:00 |
Patrickdk | and make it work the way postfixadmin expects | 23:00 |
Patrickdk | though, I dunno why you want to make life so hard on yourself | 23:01 |
Bitwise | Patrickdk, I think my courier configuration is correct. | 23:04 |
Patrickdk | then there you go then | 23:06 |
Patrickdk | everything uses the same password, time to move on | 23:06 |
sarnold | 123456 | 23:07 |
hallyn | well, apparently it's not the first level qemu. maybe it's actually the 1.0 qemu on the trusty kernel messing something up | 23:07 |
Bitwise | I'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 |
sarnold | Bitwise: do not use CNAMEs for MX records. | 23:08 |
Bitwise | I'm not. | 23:08 |
sarnold | good good. | 23:09 |
Patrickdk | hmm, cnames are invalid :) | 23:09 |
=== hazmat` is now known as hazmat | ||
=== mikal_ is now known as mikal | ||
Bitwise | postfixadmin says Invalid domain mail.mydomain.tld, and/or not discoverable in DNS | 23:10 |
Bitwise | I have a feeling the same misconfiguration has also been preventing me from sending mail. | 23:10 |
Patrickdk | why would that be valid? | 23:11 |
sarnold | what does 'host' or 'dig' report? | 23:11 |
Patrickdk | tld is not a valid tld | 23:11 |
GrueMaster | Is 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 |
Bitwise | host says it's not found. | 23:12 |
Bitwise | I 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 | ||
Bitwise | http://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 | ||
Bitwise | Postfix can't receive. It keeps bouncing off mail.mydomain.tld' | 23:39 |
sarnold | anything interesting in the logs? | 23:39 |
Bitwise | (excluding the apostrophe, that was a typo) | 23:39 |
Bitwise | sarnold, Indeed, http://pastebin.com/dCQP6ePv | 23:41 |
sarnold | Bitwise: can that machine still not resolve mail.whatever? | 23:43 |
Bitwise | host mail.whatever says not found | 23:44 |
sarnold | Bitwise: 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 | ||
Bitwise | I honestly have no idea where to start. | 23:48 |
Bitwise | In /etc/hosts I have 127.0.0.1localhost\n127.0.0.1mail.mydomain.tld | 23:49 |
sarnold | use 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 MX | 23:49 |
sarnold | you 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 |
sarnold | change it to 127.0.1.1 or 127.0.2.1 or something if you must keep it | 23:50 |
sarnold | but having a fake entry in hosts is going to make troubleshooting your broken DNS so much arder | 23:50 |
Bitwise | $ whois mydomain.tld -> NOT FOUND | 23:53 |
sarnold | yikes, time to see how good your registrar's support group is :) | 23:53 |
sarnold | either check your domain owner interface or give them a call or something. | 23:54 |
Bitwise | When I do a whois on some website it gives me the results for no-ip.org | 23:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!