[00:06] <RoyK> deluge?
[00:19] <HSaka> RoyK, yeah deluge.
[00:19] <HSaka> for torrent
[00:19] <xvicarious> Hello, I was wondering I could get some help with some problems I'm having getting software set up on Ubuntu Server 12.04
[00:20] <xvicarious> I used tasksel to attempt to install lamp-server but configuration of mysql-server failed.  This is a brand new install fresh of 12.04.  I tried it on my old install and i also ran into the same problem
[00:20] <xvicarious> I've searched far and wide of the internet for solutions to this problem, all people have the same (or similar problem) but solutions that have worked for them don't seem to work for me.
[00:21] <xvicarious> The MySQL admin password doesn't want to set, and the mysql service fails to start
[00:32] <xvicarious> no?
[00:34] <sarnold> xvicarious: ah, sorry, I kept expecting a more specific error or something :)
[00:35] <xvicarious> Oh I wish you said.  Well...
[00:35] <sarnold> just got distracted elsewhere while waiting, hehe :)
[00:36] <xvicarious> Investigating trying to find someting specific now.
[00:36] <xvicarious> Is there a pastebin sort of rule here?  Or can I post this? its like 4 lines.
[00:36] <xvicarious> 6
[00:37] <sarnold> about three feels like a reasonable tradeoff point.. six, please pastebin :)
[00:37] <xvicarious> Okay
[00:38] <xvicarious> This is when I try to finish configuring with apt-get (after using tasksel to install lamp): http://pastebin.com/NCef9gRe
[00:39] <sarnold> xvicarious: check /var/log/syslog or /var/log/mysql.log or /var/log/mysql/error.log for more information..
[00:39] <xvicarious> Very well.
[00:41] <xvicarious> /var/log/syslog : http://pastebin.com/1xbkudy5
[00:42] <sarnold> aha :)
[00:43] <xvicarious> And finally /var/log/mysql/error.log : http://pastebin.com/VaevjRSh
[00:46] <xvicarious> aha?
[00:46] <sarnold> xvicarious: intersting, the second paste seems to show that the innodb storage engine couldn't allocate memory; if the debug logs are correct, it couldn't get 128 megs?
[00:47] <xvicarious> No... I have a chunk with 128mb total memory.
[00:48] <sarnold> xvicarious: you may need to fiddle with your mysql configuration to request less memory
[00:49] <xvicarious> What configuration file would that be, and what would you suggest?  I have um... 4mb left apparently... So I assume it is a no-go?
[00:51] <sarnold> xvicarious: hrm, /etc/mysql/my.conf looks like one starting point, though it appears to include others, so you miht have to poke around in there a little bit to find enough memory tweakable settings to turn down
[00:52] <xvicarious> This seems troublesome
[00:53] <sarnold> yeah. the default config obviously assumes a lot more than 128 megs of memory :)
[00:54] <xvicarious> Its frustrating because my friend used to host me, but the person who ran the vps thing just up and disappeared
[00:56] <sarnold> I've got some mysql tests running in a VM at the moment, it looks like 256 would go a long way towards making it usable
[00:58] <xvicarious> Sadly I don't quite have the money at the moment for upgrading... I guess it isn't bad since this is a free account I have this on. Thanks for the help though.
[01:03] <sarnold> xvicarious: the amazon aws t1.micro provides 600-ish megs of memory: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts_micro_instances.html
[01:04] <sarnold> xvicarious: t1.micro is intended for mostly-idle machines, so it might not be a great fit for you, but it can be free, or very cheap: http://aws.amazon.com/free/faqs/
[01:05] <sarnold> ahh, free for just a year. but still, not bad.. :)
[01:05] <patdk-lap> heh, I often see t1.micro pause for 30seconds at a time
[01:05] <sarnold> patdk-lap: ouch
[01:06] <patdk-lap> ya, nothing like watching vmstat
[01:06] <xvicarious> Meh, I'm at school right now.  But I'm transfering out of here to somehwere closer to home and I have a job back there.
[01:06] <patdk-lap> seeing steal at 100% for 30seconds when it start responding again
[01:06] <sarnold> I really only used my t1.micro as a shell for an hour here and an hour there.. nothing extensive. I've heard the CPU penalties are steep, but ... 30 seconds? ouch.
[01:06] <xvicarious> So when I get back to my job I'll upgrade my chunk.
[01:07] <sarnold> of course I had a few larger instances run for a few hours and the bill came to -- wait for it -- $0.43. I didn't bother expensing it. :) hehe
[01:07] <xvicarious> sarnold your username is quite a reminder of a teacher I had in my senior year of high school lol.
[01:07] <patdk-lap> sarnold, heh, I have run some huge ones, cost me like $10
[01:08] <patdk-lap> can't remember exactly what I was testing on them
[01:08] <sarnold> is he the bugger that took the 'sarnold' launchpad username? :)
[01:08] <sarnold> patdk-lap: .. course a buddy left some huge hadoop machines running for a month, it was in the thousands...
[01:08] <xvicarious> Gosh I don't know. He really didn't seem like the computer type.
[01:09] <patdk-lap> ya, my friend loved to load up static websites on t1.micro
[01:09] <patdk-lap> then he kept wondering why it would never load, and asked me to look into it :)
[01:09] <sarnold> *snort*
[01:10] <patdk-lap> t1.micro being cheaper than s3 webhosting :)
[01:10] <ia0001> why the heck is flash not working
[01:10] <ia0001> im going to go insane
[01:10] <patdk-lap> why would flash ever work?
[01:10] <ia0001> because its the same freking thing
[01:10] <patdk-lap> they stopped making flash a long time ago
[01:10] <ia0001> ubuntu-dekstop
[01:10] <ia0001> yeah it stoppe being supported or something?
[01:11] <ia0001> So your saying there no flash for server 12.04 LTS
[01:11] <patdk-lap> I dunno it was ever supported
[01:11] <ia0001> ubuntu-server
[01:11] <xvicarious> If it weren't for um... A certain media... I wouldn't have flash installed. lol
[01:11] <patdk-lap> but adobe stopped making flash for everything, except windows, over a year ago
[01:12] <ia0001> I had ubuntu-server installed on my old computer I thought it was the same thing and I thought it worked
[01:12] <patdk-lap> ia0001, a lot of the times I have flash and nvidia issues
[01:12] <sarnold> ia0001: what bug number?
[01:12]  * patdk-lap can't think of anything that uses flash
[01:12] <sarnold> patdk-lap: at least they still provide security fixes... thank goodness
[01:13] <sarnold> patdk-lap: youtubs
[01:13] <ia0001> I mean theres no bug
[01:13] <ia0001> I mean it just doenst work
[01:13] <sarnold> ia0001: ah. you should file one :)
[01:13] <ia0001> I have tried manually installing flash
[01:13] <patdk-lap> sarnold, I always use mp4 on youtube, no flash needed
[01:13] <xvicarious> patdk-lap certain media websites... That have media.
[01:13] <sarnold> patdk-lap: oooh? :)
[01:13] <xvicarious> "media"
[01:13] <ia0001> how do you convert youtube to mp4?
[01:13] <patdk-lap> xvicarious, screw them :)
[01:13] <patdk-lap> but then, I won't do media
[01:13] <patdk-lap> ia0001, you select mp4
[01:14] <xvicarious> Hehe screw.
[03:38] <ScottK> jamespage: FYI: http://rb.doesntexist.org/blog//posts/lack_of_cooperation_from_ubuntu/
[03:38] <ScottK> rbasak: ^^^ you too.
[03:46] <Humatiel> do you need to be registered to remain in this channel?
[03:53] <ScottK> no
[04:58] <jetole> Hey guys. I was just reading about a site and the architecture they designed. They mentioned they do 15GB of logs per hour. How does someone set up logging servers to handle that?
[04:59] <jetole> I mean how do you actually aechitect logging servers for that capacity?
[05:10] <jamespage> ScottK, on my list - that will be fed back to debian - in direct contact with maintainer
[05:11] <ScottK> jamespage: OK.  You might comment on the blog post then.  I wanted to make sure you were aware.  That was on Planet Debian.
[05:13] <qman__> jetole, by deciding how far back you need logs and installing a log server with the appropriate terabytes of disk space
[05:14] <qman__> those numbers are probably also uncrompressed, log data is generally very compressible
[05:28] <jetole> qman__: so what if I need log server HA. They mention using syslog-ng but just in general, what would you recommend for logging HA? Should I stick it behind a load balancer with a gfs2 / drbd or is there a better means
[05:28] <jetole> I don't like drbd for a lot of things because I hate the limit on the number of nodes it can handle
[05:29] <jamespage> ScottK, actually that post really annoys me - I've been discussing stuff with the MongoDB maintainer in Debian esp around the linking with openssl licensing issues which I think I now have a resolution on with upstream which both distros can benefit from
[05:29] <ScottK> I thought it might.
[07:07] <jamespage> jetole, syslog-ng has a mongodb module that you might find useful as a backend for log storage
[07:48] <jetole> jamespage: thanks
[07:48] <jamespage> jetole, might do what you want - clients can send logs direct to mongodb which can be  spanned across multiple servers.
[07:49] <jetole> jamespage: ah that's cool. I hadn't looked yet but I was assuming you meant between multiple logging servers
[07:50] <jetole> something else. I run cacti on a network but I am looking for a system where I can create graphs from multiple sources. Specifically we multiple haproxy load balancers and I want to collect the log data into one graph for request counting and graphing i.e. parsing the logs on lb1 and lb2 to create a single graph showing web traffic throughput
[07:51] <jetole> does anything come to mind on how I should / could do this?
[07:53] <jamespage> jetole, you could probably do something like that with ganglia
[07:54] <jamespage> hmm - well it would show you the network traffic at least
[07:55] <jetole> yeah
[07:56] <jetole> I started to read about a few different graphing solutions the other night but didn't get too in depth
[07:56] <jetole> maybe I'll write something since haproxy can and in my case logs to syslog which can be centralized
[08:31] <jetole> Is there any common way to run a syslog server that a client can connect to so that it can view output? I'm trying to think of a multi node connect model and contemplating via ssh but seems like a bit too much
[09:23] <gustav> Hi. Trying to install postgresql on 12.04. It's not starting up and it doesn't have /etc/postgresql. I installed postgresql and postgresql-contrib.
[09:23] <gustav> What am I doing wrong?
[09:33] <gustav> How do I start postgresql?
[09:34] <gustav> Ok, nevermind.
[12:27] <mindcode> hi, i wrote an smtp server in c, the server just has to revice any email sent on my domain, but there is a problem: it works fine some provider like arcor, and google. they connect to my smtp server (port 25), sending "HELO" and all the rest.. i got that email... but other servers like gmx just conencts to my server and then nothing happens... no "EHLO" or "HELO"... just nothing ... after sevral minutes i got the QUIT command from
[12:27] <mindcode> the provider or i got spammed with \n charakters.. what is the problem?
[17:46] <xnox> jamespage: rbasak: just posted this on debian planet http://blog.surgut.co.uk/2013/04/ftbfs-fixes-and-other-patches-available.html pointing out that _all_ debian package maintainers should check and apply ubuntu patches from debian PTS.
[19:37] <Googol30> While attempting to view the contents of /etc/acpid/event using "sudo vim /etc/acpid/event", it says nothing but "Permission Denied".  Google only suggests workarounds for pipes, so I came here.
[19:38] <Googol30> I've changed the file permissions, owner, and group in an attempt to view the file, but it still says "Permission Denied"
[19:39] <Googol30> Additionally, in my Googling, I've come across suggestions to use "sudoedit" and "sudo -e", but both commands return "resource busy" errors.
[19:47] <Googol30> Any questions, comments, ideas, suggestions?
[19:56] <Googol30> Is anyone even at their computer?
[20:03] <Googol30> Hello? Is anyone here?
[20:05] <Googol30> Can I even get a response from ubottu?
[20:06] <Googol30> If noone is going to help me here, can someone redirect me to somewhere I _can_ get help?
[20:45] <guntbert> Googol30: I don't have that directory on my machines. please show us the output of sudo ls -l /etc/acpid/event
[20:48] <jdrab> Googol30: btw what ubuntu release are you running?
[20:56] <Googol30> jdrab: I'm running Ubuntu Server 12.04.2.
[20:57] <Googol30> guntbert: And I meant "/proc/acpi/event"
[21:00] <yeats> Googol30: what's your end goal?  why are you trying to view that file?
[21:01] <yeats> Googol30: this thread may help: https://bbs.archlinux.org/viewtopic.php?id=13900
[21:10] <guntbert> Googol30: files under /proc are no normal files. You can (sometimes) read them via   cat   or   less, but you certainly cannot edit the via vim. They are just a way to communicate with the kernel
[21:49] <patdk-lap> guntbert, sometimes you can edit them with vim
[22:38] <Arrick> How does one access the logs of this channel? I am looking for an answer that was given to me yesterday, so I dont have to repeat my questions...
[22:41] <shauno> Arrick: http://irclogs.ubuntu.com/2013/04/19/%23ubuntu-server.html
[22:41] <Arrick> I am trying to setup a webserver which has a functional outbound email... I have performed "sudo apt-get install mailutils" and also "sudo apt-get install postfix" and have those installed, but I cant for the life of me figure out why the server cant send out an email using "echo "test" | mail email@address.com(started my server build from scratch this afternoon, due to other people messing it up)
[22:43] <ScottK> Arrick: The Ubuntu server guide has good instructions on setting up a mail server.  I'd recommend following that.  There's a link in the channel topic.
[22:50] <Arrick> Yeah, I'm following the guide, however the system is not mailing out like it did yesterday (or at all, and I think its because of the firewall)
[22:54] <Quest> is this a full poe 48 port switch or half poe (24 port). how do i know http://www.amazon.com/Cisco-SG200-50P-Ethernet-Mini-GBIC-Warranty/dp/B004GHMU6A/ref=sr_1_1?ie=UTF8&qid=1366497510&sr=8-1&keywords=cisco+sg200+48+poe   ?
[22:54] <Arrick> Ok, I need the following all installed on a server; Apache 2, PHP 5.3.2 minimum, PHP modules: iconv, ctype, zip, simplexml, spl, pcre, dom, xml, json, mbstring, openssl, tokenizer, xmlrpc, soap, gd, intl, and Mysql 5.025 or higher.... What would be the easiest way to install all of these at once? (I am not normally a *nix guy, so I need some refreshing)
[22:57] <Arrick> quest, here is the tigerdirect same thing, http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=7152554 and it says it is 24
[23:00] <Quest> while purchase. what keywords to look while reading the box pack?
[23:01] <Quest> $800 ts so costly? normal switchs cost about how much for 50 ports non-poe?
[23:03] <Arrick> Quest, If you are looking at Cisco gear, your best answers will probably come from ##cisco, and you might be able to get some used gear and save some money.
[23:03] <Quest> Arrick,  how much cost would be of  a dell swtich of similer specs?
[23:03] <genii-around> Cisco has a refurb program as well
[23:04] <Quest> genii-around,  ^?
[23:05] <Arrick> I dont know Quest I tend to stick with the 2960S POE switches across the board.
[23:05] <genii-around> Quest: http://www.cisco.com/web/ordering/ciscocapital/refurbished/index.html
[23:05] <Arrick> (cisco)
[23:05] <genii-around> Much cheaper than new
[23:05] <Quest> k
[23:06] <Quest> can you give a rough idea on how much will a dell or other switch would be how much cheaper?
[23:07] <Arrick> about half...  but... you definately get what you pay for.
[23:07] <genii-around> Whatever Cisco device you buy, if buy similar from somewhere else, it's typically half to two-thirds the price
[23:08] <Quest> hm
[23:08] <Arrick> hey, is php 5.3.10 higher than 5.3.2 ?
[23:08] <Quest> if a cisco peo switch of 48 port is 800 dollars than a normal cisco non-poe switch should by roughly 100 dollars?
[23:08] <Arrick> Im guessing yes, but I dont want to speak out of turns.
[23:09] <Quest> Arrick,  yes
[23:09] <Arrick> nope.... 400_
[23:09] <Quest> oh
[23:09] <genii-around> Quest: No, not 100... more like 400-600
[23:09] <Quest> genii-around,  hm
[23:09] <Arrick> actually poe - non-poe doesnt change the price but by about 100 lower for non-poe
[23:10] <Quest> genii-around,  what would a 12 port poe cisco swithc cost then?
[23:10] <Arrick> 4-500
[23:10] <genii-around> Quest:^
[23:10] <Arrick> depending on the model and sla you need
[23:10] <Quest> genii-around,  if 12 port poe is cheaper. I would buy 4 such switchs and combine them
[23:11] <Quest> Arrick,  you meant 400 - 500 . right?
[23:11] <Arrick> why? you have 4 points of failure at that point.
[23:11] <Arrick> correct.
[23:11] <Quest> no
[23:11] <Quest> we want 40 peoS
[23:11] <Quest> for 40 cisco phones for voip
[23:11] <Arrick> then just get a 48 port 2960s and be done with it
[23:12] <Arrick> then you have 8 ports for scalability
[23:12] <Quest> 8 port scalability?
[23:12] <genii-around> You can find second-hand Catalyst on ebay/amazon for dirt cheap
[23:12] <Arrick> http://www.voiplink.com/ProductDetails.asp?ProductCode=Cisco-WS-C2960-48TT-L
[23:12] <Arrick> something like that
[23:12] <Quest> hm
[23:13] <Arrick> look for a used one
[23:13] <Arrick> dont forget to buy the module you need for the uplink though.
[23:13] <Quest> hm
[23:14] <Arrick> I only buy new cisco, and FROM cisco or CDW-G (Government) so that my SLA is in order from the beginning.
[23:14] <Quest>  $1,449.95 hm.
[23:14] <genii-around> You can also buy poe injectors separate, etc
[23:14] <Arrick> thats not bad, other ones cost upwards of 4500
[23:14] <Quest> second hand would be of  half the price
[23:14] <Arrick> and injectors are about 75-90 each (I just had to buy 2 for a site)
[23:14] <Quest> Arrick,  genii-around  i hope that model is full poe. and not half poe
[23:15] <Arrick> the on I just posted in full poe
[23:15] <Arrick> is/in
[23:15] <Quest> great
[23:16] <genii-around> Oops! I forgot faceoff is just happened....!
[23:16]  * genii-around runs away to watch hockey
[23:16] <Arrick> of course, you also have to think of your phones.. .some of the newer ones out ther do gigabit as well, so you want the more expensive ones.
[23:17] <Quest> recently our netadmin ran. we discovered that the phones connected on a del poe switch works on the cisco switch too but the phones (cisco) connected to a cisco switch do not even power ONNs if attached to the dell switch. i dont have specs atm though.
[23:17] <shauno> at the other end, some are only 7W so can get away with cisco's funky 'half' poe (where they can do, eg, 48x7W or 24x14W, but not the whole 14W on all 48)
[23:18] <Quest> Arrick,  i wonder why could that be. i mean where to start investigation
[23:19] <Arrick> check to see if POE is turned on on the cisco switch (Its either all or nothing)... Also, are there other dell switches in the network somewhere?
[23:20] <Quest> some phones run ok on that cisco switch. so poe is onn
[23:20] <Arrick> some of the older switches (iirc) had a add-on power supply for poe as well.
[23:20] <Arrick> you could have burned ports.
[23:21] <Quest> Arrick,  only one 48 half poe dell switch , one non-poe cisco, one half poe cisco
[23:21] <Quest> Arrick,  some phones are already working on those ports.
[23:21] <Arrick> I have found that a dell/cisco mix or a hp/cisco mix doesnt play well.
[23:21] <Quest> Arrick,  i think theres some problem with compatibilty
[23:21] <Quest> hm
[23:22] <Quest> some one added.
 Quest: there are two poe standards
 Quest: cisco inline power (pre-standard) , and 802.1af
