[00:03] <Zanzacar> Hi does anyone have any experience setting up powernap configuration files?
[00:03] <Zanzacar> I have checked out the config files, looked at the logs with verbrosity 3 setting on, and looked through the man pages but still can figure out whats going on.
[00:04] <Zanzacar> Basically I have a ubuntu-server running to host .mp4 files to my roku ( pretty neat setup really ). I wanted to setup powernap to allow the server to only run while it is streaming the video
[00:05] <Zanzacar> I set up the config file to not shut down while there is ssh=20, ftp=22, and http=80. That being said it still falls alseep while the movie is streaming. I noticed through netstat that my http is runing on tcp6 and not just tcp which I think might be part of it.
[00:22] <Guest80136> Is anybody here faimilar with setting up SSL?
[00:23] <twb> !any
[00:23] <twb> !anybody
[00:26] <Guest80136> Alright, I have spent the past two or three hours trying to set up an https server. I have two virtual servers, one normal http, the other SSL. When I go to my website, using http, it works fine, but https doesn't respond. The error logs don't appear to offer any useful information. I  have googled for a similar problem, but just haven't found a solution.
[00:28] <aliverius> Steve Jobs is dead
[00:28] <Guest80136> ya, i just saw that.................
[00:28] <Guest80136> crazy
[00:42] <lajjr> kim0, are you online?
[00:47] <twb> Guest80136: are you testing with curl -v?  If not, do so.
[00:48] <Guest80136> Well, i just found out that my ssl server works fine, I can connect to it using openssl s_client -connect localhost:443.  But, I cant connect from the outside. Although I can connect to the http half
[00:49] <twb> That sounds like a firewall issue
[00:50] <Guest80136> Duh. I feel rather stupid. My router blocks it by default. Of course the problem would be the most obvious one. Thanks a bunch
[00:54] <twb> No problem.
[01:50] <Guest95876> Hello all!
[01:51] <Guest95876> Is anyone willing to help with an eth0 not working problem?
[01:51] <Guest95876> (that is if I have the correct channel this time)
[01:52] <Guest95876> Erm, has anyone ears or mouths here?
[01:57] <Guest95876> Hi, anyone on here?
[02:02] <Guest95876> Hi!
[02:04] <pdtpatrick_> Question .. is there a way to tell how long a service has been up with upstart?
[02:07] <Guest95876> Well, here is the real question: eth0 does not show up in ifconfig, but lo and virbr0 does
[02:08] <twb> Guest95876: ask "ip a" not "ifconfig"
[02:08] <Guest95876> I do not remember creating a virtual bridge, though I may have started a headless virtual machine during a previous login
[02:08] <twb> vbox probably did it
[02:09] <Guest95876> asking "ip" only asks for options
[02:09] <twb> That's why I said "ip a"
[02:10] <Guest95876> ohh, I get the same, lo and virbr0
[02:10] <twb> lspci | grep net
[02:10] <twb> Make that lspci -nn | grep net
[02:10] <Guest95876> lspci -nn | grep net gives nothing
[02:11] <twb> Where do you think this NIC is, physically?
[02:11] <Guest95876> nore does lspci | grep net
[02:11] <Guest95876> pci
[02:11] <twb> It's a PCI card?
[02:11] <Guest95876> yes
[02:11] <twb> Sounds like it's not seated properly
[02:12] <twb> turn off the box, unplug and replug the card, wiggle it around a bit to make sure it's seated cleanly
[02:12] <twb> If possible see if you can see it in the BIOS -- e.g. as "BBS-0" PXE boot
[02:12] <Guest95876> hmmm, machine has not moved, and light is on, in the eth card
[02:12] <Guest95876> ok, I'll reboot and check that out
[02:12] <twb> Well, if lspci can't see it then it's not even a driver issue
[02:13] <twb> THe kernel can't even see there's a device there
[02:13] <Guest95876> I have modprobed during this boot, so I may have dissassociated it
[02:13] <Guest95876> ?
[02:13] <twb> Unless you've managed to unload the PCI bus driver, I don't see how that would affect lspci
[02:14] <twb> I suppose it could be that there isn't enough power on the bus to drive the card, or just that the card is completely fucked, but has just enough smarts left to flash the blinkenlights
[02:14] <twb> A mis-seated card is far more likely, though
[02:15] <Guest95876> there is also modem card on pci though
[02:15] <Guest95876> nothing shows up for lspci
[02:15] <twb> If lspci (without the grep, I mean) doesn't print *anything*, then something is seriously wrong
[02:16] <Guest95876> no, I was just being lazy, lspci give plenty
[02:16] <Guest95876> I meant with the grep
[02:16] <twb> Linux doesn't have drivers for most DSL and ATM modems
[02:17] <twb> It should show up in lspci, but not be usable
[02:17] <twb> grepping for "net" assumes you're talking about an ethernet (IEEE 802.1) card.  Otherwise, read the full lspci output and identify the card yourself
[02:17] <Guest95876> its just good ole regular lan
[02:19] <Guest95876> reseating the card now
[02:19] <Tohuw> I've created a "public" samba share on my home server. My smb.conf: http://paste.ubuntu.com/703129/ Here's the problem: when I mount it via smbfs, it is owned by rtlkit:pulse. I suppose this is because the uid:gid of those is equal to the values of the user and group on the server who own the share. Is this correct? (e.g., on the server it's owned by smbguest:sambashare, and if that uid was 1001 and the gid is 1002, perhaps on my local system the
[02:19] <Tohuw> uid of rtlkit is 1001 and the gid of pulse is 1002.)
[02:19] <Tohuw> If that's the case, do I need to pass uid and gid params in fstab so it works as a public drive, or is there something I'm doing wrong in Samba?
[02:19] <Tohuw> (Samba version is 3.5.8, btw)
[02:19] <twb> Tohuw: that sounds right
[02:20] <twb> Tohuw: if you want to do networked filesystems, you really need centralized users and groups
[02:20] <Guest95876> Turns out its not PCI, its directly on the motherboard
[02:21] <twb> Guest95876: OK, then check if it's enabled in the BIOS
[02:21] <Tohuw> Yeah, I was mucking in ldap and then my vision started getting blurry and I discovered some previously unearthed four letter words, so I haven't gotten bakc to htat yet.
[02:21] <twb> Guest95876: if it's an x86 motherboard it's probably using PCI or PCI-E as the backplane, so it should still show up in lspci
[02:21] <Guest95876> OK
[02:21] <twb> Tohuw: if you are in a hurry and you only have two hosts, you can monkey around to manually sync some of the IDs
[02:22] <Tohuw> twb: that's evil. I like it in this case though
[02:22] <twb> Tohuw: e.g. on my laptop I changed me UID from 1000 to 1087 so I could more easily mount NFSv3 servers at work, where twb is 1087
[02:22] <twb> Tohuw: it's certainly not a sustainable long-term solution
[02:22] <Tohuw> Aye
[02:22] <Tohuw> I have a few hosts here too :(
[02:22] <Tohuw> So I can't really change it for every single one
[02:23] <Tohuw> I suppose I could remove the write list parameter from the share
[02:23] <Tohuw> or, do I need to use a wildcard for it instead of removing it
[02:23] <Tohuw> I was hoping it would auth against the server accounts
[02:24] <twb> auth is separate from making the IDs match
[02:24] <Tohuw> twb: every user connecting to the server has an account on the server; here's my fstab, for instance: http://paste.ubuntu.com/703135/
[02:24] <Tohuw> oh
[02:25] <twb> You probably shouldn't be using btrfs in production at this time, either
[02:25] <Tohuw> so even though you auth as a user on the server with write access to the share, you still can't write to it because of unsync'd ids?
[02:25] <twb> And you might as well take pass out, since there's no btrfsck yet
[02:25] <Tohuw> Yeah, this is my test server; I'm just playing with it.
[02:25] <Guest95876> BIOS shows that it is enabled, but does not show whether it is recognised or not
[02:26] <twb> Guest95876: then I dunno what's happening
[02:26] <Tohuw> "take pass out": remove the 0 entirely?
[02:26] <Guest95876> k, thx anyways
[02:26] <twb> Tohuw: the 0s are dump, not pass
[02:26] <twb> Tohuw: set both to 0 for btrfs
[02:26] <Tohuw> oh, ha, I just noticed that was set to 1 0
[02:26] <Tohuw> That's why I was confused
[02:26] <Guest95876> guess i'll try a second ethernet card, may be fried...
[02:27] <twb> Guest95876: certainly an immediate workaround is to just go buy a PCI-E NIC and slap it in there
[02:27] <Tohuw> errr, 0 2... what is wrong with my brain today
[02:49] <thevinci> Can any one help a first time server set-up?
[02:49] <twb> !anyone
[02:50] <thevinci> Been using Ubuntu desktop for a few years now, and I'm trying to set up a server in my home now.
[02:52] <thevinci> Well, I've got 10.04 LTS server installed. that was easy. I want to set up the server as a file share for the household, and hopefully to stream movies to our X-box 360.
[02:52] <gadgetdevil> I recommend not using Ubuntu Server. There is nothing special about Ubuntu Server that you can't not achieve with Ubuntu Desktop. Ubuntu Server is simply a striped down version of Ubuntu Desktop to make it a more viable mass-deployment & production solution
[02:53] <gadgetdevil> Check out the Amahi Home Server project
[02:53] <twb> gadgetdevil: er, ubuntu server isn't "stripped down"; all ubuntu versions back onto the same package archive, the onl difference is the preseed file (which mainly governs the packages installed by default).
[02:53] <thevinci> Well, I've already got it on there, and I'm fairly familiar with the command line. we have no reason for a GUI on the server
[02:53] <gadgetdevil> twb: that is what I mean by stripped down, it doesn't ship with extra packages
[02:54] <twb> thevinci: right; we discourage installing a GUI on servers
[02:55] <thevinci> When I installed, it gave me a list of server 'set ups' (I'm guessing?) to choose from, I picked "Samba" since we have a mix of Ubuntu and windows/microsoft here
[02:55] <gadgetdevil> thevinci: use sudo tasksel to quickly install software stacks
[02:55] <thevinci> was that correct?
[02:56] <twb> thevinci: that was called "tasksel"; you can re-run it whenever you want.  What you should install depends on what you want to do.
[02:56] <twb> thevinci: as for the 360, I think you need to install some DLNA shit, as it doesn't even speak regular CIFS
[02:58] <thevinci> twb: I can install that using tasksel?
[02:58] <twb> AFAIK, no
[02:58] <twb> You want to use aptitude or apt-get or some other package manager
[02:58] <twb> tasksel is a "high level" wrapper for those
[02:59] <thevinci> ahh, alright
[02:59] <thevinci> and I suppose I will have to add the repo's manually first?
[02:59] <twb> Assuming DLNA is what you want, "apt-cache search dlna" only turns up GUI things and minidlna, so I guess I would be looking at that
[02:59] <gadgetdevil> mediatomb is available in the Universe repo and is DLNA compatable
[02:59] <twb> thevinci: /etc/apt/sources.list should already have Ubuntu entries in it
[02:59] <gadgetdevil> I use minidnla with my PS3 and it works excellently.
[03:00] <twb> Ah, mediatomb only mentions upnp not dlna
[03:00] <twb> Maybe I should "apt-cache search upnp" instead
[03:00] <Patrickdk> I never found a dlna server I liked
[03:00] <twb> Patrickdk: well, DLNA and UPNP are ridiculous protocols
[03:00] <Patrickdk> just use the built in mythtv one now, for the rare times I use it
[03:01] <Patrickdk> normally I just browse a cifs share
[03:02] <Tohuw> twb: After mucking around a bit with my Samba permissions issue, I decided to just pass uid and gid params in fstab corresponding to my user on this system. Now I can write to everything below the top level, so at least it's a major step up.
[03:03] <twb> Tohuw: hmm, I didn't think you could do that
[03:03] <twb> Tohuw: I though uid/gid forcing was only available for FAT
[03:03] <Patrickdk> twb, well, upnp was made by microsoft, I think, so that explains it
[03:03] <thevinci> ok, I'm going to research some of this stuff. thanks guys. its a start
[03:03] <Tohuw> twb: nor did I :)
[03:03] <twb> Patrickdk: yes, upnp is basically mdns/dnssd, except using HTTP instead of DNS
[03:04] <Tohuw> twb: oh, you can force uid and gid on non-fat things. I just didn't know you could do that with CIFS
[03:04] <twb> Shrug
[03:04] <twb> Good to know
[03:11] <thevinci> when I try to use "tasksel", after I choose the software I want to install, it gives me, 'tasksel: aptitude failed (100)'
[03:11] <thevinci> what gives?
[03:14] <twb> did you run it as root?
[03:16] <thevinci> sudo tasksel
[03:17] <thevinci> sudo = temporary root privlages as far as i understand
[03:18] <twb> Then I dunno
[03:18] <twb> maybe because you're also running aptitude as root elsewhere?
[03:18] <thevinci> would 'top' show me if that is so?
[03:19] <jmarsden> thevinci: ps -C aptitude      # might be quicker and more to the point :)
[03:20] <thevinci> that shows me 'PID TTY      TIME CMD'
[03:23] <jmarsden> thevinci: So you don't have an processes named aptitude running.
[03:24] <thevinci> jmarsden: not that I can see
[03:25] <jmarsden> OK.  So, does aptitude work fine "on its own"?  Does    sudo apt-get update        # work fine, for example?
[03:25] <thevinci> yes
[03:25] <jmarsden> Or   sudo aptitude update    if you prefer.
[03:25] <thevinci> and I just did sudo apt-get upgrade like 20 minutes ago and It was just fine
[03:26] <thevinci> mind you, I JUST installed this last night, so maybe I'm missing some packages????
[03:27] <jmarsden> thevinci: OK, so as a workaround, you can do   tasksel --list-task YOURTASK     and then use apt-get by hand to install them.
[03:32] <thevinci> well, I haven't the foggiest what I did, but tasksel just started working...
[03:32] <thevinci> I'll bet it's because I uncommented some repo lines in my apt/sources.list
[03:33] <thevinci> then checked if sudo apt-get update worked like u asked.
[05:01] <Zanzacar> !poll
[05:02] <Zanzacar> I am looking to configure powernap config file and seem to be having a hard time with IOMonitor, can anyone help with that?
[05:34] <thevinci> I'm having a really hard time understanding how to get my server started. can anyone point me to a good starting point?
[05:35] <thevinci> I'm wanting it to be a storage and file sharing center for my house. we have 2 ubuntu laptops, and one Win 7 laptop. also, an xbox 360 that I would like to stream movies and music to.
[05:37] <twb> thevinci: hit the power button on the front
[05:38] <Tm_T> forgot the hat, sorry
[06:18] <Zanzacar> thevinci: I recently did this myself I would be more the happy to show you everything
[06:18] <Zanzacar> the vinci left :( I was going to help him
[07:40] <trapmax> faq for converting from physical install to virtual?
[08:13] <lynxman> morning o/
[08:35] <jamespage> morning lynxman
[08:48] <lynxman> jamespage: good morning sir :)
[09:09] <CluelessPerson> Can someone help me?  For some reason my apache just displays "It works!" the default page instead of a directory list or index of the the directory...
[09:10] <CluelessPerson> Does anyone know how I can make it show the index of that particular directory?
[09:10] <ikonia> you need to enable indexs or remove the index page
[09:11] <CluelessPerson> ikonia, How do I do that?
[09:12] <ikonia> CluelessPerson: first thing is to remove the index page in your web root
[09:12] <CluelessPerson> ikonia,  There is no page in the directory, it's empty
[09:12] <CluelessPerson> ikonia, http://kingkept.cluelessperson.com/
[09:12] <CluelessPerson> there is no index page in that directory.
[09:12] <ikonia> CluelessPerson: there is a page, that messsage is created from an index page
[09:12] <ikonia> CluelessPerson: where are you looking ?
[09:13] <CluelessPerson> ikonia, the directory the apache site is directed to, but it's using the apache default page when an index page isn't found.
[09:13] <ikonia> CluelessPerson: what directory are you looking in
[09:13] <CluelessPerson> ikonia,  I'd like to allow that for other pages, but here in this directory, kingkept, I want the index to show.
[09:13] <ikonia> CluelessPerson: what directory are you looking in
[09:14] <CluelessPerson> the directory that the actual webpages would be stored by the user.
[09:14] <ikonia> CluelessPerson: what directory are you looking in
[09:14] <CluelessPerson> ikonia, /media/first.storage/kingkept/web/
[09:15] <ikonia> CluelessPerson: could you please paste the apache config for that site (please use a pastebin)
[09:16] <CluelessPerson> http://paste2.org/p/1692615
[09:16] <CluelessPerson> ikonia, ^
[09:18] <ikonia> CluelessPerson: your missing option "Indexes" what happens if you put an "index.html" page in that document root
[09:18] <CluelessPerson> ikonia, I've tried several variations, including putting an .htaccess file in the directory.
[09:19] <CluelessPerson> ikonia, I followed a tutorial's instructions and removed it, it probabaly wouldn't load any default webpage, like main.html, index.html, etc.
[09:19] <ikonia> CluelessPerson: can you show me the tutorial you're following please.
[09:19] <ikonia> CluelessPerson: ubuntu has a non-standard apache layout for it's config, I suspect this tutorial has not accounted for that
[09:19] <ikonia> (which may account for your issues)
[09:20] <CluelessPerson> ikonia, I've followed several to no avail.
[09:20] <CluelessPerson> ikonia, one moment while I gather links
[09:20] <CluelessPerson> http://ask.metafilter.com/87072/Why-is-Apache-not-listing-any-files-in-an-open-directory
[09:21] <ikonia> CluelessPerson: the config you've just shown me for your domain, in what file have you put that ?
[09:21] <CluelessPerson> http://httpd.apache.org/docs/current/mod/mod_autoindex.html
[09:21] <CluelessPerson> ikonia,  /etc/apache2/sites-available/
[09:21] <CluelessPerson> kingkept.cluelessperson.com
[09:21] <ikonia> CluelessPerson: so that's a new file in that directory
[09:22] <CluelessPerson> yes
[09:22] <CluelessPerson> linked to the sites-enabled.
[09:22] <ikonia> CluelessPerson: did you follow this through by any chance ?
[09:22] <ikonia> https://help.ubuntu.com/10.04/serverguide/C/httpd.html
[09:23] <CluelessPerson> ikonia, No.
[09:23] <ikonia> CluelessPerson: ok - that is %100 worth walking through to make sure your domain is setup well
[09:24] <CluelessPerson> ikonia, Agreed.
[09:24] <ikonia> CluelessPerson: as a tip, using the official ubuntu docs on https://help.ubuntu.com is always a good starting point
[09:24] <ikonia> CluelessPerson: it looks like you're in the ball park, but rather than trouble shoot, verify against this document then we can move forward
[09:24] <CluelessPerson> ikonia, I can be quite misguided sometimes
[09:24] <CluelessPerson> ikonia,  SIR! :D
[09:24] <ikonia> CluelessPerson: it's not an issue, but it's worth bookmarking https://help.ubuntu.com
[09:25] <ikonia> CluelessPerson: it's normally got sane and useful advice/guides on it for most common stuff
[09:38] <CluelessPerson> ikonia, Yeah, no dice for me.
[09:38] <CluelessPerson> just shows the annoying "it works!"
[09:38] <ikonia> no dice ?
[09:38] <ikonia> ok, so there is the test
[09:39] <ikonia> in the document root put the file, "test.hml" and put any html content in it you want, just saying "test" for example
[09:43] <CluelessPerson> ikonia, okay.
[09:43] <trapmax> how to convert lvm2-root partition to kvm-guest virtual disk root-partition?
[09:44] <CluelessPerson> ikonia, done
[09:44] <ikonia> does it work ?
[09:44] <ikonia> trapmax: you won't be able to do that as the guest will have no knowledge of the lvm structure
[09:44] <ikonia> trapmax: you could present the lv as the root file system for the guest though
[09:44] <CluelessPerson> ikonia, no
[09:45] <CluelessPerson> ikonia,  Sorry man, I have to get some sleep.
[09:45] <CluelessPerson> ikonia, Thanks for the help though.
[09:45] <ikonia> CluelessPerson: at least we know it's your domain config
[09:45] <ikonia> it's not looking in that document root
[09:45] <ikonia> CluelessPerson: I believe I know what's happening :)
[09:45] <ikonia> should be quite straightforward to confirm
[09:47] <trapmax> ikonia: k. going to try that
[10:13] <JadedJacob> Hi.
[10:13] <JadedJacob> Just setting up Ubuntu server 11.04
[10:14] <JadedJacob> I also ticked 'open SSH server' and 'LAMP'
[10:14] <JadedJacob> was wondering if anyone had any experience with setting up imagemagick
[10:17] <jfb_h20> apt-get install imagemagick
[10:19] <JadedJacob> heh sweet, so much easier than window
[10:19] <JadedJacob> *windows
[10:19] <JadedJacob> ok, how about setting up a ftp server?
[10:30] <Myrtti> is there a specific reason why you need ftp server?
[10:30] <JadedJacob> I'm running ubuntu server as a virtual machine using virtual box
[10:30] <Myrtti> I tend not to recommend it unless there are some client applications (like webcams etc) that have no other option
[10:31] <Myrtti> ssh server can IMO be configured so that it allows only sftp, not ssh logins
[10:31] <JadedJacob> cool
[10:31] <JadedJacob> I'll look into it
[10:32] <Myrtti> I've not done it myself but will look into it myself sometime soon, I personally think FTP has very limited amount of viable use cases nowadays
[10:41] <jamespage> rbasak, I just tested and uploaded your nova changes; pending release team review
[10:43] <rbasak> jamespage: thanks!
[11:59] <AGirlyGirl> Hi
[11:59] <AGirlyGirl> Second attempt at IRC
[11:59] <AGirlyGirl> not sure if anyone is here?
[12:01] <GirlyGirl_> Hi everyone
[12:02] <GirlyGirl_> Possibly quick question... I've changed the owner:group of some directories and was wondering if anyone happens to know where this original owner information might be stored
[12:09] <_ruben> GirlyGirl_: there's no "history" for such commands, if you change owner, there only way to revert that is knowing what the previous owner was and change it to it manually
[12:09] <GirlyGirl_> _ruben oh no
[12:10] <GirlyGirl_> there is no record of uid's that have been assigned?
[12:10] <GirlyGirl_> there's absolutely no way?
[12:10] <_ruben> only the current state is known, not the previous one(s)
[12:11] <GirlyGirl_> okay, thanks for your answer.
[12:12] <ersi> GirlyGirl_: Well, all UIDs are present in /etc/passwd. But not historically, for files.
[12:13] <GirlyGirl_> mmm, yes, that's user id
[12:13] <GirlyGirl_> but the way these directories were created, they don't actually create users
[12:13] <ersi> directories never create users :)
[12:14] <GirlyGirl_> I'm stuffed.
[12:14] <ersi> Just meant that if you have a weak idea of who/what might have owned it earlier, but not sure who - then /etc/passwd and /etc/groups can be useful
[12:14] <GirlyGirl_> they were all assigned 4 digit numbers
[12:14] <GirlyGirl_> ####:sites
[12:15] <GirlyGirl_> i know the sites bit
[12:15] <GirlyGirl_> but i changed some...er all of them... to jail some of our users to the /home folder.
[12:15] <GirlyGirl_> the trouble is that now they have problems uploading new files
[12:16] <GirlyGirl_> so i thought i might back out of what i did.
[12:18] <ersi> Oh, dang.
[12:19] <ersi> Well, unless you've manually sat those before.. so it's stuck in your shell history..
[12:19] <GirlyGirl_> no, they are automatically generated through the control panel (I'm guessing that's how it works) --- obviously new to the server stuff. but learning.
[12:20] <patdk-wk> heh, shell history never works for me, cause I always have several sessions at one, and only the last one to exit gets saved
[12:20] <ersi> Most likely, yeah'
[12:20] <patdk-wk> see if the control panel has a history?
[12:20] <patdk-wk> the control panel I made for stuff like that, works on a database, so the database has a history of that kind of stuff
[12:20] <GirlyGirl_> @patdk-wk hmm, that's interesting. i'll see if i can do just that
[12:59] <jason_> Does anybody have any idea how I could possibly obtain an Ubuntu 10.04 PPC chroot?
[12:59] <jason_> I was hoping someone might be hosting it somewhere for the 10 people in the world who might want it...
[13:09] <RoyK> http://apina.biz/46419.png
[13:13] <trapmax> =)
[13:22] <raubvogel> Package version number question: if the nfs server package in Fedora is 1.1.5-6, what would be the equivalent for ubuntu?
[13:23]  * ogra_ points to launchapd
[13:27] <raubvogel> ogra_: I know it was a stupid question. Kinda like the why I can do things in the Fedora nfs but not in ubuntu.
[13:28] <RoyK> lol http://boingboing.net/ <-- new theme today :)
[13:49] <hggdh> hallyn_: can you have a look at bug 868753 later on? Seems a regression
[13:59] <caribou> kernel question : what is the best practice wrt kernel versions in, say Lucid LTS for example
[13:59] <caribou> there is 2.6.32, 2.6.35 and 2.6.38 based kernels
[14:00] <caribou> should the most recent 2.6.38-based kernel be preferred ?
[14:01] <smoser> jamespage, thank you for testing rbasak 's merge.
[14:01] <jamespage> smoser: np - it was starting to annoy me as I could not shutdown any instances!
[14:02] <smoser> why?
[14:02] <smoser> the ring buffer one ?
[14:02] <smoser> jamespage, have you seen http://devstack.org ?
[14:02] <smoser> its the new novascript
[14:02] <jamespage> OK -so I could shut them down - but they did not disappear from describe-instances
[14:02] <jamespage> I was just reading
[14:03] <JoeyJoeJo> I'm trying to install cassandra but I'm getting this error. "Package cassandra is not available, but is referred to by another package."
[14:04] <jamespage> JoeyJoeJo, where are you getting your cassandra package from?
[14:04] <JoeyJoeJo> jamespage: I ran 'sudo apt-get install cassandra'
[14:05] <jamespage> JoeyJoeJo, there is currently no cassandra package in Ubuntu - you can however use the upstream .deb's
[14:06] <jamespage> http://wiki.apache.org/cassandra/DebianPackaging
[14:06] <jamespage> 'but is referred to by another package' - not seen that one before
[14:06] <JoeyJoeJo> thanks!
[14:08] <smoser> hallyn_, around ?
[14:31] <hallyn_> smoser: what's up?
[14:31] <smoser> ok.
[14:31] <smoser> so i'm probably doing this wrong
[14:32] <smoser> but in my /etc/fstab, i have a line like: "none /cgroups cgroup cpuacct,memory,devices,cpu,freezer,blkio 0 0
[14:32] <smoser> "
[14:32] <smoser> on boot, libvirt-bin is up, but /cgroups is not mounted
[14:32] <smoser> so i have to do the 'sudo libvirt-bin stop; sudo libvirt-bin start'
[14:32] <smoser> but the start takes minutes
[14:33] <smoser> oh, and before doing that i have to manually 'sudo mount /cgroups' (i'm not sure why it doens't get mounted)
[14:35] <smoser> so hallyn_ the 2 things are A.) why does /cgroups not get mounted on boot, and B.) why is libvirt-bin taking ages to start.
[14:36] <hallyn_> I don't know a).  it looks like it should work
[14:36] <hallyn_> if you umount /cgroup; mount -a, does it show back up?
[14:37] <hallyn_> why don't you strace the start?  I've not seen that happen, curious to see where it's spending its time
[14:40] <smb> zul, I moved assignment of bug 854829 to you for doing any xen package changes at your leisure.
[14:40] <smb> ubottu, bug #854829 ?
[14:41] <adam_g> rbasak: ping
[14:41] <rbasak> adam_g: pong
[14:43] <adam_g> rbasak: hey! that patch for Bug #868349 seems to work great here, is there a pending package upload with that fix?
[14:44] <adam_g> rbasak: nvm, i see the merge request onw
[14:45] <jamespage> adam_g, yes - its waiting for review ATM
[14:45] <rbasak> No problem, sorry for the error in the first place - my test environment based on the source tree rather than the package still works fine for some reason. I think it's pending approval from the release team.
[14:46] <adam_g> ah cool! no problem, thanks guys
[14:52] <hallyn_> smoser: I can't reproduce, with your exact fstab entry, mount -a mounts /cgroup
[14:54] <hallyn_> (and reboot also mounts it)
[14:57] <smoser> hallyn_, it doesn't do it here.
[15:00] <JadedJacob> is it risky downgrading php from 5.3 to 5.2?
[15:00] <JadedJacob> I'm running ubuntu server
[15:02] <TheEvilPhoenix> JadedJacob:  why would you need to downgradeE?
[15:02] <TheEvilPhoenix> downgrade*
[15:03] <JadedJacob> because I want to use a script that requires zend optimizer
[15:05] <hallyn_> smoser: you didn't answer about mount -a
[15:06] <smoser> hm.. it does not do it.
[15:07] <smoser> htat is strange. manual 'sudo mount /cgroups' does
[15:08] <smoser> hallyn_, its strange
[15:10] <hallyn_> does your kernel not support some of the cgroups you list?
[15:10] <patdk-wk> JadedJacob, heh, zend optimizer thing made me made, but there is always ioncube :)
[15:10] <smoser> i lsot my history, but when i ran 'mount -av' initially, it said "already mounted". but /proc/mounts did not have it.
[15:10] <smoser> but now i've done something and it seems to work
[15:42] <lynxman> SpamapS: ping
[15:44] <hggdh> Daviey: we just found a potential issue with i386, at least the minimal install
[15:47] <hggdh> Daviey: udev startup fails because there is no dbus installed; as a result, the system remains with a RO root filesystem, and does not complete boot
[15:47] <JadedJacob> I'm running ubuntu 11.04, php 5.3, can someone help me downgrade to 5.2?
[15:47] <its> hello
[15:48] <its> Im having some trouble setting a static IP using the GUI. Should I just use /etc/network/interfaces instead?
[15:51] <its> anyone alive in here? :P
[15:53] <patdk-wk> hmm, gui isn't server, try #ubuntu?
[15:53] <its> oh shit
[15:54] <its> well, I installed X11 and gnome and all that so I could get a desktop.
[15:54] <its> I am on Ubuntu server edition, though.
[15:54] <patdk-wk> those aren't part of server edition, so we have no idea how they work
[15:54] <its> Do you just CLI?
[15:54] <patdk-wk> none of my *servers* have screens, so yes
[15:54] <its> Like, no desktop enviornment on server edition?
[15:55] <its> Interesting.
[15:55] <patdk-wk> none of my servers have keyboards also
[15:55] <its> But, all the dotfiles and all the /etc/ should be the same for us, right?
[15:55] <patdk-wk> just a big pile of cpu, ram, and disks
[15:55] <its> Well, this server won't either. I'm just setting it up as a router that sits on the edge of the network.
[15:55] <patdk-wk> setting an ip in /etc/network/interfaces and in the gui are totally different, and are not compatable with each other
[15:56] <its> One port is public/DHCP and the other port is private/static
[15:56] <its> hah! alright, so that's why...
[15:56] <its> No more gui config-ing for me, then.
[15:56] <patdk-wk> well, I think it's just not compatable on a per interface level
[15:56] <its> right
[15:56] <patdk-wk> but well, I don't play with it, so :)
[15:57] <its> I was experiencing problems with the gui but what you're saying makes perfect sense.
[15:57] <its> after I get this thing configured its going in the rack/
[15:57] <its> Without a screen and without a keyboard, all that.
[15:59] <its> have you set up a static IP on your box before?
[16:00] <its> if so, how?
[16:00] <its> through /etc/network/interfaces?
[16:07] <qman__> its, please read the server guide, this is covered in extensive detail there
[16:07] <qman__> also, if you installed NetworkManager, uninstall it, as it _will_ break your configuration
[16:07] <qman__> installing X on your router is a bad idea
[16:09] <qman__> being the device with the most exposure to the internet on your network, it should have the least possible amount of software installed to do the job
[16:12] <its> qman_ you're right
[16:12] <its> where is the server guide?
[16:13] <its> and what is the pkg name for network-manager?
[16:17] <its> I found the guide. Its in the topic.
[16:18] <JadedJacob> Man I give up trying to downgrade
[16:18] <JadedJacob> I'm going to do a fresh install
[16:19] <JadedJacob> Is it possible to setup a new install of ubuntu server, with a lamp server running php 5.2? (not 5.3)
[16:19] <its> Package network-manager is not installed, so not removed
[16:19] <its> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[16:24] <smoser> hallyn_,
[16:24] <smoser> so, debugging a bit.
[16:25] <smoser> i'm still not sure why /cgroup is not getting mounted.
[16:25] <smoser> but my 'init libvirtd-bin start' takes 2 minutes due to libvirt-cgconfig-wait
[16:30] <JadedJacob> cya
[16:39] <hallyn_> smoser: you have cgroup-bin installed?
[16:47] <its> ubuntu doesn't use linux 3.0 yet?
[16:49] <lynxman> its: it does in the new about to be released version 11.10(oneiric)
[16:50] <its> when that comes out, a simple apt-get update upgrade command will install it?
[16:50] <hallyn_> its: no, you'll need to do do-release-upgrade
[16:50] <its> anyone have a date of when that's expected?
[16:52] <genii-around> Oct 13
[16:52] <its> my birthday :)
[17:14] <Daviey> hggdh: geez
[17:14] <Daviey> hggdh: when was this introduced
[17:14] <Daviey> ?
[17:31] <hggdh> Daviey: I do not know; for some time now, we have been having eventual failures on the test rig; re-running the test would usually succeed.
[17:31] <Daviey> hggdh: the CI tests didn't spot this?
[17:33] <hggdh> Daviey: yes, they did; but the end result is boot does not complete, and at this point in time, nobody would be near to see it; and, again, re-running the tests would work most of the times
[17:34] <smoser> hallyn_, bug 869364 explains my problem.
[17:34] <hggdh> Daviey:  yesterday I tried to connect, using virt-manager, to one such instance -- and found another bug, now on libvirt, it seems...
[17:35] <hggdh> and today jibel_ was able to connect, and found that udev seemgly did not start
[17:39] <Daviey> hggdh: are you tracking the other udev issues?
[17:40] <Daviey> ergo, udev is a mess.
[17:40] <hggdh> Daviey: no, I *was* not. Now, I guess, I will ;-)
[17:41] <hggdh> Daviey: note that this seems to be rather pretictable nowadays only on the minimal virtual install
[17:41] <Daviey> hggdh: bug 818177
[17:42] <Daviey> bug 862823
[17:42] <Daviey> and potential, 790712
[17:43] <jamespage> bah - where is that bot?
[17:43] <Daviey> err, last one should be bug 801494
[17:43] <Daviey> jamespage: he needed a vacation.
[17:45] <Daviey> adam_g: Are you going to drive bug 850880?
[17:46] <hggdh> Daviey: in this case, per jibel_, udev fails to open a session to dbus, and dies. jibel_ tried some boots, same error; then he installed dbus, and tried again, it worked
[17:46] <hggdh> Daviey: but I tried it with dbus installed, fails the same. It really smells like a race
[17:46] <Daviey> hggdh: interesting, perhaps jibel_ should talk to jhunt tomorrow.
[17:47] <hggdh> Daviey: end result -- i.e., visible result is boot failed because / is RO
[17:47] <Daviey> jamespage: perhaps nova wants, 838581
[17:48] <Daviey> and 859679
[17:48] <smoser> where is our beloved mup
[17:49] <smoser> Daviey, had you seen this: https://bugs.launchpad.net/nova/+bugs?field.tag=diablo-backport
[17:50] <Daviey> smoser: ofc :)
[17:50] <smoser> those are bugs that vishy tagged as relevant for diablo-backport
[17:51] <smoser> there wer e2 guys from Quanta Research at openstack summit that tbug 838581 was affecting.
[17:52] <Daviey> smoser: that sounds like the bug which makes nova-api suck, no?
[17:53] <smoser> i cherry picked the upstream commit reported to fix it but have no way of testing
[17:54] <Daviey> smoser: You have done that, or you will do that?
[17:54] <smoser> well, i thought i had
[17:55] <smoser> but i realize now tha ti had left the patch out of the ocmit
[17:55] <Daviey> If it's the nova-api sucking issue, it's pretty easy to reproduce in the lab
[17:56] <Daviey> I bet smoos doesn't have the issue
[17:56] <Daviey> smosos
[17:56] <RoyK> what would be a good threshold for drive temperature alerts?
[18:00] <Daviey> 0 C would be alarming
[18:03] <smoser> -273 also
[18:04] <hallyn_> smoser: are you there?
[18:05] <Daviey> hallyn_: How are things looking?
[18:05] <hallyn_> Daviey: terrific :)  except for udev
[18:06] <Daviey> hallyn_: the udev story only gets worse.
[18:06] <hallyn_> tmpfs anyone?  :)
[18:07] <hallyn_> Daviey: are more ppl reporting bugs?
[18:07] <Daviey> hallyn_: don't worry, you'll awake in 10 years time - in the shower, and it'll all have been aa dream.
[18:07] <ersi> RoyK: Around 30-40C?
[18:07] <smoser> hallyn_, here.
[18:08] <smoser> Daviey, look at that bug
[18:08] <smoser> https://bugs.launchpad.net/nova/+bug/838581
[18:08] <Daviey> yeah?
[18:08] <hallyn_> smoser: i did.  i don't think the package can do anything about that
[18:09] <hallyn_> i'm testing to make sure it hasn't changed, but it used to be, once you composed cgroups, you couldn't mount them under different compositions
[18:10] <Daviey> ersi: my laptop hd temp is 36 C at normal use.
[18:10] <janesays_> ubuntu + openssh is the most failest thing ever.
[18:10] <Daviey> janesays_: incorrect.
[18:11] <smoser> i just pushed a branch to https://code.launchpad.net/~smoser/nova/lp838581 that cherry picks the upstream commit that reported to fix the bug.
[18:11] <smoser> https://github.com/openstack/nova/commit/d6b460e2e87e573500f6b521939895c6d93f5fdf
[18:11] <smoser> but then, there is  a new branch linked to that bug
[18:11] <Daviey> smoser: your award will be in the post shortly.
[18:12] <smoser> which seems to me to be a sane fix
[18:12] <smoser> http://bazaar.launchpad.net/~rackspace-titan/nova/eventlet-sqlalchemy-locking-lp838581/revision/1527
[18:13] <janesays_> I get the same roaming not allowed by server request and I did all the fixes online
[18:13] <janesays_> http://pastebin.com/ubc3tFsT
[18:13] <janesays_> it only works for one of the computers, another account has no problem
[18:15] <janesays_> and can ssh directly into the host, but not from the main host to the secondary
[18:19] <smoser> janesays_, read at http://www.snailbook.com/faq/trusted-host-howto.auto.html
[18:19] <smoser> look for roaming
[18:19] <smoser> its a server setting, and your "main host" probably isn't reverse lookuping correctly.
[18:20] <zul> smoser: the award will be in a shape of a cookie
[18:20] <hggdh> Daviey: I could reproduce a udev issue on boot on a KVM install of minimal-virtual
[18:20] <smoser> Daviey, please look at that bug, and the "rackspace-titan" commit also.
[18:20] <smoser> to me, the rackspace-titan fix seems more sane, but i admit to not really knowing what all is happening in either one.
[18:21] <smoser> i'll be back in ~ 1 hour. Daviey and then i'll go looking in #openstack for some racker help.
[18:21] <smoser> https://launchpad.net/~rackspace-titan/+members#active
[18:22] <Daviey> smoser: wait, https://github.com/openstack/nova/commit/d6b460e2e87e573500f6b521939895c6d93f5fdf looks like just slashing code out?
[18:23] <hallyn_> Daviey: my vaio sits at 67 degrees at idle :)
[18:24] <Daviey> hallyn_: Careful, i burned my leg on an old laptop.
[18:29] <koolhead17> cookies
[18:29] <utlemming> hallyn_: when I was in school, I had a laptop that would get to 63C during the summer months. The max the chip was rated was 65C. So every couple hours I would have to shut it down, and put it in the fridge for a half hour or so just to get my home work done.
[18:31] <zul> smoser: that patch looks sane
[18:31] <RoyK> anyone here that uses backblaze.com for backups?
[18:33] <hallyn_> utlemming: 69 is the low point, it often runs at 94C while a do a build
[18:33] <utlemming> perhaps the freezer over the fridge. What's your chip rated for?
[18:33] <hallyn_> bios takes actions at 94 and 98
[18:33] <hallyn_> 98 = shutdown
[18:34] <RoyK> 97˚C is rather high
[18:34] <Daviey> i'd quite like to boil water on my laptop
[18:34] <hallyn_> she cannot do any more, capn!
[18:35] <RoyK> hehe - no problems if you spill water on it - the water will just steam away :D
[18:35] <utlemming> nothing like the smell of hot silicon
[18:35] <utlemming> RokY: although you might fracture the chip due to the rapid cooling
[18:36]  * RoyK just setup this home server with four WD Black drives and they tend to get a bit hot.....
[18:36] <RoyK> utlemming: indeed
[18:36] <RoyK> perhaps I should use greens - lower spin, but still sufficient for my use
[18:37] <qman__> so things haven't changed
[18:37] <qman__> every time I've compared int he past, seagates ran about 10C cooler than WDs of similar performance
[18:58] <ramy_d_> hi i'm having an issue when my server boots
[18:59] <ramy_d_> it doesn't turn on the eth0 device, I can turn it on however if i run sudo ifconfig eth0 up
[18:59] <ramy_d_> i'm wondering if throwing the command in /etc/rc.local will fix my problem
[19:00] <ramy_d_> or if i should be looking for another solution
[19:01] <qman__> ramy_d_, your /etc/network/interfaces is probably not configured correctly
[19:01] <ramy_d_> thanks, i will make a note and look into it
[19:40] <smoser> Daviey, right.
[19:41] <RoyK> at what temperatures will a drive find itself in a bad mood?
[19:41] <RoyK> I have some closing to 60˚C
[19:41] <janesays_> smoser, I think I broke it worse… o_O
[19:41] <smoser> what i think the one that went into trunk does is remove the pool of things that could have caused the race, meaning there might now only be one?
[19:43] <smoser> the patch in the ~rackspace-titan tree seems to just synchronize each function
[19:43] <smoser> which seems more sane.
[19:43] <genii-around> RoyK: Thats pretty high. I think most state their operating temps around 40-45 C
[19:43] <smoser> but the one is in trunk
[19:43] <Daviey> smoser: if you prove it solves a bug, and doesn't regress - lets go for it.
[19:44] <RoyK> http://paste.ubuntu.com/703566/
[19:44] <smoser> Daviey, i've not esen it, but i can try to reproduce and see if change affects it.
[19:44] <Daviey> smoser: next week, we should try and validate keystone and dashboard works.
[19:45] <genii-around> RoyK: Is it SCSI?
[19:45] <Daviey> smoser: So if it solves the bug that was concern me, was slow (or failed) concurrent instance start.
[19:45] <Daviey> nova-api getting abused.
[19:49] <RoyK> genii-around: sata
[19:49] <janesays_> http://pastebin.com/D7jr6UmA   o_O
[19:52] <janesays_> now root is instead sending its own key and not forwarding mine o_O
[20:33] <Takyoji> any way to detect a kernel panic or similar in log files?
[20:34] <Takyoji> I'm working on a system remotely via SSH, and it just suddenly becomes completely unresponsive via the network after a couple minutes or so
[20:35] <Patrickdk> by definition, no
[20:35] <Patrickdk> if the kernel panics, normally that means logging isn't working anymore
[20:36] <Takyoji> so how will I be able to troubleshoot it whatsoever? xP
[20:36] <Patrickdk> uptime would tell you if the system rebooted
[20:36] <Takyoji> it's not automatically rebooting though
[20:36] <Patrickdk> if it did panic, and you set it up to dump ram to swap drive, it would recover it on next boot
[20:37] <Patrickdk> serial console?
[20:37] <Patrickdk> kvm over ip?
[20:37] <Takyoji> I don't have that as an option currently
[20:37] <Takyoji> So by nature of a kernel panic, it would automatically reset the system?
[20:38] <Patrickdk> depends what you told it to do, and how *operational* the panic is
[20:39] <Patrickdk> default is to not reboot
[20:39] <Patrickdk> sysctl kernel.panic = ?
[20:39] <Takyoji> ahh
[20:41] <Takyoji> all I know is that it's a Trixbox installation: http://fonality.com/trixbox/downloads
[20:41] <Takyoji> and I'm not sure how things are configured by default as of Trixbox
[20:46] <Takyoji> on the next time it's restarted I can check the value
[20:53] <linty_> i need help please. i've installed a lamp stack via tasksel. and for some reason php won't process. when you go to http://184.106.225.233/info.php it just wants to download the file instead of display it in the browser?
[20:54] <linty_> sorry. the beginning of what i typed above didn't post. i installed lamp via tasksel
[20:55] <Takyoji> is the Apache PHP module even active?
[20:55] <Takyoji> a2enmod php5
[20:56] <qman__> also, what version of ubuntu, and under what circumstances?
[20:58] <linty_> 11.04 web server
[20:58] <linty_> no
[20:58] <linty_> sorry the "no" was the wrong window
[20:58] <Takyoji> PHP seems to be running now.
[20:59] <linty_> yeah i just rebooted
[20:59] <linty_> very weird
[20:59] <linty_> status was active
[20:59] <linty_> on both
[21:00] <linty_> thanks for your help Tak
[21:00] <Takyoji> because, if it's returning the source code, that usually means nothing is set in the config/modules to parse the PHP first; and, if it's acting like downloading, but the downloaded file is completely blank, then (I think) that's usually when the PHP process dies in some way or another and Apache returns a blank result.
[21:01] <linty_> hmmm wonder if it could be a hardware issue
[21:01] <linty_> time to run some scans
[21:02] <Takyoji> that would be very very specific for it to be a hardware issue, for it to be only an issue in PHP and everything else being perfectly fine. :P
[21:02] <qman__> yeah, unlikely at best
[21:02] <linty_> ok well i'll just chalk it up to the linux gods and see if it happens again
[21:02] <qman__> usually it's a bug in loading of the module
[21:03] <qman__> some configuration not sticking or whatever
[21:04] <linty_> thank you qman
[21:05] <linty_> and thanks again Tak
[21:05] <qman__> re trixbox, my only experience with it is encountering one at a business that got completely owned and was racking up their phone bill
[21:05] <Takyoji> heh
[21:05] <qman__> though I'm sure that had more to do with the guy who set it up than the software itself
[21:06] <Takyoji> I still wonder what the hell it would even be. Does a kernel panic reset all the network connections, or not?
[21:07] <qman__> a kernel panic stops the entire system
[21:07] <qman__> all programs, connections, everything halts
[21:07] <qman__> and you may or may not be able to send the kernel signals via direct keyboard input and the sysrq magic keys
[21:08] <qman__> the only way to log a kernel panic is an IP KVM or serial console
[22:29] <janesays_1> still having issues getting a roaming error on ssh.  it's only from mac laptops, other laptops are fine o_O  http://pastebin.com/D7jr6UmA
[22:29] <Daviey> janesays_1: mac + ssh is the most failest thing ever.
[22:30] <janesays_1> it is :(
[22:30] <janesays_1> I've been dicking around with it all day
[22:30] <janesays_1> so why can I do it perfectly fine on linux hosts
[22:30] <janesays_1> and not with mac
[22:34] <Daviey> sorry, don't know :(
[22:35] <janesays_1> I appreciate your help daviey
[22:35] <chrislabeard> Do you guys know if its possible to run 2 mail servers on the same domain?