[00:06] deluge? [00:19] RoyK, yeah deluge. [00:19] for torrent [00:19] 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] 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] 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] The MySQL admin password doesn't want to set, and the mysql service fails to start [00:32] no? [00:34] xvicarious: ah, sorry, I kept expecting a more specific error or something :) [00:35] Oh I wish you said. Well... [00:35] just got distracted elsewhere while waiting, hehe :) [00:36] Investigating trying to find someting specific now. [00:36] Is there a pastebin sort of rule here? Or can I post this? its like 4 lines. [00:36] 6 [00:37] about three feels like a reasonable tradeoff point.. six, please pastebin :) [00:37] Okay [00:38] This is when I try to finish configuring with apt-get (after using tasksel to install lamp): http://pastebin.com/NCef9gRe [00:39] xvicarious: check /var/log/syslog or /var/log/mysql.log or /var/log/mysql/error.log for more information.. [00:39] Very well. [00:41] /var/log/syslog : http://pastebin.com/1xbkudy5 [00:42] aha :) [00:43] And finally /var/log/mysql/error.log : http://pastebin.com/VaevjRSh [00:46] aha? [00:46] 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] No... I have a chunk with 128mb total memory. [00:48] xvicarious: you may need to fiddle with your mysql configuration to request less memory [00:49] 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] 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] This seems troublesome [00:53] yeah. the default config obviously assumes a lot more than 128 megs of memory :) [00:54] Its frustrating because my friend used to host me, but the person who ran the vps thing just up and disappeared [00:56] 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] 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] 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] 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] ahh, free for just a year. but still, not bad.. :) [01:05] heh, I often see t1.micro pause for 30seconds at a time [01:05] patdk-lap: ouch [01:06] ya, nothing like watching vmstat [01:06] 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] seeing steal at 100% for 30seconds when it start responding again [01:06] 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] So when I get back to my job I'll upgrade my chunk. [01:07] 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] sarnold your username is quite a reminder of a teacher I had in my senior year of high school lol. [01:07] sarnold, heh, I have run some huge ones, cost me like $10 [01:08] can't remember exactly what I was testing on them [01:08] is he the bugger that took the 'sarnold' launchpad username? :) [01:08] patdk-lap: .. course a buddy left some huge hadoop machines running for a month, it was in the thousands... [01:08] Gosh I don't know. He really didn't seem like the computer type. [01:09] ya, my friend loved to load up static websites on t1.micro [01:09] then he kept wondering why it would never load, and asked me to look into it :) [01:09] *snort* [01:10] t1.micro being cheaper than s3 webhosting :) [01:10] why the heck is flash not working [01:10] im going to go insane [01:10] why would flash ever work? [01:10] because its the same freking thing [01:10] they stopped making flash a long time ago [01:10] ubuntu-dekstop [01:10] yeah it stoppe being supported or something? [01:11] So your saying there no flash for server 12.04 LTS [01:11] I dunno it was ever supported [01:11] ubuntu-server [01:11] If it weren't for um... A certain media... I wouldn't have flash installed. lol [01:11] but adobe stopped making flash for everything, except windows, over a year ago [01:12] I had ubuntu-server installed on my old computer I thought it was the same thing and I thought it worked [01:12] ia0001, a lot of the times I have flash and nvidia issues [01:12] ia0001: what bug number? [01:12] * patdk-lap can't think of anything that uses flash [01:12] patdk-lap: at least they still provide security fixes... thank goodness [01:13] patdk-lap: youtubs [01:13] I mean theres no bug [01:13] I mean it just doenst work [01:13] ia0001: ah. you should file one :) [01:13] I have tried manually installing flash [01:13] sarnold, I always use mp4 on youtube, no flash needed [01:13] patdk-lap certain media websites... That have media. [01:13] patdk-lap: oooh? :) [01:13] "media" [01:13] how do you convert youtube to mp4? [01:13] xvicarious, screw them :) [01:13] but then, I won't do media [01:13] ia0001, you select mp4 [01:14] Hehe screw. [03:38] jamespage: FYI: http://rb.doesntexist.org/blog//posts/lack_of_cooperation_from_ubuntu/ [03:38] rbasak: ^^^ you too. [03:46] do you need to be registered to remain in this channel? [03:53] no [04:58] 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] I mean how do you actually aechitect logging servers for that capacity? [05:10] ScottK, on my list - that will be fed back to debian - in direct contact with maintainer [05:11] 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] jetole, by deciding how far back you need logs and installing a log server with the appropriate terabytes of disk space [05:14] those numbers are probably also uncrompressed, log data is generally very compressible === neunon_ is now known as neunon === Tzunamii_ is now known as Tzunamii [05:28] 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] 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] 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] I thought it might. [07:07] jetole, syslog-ng has a mongodb module that you might find useful as a backend for log storage === tsimpson_ is now known as tsimpson [07:48] jamespage: thanks [07:48] jetole, might do what you want - clients can send logs direct to mongodb which can be spanned across multiple servers. [07:49] jamespage: ah that's cool. I hadn't looked yet but I was assuming you meant between multiple logging servers [07:50] 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] does anything come to mind on how I should / could do this? [07:53] jetole, you could probably do something like that with ganglia [07:54] hmm - well it would show you the network traffic at least === acidflash__ is now known as acidflash [07:55] yeah [07:56] I started to read about a few different graphing solutions the other night but didn't get too in depth [07:56] maybe I'll write something since haproxy can and in my case logs to syslog which can be centralized [08:31] 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] 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] What am I doing wrong? [09:33] How do I start postgresql? [09:34] Ok, nevermind. [12:27] 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] the provider or i got spammed with \n charakters.. what is the problem? === Camel` is now known as Guest71897 === Guest71897 is now known as Camel` === Laogeodritt| is now known as Laogeodritt === me is now known as Guest50086 [17:46] 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. === security is now known as megha [19:37] 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] I've changed the file permissions, owner, and group in an attempt to view the file, but it still says "Permission Denied" [19:39] Additionally, in my Googling, I've come across suggestions to use "sudoedit" and "sudo -e", but both commands return "resource busy" errors. [19:47] Any questions, comments, ideas, suggestions? [19:56] Is anyone even at their computer? [20:03] Hello? Is anyone here? [20:05] Can I even get a response from ubottu? [20:06] If noone is going to help me here, can someone redirect me to somewhere I _can_ get help? [20:45] Googol30: I don't have that directory on my machines. please show us the output of sudo ls -l /etc/acpid/event [20:48] Googol30: btw what ubuntu release are you running? === huats_ is now known as huats [20:56] jdrab: I'm running Ubuntu Server 12.04.2. [20:57] guntbert: And I meant "/proc/acpi/event" [21:00] Googol30: what's your end goal? why are you trying to view that file? [21:01] Googol30: this thread may help: https://bbs.archlinux.org/viewtopic.php?id=13900 [21:10] 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] guntbert, sometimes you can edit them with vim [22:38] 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] Arrick: http://irclogs.ubuntu.com/2013/04/19/%23ubuntu-server.html [22:41] 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] 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] 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] 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] 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] 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] while purchase. what keywords to look while reading the box pack? [23:01] $800 ts so costly? normal switchs cost about how much for 50 ports non-poe? [23:03] 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] Arrick, how much cost would be of a dell swtich of similer specs? [23:03] Cisco has a refurb program as well [23:04] genii-around, ^? [23:05] I dont know Quest I tend to stick with the 2960S POE switches across the board. [23:05] Quest: http://www.cisco.com/web/ordering/ciscocapital/refurbished/index.html [23:05] (cisco) [23:05] Much cheaper than new [23:05] k [23:06] can you give a rough idea on how much will a dell or other switch would be how much cheaper? [23:07] about half... but... you definately get what you pay for. [23:07] Whatever Cisco device you buy, if buy similar from somewhere else, it's typically half to two-thirds the price [23:08] hm [23:08] hey, is php 5.3.10 higher than 5.3.2 ? [23:08] 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] Im guessing yes, but I dont want to speak out of turns. [23:09] Arrick, yes [23:09] nope.... 400_ [23:09] oh [23:09] Quest: No, not 100... more like 400-600 [23:09] genii-around, hm [23:09] actually poe - non-poe doesnt change the price but by about 100 lower for non-poe [23:10] genii-around, what would a 12 port poe cisco swithc cost then? [23:10] 4-500 [23:10] Quest:^ [23:10] depending on the model and sla you need [23:10] genii-around, if 12 port poe is cheaper. I would buy 4 such switchs and combine them [23:11] Arrick, you meant 400 - 500 . right? [23:11] why? you have 4 points of failure at that point. [23:11] correct. [23:11] no [23:11] we want 40 peoS [23:11] for 40 cisco phones for voip [23:11] then just get a 48 port 2960s and be done with it [23:12] then you have 8 ports for scalability [23:12] 8 port scalability? [23:12] You can find second-hand Catalyst on ebay/amazon for dirt cheap [23:12] http://www.voiplink.com/ProductDetails.asp?ProductCode=Cisco-WS-C2960-48TT-L [23:12] something like that [23:12] hm [23:13] look for a used one [23:13] dont forget to buy the module you need for the uplink though. [23:13] hm [23:14] I only buy new cisco, and FROM cisco or CDW-G (Government) so that my SLA is in order from the beginning. [23:14] $1,449.95 hm. [23:14] You can also buy poe injectors separate, etc [23:14] thats not bad, other ones cost upwards of 4500 [23:14] second hand would be of half the price [23:14] and injectors are about 75-90 each (I just had to buy 2 for a site) [23:14] Arrick, genii-around i hope that model is full poe. and not half poe [23:15] the on I just posted in full poe [23:15] is/in [23:15] great [23:16] Oops! I forgot faceoff is just happened....! [23:16] * genii-around runs away to watch hockey [23:16] 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] 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] 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] Arrick, i wonder why could that be. i mean where to start investigation [23:19] 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] some phones run ok on that cisco switch. so poe is onn [23:20] some of the older switches (iirc) had a add-on power supply for poe as well. [23:20] you could have burned ports. [23:21] Arrick, only one 48 half poe dell switch , one non-poe cisco, one half poe cisco [23:21] Arrick, some phones are already working on those ports. [23:21] I have found that a dell/cisco mix or a hp/cisco mix doesnt play well. [23:21] Arrick, i think theres some problem with compatibilty [23:21] hm [23:22] some one added. [23:22] Quest: there are two poe standards [23:22] Quest: cisco inline power (pre-standard) , and 802.1af [23:23] 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] yep [23:24] it sucks to high heaven. [23:24] hm [23:25] Arrick, shauno so he must have altered/configured the phones or the swithcs or both? [23:25] 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] 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] 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] yep [23:26] wait. i can use none-poe swithc and use power adapters for phones? [23:26] yes [23:26] so you can stick 48 7W phones on a half-poe switch, but not 48 of our own devices [23:26] that will be cheaper for us as poe and non-poe swtichs are half in price [23:26] to the tune of 75-90 per phone [23:27] 40*75 is 3000, that can eat the difference quickly [23:27] yep [23:28] even if you have 15 phones you need to inject, its more than a single 48 port poe switch thats full poe [23:29] however... I need to get back on task,.... [23:29] Ok, I have installed Mysql, Apache2, and PHP5... I need to add some modules into php, how do I do that? [23:29] Arrick, shauno thanks! [23:29] reat help [23:29] specifically, these modules, iconv ctype zip simplexml spl pcre dom, xml, json, mbstring, openssl, tokenizer, xmlrpc, soap, gd, intl [23:38] are power injectors cheaper than if i buy a 48 poe switch? [23:39] and whats a "magic jack?