[02:14] <billy_ran_away> anyone familiar with gpt partitions?
[02:14] <billy_ran_away> i put a RAID array in a computer and it tried to boot off one of the disks, ever since the GPT partition has been fucked
[02:51] <nayKang> I have a shell script start a python program,how do i redirect the python out to the parent shell?
[03:17] <JanC> nayKang: not sure I understand correctly, but that sounds like the default?  (also: there are probably better channels to ask shell programming questions)
[03:19] <nayKang> JanC: which channel?
[06:39] <brianw> Anyone familiar w/ Ubuntu 14.04 upstart interfaces file? I need help with assigning a tagged vlan to a bridge interface... The interface file I am using ( http://paste.debian.net/272634/ ) seems to actually bring up the vlans and the bridges, but fails to assign an ip. The funny thing is, I also can assign an ip, set gateway and it works just fine. So why is it puking? How could I determine?
[06:50] <jamespage> mfisch, I will be doing a point release update to 2.3.2 for ovs - have it prepared - hopefully it will be in the queue tomorrow
[07:00] <skylite> I configured a dual channel network card to master-slave bonding but I cant rename the bond0 interface via udev rule. Is it something different than real network cards?
[07:03] <pupil> hello, good afternoon
[07:03] <pupil> i want to remotely upgrade my production server, do you guys have any suggestion for me?
[07:03] <pupil> i'm a junior sysadmin btw
[07:13] <pupil> hem, no answer
[07:40] <JernejL_Work> hi guys
[07:40] <JernejL_Work> how come mysql 5.7 is still not in any ubuntu server channels? it has been released over a year ago.
[07:49] <shauno> as I understand it, 5.7 hasn't been released.  it's just a less-than-obvious naming convention
[07:51] <shauno> eg, the current 5.7 branch is https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-7.html
[07:52] <shauno> which calls itself a release candidate, and notes right at the top that it's "use at your own risk".  so we're still on the stable-end of the 5.6 branch, which doesn't include such red flags
[08:52] <arcsky> hello im trying to install ubuntu server from USB. it does work to boot up but after keyboard settings it search for "detec and mount CD-ROM" .. why that when if ddo this from USB ?
[09:03] <lordievader> Good morning.
[10:20] <skylite> is it possible to rename bond0 interface with udev rule? (bond0 is created from 2 other NIC with bonding)
[12:55] <SpamapS> jamespage: ping regarding python-ironicclient in wily/UCA
[12:55] <SpamapS> jamespage: Need 0.7, mind if I just do that?
[13:02] <teward> rbasak: was there anything from the release team, or should I poke -release ?
[13:28] <b4tm4n> i have a bash script that i'm using to configure iptables rules so i can run ubuntu as a router - where is the best place to put this so it runs on startup before networking starts?
[13:28] <b4tm4n> i know about iptables-save and restore, but since i'm doing more than just iptables rules in this script, i didn't feel like that applied
[13:41] <b4tm4n> anyone around?
[14:15] <billy_ran_away> Anyone really familiar with GPT partitions? Like what happens when your BIOS tries to boot from one?
[14:17] <lordievader> billy_ran_away: It boots? Sure you need a bios partition for grub, but a bios can boot from a gpt disk just fine.
[14:18] <lordievader> billy_ran_away: https://wiki.gentoo.org/wiki/GRUB2#Partitioning_for_BIOS_with_GPT
[14:36] <billy_ran_away> lordievader: It was 4 drives used in a RAID array, the bios has screwed up two of the drives
[14:36] <lordievader> What kind of RAID?
[14:36] <billy_ran_away> RAID 5
[14:37] <lordievader> Hmm, I got two gpt drives in RAID1, boots just fine.
[14:37] <billy_ran_away> lordievader: i think i've botched one drive already too...
[14:37] <billy_ran_away> lordievader: my system boots up fine, i just need to fix my drives
[14:38] <billy_ran_away> lordievader: http://pastebin.com/TSx0rYWR
[14:38] <billy_ran_away> lordievader: i've tried using gdisk and sgdisk but haven't had any success in fixing the partitions
[14:39] <lordievader> What does parted say about it?
[14:40] <billy_ran_away> lordievader: just some dumb bs like this: http://pastebin.com/A66PvCzv
[14:40] <lordievader> sdd in particular.
[14:40] <lordievader> Is sdd and sde in the same raid?
[14:40] <billy_ran_away> Yea
[14:41] <lordievader> Hmm, and the partition should be 2.7T too, I suppose?
[14:41] <billy_ran_away> same kind of drive too... thought about using sgdisk to backup sde and restore on sdd
[14:41] <billy_ran_away> lordievader: yea
[14:42] <lordievader> Do you use mdadm or something for your raid? Can't you let that rebuild it?
[14:42] <billy_ran_away> mdadm: sure if the bios hadn't gotten to two disks of my 4 disk raid array
[14:43] <billy_ran_away> err i mean lordievader
[14:43] <billy_ran_away> lol
[14:44] <lordievader> The bios shouldn't write anything to the disks, just read.
[15:17] <teward> is there any kind of guide for setting up a mailserver to accept mail for a domain but to just forward that mail to another domain?
[15:17] <teward> s/domain/address/
[15:18] <teward> i.e. teward@foo.bar will be valid, a mailserver accepts, then forwards to teward@baz.foo and that's all
[15:18] <teward> kinda how the @ubuntu.com addresses work for members...
[15:28] <Daviey> teward: Just add the domain in main.cf under virtual_alias_domains, then in virtual add "teward@foo.bar teward@baz.foo"
[15:35] <teward> ffff i just remembered i have to set up all my MX records again >.<
[15:35] <teward> stupid zonefile corruption...
[16:09] <tyhicks> zul: hello - I'm trying to get on top of the MIR audits assigned to the security team and bug #1213934 is showing up in the queue
[16:10] <tyhicks> zul: there are some standing questions around whether python-oauthlib (which is already in main) is now sufficient for keystone
[16:10] <tyhicks> zul: do you have any updates on that?
[16:15] <teward> with postfix how can I make it accept messages for multiple domains and then work as a mail forwarder onl
[16:15] <teward> only*
[16:15] <teward> Daviey: consider i'm less than fluent in postfix, so you may have to give me some guidance as to what all needs changed/done
[16:15] <teward> i have 3 domains that need to send to the same server and use those as mail forwarder pints
[16:15] <teward> points*
[16:15] <ivoks> teward: google postfix and virtual users
[16:16] <teward> ivoks: what about the multiple domains?
[16:16] <ivoks> that's just adding domainname under mydestination
[16:16] <ivoks> (if it's not virtual)
[16:16] <Daviey> teward: Sorry for being curt, tied up... I tried to point you in the right direction with what i said above
[16:17] <teward> Daviey: no problem, i'm less than fluent with mailserver stuff so ehhh
[16:17]  * teward shrugs
[16:17] <teward> i'll start lookin thanks
[16:17] <Daviey> /etc/postfix/virtual is a file to add "teward@foo.bar teward@baz.foo" to
[16:17] <ivoks> https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto
[16:17] <Daviey> and adding the domain into main.cf under setting virtual_alias_domains, then in virtual add "teward@foo.bar teward@baz.foo"
[16:18] <Daviey> ivoks is your man
[16:18] <Daviey> in main.cf, virtual_alias_domains = foo.bar
[16:33] <smb> hallyn, chat time?
[16:42] <teward> ivoks: that's fine and dandy for virtual mailboxes, but I don't want virtual mailboxes, I want this as a mail forwarder, I.E. accept: test@foo.bar, forwardto:teward@ubuntu.com.
[16:42] <teward> and i'm confused by that document you've provided and whether that's how to achieve that
[16:42] <teward> (the forwarding will have to process on multipel domains as well :/)
[16:43] <ivoks> teward: if you are looking for a document that will give you copy/paste instructions, then you will spend days/months looking
[16:44] <teward> ... that comment isn't helpful, NOR am I looking for copy/paste instructions
[16:44] <ivoks> teward: you need to combine multiple things and learn from every doc
[16:44] <ivoks> you need to accept emails for all domains
[16:44] <teward> unless i'm misunderstanding virtual mailboxes and mail forwarders
[16:44] <ivoks> and forward everything to another mail server
[16:44] <ivoks> or you are looking to forward different domains to different mail servers
[16:45] <ivoks> looking at your example, you are actually looking for aliases
[16:45] <ivoks> and not domain forwarders
[16:45] <teward> ivoks: then i'm looking for aliases.
[16:46] <ivoks> then, what's the problem?
[16:46] <ivoks> set up /etc/aliases
[16:46] <teward> well from what i've got from that, i've set it up, i get "User unknown in virtual alias table" from the server
[16:46] <ivoks> and when you install postfix, it actually asks you multiple questions, just answer those
[16:47] <ivoks> it has 4 options, iirc
[16:47] <ivoks> yours is internet site with smarthost or something like that
[16:49] <ivoks> or without smarthost
[16:49] <ivoks> only you know that
[16:49] <ivoks> smarthost = relyhost = machine that you will send all your mail to
[16:50] <ivoks> Daviey: where did they 1990s go? where 'rtfm' was the answer for everything :)
[16:51] <teward> ivoks: it was consumed by the internets
[16:51] <ivoks> too bad; 90s produced best linux sysadmins
[16:52] <ivoks> hell, i even learned english by reading man pages :)
[16:52] <teward> i think mailservers are just a tad more confusing to learn/configure than nginx :P
[16:52] <teward> which cna be pretty tricky to set up for complex things :/
[16:53] <ivoks> postfix is a bit too complex for this, if you don't have mta knowledge
[16:53] <ivoks> it's an overkill
[16:54] <ivoks> but, it can be used
[16:55]  * teward shrugs
[16:55] <teward> it came installed on the vm image i guess
[16:56] <ivoks> dpkg-reconfigure postfix
[16:56] <teward> i was kinda told "Do this for us, with postfix"
[16:56]  * teward shrugs
[16:56] <teward> i have a headache, but it's working now...
[16:56] <teward> ivoks: the next very tricky question: if we have foo@domain1, and foo@domain2, can we hvae those go to different locations
[16:57] <ivoks> then you need virtualdomains
[16:59] <teward> blargh.  meh, i'll leave it as is, the same-server-different-alias-different-destination is a longer term thing, for now, this'll work fine
[16:59] <teward> thanks
[17:03] <jrwren> at least you arent' running sendmail and running m4
[17:03]  * teward shivers
[17:04] <jrwren> or worse, skipping the m4 and editing sendmail.cf yourself.
[17:04]  * patdk-wk hates the m4
[17:05] <patdk-wk> but then I learned sendmail.cf before that existed
[17:05] <patdk-wk> sendmail.cf is not a config file, it is a scripting language
[17:10] <teward> lets not talk about sendmail
[17:11] <teward> because i want to personally burn sendmail on one server, because of the way it's utilized by a python script to do in-house listserv thingies andthat script nuked my brain having to retool it for fixes
[17:45] <SpamapS> zul: any thoughts on me updating python-ironicclient? I'm testing with 0.7.0 in wily and trusty+UCA right now.
[17:55] <kabads> I'm pulling my hair out with permissions here- on apache2 with 403 on my server: because search permissions are missing on a component of the path.
[17:56] <kabads> Yet, I've set the permissions as they should be - is there anything else I could be checking?
[17:58] <sarnold> kabads: you may have apparmor profiles installed; check aa-status output to see if your apache process is confined
[17:59] <kabads> sarnold: thanks - 5 applications are in enforced mode, but not apache.
[17:59] <sarnold> kabads: okay, then that's probably not it :) hehe
[18:00] <kabads> Other searches online have said to check for SELinux, but I've not gone down that road *at all* - still puzzled.
[18:00] <sarnold> kabads: check the error logs in /var/log/apache*/something ...
[18:00] <sarnold> kabads: SELinux is difficult to get working on ubuntu, you're probably not doing that if you're here :)
[18:01] <kabads> http://pastebin.com/JciQk0p6
[18:02] <sarnold> kabads: alright.. try ls -l / /var /var/www /var/www/test.txt
[18:02] <sarnold> sigh not that
[18:02] <sarnold> kabads: alright.. try ls -ld / /var /var/www /var/www/test.txt
[18:04] <kabads> http://pastebin.com/B4iY9Ees
[18:04] <sarnold> there we go, /var is funny :) mine is: drwxr-xr-x 15 root root 4096 Sep 20  2013 /var
[18:05] <sarnold> chmod 755 /var and give it another shot
[18:05] <kabads> compares...
[18:06] <kabads> sarnold: boom! Thanks
[18:06] <sarnold> :)
[18:06] <kabads> Didn't think to check var itself
[18:07] <sarnold> I've wanted a recursive-upwards ls -ld command to be everywhere by default since it makes this kind of troubleshooting so much easier...
[18:08] <sarnold> oh well. now you know, check upwards all the way to the root, and that's one more person who can help debug these things :)
[18:08] <sarnold> (and yeah, I _have_ seen people with broken permissions on / -- hilarity ensues :)
[18:08] <teward> sarnold: what about the people who recursively chmod everything as 777 because one thing doesn't work
[18:09] <teward> i've seen that before
[18:09] <kabads> sarnold: I'm doing a linux sysadmin course - so, it's all part of sharing the info. Thanks again. Seeing permission problems on /? I've been using linux for a long time, and that one is still new on me.
[18:12] <sarnold> teward: the install media is _right over there_... who knows what else they've screwed up ;)
[18:12] <sarnold> kabads: thankfully, only seen permission problems on / a few times in ~20 years
[18:12] <teward> sarnold: they broke the universe, yes. xD
[18:12] <sarnold> hehe
[18:12] <teward> sarnold: i saw someone say "Hey, so, I chmod 777'd everything,was that bad?"
[18:12] <teward> i wanted to commit vicious acts then
[18:22] <SpamapS> zul: ?
[18:23] <zul> SpamapS: huh im on holiday today?
[18:23] <SpamapS> zul: gotchya.. just asking if you mind if I upload python-ironicclient 0.7.0 to wily?
[18:23] <zul> SpamapS: nah im cool with it
[18:24] <SpamapS> zul: cool, ty
[19:12] <Lurchy> hey everyone...
[19:13] <Lurchy> I got a question...anyone have some pointers on how to setup a mail server on ubuntu?  I dont have my domain pointed to it as of yet...its behind my firewall on my home cable modem
[19:14] <Lurchy> but just trying to serup my LAMP server with moodle webpage.....setup my mail server.....and then point the domain to it once its all setup
[19:15] <patdk-wk> it won't work
[19:15] <patdk-wk> home cable isp's do not allow mail servers, for very good reasons
[19:15] <sarnold> home cable modems ar eoften on dialup blackhole lists
[19:15] <patdk-wk> well, they don't allow any kind of servers, but they normally tollorate some
[19:16] <Lurchy> its a small server I am setting up for my students to use
[19:16] <patdk-wk> and with outbound port 25 blocked
[19:16] <Lurchy> a class website actually
[19:16] <patdk-wk> you need a business cable account, atleast to do email
[19:16] <patdk-wk> or you have to relay though someone else
[19:16] <Lurchy> any way to test whether port 25 is blocked on my current isp?
[19:17] <Lurchy> or is there a "inexpensive" solution?
[19:17] <patdk-wk> telnet gmail-smtp-in.l.google.com 25
[19:17] <patdk-wk> you must not have port 25 blocked, you must have a static ip address, and you must have reverse dns setup
[19:17] <Lurchy> hmm
[19:18] <sarnold> Lurchy: nc -l 25   on your machine, and then from the outside try to nc ip.add.res.s 25   and see if you can talk to it or not..
[19:18] <patdk-wk> or else you will end up with an email server that is never allowed to send email
[19:18] <Lurchy> I was going to use dyndnip or something similar for dynamic IP issues
[19:18] <patdk-wk> sarnold, that normally ALWAYS works
[19:18] <patdk-wk> isp's don't care if you accept spam
[19:18] <patdk-wk> only if you *send* it
[19:18] <sarnold> Lurchy: this might not be entirely doomed if all your students set up YOUR server as an account, but I wouldn't expect them to be able to use their existing email to talk with you
[19:18] <Lurchy> kk
[19:18] <sarnold> patdk-wk: I've seen blocked incoming 25 too
[19:19] <patdk-wk> yes, but blocked incoming is not a big deal :)
[19:19] <sarnold> heh
[19:19] <jrwren> if you don't need to interop with other email domains, you won't need 25 at all.
[19:19] <patdk-wk> but then ht wouldn't need dns setup either :)
[19:19] <jrwren> true!
[19:19] <Lurchy> cant I do a port forward or something to that effect for mail traffic?
[19:19] <patdk-wk> no
[19:19] <patdk-wk> how can you portforward port 25?
[19:19] <patdk-wk> when port 25 is blocked?
[19:20] <Lurchy> sedn out mail on another port to a service that would bounce it?
[19:20] <patdk-wk> and doesn't matter anyway, since you can't setup reverse dns
[19:20] <jrwren> if only tcp port was included in MX records :)
[19:20] <patdk-wk> you need a business account, period
[19:20] <sarnold> jrwren :)
[19:20] <Lurchy> ahh..ok
[19:20] <patdk-wk> jrwren, that is what srv is for :)
[19:21] <jrwren> if only smtp routers everywhere on the internet consulted srv RR before mx RR :)
[19:21] <patdk-wk> Lurchy, you can do that, but that uses port 587, not port 25, and not portforwarding
[19:21] <sarnold> Lurchy: _maybe_ the answer is a $5/mo digital ocean droplet or something similar? those are less likely to be on RBLs, less likely to be forever-blocked, etc..
[19:21] <patdk-wk> nothing better than many spof's :)
[19:21] <Lurchy> kk sarnold....just trying to get ideas as I am a novice :-)
[19:21] <sarnold> patdk-wk: hehe
[19:21] <patdk-wk> don't worry, doing email is the hardest, and most annoying thing to do
[19:21] <sarnold> yes.
[19:21] <sarnold> I'm glad to not do it myself anymore
[19:22] <patdk-wk> cause no one wants spam, and no one will trust you, unless you do it perfectly the first time :)
[19:22] <sarnold> it was fun fifteenyears ago..
[19:22] <patdk-wk> lucky I started doing it 17years ago
[19:22] <patdk-wk> so  Ididn't have to learn it all at once
[19:22] <sarnold> that too
[19:23] <patdk-wk> Lurchy, it should take someone a day if they know how to do it, and normally a week generally
[19:23] <patdk-wk> if you have no idea, expect a month
[19:23] <Lurchy> ok...so here is what I want to do....run a domain server behind my 100mb/15mb cable connection.....but not pay the outlandish price for static IP...cant I use dynip service for  dns/mail/etc?
[19:23] <sarnold> dynip doesn't let you do reverse lookups correctly
[19:23] <patdk-wk> you can do anything you want
[19:23] <sarnold> and failing those will probably drop most of your email on the floor already :)
[19:23] <jrwren> Lurchy: you can try, it sounds like a nice learning experience and challenge!
[19:24] <patdk-wk> but no one on the internet will care to accept email from you
[19:24] <Lurchy> lol....
[19:24] <patdk-wk> that is the point
[19:24] <patdk-wk> besides the fact, your still blocked from using port 25
[19:24] <Lurchy> btw...what is a RBL??
[19:25] <Lurchy> bann list?
[19:25] <patdk-wk> I guess you can thank for not having a spam issue yet
[19:25] <patdk-wk> yes
[19:25] <Lurchy> ok
[19:25] <patdk-wk> dnsrbl
[19:25] <patdk-wk> or just rbl for short
[19:27] <Lurchy> so...just so I understand...bad idea to setup mail server on residential cable modem.....what are best(cheapest) options for domain mail?  droplet account?
[19:28] <patdk-wk> the only option is to use a vm somewhere and relay using it
[19:28] <Lurchy> virtual mail?
[19:28] <sarnold> honestly, google something or other services are worth the cost; their antispam is far better than you could roll yourself, most places accept mail from google services because _not_ accepting mail from google services is cutting off too many users, etc..
[19:28] <patdk-wk> that has the right things you need, allows port 25, allows setting rdns (ptr)
[19:29] <sarnold> but the downside is that it's a lot less fun and you don't get any control over anything when you go google. heh.
[19:29] <patdk-wk> sarnold, ya, like me :( google, and yahoo
[19:29] <patdk-wk> both source of insane spam
[19:29] <Lurchy> I understand...but I dont think I want to spend all my time messing with email issues.....I am busy as hell during school year...I coach football also
[19:30] <Lurchy> I am just frustrated as hell with performance of existing hosting providers...which are crap
[19:30] <jrwren> oh?
[19:30] <Lurchy> website is slow when I get 25-30 students on my site trying to take online quiz...etc
[19:31] <Lurchy> virtual hosting is what they are.....and I cant afford dedicated boxes on the net
[19:31] <Lurchy> I have two domains...one for my classes...and one for football
[19:31] <jrwren> you can do email one place and move the online quiz elsewhere.
[19:32] <Lurchy> hmmm
[19:32] <jrwren> what quiz software are you using and who is your host?
[19:32] <jrwren> there is a lot of poorly written poorly performing software out there.
[19:32] <Lurchy> I am using moodle...educational open source webpage
[19:32] <jrwren> ah moodle.
[19:32] <jrwren> i'd think moodle on bluehost would be fine, but I don't really know.
[19:33] <jrwren> 30 concurrent users is not very many.
[19:33] <sarnold> interesting, I had a reasonable opinion of moodle, they seemed like they had their act together anyway
[19:33] <jrwren> sarnold: yes, me too.
[19:33] <jrwren> maybe it is just a VERY bad hosting provider.
[19:33] <sarnold> funny idea of what security embargoes meant, but they felt like they did a good job..
[19:33] <Lurchy> ive tried two diff hosting providers.....performance sucks once you get 25-30 students...and its not school internet...thats 100 mb fiber
[19:34] <sarnold> 30 is just .. adorable. these days we expect services to handle thousands of simultaneous users withut trouble..
[19:35] <jrwren> thousands trivially, tens and hundreds of thousands with a little work, and millions with a lot of work :)
[19:35] <Lurchy> well...this is why I am setting up moodle on my home box....want to be able to use my page locally....downloading homework and other stuff from virtual box is frustratingly slow
[19:35] <Lurchy> or perhaps just mirror the website......
[19:35] <patdk-wk> not really
[19:35] <patdk-wk> generally you can only service 100 or so requests at a time
[19:35] <patdk-wk> unless you doing a lot of caching
[19:35] <jrwren> patdk-wk: YOU might only be able to :p
[19:35] <patdk-wk> only so many php threads to go around
[19:36] <patdk-wk> well, I refuse to put it into users
[19:36] <sarnold> iirc moodle's in python, hehe
[19:36] <tarpman> until quite recently moodle was pretty cache unfriendly, too
[19:36] <tarpman> sarnold: php
[19:36] <sarnold> tarpman: oh :(
[19:36] <patdk-wk> cause users doesn't really mean anything, but rpp is more understandable
[19:36] <patdk-wk> rps
[19:37] <Lurchy> just got my ubuntu box up and running...and installed the apache/php..etc
[19:37] <tarpman> also interactive stuff like quiz tends to add on database queries pretty fast
[19:37] <patdk-wk> yes, 30 uses shouldn't be an issue
[19:38] <patdk-wk> 10000 users, I could see being an issue, for a single box
[19:38] <Lurchy> on a related note.....her eis a question
[19:38] <patdk-wk> atleast normal php + mysql generally gets a limit of around 100 rps per cpu
[19:39] <jrwren> patdk-wk: what do you mean normal php + mysql ?
[19:39] <patdk-wk> it's latency induced slowdowns
[19:39] <Lurchy> I have my student upload assignments with thier cell phones taking pictures and uploading to moodle submission...works well.....but when I am trying to grade them..seems like site is so slow...waiting 5-8 seconds for page request to come back....
[19:40] <Lurchy> this is reason I want local moodle on ubuntu box....speed up my grading time
[19:40] <patdk-wk> mainly between http + php fastcgi + mysql
[19:40] <patdk-wk> oh pictures
[19:40] <patdk-wk> ya, need to profile the traffic and see what is happening
[19:41] <Lurchy> you understand..they use cell phones to take a picture of assignment..then upload it using moodle app on thier iphone/android
[19:41] <patdk-wk> if it's just taking too long to get the pictures from where it's stored, or transfered to you
[19:41] <jrwren> if they are all 10Mpixel images that haven't been shrunk for web, yeah, that is going to load slow, even on modern fast cable modem.
[19:41] <patdk-wk> he did say 100mbit
[19:41] <Lurchy> nah...they are usually 500kb-2mb at most
[19:41] <patdk-wk> but likely the webserver isn't designed for high latnecy fast transfers
[19:41] <Lurchy> yeah...my cable is 94mb downlaod
[19:42] <patdk-wk> as that is not what they normally do
[19:42] <jrwren> really?
[19:42] <patdk-wk> normally it's a lot of small transfers
[19:43] <Lurchy> patdk-wk..yeah...so I am lookign into other solutions..like making my own ubuntu box to serve it....I have dual core 3.8 ghz cpu and 8gb of ram on the ubuntu box
[19:43] <jrwren> That isn't my completely uninformed guess analysis. My completely uninformed guess analysis is shared host limiting mysql and php resources and many files in a mysql moodle database is the bottleneck :]
[19:43] <patdk-wk> could be
[19:43] <patdk-wk> so many options
[19:44] <sarnold> how long does it take the phones to upload the images?
[19:44] <Lurchy> sarnold...typically 5-10 seconds
[19:44] <patdk-wk> using what? wifi? 4g?
[19:45] <Lurchy> wifi at campus...little longer on 4g..maybe 15 seconds
[19:45] <patdk-wk> is there a specific time you normally do the grading?
[19:45] <patdk-wk> like I know my cable provider goes to utter crap from 6pm till 10pm
[19:46] <patdk-wk> due to everyone using netflix
[19:46] <Lurchy> usually late nite...after practice and when I can relax in my underwear with a beer  :-P
[19:46] <patdk-wk> I'm lucky if I can even get 1mbit download speeds
[19:46] <tarpman> Lurchy: do you have a php cache running on your current host? adding apc (in newer php, opcache) made a massive difference on my moodle
[19:46] <patdk-wk> tarpman, it is shared hosting
[19:46] <patdk-wk> so no control
[19:46] <Lurchy> well....I dont have any issues with my cable....but performance from moodle site is frustratingly slow...
[19:47] <patdk-wk> just attempting to cover all bases
[19:47] <Lurchy> tarpman...i dont know...I am a novice...do I have to enable one
[19:47] <Lurchy> ?
[19:48] <Lurchy> I am using hostmonster...the moodle install is setup for me from thier installer
[19:49] <tarpman> I suppose patdk-wk is probably right and the hoster takes care of that
[19:50] <Lurchy> patdk-wk...I am thankful for the isp cable I have...actually getting faster in a few months...250MB down....30mb up
[19:50] <Lurchy> so why shouldnt I be able to host this thing at home on my ubuntu server?
[19:51] <Lurchy> seems reasonable
[19:51] <jrwren> Lurchy: a good shared host provider helps you to enable these types of caches
[19:51] <Lurchy> besides...I want to learn what i can during the summer while on vacation
[19:52] <sarnold> Lurchy: moodle is far more likely to self-host than email
[19:54] <patdk-wk> and it's email should be easily configurable to go to your email hoster
[19:54] <Lurchy> true....I can send email from moodle website to droplet...whatever....I just want to use email to automate assignment prompts to my kids(or inform parents via email when thier kids dont submit homework on the website)
[19:54] <sarnold> teaching is different these days
[19:55] <Lurchy> heh...at least I have some tech skills...but I am busy as hell all the time
[19:55] <Lurchy> plus I coach varsity football and deal with football scout film..etc
[19:56] <Lurchy> so...moodle makes my life easier...dont have million pages...can grade online using my ipad....but its too slow
[19:58] <Lurchy> goal is to contine to have my students use webpage for assignment submissions/quizzes/support documents and speed up the website for students who are on it...and my grading
[19:58] <Lurchy> I have leared a lot about moodle in the three years I have used it...but backend performance and such I am not an expert at
[20:00] <Lurchy> thx for the info....
[20:01] <Lurchy> I will install moodle on this ubuntu server box....and explore email solutions offsite
[20:02] <patdk-wk> test how fast it is for you, make sure that *solves* the speed issues
[20:02] <patdk-wk> then worry about email :)
[20:02] <Lurchy> yep
[20:02] <patdk-wk> make sure you test uploads offsite too
[20:03] <patdk-wk> to make sure those are still acceptable speed
[20:03] <sarnold> hah
[20:03] <sarnold> yes :)
[20:03] <Lurchy> well..wouldnt this dedicated box on my cable modem be faster than virtual server on my webhosting provider?
[20:04] <Lurchy> I am assuming so
[20:04] <patdk-wk> it might be, it might not
[20:04]  * Lurchy shrugs
[20:04] <sarnold> and since your students probalby all wait until deadlines to submit things, it wouldn't hurt to have a handful of people testing upload speed simultaneously
[20:04] <patdk-wk> it shuld have more latency
[20:04] <patdk-wk> it will have less cpu
[20:04] <patdk-wk> but the cpu is dedicated to you
[20:04] <patdk-wk> lots of variables
[20:04] <patdk-wk> test test test :)
[20:04] <Lurchy> true
[20:05] <patdk-wk> once you learn the results, come back :)
[20:05] <Lurchy> heh
[20:05] <patdk-wk> I can probably help you with a solution
[20:05] <patdk-wk> but interested what the results are so I can infer what the issues are
[20:05] <Lurchy> well...I am enjoying my ubuntu server experience...been a while sinc eI did command line stuff
[20:06] <Lurchy> frustrating since Its been forever since I did coding...like 20 years.....forgot so much
[20:08] <Lurchy> also...I am thinking about running home automation in ubuntu also.....can I do it on same box?  I want to have everything behind a 24 port POE netgear router.....home security....environemntal controls...etc
[20:09] <Lurchy> pool controls and sensors.....arduino stuff and the like
[20:09] <sarnold> Lurchy: yeah it should be possible to run it all on one system if you want
[20:09] <Lurchy> btw..I am science teacher..one of my degrees is in electronics
[20:10] <Lurchy> been tinkiering with arduino stuff sinc eI have been teaching robotics the last year or so
[20:11] <Lurchy> ok guys..thanks for the input...ill be around  :-)
[20:12] <Lurchy> gotta run to practice...this heat sucks...105 today
[20:12] <sarnold> Lurchy: cool :) I've wanted to build something do e.g. open windows, etc..
[20:12] <sarnold> Lurchy: ugh. skip it entirely.
[20:12] <sarnold> I'd lie down dead in that jkind of heat before doing anything :)
[20:12] <sarnold> Lurchy: have fun!
[20:12]  * Lurchy leaves
[20:14] <jrwren> so cold here today
[21:32] <smygIG> Hello i have a problem. I have an dns server and it works lan but from wan i cant find webpage. Port 53 and 80 is open.
[21:37] <smygIG> can access webpage by ip but not http adress by wan
[21:53] <TenthTARDIS> I'm having some issues with getting email to work on my server
[21:54] <TenthTARDIS> I'm setting up OSTicket, and I'd like it to send email, but it keeps failing
[21:55] <TenthTARDIS> I haven't been able to find much about it online-- can anyone point me to some resources?
[21:57] <TenthTARDIS> I guess part of the problem is that I don't really know how to configure my server to send and receive email, while still letting my install application keep working.
[21:58] <TenthTARDIS> That is, I know how to set up a dedicated mail server, but I don't know how to set up a way to send and receive email on a server whose primary purpose is to do something else.
[22:32] <skylite> how this can be any output? service --status-all > /dev/null
[22:33] <skylite> it lists everything that is handled by upstart
[22:36] <skylite> all those otput is handled as error message? o_O
[22:49] <leonixyz> Hello, running Ubuntu Server 14.04 and trying to make work an init script. It wish to start it automatically at boot, but it doesn't... however, "sudo service start geoserver" works. It's chmodded +x. https://gist.github.com/anonymous/6b29799d50b718b5292f
[22:51] <sarnold> leonixyz: fiddle with update-rc.d to make all the symlinks?
[22:52] <leonixyz> sarnold: sorry, I didn't understand you
[22:53] <leonixyz> sarnold: I copied that file directly to init.d,... nothing done in update-rc.d
[22:53] <sarnold> leonixyz: the initscripts are started / stopped via a mess of 14-odd symlinks in /etc/rc*.d/ directories, the Snn and Knn symlinks.. you can make them by hand or you can make them with the update-rc.d program
[22:53] <leonixyz> thanks
[23:17] <gdi2k> this morning I had a couple of lines in my syslog like this:
[23:17] <gdi2k> Jul  2 04:32:56 smiles2 kernel: [311765.875614] mce: [Hardware Error]: Machine check events logged
[23:17] <gdi2k> Google says I should have had mcelog installed to log these sorts of issues, but I did not.
[23:18] <sarnold> install it now to catc the next one :)
[23:18] <gdi2k> is there now any way to see what actually caused these? shortly after the occured I had a nasty server crash
[23:19] <gdi2k> sarnold, heh, yeh it's installed now, but I'm not too enthusiastic about putting it back into production until I figure out what's causing this, and I may be waiting for a long time for it to happen again :/
[23:20] <gdi2k> would have been nice if mcelog had already been installed as part of ubuntu server really - logging hardware faults is pretty important...
[23:21] <sarnold> gdi2k: the esktop system I had throwing mces seemed kind of unfixable.. I didn't get around to swapping memory/cpu/motherboard, I wound up more or less replacing it with a laptop anyway..
[23:22] <gdi2k> sarnold, did you ever actually get to see what mce errors it was throwing?
[23:22] <sarnold> gdi2k: the recoverable ones were cache checksum errors or something fairly similar, but the unrecoverable ones just killed the machine dead, iirc :/
[23:23] <gdi2k> sarnold, so they didn't get logged?
[23:23] <sarnold> I can't recall now, it was almost three years ago now, sorry
[23:24] <gdi2k> in my case, I still have some cron entries from the server running after it became inaccessible from the network and had no more graphics output. odd
[23:24] <sarnold> I'd used the desktop for years for simple web-browsing sorts of tasks.. it only started falling over once I started doing hour-long compiles. :/
[23:24] <sarnold> gdi2k: very odd
[23:25] <gdi2k> sarnold, placing my money on a 4 port NIC I have installed. it's counterpart had its network card fail a couple of months back...
[23:26] <sarnold> gdi2k: that seems plausible, especially if you lost nic and graphics but the rest of the system kept going.. maybe there are firmware updates for the nic?
[23:27] <gdi2k> sarnold, yeh, will look into that... thanks for your help :)
[23:27] <sarnold> gdi2k: good luck :)
[23:32] <hexafraction> Will the server CD installers preserve an existing /home (not on a separate partition)?
[23:33] <hexafraction> I'm currently on Precise i386 and my goal is to install Trusty amd64 (manually redoing configuration if necessary)