harushimo | I installed maas. someone suggested to get the cloud iso | 00:06 |
---|---|---|
harushimo | why? | 00:06 |
harushimo | I'm curious | 00:06 |
=== pdtpatrick_ is now known as pdtpatrick | ||
koolhead17 | harushimo, because it contains bare minimum pkg to get your system up and running on cloud :) | 00:13 |
=== Neal|ZNC is now known as Neal_ | ||
harushimo | koolhead7 even if you do a apt-get install? | 00:25 |
harushimo | I did a apt-get install of maas. | 00:25 |
harushimo | Is there a difference through apt-get install and the iso | 00:25 |
harushimo | I have it and I will burn it | 00:26 |
harushimo | that is my question | 00:26 |
three18ti | umm... 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 |
three18ti | pretty sure you don't want the cloud ISO. | 00:26 |
three18ti | start here: https://wiki.ubuntu.com/ServerTeam/MAAS | 00:27 |
harushimo | I'm using the desktop version. I want to experiment with the cloud side | 00:27 |
three18ti | take a step back for a sec. what are you trying to accomplish with MAAS? | 00:28 |
harushimo | in order to setup the cloud, you have install maas and juju | 00:28 |
three18ti | ok, start here: https://help.ubuntu.com/community/UbuntuCloudInfrastructure | 00:29 |
three18ti | three ways to setup "the cloud" | 00:29 |
three18ti | 1) boot from the live cd | 00:29 |
harushimo | okay | 00:29 |
three18ti | likely the quickest option if you just want to test it out | 00:29 |
three18ti | 2) install using MAAS and JUJU | 00:29 |
harushimo | I'm doing step 2 | 00:29 |
three18ti | though it's not clear, you need at least 6 machines (not counting your MAAS server) to install "the cloud" | 00:30 |
three18ti | 3) install the packages manually | 00:30 |
harushimo | I'm doing the combination of 2 and 3 | 00:30 |
three18ti | if 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 |
three18ti | do you have the requisite number of machines? | 00:31 |
harushimo | no | 00:31 |
three18ti | so then you can't use option 2. | 00:31 |
harushimo | ok | 00:32 |
three18ti | you'll need to manually install the packages or just use the live cd. | 00:32 |
harushimo | I manually install maas through apt-get install. I can't find juju | 00:33 |
three18ti | It -is- possible to hack together a cluster using a minimum of two or three machines, but openstack really wants atkeast 6. | 00:33 |
harushimo | though | 00:33 |
harushimo | ok | 00:33 |
three18ti | apt-cache search juju | 00:33 |
three18ti | ? | 00:33 |
three18ti | do you understand how openstack works>? | 00:34 |
harushimo | yeah | 00:34 |
harushimo | you said openstack has a minimum requirement of 6 computers | 00:35 |
harushimo | I mean 2 or 3 | 00:35 |
three18ti | well, the maas/juju route does, but you can hack together an install on a smaller number of machines. | 00:35 |
three18ti | note, this would be for lab use only and not production ready. | 00:36 |
harushimo | I'm designed this cloud for testing purposes | 00:36 |
harushimo | it is more for me | 00:36 |
harushimo | when I'm ready to do an actual production, then I can do all three | 00:36 |
harushimo | I just started learning here | 00:37 |
harushimo | exactly like 3 days ago | 00:37 |
harushimo | I may be missing a lot of these concepts | 00:38 |
three18ti | welcome. :) do you mean in ubuntu, linux, "the cloud", sysadmin, etc. ? | 00:38 |
harushimo | I've been using ubuntu linux for seven years. I just got into sys admin stuff 2 years ago | 00:39 |
harushimo | now I'm focusing on the cloud aspect | 00:39 |
harushimo | I'm still running ubuntu | 00:39 |
harushimo | sysadmin isn't too bad. I can manage that. I'm more interested how the cloud concept works | 00:39 |
harushimo | that is why I'm doing this experiment | 00:40 |
harushimo | I just want a bare minimum cloud | 00:40 |
harushimo | nothing too fancy | 00:40 |
three18ti | in your own words, what is "the cloud"? | 00:40 |
harushimo | a cloud is where you can offer services to a consumer | 00:41 |
harushimo | is that right? | 00:41 |
harushimo | I notice a lot of clouds doing that | 00:41 |
harushimo | like data backup, music download, streaming video | 00:42 |
three18ti | ok, your mixing IaaS, SaaS, and PaaS | 00:42 |
three18ti | all of which are "cloud services" | 00:42 |
harushimo | IAAS is the data back up | 00:42 |
harushimo | saas is software | 00:43 |
harushimo | what is PAAS? | 00:43 |
harushimo | I haven't heard of that one | 00:43 |
three18ti | Platform | 00:43 |
harushimo | oh okay | 00:43 |
harushimo | would do mean by PAAS? streaming video? | 00:43 |
three18ti | http://en.wikipedia.org/wiki/Cloud_computing#Service_Models | 00:43 |
three18ti | PaaS is like webhosting. | 00:44 |
three18ti | bluehost.com, softsyshosting.com, provide PaaS. | 00:44 |
harushimo | oh okay | 00:44 |
harushimo | if I have apache webserver--> that falls under IAAS? | 00:45 |
harushimo | right | 00:45 |
three18ti | so do you want to build a Data Center, a Web Hosting Company, or a Youtube.com | 00:45 |
nathwill | three18ti, 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 |
harushimo | i don't know | 00:46 |
harushimo | In all honesty, I want to do all 3 | 00:46 |
harushimo | hehe | 00:46 |
harushimo | first try the data part | 00:46 |
harushimo | just backing up simple data | 00:46 |
three18ti | nathwill, really... it depends, and these definitions are really... I don't want to say "loose"... but malleable, perhaps. | 00:47 |
nathwill | seems like it's a little soft around the edges. | 00:48 |
three18ti | > not every webhost would be a paas provider, would they? | 00:48 |
three18ti | I would agree ^ | 00:48 |
harushimo | nice | 00:48 |
nathwill | yeah... 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 paas | 00:49 |
nathwill | i'd think paas comes in at the point where you manage the software installed. | 00:49 |
three18ti | but see, that's where the line gets a bit fuzzy, since -technically- they are providing the platform, and you provide the software. | 00:49 |
three18ti | nathwill, right, I manage the apache config, you manage your website. | 00:50 |
harushimo | alright | 00:50 |
nathwill | hrm... i'm back to debating whether a website counts as software. | 00:51 |
nathwill | lol | 00:51 |
harushimo | like I said, I just want to setup a basic cloud | 00:51 |
nathwill | i always end up in this conversation. | 00:51 |
harushimo | haha | 00:51 |
harushimo | that is interesting | 00:51 |
three18ti | nathwill, well, I would say that web site itself is not software, it is a GUI interface to the software. | 00:51 |
three18ti | the "software" being the part that handles the business logic. | 00:52 |
nathwill | three18ti. solid explanation. i would agree with that. | 00:52 |
three18ti | kinda like a spreadsheet isn't software, Excel is. | 00:52 |
three18ti | maybe that's a bad analogy. | 00:53 |
three18ti | harushimo, 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 |
harushimo | ok | 00:54 |
harushimo | that is fine | 00:54 |
three18ti | you might be interested in CloudStack (http://cloudstack.org) or OpenQRM | 00:54 |
three18ti | also. | 00:54 |
three18ti | both are "cloud infrastructure" platforms. OpenQRM aims to be at a data center management package too. | 00:54 |
harushimo | ok | 00:55 |
harushimo | I'll look into to | 00:55 |
harushimo | i'm not doing SAAS | 00:55 |
harushimo | I don't have software to give | 00:56 |
harushimo | I can probably do PAAS..with apache | 00:56 |
yaboo | what is the best way to configure my ubuntu server to use as a gateway server, with firewall etc | 00:56 |
three18ti | https://help.ubuntu.com/community/Router | 00:56 |
three18ti | yaboo ^ | 00:56 |
yaboo | three18ti, thanks | 00:57 |
three18ti | yaboo, yw. | 00:57 |
nathwill | yaboo: i'm about to do the same thing :) good luck! | 00:57 |
yaboo | nathwill, thanks | 00:57 |
harushimo | thanks everyone. I'm going to mess with some stuff tonight | 01:00 |
harushimo | I'll ask some more questions tomorrow | 01:01 |
three18ti | please do, | 01:02 |
harushimo | I will | 01:03 |
harushimo | you taught some things I didn't even know | 01:03 |
harushimo | bye now | 01:03 |
hallyn | stgraber: I'm writing down notes and sample usage code on the lxc api, will probably send you my ideas tomorrow. just fyi. | 01:23 |
three18ti | hallyn, is it possible to run other "operating systems" inside an LXC container? | 01:29 |
three18ti | I'm a KVM guy, but have been seeing LXC thrown around lately. | 01:29 |
hallyn | three18ti: nope. | 01:30 |
hallyn | other distributions, yes | 01:30 |
hallyn | but the kernel is shared | 01:30 |
three18ti | I see, so kinda like openvz in that sense (though as I understand it LXC is nothing like ovz). | 01:31 |
hallyn | very 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 |
RoyK | hallyn: what's wrong with kvm? | 02:16 |
nathan_ | exit | 02:17 |
hallyn | RoyK: I didn't say anything is wrong with it. why do you ask? | 02:18 |
RoyK | wrong nick, perhaps, I meant three18ti | 02:18 |
hallyn | RoyK: oh, I think he was just curious bc he's been hearing about it. he soudned satisfied with it | 02:19 |
* RoyK just got up - couldn't sleep | 02:20 | |
RoyK | and some idiot posted on another channel that with the right mobo, ECC would work fine on an i3 cpu | 02:20 |
nathwill | royk: so you woke up because someone was wrong on the internet? | 02:21 |
RoyK | http://xkcd.com/386/ | 02:22 |
hallyn | lol | 02:22 |
RoyK | nathwill: really, it was the other way around ;( | 02:22 |
RoyK | nathwill: really, it was the other way around ;) | 02:23 |
nathwill | :D | 02:23 |
RoyK | :รพ | 02:23 |
RoyK | xkcd ftw | 02:24 |
RoyK | and the birds have woken up and those fucking tits are going beep beep and I can't sleep | 02:26 |
Mischinka | I 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 it | 02:30 |
Mischinka | still says im using apache 2.2.22 (Im using an Apache, MySql, PHP configuration on Ubuntu 12.04) | 02:30 |
Mischinka | Could someone enlighten me with the instructions to correctly upgrade? | 02:31 |
RoyK | I didn't think apache 2.4 was part of ubuntu yet | 02:32 |
blkperl | RoyK: the guide he listed, compiles it from source | 02:32 |
Mischinka | I downloaded it and attempted to compile it from source.. | 02:33 |
blkperl | RoyK: why are you upgrading? why not wait for ubuntu to release package? | 02:33 |
Mischinka | blkperl: its actually me who was upgrading. | 02:33 |
RoyK | blkperl: I'm not upgrading | 02:33 |
blkperl | RoyK: sorry wrong tab complete :) | 02:34 |
blkperl | Mischinka: why are you upgrading? | 02:34 |
Mischinka | Benchmarking and Comparing. | 02:34 |
RoyK | Mischinka: if it fails to upgrade, and it's not in the ubuntu repos, perhaps #httpd might be better | 02:34 |
* EvilResistance looks in | 02:34 | |
EvilResistance | well 2.4.x for Apache2 is in Debian Experimental, so no wonder its not in the repos :P | 02:35 |
blkperl | Mischinka: you probably need to disable apache 2.2 first... | 02:35 |
EvilResistance | (just as an aside) | 02:35 |
blkperl | Mischinka: are you sure 2.4 started? | 02:36 |
Mischinka | It says its a stable release on the apache website. | 02:36 |
Mischinka | http://www.apache.org/dist/httpd/Announcement2.4.html | 02:36 |
blkperl | Mischinka: yeah it just hasn't hit the ubuntu repos yet because its so new | 02:37 |
Mischinka | You wouldnt happen to know how to install it from source would you? | 02:38 |
blkperl | Mischinka: 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 |
blkperl | third is apache 2.4 listening on the port your website is running on? | 02:40 |
Mischinka | Yeah everything went fine but when i start apache it still shows 2.2.22 | 02:40 |
blkperl | how did you start it? | 02:41 |
Mischinka | # /usr/local/apache2/bin/apachectl start | 02:42 |
twb | You realize stuff in /usr/local is unsupported, right? | 02:42 |
twb | Oh, blkperl already mentioned that | 02:42 |
Mischinka | http://pastebin.com/kxsE6Vxh | 02:43 |
Mischinka | twb: im too curious to wait ;D and I want to write a review on the performance difference. | 02:43 |
RoyK | Mischinka: if you intend to install apache from source, make sure it's not installed from packages at the same time | 02:44 |
blkperl | Mischinka: it didn't start because apache 2.2 is running on port 80 | 02:44 |
patdk-lap | hmm? 2.4 installed and runs perfectly for me | 02:44 |
blkperl | Mischinka: turn off apache 2.2 and try again | 02:44 |
patdk-lap | I should upload 2.4 to my ppa | 02:44 |
RoyK | what's so cool about apache 2.4 anyway? | 02:44 |
Mischinka | Noob question.. how? | 02:44 |
patdk-lap | royk, that is why I installed it, to see :) | 02:44 |
RoyK | patdk-lap: no offence, but I just wanted to advice against having two separate apache installs ;) | 02:45 |
patdk-lap | oh, I don't have two different ones, when you install my apache2.4 package, it removes 2.2 | 02:46 |
* RoyK has a server or two at work with three or four apache installs | 02:46 | |
patdk-lap | I dunno how he did it | 02:46 |
blkperl | Mischinka: `service apache2 stop` | 02:46 |
RoyK | and that wasn't my work... | 02:46 |
blkperl | Mischinka: `ps -ef | grep apache2` | 02:46 |
patdk-lap | royk, I'll stick to vm's, build one up to test each item | 02:46 |
RoyK | blkperl: or ps axfv ;) | 02:46 |
blkperl | Mischinka: the last command will show you if its still running | 02:46 |
RoyK | ps -ef is so sysv... | 02:46 |
blkperl | RoyK: :_ | 02:47 |
blkperl | :) | 02:47 |
blkperl | RoyK: i tend to use pgrep -lf | 02:48 |
Mischinka | I 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 |
RoyK | blkperl: gimme awk for that ;) | 02:49 |
Mischinka | where do I set 2.4 to point to /var/www/html | 02:49 |
RoyK | ps axf|awl '/whatever/ { print $somecol }' | 02:49 |
RoyK | Mischinka: it's in the apache docs | 02:49 |
twb | RoyK: bleh. Passing the appropriate format string to ps would be nicer | 02:50 |
RoyK | Mischinka: you can possibly use the debian/ dir from the 2.2 source to make a package suitable for ubuntu | 02:50 |
RoyK | twb: nonsense ;) | 02:50 |
Mischinka | Trust me im no where near that knowledgable. | 02:51 |
RoyK | Mischinka: then don't build from source | 02:51 |
Mischinka | I 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 |
blkperl | Mischinka: turning off the apache 2.2, and turning on apache 2.4 should work for you | 02:51 |
RoyK | Mischinka: google the apache docs if you need to configure apache from scratch | 02:51 |
RoyK | blkperl: 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 calm | 02:52 |
Mischinka | root@server:~# ps -ef | grep apache2 root 24749 24116 0 22:47 pts/0 00:00:00 grep --color=auto apache2 | 02:52 |
RoyK | Mischinka: really, hand-compiled apache is *not* supported in this channel | 02:53 |
blkperl | RoyK: oh yeah then Mischinka will want to follow the apache docs | 02:53 |
RoyK | blkperl: apache builds under /usr/local by default, ubuntu changes a bunch of things, mostly to the better | 02:56 |
RoyK | Mischinka: apt-get source apache2.2 | 02:56 |
patdk-lap | hopefully all programs would build to local, or opt by default | 02:56 |
patdk-lap | so they don't mess with the main system | 02:56 |
RoyK | take out the debian dir from there and copy it to the apache 2.4 tree | 02:56 |
patdk-lap | what is even easier, is just install the package from sid | 02:57 |
RoyK | patdk-lap: /usr/local is the default on linux, possibly /opt on solarises | 02:57 |
RoyK | ouch - mixing sid into this is rather nasty | 02:57 |
RoyK | sid is the kid that breaks toys ;) | 02:58 |
patdk-lap | why? | 02:58 |
patdk-lap | you only install apache, not everything | 02:58 |
Mischinka | lol | 02:58 |
patdk-lap | the most you break is apache :) | 02:58 |
three18ti | RoyK, nothing is wrong with KVM, I'm a big fan of it and am basing my infrastructure around it actually. | 02:58 |
RoyK | well, ok, justdownload the sid package, just don't add the sid repo | 02:58 |
Mischinka | So 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 |
Mischinka | Im renting a KVM server with Ubuntu 12.04 from dotblock | 02:59 |
=== EvilResistance is now known as Resistance | ||
Mischinka | I dont even know what sid is lol | 03:01 |
Mischinka | other than RoyK's description. | 03:02 |
RoyK | erm - why would he choose apache 2.4? | 03:02 |
patdk-lap | hmm, ask him? | 03:02 |
RoyK | Mischinka: really, just download the source for 2.4 and copy the debian/ dir into it and create a package | 03:02 |
RoyK | Mischinka: why do you need 2.4 btw? | 03:02 |
Mischinka | Well the plan is to build a social website. So I need the best performing setup. | 03:04 |
Mischinka | and 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 |
RoyK | Mischinka: you don't need 2.4 for that | 03:05 |
patdk-lap | it's unlikely your selection of webserver software to be the speed issue, for several years | 03:05 |
patdk-lap | normally it's an 1-2% optimization, at best | 03:05 |
RoyK | Mischinka: if you find performance bottlenecks with apache, choose something else, like nginx | 03:06 |
Mischinka | Lol, nginx play well with mysql and php? | 03:06 |
RoyK | Mischinka: yes | 03:06 |
patdk-lap | why would nginx play with mysql? | 03:07 |
RoyK | Mischinka: 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 nginx | 03:07 |
RoyK | Mischinka: just start off with a base setup. if you want to create facebook v2, go ahead ;) | 03:08 |
Mischinka | I 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 it | 03:09 | |
Mischinka | do you have any idea why I had to comment out: # MinSpareThreads 25 | 03:10 |
RoyK | Mischinka: you don't | 03:10 |
Mischinka | Well apache wouldnt start until i did this.. # MaxSpareThreads 75 # ThreadLimit 64 # ThreadsPerChild 25 | 03:11 |
patdk-lap | probably cause your not using mpm-worker | 03:11 |
RoyK | Mischinka: possibly a typo somewhere | 03:11 |
RoyK | aha | 03:11 |
RoyK | patdk-lap: that should normally be within <if ...> | 03:12 |
Mischinka | http://pastebin.com/B9Sx7fui | 03:12 |
patdk-lap | ya, but he installed from source | 03:12 |
patdk-lap | so who knows what httpd.conf file he has now | 03:12 |
RoyK | Mischinka: really | 03:12 |
RoyK | remove that hand-installed thing if you want to ask for support in here | 03:12 |
Mischinka | Alright how do i do that lol | 03:13 |
Mischinka | i know i know.. | 03:13 |
RoyK | Mischinka: you do not need the latest apache or nginx or something, you just need goood engineering | 03:13 |
Mischinka | how do i reverse: http://www.discusswire.com/apache-2-4-installation-ubuntu/ | 03:14 |
RoyK | Mischinka: the code, be it java or mono or php or .not, that's the challenge | 03:14 |
RoyK | Mischinka: didn't you do a base install from source? if so, rm -rf /usr/local/apache{whatever} | 03:15 |
patdk-lap | that will only kill the source | 03:15 |
patdk-lap | after killing all source parts | 03:15 |
patdk-lap | I would to a purge of apache packages | 03:16 |
patdk-lap | then reinstall apache packages | 03:16 |
RoyK | patdk-lap: no, that's where apache installs per default | 03:16 |
patdk-lap | even the etc files? | 03:16 |
RoyK | yep | 03:16 |
RoyK | etc, locks, logs etc | 03:16 |
Mischinka | http://pastebin.com/3RwhWF2f | 03:17 |
Mischinka | So in my case: rm -rf /usr/local/apache2 ? | 03:18 |
RoyK | Mischinka: if you messed up, and this is a VM, just reinstall, takes you 10 minutes ;) | 03:18 |
RoyK | Mischinka: yes | 03:18 |
patdk-lap | man, that apache2.4 install guide is horrible | 03:18 |
RoyK | patdk-lap: agreed | 03:18 |
RoyK | patdk-lap: I've installed it from source a few times ;P | 03:18 |
Mischinka | I think it may be best to reinstall with all the stuff ive been playing with. | 03:19 |
RoyK | patdk-lap: I think the wrote that install guide back in 1998 or so | 03:19 |
RoyK | Mischinka: just don't install anything from source | 03:19 |
Mischinka | The only files I need to backup are the mysql folder and the var/www/html folder right? | 03:19 |
RoyK | Mischinka: if you have fucked up the server, reinstall it | 03:19 |
Mischinka | Yeah I just need to backup the website. | 03:22 |
RoyK | how much data is it? | 03:22 |
RoyK | it's probably all under /var/www | 03:22 |
Mischinka | Yeah that and my mysql database. | 03:23 |
RoyK | Mischinka: make sure to dump the mysql db and back up that part | 03:23 |
RoyK | the data files might not be of much worth | 03:23 |
Mischinka | I have a complete website built already lol. | 03:24 |
RoyK | Mischinka: next time, use a VM to test things ;) | 03:24 |
Mischinka | I just pulled it down to try out some different configurations. | 03:24 |
A2GJeff | does 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 manually | 03:24 |
A2GJeff | using 12.04 | 03:25 |
RoyK | ip addr add 1.2.3.4/24 dev eth0 | 03:25 |
RoyK | A2GJeff: why would you add so many IPs to a single serer? | 03:26 |
A2GJeff | will that write to the network interfaces file? | 03:26 |
A2GJeff | because its a gameserver hosting company, and we need that many :D | 03:26 |
Mischinka | woah phpmyadmin has so many options to export lol | 03:26 |
RoyK | ok :) | 03:26 |
A2GJeff | will that write to the network interfaces file? | 03:26 |
RoyK | A2GJeff: at the end of the eth0 block 'up ip addr add ... dev eth0 | 03:26 |
A2GJeff | what do you mean by the end of the block? | 03:27 |
RoyK | A2GJeff: pastebin the interfaces file | 03:27 |
A2GJeff | one moment | 03:28 |
RoyK | !pastebin | 03:28 |
ubottu | For 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 |
A2GJeff | http://paste.ubuntu.com/990079/ | 03:31 |
A2GJeff | this is how I've been doing it | 03:31 |
A2GJeff | I'm trying to optimize this, as I need to add more IPs to each box | 03:31 |
RoyK | A2GJeff: something like this http://paste.ubuntu.com/990084/ | 03:33 |
A2GJeff | I will try that, thank you | 03:33 |
RoyK | forget about the auto eth0:? | 03:33 |
RoyK | just eth0 | 03:34 |
RoyK | the :? was the defacto standard some 10 years ago | 03:34 |
A2GJeff | alright, I'm trying it out right now :} | 03:34 |
A2GJeff | if this works, much <3 | 03:34 |
RoyK | it will :) | 03:34 |
A2GJeff | http://paste.ubuntu.com/990085/ | 03:35 |
A2GJeff | whats wrong with this? | 03:36 |
Mischinka | Alright starting the site backup | 03:36 |
A2GJeff | (different server btw) | 03:36 |
RoyK | A2GJeff: yo may need to apt-get install iproute | 03:36 |
A2GJeff | alright, doing that now | 03:37 |
A2GJeff | its already the newest version currently | 03:37 |
A2GJeff | iproute is already the newest version. | 03:37 |
Mischinka | My setup is called a LAMP server correct? | 03:37 |
RoyK | ok | 03:37 |
RoyK | try | 03:37 |
RoyK | ip addr add 108.177.227.3/24 dev eth0 | 03:37 |
RoyK | 'up' is just the word for 'run this when the nic goes up' | 03:37 |
A2GJeff | alright, doing a restart.. give me a moment | 03:39 |
* RoyK still wonders wtf someone would need so many IPs for a single service | 03:40 | |
A2GJeff | lol | 03:40 |
A2GJeff | game server hosting | 03:40 |
A2GJeff | people want default ports | 03:40 |
RoyK | ok | 03:41 |
A2GJeff | the machine is a dual 6cores with 128gb ram and 15mb cache on those processors | 03:41 |
A2GJeff | so I'm able to stack it more | 03:41 |
A2GJeff | it still only has primary ip btw | 03:41 |
A2GJeff | didnt bind my range | 03:41 |
Qten | Hi All, anyone running (zfsonlinux.org) zfs on linux in prod yet? | 03:42 |
* RoyK needs some sleep | 03:42 | |
RoyK | Qten: running openindiana with half a petabyte of storage on zfs, but I daresay, not on linux | 03:43 |
A2GJeff | any ideas here Ruetobas? | 03:43 |
A2GJeff | errr, RoyK | 03:43 |
A2GJeff | sorry. | 03:43 |
A2GJeff | lol | 03:43 |
Qten | RoyK: fair enough, just looking for something gluster may run ontop of | 03:44 |
RoyK | Qten: really, I wouldn't recommend zfs on linux yet | 03:44 |
* RoyK is off - nite folks | 03:45 | |
Qten | RoyK: yeah i do pref solaris myself for ZFS seems logical :) | 03:45 |
Qten | nite | 03:45 |
A2GJeff | Roy! nooo :( | 03:45 |
RoyK | A2GJeff: baby, i have time for a little more ;) | 03:47 |
A2GJeff | I dont want to bind each IP individually again :( | 03:48 |
RoyK | you can't bind a whole subnet | 03:48 |
RoyK | that is, you possibly can, with bridging, but that will be even more ugly | 03:48 |
A2GJeff | so what would be the best attack plan for this? | 03:49 |
RoyK | just do as I said | 03:49 |
RoyK | add each IP as an ip addr add line | 03:49 |
RoyK | one line per address | 03:50 |
A2GJeff | it didnt work like that, already tried | 03:50 |
RoyK | pastebin the interfaces file | 03:50 |
A2GJeff | already started overwriting it to go the old way, give me a sec to try and get it back to the way it was | 03:51 |
A2GJeff | this is how google was stating to do it as well btw | 03:52 |
A2GJeff | up ip addr add 192.168.1.2/24 dev eth0 label eth0:0 | 03:52 |
A2GJeff | down ip addr del 192.168.1.2/24 dev eth0 label eth0:0 | 03:52 |
RoyK | !pastebin | 03:52 |
A2GJeff | sorry | 03:52 |
A2GJeff | give me a moment | 03:53 |
A2GJeff | http://paste.ubuntu.com/990090/ | 03:53 |
nathwill | gaaaah | 03:53 |
nathwill | http://xkcd.com/910/ | 03:53 |
A2GJeff | there is my file right now, what do I type to add the next block in? | 03:53 |
nathwill | doing new ubuntu server install on my new n40l | 03:54 |
nathwill | taking suggestions | 03:54 |
RoyK | A2GJeff: just like you wrote it, but without label eth0 etc | 03:54 |
RoyK | just 'up ip addr ... dev eth0' | 03:54 |
A2GJeff | up ip addr add 192.168.1.2/24 dev eth0 | 03:54 |
RoyK | yep | 03:54 |
A2GJeff | ? | 03:55 |
A2GJeff | ok | 03:55 |
A2GJeff | one moment | 03:55 |
RoyK | label is nonsense | 03:55 |
yaboo | join #logstash | 03:55 |
Mischinka | Can NGINX run joomla? | 03:56 |
RoyK | Mischinka: is the pope catholic? | 03:56 |
Mischinka | Sweet strawberries. | 03:57 |
A2GJeff | http://paste.ubuntu.com/990094/ | 03:57 |
Mischinka | I was reading some articles and I hear good things with nginx+php-fpm+mysql+memcache+eaccelerator | 03:58 |
A2GJeff | RoyK: error and file in that pastebin | 03:58 |
RoyK | A2GJeff: if it doesn't work, try moving that line before the dns part | 03:58 |
nathwill | mischinka, i use nginx + fpm + varnish | 03:59 |
Mischinka | with a joomla site? | 03:59 |
nathwill | wordpress and a couple other sites | 03:59 |
A2GJeff | same error with that change RoyK | 03:59 |
nathwill | joomla's going to be the same as any other cms | 03:59 |
RoyK | what error? | 03:59 |
nathwill | mischinka: just different caching optimizations if you want to get that deep | 03:59 |
A2GJeff | I put it in my last pastebin | 03:59 |
Mischinka | Alright well i've backed up my website using akeeba backup which saves files/database. | 04:00 |
A2GJeff | http://paste.ubuntu.com/990094/ | 04:00 |
RoyK | A2GJeff: sec | 04:00 |
nathwill | mischinka: i don't know akeeba... | 04:00 |
nathwill | mischinka: i generally use tar and mysqldump | 04:00 |
Mischinka | could you give me a hand then since you've been down this path? | 04:01 |
Mischinka | lol | 04:01 |
nathwill | mischinka, i can pastebin some config files for ya | 04:01 |
nathwill | i'm in the middle of a server install... be happy to help, but may be slow to respond, fyi | 04:02 |
Mischinka | you zipped your datafiles and how do i commandline mysqldump? | 04:02 |
nathwill | mischinka: i generally use: mysqldump --all-databases -u root -p | 04:03 |
nathwill | obviously sub in whatever user name is appropriate | 04:03 |
RoyK | A2GJeff: http://paste.ubuntu.com/990101/ <-- I just tried this on a Lucid VM and restarted it - works fine | 04:04 |
Mischinka | its root. | 04:04 |
nathwill | mischinka, cool. to restore from that, you can: mysql -u root -p < mybackup.sql | 04:06 |
nathwill | uh. mischinka, btw, you want to dump the mysqldump command into a file, like mysqldump -u root -p > mybackup.sql | 04:06 |
RoyK | nathwill: if you're breave, yes ;) | 04:07 |
A2GJeff | Roy, this isnt working.. | 04:07 |
A2GJeff | what version are you trying it on? | 04:07 |
RoyK | lucid | 04:07 |
RoyK | 10.04 | 04:07 |
A2GJeff | I'm using 12.04, and its not working | 04:07 |
RoyK | and not *trying*, *using* | 04:07 |
A2GJeff | sorry* lol | 04:08 |
RoyK | A2GJeff: that's a bitch ;) | 04:08 |
A2GJeff | ? | 04:08 |
RoyK | A2GJeff: my advice, add a small script to run "ip addr add ..." for those addresses needed, and file a bug | 04:08 |
RoyK | please file that bug - we need those | 04:09 |
Pathos | I'm having trouble getting a python mod wsgi installed | 04:09 |
RoyK | but for now, ladies and gents, mr RoyK is going to take some time off... | 04:10 |
A2GJeff | :| | 04:10 |
A2GJeff | well thanks anyways | 04:10 |
nathwill | royk, i don't understand "if you're brave"? | 04:11 |
Pathos | http://pastie.org/3918585 here is the virtual host in apache | 04:11 |
Pathos | I have libapache2 mod wsgi installed | 04:11 |
Pathos | When I go to the directory in browser, it keeps saying you don't have permission to access | 04:11 |
nathwill | brave 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 |
Pathos | the vhost file contains -indexes so that's why | 04:11 |
Pathos | Do you guys have an article on how to install python apache server for ubuntu? | 04:11 |
Pathos | Please advise | 04:11 |
nathwill | anyways... take it easy royk, didn't mean to bug you when you were headed out. | 04:12 |
Pathos | I've been trying to figure this out for a couple of hours now and have researched to no avail | 04:12 |
Mischinka | Almost backed up | 04:13 |
Pathos | [Wed May 16 04:06:37 2012] [error] Exception KeyError: KeyError(140189835843392,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored | 04:14 |
Pathos | i get this | 04:14 |
Pathos | in the error.log | 04:14 |
nathwill | mischinka: here's my sample nginx site config: http://paste.ubuntu.com/990109/ | 04:14 |
nathwill | depending on your setup you may want to tweak some things | 04:15 |
Pathos | anyone? | 04:17 |
Mischinka | well im going to have to reinstall 12.04 isnt there a commandline for that? | 04:17 |
nathwill | mischinka, how do you mean? | 04:18 |
Mischinka | Im renting a KVM VPS | 04:18 |
nathwill | mischinka, this is a pretty good tutorial on the full nginx + php-fpm setup | 04:20 |
nathwill | http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-on-ubuntu-11.10 | 04:20 |
Mischinka | Works the same with ubuntu 12.04? | 04:20 |
nathwill | ja. not much has changed with either nginx or php-fpm | 04:20 |
nathwill | the main points are getting php-fpm to use a socket (faster), and a sample nginx config to set the upstream for php | 04:21 |
Mischinka | You think this is the fastest setup for a heavy php and database site? | 04:23 |
Pathos | any help please? | 04:23 |
Mischinka | hmm I did the mysqldump and it didnt work right.. the file is way too small lol | 04:25 |
nathwill | mischinka, you check it w/ less? | 04:26 |
nathwill | because the actual line count will be small | 04:26 |
nathwill | the size should be pretty representative of your data | 04:26 |
Mischinka | well i have phpmyadmin as well.. do i need to check structure, data, or str/data for dump table? | 04:27 |
nathwill | ? | 04:29 |
nathwill | mischinka, if you used --all-databases it should have dumped all tables in all databases | 04:29 |
nathwill | also, only more recent phpmyadmin installs a table | 04:30 |
nathwill | if you just browse the content you should get a quick idea if the resultant sql file contains your data | 04:30 |
Mischinka | like: mysqldump --all-databases -u root -p > mybackup2.sql ? | 04:31 |
nathwill | well that'll create another (or the first if you haven't done it before) backup of the db | 04:32 |
nathwill | but if you: less mybackup.sql | 04:32 |
nathwill | you'll be able to see the file contents | 04:32 |
Mischinka | ah im getting errors thats why. | 04:33 |
Mischinka | mysqldump: Got error: 23: Out of resources when opening file './inpaintball_db/joomla_support_discussions_votes.MYD' (Errcode: 24) when using LOCK TABLES | 04:33 |
nathwill | ah | 04:33 |
nathwill | weird. | 04:33 |
Pathos | Am I being ignored or something? | 04:35 |
Mischinka | pathos: sorry i dont know the answer. | 04:35 |
nathwill | ^+1 | 04:35 |
uvirtbot | nathwill: Error: "+1" is not a valid command. | 04:35 |
Mischinka | nathwill: i see the sql files in /var/lib/mysql cant i just use those files to restore? | 04:36 |
nathwill | not optimal, but doable | 04:36 |
Mischinka | Like, zip that directory and put it back after I install everything | 04:36 |
nathwill | if you have phpmyadmin, honestly i would just export from there before i grabbed the actul myi & myd files | 04:36 |
Pathos | *sigh* | 04:36 |
Mischinka | Alright I think it worked through phpmyadmin | 04:39 |
Mischinka | Now for the fun part.. destroying my server. | 04:39 |
nathwill | mischinka, hehe. best part! | 04:39 |
Pathos | nm | 04:41 |
Pathos | im an idiot i was editing the wrong vhost file! | 04:41 |
Pathos | haha. | 04:41 |
Mischinka | hah | 04:41 |
Pathos | :D | 04:41 |
nathwill | glad you got it workin | 04:42 |
Mischinka | so I just start ubuntu from cd and select install? | 04:44 |
Mischinka | nathwill maybe i should share my screen with you lol | 04:45 |
Mischinka | do you have teamviewer? | 04:45 |
nathwill | mischinka, nope | 04:48 |
Pathos | now something funnier | 04:48 |
Pathos | http://pastie.org/3918689 | 04:48 |
Mischinka | Just doing an install from cd will delete everything right? | 04:48 |
nathwill | also, mischinka, generally vps stuff you don't start w/ a cd, you just pick an image... who're you hosting with? | 04:48 |
Pathos | But if I load a script it works, just says hello world | 04:48 |
Mischinka | Dotblock | 04:48 |
nathwill | mischinka, yeah, best to consider it deleted. | 04:48 |
Pathos | I wonder what the issue is really | 04:48 |
Pathos | any apache gusy here? | 04:48 |
Mischinka | nathwill: Should I encrypt my home directory ? | 04:50 |
Mischinka | Pathos try #httpd | 04:50 |
Pathos | ok | 04:50 |
nathwill | mischinka, up to you, i don't find any difference either way. | 04:50 |
nathwill | except knowing that when i do, it is | 04:50 |
Mischinka | so for the partitioning method what do i choose? | 04:51 |
nathwill | mischinka, 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 manage | 04:52 |
Mischinka | what is lvm? | 04:53 |
nathwill | mischinka, logical volume management | 04:53 |
Mischinka | yeah i dont think i need that. | 04:53 |
Mischinka | so, guided - use entire disk | 04:53 |
nathwill | sounds good... | 04:53 |
Mischinka | oo scsi1 (0,0,0) (sda) - 41.9gb ata qemu harddisk | 04:54 |
Mischinka | MORE COFFEE! | 04:56 |
Mischinka | ;)~ | 04:56 |
Mischinka | nathwill, have you done any military service by any chance? | 04:57 |
nathwill | mischinka, nope. can't take orders | 04:57 |
Mischinka | I went to bootcamp with someone named Williams, Nathan | 04:58 |
nathwill | have many good friends in and back out of the service though | 04:58 |
nathwill | mischinka, really? | 04:58 |
nathwill | that's funny | 04:58 |
Mischinka | Yeah | 04:58 |
Mischinka | Marine Corps | 04:58 |
=== Guest8786 is now known as Ursinha | ||
nathwill | ugh. this 4G ECC ram upgrade i just got in the mail is DOA, what a joke | 04:59 |
Mischinka | from where? | 05:00 |
nathwill | hp ram from newegg | 05:00 |
Mischinka | i'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 |
nathwill | haha, for sure. i even hear they're rushing to put out ddr4 or some crazy nonsense | 05:01 |
Mischinka | wow. | 05:01 |
Mischinka | i bought some transformer looking ddr3 corsair vengeance stuff. | 05:01 |
Mischinka | But 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 | |
nathwill | lol | 05:04 |
Mischinka | Do you have skype? | 05:05 |
nathwill | i've got my fingers crossed that networkmanager is gonna do its magic and configure my card for me. | 05:05 |
nathwill | mischinka, nope | 05:05 |
nathwill | bbiaf, smoke break. | 05:05 |
Mischinka | sure. | 05:05 |
Mischa-Android | Now i have mirc on my razr.. sweet succulent awesomeness | 05:11 |
Mischinka | Should I setup automatic updates on this install? | 05:12 |
nathwill | mischinka, 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 |
Mischinka | if its off i can manually update? | 05:16 |
Mischinka | Will it slow down the server much? | 05:16 |
nathwill | mischinka, yeah, you can, no it shouldn't | 05:17 |
Mischinka | Alright its asking which software to install. | 05:17 |
Mischinka | Im sure: OpenSSH is important | 05:17 |
nathwill | mischinka, yeah, that's usually what i start with | 05:20 |
Mischinka | I wont need anything else for this setup, will i? | 05:21 |
Mischinka | i have: openssh, dns, lamp, mail, postgresql, print, samba, tomcat, vm host, and manual pkg selection | 05:22 |
nathwill | mischinka, i usually set up ssh on the installer, everything else you can install afterwards | 05:22 |
Mischinka | rogeroger | 05:23 |
* Mischinka goes back to the thumb twiddling (34%) | 05:24 | |
Mischinka | its quite the process.. | 05:26 |
Mischinka | nathwill: is this what you do for a living? | 05:26 |
nathwill | mischinka, not with ubuntu. i work at yahoo and we're a freebsd/rhel house | 05:27 |
Mischinka | Cool. | 05:28 |
nathwill | but i do sysadmin type things for a living. it's kind of difficult to describe. i bridge customer care and service ops | 05:28 |
Mischinka | Interesting.. | 05:28 |
nathwill | mischinka, that's for sure, lol | 05:29 |
Mischinka | nathwill: have you used memcache and eaccelerator? | 05:30 |
nathwill | mischinka, nope | 05:30 |
Mischinka | nathwill: Install the GRUB boot loader to the master boot record? | 05:31 |
nathwill | mischinka, yep. | 05:32 |
Mischinka | hmm.. they need a second bar that has overall percentages, i feel like i was tricked. | 05:32 |
nathwill | lol | 05:33 |
Mischinka | So do you prefer ubuntu over others? | 05:33 |
Mischinka | Now Ubuntu decides to be honest: "Wiping swap space for security (this may take a while)..." | 05:34 |
nathwill | mischinka, yes, i prefer ubuntu | 05:34 |
Mischinka | I was told to use Ubuntu and im unsure as to why yet. lol | 05:35 |
nathwill | mischinka. it's a solid system with lots of readily available, easily installable software, and a freaking amazing community is why :P | 05:36 |
Mischinka | pwn ;p | 05:37 |
nathwill | lol | 05:37 |
Mischinka | Im looking at it and i might even use it for my personal pc. | 05:37 |
Mischinka | I havent seen the desktop in action yet though. | 05:38 |
Mischinka | hmm.. my Finishing installation really likes to be at 13% | 05:39 |
Mischinka | Is this normal for it to hang at 13%? | 05:41 |
nathwill | depends, is this the "wiping swap" piece? cuz i've seen that hang a bunch | 05:41 |
nathwill | usually, just wait it out | 05:41 |
nathwill | well, by hang i mean take a long time, not really "hang" | 05:41 |
Mischinka | ah i gotcha. | 05:42 |
Mischinka | yeah its the wiping swap piece. | 05:42 |
nathwill | yeah. so that takes a long time because linux geeks take their encryption very seriously | 05:43 |
Mischinka | Booya. booting up | 05:43 |
nathwill | :) | 05:45 |
Mischinka | AH my login is incorrect for root? | 05:45 |
nathwill | well there is no root by default | 05:45 |
Mischinka | oh | 05:45 |
nathwill | so login is normal, then use sudo | 05:46 |
Mischinka | alright how do i create a root? | 05:46 |
nathwill | if you *really* want to have a root user... | 05:46 |
Mischinka | oh not really. | 05:46 |
nathwill | mischinka, so... before i get into that... | 05:46 |
nathwill | my preference if i'm going to be doing a lot of stuff that requires root privs is to use : sudo -i | 05:46 |
Mischinka | dir | 05:46 |
Mischinka | should I do an update first? | 05:47 |
nathwill | mischinka, yeah, i'd do a apt-get update && apt-get dist-upgrade | 05:48 |
Mischinka | well, sudo apt-get update && apt-get dist-upgrade | 05:48 |
nathwill | unless you sudo -i first ;) | 05:49 |
Mischinka | gotcha. | 05:49 |
nathwill | :P | 05:49 |
Mischinka | alright updates are set. | 05:53 |
nathwill | woot | 05:53 |
Mischinka | whats next? | 05:54 |
Mischinka | that guide? | 05:55 |
nathwill | so next you'll probably want to install: nginx php5-fpm mysql-server php5-mysql | 05:56 |
nathwill | yeah, pretty much that guide | 05:56 |
nathwill | :) | 05:56 |
Mischinka | alright lets see how this goes. | 05:57 |
nathwill | g'luck. | 05:58 |
nathwill | i'm wrapping things up here, it's time to grab some food and pass out. i'll be back tomorrow. | 05:58 |
Mischinka | Is there anything special I need to do once this is done? | 05:58 |
Mischinka | before i had trouble because apache wasnt pointing to /var/www/html | 05:59 |
nathwill | well, you won't be using apache | 06:00 |
Mischinka | Oh.. is there going to be any tricks to setting joomla up with nginx? | 06:00 |
nathwill | mischinka, as long as you get nginx routing php to php-fpm, and you install php mysql driver, then no. | 06:01 |
nathwill | it should be just like a normal install | 06:01 |
nathwill | but faster ;) | 06:01 |
nathwill | uh. | 06:01 |
nathwill | htaccess stuff would be different | 06:01 |
Mischinka | oh man.. | 06:01 |
nathwill | if you're going to use permalinks | 06:01 |
Mischinka | do you want to see how I have my htaccess now? | 06:01 |
nathwill | so if you want to do the permalink type stuff, i'd just google nginx joomla | 06:01 |
nathwill | mischinka, they have some examples in the joomla docs here: http://docs.joomla.org/Nginx | 06:02 |
Mischinka | well i got my nginx running. | 06:02 |
nathwill | but note that they're using a port for php5-fpm instead of a socket | 06:02 |
nathwill | i prefer a socket, but it's not a super big deal | 06:03 |
Mischinka | im @ apt-get install php5-fpm | 06:03 |
nathwill | anyways... best wishes... if you're on tomorrow i'd love to hear how it went. | 06:03 |
Mischinka | Alright ill be here. | 06:03 |
Mischinka | anyone have any idea why im getting | 06:42 |
Mischinka | Reloading nginx configuration: nginx: [emerg] "fastcgi_pass" directive is duplicate in /etc/nginx/sites-enabled/default:69 | 06:42 |
Mischinka | nginx: configuration file /etc/nginx/nginx.conf test failed | 06:42 |
=== smb` is now known as smb | ||
=== Arc_ is now known as a5m0 | ||
glosoli | Anyone 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 |
twb | Wow that's bloody awful markup in the dpaste url | 08:05 |
glosoli | twb: ah sorry.. | 08:05 |
twb | it puts all the line numbers in a single <TD> or something | 08:05 |
twb | glosoli: not your fault, just a stupid pastebin site | 08:06 |
glosoli | I 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 |
glosoli | They sent me here | 08:06 |
twb | glosoli: ask sling said, you need to use a2ensite | 08:06 |
twb | it's a program in your path | 08:06 |
twb | It also has a manpage, as Sling suggests. | 08:07 |
glosoli | twb: so to understand, I won't be using virtualhosts ? | 08:08 |
glosoli | I will be using a2ensite instead ? | 08:08 |
twb | Wrong. | 08:08 |
twb | By 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 |
twb | The 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 |
alex88 | hello guys, how much should i leave for the /boot partition on a 12.04 server? | 08:10 |
twb | alex88: I usually allocate 256MB | 08:10 |
glosoli | twb: so there is nothing to do for that script just install and restart server, and then it will take care of everything ? | 08:11 |
alex88 | ty twb | 08:11 |
twb | alex88: 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 updates | 08:11 |
glosoli | ah a2ensite default | 08:12 |
glosoli | twb: did that a2ensite, it doesn't work still | 08:15 |
alex88 | twb, thanks for explaining :) | 08:15 |
twb | alex88: 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 |
twb | glosoli: sorry, I'm not interested in helping you further. | 08:17 |
glosoli | twb: hmm, thanks anyway :) | 08:17 |
alex88 | twb, it's 2tb, so it's not a problem to leave 512mb for that | 08:18 |
=== almaisan-away is now known as al-maisan | ||
=== bilal_ is now known as Guest59631 | ||
lynxman | morning o/ | 09:18 |
Mischinka | morning lynxman | 09:19 |
Mischinka | Have you setup phpmyadmin on an nginx setup? | 09:20 |
lynxman | Mischinka: yeah but it's a pain :) | 09:23 |
lynxman | Mischinka: running php on nginx is definitely a world of pain, not worth it | 09:24 |
twb | Isn't it only as painful as any PHP fastCGI usage? | 09:24 |
lynxman | twb: indeed | 09:24 |
twb | i.e. it only sucks because PHP always sucks | 09:24 |
lynxman | twb: doesn't scale well either | 09:25 |
lynxman | twb: doesn't have enough web sauce :D | 09:25 |
twb | http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ http://slofith.org/fith/images/php-the-good-parts.jpg | 09:25 |
LyonJT | hey | 09:39 |
LyonJT | does anyone know how to change the default port of vsftp ? | 09:39 |
twb | LyonJT: probably in vsftpd.conf | 09:44 |
LyonJT | that's what i thought i've found this article http://askubuntu.com/questions/37058/how-to-change-vsftpd-default-port | 09:44 |
LyonJT | works :) | 09:45 |
Mischinka | I got php running fine on my nginx.. im just having issues setting up phpmyadmin properly for the advanced features. | 09:47 |
alex88 | i've created partition for /boot and / which one should i set as bootable? | 10:28 |
twb | alex88: neither | 10:32 |
twb | alex88: GRUB doesn't care about MBR boot flags | 10:32 |
twb | If you were using extlinux, /boot would be the one to mark as bootable. | 10:32 |
alex88 | twb, oh ok thank you :) | 10:40 |
wolferz | Question: Do I have to use ubuntu server or can I modify the Linux Mint 12 kernel to the ubuntu server kernel? | 11:00 |
e2b04836 | why would you want to do that? | 11:01 |
twb | wolferz: we don't support that | 11:02 |
wolferz | support what twb ? | 11:02 |
twb | wolferz: anything to do with mint | 11:03 |
twb | ikonia: oh, thanks | 11:04 |
* twb extends idiot list | 11:04 | |
ikonia | apologies, he was on about this yesterday and rage quit saying he'd never use it again etc etc | 11:04 |
wolferz | twb, 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 |
wolferz | For the record, I've NEVER been in here before | 11:05 |
ARTSIOM | I 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 |
Womkes | Which server virtualization method is used / supported by default in ubuntu 12.04 ? | 11:06 |
wolferz | I'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-server | 11:06 |
ikonia | wolferz: you where told about the no mint support in #kubuntu yesterday when you rage quit | 11:07 |
ikonia | stop asking about it, use mint support resources for mint, use ubuntu support resources for ubuntu | 11:07 |
twb | ARTSIOM: one moment | 11:07 |
twb | ARTSIOM: http://paste.debian.net/169054/ is the minimalist "near enough" version | 11:08 |
twb | wolferz: libvirt-bin, kvm, lxc | 11:08 |
twb | Womkes: libvirt-bin, kvm, lxc (wrong nick) | 11:09 |
ARTSIOM | twb: I have tried with this in my conf file | 11:10 |
ARTSIOM | http://paste.org/49314 | 11:10 |
ARTSIOM | but the app is not starting on boot | 11:11 |
ARTSIOM | so I am wondering about this line in doc "potentially source a config file in /etc/default", so maybe I am misisng some step | 11:11 |
ikonia | actually 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 |
twb | ARTSIOM: don't do that | 11:11 |
twb | ikonia: I can't find it anywhere | 11:13 |
ikonia | twb: do you have kvm installed ? | 11:13 |
ikonia | (as in the tool set, not the kernel module) | 11:13 |
twb | I have qemu-kvm installed | 11:13 |
ARTSIOM | twb: why? can you please explain | 11:13 |
ikonia | twb: perfect, I wonder why it's not on your system | 11:13 |
twb | ikonia: btw did you ask apt-file? | 11:13 |
twb | ARTSIOM: I can't be bothered explaining | 11:14 |
ikonia | twb: not got a box here to hand, hence wasking | 11:14 |
ikonia | asking | 11:14 |
twb | ikonia: apt-file works without it installed | 11:14 |
twb | ikonia: unlike dlocate/dpkg -S | 11:14 |
ikonia | twb: I mean, I don't have an ubuntu box here | 11:14 |
twb | Righto | 11:14 |
ikonia | that's why I'm checking as I'm looking at something generic in libvirt | 11:14 |
twb | I know the qemu/kvm packaging in ubuntu is quite different from debian | 11:14 |
ikonia | one of the reasons I was curious | 11:15 |
ikonia | looking at two different libvirt releases and issues and just seeing how ubuntu had laid it out | 11:15 |
randomDude | is there a way to add ppaa repositories unattented to a cobbler preseed file? | 11:16 |
ikonia | randomDude: does it not work the same as adding a generic repo ? | 11:16 |
ikonia | do you have to do something specific with a PPA ? | 11:16 |
Daviey | twb: This cycle, qemu-kvm delta with Debian should shrink significantly.. but i fear the libvirt delta will increase. | 11:21 |
Womkes | k | 11:21 |
twb | I *want* to live libvirt | 11:21 |
Womkes | I'm looking for good tutorials on how to set up a KVM environment on top of DRDB accross two servers with LVM | 11:22 |
twb | I just haven't found a place where it saves me more time than it wastes | 11:22 |
twb | s/live/like/ | 11:22 |
Womkes | cannot find any, maybe you guys know any? | 11:22 |
twb | Womkes: drbd needs at least three hosts | 11:22 |
Daviey | twb: live migrations it really helps :) | 11:22 |
Mischinka | Starting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) | 11:22 |
ikonia | Daviey: any reason it's falling back in line ? | 11:22 |
twb | Daviey: that's more enterprisey than I need | 11:22 |
Mischinka | How do I start my nginx I keep getting that error | 11:22 |
Womkes | three?, no I have done it before | 11:22 |
Womkes | just two server is fine | 11:23 |
Womkes | raid1 over network right | 11:23 |
twb | Daviey: I can just say "sorry you are losing mail for ten minutes at 6PM on Saturday" | 11:23 |
twb | Womkes: google for "split brain" | 11:23 |
Daviey | ikonia: qemu-kvm Debian Maintainer seems to be more active than when the packages initially diverged, and relationships are improving. | 11:23 |
ikonia | Daviey: straight forward/honest answer, simple, I like it | 11:23 |
Womkes | twb, im not looking for a automated HA setup, just something that will mirror the data | 11:24 |
Daviey | twb: non-shared storage live migrations are too cool to not use! | 11:24 |
twb | Womkes: rsnapshot | 11:24 |
Womkes | and if one goes down i can put the other one online manually | 11:24 |
Daviey | twb: i do it for giggles. :) | 11:24 |
ikonia | !info qemu-kvm | 11:24 |
ubottu | qemu-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 kB | 11:24 |
twb | Daviey: you sound like a solution looking for a problem :P | 11:24 |
Daviey | twb: that is what i do best. | 11:24 |
twb | What I do best is complain | 11:24 |
Daviey | i hadn't noticed... :) | 11:25 |
twb | Holy shit | 11:25 |
twb | I just halved the size of my git repo | 11:25 |
Daviey | twb: *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 | twb | 11:25 |
ubottu | twb: Please watch your language and topic to help keep this channel family-friendly, polite, and professional. | 11:25 |
Mischinka | I guess a server restart worked lol | 11:25 |
twb | Stupid stray tag was keeping an entire bogus history from being GCd | 11:25 |
twb | IdleOne: sorry | 11:25 |
twb | Daviey: I didn't even go to linux conf when it was in my city | 11:26 |
Daviey | twb: Typical Social BOFH? :) | 11:26 |
twb | BOFH/aspy, yeah | 11:27 |
twb | meatspace is hard work | 11:28 |
=== Adri2000_ is now known as Adri2000 | ||
randomDude | ikonia: i imagine it would, however i need to add the public key yes? so this is the question how | 11:41 |
randomDude | ikonia: 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 chrome | 11:43 |
=== al-maisan is now known as almaisan-away | ||
randomDude | ikonia: i guess i just turn on "ignore gpg signing" during preseed | 11:46 |
randomDude | ikonia: http://serverfault.com/questions/295174/upgrade-the-ubuntu-puppet-package-within-kickstart-process | 11:47 |
ikonia | randomDude: yeah, I see what you mean about the key | 11:47 |
ARTSIOM | twb: 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 |
zul | good morning | 12:38 |
koolhead11 | hello zul | 12:40 |
zul | hey | 12:42 |
RoyK | 12:43 | |
cedwards | I 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 |
smoser | hallyn, around ? | 14:03 |
randomDude | sweeeeet!!!! (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 password | 14:03 |
hallyn | smoser: yup | 14:03 |
smoser | have you ever gotten kvm to work with scripts in /etc/qemu-if{up,down} ? | 14:04 |
smoser | http://paste.ubuntu.com/990697/ | 14:05 |
=== dendro-afk is now known as dendrobates | ||
smoser | hallyn, ^ | 14:09 |
smoser | it doens't even get to calling the /etc/qemu-ifup script before failure. | 14:09 |
smoser | (per strace) | 14:09 |
smoser | bah. it seems this is not possible. | 14:12 |
smoser | without root | 14:12 |
Jarmo | Hi, 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 |
roaksoax | randomDude: have you tried somthing like this to set the password? | 14:20 |
roaksoax | d-i passwd/username string ubuntu | 14:20 |
roaksoax | d-i passwd/user-password-crypted password $6$.1eHH0iY$ArGzKX2YeQ3G6U.mlOO3A.NaL22Ewgz8Fi4qqz.Ns7EMKjEJRIW2Pm/TikDptZpuu7I92frytmk5YeL.9fRY4. | 14:20 |
roaksoax | user/password | 14:20 |
hallyn | d'oh, sorry, i got lost in email | 14:20 |
hallyn | smoser: well yes, you either need to be root, make it setuid-root, or give it the required capabilities | 14:23 |
hallyn | note: I always just set it up in advance by hand | 14:24 |
hallyn | oh, you know, | 14:24 |
hallyn | yeah 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 that | 14:25 |
smoser | hallyn, "set it up in advance by hand"... | 14:25 |
smoser | ? | 14:25 |
hallyn | sudo tunctl -u 1000 | 14:25 |
hallyn | sudo ifconfig tap0 0.0.0.0 up | 14:25 |
hallyn | sudo addif br0 tap0 | 14:25 |
hallyn | and then the chown above | 14:25 |
smoser | hallyn, thanks. trying that. | 14:26 |
hallyn | smoser: 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 capabilities | 14:28 |
hallyn | I suspect that's been fixed | 14:28 |
irkinosor | Hello, 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? thx | 14:32 |
pmatulis | web server listening for requests? | 14:39 |
koolhead17 | hola all | 14:43 |
rcsheets | irkinosor: that's not nearly enough information for anyone to help you. | 14:51 |
irkinosor | what info do you want? | 14:52 |
rcsheets | irkinosor: 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 smoking | 14:55 | |
stoned | wgt | 14:55 |
stoned | Why | 14:55 |
stoned | Why would you be worried about what I'm smoking all of a sudden | 14:55 |
stoned | And why in #ubuntu-server | 14:55 |
stoned | You 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 |
zul | SpamapS: lemme know when you are around | 14:56 |
stoned | Be discreet! | 14:56 |
stoned | Come on buddy | 14:56 |
rcsheets | irkinosor: right, but still the only information you provide is "it doesn't work" | 14:56 |
koolhead17 | RoyK, hey there | 14:57 |
irkinosor | @rcsheets: this is what firefox throw: unable to connect Firefox can't establish a connection to the server at localhost. | 14:58 |
rcsheets | irkinosor: is your web server running? | 14:59 |
RoyK | stoned: changing your nick to "stoned" isn't really discreet :) | 14:59 |
stoned | oh | 14:59 |
stoned | but that's my name | 14: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 |
stoned | I had to register b/c it dropped | 15:00 |
stoned | I registered in like 2000 or something | 15:00 |
stoned | been stoned ever since | 15:00 |
RoyK | it was just | 15:00 |
RoyK | at stoned is smoking | 15:00 |
RoyK | ops | 15:00 |
RoyK | 16:55 -!- Pathos is now known as stoned | 15:00 |
RoyK | that one | 15:00 |
stoned | oh yeah | 15:00 |
RoyK | stoned: so sorry | 15:00 |
stoned | I have a backup nickname | 15:00 |
stoned | Pathos | 15:00 |
stoned | Like opposite of Ethos | 15:01 |
stoned | And I have stoned | 15:01 |
stoned | and denots for peopel who don't like stoned people | 15:01 |
* RoyK goes back to testing RAID level migration | 15:01 | |
stoned | it's just stoned spelled backwards | 15:01 |
stoned | i have not yet medicated this morning | 15:01 |
rcsheets | irkinosor: 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 |
stoned | I am super duper hyper | 15:01 |
stoned | I just have to go vaporize my medication and then I should be ok | 15:01 |
stoned | And my bursitis is killing me since two days back hurts a lot | 15:02 |
stoned | And that reminds me i need to go to clinic and renew my medication prescription | 15:02 |
irkinosor | @ rcsheets: I installed apache2 through the the install lamp-server^ process in the terminal. I just reload it and it still not working | 15:03 |
rcsheets | irkinosor: what do you mean by "reload"? how did you do that? | 15:03 |
stoned | you're trying to install a lamp server? | 15:03 |
irkinosor | @rcsheet: sudo service apache2 reload | 15:04 |
stoned | is this a new command system? | 15:04 |
stoned | no more /etc/init.d/apache2 restart|reload etc.? | 15:04 |
stoned | I have a LTS lucid server | 15:04 |
rcsheets | irkinosor: but it might not even be running | 15:04 |
rcsheets | irkinosor: sudo service apache2 status | 15:05 |
stoned | easy to find out | 15:05 |
stoned | telnet localhost 80 | 15:05 |
stoned | GET | 15:05 |
stoned | otherwise ps auxf|grep httpd | 15:05 |
stoned | or grep for apache maybe i dunno what the proc is called | 15:05 |
rcsheets | or the thing i said | 15:05 |
stoned | oh right | 15:05 |
stoned | status | 15:05 |
stoned | that's great | 15:05 |
stoned | I need to learn new ubuntu | 15:06 |
rcsheets | for 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 |
rcsheets | irkinosor: sudo service apache2 start | 15:06 |
irkinosor | @rcsheet: I'm getting a list of options | 15:07 |
rcsheets | irkinosor: that's unhelpful. | 15:07 |
irkinosor | @rcsheet: I got Usage: apache2 [-D name] [-d directory] [-f file] | 15:08 |
rcsheets | irkinosor: _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 |
rcsheets | irkinosor: what exactly did you type? | 15:09 |
irkinosor | @rcsheet: Sorry let me try again | 15:09 |
rcsheets | irkinosor: 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 explained | 15:10 |
irkinosor | @rcsheet: is that enough | 15:11 |
irkinosor | @rcsheet: Oh I type : apache2 start | 15:11 |
irkinosor | @rcsheet: I found the answer: sudo /etc/init.d/apache2 start | 15:14 |
rcsheets | <rcsheets> irkinosor: sudo service apache2 start | 15:15 |
rcsheets | you can't just leave out words | 15:15 |
rcsheets | the /etc/init.d/apache2 script will also work, but using "service" is the new way | 15: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 |
rcsheets | irkinosor: i'm not sure why it stopped. did you restart your computer? did you kill the apache process? | 15:17 |
ARTSIOM | 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? | 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 |
rcsheets | irkinosor: i believe it would normally start automatically on boot... | 15:22 |
rcsheets | irkinosor: what does 'ls -l /etc/rc2.d/S91apache2' give you? | 15:22 |
nathwill | irkinosor, update-rc.d apache2 defaults | 15:23 |
irkinosor | @rcheeets: lrwxrwxrwx 1 root root 17 May 13 23:18 /etc/rc2.d/S91apache2 -> ../init.d/apache2 | 15:24 |
rcsheets | so it's already set to start | 15:24 |
rcsheets | irkinosor: i'm not sure why it stopped, and it sounds like you're not sure whether it was running or not before. | 15:24 |
rcsheets | irkinosor: i suppose you could read the error log to see when the server was stopped and started | 15:25 |
irkinosor | @rcsheets: Well I check the error file ealier and couldn't see anything. What line should I look for? | 15:27 |
rcsheets | irkinosor: a normal shutdown looks like this: | 15:27 |
rcsheets | [Wed May 16 08:04:42 2012] [notice] caught SIGTERM, shutting down | 15:27 |
irkinosor | rcsheet: 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 it | 15:29 |
rcsheets | irkinosor: 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 |
irkinosor | rcsheet: You have being most helpful. Thanks. | 15:31 |
SpamapS | zul: I'm up now, but need to do some stuff AFK for a few minutes. back in 20 | 15:37 |
zul | SpamapS: k | 15:38 |
hallyn | stgraber: got any quantal lxc patches to queue up? | 15:48 |
stgraber | hallyn: nope, haven't really started using on quantal because of the current apparmor kernel bug | 15:49 |
tash | how do you change a user's home dir after you have already added them? I | 15:50 |
tash | I thought usermod -d <dir> <user> ? | 15:50 |
hallyn | chsh | 15:50 |
hallyn | oh sorry | 15:50 |
hallyn | thought you said shell somehow | 15:50 |
tash | or, maybe the better question is ... | 15:51 |
tash | when 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 |
tash | I did useradd <user>, maybe I should have used adduser ? | 15:51 |
hallyn | i think so | 15:51 |
hallyn | (anyway my answer would be the wrong answer: edit /etc/passwd) | 15:52 |
hallyn | probably adduser --dir /home/user will dtrt, but haven't tested | 15:53 |
tash | adduser does it by default | 15:53 |
tash | I just tested | 15:53 |
hallyn | right but i mean after the fact | 15:53 |
iclebyte | how can snmptrapd be configured to receive all traps if it doesn't have any MIB data? | 15:53 |
iclebyte | i.e. just to log them. | 15:53 |
RoyK | 15:58 | |
roaksoax | ls/win 14 | 16: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 exit | 16:10 |
a_c_m_ | without leaving any logs | 16:10 |
a_c_m_ | if you run the exact same command from the shell, it works fine | 16:10 |
RoyK | stud? | 16:12 |
RoyK | !stud | 16:12 |
a_c_m_ | https://launchpad.net/ubuntu/precise/amd64/stud | 16:12 |
a_c_m_ | RoyK: like pound or stunnel | 16:13 |
a_c_m_ | but faster ;) | 16:13 |
RoyK | ok :) | 16:13 |
a_c_m_ | but i can't work out why its not staying running | 16:14 |
RoyK | installed 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 package | 16:14 |
RoyK | and nothing in the logs? | 16:14 |
a_c_m_ | it doesn't really do logs | 16:15 |
RoyK | as in /var/log/daemon.log or similar | 16:15 |
a_c_m_ | no deamon.log | 16:15 |
a_c_m_ | checked syslog | 16:15 |
RoyK | a_c_m_: that's ubuntu/syslog's log | 16:15 |
RoyK | a_c_m_: which distro version? | 16:16 |
a_c_m_ | i think this server was 10.04 then upgraded to 12.04 | 16:16 |
a_c_m_ | may re-install | 16:16 |
a_c_m_ | as i'm out of things to try | 16:17 |
RoyK | but - starting it manually works? | 16:17 |
a_c_m_ | yes | 16:17 |
RoyK | but 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 use | 16:18 |
a_c_m_ | works | 16:18 |
sqwaw | from /boot/grub/grub.cfg: can someone explain to me the meaning of multiboot /xen.gz placeholder? specifically the multiboot and placeholder parts? | 16:18 |
RoyK | a_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/stud | 16:20 |
RoyK | rc3.d? | 16:20 |
RoyK | a_c_m_: are you at runlevel 3? | 16:21 |
a_c_m_ | its in rc2 as well | 16:21 |
a_c_m_ | no idea :) | 16:21 |
RoyK | type 'runlevel' | 16:21 |
a_c_m_ | 2 | 16:21 |
a_c_m_ | N 2 | 16:21 |
RoyK | N was the last one | 16:22 |
RoyK | 2 is the current | 16:22 |
a_c_m_ | RoyK: http://sync.in/MaPRNMovID is the script | 16:22 |
a_c_m_ | with my mod, to print out the command its using | 16:22 |
a_c_m_ | i thrn run that | 16:22 |
mahmoh | jamespage: 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 fault | 16:26 |
jamespage | mahmoh, regarding the transition? | 16:27 |
mahmoh | jamespage: yes | 16:27 |
RoyK | a_c_m_: you can use 'logger' to log to syslog from a script | 16:27 |
a_c_m_ | as if i "ps -A | grep 'stud'" right after... its running, but by the time the init scripts stopped its dead | 16:27 |
mahmoh | jamespage: well, I guess not transition but default jre - it will be openjdk 7 for arm too? | 16:27 |
jamespage | mahmoh, 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 JIT | 16:27 |
mahmoh | jamespage: got it, thank you | 16:28 |
RoyK | a_c_m_: perhaps it relies on something else? | 16:31 |
Captain_Proton | does 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 perms | 16:32 |
a_c_m_ | sorry | 16:32 |
a_c_m_ | not perms, options i'm setting that are causing it to crash without any error message | 16:32 |
a_c_m_ | sorry, and thanks for helping | 16:32 |
a_c_m_ | RoyK++ | 16:32 |
RoyK | :) | 16:40 |
=== Arc__ is now known as a5m0 | ||
SpamapS | zul: whats up? (I only have 10 min) | 16:49 |
SpamapS | well, maybe 20 | 16:52 |
zul | SpamapS: i forgot :( | 17:06 |
zul | hallyn: http://people.canonical.com/~zulcss/libvirt | 17:08 |
zul | er...http://people.canonical.com/~chucks/libvirt | 17:08 |
hallyn | zul: thx. did you already run qa-regression-testing? | 17:09 |
zul | hallyn: no | 17:09 |
hallyn | ok | 17:09 |
gabrtv | i'm using cloud-config with apt_update/apt_upgrade: true.. | 17:17 |
gabrtv | on first login i get: *** System restart required *** | 17:17 |
gabrtv | are those precise AMIs going to be updated soon? | 17:18 |
stgraber | hallyn: 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 |
hallyn | yup it's in the list | 17:24 |
stgraber | cool | 17:24 |
stgraber | then we can deprecate lxc-ip :) | 17:24 |
hallyn | should even be in the WI list in the blueprint | 17:24 |
hallyn | well, not exactly. lxc-ip does one thing and does it well :) | 17:25 |
hallyn | lxc-attach would still need to parse ifconfig output or somesuch | 17:25 |
hallyn | so 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 | ||
hallyn | I'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 |
stgraber | I'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 have | 17:38 |
hallyn | true | 17:39 |
hallyn | all 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 doing | 17:39 |
hallyn | stgraber: sent | 17:44 |
=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
=== matsubara-lunch is now known as matsubara | ||
craxor | Hello, 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 he | 18:22 |
craxor | lp me? | 18:22 |
RoyK | craxor: probably file permissions or samba config probs | 18:28 |
sqwaw | irc logs for this channel? | 18:30 |
patdk-wk | !logs | 18:31 |
ubottu | Official 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 |
sqwaw | ty ubottu | 18:36 |
sqwaw | from /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_poster | apw, 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 |
uvirtbot | Launchpad bug 944386 in linux "Making a hard link of a 0444 permission file fails in overlayfs [Precise]" [Medium,In progress] https://launchpad.net/bugs/944386 | 18:40 |
apw | gary_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 tommorrow | 18:43 |
gary_poster | apw, understood, thank you | 18:44 |
=== e2b04836_ is now known as e2b04836 | ||
=== Lcawte is now known as Lcawte|Away | ||
stgraber | hallyn: 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 there | 20:20 |
hallyn | stgraber: cool, thanks | 20:22 |
stgraber | hallyn: 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 |
hallyn | stgraber: oh right, of course | 20:23 |
hallyn | silly me :) | 20:24 |
stgraber | though I could probably use glob.glob("/var/lib/lxc/*/config") | 20:25 |
=== Lcawte|Away is now known as Lcawte | ||
hallyn | no, a list fn should be provided | 20:25 |
=== TDJACR is now known as TDJACRBot | ||
=== TDJACRBot is now known as TDJACR | ||
=== Lcawte is now known as Lcawte|Away | ||
kayakyakr | Almost 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 |
kayakyakr | Have 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 precise | 22:57 |
ubottu | Package dlm-pcmk does not exist in precise | 22:57 |
Resistance | !info dlm-pcmk oneiric | 22:57 |
ubottu | dlm-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 kB | 22:57 |
Resistance | looks like it doesnt exist in precise | 22:58 |
Resistance | !info redhat-cluster precise | 22:58 |
ubottu | Package redhat-cluster does not exist in precise | 22:58 |
lostogre_ | but what replaced it? | 22:58 |
Resistance | you assume it was replaced | 22: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 |
Daviey | roaksoax: ^^ | 23:01 |
pdtpatrick | Has anyone run into this error before ? | 23:19 |
pdtpatrick | https://wiki.ubuntu.com/ServerTeam/MAAS/Juju | 23:19 |
pdtpatrick | This: http://pastie.org/3922991 | 23:19 |
Daviey | pdtpatrick: that implies you don't have any nodes in the Ready state. | 23:31 |
Daviey | CONFLICT == not enough resources. | 23:31 |
pdtpatrick | Daviey: http://cl.ly/2s460y2j0Q3b3N3u1G1g | 23:32 |
pdtpatrick | how long does it usually take to go from commission to ready ? | 23:32 |
Daviey | pdtpatrick: 2 mins, on a default setup | 23:34 |
Daviey | pdtpatrick: they are either blocked or not powered on. | 23:34 |
sidnei | anyone got a backport of rabbitmq-server from precise -> lucid? | 23:35 |
* sidnei glances at almaisan-away | 23:35 | |
pdtpatrick | Daviey: I'm not seeing anywhere to start it | 23:36 |
pdtpatrick | http://cl.ly/1x3v3h1f3H0s0z3v2e04 | 23:36 |
pdtpatrick | it is set to Wake on LAN | 23:37 |
micahg | sidnei: 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 |
micahg | hrm, no change backport fails... | 23:39 |
Daviey | pdtpatrick: can you turn it on out of band? | 23:39 |
Daviey | pdtpatrick: some nic's are a PITA with wol. | 23:39 |
pdtpatrick | Daviey: i've changed them to virsh | 23:40 |
pdtpatrick | is it expecting me to be running KVM somewhere ? | 23:41 |
sidnei | im more than happy to test. :) | 23:41 |
micahg | sidnei: 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 archive | 23:41 |
Daviey | no, virsh is more for a developers/experimental environment | 23:41 |
Daviey | pdtpatrick: ^ | 23:41 |
micahg | sidnei: is 2.5.0 new enough? | 23:41 |
sidnei | micahg, im actually runnning 2.5.0, so not new enough no :( | 23:42 |
micahg | sidnei: well, give me a minute | 23:42 |
pdtpatrick | Daviey: this is the only option i have | 23:43 |
pdtpatrick | http://cl.ly/2B3P0C2s2z261f3l202d | 23:43 |
roaksoax | Daviey: he's gone lol | 23:49 |
pdtpatrick | looks like there' s bug | 23:49 |
pdtpatrick | https://wiki.ubuntu.com/ServerTeam/MAAS/Troubleshooting | 23:49 |
sidnei | Daviey, roaksoax, can any of you merge rabbitmq-server 2.8.2 from debian? seems like you were the last to touch it. | 23:55 |
pdtpatrick | Daviey: even after following the workaround by editing /etc/maas/import_ephemerals .. now get: http://cl.ly/0e3w3a2F2J2Q0y3K3F1Q | 23:56 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!