/srv/irclogs.ubuntu.com/2012/05/16/#ubuntu-server.txt

harushimoI installed maas. someone suggested to get the cloud iso00:06
harushimowhy?00:06
harushimoI'm curious00:06
=== pdtpatrick_ is now known as pdtpatrick
koolhead17harushimo, because it contains bare minimum pkg to get your system up and running on cloud :)00:13
=== Neal|ZNC is now known as Neal_
harushimokoolhead7 even if you do a apt-get install?00:25
harushimoI did a apt-get install of maas.00:25
harushimoIs there a difference through apt-get install and the iso00:25
harushimoI have it and I will burn it00:26
harushimothat is my question00:26
three18tiumm... I thought the cloud ISO was an all-in-one live cd.  If you want to install MAAS you will need machines that PXE boot.00:26
three18tipretty sure you don't want the cloud ISO.00:26
three18tistart here: https://wiki.ubuntu.com/ServerTeam/MAAS00:27
harushimoI'm using the desktop version. I want to experiment with the cloud side00:27
three18titake a step back for a sec.  what are you trying to accomplish with MAAS?00:28
harushimoin order to setup the cloud, you have install maas and juju00:28
three18tiok, start here: https://help.ubuntu.com/community/UbuntuCloudInfrastructure00:29
three18tithree ways to setup "the cloud"00:29
three18ti1) boot from the live cd00:29
harushimookay00:29
three18tilikely the quickest option if you just want to test it out00:29
three18ti2) install using MAAS and JUJU00:29
harushimoI'm doing step 200:29
three18tithough it's not clear, you need at least 6 machines (not counting your MAAS server) to install "the cloud"00:30
three18ti3) install the packages manually00:30
harushimoI'm doing the combination of 2 and 300:30
three18tiif you don't have the requisite number of spare machines, you can install all of the packages, however, an openstack install has a minimum requirement.00:31
three18tido you have the requisite number of machines?00:31
harushimono00:31
three18tiso then you can't use option 2.00:31
harushimook00:32
three18tiyou'll need to manually install the packages or just use the live cd.00:32
harushimoI manually install maas through apt-get install. I can't find juju00:33
three18tiIt -is- possible to hack together a cluster using a minimum of two or three machines, but openstack really wants atkeast 6.00:33
harushimothough00:33
harushimook00:33
three18tiapt-cache search juju00:33
three18ti?00:33
three18tido you understand how openstack works>?00:34
harushimoyeah00:34
harushimoyou said openstack has a minimum requirement of 6 computers00:35
harushimoI mean 2 or 300:35
three18tiwell, the maas/juju route does, but you can hack together an install on a smaller number of machines.00:35
three18tinote, this would be for lab use only and not production ready.00:36
harushimoI'm designed this cloud for testing purposes00:36
harushimoit is more for me00:36
harushimowhen I'm ready to do an actual production, then I can do all three00:36
harushimoI just started learning here00:37
harushimoexactly like 3 days ago00:37
harushimoI may be missing a lot of these concepts00:38
three18tiwelcome. :) do you mean in ubuntu, linux, "the cloud", sysadmin, etc. ?00:38
harushimoI've been using ubuntu linux for seven years. I just got into sys admin stuff 2 years ago00:39
harushimonow I'm focusing on the cloud aspect00:39
harushimoI'm still running ubuntu00:39
harushimosysadmin isn't too bad. I can manage that. I'm more interested how the cloud concept works00:39
harushimothat is why I'm doing this experiment00:40
harushimoI just want a bare minimum cloud00:40
harushimonothing too fancy00:40
three18tiin your own words, what is "the cloud"?00:40
harushimoa cloud is where you can offer services to a consumer00:41
harushimois that right?00:41
harushimoI notice a lot of clouds doing that00:41
harushimolike data backup, music download, streaming video00:42
three18tiok, your mixing IaaS, SaaS, and PaaS00:42
three18tiall of which are "cloud services"00:42
harushimoIAAS is the data back up00:42
harushimosaas is software00:43
harushimowhat is PAAS?00:43
harushimoI haven't heard of that one00:43
three18tiPlatform00:43
harushimooh okay00:43
harushimowould do mean by PAAS? streaming video?00:43
three18tihttp://en.wikipedia.org/wiki/Cloud_computing#Service_Models00:43
three18tiPaaS is like webhosting.00:44
three18tibluehost.com, softsyshosting.com, provide PaaS.00:44
harushimooh okay00:44
harushimoif I have apache webserver--> that falls under IAAS?00:45
harushimoright00:45
three18tiso do you want to build a Data Center, a Web Hosting Company, or a Youtube.com00:45
nathwillthree18ti, i'd thought of paas as more vps/virt than shared-hosting side, though... not every webhost would be a paas provider, would they?00:45
harushimoi don't know00:46
harushimoIn all honesty, I want to do all 300:46
harushimohehe00:46
harushimofirst try the data part00:46
harushimojust backing up simple data00:46
three18tinathwill, really... it depends, and these definitions are really... I don't want to say "loose"... but malleable, perhaps.00:47
nathwillseems like it's a little soft around the edges.00:48
three18ti> not every webhost would be a paas provider, would they?00:48
three18tiI would agree ^00:48
harushimonice00:48
nathwillyeah... that's what i was thinking. i wouldn't consider your standard shared host where you basically have ftp access to a docroot to be paas00:49
nathwilli'd think paas comes in at the point where you manage the software installed.00:49
three18tibut see, that's where the line gets a bit fuzzy, since -technically- they are providing the platform, and you provide the software.00:49
three18tinathwill, right, I manage the apache config, you manage your website.00:50
harushimoalright00:50
nathwillhrm... i'm back to debating whether a website counts as software.00:51
nathwilllol00:51
harushimolike I said, I just want to setup a basic cloud00:51
nathwilli always end up in this conversation.00:51
harushimohaha00:51
harushimothat is interesting00:51
three18tinathwill, well, I would say that web site itself is not software, it is a GUI interface to the software.00:51
three18tithe "software" being the part that handles the business logic.00:52
nathwillthree18ti. solid explanation. i would agree with that.00:52
three18tikinda like a spreadsheet isn't software, Excel is.00:52
three18timaybe that's a bad analogy.00:53
three18tiharushimo, I've kinda taken the long way to tell you that there is no silver bullet to "install the cloud", you really need to define what "the cloud" is to you, then we can help you design the infrastructure.00:53
harushimook00:54
harushimothat is fine00:54
three18tiyou might be interested in CloudStack (http://cloudstack.org) or OpenQRM00:54
three18tialso.00:54
three18tiboth are "cloud infrastructure" platforms.  OpenQRM aims to be at a data center management package too.00:54
harushimook00:55
harushimoI'll look into to00:55
harushimoi'm not doing SAAS00:55
harushimoI don't have software to give00:56
harushimoI can probably do PAAS..with apache00:56
yaboowhat is the best way to configure my ubuntu server to use as a gateway server, with firewall etc00:56
three18tihttps://help.ubuntu.com/community/Router00:56
three18tiyaboo ^00:56
yaboothree18ti, thanks00:57
three18tiyaboo, yw.00:57
nathwillyaboo: i'm about to do the same thing :) good luck!00:57
yaboonathwill, thanks00:57
harushimothanks everyone. I'm going to mess with some stuff tonight01:00
harushimoI'll ask some more questions tomorrow01:01
three18tiplease do,01:02
harushimoI will01:03
harushimoyou taught some things I didn't even know01:03
harushimobye now01:03
hallynstgraber: I'm writing down notes and sample usage code on the lxc api, will probably send you my ideas tomorrow.  just fyi.01:23
three18tihallyn, is it possible to run other "operating systems" inside an LXC container?01:29
three18tiI'm a KVM guy, but have been seeing LXC thrown around lately.01:29
hallynthree18ti: nope.01:30
hallynother distributions, yes01:30
hallynbut the kernel is shared01:30
three18tiI see, so kinda like openvz in that sense (though as I understand it LXC is nothing like ovz).01:31
hallynvery much like openvz in that sense.  in fact lxc is the result of the work to get an upstream acceptable openvz.01:49
hallyn(well only sort of :)02:14
RoyKhallyn: what's wrong with kvm?02:16
nathan_exit02:17
hallynRoyK: I didn't say anything is wrong with it.  why do you ask?02:18
RoyKwrong nick, perhaps, I meant three18ti02:18
hallynRoyK: oh, I think he was just curious bc he's been hearing about it.  he soudned satisfied with it02:19
* RoyK just got up - couldn't sleep02:20
RoyKand some idiot posted on another channel that with the right mobo, ECC would work fine on an i3 cpu02:20
nathwillroyk: so you woke up because someone was wrong on the internet?02:21
RoyKhttp://xkcd.com/386/02:22
hallynlol02:22
RoyKnathwill: really, it was the other way around ;(02:22
RoyKnathwill: really, it was the other way around ;)02:23
nathwill:D02:23
RoyK:รพ02:23
RoyKxkcd ftw02:24
RoyKand the birds have woken up and those fucking tits are going beep beep and I can't sleep02:26
MischinkaI was referred here after a failed attempt to install apache 2.4.2. (i followed this guide: http://www.discusswire.com/apache-2-4-installation-ubuntu/)    and after the installation i had to comment out MinSpareThreads, MaxSpareThreads, ThreadLimit, ThreadsPerChild in apache2.conf. Well I finally got the server to respond and my website is back up but I did an apache2 -V command and it02:30
Mischinkastill says im using apache 2.2.22  (Im using an Apache, MySql, PHP configuration on Ubuntu 12.04)02:30
MischinkaCould someone enlighten me with the instructions to correctly upgrade?02:31
RoyKI didn't think apache 2.4 was part of ubuntu yet02:32
blkperlRoyK: the guide he listed, compiles it from source02:32
MischinkaI downloaded it and attempted to compile it from source..02:33
blkperlRoyK: why are you upgrading? why not wait for ubuntu to release package?02:33
Mischinkablkperl: its actually me who was upgrading.02:33
RoyKblkperl: I'm not upgrading02:33
blkperlRoyK: sorry wrong tab complete :)02:34
blkperlMischinka: why are you upgrading?02:34
MischinkaBenchmarking and Comparing.02:34
RoyKMischinka: if it fails to upgrade, and it's not in the ubuntu repos, perhaps #httpd might be better02:34
* EvilResistance looks in02:34
EvilResistancewell 2.4.x for Apache2 is in Debian Experimental, so no wonder its not in the repos :P02:35
blkperlMischinka: you probably need to disable apache 2.2 first...02:35
EvilResistance(just as an aside)02:35
blkperlMischinka: are you sure 2.4 started?02:36
MischinkaIt says its a stable release on the apache website.02:36
Mischinkahttp://www.apache.org/dist/httpd/Announcement2.4.html02:36
blkperlMischinka: yeah it just hasn't hit the ubuntu repos yet because its so new02:37
MischinkaYou wouldnt happen to know how to install it from source would you?02:38
blkperlMischinka: those steps look correct, first did it compile correctly or were there errors, second when you ran the init script did it start w/o errors?02:39
blkperlthird is apache 2.4 listening on the port your website is running on?02:40
MischinkaYeah everything went fine but when i start apache it still shows 2.2.2202:40
blkperlhow did you start it?02:41
Mischinka# /usr/local/apache2/bin/apachectl start02:42
twbYou realize stuff in /usr/local is unsupported, right?02:42
twbOh, blkperl already mentioned that02:42
Mischinkahttp://pastebin.com/kxsE6Vxh02:43
Mischinkatwb: im too curious to wait ;D and I want to write a review on the performance difference.02:43
RoyKMischinka: if you intend to install apache from source, make sure it's not installed from packages at the same time02:44
blkperlMischinka: it didn't start because apache 2.2 is running on port 8002:44
patdk-laphmm? 2.4 installed and runs perfectly for me02:44
blkperlMischinka: turn off apache 2.2 and try again02:44
patdk-lapI should upload 2.4 to my ppa02:44
RoyKwhat's so cool about apache 2.4 anyway?02:44
MischinkaNoob question.. how?02:44
patdk-laproyk, that is why I installed it, to see :)02:44
RoyKpatdk-lap: no offence, but I just wanted to advice against having two separate apache installs ;)02:45
patdk-lapoh, I don't have two different ones, when you install my apache2.4 package, it removes 2.202:46
* RoyK has a server or two at work with three or four apache installs 02:46
patdk-lapI dunno how he did it02:46
blkperlMischinka: `service apache2 stop`02:46
RoyKand that wasn't my work...02:46
blkperlMischinka: `ps -ef | grep apache2`02:46
patdk-laproyk, I'll stick to vm's, build one up to test each item02:46
RoyKblkperl: or ps axfv ;)02:46
blkperlMischinka: the last command will show you if its still running02:46
RoyKps -ef is so sysv...02:46
blkperlRoyK: :_02:47
blkperl:)02:47
blkperlRoyK: i tend to use pgrep -lf02:48
MischinkaI think its running lol but now I need to find the config file to set it up for my website lol im pretty new at this.02:48
RoyKblkperl: gimme awk for that ;)02:49
Mischinkawhere do I set 2.4 to point to /var/www/html02:49
RoyKps axf|awl '/whatever/ { print $somecol }'02:49
RoyKMischinka: it's in the apache docs02:49
twbRoyK: bleh.  Passing the appropriate format string to ps would be nicer02:50
RoyKMischinka: you can possibly use the debian/ dir from the 2.2 source to make a package suitable for ubuntu02:50
RoyKtwb: nonsense ;)02:50
MischinkaTrust me im no where near that knowledgable.02:51
RoyKMischinka: then don't build from source02:51
MischinkaI just got out of the Marine Corps and decided to take on some new things and learn as I wait for my service connection.02:51
blkperlMischinka: turning off the apache 2.2, and turning on apache 2.4 should work for you02:51
RoyKMischinka: google the apache docs if you need to configure apache from scratch02:51
RoyKblkperl: it's a wee bit harder than just the config - apache has a bunch of hardcoded paths, so if you build from source, you need to stay calm02:52
Mischinkaroot@server:~# ps -ef | grep apache2               root     24749 24116  0 22:47 pts/0    00:00:00 grep --color=auto apache202:52
RoyKMischinka: really, hand-compiled apache is *not* supported in this channel02:53
blkperlRoyK: oh yeah then Mischinka will want to follow the apache docs02:53
RoyKblkperl: apache builds under /usr/local by default, ubuntu changes a bunch of things, mostly to the better02:56
RoyKMischinka: apt-get source apache2.202:56
patdk-laphopefully all programs would build to local, or opt by default02:56
patdk-lapso they don't mess with the main system02:56
RoyKtake out the debian dir from there and copy it to the apache 2.4 tree02:56
patdk-lapwhat is even easier, is just install the package from sid02:57
RoyKpatdk-lap: /usr/local is the default on linux, possibly /opt on solarises02:57
RoyKouch - mixing sid into this is rather nasty02:57
RoyKsid is the kid that breaks toys ;)02:58
patdk-lapwhy?02:58
patdk-lapyou only install apache, not everything02:58
Mischinkalol02:58
patdk-lapthe most you break is apache :)02:58
three18tiRoyK, nothing is wrong with KVM, I'm a big fan of it and am basing my infrastructure around it actually.02:58
RoyKwell, ok, justdownload the sid package, just don't add the sid repo02:58
MischinkaSo i think i figured out the problem is im able to stop 2.2.22 but 2.4 seems like its not starting.02:58
MischinkaIm renting a KVM server with Ubuntu 12.04 from dotblock02:59
=== EvilResistance is now known as Resistance
MischinkaI dont even know what sid is lol03:01
Mischinkaother than RoyK's description.03:02
RoyKerm - why would he choose apache 2.4?03:02
patdk-laphmm, ask him?03:02
RoyKMischinka: really, just download the source for 2.4 and copy the debian/ dir into it and create a package03:02
RoyKMischinka: why do you need 2.4 btw?03:02
MischinkaWell the plan is to build a social website. So I need the best performing setup.03:04
Mischinkaand according to apache's website they say: This version of Apache is our 2nd GA release of the new generation 2.4.x branch of Apache HTTPD and represents fifteen years of innovation by the project, and is recommended over all previous releases.03:04
RoyKMischinka: you don't need 2.4 for that03:05
patdk-lapit's unlikely your selection of webserver software to be the speed issue, for several years03:05
patdk-lapnormally it's an 1-2% optimization, at best03:05
RoyKMischinka: if you find performance bottlenecks with apache, choose something else, like nginx03:06
MischinkaLol, nginx play well with mysql and php?03:06
RoyKMischinka: yes03:06
patdk-lapwhy would nginx play with mysql?03:07
RoyKMischinka: usually the code, like php or the SQL syntax or the indexing of the database or the database design, is the performance issue, not apache or nginx03:07
RoyKMischinka: just start off with a base setup. if you want to create facebook v2, go ahead ;)03:08
MischinkaI see, I really appreciate your guys' help and I apologize for my noob questions.03:08
* RoyK just realized that the venus passage happens at midnight in europe and he will be at Svalbard at the time and might be able to see it03:09
Mischinkado you have any idea why I had to comment out: #    MinSpareThreads      2503:10
RoyKMischinka: you don't03:10
MischinkaWell apache wouldnt start until i did this.. #    MaxSpareThreads      75    #    ThreadLimit          64      #    ThreadsPerChild      2503:11
patdk-lapprobably cause your not using mpm-worker03:11
RoyKMischinka: possibly a typo somewhere03:11
RoyKaha03:11
RoyKpatdk-lap: that should normally be within <if ...>03:12
Mischinkahttp://pastebin.com/B9Sx7fui03:12
patdk-lapya, but he installed from source03:12
patdk-lapso who knows what httpd.conf file he has now03:12
RoyKMischinka: really03:12
RoyKremove that hand-installed thing if you want to ask for support in here03:12
MischinkaAlright how do i do that lol03:13
Mischinkai know i know..03:13
RoyKMischinka: you do not need the latest apache or nginx or something, you just need goood engineering03:13
Mischinkahow do i reverse: http://www.discusswire.com/apache-2-4-installation-ubuntu/03:14
RoyKMischinka: the code, be it java or mono or php or .not, that's the challenge03:14
RoyKMischinka: didn't you do a base install from source? if so, rm -rf /usr/local/apache{whatever}03:15
patdk-lapthat will only kill the source03:15
patdk-lapafter killing all source parts03:15
patdk-lapI would to a purge of apache packages03:16
patdk-lapthen reinstall apache packages03:16
RoyKpatdk-lap: no, that's where apache installs per default03:16
patdk-lapeven the etc files?03:16
RoyKyep03:16
RoyKetc, locks, logs etc03:16
Mischinkahttp://pastebin.com/3RwhWF2f03:17
MischinkaSo in my case:   rm -rf /usr/local/apache2       ?03:18
RoyKMischinka: if you messed up, and this is a VM, just reinstall, takes you 10 minutes ;)03:18
RoyKMischinka: yes03:18
patdk-lapman, that apache2.4 install guide is horrible03:18
RoyKpatdk-lap: agreed03:18
RoyKpatdk-lap: I've installed it from source a few times ;P03:18
MischinkaI think it may be best to reinstall with all the stuff ive been playing with.03:19
RoyKpatdk-lap: I think the wrote that install guide back in 1998 or so03:19
RoyKMischinka: just don't install anything from source03:19
MischinkaThe only files I need to backup are the mysql folder and the var/www/html folder right?03:19
RoyKMischinka: if you have fucked up the server, reinstall it03:19
MischinkaYeah I just need to backup the website.03:22
RoyKhow much data is it?03:22
RoyKit's probably all under /var/www03:22
MischinkaYeah that and my mysql database.03:23
RoyKMischinka: make sure to dump the mysql db and back up that part03:23
RoyKthe data files might not be of much worth03:23
MischinkaI have a complete website built already lol.03:24
RoyKMischinka: next time, use a VM to test things ;)03:24
MischinkaI just pulled it down to try out some different configurations.03:24
A2GJeffdoes anyone know of a quicker way to add an IP range to the /etc/network/interfaces ? I have 250 IPs to bind to my server, and I am of the understanding I need to do this for each IP manually03:24
A2GJeffusing 12.0403:25
RoyKip addr add 1.2.3.4/24 dev eth003:25
RoyKA2GJeff: why would you add so many IPs to a single serer?03:26
A2GJeffwill that write to the network interfaces file?03:26
A2GJeffbecause its a gameserver hosting company, and we need that many :D03:26
Mischinkawoah phpmyadmin has so many options to export lol03:26
RoyKok :)03:26
A2GJeffwill that write to the network interfaces file?03:26
RoyKA2GJeff: at the end of the eth0 block 'up ip addr add ... dev eth003:26
A2GJeffwhat do you mean by the end of the block?03:27
RoyKA2GJeff: pastebin the interfaces file03:27
A2GJeffone moment03:28
RoyK!pastebin03:28
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.03:28
A2GJeffhttp://paste.ubuntu.com/990079/03:31
A2GJeffthis is how I've been doing it03:31
A2GJeffI'm trying to optimize this, as I need to add more IPs to each box03:31
RoyKA2GJeff: something like this http://paste.ubuntu.com/990084/03:33
A2GJeffI will try that, thank you03:33
RoyKforget about the auto eth0:?03:33
RoyKjust eth003:34
RoyKthe :? was the defacto standard some 10 years ago03:34
A2GJeffalright, I'm trying it out right now :}03:34
A2GJeffif this works, much <303:34
RoyKit will :)03:34
A2GJeffhttp://paste.ubuntu.com/990085/03:35
A2GJeffwhats wrong with this?03:36
MischinkaAlright starting the site backup03:36
A2GJeff(different server btw)03:36
RoyKA2GJeff: yo may need to apt-get install iproute03:36
A2GJeffalright, doing that now03:37
A2GJeffits already the newest version currently03:37
A2GJeffiproute is already the newest version.03:37
MischinkaMy setup is called a LAMP server correct?03:37
RoyKok03:37
RoyKtry03:37
RoyKip addr add 108.177.227.3/24 dev eth003:37
RoyK'up' is just the word for 'run this when the nic goes up'03:37
A2GJeffalright, doing a restart.. give me a moment03:39
* RoyK still wonders wtf someone would need so many IPs for a single service03:40
A2GJefflol03:40
A2GJeffgame server hosting03:40
A2GJeffpeople want default ports03:40
RoyKok03:41
A2GJeffthe machine is a dual 6cores with 128gb ram and 15mb cache on those processors03:41
A2GJeffso I'm able to stack it more03:41
A2GJeffit still only has primary ip btw03:41
A2GJeffdidnt bind my range03:41
QtenHi All, anyone running (zfsonlinux.org) zfs on linux in prod yet?03:42
* RoyK needs some sleep03:42
RoyKQten: running openindiana with half a petabyte of storage on zfs, but I daresay, not on linux03:43
A2GJeffany ideas here Ruetobas?03:43
A2GJefferrr, RoyK03:43
A2GJeffsorry.03:43
A2GJefflol03:43
QtenRoyK: fair enough, just looking for something gluster may run ontop of03:44
RoyKQten: really, I wouldn't recommend zfs on linux yet03:44
* RoyK is off - nite folks03:45
QtenRoyK: yeah i do pref solaris myself for ZFS seems logical :)03:45
Qtennite03:45
A2GJeffRoy! nooo :(03:45
RoyKA2GJeff: baby, i have time for a little more ;)03:47
A2GJeffI dont want to bind each IP individually again :(03:48
RoyKyou can't bind a whole subnet03:48
RoyKthat is, you possibly can, with bridging, but that will be even more ugly03:48
A2GJeffso what would be the best attack plan for this?03:49
RoyKjust do as I said03:49
RoyKadd each IP as an ip addr add line03:49
RoyKone line per address03:50
A2GJeffit didnt work like that, already tried03:50
RoyKpastebin the interfaces file03:50
A2GJeffalready started overwriting it to go the old way, give me a sec to try and get it back to the way it was03:51
A2GJeffthis is how google was stating to do it as well btw03:52
A2GJeff    up   ip addr add 192.168.1.2/24 dev eth0 label eth0:003:52
A2GJeff    down ip addr del 192.168.1.2/24 dev eth0 label eth0:003:52
RoyK!pastebin03:52
A2GJeffsorry03:52
A2GJeffgive me a moment03:53
A2GJeffhttp://paste.ubuntu.com/990090/03:53
nathwillgaaaah03:53
nathwillhttp://xkcd.com/910/03:53
A2GJeffthere is my file right now, what do I type to add the next block in?03:53
nathwilldoing new ubuntu server install on my new n40l03:54
nathwilltaking suggestions03:54
RoyKA2GJeff: just like you wrote it, but without label eth0 etc03:54
RoyKjust 'up ip addr ... dev eth0'03:54
A2GJeffup   ip addr add 192.168.1.2/24 dev eth003:54
RoyKyep03:54
A2GJeff?03:55
A2GJeffok03:55
A2GJeffone moment03:55
RoyKlabel is nonsense03:55
yaboojoin #logstash03:55
MischinkaCan NGINX run joomla?03:56
RoyKMischinka: is the pope catholic?03:56
MischinkaSweet strawberries.03:57
A2GJeffhttp://paste.ubuntu.com/990094/03:57
MischinkaI was reading some articles and I hear good things with nginx+php-fpm+mysql+memcache+eaccelerator03:58
A2GJeffRoyK: error and file in that pastebin03:58
RoyKA2GJeff: if it doesn't work, try moving that line before the dns part03:58
nathwillmischinka, i use nginx + fpm + varnish03:59
Mischinkawith a joomla site?03:59
nathwillwordpress and a couple other sites03:59
A2GJeffsame error with that change RoyK03:59
nathwilljoomla's going to be the same as any other cms03:59
RoyKwhat error?03:59
nathwillmischinka: just different caching optimizations if you want to get that deep03:59
A2GJeffI put it in my last pastebin03:59
MischinkaAlright well i've backed up my website using akeeba backup which saves files/database.04:00
A2GJeffhttp://paste.ubuntu.com/990094/04:00
RoyKA2GJeff: sec04:00
nathwillmischinka: i don't know akeeba...04:00
nathwillmischinka: i generally use tar and mysqldump04:00
Mischinkacould you give me a hand then since you've been down this path?04:01
Mischinkalol04:01
nathwillmischinka, i can pastebin some config files for ya04:01
nathwilli'm in the middle of a server install... be happy to help, but may be slow to respond, fyi04:02
Mischinkayou zipped your datafiles and how do i commandline mysqldump?04:02
nathwillmischinka: i generally use: mysqldump --all-databases -u root -p04:03
nathwillobviously sub in whatever user name is appropriate04:03
RoyKA2GJeff: http://paste.ubuntu.com/990101/ <-- I just tried this on a Lucid VM and restarted it - works fine04:04
Mischinkaits root.04:04
nathwillmischinka, cool. to restore from that, you can:  mysql -u root -p < mybackup.sql04:06
nathwilluh. mischinka, btw, you want to dump the mysqldump command into a file, like mysqldump -u root -p > mybackup.sql04:06
RoyKnathwill: if you're breave, yes ;)04:07
A2GJeffRoy, this isnt working..04:07
A2GJeffwhat version are you trying it on?04:07
RoyKlucid04:07
RoyK10.0404:07
A2GJeffI'm using 12.04, and its not working04:07
RoyKand not *trying*, *using*04:07
A2GJeffsorry* lol04:08
RoyKA2GJeff: that's a bitch ;)04:08
A2GJeff?04:08
RoyKA2GJeff: my advice, add a small script to run "ip addr add ..." for those addresses needed, and file a bug04:08
RoyKplease file that bug - we need those04:09
PathosI'm having trouble getting a python mod wsgi installed04:09
RoyKbut for now, ladies and gents, mr RoyK is going to take some time off...04:10
A2GJeff:|04:10
A2GJeffwell thanks anyways04:10
nathwillroyk, i don't understand "if you're brave"?04:11
Pathoshttp://pastie.org/3918585 here is the virtual host in apache04:11
PathosI have libapache2 mod wsgi installed04:11
PathosWhen I go to the directory in browser, it keeps saying you don't have permission to access04:11
nathwillbrave to restore from sql backup? it is a destructive process, but the assumption is that you're restoring to a system that's clean...04:11
Pathosthe vhost file contains -indexes so that's why04:11
PathosDo you guys have an article on how to install python apache server for ubuntu?04:11
PathosPlease advise04:11
nathwillanyways... take it easy royk, didn't mean to bug you when you were headed out.04:12
PathosI've been trying to figure this out for a couple of hours now and have researched to no avail04:12
MischinkaAlmost backed up04:13
Pathos[Wed May 16 04:06:37 2012] [error] Exception KeyError: KeyError(140189835843392,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored04:14
Pathosi get this04:14
Pathosin the error.log04:14
nathwillmischinka: here's my sample nginx site config: http://paste.ubuntu.com/990109/04:14
nathwilldepending on your setup you may want to tweak some things04:15
Pathosanyone?04:17
Mischinkawell im going to have to reinstall 12.04 isnt there a commandline for that?04:17
nathwillmischinka, how do you mean?04:18
MischinkaIm renting a KVM VPS04:18
nathwillmischinka, this is a pretty good tutorial on the full nginx + php-fpm setup04:20
nathwillhttp://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-ubuntu-11.1004:20
MischinkaWorks the same with ubuntu 12.04?04:20
nathwillja. not much has changed with either nginx or php-fpm04:20
nathwillthe main points are getting php-fpm to use a socket (faster), and a sample nginx config to set the upstream for php04:21
MischinkaYou think this is the fastest setup for a heavy php and database site?04:23
Pathosany help please?04:23
Mischinkahmm I did the mysqldump and it didnt work right.. the file is way too small lol04:25
nathwillmischinka, you check it w/ less?04:26
nathwillbecause the actual line count will be small04:26
nathwillthe size should be pretty representative of your data04:26
Mischinkawell i have phpmyadmin as well.. do i need to check structure, data, or str/data for dump table?04:27
nathwill?04:29
nathwillmischinka, if you used --all-databases it should have dumped all tables in all databases04:29
nathwillalso, only more recent phpmyadmin installs a table04:30
nathwillif you just browse the content you should get a quick idea if the resultant sql file contains your data04:30
Mischinkalike:  mysqldump --all-databases -u root -p > mybackup2.sql  ?04:31
nathwillwell that'll create another (or the first if you haven't done it before) backup of the db04:32
nathwillbut if you: less mybackup.sql04:32
nathwillyou'll be able to see the file contents04:32
Mischinkaah im getting errors thats why.04:33
Mischinkamysqldump: Got error: 23: Out of resources when opening file './inpaintball_db/joomla_support_discussions_votes.MYD' (Errcode: 24) when using LOCK TABLES04:33
nathwillah04:33
nathwillweird.04:33
PathosAm I being ignored or something?04:35
Mischinkapathos: sorry i dont know the answer.04:35
nathwill^+104:35
uvirtbotnathwill: Error: "+1" is not a valid command.04:35
Mischinkanathwill: i see the sql files in /var/lib/mysql cant i just use those files to restore?04:36
nathwillnot optimal, but doable04:36
MischinkaLike, zip that directory and put it back after I install everything04:36
nathwillif you have phpmyadmin, honestly i would just export from there before i grabbed the actul myi & myd files04:36
Pathos*sigh*04:36
MischinkaAlright I think it worked through phpmyadmin04:39
MischinkaNow for the fun part.. destroying my server.04:39
nathwillmischinka, hehe. best part!04:39
Pathosnm04:41
Pathosim an idiot i was editing the wrong vhost file!04:41
Pathoshaha.04:41
Mischinkahah04:41
Pathos:D04:41
nathwillglad you got it workin04:42
Mischinkaso I just start ubuntu from cd and select install?04:44
Mischinkanathwill maybe i should share my screen with you lol04:45
Mischinkado you have teamviewer?04:45
nathwillmischinka, nope04:48
Pathosnow something funnier04:48
Pathoshttp://pastie.org/391868904:48
MischinkaJust doing an install from cd will delete everything right?04:48
nathwillalso, mischinka, generally vps stuff you don't start w/ a cd, you just pick an image... who're you hosting with?04:48
PathosBut if I load a script it works, just says hello world04:48
MischinkaDotblock04:48
nathwillmischinka, yeah, best to consider it deleted.04:48
PathosI wonder what the issue is really04:48
Pathosany apache gusy here?04:48
Mischinkanathwill: Should I encrypt my home directory ?04:50
MischinkaPathos try #httpd04:50
Pathosok04:50
nathwillmischinka, up to you, i don't find any difference either way.04:50
nathwillexcept knowing that when i do, it is04:50
Mischinkaso for the partitioning method what do i choose?04:51
nathwillmischinka, either full disk lvm or full disk is fine. if you're not going to be messing with lvm, i'd stick with normal full disk as it'll be easier to manage04:52
Mischinkawhat is lvm?04:53
nathwillmischinka, logical volume management04:53
Mischinkayeah i dont think i need that.04:53
Mischinkaso, guided - use entire disk04:53
nathwillsounds good...04:53
Mischinkaoo scsi1 (0,0,0) (sda) - 41.9gb ata qemu harddisk04:54
MischinkaMORE COFFEE!04:56
Mischinka;)~04:56
Mischinkanathwill, have you done any military service by any chance?04:57
nathwillmischinka, nope. can't take orders04:57
MischinkaI went to bootcamp with someone named Williams, Nathan04:58
nathwillhave many good friends in and back out of the service though04:58
nathwillmischinka, really?04:58
nathwillthat's funny04:58
MischinkaYeah04:58
MischinkaMarine Corps04:58
=== Guest8786 is now known as Ursinha
nathwillugh. this 4G ECC ram upgrade i just got in the mail is DOA, what a joke04:59
Mischinkafrom where?05:00
nathwillhp ram from newegg05:00
Mischinkai've been struggling finding the right hardware for my pc.. times have changed so much i have no idea what kind of ram to get anymore.05:00
nathwillhaha, for sure. i even hear they're rushing to put out ddr4 or some crazy nonsense05:01
Mischinkawow.05:01
Mischinkai bought some transformer looking ddr3 corsair vengeance stuff.05:01
MischinkaBut i think im going to return it.. because i really need something a little snappier.. and I need 16gbs of whatever it is.05:02
* Mischinka twiddles his thumbs (83%)05:04
nathwilllol05:04
MischinkaDo you have skype?05:05
nathwilli've got my fingers crossed that networkmanager is gonna do its magic and configure my card for me.05:05
nathwillmischinka, nope05:05
nathwillbbiaf, smoke break.05:05
Mischinkasure.05:05
Mischa-AndroidNow i have mirc on my razr.. sweet succulent awesomeness05:11
MischinkaShould I setup automatic updates on this install?05:12
nathwillmischinka, up to you. i usually opt for the security updates, but be prepared to check dpkg log to see what's been installed if something breaks.05:15
Mischinkaif its off i can manually update?05:16
MischinkaWill it slow down the server much?05:16
nathwillmischinka, yeah, you can, no it shouldn't05:17
MischinkaAlright its asking which software to install.05:17
MischinkaIm sure: OpenSSH is important05:17
nathwillmischinka, yeah, that's usually what i start with05:20
MischinkaI wont need anything else for this setup, will i?05:21
Mischinkai have: openssh, dns, lamp, mail, postgresql, print, samba, tomcat, vm host, and manual pkg selection05:22
nathwillmischinka, i usually set up ssh on the installer, everything else you can install afterwards05:22
Mischinkarogeroger05:23
* Mischinka goes back to the thumb twiddling (34%)05:24
Mischinkaits quite the process..05:26
Mischinkanathwill: is this what you do for a living?05:26
nathwillmischinka, not with ubuntu. i work at yahoo and we're a freebsd/rhel house05:27
MischinkaCool.05:28
nathwillbut i do sysadmin type things for a living. it's kind of difficult to describe. i bridge customer care and service ops05:28
MischinkaInteresting..05:28
nathwillmischinka, that's for sure, lol05:29
Mischinkanathwill: have you used memcache and eaccelerator?05:30
nathwillmischinka, nope05:30
Mischinkanathwill: Install the GRUB boot loader to the master boot record?05:31
nathwillmischinka, yep.05:32
Mischinkahmm.. they need a second bar that has overall percentages, i feel like i was tricked.05:32
nathwilllol05:33
MischinkaSo do you prefer ubuntu over others?05:33
MischinkaNow Ubuntu decides to be honest: "Wiping swap space for security (this may take a while)..."05:34
nathwillmischinka, yes, i prefer ubuntu05:34
MischinkaI was told to use Ubuntu and im unsure as to why yet. lol05:35
nathwillmischinka. it's a solid system with lots of readily available, easily installable software, and a freaking amazing community is why :P05:36
Mischinkapwn ;p05:37
nathwilllol05:37
MischinkaIm looking at it and i might even use it for my personal pc.05:37
MischinkaI havent seen the desktop in action yet though.05:38
Mischinkahmm.. my Finishing installation really likes to be at 13%05:39
MischinkaIs this normal for it to hang at 13%?05:41
nathwilldepends, is this the "wiping swap" piece? cuz i've seen that hang a bunch05:41
nathwillusually, just wait it out05:41
nathwillwell, by hang i mean take a long time, not really "hang"05:41
Mischinkaah i gotcha.05:42
Mischinkayeah its the wiping swap piece.05:42
nathwillyeah. so that takes a long time because linux geeks take their encryption very seriously05:43
MischinkaBooya. booting up05:43
nathwill:)05:45
MischinkaAH my login is incorrect for root?05:45
nathwillwell there is no root by default05:45
Mischinkaoh05:45
nathwillso login is normal, then use sudo05:46
Mischinkaalright how do i create a root?05:46
nathwillif you *really* want to have a root user...05:46
Mischinkaoh not really.05:46
nathwillmischinka, so... before i get into that...05:46
nathwillmy preference if i'm going to be doing a lot of stuff that requires root privs is to use : sudo -i05:46
Mischinkadir05:46
Mischinkashould I do an update first?05:47
nathwillmischinka, yeah, i'd do a apt-get update && apt-get dist-upgrade05:48
Mischinkawell, sudo apt-get update && apt-get dist-upgrade05:48
nathwillunless you sudo -i first ;)05:49
Mischinkagotcha.05:49
nathwill:P05:49
Mischinkaalright updates are set.05:53
nathwillwoot05:53
Mischinkawhats next?05:54
Mischinkathat guide?05:55
nathwillso next you'll probably want to install: nginx php5-fpm mysql-server php5-mysql05:56
nathwillyeah, pretty much that guide05:56
nathwill:)05:56
Mischinkaalright lets see how this goes.05:57
nathwillg'luck.05:58
nathwilli'm wrapping things up here, it's time to grab some food and pass out. i'll be back tomorrow.05:58
MischinkaIs there anything special I need to do once this is done?05:58
Mischinkabefore i had trouble because apache wasnt pointing to /var/www/html05:59
nathwillwell, you won't be using apache06:00
MischinkaOh.. is there going to be any tricks to setting joomla up with nginx?06:00
nathwillmischinka, as long as you get nginx routing php to php-fpm, and you install php mysql driver, then no.06:01
nathwillit should be just like a normal install06:01
nathwillbut faster ;)06:01
nathwilluh.06:01
nathwillhtaccess stuff would be different06:01
Mischinkaoh man..06:01
nathwillif you're going to use permalinks06:01
Mischinkado you want to see how I have my htaccess now?06:01
nathwillso if you want to do the permalink type stuff, i'd just google nginx joomla06:01
nathwillmischinka, they have some examples in the joomla docs here: http://docs.joomla.org/Nginx06:02
Mischinkawell i got my nginx running.06:02
nathwillbut note that they're using a port for php5-fpm instead of a socket06:02
nathwilli prefer a socket, but it's not a super big deal06:03
Mischinkaim @ apt-get install php5-fpm06:03
nathwillanyways... best wishes... if you're on tomorrow i'd love to hear how it went.06:03
MischinkaAlright ill be here.06:03
Mischinkaanyone have any idea why im getting06:42
MischinkaReloading nginx configuration: nginx: [emerg] "fastcgi_pass" directive is duplicate in /etc/nginx/sites-enabled/default:6906:42
Mischinkanginx: configuration file /etc/nginx/nginx.conf test failed06:42
=== smb` is now known as smb
=== Arc_ is now known as a5m0
glosoliAnyone here can help me ? fighting against apache and redirect problem: here is part of the log I talked in apache channel, but they asked me to go here and ask you: http://dpaste.org/SKYIf/08:02
twbWow that's bloody awful markup in the dpaste url08:05
glosolitwb: ah sorry..08:05
twbit puts all the line numbers in a single <TD> or something08:05
twbglosoli: not your fault, just a stupid pastebin site08:06
glosoliI don't know what else to use pastebin dot com is too much spam for me ,anyway maybe you are familiar with a problem I am fighting against ?08:06
glosoliThey sent me here08:06
twbglosoli: ask sling said, you need to use a2ensite08:06
twbit's a program in your path08:06
twbIt also has a manpage, as Sling suggests.08:07
glosolitwb: so to understand, I won't be using virtualhosts ?08:08
glosoliI will be using a2ensite instead ?08:08
twbWrong.08:08
twbBy default, Ubuntu's apache httpd configuration reads files in /etc/apache2/sites-enabled/*.  These are typically symlinks to files in /etc/apache2/sites-available/.08:09
twbThe a2ensite and a2dissite programs simply make/remove symlinks from the latter to the former.08:09
twb#httpd do no wish to discuss it because that directory layout is a Debianism.08:10
alex88hello guys, how much should i leave for the /boot partition on a 12.04 server?08:10
twbalex88: I usually allocate 256MB08:10
glosolitwb: so there is nothing to do for that script just install and restart server, and then it will take care of everything ?08:11
alex88ty twb08:11
twbalex88: ballpark would be about 24MB per kernel, plus bootloader files.  But note that old kernels are never automatically removed, so the number of installed kernels increases monotonically with kernel security updates08:11
glosoliah a2ensite default08:12
glosolitwb: did that a2ensite, it doesn't work still08:15
alex88twb, thanks for explaining :)08:15
twbalex88: if you have a small (<<1TB) disk, you could dial it down to 64MB or so, but I wouldn't go any lower than that.08:16
twbglosoli: sorry, I'm not interested in helping you further.08:17
glosolitwb: hmm, thanks anyway :)08:17
alex88twb, it's 2tb, so it's not a problem to leave 512mb for that08:18
=== almaisan-away is now known as al-maisan
=== bilal_ is now known as Guest59631
lynxmanmorning o/09:18
Mischinkamorning lynxman09:19
MischinkaHave you setup phpmyadmin on an nginx setup?09:20
lynxmanMischinka: yeah but it's a pain :)09:23
lynxmanMischinka: running php on nginx is definitely a world of pain, not worth it09:24
twbIsn't it only as painful as any PHP fastCGI usage?09:24
lynxmantwb: indeed09:24
twbi.e. it only sucks because PHP always sucks09:24
lynxmantwb: doesn't scale well either09:25
lynxmantwb: doesn't have enough web sauce :D09:25
twbhttp://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ http://slofith.org/fith/images/php-the-good-parts.jpg09:25
LyonJThey09:39
LyonJTdoes anyone know how to change the default port of vsftp ?09:39
twbLyonJT: probably in vsftpd.conf09:44
LyonJTthat's what i thought i've found this article http://askubuntu.com/questions/37058/how-to-change-vsftpd-default-port09:44
LyonJTworks :)09:45
MischinkaI got php running fine on my nginx.. im just having issues setting up phpmyadmin properly for the advanced features.09:47
alex88i've created partition for /boot and / which one should i set as bootable?10:28
twbalex88: neither10:32
twbalex88: GRUB doesn't care about MBR boot flags10:32
twbIf you were using extlinux, /boot would be the one to mark as bootable.10:32
alex88twb, oh ok thank you :)10:40
wolferzQuestion: Do I have to use ubuntu server or can I modify the Linux Mint 12 kernel to the ubuntu server kernel?11:00
e2b04836why would you want to do that?11:01
twbwolferz: we don't support that11:02
wolferzsupport what twb ?11:02
twbwolferz: anything to do with mint11:03
twbikonia: oh, thanks11:04
* twb extends idiot list11:04
ikoniaapologies, he was on about this yesterday and rage quit saying he'd never use it again etc etc11:04
wolferztwb, as it uses the same repository as ubuntu and is just a flavor of ubuntu, may I ask why it's frowned upon? Does it have some bad issues with being a server?11:05
wolferzFor the record, I've NEVER been in here before11:05
ARTSIOMI have added a conf file to /etc/init/ folder and now I can succesfully stop and start my app with "service start app" command. But how now make app to auto start on boot? Documantation says "there is no concept of runlevels, everything is event driven with dependencies. You would add an upstart config to /etc/init and potentially source a config file in /etc/default to allow users to...11:06
ARTSIOM...override default behaviour." But I do not understand what exactly I need to do.11:06
WomkesWhich server virtualization method is used / supported by default in ubuntu 12.04 ?11:06
wolferzI've thought about getting ubuntu server, just exploring my options.... However, getting kicked for no reason just by asking a question does NOT make me feel warm and fuzzy about ubuntu-server11:06
ikoniawolferz: you where told about the no mint support in #kubuntu yesterday when you rage quit11:07
ikoniastop asking about it, use mint support resources for mint, use ubuntu support resources for ubuntu11:07
twbARTSIOM: one moment11:07
twbARTSIOM: http://paste.debian.net/169054/ is the minimalist "near enough" version11:08
twbwolferz: libvirt-bin, kvm, lxc11:08
twbWomkes: libvirt-bin, kvm, lxc (wrong nick)11:09
ARTSIOMtwb: I have tried with this in my conf file11:10
ARTSIOMhttp://paste.org/4931411:10
ARTSIOMbut the app is not starting on boot11:11
ARTSIOMso I am wondering about this line in doc "potentially source a config file in /etc/default", so maybe I am misisng  some step11:11
ikoniaactually if anyone has a 10.04 or later server box with kvm installed, could you confirm if qemu-kvm is in /usr/bin or /usr/libexec please (not urgent)11:11
twbARTSIOM: don't do that11:11
twbikonia: I can't find it anywhere11:13
ikoniatwb: do you have kvm installed ?11:13
ikonia(as in the tool set, not the kernel module)11:13
twbI have qemu-kvm installed11:13
ARTSIOMtwb: why? can you please explain11:13
ikoniatwb: perfect, I wonder why it's not on your system11:13
twbikonia: btw did you ask apt-file?11:13
twbARTSIOM: I can't be bothered explaining11:14
ikoniatwb: not got a box here to hand, hence wasking11:14
ikoniaasking11:14
twbikonia: apt-file works without it installed11:14
twbikonia: unlike dlocate/dpkg -S11:14
ikoniatwb: I mean, I don't have an ubuntu box here11:14
twbRighto11:14
ikoniathat's why I'm checking as I'm looking at something generic in libvirt11:14
twbI know the qemu/kvm packaging in ubuntu is quite different from debian11:14
ikoniaone of the reasons I was curious11:15
ikonialooking at two different libvirt releases and issues and just seeing how ubuntu had laid it out11:15
randomDudeis there a way to add ppaa repositories unattented to a cobbler preseed file?11:16
ikoniarandomDude: does it not work the same as adding a generic repo ?11:16
ikoniado you have to do something specific with a PPA ?11:16
Davieytwb: This cycle, qemu-kvm delta with Debian should shrink significantly.. but i fear the libvirt delta will increase.11:21
Womkesk11:21
twbI *want* to live libvirt11:21
WomkesI'm looking for good tutorials on how to set up a KVM environment on top of DRDB accross two servers with LVM11:22
twbI just haven't found a place where it saves me more time than it wastes11:22
twbs/live/like/11:22
Womkescannot find any, maybe you guys know any?11:22
twbWomkes: drbd needs at least three hosts11:22
Davieytwb: live migrations it really helps :)11:22
MischinkaStarting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)11:22
ikoniaDaviey: any reason it's falling back in line ?11:22
twbDaviey: that's more enterprisey than I need11:22
MischinkaHow do I start my nginx I keep getting that error11:22
Womkesthree?, no I have done it before11:22
Womkesjust two server is fine11:23
Womkesraid1 over network right11:23
twbDaviey: I can just say "sorry you are losing mail for ten minutes at 6PM on Saturday"11:23
twbWomkes: google for "split brain"11:23
Davieyikonia: qemu-kvm Debian Maintainer seems to be more active than when the packages initially diverged, and relationships are improving.11:23
ikoniaDaviey: straight forward/honest answer, simple, I like it11:23
Womkestwb, im not looking for a automated HA setup, just something that will mirror the data11:24
Davieytwb: non-shared storage live migrations are too cool to not use!11:24
twbWomkes: rsnapshot11:24
Womkesand if one goes down i can put the other one online manually11:24
Davieytwb: i do it for giggles. :)11:24
ikonia!info qemu-kvm11:24
ubottuqemu-kvm (source: qemu-kvm): Full virtualization on i386 and amd64 hardware. In component main, is optional. Version 1.0+noroms-0ubuntu13 (precise), package size 3576 kB, installed size 10297 kB11:24
twbDaviey: you sound like a solution looking for a problem :P11:24
Davieytwb: that is what i do best.11:24
twbWhat I do best is complain11:24
Davieyi hadn't noticed... :)11:25
twbHoly shit11:25
twbI just halved the size of my git repo11:25
Davieytwb: *come* to a UDS, and you can have an entire evening of moaning to me about how crap the worl^D Ubuntu is.. if you buy the drinks.11:25
IdleOne!language | twb11:25
ubottutwb: Please watch your language and topic to help keep this channel family-friendly, polite, and professional.11:25
MischinkaI guess a server restart worked lol11:25
twbStupid stray tag was keeping an entire bogus history from being GCd11:25
twbIdleOne: sorry11:25
twbDaviey: I didn't even go to linux conf when it was in my city11:26
Davieytwb: Typical Social BOFH? :)11:26
twbBOFH/aspy, yeah11:27
twbmeatspace is hard work11:28
=== Adri2000_ is now known as Adri2000
randomDudeikonia: i imagine it would, however i need to add the public key yes? so this is the question how11:41
randomDudeikonia: essentially i am using cobbler to pxe boot install ubuntu desktop images of kde/unity/gnome-shell, but i want to also install latest gimp,  thunderbird, firefox, google chrome11:43
=== al-maisan is now known as almaisan-away
randomDudeikonia: i guess i just turn on "ignore gpg signing" during preseed11:46
randomDudeikonia: http://serverfault.com/questions/295174/upgrade-the-ubuntu-puppet-package-within-kickstart-process11:47
ikoniarandomDude: yeah, I see what you mean about the key11:47
ARTSIOMtwb: here is my full conf file placed in /etc/init folder http://paste.org/49317 , but the app is still not starting on boot (but starting fine with "start app"). Am I missing smth?12:21
zulgood morning12:38
koolhead11hello zul12:40
zulhey12:42
RoyK 12:43
cedwardsI have the need to deploy some ubuntu VMs (libvirt/kvm), and I'd like the install to be mostly automated. Is vmbuilder a good solution for that?13:09
smoserhallyn, around ?14:03
randomDudesweeeeet!!!! (sarcasm), i just finished a preseed cobler desktop deployment and the password i set doesn't work for the default user! i used : `echo "mypassword" | mkpasswd -s -H MD5` to generate the password14:03
hallynsmoser: yup14:03
smoserhave you ever gotten kvm to work with scripts in /etc/qemu-if{up,down} ?14:04
smoserhttp://paste.ubuntu.com/990697/14:05
=== dendro-afk is now known as dendrobates
smoserhallyn, ^14:09
smoserit doens't even get to calling the /etc/qemu-ifup script before failure.14:09
smoser(per strace)14:09
smoserbah. it seems this is not possible.14:12
smoserwithout root14:12
JarmoHi, does someone know easy way to change openstack so it wont try use AWS, trying to use local... Did install it with maas + juju... and can't find what to change and where..14:16
roaksoaxrandomDude: have you tried somthing like this to set the password?14:20
roaksoaxd-i     passwd/username string ubuntu14:20
roaksoaxd-i     passwd/user-password-crypted    password $6$.1eHH0iY$ArGzKX2YeQ3G6U.mlOO3A.NaL22Ewgz8Fi4qqz.Ns7EMKjEJRIW2Pm/TikDptZpuu7I92frytmk5YeL.9fRY4.14:20
roaksoaxuser/password14:20
hallynd'oh, sorry, i got lost in email14:20
hallynsmoser: well yes, you either need to be root, make it setuid-root, or give it the required capabilities14:23
hallynnote: I always just set it up in advance by hand14:24
hallynoh, you know,14:24
hallynyeah it probably isn't set up to be run by non-root anyway.  it probably would need to chown /sys/class/net/$tap to the calling user to do that14:25
smoserhallyn, "set it up in advance by hand"...14:25
smoser?14:25
hallynsudo tunctl -u 100014:25
hallynsudo ifconfig tap0 0.0.0.0 up14:25
hallynsudo addif br0 tap014:25
hallynand then the chown above14:25
smoserhallyn, thanks. trying that.14:26
hallynsmoser: tbh i wouldn't be comfortable with it as setuid-root, but with fI would be useful.  Only potential problem then would be that at one point at least something couldn't be done with the capabilities14:28
hallynI suspect that's been fixed14:28
irkinosorHello, I set up LAMP on my computer and it worked fine yesterday. Now the browser won't display my pages any more, does anybody knows what's wrong? thx14:32
pmatulisweb server listening for requests?14:39
koolhead17hola all14:43
rcsheetsirkinosor: that's not nearly enough information for anyone to help you.14:51
irkinosorwhat info do you want?14:52
rcsheetsirkinosor: well, exactly what you're doing that doesn't work, and any error messages you get. that would be good to start with.14:52
=== Pathos is now known as stoned
* RoyK wonders what stoned is smoking14:55
stonedwgt14:55
stonedWhy14:55
stonedWhy would you be worried about what I'm smoking all of a sudden14:55
stonedAnd why in #ubuntu-server14:55
stonedYou couldn't message me privately?14:55
irkinosor@rcsheets: I'm developing a website and I install the LAMP configuration on my PC to test it locally before any thing else. I was able to access my pages after installation in my browser and open phpMyAdmin, but now nothing is working.14:56
zulSpamapS: lemme know when you are around14:56
stonedBe discreet!14:56
stonedCome on buddy14:56
rcsheetsirkinosor: right, but still the only information you provide is "it doesn't work"14:56
koolhead17RoyK, hey there14:57
irkinosor@rcsheets: this is what firefox throw: unable to connect      Firefox can't establish a connection to the server at localhost.14:58
rcsheetsirkinosor: is your web server running?14:59
RoyKstoned: changing your nick to "stoned" isn't really discreet :)14:59
stonedoh14:59
stonedbut that's my name14:59
RoyK:)14:59
stoned[09:59:46] NickServ [NickServ@services.]: Registered : Nov 27 22:57:19 2004 (7 years, 24 weeks, 3 days, 16:02:40 ago)15:00
stonedI had to register b/c it dropped15:00
stonedI registered in like 2000 or something15:00
stonedbeen stoned ever since15:00
RoyKit was just15:00
RoyKat stoned is smoking15:00
RoyKops15:00
RoyK16:55 -!- Pathos is now known as stoned15:00
RoyKthat one15:00
stonedoh yeah15:00
RoyKstoned: so sorry15:00
stonedI have a backup nickname15:00
stonedPathos15:00
stonedLike opposite of Ethos15:01
stonedAnd I have stoned15:01
stonedand denots for peopel who don't like stoned people15:01
* RoyK goes back to testing RAID level migration15:01
stonedit's just stoned spelled backwards15:01
stonedi have not yet medicated this morning15:01
rcsheetsirkinosor: do you know how to tell whether your web server is running? do you know which web server software you installed? was it apache, perhaps?15:01
stonedI am super duper hyper15:01
stonedI just have to go vaporize my medication and then I should be ok15:01
stonedAnd my bursitis is killing me since two days back hurts a lot15:02
stonedAnd that reminds me i need to go to clinic and renew my medication prescription15:02
irkinosor@ rcsheets: I installed apache2  through the the install lamp-server^ process in the terminal. I just reload it and it still not working15:03
rcsheetsirkinosor: what do you mean by "reload"? how did you do that?15:03
stonedyou're trying to install a lamp server?15:03
irkinosor@rcsheet: sudo service apache2 reload15:04
stonedis this a new command system?15:04
stonedno more /etc/init.d/apache2 restart|reload etc.?15:04
stonedI have a LTS lucid server15:04
rcsheetsirkinosor: but it might not even be running15:04
rcsheetsirkinosor: sudo service apache2 status15:05
stonedeasy to find out15:05
stonedtelnet localhost 8015:05
stonedGET15:05
stonedotherwise ps auxf|grep httpd15:05
stonedor grep for apache maybe i dunno what the proc is called15:05
rcsheetsor the thing i said15:05
stonedoh right15:05
stonedstatus15:05
stonedthat's great15:05
stonedI need to learn new ubuntu15:06
rcsheetsfor example, i get "Apache2 is running (pid 6071)."15:06
irkinosor@rcsheets: you are right it is not running. How do I make it run,I thought I just need to reload it!15:06
rcsheetsirkinosor: sudo service apache2 start15:06
irkinosor@rcsheet: I'm getting a list of options15:07
rcsheetsirkinosor: that's unhelpful.15:07
irkinosor@rcsheet: I got Usage: apache2 [-D name] [-d directory] [-f file]15:08
rcsheetsirkinosor: _what_ options? i can't see it from here.15:08
irkinosor               [-C "directive"] [-c "directive"]15:08
irkinosor               [-k start|restart|graceful|graceful-stop|stop]15:08
irkinosor               [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]15:08
rcsheetsirkinosor: what exactly did you type?15:09
irkinosor@rcsheet:  Sorry let me try     again15:09
rcsheetsirkinosor: why not just answer my question?15:09
irkinosor@rcsheet: because I don't know how to.  In the terminal there is Usage: apache2 [-D name] [.... then the options are explained15:10
irkinosor@rcsheet: is that enough15:11
irkinosor@rcsheet: Oh I type : apache2 start15:11
irkinosor@rcsheet: I found the answer:  sudo /etc/init.d/apache2 start15:14
rcsheets<rcsheets> irkinosor: sudo service apache2 start15:15
rcsheetsyou can't just leave out words15:15
rcsheetsthe /etc/init.d/apache2 script will also work, but using "service" is the new way15:16
irkinosor@rscheet: That's ok. Thank you very much. Do you know why apache2 stopped working in the first place and do I need to start it everytime I want to work locally?15:16
rcsheetsirkinosor: i'm not sure why it stopped. did you restart your computer? did you kill the apache process?15:17
ARTSIOMhere is my full conf file placed in /etc/init folder http://paste.org/49317 , but the app is still not starting on boot (but starting fine with "start app"). Am I missing smth?15:19
irkinosor@rcsheets: Yes I restarted my computer this morning but I think it was working because I was able to access my php files...15:20
rcsheetsirkinosor: i believe it would normally start automatically on boot...15:22
rcsheetsirkinosor: what does 'ls -l /etc/rc2.d/S91apache2' give you?15:22
nathwillirkinosor, update-rc.d apache2 defaults15:23
irkinosor@rcheeets: lrwxrwxrwx 1 root root 17 May 13 23:18 /etc/rc2.d/S91apache2 -> ../init.d/apache215:24
rcsheetsso it's already set to start15:24
rcsheetsirkinosor: i'm not sure why it stopped, and it sounds like you're not sure whether it was running or not before.15:24
rcsheetsirkinosor: i suppose you could read the error log to see when the server was stopped and started15:25
irkinosor@rcsheets: Well I check the error file ealier and couldn't see anything. What line should I look for?15:27
rcsheetsirkinosor: a normal shutdown looks like this:15:27
rcsheets[Wed May 16 08:04:42 2012] [notice] caught SIGTERM, shutting down15:27
irkinosorrcsheet: That's exactly what was there: [Wed May 16 05:21:47 2012] [notice] caught SIGTERM, shutting down. Nothing after, now I can see ... resuming normal operation . I guess that after you asked me to restart it15:29
rcsheetsirkinosor: well, at least now you know how to start, stop, and determine whether the server is running. i'm not sure why it stopped before.15:30
irkinosorrcsheet: You have being most helpful. Thanks.15:31
SpamapSzul: I'm up now, but need to do some stuff AFK for a few minutes. back in 2015:37
zulSpamapS: k15:38
hallynstgraber: got any quantal lxc patches to queue up?15:48
stgraberhallyn: nope, haven't really started using on quantal because of the current apparmor kernel bug15:49
tashhow do you change a user's home dir after you have already added them? I15:50
tashI thought usermod -d <dir> <user> ?15:50
hallynchsh15:50
hallynoh sorry15:50
hallynthought you said shell somehow15:50
tashor, maybe the better question is ...15:51
tashwhen adding a user, why didn't it add the home dir by default?  I swear it has for me in the past, but I'm on 12.04 now and maybe things are different?15:51
tashI did useradd <user>, maybe I should have used adduser ?15:51
hallyni think so15:51
hallyn(anyway my answer would be the wrong answer: edit /etc/passwd)15:52
hallynprobably adduser --dir /home/user will dtrt, but haven't tested15:53
tashadduser does it by default15:53
tashI just tested15:53
hallynright but i mean after the fact15:53
iclebytehow can snmptrapd be configured to receive all traps if it doesn't have any MIB data?15:53
iclebytei.e. just to log them.15:53
RoyK 15:58
roaksoaxls/win 1416:01
a_c_m_ok i'm ripping out hair at the moment. Trying to get stud to work. Its got a init.d script, but it seems to run, create a pid then exit16:10
a_c_m_without leaving any logs16:10
a_c_m_if you run the exact same command from the shell, it works fine16:10
RoyKstud?16:12
RoyK!stud16:12
a_c_m_https://launchpad.net/ubuntu/precise/amd64/stud16:12
a_c_m_RoyK: like pound or stunnel16:13
a_c_m_but faster ;)16:13
RoyKok :)16:13
a_c_m_but i can't work out why its not staying running16:14
RoyKinstalled from package?16:14
a_c_m_i'm not a sysadmin - but i know enough to be annoying :)16:14
a_c_m_yep, direct from the package16:14
RoyKand nothing in the logs?16:14
a_c_m_it doesn't really do logs16:15
RoyKas in /var/log/daemon.log or similar16:15
a_c_m_no deamon.log16:15
a_c_m_checked syslog16:15
RoyKa_c_m_: that's ubuntu/syslog's log16:15
RoyKa_c_m_: which distro version?16:16
a_c_m_i think this server was 10.04 then upgraded to 12.0416:16
a_c_m_may re-install16:16
a_c_m_as i'm out of things to try16:17
RoyKbut - starting it manually works?16:17
a_c_m_yes16:17
RoyKbut not with the init script or upstart?16:17
a_c_m_even starting it manually with the same command the iniit script is trying to use16:18
a_c_m_works16:18
sqwawfrom /boot/grub/grub.cfg: can someone explain to me the meaning of multiboot /xen.gz placeholder? specifically the multiboot and placeholder parts?16:18
RoyKa_c_m_: what's the name of the script and what's the name of the symlink in /etc/rc2.d?16:19
a_c_m_RoyK: /etc/rc3.d/S20stud -> ../init.d/stud16:20
RoyKrc3.d?16:20
RoyKa_c_m_: are you at runlevel 3?16:21
a_c_m_its in rc2 as well16:21
a_c_m_no idea :)16:21
RoyKtype 'runlevel'16:21
a_c_m_216:21
a_c_m_N 216:21
RoyKN was the last one16:22
RoyK2 is the current16:22
a_c_m_RoyK: http://sync.in/MaPRNMovID is the script16:22
a_c_m_with my mod, to print out the command its using16:22
a_c_m_i thrn run that16:22
mahmohjamespage: ping, openjdk 7 blueprint "OpenJDK7 on non x86 architectures" - that should be all arches right, including arm?16:26
a_c_m_RoyK: interesting... i think it might be stud thats at fault16:26
jamespagemahmoh, regarding the transition?16:27
mahmohjamespage: yes16:27
RoyKa_c_m_: you can use 'logger' to log to syslog from a script16:27
a_c_m_as if i "ps -A | grep 'stud'" right after... its running, but by the time the init scripts stopped its dead16:27
mahmohjamespage: well, I guess not transition but default jre - it will be openjdk 7 for arm too?16:27
jamespagemahmoh, yes - all archs will transition - but the UDS session needed to discuss non-x86 specifically as some of the new Java7 features are only in the x86 JIT16:27
mahmohjamespage: got it, thank you16:28
RoyKa_c_m_: perhaps it relies on something else?16:31
Captain_Protondoes anyone know if there is a web base ticket system that also has inventory, vendor phone book and possibly allow you to create howto guides?16:31
a_c_m_RoyK: its some perms16:32
a_c_m_sorry16:32
a_c_m_not perms, options i'm setting that are causing it to crash without any error message16:32
a_c_m_sorry, and thanks for helping16:32
a_c_m_RoyK++16:32
RoyK:)16:40
=== Arc__ is now known as a5m0
SpamapSzul: whats up? (I only have 10 min)16:49
SpamapSwell, maybe 2016:52
zulSpamapS:  i forgot :(17:06
zulhallyn: http://people.canonical.com/~zulcss/libvirt17:08
zuler...http://people.canonical.com/~chucks/libvirt17:08
hallynzul: thx.  did you already run qa-regression-testing?17:09
zulhallyn: no17:09
hallynok17:09
gabrtvi'm using cloud-config with apt_update/apt_upgrade: true..17:17
gabrtvon first login i get: *** System restart required ***17:17
gabrtvare those precise AMIs going to be updated soon?17:18
stgraberhallyn: I remember mentioning it but I'm not sure whether it made it to the work items list, do we have something about extending lxc-attach to allow attaching to only specific namespaces (similar to lxc-unshare)?17:24
hallynyup it's in the list17:24
stgrabercool17:24
stgraberthen we can deprecate lxc-ip :)17:24
hallynshould even be in the WI list in the blueprint17:24
hallynwell, not exactly.  lxc-ip does one thing and does it well :)17:25
hallynlxc-attach would still need to parse ifconfig output or somesuch17:25
hallynso originally i was thinking we'd drop lxc-ip, but now i'm thinking it might be worth keeping.  oh well, we'll see.17:25
=== matsubara is now known as matsubara-lunch
hallynI've got stuff written for the rationale/assumptions/etc (still workingon user stories), but I'm waiting to put them into blueprint until we finalize some details on the backend.  (fwiw)17:28
stgraberI'll almost certainly implement a .get_ips() call in the python library using lxc-attach (or direct setns call) to retrieve all the IPs of the container. That seems generally useful to have17:38
hallyntrue17:39
hallynall right let me send you what I've got right now - it's not all that much, but let's see how it jives with what you're doing17:39
hallynstgraber: sent17:44
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== matsubara-lunch is now known as matsubara
craxorHello, I have a question about Ubuntu server.  I am running windows xp on my desktop and the most recent version of ubuntu server on my server.  I am running samba on my server and I can see the server on my windows xp computer but when I try to edit a file on it with my xp computer it says make sure the disk is not full or write protected andol that the file is not currently in use.  Does anyone know why this is happening or can he18:22
craxorlp me?18:22
RoyKcraxor: probably file permissions or samba config probs18:28
sqwawirc logs for this channel?18:30
patdk-wk!logs18:31
ubottuOfficial channel logs can be found at http://irclogs.ubuntu.com/ . LoCo channels are now logged there too; for older LoCo channel logs, see http://logs.ubuntu-eu.org/freenode/18:31
sqwawty ubottu18:36
sqwawfrom /boot/grub/grub.cfg: can someone explain to me the meaning of multiboot /boot/xen.gz placeholder? specifically the multiboot and placeholder parts?18:37
gary_posterapw, hi.  did you happen to get a chance to look back into bug 944386?  Would it help me to get the bug escalated, or should I leave you to it?18:40
uvirtbotLaunchpad bug 944386 in linux "Making a hard link of a 0444 permission file fails in overlayfs [Precise]" [Medium,In progress] https://launchpad.net/bugs/94438618:40
apwgary_poster, sorry been pouring water on anther fire today.  i did look at it, and i think we know the issue just need to find a simple soln.  i should have time to look at it tommorrow18:43
gary_posterapw, understood, thank you18:44
=== e2b04836_ is now known as e2b04836
=== Lcawte is now known as Lcawte|Away
stgraberhallyn: the list in your e-mail looks good. I'll try and spend some time tonight making a python module matching it and see if any of my current usecases or highvoltage's require more stuff there20:20
hallynstgraber: cool, thanks20:22
stgraberhallyn: I know I'll at least want something like lxc_list in there (outside of the container struct obviously) either giving me a list of container name (or a list of container struct, but that's likely going to be too expensive if all the user wants is the name)20:22
hallynstgraber: oh right, of course20:23
hallynsilly me :)20:24
stgraberthough I could probably use glob.glob("/var/lib/lxc/*/config")20:25
=== Lcawte|Away is now known as Lcawte
hallynno, a list fn should be provided20:25
=== TDJACR is now known as TDJACRBot
=== TDJACRBot is now known as TDJACR
=== Lcawte is now known as Lcawte|Away
kayakyakrAlmost closing time today, but would this be a good place to ask, tomorrow, for a bit of help with the last piece of getting a cloud server set up?21:53
kayakyakrHave all the outer services working, but cannot get instances to launch. something with apparmor and libvirt profiles.21:54
=== dendrobates is now known as dendro-afk
=== matsubara is now known as matsubara-afk
lostogre_what happened to the dlm-pcmk package in precise?22:54
Resistance!info dlm-pcmk precise22:57
ubottuPackage dlm-pcmk does not exist in precise22:57
Resistance!info dlm-pcmk oneiric22:57
ubottudlm-pcmk (source: redhat-cluster): Red Hat cluster suite - DLM pacemaker module. In component universe, is optional. Version 3.0.12-2ubuntu5.2 (oneiric), package size 77 kB, installed size 236 kB22:57
Resistancelooks like it doesnt exist in precise22:58
Resistance!info redhat-cluster precise22:58
ubottuPackage redhat-cluster does not exist in precise22:58
lostogre_but what replaced it?22:58
Resistanceyou assume it was replaced22:58
* lostogre_ is thinking of a better way to ask the question....22:59
lostogre_Well, I need dlm_controld.pcmk and it doesn't appear to exist anywhere. Other than going from source, what are my options?23:00
lostogre_I have searched for it with apt-file and it isn't available.23:00
Davieyroaksoax: ^^23:01
pdtpatrickHas anyone run into this error before ?23:19
pdtpatrickhttps://wiki.ubuntu.com/ServerTeam/MAAS/Juju23:19
pdtpatrickThis: http://pastie.org/392299123:19
Davieypdtpatrick: that implies you don't have any nodes in the Ready state.23:31
DavieyCONFLICT == not enough resources.23:31
pdtpatrickDaviey:  http://cl.ly/2s460y2j0Q3b3N3u1G1g23:32
pdtpatrickhow long does it usually take to go from commission to ready  ?23:32
Davieypdtpatrick: 2 mins, on a default setup23:34
Davieypdtpatrick: they are either blocked or not powered on.23:34
sidneianyone got a backport of rabbitmq-server from precise -> lucid?23:35
* sidnei glances at almaisan-away23:35
pdtpatrickDaviey:  I'm not seeing anywhere to start it23:36
pdtpatrickhttp://cl.ly/1x3v3h1f3H0s0z3v2e0423:36
pdtpatrickit is set to Wake on LAN23:37
micahgsidnei: if the backport from precise builds, I'll be happy to approve a backport into the archive for you if you'll test it for me :)23:38
micahghrm, no change backport fails...23:39
Davieypdtpatrick: can you turn it on out of band?23:39
Davieypdtpatrick: some nic's are a PITA with wol.23:39
pdtpatrickDaviey:  i've changed them to virsh23:40
pdtpatrickis it expecting me to be running KVM somewhere ?23:41
sidneiim more than happy to test. :)23:41
micahgsidnei: 2.5.0 backport from oneiric works, I'll upload to my PPA if you'd like to test it and then I can approve it for an official backport in the archive23:41
Davieyno, virsh is more for a developers/experimental environment23:41
Davieypdtpatrick: ^23:41
micahgsidnei: is 2.5.0 new enough?23:41
sidneimicahg, im actually runnning 2.5.0, so not new enough no :(23:42
micahgsidnei: well, give me a minute23:42
pdtpatrickDaviey:  this is the only option i have23:43
pdtpatrickhttp://cl.ly/2B3P0C2s2z261f3l202d23:43
roaksoaxDaviey: he's gone lol23:49
pdtpatricklooks like there' s bug23:49
pdtpatrickhttps://wiki.ubuntu.com/ServerTeam/MAAS/Troubleshooting23:49
sidneiDaviey, roaksoax, can any of you merge rabbitmq-server 2.8.2 from debian? seems like you were the last to touch it.23:55
pdtpatrickDaviey:  even after following the workaround by editing /etc/maas/import_ephemerals  .. now get: http://cl.ly/0e3w3a2F2J2Q0y3K3F1Q23:56

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