/srv/irclogs.ubuntu.com/2015/10/12/#ubuntu-server.txt

grassvalley大家好,这聊天室如何使用05:06
grassvalley#k05:07
=== denbeiren_ is now known as denbeiren
=== Lcawte|Away is now known as Lcawte
lordievaderGood morning.08:11
=== richb8_ is now known as richb8
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== rcj` is now known as rcj
=== Lcawte is now known as Lcawte|Away
=== Guest47262 is now known as Tm_Tr
=== Tm_Tr is now known as Guest9025
ws2k3when i run dmesg on my server it says Segmentation fault (core dumped) my /var/log/syslog says this line: [24626248.500463] dmesg[3879] general protection ip:401813 sp:7fffa010c960 error:0 in dmesg[400000+5000] what can this be ?12:22
rbasakutlemmin`, Odd_Bloke: do you look after the Docker image that ends up being fetched as "ubuntu:trusty" by users?13:05
rbasakSee bug 150516413:05
ubottubug 1505164 in python3.4 (Ubuntu) "python3.4 3.4.3 prevents installation of libapache2-mod-wsgi-py3" [Undecided,Invalid] https://launchpad.net/bugs/150516413:05
=== utlemmin` is now known as utlemming_sprint
utlemming_sprintrbasak: looking13:21
utlemming_sprintrbasak: this looks concerning13:22
rbasakutlemming_sprint: I'm pretty baffled as to how that could happen by accident.13:24
utlemming_sprintrbasak: well, the bug is wrong...because I can't repo it13:25
utlemming_sprintrbasak: the versions are there but apache installs correctly13:25
rbasakutlemming_sprint: yes, apache does install correclty13:25
rbasakutlemming_sprint: a subseqent install of libapache2-mod-wsgi-py3 fails though as described13:25
utlemming_sprintrbasak: I think that the likely story is out of date apt cache13:25
rbasakutlemming_sprint: it's not that the apt cache is out of date13:25
rbasakutlemming_sprint: it is that the docker image ships a package from trusty-proposed without trusty-proposed in sources.list.13:26
rbasakutlemming_sprint: (and it shouldn't have a package from trusty-proposed anyway)13:26
utlemming_sprintrbasak: I'm checking how docker does their builds13:26
rbasakutlemming_sprint: is it something you deliver? Or not in our (Ubuntu) hands?13:27
utlemming_sprintrbasak: we deliver the base image and then they do somethings to it13:27
rbasakI see, OK13:27
utlemming_sprintrbasak: they as in docker13:27
rbasakSo I guess the question is whether the base image includes Python from trusty-proposed or trusty-proposed in sources.list.13:28
utlemming_sprintrbasak: so the image that we delivered to Docker has 3.4.0-2ubuntu1.113:28
rbasakutlemming_sprint: OK, so it sounds like they're doing something broken13:28
rbasakutlemming_sprint: I'll ask kirkland to pass to Docker upstream.13:28
rbasakutlemming_sprint: thanks13:28
utlemming_sprintrbasak: that is my $0.02. the cloud image team does have relationships with the docker guys13:29
utlemming_sprintrbasak: I had lunch with them on Thursday last, incidently.13:29
Odd_Blokerbasak: utlemming_sprint: I think this is caused by the Python 3.4.3 release to and subsequent removal from the trusty archive.13:39
Odd_Blokerbasak: utlemming_sprint: So this isn't to do with -proposed ending up on the image, it's just the image being created in that window of failure.13:39
utlemming_sprintOdd_Bloke: you're right13:39
Odd_BlokeSo I'll orchestrate getting a new image out, but we know the root cause. :)13:40
utlemming_sprintOdd_Bloke: See https://partner-images.canonical.com/core/trusty/20151001/ubuntu-trusty-core-cloudimg-amd64.manifest (which matches the docker image) and https://partner-images.canonical.com/core/trusty/20151009/ubuntu-trusty-core-cloudimg-amd64.manifest which is the latest13:40
rbasakOdd_Bloke: whoa. We did that? I'm surprised it was pulled in that way instead of putting a reverted higher version in trusty-updates. Thanks.13:42
utlemming_sprintOdd_Bloke: do you have a bug number handy?13:42
rbasakhttps://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1500768 is the regression bug13:42
ubottuLaunchpad bug 1500768 in python3.4 (Ubuntu Trusty) "python3.4.3 SRU break requests" [High,Triaged]13:42
=== rattking_ is now known as rattking
jak2000i need always type: sudo route add default gw 192.168.0.1     but wich fileneed modify for make it permanently?14:58
lordievaderjak2000: I guess this is for a static ip? Add it to /etc/network/interfaces.15:00
jak2000lordievader: http://pastie.org/1047682015:01
lordievaderjak2000: Exactly, there is no gateway defined.15:02
jak2000yes15:03
jak2000how to define?15:03
jak2000gateway 192.x.x.x15:03
jak2000?15:03
jak2000done15:05
jak2000after 2,3 minutes my ubuntu server sleep, how to fix it? i dont want sleep, any advice?15:06
jak2000lordievader?15:36
RoyKjak2000: gateway 192.168.0.1 perhaps15:38
jak2000done15:39
jak2000RoyK i have installed ubuntu 14.04 basic, no gui installed but why sleep after 2-3 minutes i think is a full sleep bbecause not answer hte ping15:40
RoyKno idea - try a reboot to see if the gateway is right15:40
jak2000ok15:43
=== markthomas|away is now known as markthomas
=== Lcawte|Away is now known as Lcawte
lordievaderjak2000: You could easily find this out yourself: https://help.ubuntu.com/lts/serverguide/network-configuration.html#ip-addressing17:12
linociscohow to connect USB Modem to enable internet on ubuntu 14.04 server?17:26
linociscowhat are the settings to configure where?17:26
linociscohow to connect USB Modem to enable internet on ubuntu 14.04 server?17:38
linociscowhat are the settings to configure where?17:38
linociscohi how to connect USB Modem to enable internet on ubuntu 14.04 server?17:43
linociscohi how to connect USB Modem to enable internet on ubuntu 14.04 server?17:48
lordievader!patience | linocisco17:49
ubottulinocisco: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/17:49
teward!crosspost | linocisco17:50
ubottulinocisco: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support.17:50
linociscoteward, I didn't really want to. I am using well community supported ubuntu with big hope from community17:51
tewardlinocisco: you still shouldn't crosspost.17:55
linociscoteward, I will use centos .bye ubuntu server17:57
lordievaderI guess that is one way to deal with your problems...17:58
tewardmy guess from them in #ubuntu they're already using centos17:58
=== adam_g` is now known as adam_g
=== ksx4system is now known as Guest67778
cisconinjagood evening everyone19:21
cisconinjaI am havining a little delima with rsyslog, would i be able to get assistance here?19:21
lordievader!ask | cisconinja19:23
ubottucisconinja: Please 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 !patience19:23
=== quantic is now known as Guest66928
=== quantic_ is now known as quantic
=== Guest67778 is now known as ksx4system
cisconinjaok, i am trying to use rsyslog from my cisco device (192.168.1.49) and my rsyslog (192.168.1.46). I followed this tut: http://tinyurl.com/npgx6r8. I don't see anything being recorded inside my log file /var/log/cisco/cisco.log. however, i see traffic generated from my cisco device using tcpdump, and it is getting to the right port as well! http://pastebin.com/kxacY5Fk. What am i missing or doing19:28
cisconinjawrong. TIA19:28
coreycb`jamespage, neutron 7.0.0~rc2-0ubuntu2 uploaded19:48
coreycb`jamespage, that should fix some dep 8 issues19:49
cisconinjanm i figured out what was my problem . thank you all19:55
hallyndannf: ok, i put a first merge attempt of debian's 2.4 qemu to https://launchpad.net/~serge-hallyn/+archive/ubuntu/qemu-vgicv3  .  i have not yet added your patch, will do that tonight or in the morning if htis merge doesn't bom20:42
hallynbomb20:42
hallynwhich i somewhat expect it will20:42
hallynfor now, i've worked more tha the half day i was planning, so /me out20:43
dannfhallyn: fair enough - thanks!20:43
med_smoser, utlemming_sprint : if two bootable volumes are presented to a kvm (openstack) vm, shouldn't the instance still boot from vda (instead of vdb)? And I'm guessing cloud-init isn't remotely involved in this, so not sure why I"m asking you two. More of a kvm or nova issue.21:46
* med_ was clearly thinking out loud ^21:46
=== Lcawte is now known as Lcawte|Away
IPUhi there :)23:19
IPUi've running 14.04.3 lts on a 64gb emmc. Server purpose would be a webserver for a groupware installation for 5-10 users (apache2, mysql, php, postfix, dovecot) and i've also was planning to add a nagios instance sometime later... any purposes concerning the partitioning scheme?23:21
IPUi thought to add at least separate partitions for /home /mail /var /tmp but im quite unsure 'bout the sizes23:23
IPUalso thought about to move the /var and /mail partitions to an external usb3 hdd to avoid the wearing of the emmc but i've no experiences concerning the performance23:26
JanC/tmp should probably be a tmpfs (which is the default IIRC)23:27
IPUyeah it's default23:28
JanCnot surewhy you need /mail23:29
JanCor even why you need partitions  :)23:30
JanCor at least, why you need multiple "user partitions "23:31
JanCjust put everything on /home or /srv23:31
IPUprimary for security reasons and to avoid a total system crash if for example a deamon is running mad and fill up the partition with trash23:33
jpds_IPU: System shouldn't crash, that's what the reserved blocks are for23:34
JanCjpds_: well, unless daemons run as root, I guess ;)23:35
JanCbut, I think logs & mysql databases would be the only likely culprits for that23:36
JanCand it's possible to put user databases and user logs in their respective (virtual) home directories23:37
IPUi've often seen systems getting unaccsesible cause the entire diskspace is eaten up during malfunction or let's say during an attack23:37
jpds_IPU: Just reading the first paragraph of http://www.howtogeek.com/196541/emmc-vs.-ssd-not-all-solid-state-storage-is-equal/ would make me not put that on a server23:38
JanCjpds_: you probably also wouldn't use a USB3 HDD on a server :)23:39
jpds_JanC: I wouldn't, no23:39
jpds_IPU: Also, I wouldn't cramp so much stuff on the same box but that could just be me23:42
RoyKjpds_: For example, the SSD controller spreads read and write operations over all the memory chips in the solid-state drive23:42
RoyKerm23:42
RoyKyou don't spread reads - only writes23:42
JanCso, it would be be useful to know if this is a company thing or some family/student thing  :)23:43
JanCRoyK: some expensive SSD might do internal RAID where spreading READs would be useful, but yeah  :)23:44
IPUjpds: uhm... i don't know what kind of emmc's you know but in my system i made with a class 10 sd 'bout 8,5MB/s write and 18,9Mb/s read... my emmc makes 39.3mb/s write and 140mb/s read23:44
JanCsome *very* expensive SSDs23:45
jpds_IPU: My SSD does 550MB/s read, 500MB/s write23:45
RoyKeMMCs could be nice for tiering, though23:46
RoyKif there was an open source tiering solution out there23:46
jpds_Like, bcache?23:47
RoyKno, like btier23:47
RoyKtiering isn't caching23:47
IPUjpds_: i would also take a ssd instead if i would have the appropriate interfaces for it ^^23:47
JanCso, this really sounds like a home thing, right?23:48
IPUjpds_: but the hardware on which i plan this server has only sd and emmc ;-)23:48
IPUit's more like a test for a very small and low power consuming system23:48
IPUhttp://www.hardkernel.com/main/main.php23:49
RoyKtiering is keeping cold data on slow storage - caching is just keeping hot data temporarily duplicated on fast storage, it's not moving things around according to use23:49
IPUfor those who know23:49
JanCRoyK: what's the benefits?23:51
RoyKJanC: well, if you have, say, 10TB of data, usually 10% or perhaps 20% of the data is "hot", so you want to store that on fast storage, like a raid-1+0 on fast disks or SSDs and the rest on slower storage, say 7k2 drives in raid-623:52
RoyKJanC: with multiple tiers, that can be very beneficial23:52
RoyKJanC: uio.no has 10PiB or so ranging from SSDs for the hottest part to tape (40%) for anything not used the last 6 months or so23:53
JanCbut what's the benefit over caching?23:53
RoyKcaching won't last over a reboot23:54
RoyKtiering is in the storage itself23:54
JanCthat depends on how you cache23:54
RoyKand caching is just duplicating things, not moving the data to faster tiers23:54
JanClots of caches persist over reboot23:54
RoyKcaching is caching, it's not tierd storage23:55
JanCwell, you copy them to faster tiers23:55
JanCinstead of moving23:55
JanCwich should be faster actually  ;)23:55
RoyKbut then, say, you have a tier 1, ssd on pcie, tier 2, ssd on sata, tier 3, 10k sas drives, tier 4, 7k2 drives, tier 5, tape23:56
RoyKhitachi makes those things23:56
RoyKand they really work well23:56
IPUcern is also using a tiering system23:56
RoyKcosts a lot, but then, if you need a bunch of petas, that costs a bit23:56
RoyKIPU: any idea what sort of storage system they use?23:57
JanCIPU: CERN's "tiering system" is a caching system23:57
JanCthey don't delete data from their tapes when they copy them to HDD or SSD23:58
JanCI'm pretty sure Hitachi's "tiering" system actually is a caching system23:59
IPUhttp://home.web.cern.ch/about/computing/grid-system-tiers23:59
RoyKJanC: deleting data from tape takes a while and if the data isn't modified on the upper tier, it makes no sense to remove it from tape23:59
JanCit would be silly to do otherwise23:59
JanCRoyK: so then they just "cache"23:59
JanCmostly23:59
RoyKJanC: but it makes sense to *move* data from lower tiers like 7k2 drives to 10k/15k to ssds23:59

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