/srv/irclogs.ubuntu.com/2013/09/19/#ubuntu-server.txt

=== andreas__ is now known as ahasenack
=== qman___ is now known as qman__
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== thumper-gym is now known as thumper
=== Rallias is now known as Rallias-Avoiding
=== Rallias-Avoiding is now known as Gasseus
hallyn_SpamapS: is there a good reason not to have the host mount the iscsi target, and then bind-mount that into the contaienr?02:35
=== kenneth is now known as Guest39238
Guest39238samba question can I use ".nogroup" as a group with users in it or should I make a new group then add users to it?03:21
ubuntutisanybody know what programming languages i should use to make a chatbox03:31
raubIn 10.04, dovecot in ubuntu had two separate config files, /etc/dovecot/auth.d/01-dovecot-postfix.auth and /etc/dovecot/conf.d/01-dovecot-postfix.conf03:56
raubBut now in 12.04 it has only the conf.d directory with a ton of files in it. How do they relate?03:57
=== freeflying is now known as freeflying_away
=== thumper is now known as thumper-afk
=== freeflying_away is now known as freeflying
bombevhello06:28
bombevI am running Ubuntu Linux 12.04.1 is there some manual to show me how to configure two ISP and to switch it via ssh?06:28
warzauwynnbombev: can you be more specific about your setup?  how are these ISPs connected to your ubuntu machine?  how do you intend these two networks to work together?06:35
lpapphi, is there anyone using wsgi and ubuntu here? my wsgi file does not seem to load through apache (mod-wsgi). I see the raw content rather than getting it interpreted through the wsgi protocol. This is a ubuntu 10.04 server, and almost the same vhost config file works on another Ubuntu server which is version 12.04.07:34
lpapphere you can find my vhost site config file, http://paste.kde.org/~lpapp/pb2efb5f7/07:37
rbasakAre you missing a WSGIScriptAlias directive?07:38
* rbasak hasn't read the paste07:38
lpappAt least there is one there.07:38
lpapprbasak: I have this, WSGIScriptAlias / /var/www/foo/foo.wsgi07:42
rbasakI don't know then. Sorry.07:43
lpapprbasak: ok, np. Hopefully someone has already done something like this or/and have a clue. :-)07:44
=== geser_ is now known as geser
rbasakroaksoax: have you seen bug 1227252?08:35
uvirtbotLaunchpad bug 1227252 in maas "Upgrade from precise to precise SRU maas unconditionally disabled system DHCP" [Undecided,New] https://launchpad.net/bugs/122725208:35
lpappanyone having any ideas?08:57
=== thumper-afk is now known as thumper
=== freeflying is now known as freeflying_away
jamespageroaksoax, was there a specific reason the squid-deb-proxy-client-(udeb) packages only reside in universe?10:45
=== freeflying_away is now known as freeflying
=== lastwish_ is now known as lastwish
=== freeflying is now known as freeflying_away
freakynlHi, the auto updates are nice et all, but is there an auto garbage cleaner as well?11:35
freakynlMany boxes fall over due to the sick amount of kernel images (or more notably - initrd's) that are kept around. Just had another machine with 6GB storage that only had 2.5GB in use after first install fall over cuz it was full (it only runs powerdns, which stores a little data in mysql but that's about it)11:36
=== freeflying_away is now known as freeflying
greppyfreakynl: there is an apt-get autoremove, which may help.11:44
freakynlgreppy: hmm last time I used that it didn't remove any kernels at all, now it removed some (left 5 lying around)12:24
freakynlJust running: 'dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge' - reduced consumed diskspace (grew it first as dpkg obviously crashed configuring kernel w/o diskspace) from 76% to 22.6% on a 5GB (now 7) disk - removing nothing but kernels, initrd's and kernel headers... I can't believe how long they ignore this issue. Auto update shou12:25
roaksoaxjamespage: i didn't know s-d-p-client packages were in universe.. we werent the ones who filed a MIR for it13:48
roaksoaxafaikl13:48
jamespageroaksoax, oh13:49
roaksoaxjamespage: oh nevermind I guess I did13:49
roaksoaxjamespage: https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/96172613:49
jamespageroaksoax, I thought so13:49
uvirtbotLaunchpad bug 961726 in squid-deb-proxy "[MIR] squid-deb-proxy" [High,Fix released]13:49
roaksoaxjamespage: so I'm guessing it's because they weren't seeded ?13:50
jamespageroaksoax, probably - I just wanted to check to see if there where any other reasons why not13:50
roaksoaxjamespage: same has happened for maas-dns/maas-dhcp13:50
jamespageroaksoax, reference is bug 118332613:50
uvirtbotLaunchpad bug 1183326 in squid-deb-proxy "squid-deb-proxy-client-udeb broken in Ubuntu" [Medium,New] https://launchpad.net/bugs/118332613:50
jamespagefolks are trying to use the udeb in d-i installs but it borkes13:51
roaksoaxjamespage: right, but d-i with internet access should still obtain the package, shouildn't it?13:51
roaksoaxjamespage: and yeah, I have no idea why they were left out, but judging for the MIR bug, they shouldn't have been13:51
roaksoaxjamespage: i guess we need to seed them13:52
roaksoaxjamespage: are you officially back btw?13:57
jamespageroaksoax, yep13:57
roaksoaxcool13:58
zuljamespage:  since you are here https://code.launchpad.net/~zulcss/ceilometer/deps/+merge/18655314:11
jamespagezul, do those need to be applied to the binary package depends as well?14:13
zuljamespage:  *sigh* yeah probably14:13
jamespagezul, :-)14:14
zuljamespage:  im thinking we should be explicit in the binary deps as well and not rely on pydist14:20
jamespagezul, I think that makes sense14:23
zuljamespage:  done14:29
jamespagezul, does dh_python not do the versioned depends on the binary package automatically?14:30
zuljamespage:  i dont think so14:30
zulbetter safer than sorry though14:30
jamespagezul, headache tho14:32
zuljamespage:  true we need a way to automate this kind of stuff14:32
jamespagezul, SQLAlchemy>=0.7.8,<0.815:22
zuljamespage:  ?15:23
jamespagezul, thats in the requires of ceilometer15:23
jamespagewe have 0.8.215:23
zuljamespage:  yeah its patched15:23
jamespageso entry points bork15:23
jamespageno its not15:23
zulisnt it?15:23
jamespagezul, no - you dropped it15:24
jamespage  * debian/patches/fix-setup-requirements.patch: Dropped no longer15:24
jamespage    needed.15:24
zulwhy the hell did i do that?15:24
zulill patch it15:24
jamespagezul, no idea15:25
jamespageadam_g, where are we up to with charm redux testing and stuff? I need to be reminded15:26
zuljamespage:  alright review branch for that one after15:26
jkyleWhen pxe booting an ubuntu server, is the file located at /preseed.cfg during installation the one being used?15:28
jamespagezul, I like your versioning:15:28
jamespagehttps://launchpad.net/ubuntu/saucy/+source/python-wsme/0.5b5-1ubuntu015:28
zuljamespage: thanks! :P15:29
jamespagezul, you need to drink more wakeup juice in the mornings :-)15:29
zuljamespage:  meh15:30
jamespagezul, do you want to push the version fixup to that deps branch? I'd like to test it out and I'm blocked right now15:33
zuljamespage:  sure gimme a sec15:33
jkyleI'm getting the following error during install of ubuntu15:36
jkyle"The following packages have unmet dependencies language-selector-common depends accountsservice"15:36
zuljamespage:  done15:36
jkyle12.04.215:36
miketeeveehi guys, i'm having a fork issue, can someone help me?  10.04 LTS works, 12.04.3 with the same code forks way too much memory15:37
jkyleI'm aware of the fix for these types of errors  in a running os, apt-get install -f, but how do you resolve this when the installer itself is throwing the error?15:37
zuljamespage:  we have alot of extra crap in nova deps that we dont need anymore15:37
miketeeveei have my findings in a gist15:37
miketeeveehttps://gist.github.com/michael-trelinski15:37
miketeeveei feel like it's a kernel flag i need to set, but i can't find it15:37
D`Fam!scans15:39
jgornickHey guys, is there something out there that presents a user with a configuration screen or a status screen after an Ubuntu virtual appliance is booted? In my VM window, I would like to see a summary of system information, primarily network information.15:44
Roryjgornick: Would it be acceptable to show this information in the Message of the Day that appears on a sucesfull console login?15:46
jgornickRory: Might be acceptable :)15:46
jgornickRory: Looking for something like this: https://github.com/turnkeylinux/confconsole15:46
Roryjgornick: If you put shell scripts in the /etc/update-motd.d/ folder they are executed in order on each login15:48
rbasakjgornick: you could replace the login on vt1 with a status screen if you like. The job runs from /etc/init/tty1.conf.16:00
rbasakjgornick: (by running getty with an alternate program)16:00
rbasakBe careful to make sure that the user can't interrupt it to get a root shell or something though16:01
plmHi all16:03
RoryHi plm16:03
plmpeople I have a process running in my server but I don't know who/how it is calling. It is rsyn. I ps aux | grep -i rsync show this: # ps ax | grep -i rsync 7683 ?        Ss     8:59 rsync --server --sender -vlogDtprz . /wts/16:03
plmI'm not use rsync16:03
plmhow I know what script are calling that?16:04
=== GODDGO is now known as GODDOG
Roryplm: if you run the command "ps l" and find the process, look at the PPID column to find the PID of the process which spawned it16:05
RoryPPID is Parent process ID I think16:05
jamespagezul, ceilometer needs seeding for main inclusion16:17
jamespagezul, I pushed your branch - thanks16:18
jamespagezul, its not a fault of that change by ceilometer need python-babel as well now16:19
jamespageceilometer-common fails in a clean chroot16:19
plmRory: ps l | grep -i rsync not show about rsync...16:20
Roryplm: You need to do it when it's actually running, as the user that rsync is running as, or with sudo16:21
plmRory: it are running16:21
plm# ps ux | grep -i rsync16:21
plmroot     18090 47.7  4.2  46516 43252 ?        Rs   13:08   7:19 rsync --server --sender -vlogDtprz . /CSP/16:21
plmRory:16:21
plm# ps a | grep -i rsync16:21
plm19093 pts/1    S+     0:00 grep -i rsync16:21
RoryOK plm so now do "ps l | grep 18090"16:22
plmRory: # ps l | grep 1809016:22
plm0     0 19148  9019  15   0   2880   796 pipe_w S+   pts/1      0:00 grep 1809016:22
Roryplm: basically you need to catch the process when it's running. Find out it's PID and then use ps l to find its parent16:23
plmRory: it are running..16:23
plmare always running16:24
Roryplm: sudo ps l | grep 18[0]9016:24
RoryThe 4th column will be the parent process of PID 1809016:25
miketeeveei summarized my question into a stack overflow thread, much help would be appreciated with this fork issue http://stackoverflow.com/questions/18900127/how-do-i-control-the-vmem-when-forking-having-a-same-code-same-java-issue-on-di16:25
plmRory: I think I find: other machine are doing a sync for this server...16:25
zuljamespage:  argh ok16:26
plmRory: but rsync start in other machine, I not knew that in client rsync show as process too16:26
adam_gjamespage, https://code.launchpad.net/~openstack-charmers16:30
jamespageadam_g, right - I see we still need to push in the fast exit stuff and clearing of relations for non-leaders16:33
jamespageright?16:33
adam_gjamespage, yeah, what is the fast exit stuff?16:35
jamespageadam_g, in contexts - when the first complete context found gets returned16:35
jamespageright now the contexts in helpers iterate all relations and then check the last one16:36
jamespagerelations/units rather16:36
adam_goh right16:36
jamespageactually relations and units16:36
jamespagealthough two would be odd16:36
jamespage(relations that is)16:36
adam_gjamespage, there is a charm-helpers branch there as well, that is the sync source for all those charms16:37
jamespageadam_g, right16:37
jamespageadam_g, I can find some time to work throught that tomorrow PM16:37
jamespage(know you are busy)16:37
adam_gjamespage, cool.16:37
adam_gjamespage, are you back?16:38
jamespageadam_g, yes16:38
adam_gw00t16:38
jamespage(althought not around my time tomorrow am)16:38
zuljamespage/adam_g: http://people.canonical.com/~chucks/ca/ (for bug #1227266)16:44
uvirtbotLaunchpad bug 1227266 in cloud-archive "The swauth and python-swauth packages not included in ubuntu cloud repository" [Undecided,New] https://launchpad.net/bugs/122726616:45
jamespagezul, ooo16:49
jamespagezul, tricksy16:49
zulyep16:50
zulits apparently apart of the chef cookbooks16:50
jamespagezul, +116:56
zuljamespage:  cool thanks16:56
miketeeveewhere's the best place to post my ubuntu server problem to?17:04
miketeeveemessageboard-wise17:04
miketeeveestackoverflow? ubuntuforums (hacked?)?17:04
rbasakIf you can phrase it as a general question that can apply to others, askubuntu is good.17:05
miketeeveeirc channel?17:06
miketeeveeah i see17:06
zuladam_g:  https://code.launchpad.net/~zulcss/nova/house-cleaning/+merge/18658817:10
adam_gzul, ack. might take me a bit to get through that one17:13
zuladam_g:  yeah im going through everything with a fine tooth comb today17:14
adam_gzul, awesome17:14
raubI know that due to resolvconf I can have dns-nameservers in /etc/networks/interfaces17:33
raubBut, can I also have the "options" or osmething equivalent in the same file, so it is loaded into /etc/resolv.conf?17:34
raubOr should I put it in  /etc/resolvconf/resolv.conf.d/tail?17:34
sarnoldraub: resolvconf(8) suggests the ../tail answer is the right answer17:36
tonyyarussoraub: I think you can have dns-options lines in the interfaces file too17:55
adam_gzul, added one comment to that merge but looks good otherwise i think17:59
zuladam_g: cool18:00
GarrettKajmowiczGreetings! How can I go about resuming the boot process in 12.04 after I've been dumped to the Busybox shell and manually mounted the root filesystem? Alternatively, how can I figure out why I'm being dumped to busybox and fix the issue so my server can boot normally?18:30
ikoniaGarrettKajmowicz: error message on screen normally gives a clue18:30
GarrettKajmowiczI'm "running" 12.04 LTS. This problem started right after I upgraded from 10.04 LTS. The old kernel image still boots correctly, but the new ones don't.18:30
sarnoldGarrettKajmowicz: at least in the old days, ^D would exit a rescue shell and continue booting, dunno if that's still true, but I hope it is. :)18:33
ikoniait's going to busy box18:33
ikoniactrl +d won't do anything18:33
GarrettKajmowiczikonia: I don't recall a particular error message. I'm just dumped to the shell. The root filesystem isn't mounted, and manually typing "mount /dev/md0 /root -o ro" works just fine.18:35
ikoniaGarrettKajmowicz: so you're using a raid device18:35
ikoniaGarrettKajmowicz: it's possible it's not able to mount the root file system at boot time,18:35
GarrettKajmowiczikonia: Yes - RAID1.18:35
ikoniacheck the initramfs18:35
GarrettKajmowiczikonia: How can it not be possible to mount the root fs at boot time if I've done so from the busybox shell? Isn't that what the initramfs is for?18:36
GarrettKajmowiczikonia: What would you like me to check in the initramfs?18:37
ikoniaGarrettKajmowicz: could be a delay in assembling the array18:37
ikoniaGarrettKajmowicz: or your mdadm.conf could be wrong so it tries to assemble it wrong18:37
ikonia(just easy / common issues with it)18:37
GarrettKajmowiczI've added rootdelay=30 to the kernel boot parameters and it boots and dumps to the shell within 5 seconds. It's 2 disks, 1 of which is a SSD.18:37
zuladam_g:  https://code.launchpad.net/~zulcss/cinder/housecleaning/+merge/18661218:38
ikoniaGarrettKajmowicz: you're doing software mirroring on SSD's ??18:38
GarrettKajmowiczikonia: If it was wrong, why would mounting it work correctly with no additional interventions?18:38
ikoniaGarrettKajmowicz: they won't last long18:38
GarrettKajmowiczikonia: The math I've done said it shouldn't be a problem. In any case, that isn't the immediate concern.18:39
ikoniaunderstood18:40
GarrettKajmowiczikonia: Where can I go from here to attempt to diagnose this issue? I've been trying to address this since July.  :-(18:41
ikoniasince july !18:41
ikoniaGarrettKajmowicz: first thing is look at the grub config - check it's valid, check it's pointing at the right locations, and that the files are there and valid18:41
GarrettKajmowiczikonia: Extra data: http://askubuntu.com/questions/307509/upgrade-to-12-04lts-dumps-to-busybox-on-boot18:42
ikoniaGarrettKajmowicz: are you sure it's not upgraded grub and should be using grub.conf now ?18:43
GarrettKajmowiczGrub seems to boot fine. It gets new kernel images as they are added.18:45
GarrettKajmowiczGrub is version 0.97. I don't think grub2 started being used until a newer Ubuntu version. (I'm running 12.04 LTS).18:45
ikoniaso you're confident it's still reading from menu.lst not grub.conf18:45
ikonia12.04 uses grub2 by default, but that doesn't mean it's upgraded yours18:46
ikoniaGarrettKajmowicz: for arguments sake, break the kernel line - point it at a wrong filename see if it errors and what it errors18:46
GarrettKajmowiczikonia: I can't do that at the moment (I'm at work, server's at home). I will do so once I get home tonight, however.18:47
ikoniaGarrettKajmowicz: ping me when you get home, maybe interesting to work it through18:48
GarrettKajmowiczikonia: Absolutely. Will you be here on in about 3-4 hours?18:49
ikoniaI suspect so18:49
GarrettKajmowiczikonia: Okay - I'll come and harass you then. I'll be typing via smartphone instead of keyboard, so that'll be interesting.18:50
ikoniawe can work with that18:51
=== Ursinha is now known as Ursinha-afk
mgwI'm trying to figure out the best way to calculate cpu usage on an lxc container19:12
mgwis there something in cgroups that will give me that, or do I need to use ps and then compare cpu% against the cpushares?19:12
=== smb` is now known as smb
adam_gzul,  https://code.launchpad.net/~zulcss/nova/house-cleaning/+merge/186588 <- you merged before approved?19:40
zuladam_g:  yeah did the wrong alias i have locally19:42
zulsorry about that wont happen again19:42
adam_gzul, its okay19:42
adam_gzul, im gonna push a fix to put the python-six version specification in d/control19:43
zuladam_g:  ack19:43
* zul disapears for a while19:43
adam_gzul, also.. i know i mentioned before but please get out of the habbit of pushing directly to the branches.19:45
=== huats_ is now known as huats
adam_gzul, https://bugs.launchpad.net/ubuntu/+source/python-cliff/+bug/1227884  no idea how that didn't FTBFS in the archive.. but trying to backport to precise is failing21:08
uvirtbotLaunchpad bug 1227884 in python-cliff "FTBFS, conflict in setup.py's requires and egg-info's requires.txt" [Undecided,New]21:08
maxpedhey guys, dumb question. Why does one computer, my ubuntu-server ver 12.04, get an unusally high ip number from my router? everything else, iphones, androids, other laptops, get 192.168.0.100-109. the ubuntu server gets *.119. when i try to set static and match setting on router reservation list i can never acess from outside the network. any input? TIA!21:38
RoyKmaxped: the dhcp server is doing the job ;)21:39
maxpedRoyK: thanks for the reply, i thought the reservation on the router was above anything else. i obviously need to learn more, but is this problem more wifi-router or ubuntu settings? so i know where to start to look. i think router.21:42
bjfon a maas server what does "node added but never seen" mean?21:43
bjfi'm trying to enroll a single system21:43
maxpedRoyK: and why so high an ip? why not just next available?21:45
RoyKno idea21:45
maxpedRoyK: hmmm...thanks.21:46
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
jkyleso, I've discovered the current 12.04.3 version of precise has a broken openvswitch module  out the box22:09
jkylefix is to roll back the kernel or build your own module with a current ovs version. Is there a backports that might have the current ovs versions for precise?22:09
jkyleah, thanks for the blog post Mr. Page => http://javacruft.wordpress.com/2013/08/21/openvswitch-for-ubuntu-12-04-3-lts/22:14
GarrettKajmowiczikonia_: I'm baaaack!22:21
bananapieis there a way I can execute a program and see all the files it accesses or tries to access ?22:21
warzauwynnbananapie: strace cmd22:22
bananapiecool :D22:22
GarrettKajmowiczbananapie: strace22:22
bananapieYES! This is exactly what I needed. Thanks warzauwynn and GarrettKajmowicz. I see hundreds of 'no such file or directory' errors :D22:25
GarrettKajmowiczikonia_: I tried getting grub to boot non-existant kernels or initramfs and grub properly detected that the file didn't exist.22:26
sarnoldbananapie: skip past the usual ld stuff at the beginning, there's always hundreds or thousands of those..22:26
bananapiethanks22:28
GarrettKajmowiczikonia: I managed to save dmsg output from a failed boot: pastebin.ca/245500822:36
sarnoldGarrettKajmowicz: is this bit intentional? Kernel command line: root=/dev/md0 ro debug22:40
GarrettKajmowiczsarnold: I added 'debug' for this run only. The other flags have been part of the boot params forever.22:43
sarnoldGarrettKajmowicz: aha :)22:43
sarnold.. sure enough, my /proc/cmdline has an 'ro' in it too. sheesh. I need to look around more. :)22:44
GarrettKajmowiczI think the idea is to mount the rootfs ro until it is confident of being able to actually boot the system  so as to avoid powering down with a dirty fs.22:46
=== smb` is now known as smb
GarrettKajmowiczI'm back. Webchat + phone browset + phone multitasking = frustration22:52
sarnoldGarrettKajmowicz: :/ you missed nothing while you were gone though22:55
GarrettKajmowiczAny other stuff you'd suggest I look at?22:55
shaunoit's quite normal to boot readonly and remount rw mid-boot.  I think it remounts right after it decides if fsck is to be run (because fsck on a rw partition is mindboggling)22:55
sarnoldhrm, /var/log/boot.log is remarkably .. short of information22:57
sarnoldcan you poke around in your logs to find corresponding userspace messages from the failed boots?22:58
GarrettKajmowiczsarnold: Can you clarify? In failed boots userspace doesn't get a chance to run, and the filesystem is never mounted rw to be able to save anything anyways.23:01
sarnoldGarrettKajmowicz: oh right :( It it is just that dmesg is only one part of the problem, and nothing there particularly stands out as troublesome. (the days-since-fsck isn't great but also shouldn't explain the busybox shell.)23:02
GarrettKajmowiczRight. Busybox shell is repeatable. Server booted up with an older kernel and successfully ran fsck.23:07
GarrettKajmowiczsarnold: What else can I do to investigate?23:10
GarrettKajmowiczI'm somewhat frustrated at this point. I need to be running the new kernels to address a munor networking issue, yet there don't seem to be any diagnostics for the boot subsystem.23:27
=== freeflying is now known as freeflying_away
gartralhow can I make a folder have group read/write perms and make that inherent to all *future* directories and files in that folder?23:54
gartral/s/folder/directories23:55
sarnoldgartral: there is nothing you can do to force specific _permissions_ on files and subdirectories. the only things you can change are (a) set the setgid bit on the directory to force all future subdirectories and files to have the same group _ownership_ (b) set the sticky bit to prevent users from deleting files and directories they do not own.23:58
gartralsarnold: that first one seems like what I want23:59
sarnoldgartral: you could try hacking something together with e.g. incron, but it'd be easy to write a security problem that way :)23:59

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