Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Friday, March 3, 2017

#ubuntu channel featuring ritisha, RadiantNova, EriC^^, mvvvv, Slown, k1l_, and 12 others.

ljc 2017-03-02 22:47:50
i've connected to my box via ssh, but these sessions are long gone and done
ljc 2017-03-02 22:48:01
but i do `ps a` and processes are still running
ljc 2017-03-02 22:48:14
is there a neat way to terminate an old ssh session/processes?
Slown 2017-03-02 22:48:23
Hello everybody
Slown 2017-03-02 22:48:37
I'm wondering if I should install the server version or the minimal one
Slown 2017-03-02 22:48:49
I'm using and old pc like a home server
Slown 2017-03-02 22:49:02
to share files
akik 2017-03-02 22:49:10
ljc: there's a way to kill all of your user processes but i'm not sure if you want that
Slown 2017-03-02 22:49:11
and provide some other services like dns and apache
mahakal 2017-03-02 22:49:11
Eric^^: i have completed command till "pressin P" what next?
Slown 2017-03-02 22:49:11
what do you advice me fox ?
ljc 2017-03-02 22:49:20
mm..which user? :x
ikevin 2017-03-02 22:49:28
Slown, install base system then install package ubuntu-server
akik 2017-03-02 22:49:32
ljc: processes owned by your user account
Slown 2017-03-02 22:49:44
base system ?
ljc 2017-03-02 22:49:53
that's not ideal but i'm curious
Slown 2017-03-02 22:49:55
there is an ubuntu server iso
Slown 2017-03-02 22:49:59
should I use it ?
k1l_ 2017-03-02 22:50:10
Slown: if you want the server why not installing the server iso?
ikevin 2017-03-02 22:50:20
yes you can, so you asked about minimal one
akik 2017-03-02 22:50:28
ljc: the command is "kill -9 -1" but remember it kills all the processes running under your user account
EriC^^ 2017-03-02 22:50:42
mahakal: does it show the files?
Slown 2017-03-02 22:50:47
k1l_, it's not a production server
Slown 2017-03-02 22:50:51
it's just a home server
k1l_ 2017-03-02 22:50:55
Slown: that doesnt matter
Slown 2017-03-02 22:51:12
and it's an old pc
Slown 2017-03-02 22:51:20
so np with ubuntu server ?
k1l_ 2017-03-02 22:51:23
that doesnt matter, too :)
ljc 2017-03-02 22:51:26
akik: thanks :)
mahakal 2017-03-02 22:51:28
Eric^^: i cant understand it
Slown 2017-03-02 22:51:35
thanks
k1l_ 2017-03-02 22:51:47
server.iso doesnt mean its only for new server hardware in hosting locations :)
linocisco 2017-03-02 22:53:01
hi all
linocisco 2017-03-02 22:53:03
how can I set alarm with sound when laptop battery level is 20% or 100%?
mahakal 2017-03-02 22:53:24
Eric^^: http://pastebin.ubuntu.com/24101194/
Slown 2017-03-02 22:53:30
Is there any advantages installing the server version instead of the minimal one ?
EriC^^ 2017-03-02 22:54:56
mahakal: press q, pastebin the partitions it found
EriC^^ 2017-03-02 22:54:57
Slown: server supports uefi for 1
Slown 2017-03-02 22:55:17
it's and old pc with bios and x86 architecture
Slown 2017-03-02 22:55:19
:p
mahakal 2017-03-02 22:56:48
EriC^^: http://pastebin.ubuntu.com/24101208/
sojusnik 2017-03-02 22:57:04
On Ubuntu Gnome 16.10 the Gnome-Shell is sporadically crashing after unlocking the lock-screen. Restarting it (Alt+F2, then r) helps, but gets annoying over time. I'm searching for a way to debug this, especially with logs, but don't know where to find them. /var/crash/ (apport saves its reports there) also doesn't contain any files regarding the gnome-shell crash. Thanks for helping!
dnel 2017-03-02 22:57:14
akik: that bug report looks like the right kind of thing but the solution didn't work for me unfortunately
EriC^^ 2017-03-02 22:57:28
mahakal: try the second partition
ikevin 2017-03-02 22:58:01
Slown, if you install minimal one you will just have packages what you need
EriC^^ 2017-03-02 22:58:11
mahakal: whatever you do, dont write anything, it'll alter the partition table
mahakal 2017-03-02 22:58:29
EriC^^: deeper search?
mvvvv 2017-03-02 22:58:29
sojusnik, do you have journalctl command ?
Slown 2017-03-02 22:58:29
the packages I need ?
EriC^^ 2017-03-02 22:58:35
mahakal: no, on the second partition press p
Slown 2017-03-02 22:58:38
can you explain this further please ?
EriC^^ 2017-03-02 22:58:46
MS Data 1050624 630196223 629145600
k1l_ 2017-03-02 22:58:46
Slown: use the server iso
mort 2017-03-02 22:59:13
hey
mahakal 2017-03-02 22:59:14
ooh ok
Slown 2017-03-02 22:59:31
lol, someone told me to use the server version and another the minimal one
k1l_ 2017-03-02 22:59:33
Slown: the minimal iso requires more knowledge from the admin about what pacakges the system need etc. the server.iso is setup to work
Slown 2017-03-02 22:59:36
I'm confused guys :x
Slown 2017-03-02 22:59:51
that's a good answer k1l_
Slown 2017-03-02 23:00:10
the ubuntu server is like using Debian, right ?
mort 2017-03-02 23:00:29
after `dpkg --add-architecture armhf`, `apt-get update` says all the armhf repos 404
mort 2017-03-02 23:00:32
e.g "Err:5 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu xenial/main armhf Packages
mort 2017-03-02 23:00:32
"
k1l_ 2017-03-02 23:00:33
Slown: no. its a server iso. it doesnt have a desktop installed
mort 2017-03-02 23:00:46
I kind of need some armhf stuff, any idea what's going on?
mahakal 2017-03-02 23:00:50
EriC^^: http://pastebin.ubuntu.com/24101218/
Slown 2017-03-02 23:00:52
yeah I know that, it's similar to debian without a desktop
Slown 2017-03-02 23:00:53
I mean
akik 2017-03-02 23:01:21
dnel: do you have a .bash_logout script which kills processes?
k1l_ 2017-03-02 23:01:59
Slown: in a way, yes. ubuntu is based on debian. but then changes some stuff.
aarannnnn 2017-03-02 23:02:00
Hi, can someone explain the following command to me " *.* /dev/tty12"
Slown 2017-03-02 23:02:11
ok great
RadiantNova 2017-03-02 23:02:18
hmm
EriC^^ 2017-03-02 23:02:19
mahakal: what are you hoping to do?
Slown 2017-03-02 23:02:23
thank you guys, I'll go with ubuntu server version
RadiantNova 2017-03-02 23:02:24
i dont remember what nickname i registered
akik 2017-03-02 23:02:25
dnel: run "screen -ls" when you have screen running. does it show the socket?
EriC^^ 2017-03-02 23:02:28
mahakal: recover the old ubuntu?
k1l_ 2017-03-02 23:02:48
Redwood: #freenode for help with that
mahakal 2017-03-02 23:03:15
EriC^^: no i had some very important imagest worth 3 GB and some Books in pdf format .I want to recover that only
Cubensis 2017-03-02 23:03:30
crap
Cubensis 2017-03-02 23:03:32
ugh
mahakal 2017-03-02 23:03:46
Eric^^: images are important for me .
dnel 2017-03-02 23:04:04
akik: bash_logout does nothing about processes. the screen -ls command shows the socket before restarting the SSH session but not after
EriC^^ 2017-03-02 23:04:21
aarannnnn: that command doesn't make sense
aarannnnn 2017-03-02 23:04:27
I know
EriC^^ 2017-03-02 23:04:45
aarannnnn: *.* just expands whatever is in your current dir that has something.something in it
RadiantNova 2017-03-02 23:04:45
there we go
aarannnnn 2017-03-02 23:04:48
The question is "What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?"
aarannnnn 2017-03-02 23:05:05
and it says that *.* /dev/tty12 is the correct answer
EriC^^ 2017-03-02 23:05:25
aarannnnn: that must be some config then to place somewhere, no idea here
EriC^^ 2017-03-02 23:05:42
mahakal: ok, did you used to have a separate /home partition?
mahakal 2017-03-02 23:05:54
yup
EriC^^ 2017-03-02 23:06:02
mahakal: ok press q
EriC^^ 2017-03-02 23:06:09
then select the partition below it with p
EriC^^ 2017-03-02 23:06:28
my guess is that it's your home partition
llutz 2017-03-02 23:06:29
aarannnnn: thats a line for /etc/syslog.conf not a command
mahakal 2017-03-02 23:06:39
ok
aarannnnn 2017-03-02 23:07:26
Ok but why does it achieve what it does I do not understand the command it jsut looks like anything goes to /dev/tty12 ?
akik 2017-03-02 23:07:28
dnel: how do you see the socket if you're not connected to your server with ssh?
aarannnnn 2017-03-02 23:07:29
is that correct
mahakal 2017-03-02 23:07:37
Eric^^: i have kali linux also some 300 gb away:what to do next
EriC^^ 2017-03-02 23:07:52
mahakal: so that's the stuff you want to recover?
dnel 2017-03-02 23:08:06
akik: I see it before I disconnect SSH
llutz 2017-03-02 23:08:26
aarannnnn: yes, "send all facility.priority to /dev/xxxx" it means. read man syslog.conf
mahakal 2017-03-02 23:08:38
EriC^^: i installed it after that happen.so i would like to avoid that area while recovering
akik 2017-03-02 23:08:42
dnel: try opening two simultaneous sessions on your server and leave the screen running on one of them
mahakal 2017-03-02 23:09:00
EriC^^: i have pressed P: what now ?
EriC^^ 2017-03-02 23:09:06
mahakal: do you see your user name?
EriC^^ 2017-03-02 23:09:29
mahakal: use the arrows to traverse the directories
EriC^^ 2017-03-02 23:09:32
right and left
dnel 2017-03-02 23:09:33
akik: I am on IRC via SSH onto the same server, this session was up throughout the last test
akik 2017-03-02 23:10:09
dnel: so the screen that you had your irc client running under didn't die?
mahakal 2017-03-02 23:10:33
EriC^^: http://pastebin.ubuntu.com/24101242/
dnel 2017-03-02 23:10:36
akik: I'm not currently running IRC inside screen or tmux
akik 2017-03-02 23:10:47
dnel: well.. maybe try tht
EriC^^ 2017-03-02 23:11:24
mahakal: ok, head over to the home dir and figure out which one is your old install between the 2 partitions you just entered
akik 2017-03-02 23:11:24
dnel: i have to say this is not normal behaviour
akik 2017-03-02 23:11:51
dnel: maybe your server admin has created some kind of process clean-up
dnel 2017-03-02 23:12:40
akik: I tested with two sessions at a time, the socket is visible from the 2nd session until SSH disconnects on the 1st session
akik 2017-03-02 23:13:15
dnel: does the 2nd session screen keep on running or is it killed?
mahakal 2017-03-02 23:13:27
EriC^^: i am getting my user name.how to search that folder and copying the things it found?
dnel 2017-03-02 23:14:32
akik: the 2nd session is completely unaffected by the 1st
akik 2017-03-02 23:14:50
dnel: is the screen killed or not? do you see it die?
dnel 2017-03-02 23:15:40
akik: when 1st detatches the session, 2nd sees it is detatched, when 1st disconnects SSH 2nd only sees it's own screen socket 1st's disappears
akik 2017-03-02 23:15:43
dnel: one option could be that the server free disk space becomes full thus creating strange problems
dnel 2017-03-02 23:16:34
akik: no there is plenty of disk space and the filesystems are all rw
akik 2017-03-02 23:16:57
dnel: do you see the attached screen session die?
dnel 2017-03-02 23:17:41
akik: I don't kill the SSH session while it is attached, I a detatching file
dnel 2017-03-02 23:17:57
detatching first^, stupid keyboard
dnel 2017-03-02 23:19:09
akik: ok, I kill the SSH with screen attached, it persists for a few seconds then disappears
akik 2017-03-02 23:19:13
dnel: this is a bit hard for me to understand. let's try this: 1) open a ssh connection to the server and create a screen session 2) open another ssh session to the server and logout while observing the screen session
k1l_ 2017-03-02 23:19:35
dnel: and this is a standard ubuntu server 16.04?
dnel 2017-03-02 23:19:39
akik: that is what I am doing
akik 2017-03-02 23:19:52
dnel: do you see the screen session die?
dnel 2017-03-02 23:19:55
k1l_: it is KDE Neon, ubuntu desktop base
k1l_ 2017-03-02 23:20:27
hmm, hopefully the kde guys dont mess with the base system that much
dnel 2017-03-02 23:20:27
akik: yes, but it takes a few seconds
akik 2017-03-02 23:20:50
dnel: any error messages there when it happens?
dnel 2017-03-02 23:20:57
k1l_: afaik it is standard ubuntu underneath
dnel 2017-03-02 23:21:25
akik: none, it looks like a clean session SIGTERM
akik 2017-03-02 23:22:50
dnel: can you create a new user on the server and test with it?
mcphail 2017-03-02 23:22:55
It isn't happening to me on vanilla 16.04
dnel 2017-03-02 23:24:41
akik: syslog shows "Stopped Session 12 of user"... a few seconds after killing SSH
k1l_ 2017-03-02 23:25:37
dnel: i know kde guys change a lot of qt and i think they do change some systemd stuff too. maybe they changed logind stuff
dnel 2017-03-02 23:27:35
akik: I get the same with a different user account
akik 2017-03-02 23:27:44
dnel: try looking at "journalctl -xe" if it says something about that
dnel 2017-03-02 23:28:00
k1l_: possibly but not likely, if I can't find a solution though I'll certainly ask them
k1l_ 2017-03-02 23:29:02
dnel: did you try to set KillUserProcesses=no ?
dnel 2017-03-02 23:30:00
akik: just messages about shutting down user manager and user slice after the session closed
dnel 2017-03-02 23:30:14
k1l_: yeah, tried that and rebooted, that is currently set
dnel 2017-03-02 23:31:46
k1l_: interestingly the commends on logind.conf say that the commented lines are compile-time defaults, and =no is set there so that should be the settings even before I uncommented the line
akik 2017-03-02 23:32:54
dnel: do you have systemd-run program installed? there might be a solution at the bottom of this page http://unix.stackexchange.com/questions/171503/tmux-session-killed-when-disconnecting-from-ssh
akik 2017-03-02 23:33:03
dnel: systemd-run --scope --user screen
k1l_ 2017-03-02 23:33:04
dnel: yes. but since kde needs new systemd/logind stuff for new features from plasma etc. i am not sure that its the ubuntu default, still.
EriC^^ 2017-03-02 23:33:08
mahakal: press "C" or "c" , one is for copying selected files the other for the whole dir i think
dnel 2017-03-02 23:34:40
akik: bingo! that solution worked
akik 2017-03-02 23:35:09
yay systemd
dnel 2017-03-02 23:35:31
akik: ...bringing the year of the BSD desktop ever closer
mahakal 2017-03-02 23:35:39
EriC^^: how to copy to pendrive
akik 2017-03-02 23:35:54
dnel: probably kde neon changed something. that's maybe why non ubuntu flavours are not supported here
EriC^^ 2017-03-02 23:37:20
mahakal: after pressing c selected the destination dir
EriC^^ 2017-03-02 23:37:33
mahakal: mount the pen drive first
dnel 2017-03-02 23:38:16
akik: yeah I understand, I will test this on pure ubuntu though too when I get a chance, perhaps it's a bug waiting in the pipeline
dnel 2017-03-02 23:38:34
akik: not bug, a "feature" :)
dnel 2017-03-02 23:41:09
I'll leave it there for now anyway, thanks akik, k1l_
ritisha 2017-03-02 23:42:42
beaglebone