/srv/irclogs.ubuntu.com/2012/02/04/#ubuntu-server.txt

kerframilChrysippus: I'm tuning out; perhaps another time00:02
ChrysippusThanks for the time.00:04
LazerathHello, I have ubuntu server on a 7 disk scsi raid stack. I recently moved and when i turn the server on i get a grub shell.00:04
Lazerathgrub is on the hd0,1 disk,part00:04
Lazerathwell boot is actually /00:05
Lazerathand it is there00:05
SpamapSadam_g: pong, sup?00:06
Danny_Jorishi, I have an ubuntu vm. My vbox is set up to use eth1 (airport) but when I do ifconfig it seems like it's trying to use eth2, which isn't defined. When I modify /etc/network/interfaces all eth1 to eth2 , I can use the ip address. But only at work, and not at home. Any idea why?00:06
Danny_JorisI'm home now and want to use my vm, but I can't access it through the host browser00:06
Lazerathhmm well??00:07
adam_gSpamapS: was wondering about the ceph charm, does it currently configure ceph do be capable of serving RBD?00:14
SpamapSadam_g: in theory, yes00:16
SpamapSadam_g: but it does not do any security00:16
SpamapSadam_g: the only thing I've tested is the RADOS S3 frontend, which works fine00:17
SpamapSadam_g: also the latest release has a much simpler way to configure the 'mon' servers, so the charm needs updating for that00:17
adam_gSpamapS: hmm. okay. was just wondering wrt nicks comments on bug #923986, it looks like that might be a wishlist for the time being00:18
uvirtbotLaunchpad bug 923986 in charms "Charm needed: nova-volume" [Undecided,New] https://launchpad.net/bugs/92398600:18
SpamapSadam_g: it may need to be higher than that, as ceph actually has a better chance of working in lxc than lvm00:22
adam_gSpamapS: the object-store interface probably, but configuring and using RBDs in a container is probably no easier than LVM00:23
adam_gSpamapS: AFAIK, when configured for ceph backend, nova-volume uses RBD pools instead of volume groups00:24
SpamapSadam_g: right, which at least would just be a network resource. LVM is not namespaced by LXC, so the vg's have to be globally unique.00:27
SpamapSadam_g: I have time allocated later in the cycle to improve the ceph charms.. I think this would be a good goal.. to make it work.00:28
adam_gSpamapS: sure00:30
adam_gSpamapS: in terms of merging the charm, is it reasonable to block on that?00:31
SpamapSadam_g: no way00:33
draikxHow can I set the default site for my Ubuntu server when I get to it with an IP address?00:37
pmatulisdraikx: default site?00:38
draikxI have 2 sites enabled. /var/www/{domainA,domainB}.com/00:38
draikxI want domainA.com to be the default, not domainB.com00:38
SpamapSadam_g: I'll take a look at the charm on Monday... the only thing that should block it is if it is totally broken or lacking proper documentation of copyright/license.00:41
adam_gSpamapS: no rush, we're using regarldess :) was just curious about the ceph stuff00:43
pmatulisdraikx: sounds like you're talking about web sites, and probably apache00:43
draikxpmatulis: Yes, that is correct.00:44
Lazerath +-966-00:44
SpamapSadam_g: it will happen.. should be fairly straight forward actually00:50
=== erichammond1 is now known as erichammond
omeI managed to lose all /etc/apache202:12
omeand reinstalling/purge apache2 didn't help.02:12
omeHow would I get them back ?02:12
ome!help02:13
ubottuPlease 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 !patience02:13
omeAh solved.02:14
shaunoome, you found apache2.2-common?02:16
omeshauno: yup that was the solution. I was only purging the apache2 and not apache2.2-common. /faceplam.02:21
Psi-JackHmm03:19
Psi-JackAnyone here savvy with AppArmor?03:19
=== cloakable_ is now known as cloakable
=== onekenthomas is now known as kthomas_vh
=== kthomas_vh is now known as onekenthomas
Psi-JackI'm trying to figure out how I'd even begin to start coming up with apparmor profiles for pacemaker, which actually runs multiple server processes along with it, starting with /usr/sbin/corosync, and /usr/lib/heartbeat/stonithd|cib|lrmd|attrd|pegine|crmd04:34
omeI mod php5 enabled, but still my php pages gets downloaded, I have AddHandler and AddType set as well.04:45
omes\I\I have04:45
hallynjjohansen: thanks!  both lxc+apparmor bugs are fixed by your new kernel05:11
hallyngary_poster: ^05:11
hallynstgraber: ^ *and* i'm no longer seeing those mysterious errors in syslog05:12
Psi-Jackhallyn: Hmmm,05:46
hallynPsi-Jack: (i'm closing down for the day - ttyl)05:54
draikxI installed python-rsvg, but I can't find the binary to run it. What am I overlooking?06:31
electroonhello everyone08:03
linociscohi11:38
linociscohello11:39
linociscoas I have no desktop to install server, I am now trying to install 10.04 LTS on my Lenovo B450 laptop. During the installation, it said no network driver found. what to do ? where to download ?11:40
LcawteGrrr, I've tried like a hundred and one tutorials, and still nothing, does anyone have a link to a guide that lets me have local & virtual mailboxes?11:59
RoyKLcawte: life begins at 10212:57
RoyK!mailserver12:57
ubottuUbuntu supports the Simple Mail Transfer Protocol (SMTP) and provides mail server software of many kinds. You can install a basic email handling configuration with the "Mail server" task during installation, or with the "tasksel" command. See also https://help.ubuntu.com/community/MailServer and https://help.ubuntu.com/10.04/serverguide/C/email-services.html12:57
RoyKLcawte: what mailserver? dovecot? cyrus? courier?12:58
LcawteRoyK: I don't really care, as long as I can have virtual mailboxes/users...12:59
RoyKok, so you haven't chosen one?12:59
RoyKAFAIK all of them support virtual users...12:59
LcawteNo... I've read a dozen and one guides (including a bunch off the Ubuntu wiki, got close, but they never completely work)12:59
RoyKso have you tried dovecot and virtual users?13:00
RoyKhttp://bit.ly/yNkuhC13:00
LcawteYes, atleast two different guides..13:01
RoyK!ask13:02
ubottuPlease 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 !patience13:02
RoyKwell, if you can ask a question about an issue instead of just whining, maybe someone can help...13:02
* Daviey says hello14:03
LcawteRoyK: ok, so I've just followed a guide with Courier + postfix, I go to add it with my mail client etc, I get past thunderbird's first attempt at checking the account, then when I click the inbox, theres a popup asking for my password, I've tried teh password I set it to in mysql & the encrypted version, but it doesn't like it..14:20
LcawteFeb  4 14:20:34 lcserv imapd: LOGIN FAILED, user=lewis, ip=[::ffff:81.111.40.66]14:21
koolhead17hi all15:29
RoyKLcawte: still, the way of asking for help in here, is to be specific, as in problems with courier + postfix, and then the exact error message and pastbinning the config etc, but NOT whining about having tried a million HOWTOs and how bad the weather might be15:58
njbairI want to create a startup/shutdown job specific to my application on a particular server. should I make an init.d script or is upstart something different?16:29
dravekxnjbair http://upstart.ubuntu.com/16:40
virusuyhowdy16:46
KristianDKI'm having troubles setting up a bridged environment for KVM. I successfully have br0 running, but without "bridge_ports eth0", when i set that and run ifup br0, the entire network crashes and i have to manually edit the file by mounting the disk from another OS and changing /etc/network/interfaces16:59
KristianDKAny idea how to debug this?16:59
SpamapSKristianDK: what release of Ubuntu is this?17:21
KristianDKSpamapS, 11.10 ;)17:22
SpamapSKristianDK: when you say crashes, what do you mean?17:22
KristianDKSpamapS, well, good question. Its a hosted dedicated server, and i loose connectivity17:23
KristianDKtried to reboot it, but with bridge_ports eth0, there is no way that I can access the host via its normal IP17:23
SpamapSKristianDK: well no wonder. :)17:23
KristianDKSpamapS, what do you mean :) ?17:24
SpamapSKristianDK: you probably want NAT mode for that. If I were your provider, I'd cut off a network port that is sending packets from unknown MAC's too. :)17:24
SpamapSKristianDK: if your provider gave you enough IPs, you don't even need NAT, you can just go routed. How many IPs do you have?17:25
KristianDKSpamapS, I have a /26 subnet, so around 62 free Ips, so I do have enough - what I am trying to do is indeed a routed setup, I thought that was what I was doing17:26
SpamapSKristianDK: you don't use a real bridge for routed setups17:26
SpamapSKristianDK: you want a virtual bridge with no real ports.17:27
Patrickdkyou can always go proxy-arp mode also :)17:28
SpamapSKristianDK: since I doubt you'll need to run 62 VMs on one server, you can just segment to a /30 and put one of those IPs on the virtual bridge, then point all the vms at it as their default gateway, and route normally.17:28
Patrickdkthen you don't need to loose any ip's17:28
KristianDKSpamapS, ok, I follow you, so how do I make a virtual port instead of a physical port? virtual_bridge_ports eth0? :D17:28
SpamapSPatrickdk: yeah I'd suggest that if he needed all 62 inside the bridge17:28
SpamapSKristianDK: I'd just let libvirt do this for you17:28
KristianDKPatrickdk, I already set sysctl -w net.ipv4.conf.br0.proxy_arp=1 if thats what you mean?17:30
KristianDKSpamapS, how would libvirt do this for me?17:30
KristianDKthat would indeed be optimal17:30
SpamapSKristianDK: http://libvirt.org/formatnetwork.html  ... see the 'Example Routed network config'17:31
SpamapSKristianDK: you'd create that xml, with your values instead of theirs, and then 'virsh net-create yourfile.xml'17:31
SpamapSKristianDK: libvirt seriously makes this a bazillion times easier. :)17:32
KristianDKSpmapS, if i then create a host on this virtual network, then I just set network settings as it was connected directly to the router, except gateway is the KVM host?17:32
KristianDKSpamapS *17:33
SpamapSKristianDK: right. If you're going to be creating a lot of hosts, its probably easier to just setup DHCP in the libvirt network definition17:35
KristianDKSpamapS, Its no problem if I can set it up like that, I will anyway use puppet to configure the hosts, once i get some network to them :D17:36
SpamapSKristianDK: automation is your friend. :)17:38
KristianDKyeah :)17:38
KristianDKanyway, got connection to the thing again, will just try the link you sent right away :(17:39
KristianDK:) *17:39
KristianDKSpamapS, I can safely remove <dhcp>……</dhcp> right?17:41
SpamapSlol17:54
stgraberhallyn: cool!17:57
KristianDKSpamapS, i still cannot connect from the VM to the KVM host - however, the KVM host at least does not crash right now :)18:10
SpamapSKristianDK: did you segment the network appropriately?18:13
KristianDKSpamapS, you mean set the right gateway/subnet settings for both host and VM?18:15
SpamapSKristianDK: right18:25
SpamapSKristianDK: as I suggested, its probably best to put the vms into a smaller segment.. unless you do actually plan to create more than 30 vms. ;)18:26
KristianDKSpamapS, I do actually plan to do so :)18:26
KristianDKBut why would that be easier:18:26
SpamapSKristianDK: because then you don't have to deal with proxy arp18:27
SpamapSKristianDK: how big is this dedicated server??18:27
KristianDKSpamapS, well, it is pretty big, but the VMs are gonna be really small instances, like 256 mb ram/each18:28
KristianDKSpamapS, I will just try to make a paste bin with the network config18:29
SpamapSKristianDK: I am dubious at the usefulness of such a limited machine.. but sounds interesting anyway. :)18:29
SpamapSKristianDK: I will be signing off soon, but good luck. :)18:31
uvirtbotNew bug: #680248 in vlan (main) "Random VLAN subinterfacess fail to come up " [Undecided,Fix released] https://launchpad.net/bugs/68024818:31
uvirtbotNew bug: #802950 in txaws "no gui visible in unity" [High,Confirmed] https://launchpad.net/bugs/80295018:31
uvirtbotNew bug: #810600 in juju "Ambiguous endpoints error in ensemble add-relation or remove-relation is confusing" [Undecided,Fix released] https://launchpad.net/bugs/81060018:31
uvirtbotNew bug: #812343 in juju "formula exec env should include DEBIAN_FRONTEND=noninteractive" [Low,Fix released] https://launchpad.net/bugs/81234318:31
uvirtbotNew bug: #814987 in juju "resolved always executes hooks" [High,Fix released] https://launchpad.net/bugs/81498718:31
uvirtbotNew bug: #831058 in juju "orchestra FileStorage assumes no authentication required" [High,Fix released] https://launchpad.net/bugs/83105818:31
uvirtbotNew bug: #869945 in juju "upgrade broken for local provider" [Medium,Fix released] https://launchpad.net/bugs/86994518:31
uvirtbotNew bug: #872378 in juju "Provisioning agent stops watching machine changes in ZK" [High,Fix released] https://launchpad.net/bugs/87237818:31
uvirtbotNew bug: #873335 in juju ""network is already active" error when bootstraping with the local provider" [Medium,Fix released] https://launchpad.net/bugs/87333518:31
uvirtbotNew bug: #873540 in juju (universe) "Package needs to recommend all components necessary for operation of the local provider." [Undecided,Fix released] https://launchpad.net/bugs/87354018:31
uvirtbotNew bug: #873643 in juju "config values are re-set to their default values when only one is changed" [High,Fix released] https://launchpad.net/bugs/87364318:31
uvirtbotNew bug: #892548 in juju "missing "us-west-2" in schema definition" [High,Fix released] https://launchpad.net/bugs/89254818:31
uvirtbotNew bug: #926550 in juju "No way to test proposed updates to juju" [High,Triaged] https://launchpad.net/bugs/92655018:31
uvirtbotNew bug: #926772 in spamassassin (main) "no icon visual in unity and unity 2d" [Undecided,New] https://launchpad.net/bugs/92677218:31
KristianDKSpamapS, yeah, its supposed to be used for product demos ;)18:31
KristianDKbut thanks a lot for your help18:31
uvirtbotNew bug: #905872 in juju (universe) "Cannot connect to EC2 instance after bootstrap" [Undecided,Incomplete] https://launchpad.net/bugs/90587218:32
SpamapSuvirtbot: welcome back to earth... thanks for the flood18:32
uvirtbotSpamapS: Error: "welcome" is not a valid command.18:32
KristianDKSpamapS, in case you are still here, this would be the ifconfig of the KVM host: http://pastebin.com/yJLtr1ae18:34
SpamapSoh wow.. cache='unsafe' is *awesome* for building a test VM18:55
SpamapSKristianDK: ifconfig is a deprecated command. You would be well served by learning the 'ip' command18:56
KristianDKSpamapS, what does cache=unsafe do?18:56
KristianDKand ill check that one out then :)18:56
KristianDKSpamapS, hmm, ip adds gives me the following for the virtual bridge i created: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN19:02
SpamapSKristianDK: cache=unsafe allows the VM to just use the host's buffer cache for writes19:06
SpamapSWhich is great when you're testing the Ubuntu installer 12 times a day ;)19:06
SkaagI have a directory I can't list, it stalls when I ls within that directory19:06
Skaagany ideas what tool can help me look in that directory in a way that won't make the shell stall?19:07
KristianDKSpamapS, i see LD19:09
KristianDK:D19:09
ZalSkaag, perl/python?19:09
ZalSkaag, the find command will also probably work19:11
Skaagdoesn't work, an strace shows: lstat("cookie7IkFny", {st_mode=S_IFREG|0600, st_size=0, ...}) = 019:11
KristianDKSpamapS, ok, now i have some progress - i can actually ping and SSH into the vm from the host with the public IP, however, the VM cannot access the internet, and my local computer can't access the public IP of the VM either19:11
Skaagthere's millions of such cookie files in the directory :-(19:11
ZalSkaag, what doesn't work?19:12
Skaagfind stalls as well19:13
ZalSkaag, what find command are you using, and what error does it produce?19:13
SkaagI use /usr/bin/find19:13
ZalSkaag, with what parameters19:13
Skaagno parameters19:14
ZalSkaag, find requires that you specify a path, at the very least19:15
Skaagfind var/ of course19:16
ZalSkaag, and what is the error?19:16
Zal(and surely you don't want to list ALL of var/?)19:16
Skaagthere's no error, it just takes forever to list files19:16
Skaagthis is not the system's var19:16
ZalSkaag, well sure, what do you expect?19:16
Skaagit's the var/ directory if a web app19:17
Zalok19:17
Skaagwell, I am looking for a way to list files that will not wait to sort all files in the directory, and just show me what it fines one by one, even if the directory contains billions of files19:17
Zalfind doesn't sort19:17
SkaagI don't understand then why it waits forever before starting to display the first file19:19
ZalSkaag, I don't either, I've never seen that behavior with "find". Is there a specific file you're looking for?19:19
Skaagi want to make a list of all the files beginning with cookie* so I can erase them19:20
ZalSkaag, does 'find var/ -name "cookie*"' also fail to display anything immediately?19:24
KristianDKyay, it works :D19:24
KristianDKis there any way that i can tell vmbuilder what virtual network to use? --bridge doesn't seem to work19:25
OldManMagnushi. i'm trying to write some simple php extenstions using this guide... http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/#Heading6 I've got everything set up and compiled and the guide tells me to copy it to /usr/local/lib/php/extensions/ which just doesn't exist on ubuntu. i'm not having much luck finding it either. anyone here know where to put my .so files?19:59
qt-dsawhich ubuntu server uses little memory ?20:21
benceranybody from -server team at fosdem?20:26
Skaagzal: yah, with -name it works, because the expansion doesn't go through bash (which chokes on it)20:34
=== KristianDK_ is now known as KristianDK
jcastrosmoser: your bug is invalid because the AMI browser went away and we just direct link to cloud-images.u.c22:09
jcastroand it's obvious in that interface that 12.04 is alpha22:09
uvirtbotNew bug: #912589 in txaws "pytz should be dropped for dateutil as soon as epsilon is dropped for dateutil" [Low,Fix committed] https://launchpad.net/bugs/91258922:21
=== semiosis_ is now known as semiosis
=== AntORG_ is now known as AntORG
=== klaas_ is now known as klaas

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