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

MoleMan2errors=remount-ro sounds like a useful thing -_- will that run on any single disk read error?00:00
MoleMan2gartral: I presume you've tried top / htop to check if you can see what is running causing the load?00:01
gartralyes, htop show 20% CPU usage and less than 15% ram usage00:02
MoleMan2sarnold: theres very little important data on it TBH, most of the stuff that matters are probably configs and scripts I could copy off00:03
sarnoldMoleMan2: ah, good. :)00:03
MoleMan2the only other thing I'd need is a backup of my Quassel db for IRC, that could take a while though :p00:03
MoleMan2everything else is 'media' on an external disk which I doubt will be affected, and is re-obtainable anyway :)00:04
gartralsarnold: also, ignore that 50c, byobu isn't reporting the right temps00:04
MoleMan2aargh, having VPN access would make this so much easier00:08
* MoleMan2 reboots his router, hoping that doesn't get any worse00:08
MoleMan2oh wait, I can't. I can't access it without VPN to start with :(00:08
gholmsThis sounds like a job for dial-up!00:09
gholmsBah, wrong channel00:09
gholms...though I guess it's appropriate for this one as well.  >_>00:09
gholmsSorry.00:09
MoleMan2right, sarnold, I'll ask now for when I've finished copying whatever I can think of, would I be better trying to force and fsck now before I reboot, or just go for a reboot and pray it comes back up? :p00:13
MoleMan2as the server is currently as good as useless anyway. so, I'll just grab some alcohol and forget about it if it all goes wrong00:14
sarnoldMoleMan2: I think reboot and pray00:14
MoleMan2okay, thanks :)00:14
MoleMan2I'm SO glad I'm the type of person that just goes for 'whatever's going to happen will happen, why bother worrying or stressing' :P00:15
sarnoldthat helps :)00:16
MoleMan2oh, thats good. I can't connect to PostGreSQL, backing that up could be fun then00:21
MoleMan2screw it,00:22
* MoleMan2 reboots00:22
* MoleMan2 goes to get alcohol, and wait00:23
MoleMan2con...conn... connection refused00:30
sarnoldrefused? not timed out?00:31
MoleMan2not timed out00:31
sarnoldwell, okay, maybe it's still fscking.. no need to panic just yet..00:31
MoleMan2getting a response to ping, but PuTTY is giving connection refused00:31
sarnoldwait, IP address, that means fsck should be done.00:31
MoleMan2I'll just sit here and pretend its all fine00:34
MoleMan2I don't seem to have rejoined IRC either00:35
MoleMan2yeah, anything I try to connect with gives me connection refused. SSH, SFTP (yes, I know they're the same) FTP, HTTP generally can't connect...00:42
sarnolddamn :(00:42
MoleMan2yeah00:44
MoleMan2the annoying thing is, just about the only TimeSensitive thing I'd have been bothered about restoring is the db for IRC, as the longer thats down the more I miss from the backlog etc, but my backup is a few weeks old, and I couldn't connect to back it up earlier before I rebooted00:45
=== freeflying is now known as freeflying_away
avoinesmoser: hey, I wanted to know if your lxc-clone-readme.sh patch are still working with the latest lxc version in the daily build ppa?02:03
uronuhow windows connect to ldap server without using samba? I tried pgina I can login with my ldap account but can't go through to the desktop(BSOD or Hang Up). Is there a correct configuration of pgina?02:03
avoinebecause I've tried it and it looks like the extra arguments like --userdata are not pass to the ubuntu-cloud-prep hook02:04
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
avoinesmoser: nevermind I found my bug03:33
=== freeflying_away is now known as freeflying
=== mrjazzcat is now known as mrjazzcat-afk
toabctlzul: filled a bug report for the getenv/getent typo in debian/cinder-common.postinst (see lp:1224275)05:24
=== thumper is now known as thumper-afk
=== finalstrike is now known as holymac
=== smb` is now known as smb
tiborhello everyone. I just installed ubuntu 12.04 server on cloud service and wanted to make a JEOS installation. However the boot selection doesnt offer minimal install option as mentioned on ubuntu docs for JEOS. is that normal or do you suspect something wrong with the ISO?07:07
jpdstibor: JEOS just been gone for a while.07:08
jpdstibor: Usually an image on a cloud service will be as miniminal as it gets.07:08
tiborok great, thanks for the info07:10
tibordoes anyone have experience with debconf?07:28
tiborim trying to do following             sudo debconf-set-selections <<< 'backup-managerbackup-manager upload-dir string /var/archives/uploads'07:28
tiborit sets the settings07:29
tiborbut at apt-get install  it doesnt respect the value07:29
foo357Hello, I have a ubuntu server which is having some troubles due to having a full boot sector. Doing updates with apt-get can't be done.08:36
tibor_yes, would have to clean unused packages from boot sector08:37
tibor_http://ubuntuforums.org/showthread.php?t=143581808:38
tibor_last line08:38
tibor_or here the first answer http://askubuntu.com/questions/2793/how-do-i-to-remove-or-hide-old-kernel-versions-to-clean-up-the-boot-menu08:39
RockinRoelI've been told on #ubuntu-bugs that this would be a good place to find a sponsor to merge the fix for this bug? https://bugs.launchpad.net/ubuntu/precise/+source/openldap/+bug/121665008:40
uvirtbotLaunchpad bug 1216650 in openldap "slapd crashed with SIGSEGV in lutil_str2bin() when using mdb" [Medium,In progress]08:40
foo357I've got these linux image headers installed: http://pastebin.com/kd445GZj08:47
foo357How can I find out which ones are used?08:47
tiboruname -r08:50
tiboror you do it automatic08:51
tibordpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done08:51
foo357tibor: ok, if I try to remove them through apt-get it complains about this: http://justpaste.it/ck4c should I just force it to continue?08:56
tiboryes go with apt-get -f install08:58
tiborah but you probably cant run it because of lack of space08:59
foo357tibor: yes it fails, and adding --force-yes has no effect09:00
foo357tibor: can I somehow make it ignore those packages? "linux-server : Depends: linux-headers-server (= 3.2.0.43.51) but 3.2.0.53.63 is to be installed"09:01
foo357tibor: looks like the only option is to do some dirty manual removal09:06
tiborno you must remove it09:06
tibordid you try other suggestions from the links i posted?09:07
foo357tibor: maybe I can move the files of some old image header manually to free up enough space so that apt-get can do it's job sucessfully09:07
tiborboth is fine09:07
tiborbut manually removal doesnt change the grub settings and it will crash on reboot09:07
foo357tibor: all suggestions I see are using apt-get to remove stuff, but apt-get can't do anthing.09:12
tibortry apt-get autoremove (cleans up unused packages)09:13
tiboror u use dpkg to uninstall unused images (recommended, manual delete doesnt have all required steps) sudo dpkg --purge linux-image-2.6.28-11-server09:15
tiboror use aptitude: sudo aptitude purge linux-image-2.6.32-27-generic-pae09:17
foo357tibor: ok I simply used dpkg instead09:20
foo357tibor: ok /boot is freed up some now. But I'm still having an issue with that server package.09:24
foo357tibor: http://pastebin.com/x18g7WF109:28
tibortry                               apt-get install --reinstall linux-server09:34
tibordo you have PAE package (32bit with >4gb ram) or 64 bit server? or?09:35
=== seiflotfy_ is now known as seiflotfy
foo357tibor: no it fails, giving the same error09:42
foo357tibor: PAE package?09:45
foo357tibor: this is a 64 bit server so I don't think PAE is installed.09:51
tiborgood09:53
tiborshouldnt be09:53
foo357tibor: how can I fix the problem with 'linux-server' and 'linux-headers-server'?09:58
tiborcant you reinstall both?09:58
tiborhmm09:59
tiboror use dpkg to reinstall it?09:59
=== frankban__ is now known as frankban
foo357tibor: reinstalling both with apt-get fails.10:02
foo357tibor: how should I use dpkg?10:03
tibordpkg -i packagename10:30
siberiannerdshould i also write a bug report if expert install from ubuntu-12.04.3-server-amd64.iso was finished without warnings and after reboot i end up with grub's "error: file not found." ?10:46
siberiannerdthat's somewhat obvious after fast checks that grub is broken10:47
siberiannerdsame for alternate cd10:47
rbasaksmoser: a thought. It would be really useful to me if /etc/issue listed eth0's address as standard on cloud images. Achieving this would involve overriding /etc/issue provided by base-files though. Do you think this would be useful to others?10:53
=== frankban__ is now known as frankban
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
smoserrbasak, /etc/issue does not. but motd does, doesn't it?12:18
rbasaksmoser: I think so. The annoying thing is that I need to log in to see the motd, and I often only have ssh access with cloud images. So it's an extra iteration to backdoor the image.12:19
rbasaksmoser: btw, I have a new ubuntu-cloud-utils in my PPA awaiting build. I've taken care of all the packaging I think I can for now, so it's pretty much ready. Still plenty to do in the actual code, though.12:20
smoserrbasak. cloud-init writes network info to console12:21
rbasaksmoser: remaining fixes to other packages needed: cloud-localds needs to be available in precise somehow, along with simplestreams of course. genisoimage needs to be depended on for cloud-localds (if that's not already done in upstream/saucy). simplestreams needs the gpg key packaged and working by default (not sure if you've done that already). THat's it I think.12:22
rbasaksmoser: I can't necessarily always see the console. In my case, I can get VNC to the screen though.12:22
smoseryou can tll cloud-init to write that to the screen. :)12:23
rbasakThe TTY login clears it from the screen.12:23
rbasakSo I end up with an instance that I would like to know the IP of, but have no way to find out.12:23
rbasakGiven that: 1) cloud instances are generally ssh'd to only, with no password set; 2) this requires the IP, I think it would be useful. I can imagine a scenario where bare metal machines in a datacentre might have the same issue - an admin looks at the screen but can't log in that way because of the ssh key only requirement.12:25
smoserfor 1. a cloud-instance writes its IP info to the console log.12:25
smoserfor 2, i dont know.12:26
smoseri dont think it sounds like a terribly bad idea to have that information there.12:27
rbasakYeah but the console log isn't always available. I think it makes sense to display IP information in multiple places so the admin can get it from where he needs to get it.12:27
smoseryou'd hav to have some way to update /etc/issue.12:28
rbasakYeah. That's a bit tricky.12:28
rbasakPerhaps from an if-up.d script, but it would need some coordination with base-files12:29
smoserwell you could do it from the getty upstart job i think.12:29
smoserbecause i think thats just completely upstart managed.12:29
smoserie, getty dies when you log out, and upstart starts it again12:30
rbasakOh, that gives me an idea.12:31
rbasakPAM module.12:31
smoserrbasak, pam modules is how motd is updated.12:34
smoserbut that requires login.12:34
rbasakI suppose another issue is that the IP could be out of date by the time it's ready. In theory.12:35
rbasakit's read12:35
rbasakAnyway, I intended that as an aside12:35
rbasakWe need to sort out this cloud-utils/ubuntu-cloud-utils packaging12:36
smoserk.12:36
rbasakDo I need to create a new LP project?12:36
rbasakOr shall I leave it as a native package for now?12:37
smoserrbasak, i would do a new "upstream" for sure.12:51
smoseri know it seems like overhead.12:52
=== freeflying_away is now known as freeflying
Darkstar1How can I increase the hard and soft limit for a user that doesn't have a shell?13:52
Darkstar1I tried editing the limits in limits.conf but that doesn't seem to work13:53
psivaahallyn_: the lxc smoke tets for saucy is failing with similar issues as in bug 1207675 for the last two days. would help if you could take a look.14:08
uvirtbotLaunchpad bug 1207675 in ubuntu-test-cases "test_lxc_api test fails during container creation " [Undecided,New] https://launchpad.net/bugs/120767514:08
hallyn_psivaa: trying to clear some final patches so we can merge 1.0-alpha1 into saucy.  let's wait and see if that merge resolves the issue14:13
hallyn_stgraber: setting up a test of dwight's monitor patch, hoping to send an ack in 15 ins14:14
hallyn_mins14:14
psivaahallyn_: ack, thanks14:14
stgraberhallyn_: cool, thanks14:15
=== blitzkrieg3 is now known as jmleddy
JMichaelX i have a home server running ubuntu 12.04.3. it has 2 audio adapters, one is NVIDIA (digital), and the other is a c-media USB audio adapter. i configured alsa-base.conf to give index 0 to the USB adapter. audio is working, but i cannot adjust volume... using mpd or mocp, etc. any suggestions?14:27
JMichaelXwould installing pulseaudio possibly fix this?14:37
yolandaadam_g https://code.launchpad.net/~yolanda.robla/charms/precise/gerrit/trunk/+merge/18528915:18
=== frankban_ is now known as frankban
=== ahs3 is now known as ahs3_afk
=== baggar11_ is now known as baggar11
smoserhallyn_, trivial bug15:39
smoserhttps://bugs.launchpad.net/ubuntu/+source/lxc/+bug/122454515:39
uvirtbotLaunchpad bug 1224545 in lxc "replace lxc-templates cloud-utils recommends with cloud-image-utils" [Undecided,New]15:39
smoserbiggest change will be not installing 'gdisk' when you apt-get install lxc.15:39
hallyn_smoser: that's only for saucy?15:41
smoseryeah15:42
hallyn_stgraber: ^ when you merge 1.0-a1, can you make that change?15:42
=== frankban_ is now known as frankban
stgraberhallyn_: sure15:43
hallyn_thanks15:44
stgrabersmoser: I'll actually go with "cloud-image-utils | cloud-utils" if that's not a problem since I like having the package backportable without a change to all releases >= precise15:46
nuclearbobstgraber: if you have a chance, can you point me to any documentation you might have on running nested lxc in raring?  I've seen the post you have for precise with the custom apparmor profile, and I'm having trouble figuring how to use the one that ships in raring15:46
stgrabernuclearbob: essentially the same thing as that blog post except that you don't need to write the custom profile and can just set lxc.aa_profile = lxc-container-default-with-nesting in the config and be done15:47
smoserstgraber, yeah, that makes fine sense.15:47
nuclearbobstgraber: if I just use lxc-default-with-nesting, I get No such file or directory, and if I use the full path in /etc, I get Permission denied - failed to change apparmor profile15:49
stgrabernuclearbob: look closely at what I wrote above :)15:51
nuclearbobstgraber: thanks.  I'm bad at details sometimes :)15:51
toabctlI have a problem with pinning on precise together with the ubuntu cloud archive.16:49
toabctlsee http://paste.debian.net/38979/ for my setup16:49
toabctlthe problem is that single package selection does not work16:50
rbasaksmoser: I'm struggling to get a cloud image to dhcp with a client-id of anything other than "ubuntu". Any tips? Do you know if I'm supposed to be able to change this by messing with userdata/metadata?16:53
smoseryou can't change it.16:53
smoserthis should be motivation to do it right :)16:54
rbasakWhat's "right"?16:54
smosercontrolling a dhcp server.16:54
smoserand giving mac:ip address mappings definitively.16:54
rbasakI was hoping to be able to get the IP address out of dnsmasq.16:54
smoserthe reason you can't change 'ubuntu' is that 'ubuntu' is the hostname in /etc/hostname of the un-modified image.16:55
smoserdhclient comes up in parallel with cloud-init finding the non-network datasource that you're providing it with.16:56
smoserand 'hostname' has already been called from /etc/hostname, so dhclient reads hostname() and sends it.16:56
smoserthen cloud-init reads your data, changes /etc/hostname, calls hostname(new-hostname)16:56
smoserbut too late.16:56
smoserthe system you're designing is exactly how azure publishes its hostname :)16:57
smoserin azure, cloud-init has to ifdown and ifup after it sets the hostname, so that a dhcp request with the hostname provided by the cloud platform can then cause dns entries to be updated.16:57
rbasakHmm.16:58
rbasakI have two routes I'm considering then.16:58
smoserie, azure says to instance: "Your hostname should be YYY".  And then instance says to Azure (via dhcp) "My hostname is XXX".16:59
smoserand *then* after that dhcp request, 'host XXX' will resolve16:59
rbasakdnsmasq doesn't have dbus methods to query the mapping, it seems, but does have dbus signals on lease issue. So I could set up a listener and watch for that I guess.16:59
rbasak(for the dnsmasq case)16:59
smoserso if XXX != YYY, then YYY does not resolve.16:59
smosereven though the cloud platform knew that in the first place!16:59
rbasakOr I can watch console output, but that interferes with debugging/the developer a bit since I don't see a way to send console output to more than one place17:00
smoserwhat info does the dbus request get?17:00
smoserone other way is to use a callback / post home.17:00
smoserbut then you have to run a service17:00
rbasakTHe dbus signal will get a (ip, mac, hostname) triple.17:00
rbasak(s/hostname/client-id/ I guess)17:00
smoserthat seems nice.17:01
rbasakIt would be nicer if I could query the internal lease database rather than watch for changes.17:01
smoseryeah. agreed.17:01
smoserdoesn't it keep a leases file ?17:01
smoserthat you could just read?17:01
smoserdo you have to be priviledged to listen ?17:02
rbasakAh, yes. I didn't see it on first glance.17:02
rbasakIt's in /var/lib/libvirt/dnsmasq/default.leases.17:02
rbasakFor a first iteration, I could just hack a parse of that.17:02
rbasakI'll leave space to add other mechanisms later17:02
smoserrbasak, would you have to be privledged to lisen to the dbus signals ?17:05
rbasaksmoser: I'm not sure17:05
rbasaksmoser: I was just reading /usr/share/doc/dnsmasq-base/DBus-interface.gz which has no further infromation.17:06
smoseryeah17:07
rbasaksmoser: every method I can think of to get the IP seems suboptimal in some way. So I'm just going to support multiple methods, with the caller specifying the method, and a default method that I might change in the future. So I'll just do a read from /var/lib/libvirt/dnsmasq/default.leases as an initial hacky method that will get us by for now.17:09
smoserseems an easy enough format.17:10
rbasakSince I can ask libvirt for the instance's eth0 MAC, it should only break if the user isn't using dnsmasq or if the dnsmasq leases format changes somehow.17:10
smoserright.17:11
rbasakEOD. Much progress today. Almost everything jju needs is implemented now I think. With this and managing volume deletions better implemented, I think it'll be generally usable.17:11
mgwAre there any firewall rules I need to be aware of with lxc+macvlan?17:37
mgwI have a rule like this at the top of the container's iptables: -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT17:37
mgwbut it's not catching established connections17:38
mgwinstead it appears they're falling through to my last rule: -A INPUT -j REJECT --reject-with icmp-port-unreachable17:38
=== ahs3_afk is now known as ahs3
adam_gsmb, around?18:11
mgwHow can I load kernel modules inside an lxc container?19:44
patdk-wkyou don't19:45
mgwI just discovered all the ipt_ modules are missing19:45
mgwok, rather19:45
mgwhow can I allow access?19:45
patdk-wkI don't believe you can19:45
patdk-wkload the modules on the host19:45
mgwhmm, maybe that's not my problem19:46
mgwi'm using macvlan networking19:47
mgwmy —state RELATED,ESTABLISHED rule is not working19:47
mgwit works on the host though19:47
mgwbut not in the container19:47
mgwpatdk-wk: any idea what the problem might be?19:49
mgwI've tried both -m state and -m ctstate19:50
mgw    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED19:50
mgwany ideas why a rule like "iptables -m state —state RELATED,ESTABLISHED" is getting ignored inside an lxc container?20:57
tom_ilsinszki_I've installed the command line dropbox client and it works fine if I start it manually, however it is stuck on "Uploading…" if it is started on boot using the init.d script. I've followed this guide when installing: http://ubuntuservergui.com/ubuntu-server-guide/install-dropbox-ubuntu-server21:05
tom_ilsinszki_How should I find out what's preventing Dropbox from starting up properly?21:05
* genii sips and ponders whether to trust a site named ubuntuservergui21:09
=== lifeless_ is now known as lifeless
gartralhey all, what would cause a working, stable server's fs t suddenly go read-only?22:22
gartralhttp://paste.ubuntu.com/6099132/22:24
zottaIs there any reason why someone would use a perl script to fetch the exact same static html file every 30 minutes using a perl script?22:27
sarnoldzotta: it'd give the html server an indication of when the client is alive and on the network..22:28
zottaOk yes22:29
zottabut it's some stranger doing it22:29
sarnoldmaybe he intends to help you maintain the server? :)22:30
sarnold"hey zotta, it's me, looks like your server is down.."22:30
zottathat'd be strange22:31
sarnoldhehe, yes :)22:35
adam_groaksoax, around?22:56
mgw1ok, so i've been messing with macvlan stuff all day, I finally have something working properly, but not the way I want it. I want to host both lxc containers and kvm guests on the same host23:49
mgw1I'm working, at the moment, with a vlan interface — bond0.40023:50
mgw1I need a bridge associated with that vlan interface, for libvirt to use… but I also need to use bond0.400 as the link for my containers' macvlans23:51
=== freeflying is now known as freeflying_away
mgw1however, using bond0.400 when there's a bridge generates an error (device or resource busy)23:52
mgw1and using the bridge itself as the link creates the problems with iptables I spent all day fighting with23:52

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