[00:22] <gdos> hitsujiTMO: (sorry had dinner) here ya go - http://pastebin.ubuntu.com/6280144/
[00:43] <hitsujiTMO> hmm, so conf.d is ignored
[00:45] <hitsujiTMO> gdos: can you paste /etc/apache2/conf-available/dwww.conf   and /etc/apache2/conf-available/dhelp.conf   and the output of: ls -l /etc/apache2/conf-enabled
[02:11] <gdos> hitsujiTMO: (sorry had dinner) here ya go - http://pastebin.ubuntu.com/6280144/
[02:39] <gdos> i'm thinking this broken package is causing my apache2 headaches - http://pastebin.ubuntu.com/6280144/ - how do i remove it?
[03:37] <soahccc> Is it possible to get an unused device in /proc/mdstat? I've installed a fresh copy, installed mdadm and there is no raid and no unused device :(
[05:46] <RoyK> sarnold: haven't written much, but I can answer if you have questions
[06:08] <Gletob>  I'm trying to set up a basic samba print server and need to add the drivers.  When I use the command "net rpc rights grant Everyone SePrintOperatorPrivilege -U root" I get: Could not connect to server 127.0.0.1 Connection failed: NT_STATUS_ACCESS_DENIED
[07:12] <babinlonston> Hi all How to setup a VPN server ?
[07:25] <jkitchen> babinlonston: https://help.ubuntu.com/community/OpenVPN
[07:26] <jkitchen> it's a good number of steps, but it's pretty straightforward
[07:26] <mac_nibblet> Does anyone know how a crontab can be executed 10 minutes late ?
[07:27] <babinlonston> jkitchen: configured there are some issue troubleshooting it i used this like to setup it https://www.digitalocean.com/community/articles/how-to-setup-your-own-vpn-with-pptp
[07:29] <jkitchen> mac_nibblet: if the clock changes, cron tries to be smart and catch anything it missed
[07:29] <mac_nibblet> jkitchen: it has not changed
[07:29] <mac_nibblet> i scheduled something for 19:54 it was executed 20:06
[07:30] <jkitchen> by what clock did you record that it ran at 20:06?
[07:30] <mac_nibblet> The records where updated in mysql at that time
[07:30] <mac_nibblet> on the same machine
[07:30] <mac_nibblet> so it's not a clock missmatch
[07:31] <jkitchen> is it possible that something held up the mysql update?
[07:31] <mac_nibblet> jkitchen: nopp
[07:31] <jkitchen> weird
[07:31] <jkitchen> you said the records were updated in mysql at that time, how were you checking this?
[07:31] <mac_nibblet> CLI
[07:31] <jkitchen> just up-entering on a query until it gave you the updated record?
[07:32] <jkitchen> what does syslog say regarding this cron job?
[07:32] <mac_nibblet> let me check
[07:33] <jkitchen> babinlonston: let me try to understand. You used https://www.digitalocean.com/community/articles/how-to-setup-your-own-vpn-with-pptp to set up a vpn and you're having trouble?
[07:33] <mac_nibblet> jkitchen: interesting....
[07:34] <jkitchen> if that's the case, then I'm sorry, I've only ever worked with openvpn on the server end of things (and to be honest, I don't see why I would want to use anything different :)
[07:34] <mac_nibblet> jkitchen: the command is being run at 19:54:01
[07:34] <jkitchen> mac_nibblet: it's possible there's some caching going on? you should also see when the cron started and when it stopped
[07:35] <mac_nibblet> jkitchen: http://caps.pmg.se/caps/e8122b.png
[07:35] <jkitchen> (by looking at the cron:session entries in /var/log/auth.log, that is)
[07:36] <mac_nibblet> oh
[07:36] <mac_nibblet> :p
[07:36] <jkitchen> why would you screenshot text? :)
[07:36] <mac_nibblet> uh, it's not a screenshot ^_^
[07:36] <mac_nibblet> well it is, but gtkgrab
[07:37] <jkitchen> mac_nibblet: screenshot of text :)
[07:37] <jkitchen> anywho
[07:37] <jkitchen> look in auth.log to see when that cron started, and when it stopped
[07:40] <mac_nibblet> jkitchen: http://caps.pmg.se/caps/e34cd6.png
[07:40] <mac_nibblet> that does not make any sense
[07:40] <mac_nibblet> because the crontab took around 7 seconds to complete
[07:42] <jkitchen> I'm guessing caching on the mysql server.
[07:42] <jkitchen> or that your clocks are off by about 10 minutes :)
[07:44] <jkitchen> anywho, good luck! I must acquire sleep.
[13:14] <littlebit> hello people, when you are in a hotel or in an airport, there is always a wifi hotspot that offers you to gain access to the internet, but only when you pay a fee, you will be given a username and password in order to gain access to the internet. Is there a similar solution in ubuntu?
[13:38] <tarvid> how do I get a remote server to use static dns addresses without ifdown ifup?
[14:05] <buscon> hi
[14:06] <buscon> i'm trying to install samba4 on the latest ubuntu server 3.10
[14:06] <buscon> 13.10 i mean
[14:06] <buscon> but i get an error
[14:08] <hitsujiTMO> whats the error buscon?
[14:09] <buscon> hitsujiTMO: just a second, maybe i've found the error
[14:09] <buscon> :)
[15:01] <soahccc> Is it possible to get an unused device in /proc/mdstat? I've installed a fresh copy, installed mdadm and there is no raid and no unused device :(
[15:17] <irv> how easy is it to expand an encrypted partition?
[15:18] <irv> i've managed to fill mine up so i'd like to expand it quite a bit
[15:18] <irv> i've already expanded the VHDx
[16:50] <Gletob> Whenever I try to run "sudo net rpc rights grant Everyone SePrintOperatorPrivilege" I get: "Could not connect to server 127.0.0.1
[16:50] <Gletob> Connection failed: NT_STATUS_ACCESS_DENIED
[16:50] <Gletob> "
[16:51] <Gletob> I'm trying to set up printer drivers with Samba
[16:59] <sarnold> RoyK: cool, thanks :) I'm thinking of buying a handful of 3tb drives and wondering if you'd recommend a raidz1 or raidz2 configuration for commodity consumer hardware or mirrors of raidz1 or raidz1s of mirrors or ... there's just so many different ways to get there. :)
[16:59] <sarnold> RoyK: I'm thinking it'd be nice to keep it under $1000 for the storage and it'd be nice to have enough space to not think about it for a few years :)
[17:00] <sarnold> RoyK: I was thinking of using a 500-gig ssd for slog and l2arc, would that be overkill or underkill? :)
[17:21] <jdstrand> adam_g: fyi, I am doing raring cinder, keystone and nova security updates
[17:22] <jdstrand> adam_g: cinder is a no change rebuild for -security over what was there before, so you don't have to do anything for your proposed package
[17:23] <jdstrand> adam_g: nova is to fix bug #1212179 which is in your proposed update already
[17:23] <jdstrand> adam_g: keystone is to fix bug #1179955 (part of your update) and bug #1202952 (doesn't seem to be part of your update)
[17:40] <ivoks> CVE-2013-4428
[17:40] <ivoks> \o/
[17:40] <jdstrand> adam_g: also, I'm fixing glance bug #1235378, which is part of your proposed update as well
[17:48] <sarnold> ivoks: looks like uvirtbot queries something like launchpad or NVD or MITRE for cve information; the ubuntu UCT database or the debian CVE database may have newer information, as they do in this case.
[17:48] <sarnold> ivoks: see e.g. http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-4428.html or https://security-tracker.debian.org/tracker/CVE-2013-4428
[17:50] <sarnold> quiet you silly bot
[17:53] <TheLordOfTime> heh
[18:02] <lotia> hi all. When using software raid, is it possibly to define a scheduler for the 'mdX' device or only on the underlying disk?
[18:25] <Daniel12> Hey, Propably a newbie question, but it was hard for me to find an answer to this online: Do apache2 logfiles really show the full traffic stats? Let's say I have a 1GB file, as soon as someone starts the download it shows 1GB traffic, right? If yes, is there a tool to measure the real traffic?
[18:28] <sarnold> Daniel12: this looks useful: http://httpd.apache.org/docs/2.2/mod/mod_logio.html
[18:28] <sarnold> (change the 2.2 in the url to reflect whatever version you have available, apache is good about making urls work as you expect :)
[18:29] <Daniel12> sarnold: great! Thank you! Will look into this.
[18:31] <sarnold> Daniel12: thanks for asking the question, I've never looked into it before, but you made me wonder. hehe. :)
[18:32] <patdk-wk> heh?
[18:32] <patdk-wk> apache doesn't log how much was downloaded, till the download completes and is over
[18:32] <patdk-wk> and that download size does not include headers by default
[18:34] <Daniel12> patdk-wk: oh. So an aborted download will show the (real) traffic it caused?
[18:34] <patdk-wk> as long as real, doesn't mean, http headers, yes
[18:34] <Daniel12> patdk-wk: thanks!
[18:36] <sarnold> patdk-wk: that's what made me wonder -- surely apache wouldn't wait to log until the request was over, what if you had a few hundred thousand connections drawing a byte per second or something? the log files would never report anything... so of course it'd log immediately..
[18:37] <patdk-wk> it never logs immediantly :)
[18:37] <sarnold> .. but then I figured admins would need -some- way to realize that no one ever finishes downloading their 50megabyte background image, but how would they.... -> MUST GO FIND OUT :) hehe
[18:37] <sarnold> no?
[18:37] <patdk-wk> I have log entries happen a good day later
[18:38] <patdk-wk> only way to know is by loading the status pages
[18:40] <sarnold> "status pages"?
[19:40] <RoyK> sarnold: ping
[20:15] <nsh001> Hello all,I need some help,I was installed ubuntu server 13.10 and default installed LAMP pkg,when i was installed phpmyadmin,and login it ,The phpmyadmin tell me it need mcrypt,how to make it?thanks
[20:16] <MavKen> apt-get install php5-mcrypt
[20:17] <nsh001> the system auto installed it
[20:17] <nsh001> but php.ini is auto config
[20:18] <nsh001> i can't find the php5-mcrypt path
[20:19] <nsh001> php.ini mcrypt.modes_dir= and mcrypt.algorithms_dir= I don't know the path
[20:19] <TheLordOfTime> nsh001: did you install php5-mcrypt?
[20:19] <TheLordOfTime> whoopsies, yes, you did
[20:19] <nsh001> Mavken Thanks for you
[20:20] <nsh001> @TheLordOfTime php5-mcrypt is auto installed
[20:21] <TheLordOfTime> nsh001: if you're looking for the mcrypt configuration it gets installed to /etc/php5/conf.d/mcrypt.ini
[20:21] <MavKen> nsh001, no prob...sorry...in another chat, having some network issues
[20:21] <TheLordOfTime> (just an FYI)
[20:21] <TheLordOfTime> nsh001: the .so for it is somewhere in /usr/lib/php5/ but i'd need to dig around in the 13.10 packages
[20:22] <TheLordOfTime> nsh001: i'd say refer to the mcrypt.ini file it might already have those?
[20:22] <TheLordOfTime> nsh001: also, known issue with php5, sometimes those plugins don't refresh after install, so doing a restart of your php5 instance might not hurt
[20:22] <nsh001> i finding it
[20:23] <nsh001> TheLordOfTime thanks for help and sorry for my english
[20:23] <TheLordOfTime> your english is fine compared to some of the people i've worked with :)
[20:23] <nsh001> let's me try
[20:23] <TheLordOfTime> (not joking, it's actually pretty decent)
[20:27] <nsh001> TheLordOfTime thanks for you,I can't find it.I need to sleep my time zone is +8 4:26am see you next time
[20:27] <nsh001> Have a good time for all!bye
[20:28] <TheLordOfTime> see ya
[20:28] <TheLordOfTime> ooo too late :/
[20:28] <TheLordOfTime> oh well, was on the phone :/
[20:29] <sarnold> RoyK: pong :)
[20:29] <sarnold> RoyK: a few more questions :D do you use de-dup ever? do you use copies=2 ever? do you pick-and-choose which datasets you use compression on? which compression algorithm?
[20:30] <RoyK> I've used dedup, but without sufficient memory
[20:30] <RoyK> dedup is *very* memory hungry
[20:30] <RoyK> I haven't been using zfs in prod for a couple of years, but back then I used lzjb compression by default
[20:31] <RoyK> some datasets gzip, some without
[20:31] <RoyK> jz4 is probably what I'd used as default today
[20:31] <RoyK> I haven't used copies=2 for anything except testing so far
[20:32] <Beatstreet> how come no ~/.bash_profile in ubuntu?
[20:32] <RoyK> sarnold: before choosing zfs, keep in mind that it's not as flexible as mdraid
[20:32] <RoyK> you can't just add a drive to a raidzN set and have the raidzN grow with another drive
[20:32] <RoyK> Beatstreet: .bashrc
[20:33] <Beatstreet> same thing?
[20:33] <RoyK> Beatstreet: it's run on login
[20:33] <sarnold> RoyK: oh, you moved away from zfs?
[20:33] <RoyK> so is .profile
[20:34] <RoyK> sarnold: I switched jobs
[20:34] <sarnold> RoyK: oh!
[20:34] <RoyK> sarnold: had some 350TiB on zfs in the last job
[20:34] <sarnold> RoyK: congratulations :) how far out of date am I? hehe
[20:34] <Beatstreet> RoyK - I dont see a .profile
[20:34] <RoyK> sarnold: only 15 months ;)
[20:34] <sarnold> RoyK: hunh :)
[20:34] <RoyK> sarnold: working for hioa.no now
[20:35] <RoyK> Beatstreet: just add it to .bashrc
[20:35] <RoyK> will work
[20:35] <Beatstreet> add what?
[20:35] <sarnold> RoyK: ah, I thought you used zfs for hioa .. (not that I ever could have recalled the name..)
[20:35] <RoyK> Beatstreet: whatever you want it to run at login
[20:36] <RoyK> sarnold: no, I used to work for nilu.no and they have a few zfs installs
[20:36] <sarnold> oooo
[20:37] <sarnold> RoyK: would mdraid let you just add another drive and have it grow?
[20:37] <RoyK> sarnold: yes
[20:37] <sarnold> RoyK: the ability to grow over time is one of the reasons why I've considered a handful of mirrored drives instead of raidz levels..
[20:37] <sarnold> obviously I need to re-read more about mdraid :) I just liked how simple zfs looked.
[20:37] <sarnold> RoyK: what filesystems do you use now?
[20:37] <RoyK> sarnold: you can add raidz or mirror VDEVs in zfs too
[20:38] <RoyK> sarnold: but it won't rebalance the data across the drives, so writes won't be as quick as you'd want them (and reads, perhaps to a less extent)
[20:38] <RoyK> sarnold: mostly ext4/xfs on a dell equallogic nas - *not* my choice
[20:38] <RoyK> but then - it mostly work
[20:39] <sarnold> RoyK: I've thought I owed xfs a look too... there's a general "eww" factor to nearly everything oracle-related, but zfs just looked so simple. :) hehe
[20:40] <sarnold> RoyK: did you use different 'pool' styles on a single machine for different datasets? or is it best to just pick a level of redundancy and speed you're willing to live with and use that for everything?
[20:40] <RoyK> sarnold: zfs isn't very simple, really, but if you plan it well, it's very good indeed
[20:40] <RoyK> sarnold: but I chose not to use zfs for my home server - just using mdraid now
[20:41] <sarnold> RoyK: did you rely much on the smb exports or nfs exports?
[20:41] <RoyK> and some filesystem on top of that
[20:41] <RoyK> mostly using samba/netatalk
[20:41] <sarnold> RoyK: do you miss the resilvering?
[20:41] <RoyK> no
[20:41] <RoyK> but I miss real scrubbing ;)
[20:41] <RoyK> checksumming would be nice
[20:41] <sarnold> yeah, the checksumming feels pretty awesome
[20:42] <RoyK> it's got a cost too, though
[20:42] <sarnold> oh?
[20:42] <RoyK> zfs will never be as fast as ext4 or xfs on mdraid
[20:42] <sarnold> I figured CPUs were quick enough these days..
[20:42] <RoyK> it adds a tiny bit of latency
[20:42] <RoyK> so effectively, it's slower
[20:43] <RoyK> imho it's fast enought, though
[20:43] <RoyK> usually, for a home server, the network's the bottleneck anyway :P
[20:43] <MavKen> any of you running ubuntu server on digitalocean?
[20:44] <sarnold> yeah, as I expect mine will be. cheapo-switches...
[20:45] <sarnold> RoyK: all the guides suggest weekly scrubbing.. will that run a risk of driving hardware to premature extinction?
[20:46] <sarnold> RoyK: would you recommend an ssd slog or just let the slog happen on the spindles?
[20:52] <RoyK> sarnold: not really a danger
[20:53] <RoyK> sarnold: slog or not (or l2arc or not) depends on i/o use pattern
[20:53] <RoyK> for general purpose (your movies, porn, pics blah) slog/l2arc won't be worth much
[20:53] <RoyK> for virtualization slog should be considered
[20:54] <RoyK> et cetera et cetera
[20:57] <sarnold> RoyK: aha, I was thinking a giant pile of the thing would go towards having a local ubuntu archive for the times I want to grep -r the world :)
[20:58] <sarnold> RoyK: and I figured l2arc wouldn't help there much, aside from unpack-then-grep, but that might happen better on local machine memory..
[20:58] <sarnold> RoyK: did you do much ARC tuning to make more memory available to applications?
[20:59] <sarnold> RoyK: does the arc duplicate efforts of the linux caching mechanisms?
[21:00] <sarnold> RoyK: ooh ooh is the atime handling affected by the linux relatime mount option?
[21:01] <RoyK> sarnold: if you want to grep -r whatever's there, perhaps solr would be better? ;)
[21:02] <RoyK> sarnold: not really any ARC tuning - I was running this on openindiana (now not very active, illomos-based opensolaris fork)
[21:02] <sarnold> RoyK: maybe? :) as it is I don't have a copy of it anyhow.. the debian codesearch is awesome though, it covers 90% of my questions easily...
[21:02] <sarnold> RoyK: oh, I thought you used the zfs-on-linux... boy learning a lot today :) hehe
[21:03] <RoyK> sarnold: otherwise - try #zfsonlinux - I've been running zfs on linux too, but not in large scale production
[21:03] <RoyK> (not production at all)
[21:05] <sarnold> RoyK: thanks for answering my pile of questions! :D
[21:05] <RoyK> :)
[22:43] <philip550c> Does anyone know what all is needed to create a classroom style domain controller? Essentially I would like to have a group of desktops where a user can sit down at any computer and login and have access to all their files and settings. Unlike a thin client I would like to leverage the power of the desktop not the server and remote connection needs to be available as well. I think this can be done with samba/ldap but I w
[22:43] <philip550c> ould also like to pxe boot the os. So that I can just plug in a new computer and boot from ethernet and its ready to go. Remote connections should not be pxe booted however but something similar to rdp would be nice. thank you
[22:44] <philip550c> also single sign on to all the services available to that user account would be needed as well. So all the user has to do is signin to ubuntu and thats it
[22:47] <sarnold> philip550c: I don't know if anything is ready-made for your situation.. investigate LTSP and MAAS. MAAS is mostly intended for server uses, but might be applicable to your case..
[22:49] <philip550c> im messing with MAAS right now but it seems to be more about provisioning, I see that I can make it provision desktops but it doesnt act as a domain controller. Thanks for the suggestion, Ill look into ltsp more, I thought that was for thin clients but I might not have understood that correctly
[22:49] <sarnold> no, you'd need to go to the effort of configuring samba or whatever for that end of things yourself
[22:50] <sarnold> if you combine juju with maas, you just might be able to do something like "juju deploy -n 20 terminals"  -- the end result _might_ be awesome :D but it'd probably be a fair amount of work on your part to get there.
[22:52] <philip550c> im experimenting with maas/juju and servers, ill see what I can do with it for desktops
[22:52] <sarnold> cool! if you don't mind, please report back, this sounds fun. :)
[22:54] <philip550c> yeah, I will. Are you always on here? this is actually my first time messing with irc. Are some of you on here all day everyday?
[22:55] <philip550c> i run my own xmpp server but i see that irc has a different use case now
[22:55] <sarnold> philip550c: I'd wager 80-90% of the people here just leave an irc client connected all the time. /lastlog -hilight is just too useful..
[22:56] <TheLordOfTime> sarnold: or they're on bouncers, i know for a fact that's what i do :P
[22:57] <philip550c> ok how does /lastlog -hilight work? I just entered it and nothing happened as far as I can tell. Sorry irc newb
[22:58] <philip550c> oh i see nm
[22:58] <sarnold> philip550c: hrm, in most clients it'll select just the bits of conversation aimed at you, referencing you, or mentioning any of the words that you might have put highlights / alerts on...
[22:59] <sarnold> (and /lastlog -clear ought to get rid of it)
[22:59] <philip550c> ok thanks
[22:59] <sarnold> TheLordOfTime: hunh, I figured you for a screen+irssi user :)
[22:59] <TheLordOfTime> heh
[22:59] <TheLordOfTime> sarnold: need the bouncer so i can access IRC from the phone
[22:59] <philip550c> so is it proper etiquette to address people by username before speaking?
[22:59] <sarnold> TheLordOfTime: ah, makes sense...
[22:59] <TheLordOfTime> can't ssh+screen+irssi from that very well ;)
[23:00] <TheLordOfTime> sarnold: even then, i have the ZNC actively save the logfiles so I never actually miss anything, even if my buffer playback doesn't show everything
[23:00] <sarnold> philip550c: it's more important the busier a channel is. when it's mostly quiet it doesn't matter much, but if it is quiet enough that your other party has wandered off, then the nicknames are useful again. :) hehe
[23:00] <TheLordOfTime> like here, it's not super useful to always highlight someone's name, but when it's a tad busier it never hurts to identify who you're tlaking to :)
[23:01] <sarnold> exactly
[23:01] <TheLordOfTime> i usually always identify who at the first line in a string of lines.
[23:01] <TheLordOfTime> now, #ubuntu, on the other hand, you prepend your destination's name on everything because that moves that much more rapidly
[23:01] <philip550c> thanks guys
[23:02] <philip550c> my project is actually more in depth than what I explained before but if I can pull it all off ill report back to here so you can hear about it
[23:03] <sarnold> philip550c: cool! thanks. :D
[23:34] <rbasak> jamespage: please can you subscribe ~ubuntu-server to php-json?
[23:35] <jamespage> rbasak,
[23:35] <jamespage> yes
[23:36] <jamespage> rbasak, done
[23:39] <rbasak> Thank you!
[23:45] <oscalation> hey, i just installed userver on a vm and forgot my username to login with, what are my options?
[23:45] <sarnold> oscalation: if you can boot with "single" on the kernel command line (grub or whatever..) you can get a root prompt pretty easy, that you can then use to inspect the system to find username, authorized_keys, password hashes, etc
[23:50] <oscalation> sarnold, luckely i got it by guessing
[23:50] <oscalation> thank you for the suggestion
[23:54] <MavKen> what is the easiest way to get php mail working without having a full blown mail server?
[23:54] <MavKen> it is used for sending out e-mail confirms and password resets
[23:56] <sarnold> MavKen: I think PHP PEAR offers an inprocess mail() mechanism that doesn't rely on local host MTA support...
[23:56] <MavKen> ok thanks, will check it out