/srv/irclogs.ubuntu.com/2014/02/19/#ubuntu-server.txt

=== freeflying is now known as freeflying_away
=== TDog_ is now known as TDog
=== freeflying_away is now known as freeflying
prgCoderhi all, I am trying to compile some Embedded SQL/C programs on ubuntu server 12.04 and I keep getting the following error:04:16
* genii twitches on !pastebin04:16
prgCoderlibq.1.so: undefined reference to 'IIGchkobj'04:17
prgCoderans some others - any ideas ?04:17
=== freeflying is now known as freeflying_away
=== e^0_ is now known as e^0
=== TDog_ is now known as TDog
=== thesheff17_ is now known as thesheff17
lifelesshallyn: hey - https://bugs.launchpad.net/nova/+bug/122897705:12
uvirtbotLaunchpad bug 1228977 in nova "n-cpu seems to crash when running with libvirt 1.1.1 from ubuntu cloud archive" [High,Confirmed]05:12
lifelesshallyn: its targeted to saucy, but doesn't appear to have had the changeset pulled in05:12
lifelesshallyn: there seems to be some procedural issue blocking it05:13
hallynlifeless: yeah it needed the sru justification.  i was waiting on a test case.  thanks for providing it :)05:35
lifelesswe'll see about running a test with it for you05:35
lifelesshallyn: do you need to update teh build in proposed to include the security updates?05:35
hallyngreat, thanks.05:35
hallynhm, maybe.  i didn't see the security updates go by05:36
hallyni only see an 1.1.1-0ubuntu8.5, so should be ok05:37
hallyngotta run - ttyl05:38
lifelesshallyn: ciao06:08
mastershakehey guys im getting a "The system network service is not compatible with this version" error, can anyone lend a hand for a moment?06:21
=== freeflying_away is now known as freeflying
mastershakeanyone?06:32
sarnoldmastershake: is that an exact quote or a guess?06:33
mastershakesarnold: just a question... i keep getting a "The system network service is not compatible with this version" error06:34
mastershakeand i dont know how to correct it06:34
sarnoldhrm, I can't find that string in the debian code search06:37
=== freeflying is now known as freeflying_away
mastershakeyou dont have to be rude about it06:43
sarnoldmastershake: sorry, it's not rude, just stating that my primary tool, source code, isn't much help here :/06:43
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
hxmhi, why is this? http://apaste.info/6Fb507:38
hxmchanged resolv07:40
zetheroois there a way to stop jbd2 from running on certain disks?08:23
BitwiseHello. I've set up postfix, dovecot, and roundcube, seemingly unsuccessfully. When I send an email using roundcube, the recipient never receives it. Same result with result with telnet. I'm thinking there is a problem with the postfix configuration but I really haven't changed much.08:35
mardraumBitwise: read mail.log08:37
Bitwisemardraum, Touche. I tried to send an email to my gmail account: (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)08:38
mardraumsounds like dns is broken08:44
BitwiseI did postqueue -f and now it says network is unreachable and connection timed out.08:52
mardraumis your dns working08:54
BitwiseWell I'm connected and browsing the net fine right now.08:55
mardraumfrom the mail server?08:55
BitwiseI'm running the mail server on my primary machine.08:56
mardraumI don't know what that means08:56
BitwiseYes, I'm browsing the web from my mail server.08:58
BitwiseAre the first two lines correct? http://pastebin.com/S15yrCGn08:59
zetheroois there a way to stop jbd2 from running on certain disks?09:50
=== freeflying_away is now known as freeflying
love12 guys i have squid3 installled in debian  but there is aproblem when i try to test from the serever"The system returned: (111) Connection refused"11:25
ikoniaso #debian would be the right channel to talk about that in11:27
ikoniayou can join that channel with "/join #debian"11:27
zetheroois it possible to stop jbd2 from running on certain disks?12:02
ikoniazetheroo: it's a kenrel process, as I understand it, it needs to access each disk12:05
ikoniazetheroo: you can tune it for each disk/file system though12:05
zetherooikonia: it's very unwanted for disks on which we have live VM images ;)12:05
ikoniait may well be possible, but I think you'll have to "tune it" not to run, as opposed to disable it12:06
ikoniaif you get what I mean12:06
zetheroook ... kinda ...12:06
zetheroohow does one go about "tuning" it?12:07
ikoniahdparm12:07
zetheroohmmm ... I have only ever used hdparm for modifying the spin-down settings12:08
ikoniato be honest, the same here12:09
ikoniawell, and a few other very minor settings12:09
zetherooisn't jbd2 the journaling process?12:13
zetherooI am trying to find how hdparm can be used to "tune" jbd2 ... all I see is how to use it to change the spin-down settings ...12:15
wiherekhi13:36
wiherekI am setting up a vpn, on Ubuntu13:36
wiherekwhen I set up the localip, should I keep my current ip?13:37
wiherekor can it be some other value?13:37
roadmrHello ubuntu-server people. We're looking at removing checkbox (checkbox-cli package) from the ubuntu server image for several reasons. I'd like to ask if anybody has objections about this (or really any other comment about it)14:29
jrwrenits already not in cloudimg, so I'm all for it :)14:35
roadmrjrwren: hehe :)14:35
zulroadmr:  why?14:42
roadmrzul: the candidate replacement has some packaging issues so we're looking at options to avoid delivering a bad experience14:53
zulroadmr:  ok cool14:53
roadmrzul: removing it is the "easy way out" but we may have a solution to keep it if people would still prefer to have it14:54
zulroadmr: im ambivalent to it :)14:54
roadmrzul: cool, feedback appreciated :)14:55
rbasakroadmr: maybe email the ubuntu-server mailing list? I don't think anybody will object, but we should make some reasonable effort to check with any stakeholders. Are there any other suitable lists?14:55
=== freeflying is now known as freeflying_away
roadmrrbasak: maybe maas would be interested. The mailing list idea is good, but if you don't see an e-mail from me, it means we found a way to keep it alive :)14:56
rbasakOK, sounds good :)14:57
=== cyphermox_ is now known as cyphermox
=== mjohnson15_2 is now known as mjohnson15
=== niemeyer__ is now known as niemeyer
hallynrbasak: what would be the best way to snapshot a uvt-kvm vm?16:56
RoyKhallyn: what's uvt?16:58
rbasakhallyn: however libvirt suggests doing it, so with virsh directly. I tried the other day though, and couldn't get it working. Pretty sure it's not libvirt-specific.16:58
rbasakhallyn: if it's awkward we can have uvtool wrap it, but I need to know how to do it with libvirt first :)16:59
hallynRoyK: uvtool (see package in trusty)  it lets you quickly create/use ubuntu-cloud-iamge-based libvirt vms16:59
* rbasak has been writing documentation this week16:59
RoyKk16:59
hallynRoyK: http://s3hh.wordpress.com/2013/12/12/quickly-run-ubuntu-cloud-images-locally-using-uvtool/16:59
RoyKhi all. I have eth0 on int 19, and all interrupts are processed by core0, which is getting rather hot with >10k interrupts/s. I've set smp_affinity to 0f, having 4 cores, but it's still stuck at core 0. any idea why?17:00
rbasakManpages specifically. Server guide later.17:00
hallynrbaska: sounds good, thanks17:00
hallyngah.  rbasak: ^17:00
jrwrenthat is awesome, thanks for that.17:00
jrwreni'd been doing the virsh create manually17:00
hallynRoyK: might ask on #ubuntu-kernel...  i would expect smp_affinity to DTRT...  might be a bug17:01
RoyKDTRT?17:01
jrwrenwould be sweet if that uvt-kvm had a way to pass user-data to cloud-init17:02
rbasakjrwren: --user-data :)17:02
rbasak(sorry the manpage isn't written yet!)17:02
jrwrenrbasak: a file?17:02
rbasakjrwren: yes, or there are options to add common things for you automatically17:02
jrwrenexcellent, thanks.17:02
rbasakeg. --ssh-public-key-file, --packages, --password, --run-script-once, etc.17:03
jrwrenthis is great. how easy is it to bzr branch lp:uvtool and run out of trunk?17:04
rbasakjrwren: ppa:uvtool-dev/trunk :)17:04
jrwreni mean I might want to patch.17:04
rbasakI run PYTHONPATH=. python bin/uvt-kvm. That works from the source tree.17:04
foolhardyafter clean install, ubuntu server x32 hangs on boot at "fsck from util-linux"18:36
foolhardystrangely, going into recovery mode and selecting "resume normal boot" bypasses the issue18:37
foolhardyany idea how to fix it permanently18:37
foolhardy?18:37
foolhardyhttp://i.imgur.com/EGN3uiu.png18:38
foolhardyfresh install of ubuntu server 32bit. first boot this happens: http://i.imgur.com/nJTv3ru.png and then http://i.imgur.com/EGN3uiu.png19:20
foolhardyany idea why?19:20
RoyKnothing else?19:21
sarnoldfirst boot looks normal19:21
sarnoldor, rather, nothin in the first boot screenshot looks surprising to me19:21
jrwrenhttp://www.ubuntu.com/getubuntu/releasenotes no 12.04.3 or 12.04.4 notes19:25
foolhardyI was worried that the ureadahead main process (246) terminated ... was a problem19:25
sarnoldfoolhardy: naah, ureadahead is always complaining about something. I just uninstall it.19:25
foolhardyit hangs here: http://i.imgur.com/EGN3uiu.png19:26
foolhardynever moves on19:26
sarnoldnow that -is- an issue :/19:26
RoyKfoolhardy: can you boot it in single?19:27
foolhardysingle?19:27
foolhardygoing into recover mode and then selecting "resume normal startup" bypasses the issue19:27
RoyKrecovery mode == single user mode19:27
foolhardygotcha19:28
foolhardydpkg and fsck do not fix19:28
RoyKfsck -f?19:28
foolhardyhaven't tried that, doing now19:28
RoyKdpkg has nothing to do with this19:28
RoyKdon't fsck a mounted filesystem19:28
RoyKunless it's mounted read only19:29
foolhardyhttp://i.imgur.com/Tbzlcjt.png19:29
RoyKlooks good19:29
RoyKfoolhardy: any reason for using 32bit?19:29
foolhardyit is virtualized so in trying to use as little resources as possible this vm has 1gb ram19:30
foolhardyI read that 64bit with less than 4gb ram runs very slowly19:30
bekksfoolhardy: Thats a lie.19:31
jpds'very slowly' ? I've never had that problem.19:31
foolhardyno?19:31
bekksfoolhardy: No.19:31
foolhardyI have another vm with 2gb running 64bit but it is live now so I cannot change/replace it. I've never noticed an issue with it but I'm not guru.19:31
foolhardyok, then. I'll just use 64bit19:31
foolhardythanks a lot for the info19:32
sarnoldfoolhardy: 64 bit in 'small' machines does waste some memory for the double-sized pointers, but the extra registers on the CPU and indirect addressing modes of the CPU are fantastic for processing speed19:32
RoyKfoolhardy: you can use 512MB for a 64bit VM without issues19:32
RoyKjust depends what you're running on it19:32
foolhardytomcat server is it19:32
RoyKI've had VMs with as low as 128MB on 64bit19:32
foolhardy /java19:32
foolhardywell, great. THanks a lot for the great info.19:32
foolhardyI love you.19:33
sarnold(though in all honesty, 32bit _should_ work better than this.)19:33
foolhardythis is 12.04 lts. I had the same issue with 12.04.3 about six months ago and thats why I went 64bit on the other "live" machine. Only later to read that this was bad with less than 4gb.19:33
RoyKsarnold: obviously, yes19:34
foolhardyBut now I know better.19:34
foolhardy64bit 4eva19:34
RoyKfoolhardy: saving resources by running in 32bit might not be a good idea. the 32bit instruction set has fewer registers, so things can't be optimized that well19:35
sarnoldat some point in the future ubuntu will have support for a mixed mode of 32bit addressing but with the full 64bit instruction set, which will provide -some- memory savings for small vm instances, but I can't imagine that it'd free up more than 3-5% of memory19:38
bekksWell, basically there is no need to ride the dead horse named "32bit" when having 64bit hardware.19:42
RoyKbekks: indeed19:44
RoyKstandardising on a common platform just makes things easier19:45
RoyKnot that everything should run AMD64, but still19:45
bekks32bit is dead for more than a decade in almost all home computers - and it's artifically revived by 32bit netbooks.19:47
RoyKbekks: I don't think there are much 32bit netbooks anymore19:50
RoyKeven atom has been 64bit for years19:50
bekksRoyK: Yeah do have 64bit atoms nowadays, but there are still zillions of 32bit netbooks in use out there.19:51
RoyKsure - I have one ;)19:52
bekksMe too :P19:52
RoyKbut the netbooks more or less died out when the pads came around19:52
paco11hello masters!20:41
* RoyK waves20:42
paco11i have 12.04 with kernel 3.8.0-35-generic x64. It's fully supported to install the "saucy" kernel? (linux-image-generic-lts-saucy|linux-image-3.11.0-17-generic). thanks very much!20:43
RoyKpaco11: why do you need 3.11?20:44
paco11to avoid the performance problem with kernels 3.0 to 3.920:45
paco11RoyK: what do you think?20:52
RoyKpaco11: what are those performance issues?20:57
paco11write performance20:59
rabbelclear21:07
bekkspaco11: Can you be more precise please? I havent noticed "the performance issue" yet, using Linux on a variety of boxes.21:07
paco11i have good write performance in my ldap servers with 2.6.32 than 3.8.021:10
bekksI dont have any issue with 3.2.0, 3.5, 3.8 as well.21:13
paco11http://lwn.net/Articles/486311/ | http://lkml.indiana.edu/hypermail/linux/kernel/1309.1/01585.html | http://www.openldap.org/lists/openldap-technical/201309/msg00187.html21:22
=== aslaen is now known as aslaen_
foolhardyanyone here run ubuntu server in proxmox?21:33
sarnoldheh, I saw the question before the nick, I was just about to say "hey foolhardy does..." :)21:38
foolhardyMy issue from earlier apparently wasn't connected directly with the 32bit edition, nor a single proxmox node.    :/21:38
sarnold:/21:38
foolhardyI can duplicate the issue on two different machines21:39
sponzorhi. my server is having 100% rame usage 24/7 http://pastebin.com/gNktmvzN21:41
sponzorhost is on esxi server21:41
sponzorthe rest of the server have normal usage.. but this one having 100 all the time21:42
sarnoldsponzor: what do the swap in and swap out columns of 'vmstat 1' look like?21:42
hitsujiTMOsponzor: its only using 50% ram there21:43
hitsujiTMOsponzor: read the -/+ buffers/cache line. thats how much ram is actually being used. the rest is just filesystem buffering which gets dumped the moment an app actually needs the ram21:44
sarnoldsponzor: in general "unused ram is wasted ram" -- but if you're seeing swap traffic, that could be indicative of something worse21:46
sarnoldsponzor: using two megabytes of cache seems fine on a first guess, though.21:46
hitsujiTMOalso swap only starts getting used when you hit 60% of ram usage(thats the default vm.swappiness) ... sinces there's only 2mb of swap used, that does suggest you're only barely going over that 60% at most21:48
sponzoryeah but 8gb memory usage in esxi doesnt loke nice. can i release un used ram in ubuntu?21:49
RoyKsponzor:  it's 2MB out of 8GB21:49
RoyKsponzor: linux swaps out things not in use21:50
RoyKsponzor: it doesn't matter!21:50
RoyKsponzor: you can turn off swapping if you like, sysctl vm.swappiness = 1, but I wouldn't recommend it21:50
sarnoldsponzor: then I suggest your esxi monitoring tools are busted21:51
hitsujiTMOsponzor: "doesn't look nice" is a rather naive excuse for trying to free up the filesystem buffers. You're wanting to break optimisations just to skew usage figures21:51
RoyKsarnold: esxi monitoring doesn't take into account what linux is using its memory for21:51
sarnoldRoyK: figures21:51
RoyKsponzor: what sort of server is this?21:52
sponzormail server zimbra21:52
RoyKhungry beast, zimbra21:52
RoyKbut 8 gigs should do for most21:52
RoyKhow many users?21:52
hitsujiTMOsponzor: all modern operating systems do this, windows, osx, unix, linux ... they all take advbantage of unused ram21:52
sponzor40 users21:52
RoyKsponzor: check out the munin plugins for monitoring zimbra21:55
RoyKthey're quite good21:55
sponzorwill try that.. i see it can be integrated with nagios witch we alrady run21:58
RoyKmunin plugins with nagios?21:59
RoyKI've ditched nagios - using icinga - but the plugin format is the same22:00
sarnoldRoyK: any thoughts on shinken?22:02
RoyKsarnold: haven't heard of it before now22:03
sarnoldah :)22:03
sponzordid tryed icinga... almsot the same as nagios. but we stay with nagios for now.. have 9 servers in distributed environment.. so its a pain to switch.. if we had money for xi work would be so easyer :D22:07
RoyK9 nagios boxes?22:08
RoyKhow many units are you montoring?22:08
sponzor50-200 per box22:10
RoyKok22:11
RoyKmay I ask where you work? around 1k boxes seems rather a lot22:11
sponzorthis could be done with only one nagios server.. but locked networks. for security reasons we had to deploy nagiso servers to remote sites22:11
RoyKic22:12
=== aslaen_ is now known as aslaen
jrwrenwhy would you not want to use every byte of ram you have ?23:12
rostamHi I am using ubuntu 12.04, I have installed dhcp server on my system.  By default when system reboots, the dhcp server is enabled, I like to change the default behavior for boot time. How could i do that? thx23:24
sarnoldrostam: echo manual > /etc/init/nameofservice.override  -- see the cookbook for details http://upstart.ubuntu.com/cookbook/#override-files23:27
=== freeflying_away is now known as freeflying
rostamsarnold, thanks23:29

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