/srv/irclogs.ubuntu.com/2016/01/15/#ubuntu-server.txt

=== stevenroose|BNC is now known as stevenroose
=== cpaelzer_afk is now known as cpaelzer
Voyage I have GUI, how to see any files EVER opened by kate?05:19
Voyage I wrote a file in kate, now i cant find it. used search but no benefit. If can see the history, It wil help05:25
=== cpaelzer is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== kickinz1|eod is now known as kickinz1
=== Lcawte|Away is now known as Lcawte
=== n0Str3s5 is now known as n0Str3s5-AW
BlueSharkHi.09:28
BlueSharkWhen 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 directory09:28
BlueSharkHow can I fix it?09:28
lordievaderBy installing the modules for that kernel?09:31
lordievaderI.e. sudo apt-get install linux-image-extras (IIRC)09:32
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
NoCodeHi, 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?09:59
TJ-NoCode: seems like for some reason the system is missing bsdutils10:08
NoCodeTJ-, I'll try that, thank you.10:09
NoCodewow 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-base10:10
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-base10:12
NoCodeI just found out that I am using an EOL release, I will attempt to upgrade.10:15
TJ-15.04 expires in early February10:16
TJ-NoCode: it looks like that mysql-server-5.6 package is missing a depends on bsdutils (which contains /usr/bin/logger)10:17
an3k>> mount: unknown filesystem type 'exfat' << head -> table10:20
lordievaderan3k: Is the exfat tools installed?10:21
lordievader!info exfat-fuse10:22
ubottuexfat-fuse (source: fuse-exfat): read and write exFAT driver for FUSE. In component universe, is optional. Version 1.1.0-2 (wily), package size 29 kB, installed size 102 kB (Only available for linux-any; kfreebsd-any)10:22
TJ-NoCode: I've created a bug report for your issue bug 153454410:41
ubottubug 1534544 in mysql-5.6 (Ubuntu) "Package mysql-server-5.6 should Depend: bsdutils for /usr/bin/logger in .postinst" [High,Triaged] https://launchpad.net/bugs/153454410:41
NoCodeTJ-, Nice. :)10:41
=== cpaelzer_ is now known as cpaelzer_afk
ikoniaTJ-: thats teh same package thats in the desktop, how has that got past a basic uninstall test ?10:44
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 installed10:45
ikoniaTJ-: would explain the desktop checks passing10:52
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== cpaelzer_ is now known as cpaelzer_afk
=== cpaelzer_afk is now known as cpaelzer_
=== Lcawte is now known as Lcawte|Away
djleeHi 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 ran13:29
djleege anymore since they migrated)13:29
TJ-djlee: if it is statically defined, any other host on the same segment doing an ARP might get a reply from your host13:39
djleeTJ-: Fair enough, guess they do have a good reason to being that audit :P13:40
djleeto be doing* even13:40
=== enleeten is now known as Guest23801
=== enleeten is now known as Guest52807
=== enleeten45 is now known as enleeten
YamakasYis it needed, mostly, to mirror the sources ?16:25
YamakasYfor a local mirror ?16:25
ikoniais what needed ?16:26
YamakasYwhere are the sources used for ? I mean, when you install dev packages, do they need sources ?16:28
ikoniawhat do you mean ?16:30
ikoniawhat are you actually trying to do ?16:30
YamakasYI have a local mirror for packages but I want to make it smaller16:30
YamakasYI now have around 400G of packages16:30
YamakasYin my mirror16:30
ikoniaremove what you don't need then16:30
YamakasYI thinik sources are included ?16:30
ikoniabut you'll then ned a custom mirror script16:30
YamakasYI have16:30
ikoniaotherwise it will re-download them when you sync16:31
ikoniaok, so remove what you don't need16:31
ikoniaor re-run your sync script and it should delete what you told it not to sync16:32
ikonia(if you set it up to delete excludes)16:32
YamakasYthat is not what I ask, I ask, what do we need ?16:32
YamakasYreally need16:33
YamakasYsources ?16:33
YamakasYdoes some software compile from sources ?16:33
lordievaderThat depends on what you want to do with it.16:34
=== enleeten61 is now known as enleeten
lordievaderFor example if you do not use X it is pointless to have it in your repo.16:34
naccYamakasY: you mean the src packages, I think?16:34
naccYamakasY: it's a confusing questions, potentially ... you don't generally need the sources locally, probably16:35
ikoniayou need what you need16:35
naccwell, yeah :)16:35
ikoniaonly you can answer what you need, it's YOUR repo16:35
ikoniawe don't know what your needs are16:35
ikoniaand if you've customized your sync script as you've just said you have done, then that suggests you KNOW what you need16:36
YamakasYikonia: this is what I have http://pastebin.com/rDwxnHvD16:43
ikoniaYamakasY: thats just a repo list16:51
ikoniathats not a sync job16:51
YamakasYikonia: yes, I'm not stupid, but is it what I need ?16:56
=== Piper-Off is now known as Monthrect
YamakasYnice docs were updated last year17:01
ikoniaYamakasY: only you know what you need17:07
ikoniaif 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 need17:08
YamakasYikonia: yeah I know but it's more like... most mirrors have too much :)17:12
kpettitHi 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:14
ikoniaYamakasY: then remove what you do'nt want, thats why I said you need a custom sync job17:16
YamakasYikonia: yeah true17:19
=== stevenroose|BNC is now known as stevenroose
nacckpettit: google-ing around, it seems like there are some solutions out there17:59
nacckpettit: http://askubuntu.com/questions/50344/how-to-have-two-version-of-php-installed-and-switch-easily18:00
nacckpettit: there are also some tools out there, e.g. php-farm18:01
nacckpettit: but you'll only be able to install one version from the Ubuntu repos, I believe, as they all conflict with each other18:01
kpettitnacc: I've got as far as getting php-farm installed and compiling various PHP verions.18:01
nacckpettit: this might help? https://gist.github.com/gmodarelli/588777818:01
kpettitit'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:01
nacckpettit: the notion is that each 'site' hosts out via different CGI file, which is a per-PHP version CGI file18:02
kpettityeah that tutorial is typicall for the ones i"ve been seeing that show using just 1 version.18:03
kpettitI 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:04
nacckpettit: I don't understand? that's explicitly for each version you need18:06
nacckpettit: 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
naccit's the same steps for each version18:06
kpettitThe part that confuses me isthe apache2.conf part.18:07
kpettitCan I keep adding new FastCgiServer / ScriptAliasa lines.  Does each line need to have a unique alias.  I'm unclear about that part.18:07
nacchttp://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#fastcgiserver18:08
naccI don't think you'd add multiple scriptalias18:08
naccthey aren't per-version18:08
nacckpettit: all the scriptalias is doing is creating a shorthand for /var/www/cgi-bin for searching for the scripts used in each site conf18:09
kpettityeah 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
naccI *believe* you could get away without it altogether and use the absolute path in each conf, if you really wanted to18:09
naccyou would add a fastcgiserver per each version, though18:09
kpettitDon't I need to define a FastCgiServer line for each php version18:09
kpettitgot ya.18:09
kpettitI'll give that a whirl18:10
naccthat's my quick read, yeah18:10
an3kUbuntu 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
kpettitthanks nacc!18:12
nacckpettit: np, gl! I'll be around for a while if that doesn't work for some reason18:13
kpettitnacc,  Hahahah it worked!  It's alive.  Thanks man, it did the trick18:40
nacckpettit: cool!18:41
kpettitI'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 too18:42
coreycbzul, can you sponsor this merge to xenial? https://code.launchpad.net/~corey.bryant/ubuntu/+source/sqlalchemy/+git/sqlalchemy20:07
=== Monthrect is now known as Piper-Off
cdotysilly 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
tarpmancdoty: if you have resolvconf installed, in /etc/network/interfaces; if not, in /etc/resolv.conf21:41
tarpmancdoty: the doc for that is in, uh...21:41
* tarpman rummages21:41
cdotyahh just set it with the static ip info?21:42
cdotyalso thank you.21:42
tarpmanhttps://help.ubuntu.com/14.04/serverguide/network-configuration.html#name-resolution anyway21:43
tarpmanI'm sure it's in a manpage somewhere, but can't find it right now21:43
cdotyha 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 back21:44
sarnoldfunny enough resolvconf(8) is almost a better manpage for the interfaces file than interfaces(5) is :)21:44
cdotythat is funny21:47
tewardlol sarnold21:47
tsimonq2:D21: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 entries21:54
sarnoldjge: 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
sarnolds/file files/file dies/21:58
sarnoldjge: 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=en21:59
jrwrenhow could it "notice there are no entries" ?22:00
sarnoldmy 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:09
jrwrenah, unchanged within a given time period.22:10
dasjoeI'd use "inotify --event modify --timeout 5" or so22:22
sarnolddasjoe: which package?22:34
dasjoesarnold: er, "inotifywait -e modify -t 5" from inotify-tools22:35
=== n0Str3s5-AW is now known as n0Str3s5
tewardsarnold: 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:13
sarnolddasjoe: looks perfect for jge's task :) awesome23:14
sarnoldteward: \o/ thanks :)23:14
tewardsarnold: you're welcome.  https://launchpad.net/ubuntu/+source/nginx/1.9.9-1ubuntu123:15
tewardsarnold: it's always slightly *easier* going from -0ubuntu1 -> -1ubuntu123:15
tewardprobably because a bulk of changes from the upstream code were done xD23:15

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!