/srv/irclogs.ubuntu.com/2014/05/21/#ubuntu-server.txt

sarnoldBabyGodzillaIV: that's annoying. please turn it off.01:04
BabyGodzillaIVok.01:04
sarnoldthanks01:04
=== BabyGodzillaIV is now known as frenocha_
=== frenocha_ is now known as BabyGodzillaIV
=== SPeedY is now known as SPeedYdr
cariboujamespage: btw, here is the MP for the nova-compute/nova-cloud-controller mods I did for authorized_keys/known_hosts :09:15
caribouhttps://code.launchpad.net/~louis-bouchard/charms/precise/nova-compute/lp1313602-multiline-known-hosts/+merge/21844009:15
caribouhttps://code.launchpad.net/~louis-bouchard/charms/precise/nova-cloud-controller/lp1313602-multiline-known-hosts/+merge/21844209:15
jamespagecaribou, I saw them in the queue09:16
jamespagethanks09:16
jamespagecaribou, comments on your MP's10:24
cariboujamespage: thanks for the MR review, will work on int10:24
jamespage(make lint && make test always :-))10:24
caribous/int/it10:24
cariboujamespage: yep, beginner's mistake, I always forget about the tests10:24
jamespagecaribou, its np :-)10:25
jamespagecaribou, I can't actually push until lint and tests pass :-)10:26
cariboujamespage: normal10:30
owhI've booted the 12.04.4 server amd64 image to install a server, which appears to have chosen a mirror which doesn't appear to be returning correct data. How do I change mirror, mid install?10:41
owhAlternatively, how do I restart the install and select a more appropriate mirror?10:43
dasjoeowh: I'd just reboot and select a better mirror10:45
owhdasjoe: I cannot select a mirror during the install, unless there is a way that I'm not aware of?10:45
owhLet me rephrase. I don't know how to select a mirror during install.10:47
dasjoeowh: I have no ISO right now, but iirc you should be able to select "Expert Mode" at the boot screen, alternatively append "debconf/priority=medium" to the boot parameters10:47
owhDoh, yes. That makes sense. Tah dasjoe.10:48
dasjoeOh, "priority=low" would be expert mode10:48
owhdasjoe: I understand your intent ;-)10:48
dasjoeowh: you can go back to non-expert mode after it asks you for which mirror it should use, the installer menu has an element like "set debconf priority"10:50
owhDuring a text install?10:51
owhs/text/automated text/10:51
owhdasjoe: Or are you thinking about the debian installer?10:52
dasjoeowh: I'm thinking about ubuntu's debian installer, the one that looks like this: https://4.bp.blogspot.com/-Cpt5BgXyR6U/UDyK8est5WI/AAAAAAAAJxs/tUyhQGXKKnw/s1600/ubuntu-alternate-cd.png10:53
owhAh, the alternate image, not the one I have here.10:54
owhMeanwhile this looks like it's worked. More patience seemed to deal with the incorrect mirror responses. Not sure why, but I learnt something. Much appreciated dasjoe10:55
dasjoeYou're welcome :)10:56
owhThose are the best, you get credit when you just turned up ;-)10:56
* owh just realised that the comment could be read as an insult. It wasn't!10:57
=== Lcawte|Away is now known as Lcawte
ChrisirhCCan't find this anywhere. Is there a way to get two seperate harddrives to be seen as one?11:40
jamespageChrisirhC, RAID-0 them11:42
jamespageChrisirhC, but do bear in mind one exploded disk == all data lost11:43
ChrisirhCHm. I'll keep that in mind jamespage. thx11:43
Abhijithi12:19
Abhijiti pointed my domainname to /var/www/html/mysite/wordpress but still from web browser it goes to /var/www/html only12:20
Abhijitthis is ubuntu 64 bit on aws12:20
Abhijiti created A records with public ip for my domain12:20
Abhijithow can i solve this issue?12:20
dasjoeAbhijit: edit /etc/apache2/sites-enabled/000-default12:28
Abhijitdasjoe, i already edited it. added virtual host entry where document root points to /var/www/html/mysite/wordpress12:29
Abhijitbut still my website opens at /var/www/html12:30
Abhijitin my domain name settings i created a record which uses public ip of this aws instance12:30
Abhijitdasjoe, i edited sites-enable and its reflecting in sites-available12:32
dasjoeAbhijit: did you reload apache's configuration or restart it?12:32
Abhijityes12:32
Abhijiti restarted apache12:32
Abhijitdont know how to reload configuration thought12:33
Abhijitdasjoe, if i start stop apache it work withougt any green ok message. but if i do restart it says red [fail]12:33
caribouDoes someone knows good reading references to python unit testing ?12:45
cfhowlettcaribou ask ##python12:46
cariboucfhowlett: good idea, I should start to hang around there12:46
cariboucfhowlett: thanks12:46
Piciits #python, btw12:47
jhenkeI am with a problem regarding apache2 mod_ssl and protocl version support, I am a Ubuntu Server 14.04 running, no matter what I enter as SSLProtocol in my apache site configuration, apache always ignores it and just allows TLSv1 connections, I am trying to allow TLSv1, TLSv1.1 and TLSv1.2, but the latter two are never provided12:49
jhenkeeven if you say "SSLProtocol TLSv1.2" only, the server just allows TLSv1 connections12:50
jhenkeI strictly followed the documentation of mod_sll here: http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslprotocol12:51
jhenkedoes anybody has an idea why it ignores the setting? apache does not output any warning12:51
lightairhi! could anyone tell where is mysqld runnable located?13:40
lightairnevermind13:41
tych0hi smoser, i am stumped here: http://paste.ubuntu.com/7497413/13:56
tych0what do i need to do to get gpg to look in the right directory?13:57
=== ValicekB_ is now known as ValicekB
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
rharpersmoser: is linux-image-extra-virtual supposed to be installed in the cloud-images?  I'm testing out utopic images and it's missing virtio-scsi module, which is packaged, but in the extra deb, which isn't in the cloud-image by default14:52
hallynzul: pls to check bug 1321365  while you package new libvirt kthx14:58
uvirtbotLaunchpad bug 1321365 in libvirt "virsh (ppc) fails with "missing /proc/device-tree/cpu "" [High,Triaged] https://launchpad.net/bugs/132136514:58
zulhallyn:  argh14:58
hallynzul: too late?14:59
hallynif so i'll just do it after release, that's fine14:59
zulhallyn:  nah :)14:59
hallynok14:59
hallynfeh.  i'm going to have to assign myself weekly (maybe bi-weekly) days for sru, maybe one per pkg.  sigh15:00
imdeaHi i have an ubuntu server 14.04 box that has a NIC with 4 ports. When I do 'ifconfig' I see: p4p1, p4p2, p4p3 and a fourth one called "rename5" that I suppose it's the other port, but why isn't it named like the other ones?15:09
ndfhi, is there any reason why my (13.10) login message/motd stuff sometimes does, sometimes doesnt, sometimes twice print out the canonical message and stuff unpredictably when I log in? is it something to do with the decision of whether to show system load details? and how is all this stuff controlled? It doesn't seem to have anything to do with motd... I want to remove it all and set my own motd/login scripts15:14
=== bob_kvm__ is now known as bob-libvirt
hallynjdstrand: thanks for the correction :)15:31
erictr1cki had nagios installed on an ubuntu 12.04 machine thorough the default ubuntu packages. now after removing nagios, i am getting the following apache error: "/etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/nagios3.conf: No such file or directory". i can start apache by simply creating a blank nagios3.conf file, but this doesnt seem like a proper fix. i cant find why or where apache is trying to acces that file.15:36
erictr1ckany help is appreciated15:36
smbrharper, It should be in the generic package, will fix it15:41
rharpersmb: ok, do you want a bug?15:41
smbrharper, since that is devel release I think its ok without15:42
smbI try to add those missing compared to T15:42
rharpersmb: awesome!15:42
rbasakndf: see the update-motd package. I guess you probably want to remove it.15:45
ndfoh nice, ty15:45
ndf=)15:45
rbasakerictr1ck: try something like: "grep -r nagios3 /etc/apache2" to see what files in there might mention it.15:46
rbasakerictr1ck: also: find /etc/apache2 -name \*nagios3\*15:46
rbasak(for any files that mention nagios3 in the name)15:46
ndfI guess I could just check out the scripts it sets up15:47
ndfthanks anyway =)15:47
rbasaknp. Hopefully that's enough to dig through the issue. If there's a bug, patches appreciated!15:47
rbasakupdate-motd - superceded by pam_motd in libpam-modules15:48
* rbasak wasn't aware of that.15:48
rbasak/etc/update-motd.d/ seems like the mechanism still though15:49
ndfyeah I just sused aptitude show to read the package details and it says it also uses /etc/profile.d15:49
ndf*used15:49
erictr1ckrbasak: i really dont know what happened. both commands returned nothing and apache was still looking for the nagios config file when starting. i removed the blank file i created, rebooted the machine, and now its fine :/15:56
erictr1ckrbasak: of course, the commands did return the blank config file if it was there15:56
kirklandrbasak: long, long ago16:07
vlad_starkovQuestion: I'm about to install Asterisk 1.9.0 on Ubuntu Server 14.04 64bit. When I try "sudo ./contrib/scripts/install_prereq install" it throws conflict warnings like "gir1.2-atk-1.0 : Conflicts: gir1.2-atk-1.0:i386 but 2.10.0-2ubuntu2 is to be installed." and so on. Anyone has successfully done that on 14.04?16:27
=== sz0 is now known as sz0`
=== sz0` is now known as sz0
[S^K]Hello, I have a python application that uses urllib2 to retreive a HTTP response from a remote server URI. If I use curl on the URI the response is quick as expected. However, urllib from my python script hangs for 60 seconds before completing. The script does not hang on my ubuntu development machine. What configurations could be causing this to happen?17:20
lordievader[S^K]: Resolver time out?17:54
[S^K]lordievader: What is that?17:56
lordievader[S^K]: cat /etc/resolv.conf17:57
lordievaderDns servers to translate a url into an ip adress.17:57
=== sz0 is now known as sz0`
=== sz0` is now known as sz0
=== sz0 is now known as sz0`
=== sz0` is now known as sz0
fridaynextanybody have suggestions for how to best cache my wordpress sites running on nginx + php5-fpm (without plugins)?19:10
zartooshhi we are using ubuntu 12.04.  We have installed ubuntu on two different partition, e.g.  /dev/sda1 and /dev/sda2. One partition is active all the time, i.e. /dev/sda1. In the field, If active partition is corrupted we have a PIC controller which will detect the failure and switch the boot partition to /dev/sda2. My question is how I can reinstall ubuntu on corrupted partition. This has to be automated, so it requires preseeding. I19:11
zartoosh was thinking of debbootstrap but it seems it does not support preseeding. Any help or suggestion greatly appreciated. thx19:11
fridaynextI'm already using APC, and it's not fast enough for me.19:11
TheJhonnyHey all,  will $usermod -a -G sudo username, give username sudo rights?19:12
vonsyd0wTheJhonny, looks right to me19:15
vonsyd0w-a appends and -G sudo will append sudo19:16
TheJhonnyI'm trying to add a user to list of sudoers.19:18
TheJhonnyIt's not happening.19:18
vonsyd0wwhat happens when you log in as the user and type "groups"19:18
vonsyd0wdo you see sudo?19:19
TheJhonnynope just the username19:19
vonsyd0wtry useradd -G sudo19:20
vonsyd0wtry useradd -G sudo "username"19:20
vonsyd0wyou may need to log in and out as well19:20
TheJhonnylet me try that.19:20
TheJhonnythat did it.19:21
TheJhonnylogging in and out.19:21
vonsyd0wnice19:21
TheJhonnyThanks vonsyd0w!19:21
vonsyd0wno problem19:22
TheJhonnynow I can use apt-get!19:23
vonsyd0wor aptitude :)19:24
=== sz0 is now known as sz0`
=== cyphermox_ is now known as cyphermox
dasjoezartoosh: I'd look at debootstrap + chroot + dpkg --set-selections19:35
bob-libvirthi all. could use some help. did a precise to trusty upgrade, everything seemed to go smoothly, but my existing qemu+kvm installation and VM don't work anymore.19:36
bob-libvirtwhen I do virsh -c qemu:///system, I get two errors19:36
bob-libvirterror: failed to connect to the hypervisor19:36
bob-libvirterror: no connection driver available for qemu:///system19:36
bob-libvirtgoogled lots, of course, but this only seems to happen to people who compile their own libvirt with the wrong config19:37
bob-libvirtI didn't compile a thing, just installed using apt-get. already tried a remove -> autoremove -> install again, but still no joy :(19:38
dasjoebob-libvirt: The message tells you "libvirtd is not running or I can't speak to it". Do you have the required packages installed?19:40
dasjoebob-libvirt: i.e. (at least) libvirt-bin and qemu-kvm19:40
bob-libvirtdasjoe: I have installed qemu-kvm, libvirt-bin, ubuntu-vm-builder and bridge-utils19:40
bob-libvirttried removing and intalling these packages again, too19:41
dasjoebob-libvirt: Anything suspicious in /var/log/libvirt/libvirtd.log?19:45
bob-libvirterrors and warnings19:47
bob-libvirterror : virExecWithHook:327 : Cannot find 'pm-is-supported' in path: No such file or directory19:48
bob-libvirtwarning : qemuCapsInit:856 : Failed to get host power management capabilities19:48
bob-libvirterror : virExecWithHook:327 : Cannot find 'pm-is-supported' in path: No such file or directory19:48
bob-libvirtwarning : lxcCapsInit:77 : Failed to get host power management capabilities19:48
bob-libvirterror : virExecWithHook:327 : Cannot find 'pm-is-supported' in path: No such file or directory19:48
bob-libvirtwarning : umlCapsInit:87 : Failed to get host power management capabilities19:48
bob-libvirtinfo : libvirt version: 0.9.819:48
bob-libvirterror : qemuMonitorIO:603 : internal error End of file from monitor19:48
vonsyd0wuse paste bin!19:48
bob-libvirtsorry19:48
bob-libvirtnew at this19:48
=== sz0` is now known as sz0
vonsyd0wno worries, are we sure libvirt is running?19:48
vonsyd0wthe service?19:48
bob-libvirtdid a ps aux | grep libvirtd19:49
bob-libvirtroot      1863  0.0  0.1 612912  9696 ?        Sl   May20   0:00 /usr/sbin/libvirtd -d19:49
bob-libvirt^ that's a yes I think?19:49
vonsyd0wlooks right19:50
vonsyd0wthats what it is on my kvm host19:50
vonsyd0wyour user is still a member of libvirtd as well?19:52
bob-libvirtyeah, kvm too19:53
vonsyd0wim just throwing stuff out there, im not entirely sure what the issue is. What about the kvm module, is that loaded?19:55
bob-libvirthow do I check?19:55
vonsyd0wlsmod | grep kvm19:55
bob-libvirtkvm_intel             143060  019:56
bob-libvirtkvm                   451511  1 kvm_intel19:56
vonsyd0wthats correct as well19:56
bob-libvirtweird, right?19:57
vonsyd0wyea, did you backup before upgrading? :) i hope it wasn't production. You get the same error when you just type "virsh"?19:58
bob-libvirtdidn't backup, data's on another disk and it isn't production, just my personal 'learn Linux'-server :)19:59
bob-libvirtI'll nuke and start over if necessary, just don't get what's going wrong here20:00
bob-libvirtvirsh gives a 'Welcome to virsh...' text20:00
vonsyd0wwhen i type virsh and "virsh -c qemu:///system" i get the same thing20:01
vonsyd0wthe welcome text20:01
vonsyd0wat the virsh prompt, type list and see if you see your domains (VMs)20:02
bob-libvirtok, so if virsh -c qemu:///system doesn't work, but virsh does, what could that mean?20:02
bob-libvirterror: failed to connect to the hypervisor20:03
bob-libvirterror: no valid connection20:03
bob-libvirterror: no connection driver available for qemu:///system20:03
bob-libvirterror: Failed to reconnect to the hypervisor20:03
vonsyd0wthats what you get when you type list?20:03
bob-libvirtyeah20:03
bob-libvirtat virsh# prompt20:03
vonsyd0whmm, im not sure. you mind sharing your libvirtd.log file? maybe the last 50-100 lines?20:08
vonsyd0wif you have pastebinit installed, you can type tail -n 50 $LOGFILE | pastebinit20:08
vonsyd0wit'll spit out a pastebin url to share with us20:08
vonsyd0wyou can also try the libvirt channel: http://libvirt.org/contact.html#irc20:09
vonsyd0wThey'll be able to answer your question alot faster than me. I'm just a curious helper20:09
bob-libvirthttp://paste.ubuntu.com/7498881/20:10
vonsyd0wyea, i'm at a loss, i dont know enough about libvirtd to be too helpful. give #virt channel a try20:17
vonsyd0wthose failed to load module look like the root of the issue20:18
bob-libvirtok, thanks for taking a look20:20
bob-libvirtI'll ask the libvirt guys/gals20:20
qhartmanI had an "aptitude install" of openjdk-6 get interrupted, and I'd like to be sure that it, and all it's dependencies are installed correctly.21:12
qhartmanIs there an additional flag I can pass to the reinstall option to do all the deps too?21:12
qhartmanIf not, is there another tool that can achieve this?21:12
rberg_'apt-get -f install' should fix any broken deps I would think21:14
qhartmanrberg_, cool, I'll give that a shot, thx21:15
zartooshdasjoe; thanks for response could this be scripted ? thx21:54
=== swebb is now known as zz_swebb
xperiaHi All. I have a small Problem with Apache Proxying Website request and data to NodeJS listening on Port 8081. This is my Apache Config file here. http://pastebin.com/FVFc3QhH22:23
xperiaI am able to see the NodeJS website when i call it with the Browser however if i want to login and do a second Request Apache just hangs.22:23
xperiaCan anybody tell me what is needed to fix my Apache Config so i am able to show NodeJS website running on different ports whenever a User call the Website Domain over port 80 without any problem?22:23
=== fhd_ is now known as fhd
=== hachre_ is now known as hachre
=== jeremy_carroll__ is now known as jeremy_carroll_
=== baggar11_ is now known as baggar11
ahmadgbgHi, im going to buy 4x4TB hard drives for storage. My question is, should i buy a raid controller for raid 6 or should i use software raid?23:43
Seveasraid controller with battery-backed write cache23:45
sarnoldahmadgbg: i'd prefer software, whether you use mdadm or zfs (an out-of-tree module) or btrfs (still called experimental by the authors)23:46
ahmadgbgsarnold, i have heard of zfs, will it do the job?23:48
ahmadgbgi will save like $600-70023:48
sarnoldahmadgbg: many people use zfs on linux happily; though I'd strongly recommend reading everything about it before using it, some common and easy mistakes may mean "buy more hard drives"  :)23:51
sarnoldahmadgbg: using zfs for your root filesystem still looks pretty complicated on linux, I wouldn't do that.23:51
sarnold(people do, but it's complicated.)23:51
ahmadgbgsarnold, im planing using a ssd for linux and then raid 4x4TB for storage. I may use a hard drive for raid 1 on the ssd. Will this work to use differend raid on differend hdd23:53

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