/srv/irclogs.ubuntu.com/2015/04/08/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
=== mgagne is now known as Guest39926
=== cripperz is now known as CripperZ
=== zz_DenBeiren is now known as DenBeiren
=== kickinz1|afk is now known as kickinz1
=== CripperZ is now known as CripperZ`
MouzzIs there a way to specify a preferred dns server which is always used/tried first? I use one internal dns server (which resolves local names and redirects other requests to a public dns) and a public dns for when the nternal one is unreachable. The problem now is that Ubuntu seems to be switching to the second (public) dns I have entered in NM...07:56
=== Lcawte|Away is now known as Lcawte
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
=== DenBeiren is now known as zz_DenBeiren
=== ashleyd is now known as ashd
coreycbPhibs, icehouse is in main for 14.04, so it's not in the cloud archive11:35
coreycbPhibs, icehoues is in the cloud archive for 12.04 though11:36
arcskyi did apt-get update && upgrade, i have still OpenSSL 1.0.1f  which are vulnerable11:47
rbasakarcsky: distributions backport security patches. To verify if a particular vulnerability is fixed, you need to examine the package version number.11:53
arcskyrbasak: for example i have bash 4.3. and found this: http://www.cvedetails.com/cve-details.php?t=1&cve_id=+CVE-2014-716911:56
arcskydo i have to dig deeper?11:56
rbasakarcsky: go to http://people.canonical.com/~ubuntu-security/cve/11:57
rbasakarcsky: enter the CVE11:57
rbasakarcsky: that will show you the status in Ubuntu. If fixes have been released, you will see the corresponding package version numbers. Then check that you have at least those package versions installed.11:57
rbasakarcsky: or, just make sure that you have the security repositories in your sources.list and that you keep up to date.11:57
arcskyrbasak: nice thanks for that url!11:58
Patrickdkyou should have something like, 1.0.1f-1ubuntu2.11 that is not vaunerable, not 1.0.1f11:59
=== zz_DenBeiren is now known as DenBeiren
arcsky 1.0.1f-1ubuntu2.11 i have te12:02
arcskyye*12:02
arcskyThe requested URL /~ubuntu-security/cve/pkg/1.0.1f-1ubuntu2.11.html was not found on this server.12:02
=== DenBeiren is now known as zz_DenBeiren
YamakasYanyone running a newer version of php on 14.04 ?13:12
YamakasYstandard is 5.5.913:13
BlackDexYamakasY: Running php 5.6.7-1 currently using https://launchpad.net/~ondrej13:21
YamakasYBlackDex: works OK ?13:28
BlackDexYamakasY: Yea works nice, no problems with it.13:28
BlackDexI have it combined with nginx and fpm13:29
YamakasYBlackDex: mhh my ubuntu apt-get upgrade doesn't see them13:29
BlackDexhave you added it with add-apt-repository ?13:29
BlackDexand then did a apt-get update?13:30
YamakasYyes13:30
BlackDexStrange. With my server it whas just as simple as that13:30
YamakasYmight be a puppet issue13:31
BlackDexAh!. LoL that could be. That puppet fixed versioned them13:31
BlackDexYamakasY: check it with something like this apt-cache policy php513:41
YamakasYBlackDex: yap might be indeed13:50
YamakasYBlackDex: can I change that ?13:51
BlackDexYamakasY: The best way to change that is to change the puppet config13:53
BlackDexAnd even let puppet add the other repo so that it will be correctly configured when puppefied again13:54
YamakasYBlackDex: I know, but this is just a wrapup test14:02
BlackDexAh! then just do this. `apt-get install php5=5.6.7+dfsg-1+deb.sury.org~trusty+114:05
BlackDexThat will overrule the pin14:05
BlackDexTo check for which versions you can install do: `apt-cache madison php5`14:07
YamakasYheh, puppet makes my life too easy14:08
YamakasYdoesn't override14:09
YamakasYit says it installs php5 but it doesn't14:09
Bluekinggot access gateway replaced. today. Got home today after work   it seems  ip address on linux box connected to access gateway wasn't updated, and needed to do service networking restart to force pc/ubuntu to update eth0 (interface connected to access gateway)   not sure if it's hardware(mobo) or ubuntu that doesn't update itself auto ? what to check out  whats not working properly ?14:28
lordievaderBlueking: Does it do DHCP? Long lease time out?14:30
Bluekingeth0 should get ip from access gateway (ISP' property), dhcpd runs on eth114:30
=== leTali is now known as Talyian
Bluekinglordievader14:31
lordievaderCan still be a long lease time.14:33
Bluekinglong lease time given by access gateway or lordievader ?14:33
lordievaderIf that is the one who gives out the leases, yes. Could be a reason. I'm not saying that is the reason. Just a suggestion.14:34
Bluekingwhat should I do about lease time when I am using linux box as router ?14:34
Bluekinglordievader  aren't there any sense function on ethernet interfaces ?14:36
lordievaderBlueking: As long as they are connected they don't care.14:37
lordievaderIf that means you have a correct ip or not, they don't know.14:37
Bluekinglordievader  got new access gateway today,  the new ip wasn't replaced before I logged on linux and 'service networking restart'14:38
YamakasYmhh I need to override this pinning14:39
Bluekinglordievader  linux box had been online for 16 months  without any issues/problems, but last 2 weeks  net hes dropped out 1-2 times a day14:40
YamakasYBlueking: that means you need to buy a new one :P14:42
Bluekingbuy new what ?14:42
BluekingYamakasY ?14:43
YamakasYserver :)14:43
Bluekingnaw   supermicro mobo with xeon cpu and ecc ram shouldn't die that fast  not even 2 year old14:44
BluekingYamakasY14:44
lordievaderBlueking: Investigate why the network connection is dropping out ;)14:45
BluekingI suspected it was old access gateway that was reason14:47
BluekingI'll check if there are any bios updates to mobo14:48
lordievaderRandomly updating the bios isn't proper trouble shooting.14:48
lordievaderInvestigate why the network connection is going down. Check logs. Run tests. Try the reproduce the problem.14:49
SuperMXhello! is someone interested in hearing about a strange phenomen?15:15
SuperMXi have an ubuntu server 14.04 and when i turn it off the next day it won't boot (only dots on the screen, grub doesn't open up)15:16
SuperMXthen in the morning when i use a live cd with fsck and then reboot the server it works again until i reboot it again.... this happens now everytime15:17
hamdi_1984@SuperMX is it a virtual machine ? what fs type ?15:17
SuperMXno its an old acer computer from my uncle... windows xp used to run on there. so there is the bootable fat32 partition and then the linux fs with ext15:19
hamdi_1984ext 2 3 or 415:20
SuperMXi am quite sure its ext315:20
SuperMXmaybe i am doing something wrong with the shutdown15:21
hamdi_1984well why don't try to check and repair ur partitions ?15:21
hamdi_1984u can use gparted for that15:21
SuperMXi always used fsck, should i try with gpart?15:21
hamdi_1984yeah definitely I prefer gparted15:22
SuperMXi thought that fsck repairs the fs as well15:22
SuperMXah ok, i will try that15:22
SuperMXthank you :))15:22
hamdi_1984gparted is easier and will show u useful info about what's wrong with ur partitions15:22
hamdi_1984then may be u need to reinstall grub15:22
SuperMXhmmm ok15:23
SuperMXso it will be definitly the fs15:23
hamdi_1984I think so15:24
SuperMXbecause when grub doesn't start it has nothing to do with ubuntu15:24
hamdi_1984true15:24
hamdi_1984do u have ur data backed up ?15:24
SuperMXa website is running on it, but this partition seems to be ok15:25
SuperMXbut, yes i should back it up :)15:25
SuperMXthank you for your response and sorry if i wasn't technically exact15:27
lordievaderGparted probably calls fsck, so using fsck is fine.15:27
lordievaderPerhaps it is a good idea to check smart data.15:28
smbhallyn, zul, anyone having a pending upload to vivid qemu in the works? if not I would soonish push a small one15:51
zulsmb:  i dont15:52
hallynme neither15:52
smbok. ta15:53
=== markthomas|away is now known as markthomas
=== Guest39926 is now known as mgagne
=== bladernr` is now known as bladernr_
lucidguyRaid Question.  Can you assemble a raid 60 with uneven amount of drives, for example 11?18:51
bekksNo.18:52
bekksErm on moment - uneven drive count, and RAID6?18:53
bekksAre you testing on how to horribly slow down a system? :)18:53
lucidguyI have a 12 disk system, need as much storage as possible with a good amount of stability.18:54
bekksWhich drives?18:54
lucidguy6tbSATA18:54
bekksDo you have a RAID controller?18:55
ObrienDavefreeNAS ;P18:55
sarnoldlucidguy: sounds like a problem tailor made for zfs, using one 11-disk raidz3 vdev18:55
bekksYeah.18:55
lucidguybekks, yes PERC H730P18:55
lucidguyRaid05 supports uneven amount of drives?18:56
jrwrenI'd start with workload. e.g. running RDBMS or other? make sure IO needs are met, and if they are, then go full raid6... or... PERC... then use built in PERC raid5 :)18:56
lucidguyraid5018:56
bekksUneven drive counts dont make sense for striping.18:56
lucidguydont make sense? but you can raid 5 on three disks.18:57
bekksYeah. So double that count.18:57
lucidguyGotcha: So raid5 and raid6 can support uneven drive counts, but not 50 or 6018:58
lucidguyMakes sense18:58
lucidguySo I could go a full 12 disk raid 60, gives me 4 disk fault insurance, over raid6 2 disks.18:59
bekksUSe two hotspares and a single RAID6.19:00
lucidguyWhy does this site/app allow me to setup 11 disk raid60.. should error/note.. https://www.icc-usa.com/raid-calculator/19:01
bekksAsk that site? :)19:01
bekksEven if it is possible, it doesnt make any sense.19:02
lucidguySo its just silly, and misleading right?19:02
bekksCorrect.19:02
bekksRAID calculators calculate things, they do not tell you "that looks good" or "thats quite stupid".19:03
sarnoldzfs would let you do that with two vdevs, 5disk raidz2 and 6 disk raidz2, but the tools would ask you for comfirmation before creating it, since it would be unbalanced; writes would prefer the six-disk raidz2 vdev first, since it has more free space19:03
sarnoldbut if you could get twelve disks and do two raidz2 vdevs of six disks each you'd see more even writes and thus better available iops..19:04
lucidguysarnold, I have a decent raid controller, no zfs required.19:04
bekksZFS is not a replacement for a RAID controller.19:04
lucidguyI know, but ideal for when you don't have one.19:05
rbergare you talking about formatting a hardware raid array with zfs?19:05
sarnoldlucidguy: most raid controllers won't do compression or checksumming..19:05
bekksOr deduplication.19:05
lucidguyzfs is great when you have a whole lot of disks.19:06
lucidguyno?19:06
bekksWhich you have.19:06
lucidguy12 is not alot19:06
bekksDepends on the point of view.19:06
rbergzfs does like to control the entire stack.. so HW raid isnt a great choice unless its the only choice :)19:07
lucidguyThis is a 12 disk NFS server.. raid controller over not with zfs makes more sense19:08
rbergsome people with hardware raid cards (without jbod support) set each disk as a 1 disk raid 0 and then make the zraid with those19:09
sarnoldyeah if you were to go zfs you'd want to stick your  raid controller in hba mode..19:09
lucidguyThen why bother with a raid controller?19:10
rbergexactly19:10
sarnoldyes :)19:10
lucidguyWith my setup/needs you should get better results with a raid controller over zfs19:11
bekksBecause you believe in that or because you actually tested it?19:11
lucidguyI believe in that.  ZFS has an overhead on the CPU.  zfs performs well with fast flash/ssd memory for log/cache.19:13
bekksBelief is a good sign for religion, but absoluty useless when it comes to technology.19:15
lucidguyIS my statement not a fact?19:15
bekksYou stated technical facts that do not imply that your RAID controller is faster, actually.19:16
sarnoldyou may see better performance on some benchmarks using xfs on hardware raid than using zfs on an HBA.. but you'd lose the compression, checksumming, snapshots, etc. it's all tradeoffs.19:16
lucidguysarnold, I agree with that.  We will be using XFS also.19:17
rbergwith a hardware raid card I would do hardware raid.. with a hba I would probably do md raid.. I had issues with the zfs module building reliably in the past19:17
lucidguyI have an x4500 thumper running ubuntu with ZFS.19:18
sarnoldlucidguy: ooooooo19:18
sarnoldthose are impressive machines even today, hehe :)19:18
lucidguyIt was quite the ZFS learning experience for me.19:19
lucidguyMy 8 year old 60 disk jbod server lost all of its storage a few days ago due to a simultaneous dual disk failure.  Hence my interest in going raid6 or 60.  Im interested in 60 due to the increased speed and better performance.19:20
bekksSo you lost more than two disks on one side of the RAID60?19:22
lucidguynot this was a raid50 system19:22
patdk-wkmaybe you should ask mdadm?19:22
=== katherine is now known as katherine_temp
rbergin the case you are still ok because the other raid 5 still has all the data right?19:24
rbergI dont have much exp with nested raid levels19:25
lucidguyrberg, nope because one of the single spans lost two disks.19:25
rbergohh no.. I think I played out a 05 setup in my head..19:26
bekkslucidguy: So you used 50 setup consisting of two 30-disk parts?19:27
lucidguyone raid 50 was 28 disks by 4 spans of 719:28
jrwrenall DAS or was it iscsi/fc?19:28
lucidguydirect19:29
=== katherine_temp is now known as katherine
lucidguyI think ive decided.  11 disks total, 10 for raid60 and the 11th a hot spare19:31
patdk-wkwhy the switch from zfs to raid though?19:33
lucidguyThere is no switch, just getting a box with raid.19:33
patdk-wkwhat kind of usage will it be having on it?19:34
lucidguyone large xfs volume exported via NFS.  About 30+ hpc workstations will be using it for storing large images etc.  The build is restricted to a budget of around $15k19:35
patdk-wklarge images?19:36
patdk-wkseq accesses? random accesses?19:36
patdk-wkmainly reads? or writes?19:36
lucidguya mix19:36
lucidguymainly sequential19:37
lucidguylarge images as in MRI scans of brains etc.19:37
patdk-wkso really reads19:38
patdk-wkas writes would be limited to the speed and quanity of scanning machines19:38
patdk-wkyou could probably go much larger than 11 disks per set19:38
patdk-wkas long as you feel you have enough parity disks to handle failures19:39
patdk-wkbut you had two disk failures19:39
patdk-wkif raid6 has two disk failures, you will no longer know if your data is accurate anymore, or got corrupted19:39
=== markthomas is now known as markthomas|away
jrwreni'm lazy. I'd do 11 drives, one raid6, 1 hot spare. :p19:44
patdk-wkmake sure you do daily scrubs19:45
patdk-wkand setup email alerts19:46
katcoany app armor experts around?20:03
patdk-wkdepends20:04
patdk-wk!ask20:04
patdk-wkbot be broken20:04
katcohehe20:04
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience20:04
katcoi have a log with what appears to be an issue with app armor+lxc, but i'm afraid i don't know what i'm looking at: https://bugs.launchpad.net/juju-core/+bug/144131920:04
katcolog: https://bugs.launchpad.net/juju-core/+bug/1441319/+attachment/4369706/+files/container.log.gz20:05
katco"      lxc-start 1426805367.662 ERROR    lxc_apparmor - lsm/apparmor.c:apparmor_process_label_set:183 - No such file or directory - failed to change apparmor profile to lxc-container-default"20:05
katcoit's not the first error, but it's the one that sticks out to me20:05
=== CiPi is now known as cipi
sarnoldkatco: if you think apparmor is involved, please also attach a gren DEN /var/log/syslog or /var/log/audit/audit.log (If you're using auditd)20:36
katcosarnold: this is a ci server, i'll have to see if i can get those. i was hoping for an opinion to point me in the right direction before spiking too far in one direction.20:37
=== markthomas|away is now known as markthomas
=== rylinaux is now known as rcx
=== rcx is now known as rylinaux
=== bilde2910 is now known as bilde2910|away
=== cipi is now known as CiPi
=== kickinz1 is now known as kickinz1|afk
=== Lcawte is now known as Lcawte|Away

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