/srv/irclogs.ubuntu.com/2015/09/16/#ubuntu-server.txt

=== WiuEmPe is now known as Guest88415
=== IdleOne is now known as Guest18511
=== markthomas_ is now known as markthomas
=== DavidDuffey is now known as dduffey
=== huttan_ is now known as huttan
=== Metacity|uh-oh is now known as Metacity
=== daker_ is now known as daker
=== jeremy_carroll_ is now known as jeremy_carroll
=== slangase` is now known as slangasek
=== markthomas is now known as markthomas|away
=== rcj` is now known as rcj
=== TJ- is now known as Guest8103
=== TJ_Remix is now known as TJ-
=== cipi is now known as CiPi
=== G_ is now known as G
=== Guest88415 is now known as wmp
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
rbasaksmb: http://dpdk.org/ml/archives/dev/2015-September/023183.html08:32
=== Lcawte|Away is now known as Lcawte
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
megagigawattHi there, I was wondering if anyone could help me with a samba/acl issue i am having please, I have made a post on the forums here http://ubuntuforums.org/showthread.php?t=2294351 which is probably easier to understand than me trying to type it out here, thanks in advance13:24
funkenstrahlenHey, I need some help setting up unattended upgrades on my ubuntu server. I installed and configured it, but it does not get run automatically somehow...13:45
funkenstrahlenI used this infopage to set it up https://help.ubuntu.com/community/AutomaticSecurityUpdates13:45
tewardfunkenstrahlen: what makes you say it's not run?13:45
funkenstrahlenteward: I checked back after 14 days. could not find any logs in /var/log/unattended-upgrades. Then I ran apt-get upgrade manually. some updates where found. so I ran unattended upgrades manually and a log was created.13:48
funkenstrahlenteward: So this is evidence for me it did not run at all13:48
funkenstrahlenmy apt.conf.d looks like this: https://gist.github.com/funkenstrahlen/2153d78dc2a786bb9c4d13:49
funkenstrahlenso periodica intervald of each day is set13:49
funkenstrahlenI *think* I might now the problem, but do not know enough about how unattended upgrades work13:50
funkenstrahlenI found a script in /etc/cron.daily/apt.disabled13:50
tewardfunkenstrahlen: OS?13:51
funkenstrahlenI assume that by default this apt script runs the unattended upgrades?13:51
tewardor rather the version13:51
funkenstrahlenteward: ubuntu server 14.04 lts13:51
funkenstrahlenI thought maybe the *.disabled blocks it from getting run?13:52
funkenstrahlenbut why is it .disabled? there is no word of that in any tutorials13:52
funkenstrahlenand because it works fine when I run unattended upgrades manually, I do not think there is a config file error. Its just not getting called at all13:53
prudentmavany thoughts on the use of serverpilot? If any of you use it13:53
funkenstrahlenteward: still there? any idea?13:59
dftprudentmav: never used it but it looks interesting.14:00
thebwtfunkenstrahlen: unattended upgrades doesn't just run apt-get upgrade on a cron14:01
prudentmavdft I used it on a development environment and it did save a lot of time but just hesitant to use in a production environment14:02
thebwtit picks specific package types14:02
funkenstrahlenthebwt: yes I know. still I would like to know why my unattednded upgrades does not get run daily14:04
dftprudentmav: I hear you.  If serverpilot goes away, what will take to unplug your VPS's from it and take manual control of your wp sites14:05
prudentmavyeah that is the big unanswered question for me14:05
dftI think I would rather14:06
dftack14:06
dfttyping spasm14:07
dftrather use aws and bootstrapping if I was in the business of building wp sites for all sorts of clients.14:07
dftI think I would rather roll my own wp/vps builder using AWS's api.14:10
prudentmavI use digitalocean and just tired of sysadmin tasks... I'd rather stick to app and front end dev work14:14
siebjee-Hi Guys, I'm running ubuntu server 15.10 with 4.1.0.3-generic kernel. And updated to 4.2.0-7generic. But it has not been live updated. I thought this was new in 4.0 kernel ? Any info on this ?14:39
jpdssiebjee-: I imagine the tooling with apt isn't yet in place14:39
siebjee-jpds: is there a way to force this anyway ?14:39
siebjee-I'd realy like to see this happening! *_*14:40
jpds(Also, I don't think it's a good idea to run a non-LTS release on a server)14:40
siebjee-Its my private server, so don't really care about LTS on there or not :)14:40
siebjee-On production servers i would care about LTS14:40
Seveassiebjee-: there is no such thing as live kernel updates.14:40
siebjee-On arch it is possible to update the kernel without down-time14:41
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
revolveis there any way of getting dlm-pcmk on 12.04?14:53
rbasakfrediz: from #ubuntu-devel:14:55
rbasak15:54 <stgraber> rbasak: I'm happy with ginger, for kimchi, you're missing a debian/copyright entry for  ui/pages/help/gen-index.py which is LGPLv2.1+ and not Apache2 as debian/copyright declares14:55
jpdsrbasak: https://launchpad.net/ubuntu/precise/amd64/dlm-pcmk14:56
rbasakjpds: ?14:57
jpdsrbasak: Err, that was for revolve.14:57
rbasaknp14:57
revolvejpds: right, I'm on trusty though14:58
revolvecan I get those sources?14:58
jpdsrevolve: You said 12.0414:59
revolveright14:59
revolveah 14.04 sorry14:59
=== notafadss is now known as notafads
=== Luke__ is now known as Luke
=== markthomas|away is now known as markthomas
RevertToTypeso... it's definitely something related to the dhcp lease...18:32
RevertToTypeseems client side not server side18:32
RevertToTypeafter about 30 minutes it drops.... running dhclient in terminal kicks it back in (don't even need to release the old lease...)18:32
RevertToTypeusing dhcpcd as the daemon didn't resolve it... dhclient is back on but no clue why it keeps dropping18:33
Slugs_would you recommend hardware or software RAID?18:37
=== moonligh- is now known as moonlight
RoyKSlugs_: I'd recommend sw raid18:43
RoyKSlugs_: but it all depends the use of it18:43
Slugs_yeah alot of people are recommending sw18:43
RoyKSlugs_: hwraid can be fine on the boot medium, since it outrules problems with boot sectors18:44
tonyyarussoI usually go for SW too, so I don't have to worry about finding a matching controller if it dies.18:44
RoyKSlugs_: sw raid (or zfs if you're doing the planning well) is what I'd recommend for data18:44
Slugs_RoyK: zfs not ext4?18:45
RoyK!zfs18:45
ubottuFor information concerning ZFS and Ubuntu, see: https://wiki.ubuntu.com/ZFS18:45
RoyKSlugs_: zfs is something like mdadm+lvm+checksumming18:45
Slugs_wow18:45
RoyKSlugs_: it's very secure, checksumming all over, but it's not very flexible18:45
RoyKSlugs_: I'm using zfs in production, also on my home server, but I'm planning to go back to mdadm, for various reasons18:46
Slugs_i see18:47
RoyKSlugs_: if you have a machine with ECC RAM and you don't want to add new disks to the raidset, use ZFS - otherwise, I'd suggest mdadm raid18:47
Slugs_well I’m trying to simplly setup 4, 4TB drives in a RAID0 config for performance18:47
jellyhow do you even put "4TB drives" and "performance" into the same sentence18:48
RoyKSlugs_: just don't do that18:48
jellyare there 15krpm 4TB drives now?18:49
RoyKSlugs_: what sort of performance? iops or sequencial?18:49
RoyKjelly: no18:49
jrwrenno btrfs love?18:49
Slugs_oh i see, the drives are too big for ‘performance’ im assuming your all saying18:50
RoyKSlugs_: a single 4TB drive can do something like 200MB/s sequencially, far less with seeks, very far less18:50
RoyKSlugs_: it all depends on how you look at performance18:50
Slugs_im trying to write about 80 mbps18:50
Slugs_constantly18:50
RoyKSlugs_: 4TB drives spin at 7200rpm, meaning they may do 120iops18:50
patdk-wkheh, that is a lot of iops for 7.2k rpm18:51
RoyKSlugs_: a single drive can do that - a raid5 with four drives can certainly do that unless the CPU is something 10+ years old18:51
RoyKpatdk-wk: 'may' do - usually around 8018:51
Slugs_i thoguht raid0 was better then raid5 since its only stipped18:52
RoyKSlugs_: striped, not stripped18:52
Slugs_sorry yes18:52
RoyKSlugs_: raid5 on 3 drives has about the same speed as raid0 on 4 drives18:52
RoyKSlugs_: for reads18:52
RoyKSlugs_: a wee bit less for writes18:53
Slugs_i need writes more then reads in this setup18:53
Kalimer0my server hangs during the restart via cron . it fails to shutdown syslog-ng . any ideas?18:53
RoyKSlugs_: and you'll be a sorry bastard if using raid0 with your data and a drive fucks up, and it will, beleive me on that18:53
RoyKSlugs_: is the data important?18:53
ikoniaRoyK: come on with the language !18:53
Slugs_RoyK: understood18:53
RoyKSlugs_: if the data isn't important, use raid018:54
RoyKSlugs_: if you need massive writes and the data is important, use raid1+018:54
patdk-wkyou mean, if uptime isn't important18:54
RoyKpatdk-wk: or data18:54
patdk-wkwhy? backups cover important data, not raid18:54
patdk-wkraid covers uptime18:55
ikoniadesign to your requirements18:55
RoyKpatdk-wk: well, if you have a truckload of writing, backups won't be enough to get the important data if a drive is lost 23 hours after last backup in a raid0 setup18:55
Slugs_so just to be clear raid 1+0 is good of data *is* important as well18:55
Slugs_*if*18:56
Slugs_s/of/if18:56
patdk-wkthat is a backup failure then, backup every 5min, I do18:56
RoyKSlugs_: with 1+0 you'll get the best of both worlds, good iops and good sequencial i/o, but you'll have to get a lot of drives18:56
Slugs_4 not enough/18:57
Slugs_?18:57
patdk-wksome servers I even have on continuous backup, once it's done, it starts again.18:57
RoyKSlugs_: what are your requirements? what sort of backup do you use? etc?18:58
patdk-wkraid6 is generally better than raid10 with limited disks18:58
patdk-wkbut it does have iop issues18:58
RoyKSlugs_: are you on 10Gbps or just gigabit?18:58
patdk-wkbut better for protection18:58
RoyKpatdk-wk: obviously true18:58
Slugs_RoyK: I don’t care about backing it up, im using 1 gb (network)18:58
patdk-wkraid10 has the issue if one disk breaks, you depending on the other disk to be fine, normally this is the case, and not an issue18:58
RoyKSlugs_: what sort of i/o is this? are you just dumping data to this?18:59
Slugs_yes im wriring multicast video to disk18:59
Slugs_80 mpbs19:00
RoyKthen use raid[56]19:00
RoyKit's good for sequencial stuff19:00
RoyK80Mbps is rather a lot19:00
RoyKuse mdraid with a large chunk size and use raid-5 or better raid-619:00
Slugs_the bottleneck would be my drives?19:00
Slugs_7200 rpm19:01
RoyKwith a large chunk size, the drives should do 100MB/s each19:01
RoyKor more19:01
Slugs_and i can configure this with mdraid?19:01
RoyKman mdadm ;)19:01
Slugs_ok19:01
Slugs_RoyK: Thank you for the advice19:02
RoyKSlugs_: what is this - cctv stuff?19:02
Slugs_and guidance19:02
Slugs_no, NPVR19:02
Slugs_network PVR19:02
Slugs_for off-air channels19:02
Slugs_recording live tv19:03
RoyKsame thing, really19:03
Slugs_sure, just thought you wanted to know ;)19:03
RoyKSlugs_: just use a large chunk size on that raid19:03
Slugs_ok19:03
RoyKSlugs_: and use at least raid-519:03
Slugs_ok19:03
Slugs_Thank you again19:03
RoyKSlugs_: your boss will hate you if the raid goes down and the data is lost19:04
Slugs_well i already hate him, so we will be even19:04
RoyKSlugs_: also, better use a lot of spindles rather than a few large ones19:04
Slugs_yeah, more drives the better19:04
RoyKSlugs_: the most important is the chunk size - 1MB minimum19:04
Slugs_it might even make sense to add more smaller capacity drives19:04
Slugs_ok19:05
jrwrenhow many video streams are you going to record at once?19:05
RoyK4MB or 8MB may be practical19:05
Slugs_im recording 40, 3.5 Mbps streams at once19:06
jrwrenwow! cool. good luck :)19:06
RoyKSlugs_: and monitor CPU use - it will be used for parity calculation - it should be pretty fast, but at the rate you're mentioning you may need a good CPU (or four)19:06
sarnold160 Mbps? not 160MBps?19:07
RoyKSlugs_: sar/sysstat may be a good friend for long time monitoring, so may munin be19:07
Slugs_4 core, Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz19:07
RoyKsarnold: 160MBps won't work too well over gigabit ;)19:07
sarnoldRoyK: true :)19:08
RoyKSlugs_: should do well19:09
RoyKSlugs_: what is the current cpu usage over the last hour?19:09
Slugs_im not recording anything...19:09
mtl11Hi. I'm trying to figure out an issue with unmodified cloud images. If I download and launch a 14.04 cloud image on openstack, when I try to update the kernel or otherwise run update-grub it hangs trying to "modprobe btrfs".  Anyone have any idea why it might be doing that?19:10
RoyKSlugs_: then install sysstat, enable it, install munin-node and perhaps munin if you don't have a munin installation somewhere and make nice graphs to see how it's behaving19:10
Slugs_awesome thank you19:10
RoyKSlugs_: there are several other monitoring systems available, but munin is easy to install, so I'd recommend it if you don't have any experience in monitoring19:11
Slugs_i don’t so thank you19:11
Slugs_the more i learn the more i realize i don’t know19:12
RoyKSlugs_: touché19:12
RoyKSlugs_: that's philosophy ;)19:12
Slugs_RoyK: Yes ;)19:12
=== rbanffy_ is now known as rbanffy
RevertToTypeso still thirty minutes even after changing dhclient.conf to send dhcp-lease-time 600;19:16
RoyKrbanffy_: did you restart dhclient?19:20
RevertToTyperestarting it works but i need it to do that automatically19:21
RevertToTypelike i shouldn't even have to do that19:21
sarnoldRevertToType: copy aside your dhclient systemd thingy, apt-get purge dhclient, and try out dhcpcd instead. This has just been too much hassle...19:22
boshheadHello, I'm trying to install ubuntu 15.04 server, I have also tried 15.10 server and the system gets stuck after "boot-efi.mount". I've typed up the messages I get on bootup: http://paste.ubuntu.com/12428947/19:26
boshheadBoth 15.04 and 15.10 hang on the same message.19:26
RevertToTypesarnold: i basically did that yesterday and dhcpcd didn't seem that good but i'll do a full reboot and try again :(19:28
sarnoldRevertToType: oh. :(19:28
RevertToType"virtual packages like 'dhcp-client" can't be removed19:28
RevertToTypeoi dpkg19:29
RevertToTypedpkg is saying it's not installed19:29
RevertToTypeWUHT19:29
RevertToTypeupdate/upgrade time19:30
sarnoldRevertToType: dpkg -l '*dhc*' may show what's really going on..19:31
* RevertToType nods19:32
sarnoldboshhead: dang that's the worst thing to google for, ever.19:32
boshheadsarnold: yeah there's no relevant results on google19:32
boshheadso im in despair :P19:32
boshheadoh wait.. maybe this is it "It sounds like your initramfs doesn't have the needed module for vfat." - im gonna try adding vfat to /etc/modules if it doesn't exist19:34
boshheadafter that ill try replacing grub with elilo or refit19:35
RevertToTypesarnold: it lists it as unknown for desired action and not-installed19:36
sarnoldboshhead: mkinitramfs(8) suggests /etc/initramfs-tools/modules is the place to put modules19:37
boshheadsarnold: oh right the other file is generated. thank you.19:38
robertjso is debootstrap for vivid just...broken?19:40
boshheadrebooting, which me luck :)19:41
=== markthomas is now known as markthomas|away
netametawell, i have jenkins set up, Not insde a container. now i am trying to run a job, the job should clone a repo from github, and then run a bash script. , i am not sure how to tell jenkis where to clone the repo to.19:55
ikoniatry #jenkins ?20:01
netametaThanks20:01
RevertToTypethis is gonna be the death of me... grabbing a second laptop- out of our bin--- starting from scratch... maybe i just left too much of a mess20:30
dmsimardjamespage: Sorry to poke you, did you guys notice any issues around python-cryptography/python-cffi on liberty packages with services like nova or keystone ?20:32
=== markthomas|away is now known as markthomas
jellySlugs_: you'll eaither need to mux that back to some 1-4 streams to disk, cheap 4TB sata disks are not very likely to be able to work with 40 parallel writers21:13
jellyeither ^^ or get a drive array that can actually survive more random io21:14
jellyif they're only writing for archival purposes and never reading, it might be doable21:16
jelly(and if you want users to also watch those saved streams, you're looking at SSDs or ramdrives, two orders of magnitude more expensive solutions)21:19
ratraceis Ubuntu (15.04) capable of booting from root on multi-disc btrfs? It requires special btrfs device scan support.21:20
ratraceI'm talking about mounting root, not actually booting, I know /boot can't be btrfs21:21
=== lukasa is now known as lukasa_away
netametaHow can i create a new user and assign it ssh key ?21:28
netametanew user is adduser, but how can i assign it neww ssh keys21:29
OerHeksnetameta, login as that user, and follow the guide ? https://help.ubuntu.com/community/SSH/OpenSSH/Keys21:30
netametaOerHeks, i dont think i can log in with this user21:31
netametanot before i have ssh keys for it21:31
netametaec2 restrict access to only ssh keys21:31
netametaunless, its possible to create a user from the main user, and then use the new user and follow that guide21:32
OerHeksnetameta, oh, not sure how ec2 works, they should auto make ssh keys when adding an user, logically21:32
netametayea i have 1 pair for the main user21:33
netametaso i can log on their instan21:33
netametabut i need another user21:33
netametaIs it possible to create a user and then "mount" it ?21:33

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