/srv/irclogs.ubuntu.com/2011/12/20/#ubuntu-server.txt

twbSigh.  So if you have a 1GB server and unattended upgrades, and ubuntu kernels weigh even more than Debian ones (128MB each), you use up a quarter of your disk in a month :-/00:01
=== sixstringsg|noms is now known as sixstringsg
=== sixstringsg is now known as sixstringsg|afk
uvirtbotNew bug: #906654 in nova (main) "nova should depend on openstackx and load appropriate osapi_extensions by default" [Undecided,New] https://launchpad.net/bugs/90665401:23
zuladam_g: you are evil01:25
zuladam_g: while you are still here can you have a look at http://paste.ubuntu.com/775687/01:28
adam_gzul: one sec01:31
adam_gzul: its been so long since ive messed with that  stuff. isn't the userspace daemon required by the initiator utliities?01:39
zulno01:41
zuli dont think so01:41
adam_gah, i remember now.. iscsid is only used to establish preconfigured sessions01:41
adam_gzul: that diff looks good as long as its been tested.  im curious to know if the tgt off-by-one error you guys were looking at was caused by a split brain between nova and iscsiadm?01:44
zuladam_g: yeah basically iscsadm wanting one thing while tgtadm wanting another01:45
zulbut yeah that patch has been tested01:45
adam_gzul: has it been tested after removing iscsid? what i meant was, iscsid restablishing a connection, bumping the lun index before nova had chance01:46
zuladam_g: ill test tomorrow first thing its getting late here01:47
adam_gcool01:48
=== bladernr_ is now known as bladernr_afk
kaushalHi04:53
kaushalis there a way to know list of modules loaded or enabled in apache2 using CLI04:53
kaushalI can see it in /etc/apache2/mods-enabled/04:54
kaushalServer version: Apache/2.2.14 (Ubuntu)04:54
kaushalon 10.04 LTS04:55
=== kermit is now known as Guest53940
shaunokaushal: that's essentially it.  or "apache2ctl -M"05:11
kaushalshauno: thanks05:12
kaushalshauno: what is static vs shared module ?05:13
shaunoI believe static are built-in at compile-time, shared are loadable modules you'll find in mods-available / mods-enabled05:14
kaushaloh ok05:18
kaushalThanks shauno05:18
uvirtbotNew bug: #906735 in puppet (main) "package installation should create /var/log/puppet" [Undecided,New] https://launchpad.net/bugs/90673506:16
=== sixstringsg|afk is now known as sixstringsg|away
osmosisanyone know how to troubleshoot a failing domain resolution?08:39
osmosis$ host btcnearme.com08:39
osmosisHost btcnearme.com not found: 1(FORMERR)08:39
koolhead11hi all09:04
philipballewwhere would i look in my logs to see if someone was messing with my server? or trying to gain access to it10:57
drt24philipballew: /var/log/auth.log, in general many automated bots will be trying to gain access11:01
drt24fail2ban will ban them after a few trys if you have that installed.11:02
philipballewalright, im looking now. Yeah. I might wanna change ssh from 22 sometime11:02
drt24philipballew: changing the port won't really add much security, disabling password based ssh and using key based instead and using fail2ban will provide much better security than changing the prot11:02
philipballewalright. I need to just set up rsa keys again.11:03
philipballewthat isnt hard at all11:03
drt24indeed11:03
philipballewThank you for the help11:04
angelete2hi11:23
angelete2i'm trying to install server 10.04 from a usb stick11:24
angelete2but it breaks because "can't mount cd drive"11:25
angelete2what can i do?11:25
drt24angelete2: is this breaking in the BIOS or later? if in the bios is the boot order set to boot from USB before CD?11:29
angelete2BIOS boot order is only from USB11:29
angelete2it has no cd drive11:29
angelete2installation begins, but it tries to mount cd, so it fails11:30
uksysadminangelete2, I've experience in the past that some USB sticks simply aren't bootable11:30
angelete2i've installed on same server with same usbs stick ubuntu 11.0411:30
angelete2but i need to downgrade it11:30
ikoniaangelete2: down grade what ?11:41
angelete2ubuntu server11:42
philipballewangelete2, try installing from a cd11:55
=== kermit is now known as Guest19518
=== jonludlam_afk is now known as jonludlam_
uvirtbotNew bug: #906878 in tftp-hpa (main) "package tftpd-hpa 5.0-21ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 127" [Undecided,New] https://launchpad.net/bugs/90687813:25
zulgood morning13:52
=== bladernr_afk is now known as bladernr_
=== dendro-afk is now known as dendrobates
alex88hi guys, i'm trying to use ovh failover ip, actually putting ip in browser i see the sites on the server, i need to route that ip to a vm, how can i do that?14:57
alex88should i add before an interface alias?14:58
zulhallyn: around?15:23
hallynzul: yup15:24
hallyn(but not for long)15:24
zulhallyn: is it cool to use lxc-attach with libvirt if you want to attach a block device to a lxc container15:24
hallynzul: I haven't looked at the blockdev support in libvirt-lxc at all15:25
hallynzul: but i shoudl think so15:25
zulim thinking about getting euca-attach-volume to work15:25
dkncan i decrypt an lvm in a script? i want to put a drive in, have the UUID trigger a script that will load the vg, load the lvm, decrypt the lvm, mount, and start a program15:25
zulhallyn: the attach device stuff is non-existant in libvirt-lxc15:25
hallynwell you could always use qemu-nbd and copy the device nodes for it into the container15:26
hallyn(and add a cgroup whitelist entry)15:27
zulhallyn: ooh....thats a good idea15:28
hallynfor persistent libvirt vms that'd be harder, but for one-time euca-attach...15:28
zulhallyn: yeah15:31
zulthanks!15:31
hallynnp, cool, can't wait to see it now :)15:32
SpamapSdkn: you could probably do that with udev rules15:33
dknya?15:33
hallyndecrypt the lvm in what way?15:34
hallynis it dmcrypted?15:34
dkni don't recall the exact method, i actually cheat and use the GUI disk utility and just press "unlock volume" since it remembers the passphrase, then the device shows up in /dev/mapper/HERE15:37
=== dendrobates is now known as dendro-afk
dknbasically, right now i 1.vgimport -a 2.lvchange -a y /dev/mapper/HERE 3.unlock 4. mount /dev/mapper/udisks-luks-uuid-yada /mnt/HERE15:41
dknonce i'm done with the drive ~1hr i do the reverse to take it out and put in the next one, i'd just like to have some scripts to do it, idealy they'd run when i pop the drive in15:42
=== dendro-afk is now known as dendrobates
hallynlike SpamapS said, you can do that from a udev script.  Take a look under /lib/udev/rules.d and /etc/udev/rules.d for examples15:49
dkn:) thanks15:51
=== utlemming_afk is now known as utlemming
=== sixstringsg|away is now known as sixstringsg
PedroGomesHi, semi-noob here. I' seeing a lot info about Ubuntu thin clients booting trough PXE, but what I aiming for is to boot a Ubuntu server image from a remote pre configured image in a way similar to a preseed installation.16:06
PedroGomesany way to do this16:07
TeTeTPedroGomes: works via pxe as well, think help.ubuntu.com contains some pages on it16:18
PedroGomesTeTeT: can have, for example, a installed and configured image that as software X, Y and Z and you can boot it ate the same time on machine 1,2,3 and 4 ?16:20
PedroGomes*can I have16:20
SpamapSPedroGomes: there's a suite of tools in Ubuntu 11.04 and 11.10 called "Ubuntu Orchestra" that help setting up netboot automated installations16:24
SpamapSPedroGomes: It centers a lot around 'cobbler', which has power control and pxe/dhcp configuration built in.16:25
PedroGomesSpamapS: already have foreman doing that…16:25
PedroGomesSpamapS: looking for a direct network boot, not a installation16:26
PedroGomesbtw, can someone find the link to download the tftp config files for Ubuntu, my google skills are not helping me....16:31
TribaalHi folks, I have a litle question regarding vmbuilder - is this the right place to ask?16:31
SpamapSPedroGomes: OH16:37
SpamapSPedroGomes: you may want to look at LTSP16:37
SpamapSPedroGomes: https://help.ubuntu.com/community/UbuntuLTSP16:37
PedroGomesSpamapS: mhh thanks, but isn't LTSP for thin clients only?, making every client depend on a single server. I'm looking for something where I can download the installed image from the server and boot it like it was a installed natively.16:42
smoseranyone want to do a quick merge proposal?16:44
smoserhttps://code.launchpad.net/~smoser/ubuntu/precise/rsyslog/lp905419/+merge/8642916:44
PedroGomesSpamapS: truth is that I feel like chasing a ghost, I remember seeing a similar systems years ago "Rembo", but the license fees…16:44
SpamapSPedroGomes: that sounds a lot like how cloud computing works16:45
SpamapSsmoser: I'll take a look16:46
PedroGomesSpamapS: yep I have a OpenStack installation also, but I was looking for a bare metal solution16:46
SpamapSsmoser: +1'd16:51
Vagisilanyone here ever built an SFTP server on 10.10?  I'm rather new to ubuntu server and need some documentation16:52
SpamapSPedroGomes: openstack is looking at integrating cobbler as a bare metal option17:03
SpamapSPedroGomes: though its more for things like ARM that have no good virtualization support17:03
PedroGomesSpamapS: guided install and puppet was enough for me, but people are pressing me to find a way to deploy installed images17:04
PedroGomesSpamapS: truth is, that systems existed, I just cant find something actual or open source17:05
SpamapSPedroGomes: whats so bad about sticking kvm between the metal and the installed image?17:06
smoserPedroGomes, sorry to jump in, but there is clonezilla and partition image that are (for lack of a better term) "ghost clones"17:08
PedroGomesSpamapS: some people want the system to deploy images where they can test Xen appliances and such17:08
PedroGomesSpamapS: its a cluster for distributed system experiments, some people want Vms other want bare metal….17:09
smoserthere is nothing in cobbler that will do "p2p". those solutions may be a faster than cobbler preseed installs, but cobbler could do what you want.17:09
smoserie, you could create preseed files for each of your "images", then when you install that fully automated preseed the end result is the same.17:09
PedroGomessmoser: I have that, not trough cobbler but foreman, but I have people that want more… thanks anyway17:12
SpamapSPedroGomes: so a pre-seeded install takes, what, 10 minutes at worst? I bet a pre-installed image laying down on disk will take 5.17:13
SpamapSPedroGomes: for test iteration, the openstack QA guys did something clever with LVM snapshots and kexec() that is pretty cool... you might want to talk to them.17:14
jhobbs_preinstalled image you can multicast serve though ;)17:14
=== jhobbs_ is now known as jhobbs
PedroGomesSpamapS: the question is not time, its the personal configuration that you can achieve easily with personal images,17:15
PedroGomesSpamapS: ok I will ask there17:15
PedroGomesjhobbs: ah?17:15
SpamapSPedroGomes: um, you can get that "personal" configuration easily with an install too.17:18
SpamapSPedroGomes: you may not have noticed, but cloud-init works with local seed data now. :)17:19
SpamapSPedroGomes: or you're saying they want golden-image support.17:19
SpamapSPedroGomes: another option is system-imager/sisuite17:19
SpamapSPedroGomes: though I don't know how  well maintained that is.17:19
PedroGomesSpamapS: something like that17:19
PedroGomesSpamapS: another thing to check then17:20
Davieyzul: thanks for driving the meeting, that was perfect.17:23
zulDaviey: no worries17:23
SpamapSPedroGomes: I've used sisuite in the past, and it was really quite good actually.17:23
SpamapSWe had a meeting? cripes.17:23
* SpamapS wonders if its worth requesting it be moved back 1 hour for DST :-P17:24
DavieySpamapS: yeah, it's that weekly thing we do; whilst you slack off. :)17:24
SpamapSDaviey: I cherish every minute of slack off time you all provide me, thx. :)17:24
Davieyheh17:25
DavieySpamapS: I wouldn't object to bumping it forward 1hr, during DST.17:25
zulthat creates a conflict for me17:25
Davieyzul: conflict you say?  I think we need to turn the conflict into a death match with SpamapS.17:26
zulobviously i would win17:27
Davieywinner gets the time of their choice.17:27
Davieyloser gets to rest.17:27
Davieyadam_g: How are the charms looking for openstack?17:28
SpamapSI'm fine with it being at 0800 PDT .. I just never seem to be at my keyboard at that time, so I miss the pop-up reminder and then get distracted otherwise. :p17:28
adam_gDaviey: keystones working great, still cracking on horizon17:29
mainerrorbug 89392617:33
uvirtbotLaunchpad bug 893926 in eucalyptus "Contains traces of UEC" [High,Triaged] https://launchpad.net/bugs/89392617:33
mainerrorIs here someone that can answer my question in the bug comment?17:33
adam_gDaviey: FYI bug #905286 is currently making things a bit awkward to get installed via orchestra without manually work17:34
uvirtbotLaunchpad bug 905286 in juju "orchestra: dict has no attribute read" [Critical,New] https://launchpad.net/bugs/90528617:34
Davieymainerror: hey17:37
Davieyadam_g: Good to hear, have you dicussed the issue with the juju team?17:37
Davieyah, it's a cobbler bug?17:38
adam_gDaviey: yes17:38
mainerrorHello Daviey.17:39
SpamapSmainerror: basically the packages are "branded" as "Ubuntu Enterprise Cloud" or "UEC" .. and they should just be called "Eucalyptus" now.17:39
Davieymainerror: replied17:39
mainerrorAwesome, thanks.17:40
mainerrorThat should be an easy fix.17:40
Davieymainerror: Something you fancy driving?17:40
=== nkv_ is now known as nkv
koolhead17hoi all17:41
=== kermit is now known as Guest26514
mainerrorDaviey: I'm sorry?17:41
Davieymainerror: If it's something you want to work on.. There is a uec branding patch which can be dropped (should remove the css)... and there are other goodies in debian/* which can be dropped.  If you want any pointers, please feel free to ask!17:42
mainerrorWell I have already fetched what is in the repository and greped for "UEC" and "Ubuntu Enterprise Cloud" so find out which files I should look at but if you have more accurate information for me it would be great. :)17:44
DavieySpamapS: have you seen 905286?17:44
Davieymainerror: Have you used quilt before?17:45
Davieymainerror: If you have used quilt and bzr before, if you wanted to propose a branch with a first scratch - we can walk through what is left to go?17:46
mainerrorI have used bzr before, although not to fix a bug- I have not heard of quilt yet.17:47
Davieymainerror: Maybe this is of help, http://developer.ubuntu.com/packaging/html/patches-to-packages.html17:52
Davieymainerror: quilt and bzr make for really messy changesets, but ho hum. :)17:52
Davieymainerror: If you do, /something/ - we'll work through it to get it sorted :)17:52
mainerrorRight. I'll read through that and start fixing the files up then I'll get back to you. :)17:54
mainerrorShould I mark the bug as "In Progress" and assign it to me?17:55
Davieymainerror: sounds great :)17:58
Davieymainerror: in debian/* there are some files which refer to avahi, they can also go. :)17:59
mainerrorDaviey: There are source files that contain "uec" in their name, like "uec_component_listener.c" for example. Do we want to change the file names too?18:14
=== cjwatson_ is now known as cjwatson
SpamapSDaviey: yeah I thought fwereade_ was workign on it18:34
fwereade_SpamapS, Daviey: I've only had a chance to give it a short look I'm afraid, I've been trying to get the groundwork for the machine constraints feature down18:36
SpamapSI suspect a trivial workaround might be in order. :P18:37
fwereade_SpamapS, Daviey: and I don't really know anything yet: *something* in between CobblerClient and cobbler itself is doing something different with xmlrpc18:37
fwereade_SpamapS, I think it might be a little trickier... if the format we get nested dicts in has changed, it seems reasonable to suspect that the send format has changed too18:38
fwereade_SpamapS, which then means we need to be able to characterise the critical difference between environments it shows up in and ones it didn't18:38
fwereade_SpamapS, I can imagine a dirty workaround, but I'm not sure I could get one merged :/18:39
=== kermit is now known as Guest23736
elb0whow do I update repos from shell?19:01
elb0wnvm apt-get update did it19:02
=== sixstringsg is now known as six|afk
=== bitmonk_ is now known as bitmonk
=== Guest23736 is now known as kermit
=== bitmonk_ is now known as bitmonk
mainerrorDaviey: There is quite a lot of avahi stuff going on in debian/*20:31
=== dendrobates is now known as dendro-afk
mustafaI am having a problem with a PHP project which connects to mysql database, the site gives me error that the database is down. While it worked flawlessly on windows machine running xamp. Any ideas?21:27
=== dendro-afk is now known as dendrobates
mainerrorIs the database down?21:27
mustafaHowever normal PHP files, which  doesn't use mysql databases work fine.21:28
mustafamysql-server is running. And I created the database through phpmyadmin. When I tried using mysql-admin -h host_ip I got an error that mysql couldn't read hostname.21:29
EvilResistancemustafa:  where is the mysql-server instance?  on a windows machine or a linux machine?21:30
EvilResistance...21:30
EvilResistancei know your current issue21:30
mustafaLinux, Ubuntu.21:31
EvilResistance<mustafa> EvilResistance: No, it was already setup. I did change the bind-address to localhost. I'll check the skip-networking now.21:31
EvilResistanceif its only binding to localhost it'll only accept connections from itself21:31
mustafaOn the windows machine it was already setup. But I'm trying now to configure it on my Ubuntu machine.21:31
EvilResistancemustafa:  you need to make sure skip-networking is commented out or removed in the conf file21:32
mainerrorUh? Did I miss that line somehow?21:32
EvilResistancemainerror:  he's violating the guidelines...21:32
EvilResistancegetting help in #Ubuntu and here21:32
EvilResistancei'm moving my support for him to here ;P21:32
mainerrorOh!21:32
mustafaEvilResistance: there is a comment "Instead of skip-networking the default is now to listen only on localhost"21:33
EvilResistancethen tell it to not listen on localhost21:33
EvilResistancerather listen on your IP21:33
EvilResistancewhatever your system's IP might be21:34
mustafaEvilResistance: no uncommented #skip-networking21:34
EvilResistancemustafa:  read my last 3 messages21:34
mustafaEvilResistance: which is 127.0.0.1 right?21:34
* EvilResistance facedesks21:34
EvilResistancemustafa:  no21:34
EvilResistancemustafa:  127.0.0.1 is the *localhost*21:34
EvilResistanceif you're on a router, it'd be something like 192.168.1.1 or something21:34
EvilResistanceor if its directly internet facing, the public IP (which you should know if its internet facing)21:35
mustafaEvilResistance: Ah 192.168.1.2021:35
EvilResistanceuse that for now then21:35
EvilResistancenote that you might run into some occasional breakage if you eventually want this to be useable on the internet21:35
mustafaEvilResistance: OK, I have changed the bind-address. Then restarted mysql and apache and still the error is there.21:36
mustafaI installed the apache2, php5, mysql-cleint then mysql-server and finally the phpmyadmin. All using apt-get. I'll really appreciate your help, I have a discussion tomorrow at college on this project using my laptop.21:38
mustafaEvilResistance: Are you still there?21:43
EvilResistancenope, kinda busy atm21:44
EvilResistancedealing with some abuse@ emails for my group21:44
mustafaTake your time, I'll be waitting :)21:44
drt24mustafa: so if you try to access mysql from the command line on the box which php is running on, can you?21:50
=== six|afk is now known as sixstringsg
mustafadrt24: How can I know?21:56
drt24run the "mysql" command with the relevant options and see if it works, if not change things until it does, then the configuration specified by the opitions to mysql should also work from php using the relevant php function21:58
mustafadrt24: I am little bit lost. The server is running, but when I use mysql-admin -h host_ip I get that error "Could not connect to host '192.168.1.20'.22:01
mustafaMySQL Error Nr. 113022:01
mustafaAnd that the host isn't allowed to connect to mysql-server22:01
drt24so firewalls or similar?22:02
mustafaNot that I know of, I'm running Ubuntu 11.10 Desktop edition.22:02
drt24or the mysql-server is not listening correctly?22:02
drt24sorry, going to sleep now.22:03
mustafaOK, if you could wait little more 5 min. I'll appreciate it I a project discussion tomorrow at college and I have been searching and asking for 6 hours now with no luck.22:04
mustafaIf not I'll understand..22:04
alex_jonimustafa: so you have 2 pc's?22:07
alex_jonior is everything on one pc?22:08
mustafaalex_joni: One PC. I tried it earlier today on a friends PC. Just moved the site files to the apropriate folder and imported the database from phpmyadmin22:12
mustafaalex_joni: I am using a custom path for enabled sites if that helps.22:14
=== EvilResistance is now known as TheEvilPhoenix
koolhead17in /etc/mysqlmy.cnf  bind-address            = 0.0.0.0 would have solved it22:52
koolhead17 22:52
TheEvilPhoenixtrue, but that would have bound it to * basically, no?22:53
=== bitmonk_ is now known as bitmonk
koolhead17well as far as i understand this enables the server accept connection from any external host22:56
=== nande is now known as nandemonai
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== TheEvilPhoenix is now known as EvilResistance
wmphello23:48
wmpi use ubuntu server 10.04 and i have route configured on ip command, how to save this and restore on boot?23:48
wmpi havent in 10.04 ip route save/restore23:49
=== guampa|2 is now known as guampa

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