=== wedgwood is now known as wedgwood_away === Sendoush_ is now known as Sendoushi === Sophism is now known as Guest10647 [03:28] How can I renice by process name instead of PID? === VD is now known as Guest45308 === peterrus- is now known as peterrus [06:25] Hey everyone [06:26] so if I want to create a ubuntu server 12.04 LTS on OSX for a server [06:27] I should use the OSX tut for creating a bootable flash drive? [07:19] hi, i get this error: modprobe: FATAL: Could not load /lib/modules/2.6.32-311-ec2/modules.dep: No such file or directory [07:19] can it be fixed? or do i have to bring up a new server [07:29] How do I enable apache / mysql to start on boot? [07:29] I thought they did, but apparently they don't, arg! [07:51] Would anybody recommend a linux distro for amazon cloud services? I am a beginner to linux servers. I just want to install apache, php, maybe node.js and python, etc. Run my own DNS server. [07:55] Do you know how to use the free tier storage when creating a compute unit at amazon cloud? [07:55] aguuu: You're on the ubuntu-server channel right? [07:56] aguuu: ubuntu-server is a fine choice if you're looking for a generic server... [07:56] Otherwise amazon spin their own distro I think, but I've always used ubuntu on ec2 [07:56] yes i am [07:56] but i'm a little scared of not having the UI. is it easy to install? [07:56] aguuu: Amazon will do all the installing for you, all you need to do is log in. [07:57] yes but then i have to install apache, php, etc etc [07:57] You'll be able to log in over ssh and then you'll need to install services / etc with commands like `sudo apt-get install mysql-server` [07:58] hmm [07:58] is it easy enough to install X and VNC, etc? or should i start with ubuntu desktop instead? [08:00] aguuu: Unless you have a burning need to get this up and running immediately with the least possible hassle, I'd suggest you buckle up and get ready to learn how to use the console... [08:00] aguuu: The basic steps of installing are pretty simple, linode has some great howtos, so did the one that was acquired by rackspace [08:01] yes. that's what i plan to do [08:01] but just in case i struggle too much. is it easy enough to install all the desktop stuff? [08:01] I don't know, I don't have any experience with running desktops on servers. [08:02] aguuu: I'd guess it'll be easier to fix the issue with the terminal than to install a desktop [08:02] lol [08:02] Whatever work is involved in installing the desktop is presumably equally or more complicated as installing whatever server tools you want... [08:02] aguuu: slicehost, they had some great articles, if they're still online [08:02] Otherwise linode still does [08:03] should i use ubuntu server 12.10 or 12.04 LTE ? [08:04] !LTS|aguuu, [08:04] aguuu,: LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server; with the exception of 12.04 (Precise Pangolin), which will be supported for 5 years on the desktop. The current LTS version of Ubuntu is !Precise (Precise Pangolin 12.04) [08:05] so. don't the updates for 12.04 make it exactly like 12.10? so why would one be supported and not the other? [08:05] if i do update the 12.04, will it become 12.10 ? [08:07] aguuu, 12.04 is 12.04. You can update 12.04 to future point releases of 12.04 e.g. 12.04.1. A distro release is required to upgrade to 12.10 .... [08:07] ohh ok. === smb` is now known as smb [08:43] Just upgraded mysql-server and now I'm getting a ton of weird errors and mysql is not running properly. [08:44] Anyone experienced the same thing when upgrading to the latest release on precise? === lool- is now known as lool === aguuu is now known as agu10^ === yofel_ is now known as yofel [10:42] trying to install ubuntu server 12.04 here and it's failing at Select and Install Software [10:42] it gets to trying to load tasksel and then fails [10:49] !details | zetheroo [10:49] zetheroo: Please give us full details. For example: "I have a problem with ..., I'm running Ubuntu version .... When I try to do ..., I get the following output: ..., but I expected it to do ..." [10:50] not sure what other info you need!? hardware? ... partitioning setup? [10:50] Please elaborate on "fails". The way in which it fails is crucially important to understanding your problem. [10:51] gives a message saying something about going back to the install menu and trying again ... [10:51] I have tried this with no success [10:51] keeps failing at the same place [10:52] Please post the *exact* message. And now that I know you're getting back to the install menu, I know that I can ask you go select the "Save debug logs" option from the install menu you've been taken back to so you can post that as well. [10:52] Then somebody may be able to help. [10:52] also file a bug and attach the logs there [10:53] I won't be able to post much since I will have to retype whatever I post :P [10:53] ? [10:54] do what rbasak said above ... save the logs somewhere, attach them to a bug [10:55] Installation step failed! An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Select and install software. [10:55] that is the full message [10:55] what happens if I skip it? [10:56] your install will be incomplete [10:56] (and probably fail again in later steps [10:56] ) [10:56] OK, so go to "Save debug logs" in the menu, and post those somewhere. [10:56] file a bug. attach the logs so someone can look at them [10:57] from the error text exposed in the UI its hard to judge what the actual error is [11:14] what answer this What is the third word in the following list? elm odd not fruit drift snow heavy mindful [11:14] ? [11:18] I burnt another copy to CD and its working now :) [11:19] great [12:20] any way to reboot a server by simulating a reset button? [12:20] Skaag: Like, REISUB? [12:21] I don't know what that is [12:22] I have a machine that doesn't respond to 'reboot' and I want to force reboot it [12:23] Skaag: press alt+sysrq and typs "S U B" [12:23] s/typs/type/ [12:23] I connected via ssh [12:24] I'm [12:24] echo s > /proc/sysrq-trigger [12:24] will sync, then u will remount all fs read-only [12:24] then b will boot [12:25] thanks, trying [12:26] here goes nothing... [12:26] * Skaag is crossing his fingers [12:27] the b caused the machine to immediately stop responding [12:27] hoping it is rebooting now :) [12:27] this is very good to know, I will make a note of that, and read more about /proc/sysrq-trigger [12:29] server is back online [12:29] RoyK: good stuff, thanks mate! : [12:29] :-) [12:30] if a filesystem is mounted, but read only, is fsck still not advised? [12:31] its warning is quite scary to say the least [12:31] Skaag: http://en.wikipedia.org/wiki/Magic_SysRq_key summarizes it [12:31] thanks! [12:31] Skaag: you can fsck a filesystem mounted read only [12:31] just don't do it if it's mounted rw [12:31] Skaag: Like I said: REISUB. :) [12:34] I would like to be able to do ssh root@machine ... but it says Permission denied, please try again [12:34] I am used to doing this command on debian systems ... but it does not seem to work in ubuntu .. [12:35] is it possible to get this working? [12:35] zetheroo: have you set a root password? [12:35] zetheroo: most people use sudo these days... [12:35] zetheroo, the root account is locked by dfault in all ubuntu installs [12:35] RoyK: ah, no I did not [12:36] so you need to set a password or copy a proper key in place [12:36] ok [12:36] * ogra_ would recommend the use of sudo though [12:36] ogra_: password auth works too [12:36] * RoyK too [12:36] especially on servers [12:36] RoyK, if you have a password ;) [12:36] indeed [12:36] can I go to single user mode via ssh? [12:36] but there is an issue with not being able to ssh as root [12:37] Skaag, man telinit [12:38] Skaag: it may take down the network... [12:38] yeah, very likely [12:38] Zetheroo: First enable root user, then check /etc/ssh/sshd_config and assure that it is allowed :PermitRootLogin yes [12:38] if I ssh as the user and run virt-manager it will not connect to libvirt - as it needs root perms ... so I then do 'sudo su' which takes me to user root ... then I can't open virt-manager because X is running under the other user that I ssh'ed into the machine with [12:39] zetheroo, ugh, just use sudo as prefix of the command you want executed as root [12:39] no need for sudo su [12:39] and if you want to use X apps like that, prefix the sudo commend with DISPLAY=:0 [12:39] zetheroo: If you should run lot's of commands as root, try sudo -i [12:39] *command [12:40] ogra_: ok, that worked ... dunno why I did not think of that :P thanks [12:40] alimj: what does sudo -i do? [12:40] surely safer than setting a root pw ... which opens an additional attack vector :) [12:40] exit [12:40] zetheroo, man sudo ;) [12:40] zetheroo: It will change to root until you exit [12:41] its a good manpage to know anyway [12:41] alimj: ok thanks [12:41] Anytime [12:42] "The -i (simulate initial login) option runs the shell specified by the password database entry of the target user as a login shell." [12:42] the -s option is also an intresting one [12:45] how do I find out things like the version of qemu and libvirt running on my system? I tried 'dpkg -s qemu-common' but that does not give me the info I am looking for [12:45] dpkg -l [12:46] that outputs : ii qemu-common 1.0+noroms-0ubunt qemu common functionality (bios, documentati ..... [12:47] I see a package version .... but what version of Qemu is that? [12:47] zetheroo: man dpkg. You can change the output of dpkg to include what you want [12:49] i dont think -common is so intresting seem what other qemu packages you have [12:49] I hate how long it takes to fsck a 1.5tb drive [12:49] zethero: or use dpkg-query [12:49] COLUMNS=300 dpkg -l | grep qemu [12:49] (that will also widen the fields to see the full version string) [12:50] there should be something like qemu-system or qemu-kvm in the output [12:50] which will have the upstream version beofr the -XubuntuX part [12:54] is it possible to convert ext2 to ext3 or ext4? [12:55] ext2 and 3 only differ through the added journal in ext3 ... so yes, that one is easy [12:55] ext3 to ext4 is technically possible but a lot slower than a freshly formatted ext4 afaik [12:56] I'm wondering if this patch made it to production fsck: http://lwn.net/Articles/264970/ [12:56] if ext3 fsck is indeed much faster, it's a good reason for me to convert an ext2 to ext3 [12:56] especially for large drives where fsck.ext2 is painfully slow [12:57] who would use non journalled filesystems on a server anyway ? [12:57] it has some benefits, speed wise [12:57] (for certain scenarios) [12:57] tried a number of commands and cannot see the actual version of Qemu running? [12:57] but you risk your data if there is a power outage [12:57] right [12:58] zetheroo, what did the command i gave you above output ? [12:59] dpkg -l ... that? [13:00] or COLUMNS=300 dpkg -l | grep qemu ? [13:00] right, the latter one [13:00] zethero: Did you try dpkg-query? [13:00] you should have gotten a list of packages with their versions [13:00] the part before the first - is the upstream version [13:01] beyond that qemu has a -version switch to check it [13:01] yes, but the version info is that of the Ubuntu package ... not of Qemu itself ... no? [13:01] ubuntu versions are the part after the - [13:02] utlemming: ping [13:02] ii qemu-common 1.0+noroms-0ubuntu14.7 [13:02] so this means it's using qemu 1.0 ? [13:02] package versioning is usually $upstream-$debianrevision"ubuntu"$ubuntuversion [13:02] that is ancient [13:03] it likely comes from the qemu-kvm package which was only recently merghed into mainline afaik [13:04] I was sure that Ubuntu was using qemu 1.2.x already [13:04] upstream would be 1.0+noroms ... debian version is 0 (which means the package isnt in debian) and ubuntu version is upload 14 security or SRU version 7 [13:07] ogra@chromebook:~/packages/ubuntu-defaults-nexus7-0.52$ apt-cache show qemu|grep Version [13:07] Version: 1.3.0+dfsg-5expubuntu1 [13:07] thats in raring btw [13:12] I don't know where online I saw it ... but Ubuntu had qemu 1.2.x in there somewhere [13:15] ok, I like how simple it is to switch from ext2 <--> ext3 in both directions. very convenient. [13:15] qemu != qemu-kvm [13:16] this is not good at all [13:17] ? [13:17] what is not good ? [13:17] teht the fork of qemu doesnt use identical versioning ? [13:17] that Ubuntu uses such old versions of this stuff [13:17] qemu-kvm is way newer than qemu was at that time [13:18] it has recently been merged back into the qemu tree though [13:19] so in raring you will have no qemu-kvm ... in all former release there was qemu-kvm which had way newer code on x86 than qemu had [13:19] I just don't know which version of Qemu is actually running here .. and if it's version 1.0 then that is terrible [13:20] you run version 1.0 of qemu-kvm [13:20] we were hoping that Ubuntu was using slightly newer stuff than Debian ... but this seems to not be the case [13:20] qemu-kvm is several versions advanced of everything debian has for the same release cycle [13:20] yes, and I have the feeling that that does not mean I am running 1.0 of Qemu ... but how does one find out what version of Qemu is running in qemu-kvm ? [13:21] dunno, read the changelogs perhaps [13:21] or upgrade to the developmebnt release where both packages were merged again [13:27] Hi all, I have a LVM group with a PV on iscsi that is gone [13:27] now, I get /dev/dm-5: read failed after 0 of 4096 at 0: Input/output error on all LVM commands [13:27] how can I fix this? [13:27] will the server survive a reboot? [13:43] I fixed it with dmsetup [13:43] dmsetup remove === jdstrand_ is now known as jdstrand [13:46] is there any way I can install Qemu 1.2.0 from the quantal repos onto a precise machine? === hatake is now known as blackjack [14:20] yolanda2: https://code.launchpad.net/~zulcss/nova/nova-asn1/+merge/147932 [14:20] zul, ok [14:25] zul, done [14:30] hey guys. how can i set a static ip? === wedgwood_away is now known as wedgwood [14:53] Sendoushi: ask your ISP. === kentb-out is now known as kentb [15:04] yolanda2: https://code.launchpad.net/~zulcss/keystone/keystone-fix/+merge/147952 [15:05] Ubuntu doesn't seem to like the init 6 command too much :P [15:06] zul, why is that change? [15:06] yolanda2: refreshes the config again [15:07] funny [15:07] ok, done [15:12] Does Ubuntu have any built-in (OOTB) vnc server? [15:14] yolanda2: next https://code.launchpad.net/~zulcss/python-keystoneclient/requests-patch-drop/+merge/147955 === Pupeno_w_ is now known as Pupeno_w [15:23] done === Sophism is now known as Guest82085 === wedgwood is now known as wedgwood_away [16:12] does anyone want to help improve the server guide? i'm looking for helpers [16:14] pmatulis: yes [16:14] pmatulis: maybe mention it in aob in the server team meeting currently happending in #ubuntu-meeting? [16:19] jamespage: alrighty [16:42] smoser: do you mind syncing spice 0.12.2-0nocelt2exp from debian experimental into raring? [16:42] hallyn, i can do that for you i guess. [16:47] yolanda2: can you fix the quantum build please [16:47] zul, ok [16:47] will be nice to forget ceilometer for a while :) === SpamapS_ is now known as SpamapS === wedgwood_away is now known as wedgwood === unix is now known as fire [17:29] hi [17:29] just installed [17:29] no gui [17:29] what can I do? [17:37] Everything. [17:38] coolball1, what do you want to do ? everything is possible :) [17:39] coolball1: https://help.ubuntu.com/12.04/serverguide/index.html [17:41] Hopefully you had some task in mind for why you wanted a server, like making a webserver, or sharing files, or so on. It helps to first have a goal before deciding which next step to take. [17:47] jamespage, ping [17:51] what if I want www.example.com to be a site on my server? [17:52] apache, dns, and a visit to godaddy? [17:52] coolball1: Maybe also a static IP [17:52] i'm having a strange problem with quantum. It depends on python-cliff, which is added as dependency and installed. But some tests are failing with "No module named cliff" error [17:52] any idea? [17:55] zul ^ [18:06] yolanda2: if you run python from the command line, then does "import cliff" work? [18:06] rbasak, yes [18:07] it's failing on the tests: [18:07] In what environment is the test that is failing running in? [18:07] As in dep8, or out of the source tree, or something else? [18:07] http://paste.ubuntu.com/1640153/ [18:08] it's a run_tests.sh -N -P in the package build [18:08] Ah, OK. When you say it depends on python-cliff, did you mean build-depends? You'll need a build-depend if you're running the test suite from inside a package build and the test suite needs the cliff module [18:09] So it sounds like you need both a depend and a build-depend to me. [18:09] I cannot get a static ip [18:12] let me check [18:12] rbasak, it's only adding that as a build-depends [18:13] so i should add a depends also? [18:13] yolanda2: if it's failing in the package build, a depends isn't relevant at that stage. [18:15] it fails on the build, yes, on the run tests, but the build-depends is there [18:16] yolanda2: at this point I'd use --purge=none --purge-deps=none --purge-session=none options to sbuild, and then examine the session after the failure using schroot -l --all to get the session identifier and then schroot -r -c to see why the import is failing in the build environment [18:17] yolanda2: assuming I understand your problem correctly. [18:17] ok [18:43] rbasak, Bad purge mode 'none' at /usr/share/perl5/Sbuild/Conf.pm line 493. [18:44] yolanda2: sorry. It's "never". For all three. [18:45] oh, ok [18:48] smoser: saw the upload ack email - thanks! [18:50] hallyn, i didn't upload. [18:50] hm.. [18:51] looks like kirkland got it for you. [18:55] wowzers [18:55] kirkland: thanks :) [18:58] rbasak, how can i check why that import is failing? [18:59] yolanda2: that's a bit hard for me to say from here. But I have one idea. Let me look it up. [19:01] mm, i'm on the session now [19:01] i see that python-cliff is installed [19:01] but then if i execute python, and import cliff, it fails [19:02] maybe is a problem with the package? [19:04] yolanda2: what I was thinking is more complicated than I remember [19:04] yolanda2: yeah it sounds like a problem with the package [19:05] module should be in /usr/share/pyshared, right? [19:05] Something like that. Python module locations always confuse me [19:06] Try: strace -eopen python -mcliff and see if you can spot any difference to running that outside the environment with python-cliff installed. It should at least narrow down the paths. [19:06] You might need to run schroot -u root -r -c in order to get a root session in that environment to install strace [19:06] i'm on it [19:08] negronjl: pong [19:11] rbasak, i tested, but module is not where it should be [19:12] yolanda2: is this in raring? [19:13] rbasak, yes [19:13] * rbasak takes a look [19:16] yolanda2: I see the problem. "dpkg -L python-cliff" in a schroot with it installed shows that it's not actually installing anything useful at all [19:17] yolanda2: it does this if I apt-get install python-cliff on a raring instance too.= [19:17] yolanda2: looks like python-cliff is completely broken in raring. In what environment did you see it work? [19:17] let me retry, i think i did it on raring [19:18] yolanda2: looking at the changelog, zul upgraded a new python-cliff today, a few hours ago [19:19] mm, seems that [19:19] 0ubuntu2 works, but not 0ubuntu3 [19:19] zul: I think it's completely broken. It only installs stuff in /usr/share/doc/python-cliff [19:20] Sounds like we need a dep8 test for python-cliff :) [19:21] in sbuild i have Installed: 1.3-0ubuntu1 [19:21] that doesn't work [19:21] in the schroot where i tested it was 1.1.2-0ubuntu2 [19:21] and that works === e11bits_ is now known as e11bits [19:26] Hello, I have some issues with Ubuntu 12.04 partitioning, Im using a 60gb SSD, and Ubuntu splits the disk really weird [19:26] http://pastebin.com/3JWtqNC1 [19:26] zul, i send you the mp for quantum, it's pending on the cliff issue but the rest is working: https://code.launchpad.net/~yolanda.robla/quantum/grizzly/+merge/148032 [19:26] /dev gets 16 gb etc [19:26] yolanda2: looking [19:27] On my virtual Ubuntu installs these partitions are around 500mb [19:28] MannerMan: what are the chances that those are tmpfs and you've got 16 gigs ram? [19:29] sarnold: I got 32 gb ram [19:29] MannerMan: ah, right, the default is _half_ the ram. sigh. :) [19:29] sarnold: :) [19:29] Okey that makes sense [19:29] Wonder why i'm only getting 24gb on / [19:30] ESXi have been installed to this disk before, however I wanted to try out KVM [19:30] MannerMan: did /home or swap get the other ~30 gigs? [19:30] I dont think so, you have the entire df -h output @ pastebin link [19:31] hunh. [19:31] http://pastebin.com/3JWtqNC1 [19:31] MannerMan: fdisk -l or cfdisk -l or whatever the newfangled way to see gpt partition layouts? [19:32] sarnold: one sec [19:32] sarnold: http://pastebin.com/2htN9T2U [19:33] Something is messed up there [19:33] MannerMan: aha, that looks like 32 gigs of swap [19:33] Nice :D [19:33] MannerMan: perhaps, in case, you wish to suspend-to-disk? :) [19:33] I guess I need to do manual partitioning here [19:33] yolanda2, zul: python-cliff upstream have introduced a Makefile wrapper around setup.py that is confusing dh_auto_build [19:34] I simply choosed to use the entire disk [19:34] rbasak: yeah i know...im fixing it now [19:34] zul: OK, I'll leave it to you then :) [19:35] MannerMan: yeah. that might not be an ideal use for this system :) [19:35] sarnold: Indeed :) [19:35] zul, are you able to fix it? do you want me to take a look tomorrow? [19:36] yolanda2: yes im looking at it now [19:36] Reinstalling with manual partitioning, gonna give it like 2gb swap [19:36] i need to leave for today, quite a long day [19:37] i leave you the quantum mp and i can merge that tomorrow [19:37] bye! [19:44] rbasak/yolanda: fix now === arosales1 is now known as arosales [20:10] Need help installing a HP Laserjet 1200 via a usb to serial adaptor using ubuntu server cli and cups cli or web interface! Currently Ive had it print a test page but network users couldnt print so I tweaked and now I cant even see the printer. Could really use a hand to point the way... [20:13] utlemming: wanna talk vagrant/juju? === hggdh_ is now known as hggdh [20:51] hallyn: welcome ;-) [20:55] so I was thinking of getting myself a VPS, but I need some sort of web-frontend for my client [20:55] Can someone help me configure my ubuntu server's network configuration? I'm connected to a router that's not using NAT, and I'm lost [20:55] is there such a thing in a PPA? like Plesk/CPanel etc [20:55] i just want to make shure i did not make any mistake early on: im trying to set up a bind9 dns, when using nslookup host.example.com it gets me the right ip-adress (192.168.9.1) but when i try nslookup 192.168.9.1 it just tells me host. not host.example.com. is that wrong? [21:08] ok, solved my problem on my own, thanks anyways [21:19] smoser: http://paste.ubuntu.com/1640714/ .. taken from the example.. if package_upgrade: true <- doesn't imply and _update, it will not do an upgrade as the apt listing is current.. right? [21:44] i think upgrade might force update [21:44] as it really should, Daviey [21:48] smoser: upgrade won't force update [21:48] update is another thing [21:49] RoyK, the context was cloud-init [21:49] where sanity was (i believe) ensured. [21:50] sanity is overrated [21:50] upgrade without update is simply asking for failure to download packages removed from -updates (or developement cycle) [21:50] (especially if this is an image that was made 6 months ago) [22:14] anyone good experiences with web front-ends for Ubuntu Server? [22:15] It's not for me, it's for a friend [22:15] I myself am content with scp and Cacti [22:26] eg Zpanel, anyone ever used that? === kentb is now known as kentb-afk