[05:19] <Voyage>  I have GUI, how to see any files EVER opened by kate?
[05:25] <Voyage>  I wrote a file in kate, now i cant find it. used search but no benefit. If can see the history, It wil help
[09:28] <BlueShark> Hi.
[09:28] <BlueShark> When I run depmod, it's giving me this error: depmod: ERROR: could not open directory /lib/modules/3.8.0-23-generic: No such file or directory
[09:28] <BlueShark> How can I fix it?
[09:31] <lordievader> By installing the modules for that kernel?
[09:32] <lordievader> I.e. sudo apt-get install linux-image-extras (IIRC)
[09:59] <NoCode> Hi, I'm trying to install the LAMP stack from a minimal installation of 15.04: http://pastebin.ca/3333302 Getting this error. -- What can I do to fix it?
[10:08] <TJ-> NoCode: seems like for some reason the system is missing bsdutils
[10:09] <NoCode> TJ-, I'll try that, thank you.
[10:10] <NoCode> wow thank you.
[10:10] <TJ-> NoCode: it's not entirely clear which 'logger' it refers to; there's a /usr/bin/logger in bsdutils, but there's also a shell function for logging in lsb-base
[10:12] <TJ-> NoCode: might be worth looking at the source-code of that "/var/lib/dpkg/info/mysql-server-5.6.postinst" shell script to see if it is sourcing ". /lib/lsb/init-functions" - in which case its missing a dependency on lsb-base
[10:15] <NoCode> I just found out that I am using an EOL release, I will attempt to upgrade.
[10:16] <TJ-> 15.04 expires in early February
[10:17] <TJ-> NoCode: it looks like that mysql-server-5.6 package is missing a depends on bsdutils (which contains /usr/bin/logger)
[10:20] <an3k> >> mount: unknown filesystem type 'exfat' << head -> table
[10:21] <lordievader> an3k: Is the exfat tools installed?
[10:22] <lordievader> !info exfat-fuse
[10:41] <TJ-> NoCode: I've created a bug report for your issue bug 1534544
[10:41] <NoCode> TJ-, Nice. :)
[10:44] <ikonia> TJ-: thats teh same package thats in the desktop, how has that got past a basic uninstall test ?
[10:45] <TJ-> ikonia: I think the key is the server was a 'minimal install' and usually that would include bsdutils. The problem is, the dependency isn't declared, regardless of what else is installed
[10:52] <ikonia> TJ-: would explain the desktop checks passing
[13:29] <djlee> Hi all. Just curious about something. Our hosting provider says they were doing an "audit" on their network, and has asked us to remove the network config for an old ip address which we stopped leasing (which is fine and we've done it). I was wondering though, what problems does it cause the hosting provider if a server is trying to ask for an IP address is doesn't own (i dont think my host even uses that ip ran
[13:29] <djlee> ge anymore since they migrated)
[13:39] <TJ-> djlee: if it is statically defined, any other host on the same segment doing an ARP might get a reply from your host
[13:40] <djlee> TJ-: Fair enough, guess they do have a good reason to being that audit :P
[13:40] <djlee> to be doing* even
[16:25] <YamakasY> is it needed, mostly, to mirror the sources ?
[16:25] <YamakasY> for a local mirror ?
[16:26] <ikonia> is what needed ?
[16:28] <YamakasY> where are the sources used for ? I mean, when you install dev packages, do they need sources ?
[16:30] <ikonia> what do you mean ?
[16:30] <ikonia> what are you actually trying to do ?
[16:30] <YamakasY> I have a local mirror for packages but I want to make it smaller
[16:30] <YamakasY> I now have around 400G of packages
[16:30] <YamakasY> in my mirror
[16:30] <ikonia> remove what you don't need then
[16:30] <YamakasY> I thinik sources are included ?
[16:30] <ikonia> but you'll then ned a custom mirror script
[16:30] <YamakasY> I have
[16:31] <ikonia> otherwise it will re-download them when you sync
[16:31] <ikonia> ok, so remove what you don't need
[16:32] <ikonia> or re-run your sync script and it should delete what you told it not to sync
[16:32] <ikonia> (if you set it up to delete excludes)
[16:32] <YamakasY> that is not what I ask, I ask, what do we need ?
[16:33] <YamakasY> really need
[16:33] <YamakasY> sources ?
[16:33] <YamakasY> does some software compile from sources ?
[16:34] <lordievader> That depends on what you want to do with it.
[16:34] <lordievader> For example if you do not use X it is pointless to have it in your repo.
[16:34] <nacc> YamakasY: you mean the src packages, I think?
[16:35] <nacc> YamakasY: it's a confusing questions, potentially ... you don't generally need the sources locally, probably
[16:35] <ikonia> you need what you need
[16:35] <nacc> well, yeah :)
[16:35] <ikonia> only you can answer what you need, it's YOUR repo
[16:35] <ikonia> we don't know what your needs are
[16:36] <ikonia> and if you've customized your sync script as you've just said you have done, then that suggests you KNOW what you need
[16:43] <YamakasY> ikonia: this is what I have http://pastebin.com/rDwxnHvD
[16:51] <ikonia> YamakasY: thats just a repo list
[16:51] <ikonia> thats not a sync job
[16:56] <YamakasY> ikonia: yes, I'm not stupid, but is it what I need ?
[17:01] <YamakasY> nice docs were updated last year
[17:07] <ikonia> YamakasY: only you know what you need
[17:08] <ikonia> if I say "yes thats what you need" and then find something you need is missing, we can't know what you need, the point is you know what you need and you map it to the repos/files you actually need
[17:12] <YamakasY> ikonia: yeah I know but it's more like... most mirrors have too much :)
[17:14] <kpettit> Hi all.  I've got a new Ubuntu 14.04 system I'm doing.  I want to make it so I can run mutliple PHP versions at the same time.  I've seen some Centos/Cpanel systems that do this. I hate cpanel, but I'd like to be able to do mutliple PHP versions and specify them host by host.  Any ideas?
[17:16] <ikonia> YamakasY: then remove what you do'nt want, thats why I said you need a custom sync job
[17:19] <YamakasY> ikonia: yeah true
[17:59] <nacc> kpettit: google-ing around, it seems like there are some solutions out there
[18:00] <nacc> kpettit: http://askubuntu.com/questions/50344/how-to-have-two-version-of-php-installed-and-switch-easily
[18:01] <nacc> kpettit: there are also some tools out there, e.g. php-farm
[18:01] <nacc> kpettit: but you'll only be able to install one version from the Ubuntu repos, I believe, as they all conflict with each other
[18:01] <kpettit> nacc: I've got as far as getting php-farm installed and compiling various PHP verions.
[18:01] <nacc> kpettit: this might help? https://gist.github.com/gmodarelli/5887778
[18:01] <kpettit> it's the config of fast-cgi and all that, that is getting me.  I haven't used fastcgi and can't seem to find clear docs on how to do multiple php versions.  Just docs on single ones.
[18:02] <nacc> kpettit: the notion is that each 'site' hosts out via different CGI file, which is a per-PHP version CGI file
[18:03] <kpettit> yeah that tutorial is typicall for the ones i"ve been seeing that show using just 1 version.
[18:04] <kpettit> I see little clues here and there and some stuff for older ubuntu versions that don't quite work.  Guess I'll need to hack my way through it.
[18:06] <nacc> kpettit: I don't understand? that's explicitly for each version you need
[18:06] <nacc> kpettit: e.g., rather than just 5.5.0, do a loop over the steps with for version in 5.5.0 5.6.0 ...
[18:06] <nacc> it's the same steps for each version
[18:07] <kpettit> The part that confuses me isthe apache2.conf part.
[18:07] <kpettit> Can I keep adding new FastCgiServer / ScriptAliasa lines.  Does each line need to have a unique alias.  I'm unclear about that part.
[18:08] <nacc> http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#fastcgiserver
[18:08] <nacc> I don't think you'd add multiple scriptalias
[18:08] <nacc> they aren't per-version
[18:09] <nacc> kpettit: all the scriptalias is doing is creating a shorthand for /var/www/cgi-bin for searching for the scripts used in each site conf
[18:09] <kpettit> yeah that part was weird for me.  I've about got my first one in there.  I'll make sure the "default" one works and see about the others.  I've only got 2 php compiled versions on there now.
[18:09] <nacc> I *believe* you could get away without it altogether and use the absolute path in each conf, if you really wanted to
[18:09] <nacc> you would add a fastcgiserver per each version, though
[18:09] <kpettit> Don't I need to define a FastCgiServer line for each php version
[18:09] <kpettit> got ya.
[18:10] <kpettit> I'll give that a whirl
[18:10] <nacc> that's my quick read, yeah
[18:12] <an3k> Ubuntu Server 14.04.3: How can I check if the NIC bonding works correctly? I often get lags and sftp from one Ubuntu Server to the bonded one often have "stalled".
[18:12] <kpettit> thanks nacc!
[18:13] <nacc> kpettit: np, gl! I'll be around for a while if that doesn't work for some reason
[18:40] <kpettit> nacc,  Hahahah it worked!  It's alive.  Thanks man, it did the trick
[18:41] <nacc> kpettit: cool!
[18:42] <kpettit> I've been dying to do this forever.  Have some sites that use crappy old PHP and can't be upgraded without a lot of developemnt.  So this is a good fix.  Lets us experiement with newer php too
[20:07] <coreycb> zul, can you sponsor this merge to xenial? https://code.launchpad.net/~corey.bryant/ubuntu/+source/sqlalchemy/+git/sqlalchemy
[21:41] <cdoty> silly question.  ubuntu server 14.04.  changed to a static IP but need to set the DNS servers.  resolv.conf is were i thought i should set this but looks like it is overwrite now.  can someone point me in the right dirrection?
[21:41] <tarpman> cdoty: if you have resolvconf installed, in /etc/network/interfaces; if not, in /etc/resolv.conf
[21:41] <tarpman> cdoty: the doc for that is in, uh...
[21:41]  * tarpman rummages
[21:42] <cdoty> ahh just set it with the static ip info?
[21:42] <cdoty> also thank you.
[21:43] <tarpman> https://help.ubuntu.com/14.04/serverguide/network-configuration.html#name-resolution anyway
[21:43] <tarpman> I'm sure it's in a manpage somewhere, but can't find it right now
[21:44] <cdoty> ha ha dont worry. this is more than enough dirrection.  if i cant figure it out i most likely have other (mental) issues that are holding me back
[21:44] <sarnold> funny enough resolvconf(8) is almost a better manpage for the interfaces file than interfaces(5) is :)
[21:47] <cdoty> that is funny
[21:47] <teward> lol sarnold
[21:54] <tsimonq2> :D
[21:54] <jge>   hey all, I would like to write a script which monitors a log file which is constantly being written to, I would like for my script to return a value if it notices there's no more entries
[21:58] <sarnold> jge: there's a handful of choices; tail -f is usual, the -p <pid> option might be nice if you expect "no more entries" to happen because the one process that writes to the file files..
[21:58] <sarnold> s/file files/file dies/
[21:59] <sarnold> jge: if the file will be -closed- when it won't receive more writes, this might be useful http://inotify.aiken.cz/?section=incron&page=doc&lang=en
[22:00] <jrwren> how could it "notice there are no entries" ?
[22:09] <sarnold> my first thought was periodically statting the file and noticing when it's gone four or five stats without growing; but there may be cleaner ways to get there :)
[22:10] <jrwren> ah, unchanged within a given time period.
[22:22] <dasjoe> I'd use "inotify --event modify --timeout 5" or so
[22:34] <sarnold> dasjoe: which package?
[22:35] <dasjoe> sarnold: er, "inotifywait -e modify -t 5" from inotify-tools
[23:13] <teward> sarnold: the nginx bug re: http/2 in the descrip, and the user preferring HTTP/2 to just be turned on... fixed.
[23:13] <teward> (that merge went in today)
[23:14] <sarnold> dasjoe: looks perfect for jge's task :) awesome
[23:14] <sarnold> teward: \o/ thanks :)
[23:15] <teward> sarnold: you're welcome.  https://launchpad.net/ubuntu/+source/nginx/1.9.9-1ubuntu1
[23:15] <teward> sarnold: it's always slightly *easier* going from -0ubuntu1 -> -1ubuntu1
[23:15] <teward> probably because a bulk of changes from the upstream code were done xD