/srv/irclogs.ubuntu.com/2011/03/22/#ubuntu-server.txt

RoAkSoAxSpamapS: yes http://paste.ubuntu.com/583586/00:09
RoAkSoAxSpamapS: found the error00:12
* RoAkSoAx really needs some eye rest00:12
SpamapS1923  bind(12, {sa_family=AF_FILE, path="/var/run/mysql1.sock"}, 110) = -1 EACCES (Permission denied)00:17
SpamapSthat?00:17
SpamapSOi.. super late.. have to run00:17
=== WinstonSmith_ is now known as WinstonSmith
knoxyhi all.. How can I do to install Ubuntu Server in my HP Proliant DL120 G6 using the Smart Array B110i SATA? I'm trying, but the ubuntu can't detect my logical drives...00:31
iggiCan anyone help me with an weird apache issue? I can see it listening on port 80, but when I try to view the web page I get The server is taking too long to respond.01:07
twbiggi: you're testing with "curl -v http://127.0.0.1/" ?01:07
RoyKomg... someone in .jp tweeted http://transport.nilu.no/products/fukushima01:12
* RoyK is in severe need for sleep01:13
=== dendrobates is now known as dendro-afk
=== michael is now known as Guest54372
iggitwb: No, I am trying from a remote machine. It worked fine, I restart the host and then it gives me this01:55
iggitwb: I tried stop-start, restart. Checked configs, etc.01:55
=== dendro-afk is now known as dendrobates
smoserkirkland, ubuntu uec image faile dto build with:02:11
smoserVMBuilder.exception.VMBuilderException: Process (['chroot', '/tmp/vmbuilderwWI9QQ/root',02:11
smoser'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'console-setup']) returned 2.02:11
smoserstdout: , stderr: md5sum: /usr/share/console-setup/vtrgb: No such file or directory02:11
smoserupdate-alternatives: error: alternative path /etc/console-setup/vtrgb doesn't exist.02:11
kirklandsmoser: hmm02:24
kirklandsmoser: okay ... I wonder why that file isn't found02:24
kirklandsmoser: can i see smore logs?02:25
kirklandsmoser: i think this should be easy to solve with some more log02:27
kirklandsmoser: nevermind, i think i see it02:31
kirklandsmoser: uploading a fix02:38
kirklandsmoser: thanks; fix uploaded02:41
smoserkirkland, well, might be fixed might not be02:46
smoseri just realized that 0.11 vmbuilder copies /etc/console from the host to the target02:46
smoserwhich i think is disgusting02:46
smoserbut works without issue from lucid -> karmic, lucid, maverick, natty (until today)02:47
smoseror at least without issue that i know of02:47
smoseroh, and add hardy to that list02:47
kirklandsmoser: hmmf02:47
kirklandsmoser: yeah, that's pretty bad02:47
lifelessSpamapS: hey03:08
lifelessSpamapS: can has lucandra?03:08
lifeless:>03:08
* lifeless is all want want want03:08
SpamapSlifeless: !WINNING03:10
SpamapSlifeless: can you point me to the install HOWTO?03:11
lifelessof course03:14
lifelesshttps://github.com/tjake/Lucandra03:14
lifeless(its really solandra now, but he hasn't renamed it)03:14
lifelessFrom the Solandra base directory:03:14
lifelessmkdir /tmp/cassandra-data03:14
lifelessant03:14
lifelesscd solandra-app; ./start-solandra.sh03:14
SpamapSheh03:15
* SpamapS starts looking for jars03:15
lifelessAIUI we'll need to run two clusters03:15
SpamapSlifeless: I've been having trouble w/ Cassandra 0.7.4 .. it doesn't like one of the lib versions in maverick/natty03:15
lifelessone random partitioner03:15
lifelessand one solandra w/ordered partitioner03:15
SpamapSordered because it will be time-archived right?03:15
lifelessso it may make sense to just have different packages with different data dirs etc - so that devs can have a 1-node cluster of both by apt-get install03:16
SpamapSlifeless: I think *all* of its dependencies except cassandra are already in the archive.. +++03:16
SpamapSof course.. they've been very explicit about versions.. because java people don't know how to do forward/backward compatibility.. so hopefully there's an extensive test suite. :-P03:17
lifelessSpamapS: I'll drop matt a mail asking to confirm this, concrete data is a little hard to get03:17
SpamapSahh no such luck.. needs thrift too03:19
SpamapSlifeless: hopefully somewhere between puppet, lxc, and ensemble, we can have a dev story that involves a more realistic environment. :)03:25
lifelessSpamapS: mmmm03:27
twbDidn't you know?  "Enterprise" means you ship a distro worth of deps in /opt, so you know you get the tested versions of same!03:27
lifelessSpamapS: -very- unconvinced03:27
twbWhat's ensemble?03:28
lifelessSpamapS: love ensemble, but test suites requiring -that stack- - not keen03:28
SpamapSlifeless: what stack?03:29
SpamapStwb: service management tool..  https://launchpad.net/ensemble03:30
lifelessSpamapS: lxc etc03:30
SpamapSlifeless: lxc is integrated fully into natty and can run lucid as a guest w/ minimal tweaking..03:30
lifelessSpamapS: 'make check' spinning up containers, debugging, etc - not going to be pretty03:30
SpamapSlifeless: I dunno.. its being written with just this sort of story in mind03:31
lifelessSpamapS: I'm sure it /can/ be done; the question is why would you want to.03:31
lifelessSpamapS: so not interesting. Fantastic deployment story.03:31
lifelessdev cycle story, I just don't get it.03:31
SpamapSlifeless: to stop the cascade of failures that happen when dev assumptions cause QA/production fail03:31
twbThat's an Canonical-driven project?03:31
SpamapStwb: its an experimental thing righ tnow03:31
twbOK, then I stop caring :-)03:32
SpamapStwb: been under dev for a while.. just now functional03:32
lifelessSpamapS: thats a pipeline scenario, not a unit test scenario03:32
twbI can't think of much Canonical has funded that I actually like03:32
lifelesstwb: not even Ubuntu ?03:32
SpamapSlifeless: I tend to think the closer you can make a dev's environment to reality, the less translation problems you will have.03:32
twbI hate ubuntu03:32
lifelesstwb: ...03:33
SpamapSfine line between love and hate03:33
twbI use it because 1) management/customers won't go for Debian; and 2) at least it isn't RHEL/CentOS/SLES.03:33
lifelessSpamapS: if you do a pareto analysis on LP severe problems, its lack of automation + high latency reporting, not being 'like production'03:33
SpamapStwb: to be fair, I'm fairly certain that you don't like *anything*03:33
twbOh definitely03:33
lifelessSpamapS: remember, we can't use production data (data protection act), and to detect problems you *need* 300GB of DB.03:34
lifelessSpamapS: I want test suites that can run a single test in < 3-4 *seconds*03:34
SpamapSlifeless: agreed its hard to detect log(n) scaling problems when n is 2. ;)03:34
lifelessSpamapS: I just don't see a big stack, no matter how good, participating in that story.03:34
SpamapSlifeless: the stack would already be running the pieces that don't need updating...03:35
lifelessSpamapS: apt-get install does that pretty well03:35
SpamapSlifeless: and if your machine sucks.. some of the items can spin up in EC2/private cloud for better scale out during the tests03:35
lifelessSpamapS: thats massively slower again03:35
SpamapSlifeless: unless the nodes are already spun up and you're just slapping a container on top03:36
lifelessSpamapS: I repeat, I can see how you *can* do this, I don't see why I'd *want LP devs doing it*03:36
SpamapSInteresting. launchpad is I'd say one of the more complex deployments.. and yet its still desirable to have a machine that can do it all.03:37
SpamapSI would not think that.03:37
lifelessSpamapS: there are, IMO, three deployment scenarios03:37
lifelessSpamapS: local dev fast-iteration03:37
SpamapSI would think you'd want the deploy and test to be the same thing w/ different HW. :-P03:37
lifelessSpamapS: entire-complex iteration (CI tool, etc)03:38
lifelessSpamapS: and production (qastaging, edge, production itself etc)03:38
SpamapSIts sort of the opposite of what many web dev shops are doing now w/ Vagrant and other tools03:38
lifelessSpamapS: These three things have vastly different confidentiality, performance, *accessability* and debugging characteristics03:38
SpamapSBut that may be because their code is not as easily configurable as LP03:39
lifelessSpamapS: an example; we don't want a breakpoint in a production server instance, ever.03:39
lifelessSpamapS: but during a test iteration and fiddle - almost certainly.03:39
SpamapSRight.. I guess my point is that in order to make this work.. I assume you have a set of static "local" configs that have to be maintained in parallel w/ the production ones, yes?03:40
lifelessSpamapS: I don't see having to rsync to an lxc container to add that being a benefit for devs, and I don't see any substantial risk for the inner loop being done on local stuff03:40
SpamapSrsync? no no no03:40
SpamapSsnapshot, boot03:40
lifelessSpamapS: how many seconds will that take?03:41
lifelessSpamapS: best case03:41
SpamapSdepends on your snapshotting tech03:41
lifelesssay snapshotting is free03:41
SpamapSif you're on LVM or btrfs, closer to 0 than 103:41
lifelessSpamapS: and you're snapshotting your /home ...03:41
SpamapSShould work similar to schroot, but with network separation.03:41
SpamapSYes03:42
lifelessso, a pretty big burden, IME03:42
lifelessits unnessary for 99% of things developers have to do03:42
SpamapSsnapshotting doubles write load03:42
lifelessSpamapS: I'm talking complexity03:42
SpamapSI have looked into another machine type of just "local"03:43
lifelessSpamapS: LP is massively complex already. Adding another complex stack to it makes it even harder for devs to get their head around it03:43
SpamapSwhere it just deploys the formula locally03:43
lifelessSpamapS: I don't want devs having to even consider all the multi-machine stuff03:43
lifelessit should be behind APIs that they call, fin.03:43
lifelessSpamapS: remember too that we're really not in a cloud deployment story: 300GB db's, multi terabyte archives - these things don't play all that nicely with VM's :)03:44
SpamapSlifeless: the idea is that they'd just model the way their service relationships.. the api would be "ensemble deploy-stack launchpad" and their environment would define how to do snapshots or chroots, or lxc's or spawn ec2's ...03:45
SpamapSerr03:45
SpamapSthe way their services relate03:45
lifelessSpamapS: right, or we just don't do anything.03:45
lifelessSpamapS: and developers continue on happy as a happy thing.03:45
SpamapShappy but breaking stuff because they test on maverick and deploy onto lucid?03:45
lifelessSpamapS: they don't03:45
lifelessSpamapS: we break stuff, but not for that reason03:46
* SpamapS puts on old school non-devops sysadmin hat03:46
lifelessSpamapS: your story here is a non-issue for LP.03:46
SpamapSyou break stuff because thats what developers do!03:46
* SpamapS takes hat off03:46
SpamapSlifeless: you guys have already solved this03:46
lifelessSpamapS: we break stuff because we don't have automation where we should; and bringing up new instances of scale-out components is one of those areas.03:46
SpamapSlifeless: so indeed, LP is not in need of better service management, nor is it targetted at the cloud...03:47
lifelessI'm very interested in ensemble for the scalable components03:47
lifelessjust not for developers (they don't need to scale a deployment locally, not by default), and probably not for CI (though it is a possibility)03:47
SpamapSlifeless: the lifecycle ensemble is trying to ease is    develop single instance web app on laptop -> deploy onto ec2 -> scale out on ec2 -> get successful and try to bring in house03:48
lifelessSpamapS: I don't get it :)03:49
lifelessSpamapS: I don't understand the link between the first step and the rest03:49
SpamapSlifeless: thats the lifecycle we hear about when talking to startups who are stuck on ec203:49
SpamapSlifeless: you don't get it, because you write modular, configurable code...03:50
SpamapSlifeless: the ruby kids aren't really as mature in those skills.. ;)03:50
SpamapSlifeless: also you have *the entire Canonical Platform Team* at your beck and call  ;)03:52
lifelessSpamapS: I wish, oh what I could do ...03:52
lifelessSpamapS: seriously though, yes, we write code thats designed to be deployable03:53
SpamapSYeah, so the ruby kids write stuff and want to test the deploy fast.. faster than they can by deploying to EC203:53
SpamapSright now virtualbox+vagrant gives them that but its still a whole giant VM to spawn03:53
SpamapSlifeless: but I see that the basic assumptions of developers salivating over containers may be flawed when dealing with mature code bases. :)03:55
ScottKSo what do containers give salivating code monkeys they don't get from rails/capistrano (I think that's what they're using in one project I'm on right now)03:59
SpamapSScottK: most of the existing systems deal very well with static systems... not so well with cloud instances.04:01
ScottKOK.04:01
SpamapSScottK: the exception to that is Chef, which has a nice model for handling those.. but scales *horribly* because it is such a beast.04:01
ScottKBecause if I could figure a way to partition this data usefully into small chunks so I could distribute the load accross something big, then I might want a code deploying in the cloud thingy.04:03
SpamapSScottK: of course, OpsCode will be happy to scale the server up for you, at a price. :)04:03
ScottKSure.04:03
SpamapSScottK: unfortunately I'd say ensemble is just getting past "cool toy" phase into "useful tool for the brave"04:03
SpamapSScottK: specifically, the data snapshotting stuff is handled by libhandwaving004:04
ScottKMaybe it'll be mature by the time we get the data split model working.04:04
SpamapSwhich AFAIK, is not thread safe.04:04
SpamapSTo be fair to chef.. when I say horribly.. I mean it can't scale past the 30 - 40 nodes of one type, without sacrificing response time.04:05
SpamapSSo.. if ensemble isn't there for you... chef might be a decent choice.04:05
ScottKMaybe.04:07
Saturn2888Ubuntu Server isn't installing properly from the USB. I have this problem every time I install via USB. Does anyone know why it doesn't detect it from the installer? It says "Insert CD-ROM" or something and gives this error: http://launchpadlibrarian.net/47554702/ubuntu-1004-install-fail.gif04:28
=== shiki_ is now known as shiki
uvirtbotNew bug: #739977 in php5 (main) "PHP5 FTBFS in Natty" [Undecided,Confirmed] https://launchpad.net/bugs/73997706:11
MTecknologyIs there any easy way to see what apps have stuff in swap?06:30
=== deegee_ is now known as deegee
jmarsdenMTecknology: run top, press O p and then Enter      # sorts processes by swap usage06:54
MTecknologyooh.. thanks :)06:56
jmarsdenMTecknology: You're welcome07:02
=== dendrobates is now known as dendro-afk
a7ndrewI'm trying to enable acls on my root ext4 filesystem. Asides from adding acl to the options in fstab and doing a mount -a, is there anything else necessary?07:55
a7ndrewi'm wondering if a reboot is going to be necessary07:56
sorena7ndrew: mount -a won't apply new mount options. "mount -o remount,acl /" should do the trick, though.07:59
a7ndrewsoren: It did the trick, thanks!08:04
=== ogra is now known as Guest67326
=== Guest67326 is now known as ogra_
=== nijaba_afk is now known as nijaba
guampaanyone using make-kpkg? dunno why it started appending its own alphanumeric suffix to compiled kernel and debs, besides my --append-to-version string12:21
=== ogra_ is now known as ogra
Davieyguampa, You might have more success asking in #ubuntu-kernel12:41
guampasounds a good deal, i'll go there. thx12:42
* zul shakes his fist12:43
zulDaviey: you know that rebuild you did for the server seed at one point in the natty release cycle? can you do it again so we can see the multiarch changes that we need to do12:46
zulits not like you have anything else to do ;)12:46
Davieyzul, Yeah.. that isn't a bad idea... not something i can do until probably tomorrow now...12:47
zulDaviey: thats fine12:48
DavieyI think it took about 24 hours to build the packages we are subscribed to last time.12:48
sorenphp5 needs fixing, but I assume you've seen that.12:51
RoAkSoAxmorning all13:07
raphinkhello13:11
=== chuck_ is now known as zul
smoserkirkland, fyi, uec-image is still broken with console-setup 1.57ubuntu1713:48
sorensmoser: How is it broken?13:51
sorensmoser: I'm using the uec-images for some tests, so I wonder if it's something I'd see.13:52
smoserthey dont build13:52
sorenAh.13:52
sorenGreat :)13:52
smoservm-builder copies console-setup from /etc/ -> target13:52
sorenThat won't affect my builds.13:52
smoserwhich was questionable at best13:52
smoserand now doesn't work13:52
sorenYeah, that's dreadful.13:52
smoseri'm glad you agree :)13:53
sorenI always hated that.13:53
smoseryou have a solutoin ?13:53
smoserbecause it looks like i have to come up with one13:53
smoserRSN13:53
sorenIn concepts, not in code. I think.13:53
sorenI think I started working on it in days past, but I don't think I got anywhere useful.13:53
sorenEasy solution: Don't attempt to copy any settings from the host. Just do whatever the installer does.13:54
kirklandsmoser: can i see a full log?13:54
sorensmoser: The solution that would be in line with the original intent of that code would be to attempt to derive the current settings in the host and then apply the same settings in the guest without assuming they share the exact same mechanics for setting these things.13:55
smoserkirkland, http://uec-images.ubuntu.com/server/natty/20110322/13:55
=== Theravadan is now known as Theravadan|afk
sorensmoser: So, e.g. try to figure out which locale is used on the host and then apply that locale in the guest in a manner compatible with whatever version is being built.13:55
soren...but just skipping that step altogether should get you close to a usable solution.13:56
smoseri really didn't want another thing that was MUST_FIX14:00
smoserbut i do thikn that kirkland's console-setup work is really nice14:00
smoserother than the whole making my life suck thing :)14:01
kirklandsmoser: :-/  sorry dude14:01
kirklandsmoser: i'm happy to help, if i can14:01
=== dendro-afk is now known as dendrobates
kirklandsmoser: why isn't console-setup installable in the chroot?14:02
smosersoren, ^14:02
* smoser says "that was before my time" or "i just work here" 14:03
kirklandsmoser: does it require hardware access or something?14:03
smoseri suspect that is the case.14:03
kirklandsmoser: note that there's also console-setup-mini14:03
sorensmoser, kirkland: Sorry, guys, I'm really tied up right now.14:08
sorensmoser: I think removing the bit of vmbuilder that copies stuff from the host is the right thing to do.14:08
smoserthanks soren . i'll poke at it later today.14:10
RoAkSoAxkirkland: howdy1! forgot to remind you yesterday about the binaries for python-ethtool :)14:10
iggiCan anyone help me troubleshoot a UFW issue? I had a working web server prior to reboot, but after reboot ufw is blocking connections even when it says apache2 is in the exceptions14:12
RoAkSoAxzu/win 1114:13
RoAkSoAxlamont: hi there! Do you think it would be worth to consider bug #73929714:19
uvirtbotLaunchpad bug 739297 in nmap "Please update nmap: stable upstream version is 5.51" [Low,Triaged] https://launchpad.net/bugs/73929714:19
RoAkSoAxSpamapS: can you take care of bug #738219 and bug #738209 when you have the change please?14:28
uvirtbotLaunchpad bug 738219 in autofs "autofs should always start before at and cron" [Undecided,New] https://launchpad.net/bugs/73821914:28
uvirtbotLaunchpad bug 738209 in autofs "autofs appears to be started before it is truly functional" [Undecided,New] https://launchpad.net/bugs/73820914:28
=== jjohansen is now known as jj-afk
emindmediaHello, anyone here know how to recover a username?14:34
twister004hi guys... how can view a samba folder structure in ubuntu server?14:35
twister004I have samba shares on another ubuntu machine, which I wanna see on my server(VNC session)14:35
=== JanC_ is now known as JanC
jamespagehggdh: ping15:16
kirklandRoAkSoAx: k, getting them now15:16
WoLfLoonieHello everyone. I'm having a bit of an issue figuring out how to change the screen mode on console.. after installing 10.10 it became really small.. Tried searching a bit for that, as I remember there should be a choice on a reconfigure option or something.. but I only got results about editing grub2..15:18
RoAkSoAxkirkland: thank you ;)15:19
kirklandRoAkSoAx: done15:20
RoAkSoAxkirkland: thanks ;)15:21
RoAkSoAxchuck_: ^^15:21
=== chuck_ is now known as zul
zulhmmm?15:21
RoAkSoAxzul: python-ethtool15:21
RoAkSoAx:)15:21
zulRoAkSoAx: what about it?15:21
RoAkSoAxzul: binaries accepted15:22
zulRoAkSoAx: oh sweet15:22
hggdhjamespage, I am all ears15:23
hggdhbut a bit deaf15:23
jamespagehggdh: right then; I've finally managed to get time to setup another ec2 instance and migrate the current Hudson configuration + archive etc.. onto it.15:24
hggdhjamespage, super!15:24
jamespageits got lots of storage for jenkins - 20GB on a separate ebs volume15:24
hggdhwow!15:24
jamespageAny chance you can re-point one of your slaves so I can test it works OK?15:24
jamespageURL is : http://ec2-184-72-204-166.compute-1.amazonaws.com/15:25
hggdhof course, getting it done now15:25
RoAkSoAxSpamapS: https://wiki.ubuntu.com/ClusterStack/Natty#HA MySQL15:29
jamespagehggdh: thanks15:29
=== `WoLf is now known as WoLfLoonie
WoLfLooniehmm. I think I've fixed it through grub.. GRUB_CMDLINE_LINUX="nomodeset"15:31
=== dendrobates is now known as dendro-afk
rynopI'm using ubuntu 10.10 64bit daily build ami in ec2. When i ssh in i see there is a newer "server image" release. Is there a way to upgrade to the newer server image without having to rebuild my EBS?15:38
hggdhjamespage, running, the output states connected, but jenkins does not seem to see it15:38
hggdhjamespage, this is slave nhanga15:38
jamespagehggdh: hmmm - might be that it had an old hudson slave.jar cached15:39
jamespagehggdh: try shutting it down, rm /var/lib/ubuntu-server-iso-testing/.slave.jar (I think) and start up again.15:41
knoxyHi. I've a HP DL120 with Smart Array B110i. I create RAID 1+0 with 4 HD's and Ubuntu installer cannot detect this logical volume. How can I do to fix it? I'm trying with Ubuntu Server 10.10 amd6415:47
jamespagehggdh: I think thats the issue - just tried connecting one from my locality and it worked OK.15:48
hggdhjamespage, nhanga is up15:54
hggdhthat was it indeed15:54
jamespagehggdh: thought it might be \o/15:54
hggdh:-)15:54
hggdhjamespage, worth the effort to add in the postinst for next update?15:55
jamespagehggdh: I'll have to take a look and see why that happened - I think the python script might be doing sometihing odd.15:56
jamespageIt should always download a new slave.jar - just in case the master has been upgraded.15:56
jamespagehggdh: PS do you like the Font?15:57
=== `WoLf is now known as WoLfLoonie
hggdhjamespage, yes, I do. And I think I have seen it somewhere else ;-)15:57
SpamapSRoAkSoAx: would be cool to write a plugin for pacemaker that could just manipulate upstart via dbus15:57
RoAkSoAxSpamapS: there is one but it is not recommended :)15:58
SpamapSRoAkSoAx: we should maybe put some dev time into that... ;)15:58
=== dendro-afk is now known as dendrobates
RoAkSoAxSpamapS: let's discuss it post meeting15:59
SpamapSindeed15:59
lamontRoAkSoAx: it's on my list to get that done, I rather expect that it's a big enough change that I do not plan to propose it for natty16:32
lamontRoAkSoAx: and frankly, it'll probably be a week before I actually force myself to take time to deal with it16:32
RoAkSoAxlamont: ok :), and I was thinking the same (big change for natty)16:33
RoAkSoAxSpamapS: so anyways... the reason why upstart is not the best for a cluster is becuase upstart only knows that the application is running or not, but doesn;t really know if the application is doing what's supposed to be doing16:52
RoAkSoAxSpamapS: for i.e. upstart will now that mysql is running, but for the cluster that's not enough16:53
RoAkSoAxSpamapS: because, I might want to know if I can pull certain info from a table in mysql, or even access a table, allowing the cluster to determine "yeah, it is up and running, and serving X type of requests, so I can confirm that I should bring up the other services"16:54
SpamapSRoAkSoAx: sure it does. Thats what post-start is for.16:54
RoAkSoAxSpamapS: in turn, the OCF Resource Agents, provide the capability to determine whether the resource is running, but additionally, you can also have diferent dephs of monitoring16:55
SpamapSRoAkSoAx: anything beyond that is the realm of monitoring16:55
SpamapSRoAkSoAx: so the plugin, it seems, is missing the ability to define a monitoring script.16:55
RoAkSoAxSpamapS: i guess that can be done16:56
RoAkSoAxSpamapS: but afaik, kirkland tried to add support to monitor a daemon in upstart by adding scripts but was rejected16:56
SpamapSyes, its been deemed out of scope16:57
SpamapSthats no reason to give up on it though. :)16:57
=== jj-afk is now known as jjohansen
SpamapSthere are two things that I agree to disagree w/ regarding upstart. pidfiles aren't always evil, and there should be a status stanza.16:58
RoAkSoAxSpamapS: right, but from HA Clustering point of view, upstart should just only tell us if the dameon is running or not16:59
RoAkSoAxhowever, as I said, that's sometimes not enough16:59
RoAkSoAxSpamapS: that's why LSB initi scripts are not recommended either17:00
RoAkSoAxSpamapS: but anyways, upstream themselves have rejected one of the patches that are necessary for it to work17:01
RoAkSoAxand have given recommendations to the creator to fix it17:01
RoAkSoAxbut yet, it hasn't; been fixed17:02
RoAkSoAxSpamapS: and upstream are even considering in dropping the upstart support17:02
RoAkSoAxSpamapS: becuase as per their standards, OCF Resource Agents should be used to monitor resources17:02
RoAkSoAxSpamapS: the whole problem was that when Ubuntu switched to upstart, everything was broken becuase all those services with no OCF RA's were treated as LSB initi scripts, which in turn created a problem17:03
RoAkSoAxbecause of no return codes17:03
RoAkSoAxSpamapS: http://www.gossamer-threads.com/lists/linuxha/dev/68379?search_string=possible%20deadlock%20in%20lrmd;#6837917:06
SpamapSRoAkSoAx: good enough > perfect but not ready yet17:07
RoAkSoAxSpamapS: right but the real sisue with upstart is that it leaves open IPC sockets17:09
RoAkSoAxs/with upstart/with the upstart plugin17:09
SpamapSIPC? whats it doing w/ IPC?17:11
RoAkSoAxSpamapS: corosync is the communication layer that pacemaker uses between nodes of the cluster17:12
RoAkSoAxSpamapS: so, using the upstart plugin as Resource Agents causes corosync to leave open IPC sockets17:13
SpamapSRoAkSoAx: ah sounds like its unrelated to usptart17:15
RoAkSoAxSpamapS: not with upstart, but with the upstart pluging17:16
SpamapSright17:16
RoAkSoAxSpamapS: yeah... so anyways, mregardless of weather upstrart is fully supported in the HA cluster stack, OCF RA's are still recommened for service monitoring17:22
bcessahi there, I'm trying to install oracle-xe on AMD64 ubuntu server, I added this to package sources "deb http://oss.oracle.com/debian unstable main non-free" but I get this error message as soon as I try to run apt-get upgrade: W: Failed to fetch http://oss.oracle.com/debian/dists/unstable/Release  Unable to find expected entry  main/binary-amd64/Packages in Meta-index file (malformed Release file?)17:27
MathuinI have questions about Ubuntu and EC2.  Is this the right place to ask them?17:32
pankaj_sharmayes17:33
MathuinI currently do some computations on my home server that take about 12 hours on a 8G 4x3GHz machine.  If I moved that to the cloud, could I do it in less clock time and not pay an arm and a leg.17:33
MathuinThe computations are all in Python.17:33
bcessaso the problem is my server is AMD64 and the packages in the repo are i386, stupid question but is there a way around this or a manual installation is required?17:41
thesheff17Mathuin: is your python multi threaded?17:48
asmod4noh hi, installed apparmor and dovecot, now everytime my email client connects to it apparmor spams dmesg with ALLOWED messages... how to disable that?17:49
asmod4napparmor seems to send everything it does to the kernel log.. is that the default behavior?17:51
jdstrandasmod4n: you installed apparmor-profiles. apparmor-profiles has profiles for dovecot that are in complain mode, which log things like you are seeing17:53
asmod4nso i just have to set them to enforce?17:53
jdstrandasmod4n: see https://help.ubuntu.com/community/AppArmor#Disable%20one%20profile on how to disable it. alternatively, you could enable the profile and have it in enforcing mode17:53
jdstrandasmod4n: yes17:53
thesheff17bcessa: you can enable 32 bit libs: apt-get install ia32-libs and you should be able to run any 32 bit program.17:57
bcessathesheff17: thnx for your answer, I already have the package installed, how ever when I add the oracle repo to the sources.list I keep getting the following error when trying to run apt-get update: W: Failed to fetch http://oss.oracle.com/debian/dists/unstable/Release  Unable to find expected entry  main/binary-amd64/Packages in Meta-index file (malformed Release file?)18:00
bcessadon't really know how to "force" the system into using those packages or if it will work at all18:00
thesheff17bcessa: what are you trying to accomplish?  what programming language with oracle?18:03
bcessaI just wanna install the oracle server for an existing application, no programming involved on my end18:04
thesheff17bcessa: hmm...there has to be 64 bit for oracle.18:06
bcessathat will be really nice, I was trygin with this and get the error I mentioned above https://help.ubuntu.com/community/Oracle18:07
bcessathere's also some tutorials for manual installations but don't think is the best way to go, if there's no alternative I'll do it, I'm just trying to find another/cleaner way18:07
thesheff17bcessa: well the deb files are here. http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/ you could download them and do a dpkg -i packageName...it should find all the required packages...use with caution though ;)18:10
thesheff17bcessa: also check this out http://littlebrain.org/2008/05/12/how-to-install-oracle-xe-in-ubuntu-64-bit/18:11
bcessaI'll give it a go and let you know I my machine just blow LOL :)18:11
thesheff17bcessa: basically forcing the packages to install18:11
uvirtbotNew bug: #740379 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/74037918:46
RoAkSoAxzul: could you please take care of bug #619712. I just decided to patch it19:00
uvirtbotLaunchpad bug 619712 in keepalived "keepalived vrrp race condition and fix (versions 1.1.17 and 1.2.0 but perhaps all?)" [High,Fix committed] https://launchpad.net/bugs/61971219:00
bcessathesheff17: just finish the installation and everything seems to be working just fine, thanx a lot ;)19:01
bcessaI'll configure and test the installation further ;)19:02
zulRoAkSoAx: yep as soon as im off this call19:02
thesheff17bcessa: no problem I have used oracle xe w/ ubuntu before and it is weird they don't have 64 bit support.19:02
* RoyK wonders why people use oracle xe when there are so much good open alternatives, such as postgresql19:03
RoAkSoAxzul: sure take your time. thanks ;)19:04
MathuinThe installer for 10.10 desktop didn't allow me to build a RAID.  Stinky.  What's the proper way to do that nowadays?19:07
thesheff17Mathuin: you have to use the alternative cd19:08
MathuinOh for pete's sake.  There's a lost hour.  Sigh. :-)19:08
MathuinThanks for the tip.19:09
RoAkSoAxkirkland: ping19:17
kirklandRoAkSoAx: pong19:18
RoAkSoAxkirkland: quick question. When someone contributes to PowerNap with let's say a new Monitor, should the copyright be assigned to canonical/us, or just the authors?19:18
kirklandRoAkSoAx: PowerNap is not governed by the Canonical CA19:19
=== rizzuh_ is now known as rizzuh
Aisonevening19:23
Aisoni'm searching a movie database or organizer web software. Eg. where ppl can search for a movie etc...19:24
AisonI would like to install it on my ubuntu server (with about 1000 movies stored on it)19:24
RoyKAison: there are several - google for it19:32
AisonI did19:33
RoyKone of my first hits was http://www.techsupportalert.com/best-free-dvd-collection-software.htm19:33
Aison:)19:36
_1094kmsI just created a lvm volume from scratch (new hd). When I run vgchange -ay I get an errormessage :  http://paste.ubuntu.com/583948/  is this something to worry about?19:43
=== Kiall is now known as Kiall|AFK
patdk-wkthat isn't good19:59
_1094kmsgot my answer - I had old volumes still in the cache and vgchange -ay checks them all while they were not existing anymore.20:00
rynopanyone used tmpfs to back their web app sessions before? I'm using PHP and looking to use tmpfs instead of db/file backed.  Wondering if there is some pitfall i'm not thinking bout.20:09
RoyKrynop: not really - should work, except load balancing won't be easy across servers if they can't share the sessions20:11
rynopRoyK, I have the session affinity covered cuz i'm using amazon elastic load balancer - so I think i'm only in trouble if my server goes down - which in taht case i don't care bout the session data :)20:13
RoyKok20:14
rynopRoyK, in the reading i've done, tmpfs falls over to swap space if it ever uses up the allocated mem space right?20:14
rynopand if i allocate 200meg of mem to tmpfs, and i only use 100meg, the extra 100meg is available to the system right?20:15
RoyKrynop: think so - iirc it allocates 50% of RAM20:17
RoyKrynop: and the allocation is dynamic, not like old ramdrives that used a specific amount20:17
rynopRoyK, cool thx.20:19
RoyKmeaning if you use 30kB, it'll use 30kB of your precious RAM20:20
RoyKif on a low-memory system, remember to increase swappiness, so that the kernel can swap out stuff not in used and rather use the memory for something useful20:20
RoyKecho vm.swappiness >> /etc/sysctl.conf && sysctl -p20:21
RoyKerm - wrong20:21
rynopisnt it: /bin/echo “1″ > /proc/sys/vm/swappiness20:21
RoyKecho vm.swappiness=100 >> /etc/sysctl.conf && sysctl -p20:21
rynopoh20:21
RoyKrynop: swappiness is set to 0-100 - setting it to 1 will make linux hardly swap at all until the shit really hits the fan20:21
RoyKwhich is not what you want20:22
RoyKecho 100 > /proc/sys/vm/swappiness will set it, but not store it over a reboot20:22
rynopRoyK, dont i only want to do swappyiness of 100 for my tmpfs drive? not the other processes using memory?20:22
RoyKswappiness is system global20:23
RoyKbut it usually makes sense to set it high20:23
RoyKthat is, unless you're doing something like realtime linux, but then you don't want swap at all20:23
rynopwhat does swappiness default to? i dont currently have any 'swap' strings in my /etc/sysctl.conf file20:24
RoyK6020:24
rynopI see, so setting it to 100 wont rip out a session in memory (in tmpfs)? it woudl only rip it out if its not in use (duno how it knows that but i'll trust u)20:25
rynopwhy is the default not 100? seems like there is no downside.20:25
RoyKrynop: google for it - there have been a lot of discussions on it. I have a bunch of servers all set to 100, and it works well. Worst case is if you have some lesser-used process that gets swapped out and it takes a second or two to get it back20:27
RoyKthat is - a whole process won't be swapped out - just pages not in use20:27
rynopRoyK, ah ok thx.20:28
RoyKerm - pages not used very recently, that is20:28
uvirtbotNew bug: #740477 in krb5 (main) "kinit should print an error if credentials cache has invalid permissions" [Undecided,New] https://launchpad.net/bugs/74047721:08
JoePrrohi im new to linux and irc. I was hoping to find someone with some experience to share21:25
JoePrroIm am setting up a ubuntu server...it has six scsi drives 2 36.4 gbs and 4 146gb drives.  the 36s are raid 1 and the 146s are raid 5 on a serveraid 7k card.  i want to install ubuntu server on raid one array with home folder and mysql on raid 5.  what is the best practice for this?21:26
guampaJoePrro: put / in the raid 1, and two partitions for /var and /home in the raid 5 ... maybe / could be split in more partitions if you wish, for /, /boot and /tmp  f.e21:30
JoePrroguampa: I am actually still in the partioner stage of the ubuntu setup.  it see the the arrays as two disks scsi3(0,0,0) & scsi3(0,1,0) Do I install ubuntu and swap on 36 gig or do I create a software raid5 with those two disks21:35
JoePrroi unsure how software raid works or is needed with a hardware raid setup21:36
guampaif you don't have a controller for those two and have to go software you have to decide between 0 and 1 afaik21:36
JoePrroi do have a controller... its an ibm xseries with serveraid 7k card21:37
JoePrroso no special setup. no need for software raid setup?21:37
guampaif you can make the two arrays hw based, go for it. hasn't always got the same flexibility as sw but everyone and his mom keeps saying that they aren't even near in terms of performanve21:38
guampaperformance21:39
JoePrroso harware is the answer...huh? So just install ubuntu & swap on raid1 and then configure folders to reside on raid 521:40
guampaditto. a common choice for fs's would be XFS for the raid 5 areas, and say, EXT4 for the two-disk array21:41
BbluEHello everyone.21:41
BbluEEveryone afk?21:42
JoePrromakes sense21:43
BbluEI guess.. :(21:44
JoePrrodoes the xfs need to be primary or logical21:44
BbluEI think Primary, but don't quote me.21:46
guampasince you will only boot linux it more or less doesn't matter if the parts are primary or logical, or even if you don't use partitioning and go directly to LVM over raid21:46
guampathe schemes make important to pay atention to what OS loader you use in some situations, but i believe GRUB2 should work in almost every scenario21:47
JoePrrogreat thank you...so I have configured sda 34.9gb ext4 and #5 sdb 1.5 GB swap and now i need 2 partions on xfs volume one for var and one for home...right?21:53
JoePrroor just one large partition on xfs volume21:54
guampayes, you can put them in the same partition too. i don't know much about the specifics of your server, you can decide based on the amount and type of data you'll be putting in /home and /var21:57
JoePrroits a basic lamp server...running i use ispconfig3 phpmyadmin and joomla21:59
JoePrroi have it up right now on a dell vostro with just a 500 gig sata drive. I am trying to put redudancy on now before i go live with my site22:01
BbluEI'm trying to set up a basic lamp server too.. it's destroying me from the inside out! lol.22:01
JoePrrolol22:01
JoePrroi feel ya man22:01
guampaif it's going to be small then go with the big partition, no need to add worries then :)22:02
JoePrroyes small....sortof...its a membership site so mysql will grow large22:03
BbluEI started this morning, trying to make my dang .htaccess work... Google, is finding me more questions like mine, with no answers.. I have a few different Ubuntu PDF books, and I think those are just talking me around my issue.. but, not directly through it... etc, etc.22:04
BbluEI think he means to just go with the one partition, instead of adding multiple... and keeping it simple22:05
JoePrroBbluE: Howtoforge got me up and going really good stuff there22:05
BbluESweet, I'll go check that out. Thank you for the lead.22:06
JoePrrothanks so much for help guampa...I think i was making this a bigger monster than what it is22:07
guampasorry was afk, yes setting up servers are a great adventure, even more the first ones22:10
guampas/are/is22:10
guampastill tuning my english :P22:10
guampaanyway glad to be of help22:10
* RoyK pats his 100TB OpenIndiana boxes22:11
BbluELol, :D22:11
RoAkSoAxkirkland: do you think bug #735452 is worth uploading for natty?23:00
uvirtbotLaunchpad bug 735452 in powernap "IOMonitor Plugin does not use optimal /proc parameter to find process PID" [Low,In progress] https://launchpad.net/bugs/73545223:00
hackeronhey, I try to do: hal-find-by-capability --capability video4linux - in maverick it showed a list of v4l devices - in natty it shows nothing - is there an equivalent command?23:03
=== dendrobates is now known as dendro-afk
PoorNewb23hi there23:45
PoorNewb23Why use Ubuntu-server, and not any other flavour?23:46
PoorNewb23(it's serious question)23:46
PoorNewb23I couldn't find any concrete answer in help/faq and general webpage.23:46
ruben23hi guys does ekiga have g711 codec-ulaw and alaw23:47
=== Kiall|AFK is now known as Kiall
hackeronPoorNewb23: Ubuntu server is pretty barebone, you don't have a graphical user interface, it's just typing commands - it's suitable when you don't plan to ever plug a keyboard and mouse to the PC/server after it's set up23:54
hackeronPoorNewb23: and naturally no monitor either23:54
hackeronruben23: I believe so, you can use ekiga as an asterisk client when asterisk is configured to use ulaw/alaw23:55
ruben23 hackeron: you have idea how do i do conference call with ekiga on asterisk..?23:59

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