Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Monday, February 27, 2017

#ubuntu channel featuring FoeHammered, zerorax, azizLIGHT, zach2825, Epx998, zleap, and 10 others.

zleap 2017-02-27 12:45:30
i think you disable the firewall by using sudo service ufw stop (but don't quote me on that
nacc 2017-02-27 12:45:32
Epx998: i'm not sure, but i don't think that's ubuntu -- and it's hard to tell but i'd guess maybe a key mismatch?
Epx998 2017-02-27 12:45:34
nacc: yes, but i've tried from different servers
zleap 2017-02-27 12:45:48
if ytou disable the firewall and it works you know the firewall was possibly causing the issue
Epx998 2017-02-27 12:46:00
nacc: I tried from a server thats never connected. hmm.
Bashing-om 2017-02-27 12:46:34
Zambzz: A thought; at the login box session dropdowm, can you not choose unity7 ?
crendel 2017-02-27 12:46:57
Epx998: are you trying to connect with identity files? what's the command you're issuing
Zambzz 2017-02-27 12:47:28
Crendel, errors just keep repeating "unity8-dash main process (2968) killed by ABRT Signal
Epx998 2017-02-27 12:47:44
nacc: no identify files are benig specified
nacc 2017-02-27 12:48:19
Epx998: does the server indicate anything in its logs?
Zambzz 2017-02-27 12:48:55
could it be my vpn client interfering as launches the pass window as sooon as i startup?
Zambzz 2017-02-27 12:50:23
its not the best coded vpn client,msecure and works but could be better
Epx998 2017-02-27 12:50:57
nacc: nothing that I can see, checking to see if something pops up
crendel 2017-02-27 12:51:16
Zambzz: possibly... does that prompt actually pop up?
Zambzz 2017-02-27 12:52:04
only when i type startx, overwise i can see anything due to black screen
Zambzz 2017-02-27 12:52:09
cant*
azizLIGHT 2017-02-27 12:53:01
when i do ' dpkg -l | grep xedgers ' i see a bunch of packages with rc in the front: http://paste.ubuntu.com/24081254/ . if i dont want any xedgers stuff lingering on my system, what should i do? it seems like some of it is installed even though it says rc? heres apt-cache policy of those packages: http://paste.ubuntu.com/24081262/
Zambzz 2017-02-27 12:53:32
btw changing the ~/.dmrc to unity 7 did nothing
nacc 2017-02-27 12:55:25
!ppa-purge | azizLIGHT
ubottu 2017-02-27 12:55:25
azizLIGHT: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html
azizLIGHT 2017-02-27 12:55:37
nacc: i already have run ppa-purge on xorg-edgers
crendel 2017-02-27 12:56:04
Zambzz: hm. you could try reinstalling lightdm and unity8 from apt-get
azizLIGHT 2017-02-27 12:56:12
this is packages that have ubuntu repo versions but configs or something from xorg-edgers ppa lingering? im noit sure
nacc 2017-02-27 12:56:13
azizLIGHT: you have other ppas than xorg-edgers
Bashing-om 2017-02-27 12:56:25
azizLIGHT: While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package. To purge all removed but not yet purged packages, where The state is rc, the package is removed, but the config files are not removed.... - dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge - .
crendel 2017-02-27 12:56:34
Zambzz: and removing ~/.cache might help (possibly try that before)
Epx998 2017-02-27 12:56:38
nacc: I wonder if my preseed is wrong all of a sdden
azizLIGHT 2017-02-27 12:56:44
Bashing-om: ma man
Epx998 2017-02-27 12:57:08
nacc: its my dhcp server
nacc 2017-02-27 12:57:20
Epx998: hrm
Epx998 2017-02-27 12:58:13
nacc: I am testing dnsmasq/tftp for 14 and 16, new setup - when i disable dnsmsaq and reable the legacy dhcp, it works
Zambzz 2017-02-27 12:58:32
whats then command to reinstall, im still beginnger when it comes to this stuff
Epx998 2017-02-27 12:58:43
workmate wanted me to try a new dnsmasq.conf he wrote - day he left, that bastard.
azizLIGHT 2017-02-27 12:59:37
Bashing-om: that did the trick. thanks
crendel 2017-02-27 13:00:01
Zambzz: sudo apt-get install --reinstall lightdm unity8-desktop-session
Zambzz 2017-02-27 13:00:16
thanks 😀
Bashing-om 2017-02-27 13:00:58
azizLIGHT: :) of course . Now if ya can just get stable on a default install .
causative 2017-02-27 13:01:04
I've been having a problem where my game repeatedly freezes for a second at a time, and I've noticed that each time this happens, my CPU0 usage drops to zero for a brief period... so maybe there is something wrong with CPU0, is t here any way to disable it? if I try echo 0 | sudo tee /sys/devices/system/cpu/cpu0/online I get permission denied (I can disable the other 7 CPUs)
causative 2017-02-27 13:01:27
or I'd like to switch some other CPU to CPU0
FoeHammered 2017-02-27 13:01:33
oscar mike golf i learned so much today thank y'all
nacc 2017-02-27 13:01:51
causative: if you really have an issue with cpu 0, that measn you probalby have a hardware issue.
nacc 2017-02-27 13:02:15
causative: most likely, given that you're playing a game on it, cpu 0 is really thread 0 or so
causative 2017-02-27 13:02:51
nacc, I have disabled the other 7 CPUs, andI'm watching my system monitor performance widget
causative 2017-02-27 13:02:55
so it's def CPU 0
causative 2017-02-27 13:03:33
also this is not just this one application, I have had similar freezes at other times, this is just when it's more of a problem
nacc 2017-02-27 13:03:59
causative: "CPU" is just the Linux terminology, it's really a logical thing, not a physical thing.
nacc 2017-02-27 13:04:20
causative: it seems incredibly unikely that only your thread 0 would have physical issues and none of the others
Gongoj 2017-02-27 13:04:29
Question. In bash is it possible to inject a keystroke through a script to automatically accept a license?
causative 2017-02-27 13:04:30
it's a single threaded program
azizLIGHT 2017-02-27 13:04:41
Bashing-om: well i think im stable now. the whole reason im trying to get to HWE 4.4 was xbox one controller support. but im hearing from my other hcannels that i should just a newer version of xpad
azizLIGHT 2017-02-27 13:04:56
ive been doing this all wrong eh
azizLIGHT 2017-02-27 13:05:04
and causing my self and all of you such headaches
nacc 2017-02-27 13:05:16
causative: do you understand cpu topology?
causative 2017-02-27 13:05:20
nacc, are you telling me that /proc/cpuinfo is purely logical and has no correspondence to my hardware, even t hough it lists 8 CPUs and that is my hardware?
nacc 2017-02-27 13:05:28
causative: when i said thread 0 it had nothing to do with your software threads
nacc 2017-02-27 13:05:38
Gongoj: you could use expect
nacc 2017-02-27 13:05:47
Gongoj: or `yes`
Bashing-om 2017-02-27 13:05:48
azizLIGHT: All a process of learning . there is the care and feeding of your 'buntu :P
Gongoj 2017-02-27 13:05:53
For instance the command 'sudo apt-get install virtualbox-ext-pack' needs me to use the keys tab spacebar spacebar to accept agreement. Can this automated?
nacc 2017-02-27 13:06:10
Gongoj: you don't want to automate, genearlly, accepting agreements
nacc 2017-02-27 13:06:56
causative: no, i am saying that if /proc/cpuinfo says you ahve 8 cpus, it means you ahve 8 logical cpus. It does not mean you physically have 8 cpus. Which means that even if you did disable logical CPU 0, that if your hardware is that broken, there's probably something else wrong
causative 2017-02-27 13:06:58
nacc, I am not aware of an alternate meaning of thread than software threads, and googling doesn't turn up much, can you give me a link?
Gongoj 2017-02-27 13:07:15
i just want to automate my virtualbox installation as much as possible.
nacc 2017-02-27 13:07:18
causative: SMT?
nacc 2017-02-27 13:07:25
causative: Symmetric Multi-Threading
UserUS 2017-02-27 13:07:35
Gonoj: Yes, you can write a simple script and have it execute at a certain time
causative 2017-02-27 13:08:25
nacc, there may be something wrong, I did get some weird CPU pipeline errors some months ago though they haven't returned
Gongoj 2017-02-27 13:08:40
From the example I gave I don't know how to automate the accepting of the license.
causative 2017-02-27 13:08:43
but it seems it might be possible the error is just in one specific core
causative 2017-02-27 13:08:49
and I want to disable that core and see if it helps
causative 2017-02-27 13:09:00
except I'm not able to disable cpu0, just the others
UserUS 2017-02-27 13:09:46
causative: that will cause a logical failure, it will get bad blocks
nacc 2017-02-27 13:10:00
causative: i don't think you understand how computer hardware works, or the likelihood of only one core being bad, but let me look
nacc 2017-02-27 13:10:06
UserUS: what? cores have nothing to do with blocks
nacc 2017-02-27 13:11:19
causative: you oculd isolcpus=0 and see if stuff just doesn't get scheduled on logical cpu 0
UserUS 2017-02-27 13:11:27
nacc: it will lead to that with the miswrites if all but one logical unit is left
nacc 2017-02-27 13:11:34
UserUS: what are you talking about?
nacc 2017-02-27 13:11:50
UserUS: 'all but one logical unit'?
UserUS 2017-02-27 13:12:08
nacc: so if he disable the other 7
nacc 2017-02-27 13:12:15
causative: alternatively, i think you need to pass 'cpu0_hotplug=1'
Zambzz 2017-02-27 13:12:22
credel, well that didn't work 😢
causative 2017-02-27 13:12:27
I would enable one of the other 7 before disabling 0
Zambzz 2017-02-27 13:12:30
crendel*
nacc 2017-02-27 13:12:31
causative: generally, cpu0 isn't hotpluggable, because there are lots of assumptions
nacc 2017-02-27 13:12:38
UserUS: you can't disable all your cpus
nacc 2017-02-27 13:12:41
causative: --^
nacc 2017-02-27 13:12:50
causative: so you don't need to worry abou tthat
UserUS 2017-02-27 13:12:55
nacc: oh well good
Alessandro_ 2017-02-27 13:13:14
Hello. I'm having some issues using MariaDB on Ubuntu 16.04. I install it with "apt-get install mariadb-server mariadb-client". When I run "mysql -uroot", however, I get "Access denied for user 'root'@'localhost'". I then run mysql_safe_installation and set a password for the root user, and I still get the same error over and over again when logging in with "mysql -uroot -p" and typing the correct password. any hint?
nacc 2017-02-27 13:13:21
UserUS: which is why i asked what you were talkinga bout. Because if you could, then where you would 'you' (the shell you're running) be running?
UserUS 2017-02-27 13:13:34
nacc: exactly
Gongoj 2017-02-27 13:13:41
Ugh okay thanks
nacc 2017-02-27 13:13:44
UserUS: what does that at all ahve to do with bad blocks?
nacc 2017-02-27 13:14:09
causative: without cpu0, you won't be able to suspend/resume, some machines also won't poweroff wihtout it
causative 2017-02-27 13:14:23
nacc, pardon me if this is a silly question, is there any way to direct it so that CPU 0 is still CPU 0, but the game's thread is forced to run on a different CPU?
nacc 2017-02-27 13:14:33
causative: yes
Zambzz 2017-02-27 13:14:33
ooo crendel for some reason by entering recovery mode and then exiting it got me bk to login and now i see stuff
nacc 2017-02-27 13:14:47
causative: also, i think the ubuntu kernel does not set CONFIG_BOOTPARAM_HOTPLUG_CPU0 so it won't matter, you still can't hotplug it :)
UserUS 2017-02-27 13:14:52
nacc: well, if somehow you could theoretically stay connected after disabling them, the drive could fail
nacc 2017-02-27 13:15:04
UserUS: that is, as far as I can tell, gibberish
Zambzz 2017-02-27 13:15:10
my problem is solved, thanks for the help guys
nacc 2017-02-27 13:15:10
UserUS: and not useful in a support channel
UserUS 2017-02-27 13:15:23
nacc: you asked what I meant
nacc 2017-02-27 13:15:25
causative: taskset
nacc 2017-02-27 13:16:01
UserUS: and i think what you are saying you meant is 'if you could run a process without any cpus online, you could get bad blocks'. Which is ... gibberish.
zach2825 2017-02-27 13:16:02
hello, does anybody here use LXC?
nacc 2017-02-27 13:16:14
zach2825: LXD, but I have also used LXC (there is also #lxcontainers)
zach2825 2017-02-27 13:16:36
lxc network used to be a command but now its gone in version 2.0.9
UserUS 2017-02-27 13:16:53
nacc: to suggest that a memory failure could happen?
zach2825 2017-02-27 13:17:00
and i can't figure out how to do networking stuff
nacc 2017-02-27 13:17:37
zach2825: lxc != lxd
crendel 2017-02-27 13:17:44
Zambzz: no problem, good luck :)
Alessandro_ 2017-02-27 13:17:56
Hello. I'm having some issues using MariaDB on Ubuntu 16.04. I install it with "apt-get install mariadb-server mariadb-client". When I run "mysql -uroot", however, I get "Access denied for user 'root'@'localhost'". I then run mysql_safe_installation and set a password for the root user, and I still get the same error over and over again when logging in with "mysql -uroot -p" and typing the correct password. any hint?
nacc 2017-02-27 13:18:23
Alessandro_: may want to ask in #ubuntu-server
Alessandro_ 2017-02-27 13:18:37
nacc thanks
nacc 2017-02-27 13:18:58
UserUS: fine, 'if you could run a process without any cpus online, you could see a memory failure'. a) vacuously true and b) it doesn't make any sense. Please drop it.
UserUS 2017-02-27 13:21:05
nacc: I will. But you should do some research.
causative 2017-02-27 13:25:38
thanks nacc i tried taskset, no improvement, guess i need to look elsewhere, try isolcpus=0, or give up
nacc 2017-02-27 13:26:16
causative: with taskset did you isolate it to not cpu 0? did cpu 0 still get used?
causative 2017-02-27 13:27:00
command was taskset -p fe 5856, previously it was ff
causative 2017-02-27 13:27:15
I don't know how to check if cpu 0 is still getting used
nacc 2017-02-27 13:27:32
causative: taskset -p pid
nacc 2017-02-27 13:27:41
causative: how were you checking if it was getting used before??
causative 2017-02-27 13:27:51
that's how i checked
causative 2017-02-27 13:27:58
thought you meant something else
causative 2017-02-27 13:28:01
yes, it's fe now
nacc 2017-02-27 13:28:15
causative: but how did you check before?
causative 2017-02-27 13:28:27
taskset -p 5856
causative 2017-02-27 13:28:48
before you talked to me i turned all the other CPUs off so what I saw in the system monitor widget had to be on CPU0
nacc 2017-02-27 13:29:02
causative: no, i meant earlier you saw that cpu 0 was dropping off or whatever
nacc 2017-02-27 13:29:07
causative: also, you did turn some other cpus back on, right?
zerorax 2017-02-27 13:29:11
anyone else using mariadb have a problem with the current version in the repo hanging right after you start it?
causative 2017-02-27 13:29:28
yeah i turned them all back on
zerorax 2017-02-27 13:29:30
*16.04
Grasdorvo 2017-02-27 13:30:00
o
causative 2017-02-27 13:30:39
specifically the monitor is called indicator-multiload
nacc 2017-02-27 13:31:25
causative: the thing is if cpu0 is glitchy, then anything runnng on cpu0 will lead to issues
nacc 2017-02-27 13:31:44
causative: so it doesn't really make sense to just try and taskset the one task you care about, other stuff is running too
causative 2017-02-27 13:32:11
you think I should try tasksetting all processes to fe?
nacc 2017-02-27 13:33:26
causative: you won't be able to probably
nacc 2017-02-27 13:33:33
causative: isolcpus is probably easier to do