[23:23] <shauno> right.  newer switches will do both, older might only do pre-standard.  and just to mess it up, there's phones that'll do both, or only one.  so if you get a phone that only does standard, and a switch that only does pre-standard, it's messy
[23:24] <Arrick> yep
[23:24] <Arrick> it sucks to high heaven.
[23:24] <Quest> hm
[23:25] <Quest> Arrick,  shauno  so he must have altered/configured the phones or the swithcs     or both?
[23:25] <Arrick> my department has all 7940s, 7960's and 7912s, but the rest of the network has all the new gigabit video phones with the thin client addon..
[23:25] <Arrick> shauno, there is nothing like walking into a closet full of non-poe switches and seeing an umbrella of poe bricks hanging from hooks on the ceiling of the switch room.
[23:26] <shauno> that bit I couldn't tell you.  I come from the other side, where we have other poe equipment on the switches.  which is where you hit cisco's 'half-poe' stuff because they use cisco's protocol to negotiate
[23:26] <Arrick> yep
[23:26] <Quest>  wait. i can use none-poe swithc and use power adapters for phones?
[23:26] <Arrick> yes
[23:26] <shauno> so you can stick 48 7W phones on a half-poe switch, but not 48 of our own devices
[23:26] <Quest>  that will be cheaper for us as poe and non-poe swtichs are half in price
[23:26] <Arrick> to the tune of 75-90 per phone
[23:27] <shauno> 40*75 is 3000, that can eat the difference quickly
[23:27] <Arrick> yep
[23:28] <Arrick> even if you have 15 phones you need to inject, its more than a single 48 port poe switch thats full poe
[23:29] <Arrick> however... I need to get back on task,....
[23:29] <Arrick> Ok, I have installed Mysql, Apache2, and PHP5... I need to add some modules into php, how do I do that?
[23:29] <Quest> Arrick,  shauno  thanks!
[23:29] <Quest> reat help
[23:29] <Arrick> specifically, these modules, iconv ctype zip simplexml spl pcre dom, xml, json, mbstring, openssl, tokenizer, xmlrpc, soap, gd, intl
[23:38] <Quest> are power injectors cheaper than if i buy a 48 poe switch?
[23:39] <Quest>  and whats a "magic jack?