/srv/irclogs.ubuntu.com/2011/10/06/#ubuntu-server.txt

ZanzacarHi does anyone have any experience setting up powernap configuration files?00:03
ZanzacarI 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:03
ZanzacarBasically 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 video00:04
ZanzacarI 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:05
=== phantom is now known as Guest80136
Guest80136Is anybody here faimilar with setting up SSL?00:22
twb!any00:23
twb!anybody00:23
ubottuA high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll.00:23
Guest80136Alright, 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:26
aliveriusSteve Jobs is dead00:28
Guest80136ya, i just saw that.................00:28
Guest80136crazy00:28
lajjrkim0, are you online?00:42
twbGuest80136: are you testing with curl -v?  If not, do so.00:47
Guest80136Well, 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 half00:48
twbThat sounds like a firewall issue00:49
Guest80136Duh. I feel rather stupid. My router blocks it by default. Of course the problem would be the most obvious one. Thanks a bunch00:50
twbNo problem.00:54
Guest95876Hello all!01:50
Guest95876Is anyone willing to help with an eth0 not working problem?01:51
Guest95876(that is if I have the correct channel this time)01:51
Guest95876Erm, has anyone ears or mouths here?01:52
Guest95876Hi, anyone on here?01:57
Guest95876Hi!02:02
pdtpatrick_Question .. is there a way to tell how long a service has been up with upstart?02:04
Guest95876Well, here is the real question: eth0 does not show up in ifconfig, but lo and virbr0 does02:07
twbGuest95876: ask "ip a" not "ifconfig"02:08
Guest95876I do not remember creating a virtual bridge, though I may have started a headless virtual machine during a previous login02:08
twbvbox probably did it02:08
Guest95876asking "ip" only asks for options02:09
twbThat's why I said "ip a"02:09
Guest95876ohh, I get the same, lo and virbr002:10
twblspci | grep net02:10
twbMake that lspci -nn | grep net02:10
Guest95876lspci -nn | grep net gives nothing02:10
twbWhere do you think this NIC is, physically?02:11
Guest95876nore does lspci | grep net02:11
Guest95876pci02:11
twbIt's a PCI card?02:11
Guest95876yes02:11
twbSounds like it's not seated properly02:11
twbturn off the box, unplug and replug the card, wiggle it around a bit to make sure it's seated cleanly02:12
twbIf possible see if you can see it in the BIOS -- e.g. as "BBS-0" PXE boot02:12
Guest95876hmmm, machine has not moved, and light is on, in the eth card02:12
Guest95876ok, I'll reboot and check that out02:12
twbWell, if lspci can't see it then it's not even a driver issue02:12
twbTHe kernel can't even see there's a device there02:13
Guest95876I have modprobed during this boot, so I may have dissassociated it02:13
Guest95876?02:13
twbUnless you've managed to unload the PCI bus driver, I don't see how that would affect lspci02:13
twbI 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 blinkenlights02:14
twbA mis-seated card is far more likely, though02:14
Guest95876there is also modem card on pci though02:15
Guest95876nothing shows up for lspci02:15
twbIf lspci (without the grep, I mean) doesn't print *anything*, then something is seriously wrong02:15
Guest95876no, I was just being lazy, lspci give plenty02:16
Guest95876I meant with the grep02:16
twbLinux doesn't have drivers for most DSL and ATM modems02:16
twbIt should show up in lspci, but not be usable02:17
twbgrepping for "net" assumes you're talking about an ethernet (IEEE 802.1) card.  Otherwise, read the full lspci output and identify the card yourself02:17
Guest95876its just good ole regular lan02:17
Guest95876reseating the card now02:19
TohuwI'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 the02:19
Tohuwuid of rtlkit is 1001 and the gid of pulse is 1002.)02:19
TohuwIf 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
twbTohuw: that sounds right02:19
twbTohuw: if you want to do networked filesystems, you really need centralized users and groups02:20
Guest95876Turns out its not PCI, its directly on the motherboard02:20
twbGuest95876: OK, then check if it's enabled in the BIOS02:21
TohuwYeah, 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
twbGuest95876: if it's an x86 motherboard it's probably using PCI or PCI-E as the backplane, so it should still show up in lspci02:21
Guest95876OK02:21
twbTohuw: if you are in a hurry and you only have two hosts, you can monkey around to manually sync some of the IDs02:21
Tohuwtwb: that's evil. I like it in this case though02:22
twbTohuw: 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 108702:22
twbTohuw: it's certainly not a sustainable long-term solution02:22
TohuwAye02:22
TohuwI have a few hosts here too :(02:22
TohuwSo I can't really change it for every single one02:22
TohuwI suppose I could remove the write list parameter from the share02:23
Tohuwor, do I need to use a wildcard for it instead of removing it02:23
TohuwI was hoping it would auth against the server accounts02:23
twbauth is separate from making the IDs match02:24
Tohuwtwb: 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
Tohuwoh02:24
twbYou probably shouldn't be using btrfs in production at this time, either02:25
Tohuwso 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
twbAnd you might as well take pass out, since there's no btrfsck yet02:25
TohuwYeah, this is my test server; I'm just playing with it.02:25
Guest95876BIOS shows that it is enabled, but does not show whether it is recognised or not02:25
twbGuest95876: then I dunno what's happening02:26
Tohuw"take pass out": remove the 0 entirely?02:26
Guest95876k, thx anyways02:26
twbTohuw: the 0s are dump, not pass02:26
twbTohuw: set both to 0 for btrfs02:26
Tohuwoh, ha, I just noticed that was set to 1 002:26
TohuwThat's why I was confused02:26
Guest95876guess i'll try a second ethernet card, may be fried...02:26
twbGuest95876: certainly an immediate workaround is to just go buy a PCI-E NIC and slap it in there02:27
Tohuwerrr, 0 2... what is wrong with my brain today02:27
thevinciCan any one help a first time server set-up?02:49
twb!anyone02:49
ubottuA high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll.02:49
thevinciBeen using Ubuntu desktop for a few years now, and I'm trying to set up a server in my home now.02:50
thevinciWell, 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
gadgetdevilI 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 solution02:52
gadgetdevilCheck out the Amahi Home Server project02:53
twbgadgetdevil: 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
thevinciWell, 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 server02:53
gadgetdeviltwb: that is what I mean by stripped down, it doesn't ship with extra packages02:53
twbthevinci: right; we discourage installing a GUI on servers02:54
thevinciWhen 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 here02:55
gadgetdevilthevinci: use sudo tasksel to quickly install software stacks02:55
thevinciwas that correct?02:55
twbthevinci: 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
twbthevinci: as for the 360, I think you need to install some DLNA shit, as it doesn't even speak regular CIFS02:56
thevincitwb: I can install that using tasksel?02:58
twbAFAIK, no02:58
twbYou want to use aptitude or apt-get or some other package manager02:58
twbtasksel is a "high level" wrapper for those02:58
thevinciahh, alright02:59
thevinciand I suppose I will have to add the repo's manually first?02:59
twbAssuming DLNA is what you want, "apt-cache search dlna" only turns up GUI things and minidlna, so I guess I would be looking at that02:59
gadgetdevilmediatomb is available in the Universe repo and is DLNA compatable02:59
twbthevinci: /etc/apt/sources.list should already have Ubuntu entries in it02:59
gadgetdevilI use minidnla with my PS3 and it works excellently.02:59
twbAh, mediatomb only mentions upnp not dlna03:00
twbMaybe I should "apt-cache search upnp" instead03:00
PatrickdkI never found a dlna server I liked03:00
twbPatrickdk: well, DLNA and UPNP are ridiculous protocols03:00
Patrickdkjust use the built in mythtv one now, for the rare times I use it03:00
Patrickdknormally I just browse a cifs share03:01
Tohuwtwb: 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:02
twbTohuw: hmm, I didn't think you could do that03:03
twbTohuw: I though uid/gid forcing was only available for FAT03:03
Patrickdktwb, well, upnp was made by microsoft, I think, so that explains it03:03
thevinciok, I'm going to research some of this stuff. thanks guys. its a start03:03
Tohuwtwb: nor did I :)03:03
twbPatrickdk: yes, upnp is basically mdns/dnssd, except using HTTP instead of DNS03:03
Tohuwtwb: oh, you can force uid and gid on non-fat things. I just didn't know you could do that with CIFS03:04
twbShrug03:04
twbGood to know03:04
thevinciwhen I try to use "tasksel", after I choose the software I want to install, it gives me, 'tasksel: aptitude failed (100)'03:11
thevinciwhat gives?03:11
twbdid you run it as root?03:14
thevincisudo tasksel03:16
thevincisudo = temporary root privlages as far as i understand03:17
twbThen I dunno03:18
twbmaybe because you're also running aptitude as root elsewhere?03:18
thevinciwould 'top' show me if that is so?03:18
jmarsdenthevinci: ps -C aptitude      # might be quicker and more to the point :)03:19
thevincithat shows me 'PID TTY      TIME CMD'03:20
jmarsdenthevinci: So you don't have an processes named aptitude running.03:23
thevincijmarsden: not that I can see03:24
jmarsdenOK.  So, does aptitude work fine "on its own"?  Does    sudo apt-get update        # work fine, for example?03:25
thevinciyes03:25
jmarsdenOr   sudo aptitude update    if you prefer.03:25
thevinciand I just did sudo apt-get upgrade like 20 minutes ago and It was just fine03:25
thevincimind you, I JUST installed this last night, so maybe I'm missing some packages????03:26
jmarsdenthevinci: OK, so as a workaround, you can do   tasksel --list-task YOURTASK     and then use apt-get by hand to install them.03:27
thevinciwell, I haven't the foggiest what I did, but tasksel just started working...03:32
thevinciI'll bet it's because I uncommented some repo lines in my apt/sources.list03:32
thevincithen checked if sudo apt-get update worked like u asked.03:33
Zanzacar!poll05:01
ubottuUsually, there is no single "best" application to perform a given task. It's up to you to choose, depending on your preferences, features you require, and other factors. Do NOT take polls in the channel. If you insist on getting people's opinions, ask BestBot in #ubuntu-bots.05:01
ZanzacarI am looking to configure powernap config file and seem to be having a hard time with IOMonitor, can anyone help with that?05:02
thevinciI'm having a really hard time understanding how to get my server started. can anyone point me to a good starting point?05:34
thevinciI'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:35
twbthevinci: hit the power button on the front05:37
Tm_Tforgot the hat, sorry05:38
Zanzacarthevinci: I recently did this myself I would be more the happy to show you everything06:18
Zanzacarthe vinci left :( I was going to help him06:18
=== mrmist is now known as mistymoo
trapmaxfaq for converting from physical install to virtual?07:40
=== JGJones__ is now known as JGJones
lynxmanmorning o/08:13
jamespagemorning lynxman08:35
lynxmanjamespage: good morning sir :)08:48
CluelessPersonCan 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:09
CluelessPersonDoes anyone know how I can make it show the index of that particular directory?09:10
ikoniayou need to enable indexs or remove the index page09:10
CluelessPersonikonia, How do I do that?09:11
ikoniaCluelessPerson: first thing is to remove the index page in your web root09:12
CluelessPersonikonia,  There is no page in the directory, it's empty09:12
CluelessPersonikonia, http://kingkept.cluelessperson.com/09:12
CluelessPersonthere is no index page in that directory.09:12
ikoniaCluelessPerson: there is a page, that messsage is created from an index page09:12
ikoniaCluelessPerson: where are you looking ?09:12
CluelessPersonikonia, 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
ikoniaCluelessPerson: what directory are you looking in09:13
CluelessPersonikonia,  I'd like to allow that for other pages, but here in this directory, kingkept, I want the index to show.09:13
ikoniaCluelessPerson: what directory are you looking in09:13
CluelessPersonthe directory that the actual webpages would be stored by the user.09:14
ikoniaCluelessPerson: what directory are you looking in09:14
CluelessPersonikonia, /media/first.storage/kingkept/web/09:14
ikoniaCluelessPerson: could you please paste the apache config for that site (please use a pastebin)09:15
CluelessPersonhttp://paste2.org/p/169261509:16
CluelessPersonikonia, ^09:16
ikoniaCluelessPerson: your missing option "Indexes" what happens if you put an "index.html" page in that document root09:18
CluelessPersonikonia, I've tried several variations, including putting an .htaccess file in the directory.09:18
CluelessPersonikonia, 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
ikoniaCluelessPerson: can you show me the tutorial you're following please.09:19
ikoniaCluelessPerson: ubuntu has a non-standard apache layout for it's config, I suspect this tutorial has not accounted for that09:19
ikonia(which may account for your issues)09:19
CluelessPersonikonia, I've followed several to no avail.09:20
CluelessPersonikonia, one moment while I gather links09:20
=== gustav- is now known as beerbro
CluelessPersonhttp://ask.metafilter.com/87072/Why-is-Apache-not-listing-any-files-in-an-open-directory09:20
ikoniaCluelessPerson: the config you've just shown me for your domain, in what file have you put that ?09:21
CluelessPersonhttp://httpd.apache.org/docs/current/mod/mod_autoindex.html09:21
CluelessPersonikonia,  /etc/apache2/sites-available/09:21
CluelessPersonkingkept.cluelessperson.com09:21
ikoniaCluelessPerson: so that's a new file in that directory09:21
CluelessPersonyes09:22
CluelessPersonlinked to the sites-enabled.09:22
ikoniaCluelessPerson: did you follow this through by any chance ?09:22
ikoniahttps://help.ubuntu.com/10.04/serverguide/C/httpd.html09:22
CluelessPersonikonia, No.09:23
ikoniaCluelessPerson: ok - that is %100 worth walking through to make sure your domain is setup well09:23
CluelessPersonikonia, Agreed.09:24
ikoniaCluelessPerson: as a tip, using the official ubuntu docs on https://help.ubuntu.com is always a good starting point09:24
ikoniaCluelessPerson: it looks like you're in the ball park, but rather than trouble shoot, verify against this document then we can move forward09:24
CluelessPersonikonia, I can be quite misguided sometimes09:24
CluelessPersonikonia,  SIR! :D09:24
ikoniaCluelessPerson: it's not an issue, but it's worth bookmarking https://help.ubuntu.com09:24
ikoniaCluelessPerson: it's normally got sane and useful advice/guides on it for most common stuff09:25
CluelessPersonikonia, Yeah, no dice for me.09:38
CluelessPersonjust shows the annoying "it works!"09:38
ikoniano dice ?09:38
ikoniaok, so there is the test09:38
ikoniain the document root put the file, "test.hml" and put any html content in it you want, just saying "test" for example09:39
CluelessPersonikonia, okay.09:43
trapmaxhow to convert lvm2-root partition to kvm-guest virtual disk root-partition?09:43
CluelessPersonikonia, done09:44
ikoniadoes it work ?09:44
ikoniatrapmax: you won't be able to do that as the guest will have no knowledge of the lvm structure09:44
ikoniatrapmax: you could present the lv as the root file system for the guest though09:44
CluelessPersonikonia, no09:44
CluelessPersonikonia,  Sorry man, I have to get some sleep.09:45
CluelessPersonikonia, Thanks for the help though.09:45
ikoniaCluelessPerson: at least we know it's your domain config09:45
ikoniait's not looking in that document root09:45
ikoniaCluelessPerson: I believe I know what's happening :)09:45
ikoniashould be quite straightforward to confirm09:45
trapmaxikonia: k. going to try that09:47
JadedJacobHi.10:13
JadedJacobJust setting up Ubuntu server 11.0410:13
JadedJacobI also ticked 'open SSH server' and 'LAMP'10:14
JadedJacobwas wondering if anyone had any experience with setting up imagemagick10:14
jfb_h20apt-get install imagemagick10:17
JadedJacobheh sweet, so much easier than window10:19
JadedJacob*windows10:19
JadedJacobok, how about setting up a ftp server?10:19
Myrttiis there a specific reason why you need ftp server?10:30
JadedJacobI'm running ubuntu server as a virtual machine using virtual box10:30
MyrttiI tend not to recommend it unless there are some client applications (like webcams etc) that have no other option10:30
Myrttissh server can IMO be configured so that it allows only sftp, not ssh logins10:31
JadedJacobcool10:31
JadedJacobI'll look into it10:31
MyrttiI'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 nowadays10:32
jamespagerbasak, I just tested and uploaded your nova changes; pending release team review10:41
rbasakjamespage: thanks!10:43
=== BoyishGirlyGirl is now known as TheGirlyGirl
=== BoyishGirlyGirl is now known as AGirlyGirl
AGirlyGirlHi11:59
AGirlyGirlSecond attempt at IRC11:59
AGirlyGirlnot sure if anyone is here?11:59
GirlyGirl_Hi everyone12:01
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 stored12:02
_rubenGirlyGirl_: 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 manually12:09
GirlyGirl__ruben oh no12:09
GirlyGirl_there is no record of uid's that have been assigned?12:10
GirlyGirl_there's absolutely no way?12:10
_rubenonly the current state is known, not the previous one(s)12:10
GirlyGirl_okay, thanks for your answer.12:11
ersiGirlyGirl_: Well, all UIDs are present in /etc/passwd. But not historically, for files.12:12
GirlyGirl_mmm, yes, that's user id12:13
GirlyGirl_but the way these directories were created, they don't actually create users12:13
ersidirectories never create users :)12:13
GirlyGirl_I'm stuffed.12:14
ersiJust 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 useful12:14
GirlyGirl_they were all assigned 4 digit numbers12:14
GirlyGirl_####:sites12:14
GirlyGirl_i know the sites bit12: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 files12:15
GirlyGirl_so i thought i might back out of what i did.12:16
ersiOh, dang.12:18
ersiWell, 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:19
patdk-wkheh, shell history never works for me, cause I always have several sessions at one, and only the last one to exit gets saved12:20
ersiMost likely, yeah'12:20
patdk-wksee if the control panel has a history?12:20
patdk-wkthe control panel I made for stuff like that, works on a database, so the database has a history of that kind of stuff12:20
GirlyGirl_@patdk-wk hmm, that's interesting. i'll see if i can do just that12:20
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...12:59
RoyKhttp://apina.biz/46419.png13:09
trapmax=)13:13
=== cloakable_ is now known as cloakable
raubvogelPackage version number question: if the nfs server package in Fedora is 1.1.5-6, what would be the equivalent for ubuntu?13:22
* ogra_ points to launchapd13:23
raubvogelogra_: I know it was a stupid question. Kinda like the why I can do things in the Fedora nfs but not in ubuntu.13:27
RoyKlol http://boingboing.net/ <-- new theme today :)13:28
hggdhhallyn_: can you have a look at bug 868753 later on? Seems a regression13:49
cariboukernel question : what is the best practice wrt kernel versions in, say Lucid LTS for example13:59
caribouthere is 2.6.32, 2.6.35 and 2.6.38 based kernels13:59
cariboushould the most recent 2.6.38-based kernel be preferred ?14:00
smoserjamespage, thank you for testing rbasak 's merge.14:01
jamespagesmoser: np - it was starting to annoy me as I could not shutdown any instances!14:01
smoserwhy?14:02
smoserthe ring buffer one ?14:02
smoserjamespage, have you seen http://devstack.org ?14:02
smoserits the new novascript14:02
jamespageOK -so I could shut them down - but they did not disappear from describe-instances14:02
jamespageI was just reading14:02
JoeyJoeJoI'm trying to install cassandra but I'm getting this error. "Package cassandra is not available, but is referred to by another package."14:03
jamespageJoeyJoeJo, where are you getting your cassandra package from?14:04
JoeyJoeJojamespage: I ran 'sudo apt-get install cassandra'14:04
jamespageJoeyJoeJo, there is currently no cassandra package in Ubuntu - you can however use the upstream .deb's14:05
jamespagehttp://wiki.apache.org/cassandra/DebianPackaging14:06
jamespage'but is referred to by another package' - not seen that one before14:06
JoeyJoeJothanks!14:06
smoserhallyn_, around ?14:08
hallyn_smoser: what's up?14:31
smoserok.14:31
smoserso i'm probably doing this wrong14:31
smoserbut in my /etc/fstab, i have a line like: "none /cgroups cgroup cpuacct,memory,devices,cpu,freezer,blkio 0 014:32
smoser"14:32
smoseron boot, libvirt-bin is up, but /cgroups is not mounted14:32
smoserso i have to do the 'sudo libvirt-bin stop; sudo libvirt-bin start'14:32
smoserbut the start takes minutes14:32
smoseroh, and before doing that i have to manually 'sudo mount /cgroups' (i'm not sure why it doens't get mounted)14:33
smoserso 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:35
hallyn_I don't know a).  it looks like it should work14:36
hallyn_if you umount /cgroup; mount -a, does it show back up?14:36
hallyn_why don't you strace the start?  I've not seen that happen, curious to see where it's spending its time14:37
smbzul, I moved assignment of bug 854829 to you for doing any xen package changes at your leisure.14:40
smbubottu, bug #854829 ?14:40
adam_grbasak: ping14:41
rbasakadam_g: pong14:41
adam_grbasak: hey! that patch for Bug #868349 seems to work great here, is there a pending package upload with that fix?14:43
adam_grbasak: nvm, i see the merge request onw14:44
jamespageadam_g, yes - its waiting for review ATM14:45
rbasakNo 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:45
adam_gah cool! no problem, thanks guys14:46
hallyn_smoser: I can't reproduce, with your exact fstab entry, mount -a mounts /cgroup14:52
hallyn_(and reboot also mounts it)14:54
smoserhallyn_, it doesn't do it here.14:57
JadedJacobis it risky downgrading php from 5.3 to 5.2?15:00
JadedJacobI'm running ubuntu server15:00
TheEvilPhoenixJadedJacob:  why would you need to downgradeE?15:02
TheEvilPhoenixdowngrade*15:02
JadedJacobbecause I want to use a script that requires zend optimizer15:03
hallyn_smoser: you didn't answer about mount -a15:05
smoserhm.. it does not do it.15:06
smoserhtat is strange. manual 'sudo mount /cgroups' does15:07
smoserhallyn_, its strange15:08
hallyn_does your kernel not support some of the cgroups you list?15:10
patdk-wkJadedJacob, heh, zend optimizer thing made me made, but there is always ioncube :)15:10
smoseri lsot my history, but when i ran 'mount -av' initially, it said "already mounted". but /proc/mounts did not have it.15:10
smoserbut now i've done something and it seems to work15:10
lynxmanSpamapS: ping15:42
hggdhDaviey: we just found a potential issue with i386, at least the minimal install15:44
hggdhDaviey: udev startup fails because there is no dbus installed; as a result, the system remains with a RO root filesystem, and does not complete boot15:47
JadedJacobI'm running ubuntu 11.04, php 5.3, can someone help me downgrade to 5.2?15:47
itshello15:47
itsIm having some trouble setting a static IP using the GUI. Should I just use /etc/network/interfaces instead?15:48
itsanyone alive in here? :P15:51
patdk-wkhmm, gui isn't server, try #ubuntu?15:53
itsoh shit15:53
itswell, I installed X11 and gnome and all that so I could get a desktop.15:54
itsI am on Ubuntu server edition, though.15:54
patdk-wkthose aren't part of server edition, so we have no idea how they work15:54
itsDo you just CLI?15:54
patdk-wknone of my *servers* have screens, so yes15:54
itsLike, no desktop enviornment on server edition?15:54
itsInteresting.15:55
patdk-wknone of my servers have keyboards also15:55
itsBut, all the dotfiles and all the /etc/ should be the same for us, right?15:55
patdk-wkjust a big pile of cpu, ram, and disks15:55
itsWell, 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-wksetting an ip in /etc/network/interfaces and in the gui are totally different, and are not compatable with each other15:55
itsOne port is public/DHCP and the other port is private/static15:56
itshah! alright, so that's why...15:56
itsNo more gui config-ing for me, then.15:56
patdk-wkwell, I think it's just not compatable on a per interface level15:56
itsright15:56
patdk-wkbut well, I don't play with it, so :)15:56
itsI was experiencing problems with the gui but what you're saying makes perfect sense.15:57
itsafter I get this thing configured its going in the rack/15:57
itsWithout a screen and without a keyboard, all that.15:57
itshave you set up a static IP on your box before?15:59
itsif so, how?16:00
itsthrough /etc/network/interfaces?16:00
qman__its, please read the server guide, this is covered in extensive detail there16:07
qman__also, if you installed NetworkManager, uninstall it, as it _will_ break your configuration16:07
qman__installing X on your router is a bad idea16:07
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 job16:09
itsqman_ you're right16:12
itswhere is the server guide?16:12
itsand what is the pkg name for network-manager?16:13
itsI found the guide. Its in the topic.16:17
JadedJacobMan I give up trying to downgrade16:18
JadedJacobI'm going to do a fresh install16:18
JadedJacobIs it possible to setup a new install of ubuntu server, with a lamp server running php 5.2? (not 5.3)16:19
itsPackage network-manager is not installed, so not removed16:19
its0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.16:19
smoserhallyn_,16:24
smoserso, debugging a bit.16:24
smoseri'm still not sure why /cgroup is not getting mounted.16:25
smoserbut my 'init libvirtd-bin start' takes 2 minutes due to libvirt-cgconfig-wait16:25
JadedJacobcya16:30
hallyn_smoser: you have cgroup-bin installed?16:39
itsubuntu doesn't use linux 3.0 yet?16:47
lynxmanits: it does in the new about to be released version 11.10(oneiric)16:49
itswhen 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-upgrade16:50
itsanyone have a date of when that's expected?16:50
genii-aroundOct 1316:52
itsmy birthday :)16:52
Davieyhggdh: geez17:14
Davieyhggdh: when was this introduced17:14
Daviey?17:14
hggdhDaviey: 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
Davieyhggdh: the CI tests didn't spot this?17:31
hggdhDaviey: 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 times17:33
smoserhallyn_, bug 869364 explains my problem.17:34
hggdhDaviey:  yesterday I tried to connect, using virt-manager, to one such instance -- and found another bug, now on libvirt, it seems...17:34
hggdhand today jibel_ was able to connect, and found that udev seemgly did not start17:35
Davieyhggdh: are you tracking the other udev issues?17:39
Davieyergo, udev is a mess.17:40
hggdhDaviey: no, I *was* not. Now, I guess, I will ;-)17:40
hggdhDaviey: note that this seems to be rather pretictable nowadays only on the minimal virtual install17:41
Davieyhggdh: bug 81817717:41
Davieybug 86282317:42
Davieyand potential, 79071217:42
jamespagebah - where is that bot?17:43
Davieyerr, last one should be bug 80149417:43
Davieyjamespage: he needed a vacation.17:43
Davieyadam_g: Are you going to drive bug 850880?17:45
hggdhDaviey: 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 worked17:46
hggdhDaviey: but I tried it with dbus installed, fails the same. It really smells like a race17:46
Davieyhggdh: interesting, perhaps jibel_ should talk to jhunt tomorrow.17:46
hggdhDaviey: end result -- i.e., visible result is boot failed because / is RO17:47
Davieyjamespage: perhaps nova wants, 83858117:47
Davieyand 85967917:48
smoserwhere is our beloved mup17:48
smoserDaviey, had you seen this: https://bugs.launchpad.net/nova/+bugs?field.tag=diablo-backport17:49
Davieysmoser: ofc :)17:50
smoserthose are bugs that vishy tagged as relevant for diablo-backport17:50
smoserthere wer e2 guys from Quanta Research at openstack summit that tbug 838581 was affecting.17:51
Davieysmoser: that sounds like the bug which makes nova-api suck, no?17:52
smoseri cherry picked the upstream commit reported to fix it but have no way of testing17:53
Davieysmoser: You have done that, or you will do that?17:54
smoserwell, i thought i had17:54
smoserbut i realize now tha ti had left the patch out of the ocmit17:55
DavieyIf it's the nova-api sucking issue, it's pretty easy to reproduce in the lab17:55
DavieyI bet smoos doesn't have the issue17:56
Davieysmosos17:56
RoyKwhat would be a good threshold for drive temperature alerts?17:56
Daviey0 C would be alarming18:00
smoser-273 also18:03
hallyn_smoser: are you there?18:04
Davieyhallyn_: How are things looking?18:05
hallyn_Daviey: terrific :)  except for udev18:05
Davieyhallyn_: the udev story only gets worse.18:06
hallyn_tmpfs anyone?  :)18:06
hallyn_Daviey: are more ppl reporting bugs?18:07
Davieyhallyn_: don't worry, you'll awake in 10 years time - in the shower, and it'll all have been aa dream.18:07
ersiRoyK: Around 30-40C?18:07
smoserhallyn_, here.18:07
smoserDaviey, look at that bug18:08
smoserhttps://bugs.launchpad.net/nova/+bug/83858118:08
Davieyyeah?18:08
hallyn_smoser: i did.  i don't think the package can do anything about that18:08
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 compositions18:09
Davieyersi: my laptop hd temp is 36 C at normal use.18:10
janesays_ubuntu + openssh is the most failest thing ever.18:10
Davieyjanesays_: incorrect.18:10
smoseri 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
smoserhttps://github.com/openstack/nova/commit/d6b460e2e87e573500f6b521939895c6d93f5fdf18:11
smoserbut then, there is  a new branch linked to that bug18:11
Davieysmoser: your award will be in the post shortly.18:11
smoserwhich seems to me to be a sane fix18:12
smoserhttp://bazaar.launchpad.net/~rackspace-titan/nova/eventlet-sqlalchemy-locking-lp838581/revision/152718:12
janesays_I get the same roaming not allowed by server request and I did all the fixes online18:13
janesays_http://pastebin.com/ubc3tFsT18:13
janesays_it only works for one of the computers, another account has no problem18:13
janesays_and can ssh directly into the host, but not from the main host to the secondary18:15
smoserjanesays_, read at http://www.snailbook.com/faq/trusted-host-howto.auto.html18:19
smoserlook for roaming18:19
smoserits a server setting, and your "main host" probably isn't reverse lookuping correctly.18:19
zulsmoser: the award will be in a shape of a cookie18:20
hggdhDaviey: I could reproduce a udev issue on boot on a KVM install of minimal-virtual18:20
smoserDaviey, please look at that bug, and the "rackspace-titan" commit also.18:20
smoserto me, the rackspace-titan fix seems more sane, but i admit to not really knowing what all is happening in either one.18:20
smoseri'll be back in ~ 1 hour. Daviey and then i'll go looking in #openstack for some racker help.18:21
smoserhttps://launchpad.net/~rackspace-titan/+members#active18:21
Davieysmoser: wait, https://github.com/openstack/nova/commit/d6b460e2e87e573500f6b521939895c6d93f5fdf looks like just slashing code out?18:22
hallyn_Daviey: my vaio sits at 67 degrees at idle :)18:23
Davieyhallyn_: Careful, i burned my leg on an old laptop.18:24
koolhead17cookies18:29
utlemminghallyn_: 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:29
zulsmoser: that patch looks sane18:31
RoyKanyone here that uses backblaze.com for backups?18:31
hallyn_utlemming: 69 is the low point, it often runs at 94C while a do a build18:33
utlemmingperhaps the freezer over the fridge. What's your chip rated for?18:33
hallyn_bios takes actions at 94 and 9818:33
hallyn_98 = shutdown18:33
RoyK97˚C is rather high18:34
Davieyi'd quite like to boil water on my laptop18:34
hallyn_she cannot do any more, capn!18:34
RoyKhehe - no problems if you spill water on it - the water will just steam away :D18:35
utlemmingnothing like the smell of hot silicon18:35
utlemmingRokY: although you might fracture the chip due to the rapid cooling18:35
* RoyK just setup this home server with four WD Black drives and they tend to get a bit hot.....18:36
RoyKutlemming: indeed18:36
RoyKperhaps I should use greens - lower spin, but still sufficient for my use18:36
qman__so things haven't changed18:37
qman__every time I've compared int he past, seagates ran about 10C cooler than WDs of similar performance18:37
ramy_d_hi i'm having an issue when my server boots18:58
ramy_d_it doesn't turn on the eth0 device, I can turn it on however if i run sudo ifconfig eth0 up18:59
ramy_d_i'm wondering if throwing the command in /etc/rc.local will fix my problem18:59
ramy_d_or if i should be looking for another solution19:00
qman__ramy_d_, your /etc/network/interfaces is probably not configured correctly19:01
ramy_d_thanks, i will make a note and look into it19:01
=== JGJones__ is now known as JGJones
smoserDaviey, right.19:40
RoyKat what temperatures will a drive find itself in a bad mood?19:41
RoyKI have some closing to 60˚C19:41
janesays_smoser, I think I broke it worse… o_O19:41
smoserwhat 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:41
smoserthe patch in the ~rackspace-titan tree seems to just synchronize each function19:43
smoserwhich seems more sane.19:43
genii-aroundRoyK: Thats pretty high. I think most state their operating temps around 40-45 C19:43
smoserbut the one is in trunk19:43
Davieysmoser: if you prove it solves a bug, and doesn't regress - lets go for it.19:43
RoyKhttp://paste.ubuntu.com/703566/19:44
smoserDaviey, i've not esen it, but i can try to reproduce and see if change affects it.19:44
Davieysmoser: next week, we should try and validate keystone and dashboard works.19:44
genii-aroundRoyK: Is it SCSI?19:45
Davieysmoser: So if it solves the bug that was concern me, was slow (or failed) concurrent instance start.19:45
Davieynova-api getting abused.19:45
RoyKgenii-around: sata19:49
janesays_http://pastebin.com/D7jr6UmA   o_O19:49
janesays_now root is instead sending its own key and not forwarding mine o_O19:52
Takyojiany way to detect a kernel panic or similar in log files?20:33
TakyojiI'm working on a system remotely via SSH, and it just suddenly becomes completely unresponsive via the network after a couple minutes or so20:34
Patrickdkby definition, no20:35
Patrickdkif the kernel panics, normally that means logging isn't working anymore20:35
Takyojiso how will I be able to troubleshoot it whatsoever? xP20:36
Patrickdkuptime would tell you if the system rebooted20:36
Takyojiit's not automatically rebooting though20:36
Patrickdkif it did panic, and you set it up to dump ram to swap drive, it would recover it on next boot20:36
Patrickdkserial console?20:37
Patrickdkkvm over ip?20:37
TakyojiI don't have that as an option currently20:37
TakyojiSo by nature of a kernel panic, it would automatically reset the system?20:37
Patrickdkdepends what you told it to do, and how *operational* the panic is20:38
Patrickdkdefault is to not reboot20:39
Patrickdksysctl kernel.panic = ?20:39
Takyojiahh20:39
Takyojiall I know is that it's a Trixbox installation: http://fonality.com/trixbox/downloads20:41
Takyojiand I'm not sure how things are configured by default as of Trixbox20:41
=== med_out is now known as medberry
Takyojion the next time it's restarted I can check the value20:46
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:53
linty_sorry. the beginning of what i typed above didn't post. i installed lamp via tasksel20:54
Takyojiis the Apache PHP module even active?20:55
Takyojia2enmod php520:55
qman__also, what version of ubuntu, and under what circumstances?20:56
linty_11.04 web server20:58
linty_no20:58
linty_sorry the "no" was the wrong window20:58
TakyojiPHP seems to be running now.20:58
linty_yeah i just rebooted20:59
linty_very weird20:59
linty_status was active20:59
linty_on both20:59
linty_thanks for your help Tak21:00
Takyojibecause, 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:00
linty_hmmm wonder if it could be a hardware issue21:01
linty_time to run some scans21:01
Takyojithat 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. :P21:02
qman__yeah, unlikely at best21:02
linty_ok well i'll just chalk it up to the linux gods and see if it happens again21:02
qman__usually it's a bug in loading of the module21:02
qman__some configuration not sticking or whatever21:03
linty_thank you qman21:04
linty_and thanks again Tak21: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 bill21:05
Takyojiheh21:05
qman__though I'm sure that had more to do with the guy who set it up than the software itself21:05
TakyojiI still wonder what the hell it would even be. Does a kernel panic reset all the network connections, or not?21:06
qman__a kernel panic stops the entire system21:07
qman__all programs, connections, everything halts21:07
qman__and you may or may not be able to send the kernel signals via direct keyboard input and the sysrq magic keys21:07
qman__the only way to log a kernel panic is an IP KVM or serial console21:08
=== JGJones__ is now known as JGJones
janesays_1still having issues getting a roaming error on ssh.  it's only from mac laptops, other laptops are fine o_O  http://pastebin.com/D7jr6UmA22:29
Davieyjanesays_1: mac + ssh is the most failest thing ever.22:29
janesays_1it is :(22:30
janesays_1I've been dicking around with it all day22:30
janesays_1so why can I do it perfectly fine on linux hosts22:30
janesays_1and not with mac22:30
Davieysorry, don't know :(22:34
janesays_1I appreciate your help daviey22:35
chrislabeardDo you guys know if its possible to run 2 mail servers on the same domain?22:35

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