Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Tuesday, February 28, 2017

#ubuntu channel featuring vlt, Haris, vyddtu, branches, des_consolado, OnceMe, and 16 others.

vlt 2017-02-27 21:59:05
Hello. I installed xrdp on an Ubuntu 16.04 system. My tests all looked fine but now users complain about not being able to login. There seems to be a 10 user limit. How can I remove this without disturbing users that are alrrady logged in and working?
branches 2017-02-27 22:02:26
Hello, is there a way to know which kernel driver my touchpad is using?
ikevin 2017-02-27 22:02:46
branches, try lsmod
Haris 2017-02-27 22:06:30
hello all
Haris 2017-02-27 22:07:08
I'm on 14.04.2. Does upgrading to .5 enough for security updates for me till 2019 ?
Haris 2017-02-27 22:07:16
Does = I
Haris 2017-02-27 22:07:19
Does = Is
cfhowlett 2017-02-27 22:07:50
Haris, you should be on 14.04.5 which is the current version.
cfhowlett 2017-02-27 22:08:10
sudo apt-get update && sudo apt-get dist-upgrade
Haris 2017-02-27 22:08:20
have php, php lib for mysql, mysql version changed between .2 and .5 ?
cfhowlett 2017-02-27 22:08:32
14.04 is supported until 2019
strk 2017-02-27 22:11:16
hateball: ok I guess I'll surrender to network-manager, thanks for nmcli hint (I didn't know it)
ikevin 2017-02-27 22:11:49
Haris, you can update apt database and check php / mysql version with apt-cache show
Haris 2017-02-27 22:13:25
checking
Haris 2017-02-27 22:15:09
dist-upgrade and do-release-upgrade are two separate things ?
cfhowlett 2017-02-27 22:15:19
YES
Haris 2017-02-27 22:15:23
dis-upgrade would upgrade pkgs till the same major release ?
cfhowlett 2017-02-27 22:15:49
Haris, ... within the same major release
OnceMe 2017-02-27 22:17:17
I get This requires installing packages from unauthenticated sources.
OnceMe 2017-02-27 22:17:27
Im not sure what sources are those, how can I check and also how to get rid of them?
zamba 2017-02-27 22:17:35
how do i check which version of the sftp protocol a server supports?
cfhowlett 2017-02-27 22:17:46
OnceMe, /more /etc/apt/sources.list
OnceMe 2017-02-27 22:17:49
ok
OnceMe 2017-02-27 22:17:51
I also get this:
cfhowlett 2017-02-27 22:17:59
OnceMe, that would be more ...
OnceMe 2017-02-27 22:18:04
https://thepasteb.in/p/Q1hBOBAR1Zwu8
cfhowlett 2017-02-27 22:18:31
OnceMe, yep... ppa are non-trusted
OnceMe 2017-02-27 22:18:48
but why is this ppa not found?
cfhowlett 2017-02-27 22:18:54
the 404 suggests that either the package has been dropped or that source is in error
OnceMe 2017-02-27 22:18:55
I used this to regularly update php
OnceMe 2017-02-27 22:19:01
how to fix the source?
OnceMe 2017-02-27 22:19:09
Should I remove this ppa?
ikevin 2017-02-27 22:19:09
zamba, sftp localhost, when logued, type "version"
ikonia 2017-02-27 22:19:14
OnceMe: talk to the ppa owner
ikonia 2017-02-27 22:19:18
OnceMe: this is why ppa's are not trusted
cfhowlett 2017-02-27 22:19:25
OnceMe, your choice. I don't do ppa myself ...
OnceMe 2017-02-27 22:19:35
how do you install php then?
OnceMe 2017-02-27 22:19:43
also I see in sources.list.d some files
OnceMe 2017-02-27 22:19:48
those are ppa untrusted right?
cfhowlett 2017-02-27 22:19:59
from the main repos ... apt install php
ikonia 2017-02-27 22:20:04
OnceMe: you use the distro provided and maintained packages
ikonia 2017-02-27 22:20:22
that way you are guarenteed support for the lifecycle of the distro
zamba 2017-02-27 22:20:41
ikevin: thank you :)
OnceMe 2017-02-27 22:20:47
cfhowlett: but that php version is obsolete
ikevin 2017-02-27 22:21:03
zamba, you welcome
ikonia 2017-02-27 22:21:10
OnceMe: what version of ubuntu are you using
OnceMe 2017-02-27 22:21:15
14.04 LTS
ikonia 2017-02-27 22:21:21
OnceMe: what version does that ship with ?
ikonia 2017-02-27 22:21:28
5.4 ?
OnceMe 2017-02-27 22:21:45
yes
ikevin 2017-02-27 22:21:45
5.6 i think
ikevin 2017-02-27 22:21:50
o:
OnceMe 2017-02-27 22:21:55
but I need fpm as well
OnceMe 2017-02-27 22:21:58
fpm is not included
ikonia 2017-02-27 22:22:09
OnceMe: so use a later version of ubuntu (16.04 lts for example which ships with 5 or 7)
ikonia 2017-02-27 22:22:16
OnceMe: and that way you get support for the full lifecycle
OnceMe 2017-02-27 22:22:19
I want 5.6.30
ikonia 2017-02-27 22:22:35
it doesn't really work like that
ikonia 2017-02-27 22:22:40
more so with fixes being back ported
ikonia 2017-02-27 22:22:47
the version will not always match upstream
ikevin 2017-02-27 22:23:17
OnceMe, why you wan't this specific version?
OnceMe 2017-02-27 22:23:35
because I have all I need in that version
OnceMe 2017-02-27 22:23:42
and on my production server, it's 5.6.30 aswell
OnceMe 2017-02-27 22:23:46
I want that to be matched
ikonia 2017-02-27 22:23:47
OnceMe: it doesn't work like that though
OnceMe 2017-02-27 22:23:50
I could used vagrant though
OnceMe 2017-02-27 22:25:47
ikonia: what it doesnt work?
ikonia 2017-02-27 22:26:06
OnceMe: ?
OnceMe 2017-02-27 22:26:12
OnceMe: it doesn't work like that though
ikonia 2017-02-27 22:26:26
OnceMe: you don't just pick an upstream version and say "I want that"
vyddtu 2017-02-27 22:26:34
Hello. Can i pastebin an Image at https://paste.ubuntu.com/ ??
Ben64 2017-02-27 22:26:42
vyddtu: imgur.com
cfhowlett 2017-02-27 22:26:45
vyddtu, yes?
ikonia 2017-02-27 22:26:45
vyddtu: no
cfhowlett 2017-02-27 22:27:18
screenshot the image then imgur it .. though why you would want to ...
vyddtu 2017-02-27 22:27:22
oops.. i want to paste an image somewhere before asking you people my query.
Legal 2017-02-27 22:27:41
vyddtu, yes. Open image in text editor, and then paste. :/ But use imgur maybe...
vyddtu 2017-02-27 22:27:58
Legal: let me try. thanks
OnceMe 2017-02-27 22:28:01
ikonia: so what do I do?
ikonia 2017-02-27 22:28:22
OnceMe: understand the versions the distro ships and pick a distro that supplies a support version that meets your requirements
OnceMe 2017-02-27 22:28:52
well you are saying I should use vagrant
ikevin 2017-02-27 22:28:53
OnceMe, or don't upgrade php/mysql (freeze your currents package)
OnceMe 2017-02-27 22:28:56
but I think its the best way anyway
ikonia 2017-02-27 22:29:23
OnceMe: not at all
ikonia 2017-02-27 22:29:28
I'mnot saying that at all
ikevin 2017-02-27 22:29:42
OnceMe, http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package
Ben64 2017-02-27 22:29:48
really bad idea ^
ikonia 2017-02-27 22:30:04
agreed
ikevin 2017-02-27 22:30:06
i know, but ...
Ben64 2017-02-27 22:30:16
ikevin: best not to give bad ideas out probably
OnceMe 2017-02-27 22:31:01
Ben64: would you recommend vagrant
ikonia 2017-02-27 22:31:04
no
vyddtu 2017-02-27 22:31:15
Hello. I want to reinstall my Ubuntu.[[[ http://picpaste.com/unnamed.png ]] This is my current Disk Architecture along with Windows 7 installed which i feel is not correct. Please suggest me right partitions for fresh Installation.
OnceMe 2017-02-27 22:31:19
why not
Ben64 2017-02-27 22:31:25
OnceMe: no
ikonia 2017-02-27 22:31:33
OnceMe: for the reasons I stated earlier
ikonia 2017-02-27 22:31:42
I have no idea why you think vagrant voids those reasons
Ben64 2017-02-27 22:32:17
vyddtu: why reinstall? and you should be able to boot the installer and choose to replace ubuntu
vyddtu 2017-02-27 22:33:07
Ben64: you mean i run the Ubuntu 16.04 DVD again and replace Ubuntu?
Ben64 2017-02-27 22:33:17
vyddtu: yeah that should work
OnceMe 2017-02-27 22:34:24
ikonia: it doesnt
OnceMe 2017-02-27 22:34:37
but can ensure my distro is the same across local, staging and production environment
OnceMe 2017-02-27 22:34:43
I use centos 6.8 on a local/staging platform
ikonia 2017-02-27 22:34:49
OnceMe: by using the same distro
OnceMe 2017-02-27 22:34:57
yes
Ben64 2017-02-27 22:34:57
yeah, then install centos 6.8
OnceMe 2017-02-27 22:35:00
thats why I need vagrant
Ben64 2017-02-27 22:35:02
no
ikonia 2017-02-27 22:35:03
no
OnceMe 2017-02-27 22:35:05
I like ubuntu as a home desktop
ikonia 2017-02-27 22:35:05
thats how you ensure it
ikevin 2017-02-27 22:35:13
OnceMe, if you wan't the same env as your production, clone your production server
OnceMe 2017-02-27 22:35:15
what?
Ben64 2017-02-27 22:35:16
either use ubuntu or use centos, you can't make them the same
OnceMe 2017-02-27 22:35:23
I know
OnceMe 2017-02-27 22:35:24
I use ubuntu
Ben64 2017-02-27 22:35:28
i don't think you do know
OnceMe 2017-02-27 22:35:37
for a home desktop, and when I develop apps, I use vagrant to run centos 6.8
OnceMe 2017-02-27 22:35:42
becuase thats my production server
OnceMe 2017-02-27 22:35:46
right?
ikonia 2017-02-27 22:36:03
use whatever technology you feel best to deliver a centos environment that mirrors your production server
aavrug 2017-02-27 22:36:55
Hello everyone!
OnceMe 2017-02-27 22:37:30
ok great, thanks
aavrug 2017-02-27 22:37:57
I have upgraded my Ubuntu OS to 16.04. Few MySQL tables are broken because Of that. Is there any way that I can downgrade MySQL to 5.5?
ikonia 2017-02-27 22:38:04
no
OnceMe 2017-02-27 22:38:12
aavrug: use vagrant
ikonia 2017-02-27 22:38:13
and tables won't break because of an upgrade
ikonia 2017-02-27 22:38:21
OnceMe: please stop telling people to blindly use vagrant
ikonia 2017-02-27 22:38:24
it is not the answer
cfhowlett 2017-02-27 22:38:45
OnceMe, do you work for vagrant or something??
ikevin 2017-02-27 22:38:51
aavrug, normally there a script to convert mysql database after upgrade
aavrug 2017-02-27 22:38:59
ikonia, yea it is in MySQL5.7 even from 5.6 there are lot of changes and because of that something broken
aavrug 2017-02-27 22:39:14
ikevin, what's that?
OnceMe 2017-02-27 22:39:38
cfhowlett: yes
OnceMe 2017-02-27 22:39:38
:D
aavrug 2017-02-27 22:39:56
OnceMe, why I use vagrant?
Ben64 2017-02-27 22:40:07
aavrug: you don't, it's not a solution
aavrug 2017-02-27 22:40:07
I don't think this is my solution
ikonia 2017-02-27 22:40:10
aavrug: you need to understand what is cause the problems and if it's really "tables" that are broken
aavrug 2017-02-27 22:40:16
Ben64, yea
vyddtu 2017-02-27 22:40:42
Ben64: actually my ubuntu /var used to get filled. Tired of solving this problem am trying re-install.
ikevin 2017-02-27 22:41:03
aavrug, what does mysql log said?
Ben64 2017-02-27 22:41:04
vyddtu: you'd probably have more luck solving the problem instead of reinstalling
aavrug 2017-02-27 22:41:44
ikonia, I got the error and tried to fix that but still getting same error like there is a comparuison using ">" operator which is working fine in 5.5 but from 5.6 it is not working. Even I tried to convert my tables to utf8-general-cli but still not working
ikonia 2017-02-27 22:42:09
you've just said things that don't make sense
ikonia 2017-02-27 22:42:24
you have a comparison in the sql thats failing, so you convert your tables to utf8 ?
vyddtu 2017-02-27 22:42:42
Ben64: i tried shifting /var to my my home director and making appropriate changes in fstab, but thats where i broke the system. it is working but shows errors.
Ben64 2017-02-27 22:43:04
vyddtu: why would you move /var to home???
cfhowlett 2017-02-27 22:43:33
vyddtu, wait, what? why?
aavrug 2017-02-27 22:43:36
The table collation was latin-swedish-ci and I searched for the error I got that I have to change it to utf8...
ikevin 2017-02-27 22:43:51
aavrug, ">" operator work fine in mysql 5.7
ikonia 2017-02-27 22:44:04
aavrug: the first thing I would suggest you do is make a clean note of the problems/errors, then talk to the #mysql channel to understand how to deal with them
ikonia 2017-02-27 22:44:20
the problem isn't ubuntu, the problem is your application may need work to comply with the later mysql version
ikevin 2017-02-27 22:44:30
aavrug, "select 2 > 1 ;" said what?
vyddtu 2017-02-27 22:44:45
Ben64: My /var used to get filled and i was unable to install any more software when my root had much space. So i was suggested to merge /var with root partition and delete /var
aavrug 2017-02-27 22:44:52
ikonia, 1
vyddtu 2017-02-27 22:45:00
cfhowlett: sorry merge /var to root i meant
cfhowlett 2017-02-27 22:45:14
vyddtu, worst - advice - ever
ikevin 2017-02-27 22:45:32
aavrug, it mean the operator work, maybe you have problem with rom type
vyddtu 2017-02-27 22:45:37
cfhowlett: i was given this link to follow: http://askubuntu.com/questions/89105/how-do-i-relocate-on-my-ubuntu-moveable-directories-var-and-usr
aavrug 2017-02-27 22:45:39
Btw I know it is MySQL related error but I have shortage of time that's why I was looking for a way to downgrade the MySQL version.
ikevin 2017-02-27 22:45:40
row*
aavrug 2017-02-27 22:46:02
But it seems there is no way to achieve that.
ikonia 2017-02-27 22:46:13
aavrug: not going to happen
ikonia 2017-02-27 22:46:24
aavrug: get everything documented and clear and talk to the experienced guys in #mysql
aavrug 2017-02-27 22:46:35
ok thanks
ikonia 2017-02-27 22:46:35
aavrug: they will be your quickest path to sucess
aavrug 2017-02-27 22:46:45
yea I think so
ikonia 2017-02-27 22:47:08
aavrug: you'll need to describe your problems clearly though
ikevin 2017-02-27 22:47:13
aavrug, be sure you row are INT (or any numeric type)
aavrug 2017-02-27 22:47:36
ok I'll check and thanks I'll take care of that.
vyddtu_ 2017-02-27 22:51:08
sorry got disconnected :-(
des_consolado 2017-02-27 23:04:49
this resolvconf package... wtf is this? what was wrong with just having /etc/resolv.conf, nice and simple?
ikonia 2017-02-27 23:05:29
some people benifit from it with things like dnsmasq for vpn connections
NotLim 2017-02-27 23:09:56
des_consolado
NotLim 2017-02-27 23:10:03
you don't like resolvconf?
des_consolado 2017-02-27 23:12:01
NotLim: I don't think so, I haven't looked too much at it but it's certainly not as simple as the usual resolv.conf
NotLim 2017-02-27 23:12:38
yes
NotLim 2017-02-27 23:12:52
you just have to edit /etc/resolvconf/resolv.conf.d/base
NotLim 2017-02-27 23:12:53
i think
NotLim 2017-02-27 23:12:59
then resolvconf -u
g105b 2017-02-27 23:19:55
I need to start multiple python scripts concurrently, and keep them running even if they fail. Is systemd the tool for the job?
ikevin 2017-02-27 23:21:20
g105b, yep it can
g105b 2017-02-27 23:21:55
More specifically, I know there are various tools around systemd (upstart, initd), and I wanted to make sure I have the terminology correct before googling.
ikevin 2017-02-27 23:22:32
g105b, it depend of the ubuntu version you use
CFIL 2017-02-27 23:22:37
I am looking for a parental control system for children, it should mainly be able to do two things: restrict computer and internet access times and log what the children are doing/which applications they are using. but the first one is more importan
jk_ 2017-02-27 23:22:39
hi
CFIL 2017-02-27 23:22:42
does anyone know of such a thing?
k1l_ 2017-02-27 23:22:57
g105b: upstart and sysvinit are not tools around systemd, all 3 are init systems.
jk_ 2017-02-27 23:22:58
How are you?
ikevin 2017-02-27 23:23:27
CFIL, iirc, dnsmask can do this kind of things
g105b 2017-02-27 23:23:38
CFIL: Google Chrome browser has some good parental controls, unless your kids are trying to do something linux specific
ikonia 2017-02-27 23:23:48
isn't there a parental control thing built into the desktop ?
g105b 2017-02-27 23:24:21
ikevin: yes but that is too easy to google for.
CFIL 2017-02-27 23:24:34
ikonia, is it part of unity?
ikonia 2017-02-27 23:25:10
CFIL: not sure, I'm not sure it exists, I'm working from memory
tatertots 2017-02-27 23:25:13
CFIL: put some thought into a single silver bullet strategy....and the weakness of such a single silver bullet strategy....
ikonia 2017-02-27 23:25:30
there is this info from the ubuntu wiki using different tools https://help.ubuntu.com/community/ParentalControls
CFIL 2017-02-27 23:26:02
ok thanks everyone
CFIL 2017-02-27 23:26:15
tatertots, I don't understand what you mean by that
jk_ 2017-02-27 23:26:18
ping
tatertots 2017-02-27 23:26:55
CFIL: good luck
cfhowlett 2017-02-27 23:27:12
jk_, the topic is ubuntu support. ask your questions or chitchat in #ubuntu-offtopic,
jk_ 2017-02-27 23:27:12
at me
ikevin 2017-02-27 23:27:20
CFIL, install ctparental and configur it at http://127.0.0.1/CTadmin/
CFIL 2017-02-27 23:28:43
ikevin, thanks, I am looking into that
tatertots 2017-02-27 23:28:58
CFIL: best analogy i can throw at you is......my automobile has seat belts AND air bags
tatertots 2017-02-27 23:29:36
if you still don't get it....i can't help you there
CFIL 2017-02-27 23:31:02
yes but this is just about some time control for children, not about car crashes. And if they put the effort into it and find some holes in the control program its not even bad, at least they had to think about how the system works
tatertots 2017-02-27 23:32:24
good luck with your endeavors
g105b 2017-02-27 23:40:26
If I put a new .service file in /lib/systemd/system will it load at boot time by default, or do I need to do some configuration to get it to start automatically?
ikevin 2017-02-27 23:43:57
g105b, you need to do a systemctl enable
EriC^^ 2017-02-27 23:44:18
*enable
g105b 2017-02-27 23:44:21
ikevin: and that will persist across multiple boots?
ikevin 2017-02-27 23:44:32
g105b, yes
g105b 2017-02-27 23:44:37
Cool, sounds simple.
ikevin 2017-02-27 23:44:40
EriC^^, +1 (sorry)